2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
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 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME='libgfortran'
419 PACKAGE_VERSION='0.3'
420 PACKAGE_STRING='GNU Fortran Runtime Library 0.3'
423 # Factoring default headers for most tests.
424 ac_includes_default="\
427 # include <sys/types.h>
430 # include <sys/stat.h>
441 # if !STDC_HEADERS && HAVE_MEMORY_H
447 # include <strings.h>
450 # include <inttypes.h>
460 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 build_libsubdir build_subdir host_subdir target_subdir 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 DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S lt_ECHO CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
463 # Initialize some variables set by options.
465 ac_init_version=false
466 # The variables have the same names as the options, with
467 # dashes changed to underlines.
475 program_transform_name=s,x,x,
483 # Installation directory options.
484 # These are left unexpanded so users can "make install exec_prefix=/foo"
485 # and all the variables that are supposed to be based on exec_prefix
486 # by default will actually change.
487 # Use braces instead of parens because sh, perl, etc. also accept them.
488 bindir='${exec_prefix}/bin'
489 sbindir='${exec_prefix}/sbin'
490 libexecdir='${exec_prefix}/libexec'
491 datadir='${prefix}/share'
492 sysconfdir='${prefix}/etc'
493 sharedstatedir='${prefix}/com'
494 localstatedir='${prefix}/var'
495 libdir='${exec_prefix}/lib'
496 includedir='${prefix}/include'
497 oldincludedir='/usr/include'
498 infodir='${prefix}/info'
499 mandir='${prefix}/man'
504 # If the previous option needs an argument, assign it.
505 if test -n "$ac_prev"; then
506 eval "$ac_prev=\$ac_option"
511 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
513 # Accept the important Cygnus configure options, so we can diagnose typos.
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 -build | --build | --buil | --bui | --bu)
523 ac_prev=build_alias ;;
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build_alias=$ac_optarg ;;
527 -cache-file | --cache-file | --cache-fil | --cache-fi \
528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529 ac_prev=cache_file ;;
530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532 cache_file=$ac_optarg ;;
535 cache_file=config.cache ;;
537 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 datadir=$ac_optarg ;;
543 -disable-* | --disable-*)
544 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
545 # Reject names that are not valid shell variable names.
546 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
547 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
548 { (exit 1); exit 1; }; }
549 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
550 eval "enable_$ac_feature=no" ;;
552 -enable-* | --enable-*)
553 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
554 # Reject names that are not valid shell variable names.
555 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
556 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
557 { (exit 1); exit 1; }; }
558 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 eval "enable_$ac_feature='$ac_optarg'" ;;
565 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
566 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
567 | --exec | --exe | --ex)
568 ac_prev=exec_prefix ;;
569 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
570 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
571 | --exec=* | --exe=* | --ex=*)
572 exec_prefix=$ac_optarg ;;
574 -gas | --gas | --ga | --g)
575 # Obsolete; use --with-gas.
578 -help | --help | --hel | --he | -h)
580 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
581 ac_init_help=recursive ;;
582 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
583 ac_init_help=short ;;
585 -host | --host | --hos | --ho)
586 ac_prev=host_alias ;;
587 -host=* | --host=* | --hos=* | --ho=*)
588 host_alias=$ac_optarg ;;
590 -includedir | --includedir | --includedi | --included | --include \
591 | --includ | --inclu | --incl | --inc)
592 ac_prev=includedir ;;
593 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
594 | --includ=* | --inclu=* | --incl=* | --inc=*)
595 includedir=$ac_optarg ;;
597 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
600 infodir=$ac_optarg ;;
602 -libdir | --libdir | --libdi | --libd)
604 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
608 | --libexe | --libex | --libe)
609 ac_prev=libexecdir ;;
610 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
611 | --libexe=* | --libex=* | --libe=*)
612 libexecdir=$ac_optarg ;;
614 -localstatedir | --localstatedir | --localstatedi | --localstated \
615 | --localstate | --localstat | --localsta | --localst \
616 | --locals | --local | --loca | --loc | --lo)
617 ac_prev=localstatedir ;;
618 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
619 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
620 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
621 localstatedir=$ac_optarg ;;
623 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
629 # Obsolete; use --without-fp.
632 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633 | --no-cr | --no-c | -n)
636 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
637 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
641 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
642 | --oldin | --oldi | --old | --ol | --o)
643 ac_prev=oldincludedir ;;
644 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
645 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
646 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
647 oldincludedir=$ac_optarg ;;
649 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 -program-prefix | --program-prefix | --program-prefi | --program-pref \
655 | --program-pre | --program-pr | --program-p)
656 ac_prev=program_prefix ;;
657 -program-prefix=* | --program-prefix=* | --program-prefi=* \
658 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
659 program_prefix=$ac_optarg ;;
661 -program-suffix | --program-suffix | --program-suffi | --program-suff \
662 | --program-suf | --program-su | --program-s)
663 ac_prev=program_suffix ;;
664 -program-suffix=* | --program-suffix=* | --program-suffi=* \
665 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
666 program_suffix=$ac_optarg ;;
668 -program-transform-name | --program-transform-name \
669 | --program-transform-nam | --program-transform-na \
670 | --program-transform-n | --program-transform- \
671 | --program-transform | --program-transfor \
672 | --program-transfo | --program-transf \
673 | --program-trans | --program-tran \
674 | --progr-tra | --program-tr | --program-t)
675 ac_prev=program_transform_name ;;
676 -program-transform-name=* | --program-transform-name=* \
677 | --program-transform-nam=* | --program-transform-na=* \
678 | --program-transform-n=* | --program-transform-=* \
679 | --program-transform=* | --program-transfor=* \
680 | --program-transfo=* | --program-transf=* \
681 | --program-trans=* | --program-tran=* \
682 | --progr-tra=* | --program-tr=* | --program-t=*)
683 program_transform_name=$ac_optarg ;;
685 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
686 | -silent | --silent | --silen | --sile | --sil)
689 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 sbindir=$ac_optarg ;;
695 -sharedstatedir | --sharedstatedir | --sharedstatedi \
696 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
697 | --sharedst | --shareds | --shared | --share | --shar \
699 ac_prev=sharedstatedir ;;
700 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
701 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
702 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 sharedstatedir=$ac_optarg ;;
706 -site | --site | --sit)
708 -site=* | --site=* | --sit=*)
711 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
717 | --syscon | --sysco | --sysc | --sys | --sy)
718 ac_prev=sysconfdir ;;
719 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
720 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
721 sysconfdir=$ac_optarg ;;
723 -target | --target | --targe | --targ | --tar | --ta | --t)
724 ac_prev=target_alias ;;
725 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
726 target_alias=$ac_optarg ;;
728 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 -version | --version | --versio | --versi | --vers | -V)
735 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
736 # Reject names that are not valid shell variable names.
737 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
738 { echo "$as_me: error: invalid package name: $ac_package" >&2
739 { (exit 1); exit 1; }; }
740 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 eval "with_$ac_package='$ac_optarg'" ;;
747 -without-* | --without-*)
748 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
749 # Reject names that are not valid shell variable names.
750 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
751 { echo "$as_me: error: invalid package name: $ac_package" >&2
752 { (exit 1); exit 1; }; }
753 ac_package=`echo $ac_package | sed 's/-/_/g'`
754 eval "with_$ac_package=no" ;;
757 # Obsolete; use --with-x.
760 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
761 | --x-incl | --x-inc | --x-in | --x-i)
762 ac_prev=x_includes ;;
763 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
764 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
765 x_includes=$ac_optarg ;;
767 -x-libraries | --x-libraries | --x-librarie | --x-librari \
768 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
769 ac_prev=x_libraries ;;
770 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
771 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
772 x_libraries=$ac_optarg ;;
774 -*) { echo "$as_me: error: unrecognized option: $ac_option
775 Try \`$0 --help' for more information." >&2
776 { (exit 1); exit 1; }; }
780 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
781 # Reject names that are not valid shell variable names.
782 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
783 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
784 { (exit 1); exit 1; }; }
785 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
786 eval "$ac_envvar='$ac_optarg'"
790 # FIXME: should be removed in autoconf 3.0.
791 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
792 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
793 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
794 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
800 if test -n "$ac_prev"; then
801 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
802 { echo "$as_me: error: missing argument to $ac_option" >&2
803 { (exit 1); exit 1; }; }
806 # Be sure to have absolute paths.
807 for ac_var in exec_prefix prefix
809 eval ac_val=$`echo $ac_var`
811 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
812 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
813 { (exit 1); exit 1; }; };;
817 # Be sure to have absolute paths.
818 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
819 localstatedir libdir includedir oldincludedir infodir mandir
821 eval ac_val=$`echo $ac_var`
823 [\\/$]* | ?:[\\/]* ) ;;
824 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
825 { (exit 1); exit 1; }; };;
829 # There might be people who depend on the old broken behavior: `$host'
830 # used to hold the argument of --host etc.
831 # FIXME: To remove some day.
836 # FIXME: To remove some day.
837 if test "x$host_alias" != x; then
838 if test "x$build_alias" = x; then
839 cross_compiling=maybe
840 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
841 If a cross compiler is detected then cross compile mode will be used." >&2
842 elif test "x$build_alias" != "x$host_alias"; then
848 test -n "$host_alias" && ac_tool_prefix=$host_alias-
850 test "$silent" = yes && exec 6>/dev/null
853 # Find the source files, if location was not specified.
854 if test -z "$srcdir"; then
855 ac_srcdir_defaulted=yes
856 # Try the directory containing this script, then its parent.
857 ac_confdir=`(dirname "$0") 2>/dev/null ||
858 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
859 X"$0" : 'X\(//\)[^/]' \| \
860 X"$0" : 'X\(//\)$' \| \
861 X"$0" : 'X\(/\)' \| \
862 . : '\(.\)' 2>/dev/null ||
864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
866 /^X\(\/\/\)$/{ s//\1/; q; }
867 /^X\(\/\).*/{ s//\1/; q; }
870 if test ! -r $srcdir/$ac_unique_file; then
874 ac_srcdir_defaulted=no
876 if test ! -r $srcdir/$ac_unique_file; then
877 if test "$ac_srcdir_defaulted" = yes; then
878 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
879 { (exit 1); exit 1; }; }
881 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
882 { (exit 1); exit 1; }; }
885 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
886 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
887 { (exit 1); exit 1; }; }
888 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
889 ac_env_build_alias_set=${build_alias+set}
890 ac_env_build_alias_value=$build_alias
891 ac_cv_env_build_alias_set=${build_alias+set}
892 ac_cv_env_build_alias_value=$build_alias
893 ac_env_host_alias_set=${host_alias+set}
894 ac_env_host_alias_value=$host_alias
895 ac_cv_env_host_alias_set=${host_alias+set}
896 ac_cv_env_host_alias_value=$host_alias
897 ac_env_target_alias_set=${target_alias+set}
898 ac_env_target_alias_value=$target_alias
899 ac_cv_env_target_alias_set=${target_alias+set}
900 ac_cv_env_target_alias_value=$target_alias
901 ac_env_CPP_set=${CPP+set}
902 ac_env_CPP_value=$CPP
903 ac_cv_env_CPP_set=${CPP+set}
904 ac_cv_env_CPP_value=$CPP
905 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
906 ac_env_CPPFLAGS_value=$CPPFLAGS
907 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
909 ac_env_FC_set=${FC+set}
911 ac_cv_env_FC_set=${FC+set}
912 ac_cv_env_FC_value=$FC
913 ac_env_FCFLAGS_set=${FCFLAGS+set}
914 ac_env_FCFLAGS_value=$FCFLAGS
915 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
916 ac_cv_env_FCFLAGS_value=$FCFLAGS
917 ac_env_LDFLAGS_set=${LDFLAGS+set}
918 ac_env_LDFLAGS_value=$LDFLAGS
919 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 # Report the --help message.
925 if test "$ac_init_help" = "long"; then
926 # Omit some internal or obsolete options to make the list less imposing.
927 # This message is too long to be a string in the A/UX 3.1 sh.
929 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
931 Usage: $0 [OPTION]... [VAR=VALUE]...
933 To assign environment variables (e.g., CC, CFLAGS...), specify them as
934 VAR=VALUE. See below for descriptions of some of the useful variables.
936 Defaults for the options are specified in brackets.
939 -h, --help display this help and exit
940 --help=short display options specific to this package
941 --help=recursive display the short help of all the included packages
942 -V, --version display version information and exit
943 -q, --quiet, --silent do not print \`checking...' messages
944 --cache-file=FILE cache test results in FILE [disabled]
945 -C, --config-cache alias for \`--cache-file=config.cache'
946 -n, --no-create do not create output files
947 --srcdir=DIR find the sources in DIR [configure dir or \`..']
952 Installation directories:
953 --prefix=PREFIX install architecture-independent files in PREFIX
955 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
958 By default, \`make install' will install all the files in
959 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
960 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
961 for instance \`--prefix=\$HOME'.
963 For better control, use the options below.
965 Fine tuning of the installation directories:
966 --bindir=DIR user executables [EPREFIX/bin]
967 --sbindir=DIR system admin executables [EPREFIX/sbin]
968 --libexecdir=DIR program executables [EPREFIX/libexec]
969 --datadir=DIR read-only architecture-independent data [PREFIX/share]
970 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
971 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
972 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
973 --libdir=DIR object code libraries [EPREFIX/lib]
974 --includedir=DIR C header files [PREFIX/include]
975 --oldincludedir=DIR C header files for non-gcc [/usr/include]
976 --infodir=DIR info documentation [PREFIX/info]
977 --mandir=DIR man documentation [PREFIX/man]
983 --program-prefix=PREFIX prepend PREFIX to installed program names
984 --program-suffix=SUFFIX append SUFFIX to installed program names
985 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
988 --build=BUILD configure for building on BUILD [guessed]
989 --host=HOST cross-compile to build programs to run on HOST [BUILD]
990 --target=TARGET configure for building compilers for TARGET [HOST]
994 if test -n "$ac_init_help"; then
995 case $ac_init_help in
996 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1001 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1002 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1003 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1004 --enable-maintainer-mode enable make rules and dependencies not useful
1005 (and sometimes confusing) to the casual installer
1006 --enable-multilib build many library versions (default)
1007 --disable-dependency-tracking speeds up one-time build
1008 --enable-dependency-tracking do not reject slow dependency extractors
1009 --enable-shared[=PKGS]
1010 build shared libraries [default=yes]
1011 --enable-static[=PKGS]
1012 build static libraries [default=yes]
1013 --enable-fast-install[=PKGS]
1014 optimize for fast installation [default=yes]
1015 --disable-libtool-lock avoid locking (might break parallel builds)
1016 --disable-largefile omit support for large files
1019 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1020 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1021 --with-build-libsubdir=DIR Directory where to find libraries for build system
1022 --with-pic try to use only PIC/non-PIC objects [default=use
1024 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1026 Some influential environment variables:
1027 CC C compiler command
1028 CFLAGS C compiler flags
1029 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1030 nonstandard directory <lib dir>
1031 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1032 headers in a nonstandard directory <include dir>
1034 FC Fortran compiler command
1035 FCFLAGS Fortran compiler flags
1037 Use these variables to override the choices made by `configure' or to help
1038 it to find libraries and programs with nonstandard names/locations.
1043 if test "$ac_init_help" = "recursive"; then
1044 # If there are subdirs, report their specific --help.
1046 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1047 test -d $ac_dir || continue
1050 if test "$ac_dir" != .; then
1051 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1052 # A "../" for each directory in $ac_dir_suffix.
1053 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1055 ac_dir_suffix= ac_top_builddir=
1059 .) # No --srcdir option. We are building in place.
1061 if test -z "$ac_top_builddir"; then
1064 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1066 [\\/]* | ?:[\\/]* ) # Absolute path.
1067 ac_srcdir=$srcdir$ac_dir_suffix;
1068 ac_top_srcdir=$srcdir ;;
1070 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1071 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1074 # Do not use `cd foo && pwd` to compute absolute paths, because
1075 # the directories may not exist.
1077 .) ac_abs_builddir="$ac_dir";;
1080 .) ac_abs_builddir=`pwd`;;
1081 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1082 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1085 case $ac_abs_builddir in
1086 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1088 case ${ac_top_builddir}. in
1089 .) ac_abs_top_builddir=$ac_abs_builddir;;
1090 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1091 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1094 case $ac_abs_builddir in
1095 .) ac_abs_srcdir=$ac_srcdir;;
1098 .) ac_abs_srcdir=$ac_abs_builddir;;
1099 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1100 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1103 case $ac_abs_builddir in
1104 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1106 case $ac_top_srcdir in
1107 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1108 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1109 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1114 # Check for guested configure; otherwise get Cygnus style configure.
1115 if test -f $ac_srcdir/configure.gnu; then
1117 $SHELL $ac_srcdir/configure.gnu --help=recursive
1118 elif test -f $ac_srcdir/configure; then
1120 $SHELL $ac_srcdir/configure --help=recursive
1121 elif test -f $ac_srcdir/configure.ac ||
1122 test -f $ac_srcdir/configure.in; then
1124 $ac_configure --help
1126 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1132 test -n "$ac_init_help" && exit 0
1133 if $ac_init_version; then
1135 GNU Fortran Runtime Library configure 0.3
1136 generated by GNU Autoconf 2.59
1138 Copyright (C) 2003 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1150 generated by GNU Autoconf 2.59. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1485 ac_config_headers="$ac_config_headers config.h"
1488 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1489 if test -f $ac_dir/install-sh; then
1491 ac_install_sh="$ac_aux_dir/install-sh -c"
1493 elif test -f $ac_dir/install.sh; then
1495 ac_install_sh="$ac_aux_dir/install.sh -c"
1497 elif test -f $ac_dir/shtool; then
1499 ac_install_sh="$ac_aux_dir/shtool install -c"
1503 if test -z "$ac_aux_dir"; then
1504 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1505 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1506 { (exit 1); exit 1; }; }
1508 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1509 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1510 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 # Make sure we can run config.sub.
1513 $ac_config_sub sun4 >/dev/null 2>&1 ||
1514 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1515 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1516 { (exit 1); exit 1; }; }
1518 echo "$as_me:$LINENO: checking build system type" >&5
1519 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1520 if test "${ac_cv_build+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 ac_cv_build_alias=$build_alias
1524 test -z "$ac_cv_build_alias" &&
1525 ac_cv_build_alias=`$ac_config_guess`
1526 test -z "$ac_cv_build_alias" &&
1527 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1528 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1529 { (exit 1); exit 1; }; }
1530 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1531 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1532 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1533 { (exit 1); exit 1; }; }
1536 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1537 echo "${ECHO_T}$ac_cv_build" >&6
1539 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1540 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1541 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1544 case ${build_alias} in
1545 "") build_noncanonical=${build} ;;
1546 *) build_noncanonical=${build_alias} ;;
1549 case ${host_alias} in
1550 "") host_noncanonical=${build_noncanonical} ;;
1551 *) host_noncanonical=${host_alias} ;;
1554 case ${target_alias} in
1555 "") target_noncanonical=${host_noncanonical} ;;
1556 *) target_noncanonical=${target_alias} ;;
1560 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1561 # have matching libraries, they should use host libraries: Makefile.tpl
1562 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1563 # However, they still use the build modules, because the corresponding
1564 # host modules (e.g. bison) are only built for the host when bootstrap
1566 # - build_subdir is where we find build modules, and never changes.
1567 # - build_libsubdir is where we find build libraries, and can be overridden.
1569 # Prefix 'build-' so this never conflicts with target_subdir.
1570 build_subdir="build-${build_noncanonical}"
1572 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1573 if test "${with_build_libsubdir+set}" = set; then
1574 withval="$with_build_libsubdir"
1575 build_libsubdir="$withval"
1577 build_libsubdir="$build_subdir"
1579 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1580 if ( test $srcdir = . && test -d gcc ) \
1581 || test -d $srcdir/../host-${host_noncanonical}; then
1582 host_subdir="host-${host_noncanonical}"
1587 target_subdir=${target_noncanonical}
1594 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1595 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1596 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1597 if test "${enable_version_specific_runtime_libs+set}" = set; then
1598 enableval="$enable_version_specific_runtime_libs"
1599 case "$enableval" in
1600 yes) version_specific_libs=yes ;;
1601 no) version_specific_libs=no ;;
1602 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1603 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1604 { (exit 1); exit 1; }; };;
1607 version_specific_libs=no
1609 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1610 echo "${ECHO_T}$version_specific_libs" >&6
1613 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1615 # You will slowly go insane if you do not grok the following fact: when
1616 # building this library, the top-level /target/ becomes the library's /host/.
1618 # configure then causes --target to default to --host, exactly like any
1619 # other package using autoconf. Therefore, 'target' and 'host' will
1620 # always be the same. This makes sense both for native and cross compilers
1621 # just think about it for a little while. :-)
1623 # Also, if this library is being configured as part of a cross compiler, the
1624 # top-level configure script will pass the "real" host as $with_cross_host.
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 echo "$as_me:$LINENO: checking host system type" >&5
1629 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1630 if test "${ac_cv_host+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 ac_cv_host_alias=$host_alias
1634 test -z "$ac_cv_host_alias" &&
1635 ac_cv_host_alias=$ac_cv_build_alias
1636 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1637 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1638 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1639 { (exit 1); exit 1; }; }
1642 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1643 echo "${ECHO_T}$ac_cv_host" >&6
1645 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1646 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1647 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1650 echo "$as_me:$LINENO: checking target system type" >&5
1651 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1652 if test "${ac_cv_target+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 ac_cv_target_alias=$target_alias
1656 test "x$ac_cv_target_alias" = "x" &&
1657 ac_cv_target_alias=$ac_cv_host_alias
1658 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1659 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1660 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1661 { (exit 1); exit 1; }; }
1664 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1665 echo "${ECHO_T}$ac_cv_target" >&6
1666 target=$ac_cv_target
1667 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1668 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1669 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1672 # The aliases save the names the user supplied, while $host etc.
1673 # will get canonicalized.
1674 test -n "$target_alias" &&
1675 test "$program_prefix$program_suffix$program_transform_name" = \
1677 program_prefix=${target_alias}-
1678 target_alias=${target_alias-$host_alias}
1680 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1681 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1682 # 1.9.6: minimum required version
1683 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1684 # of other PACKAGE_* variables will, however, and there's nothing
1685 # we can do about that; they come from AC_INIT).
1686 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1687 # file in the top srcdir, etc, etc), so stop complaining.
1688 # -Wall: turns on all automake warnings...
1689 # -Wno-portability: ...except this one, since GNU make is required.
1690 am__api_version="1.9"
1691 # Find a good install program. We prefer a C program (faster),
1692 # so one script is as good as another. But avoid the broken or
1693 # incompatible versions:
1694 # SysV /etc/install, /usr/sbin/install
1695 # SunOS /usr/etc/install
1696 # IRIX /sbin/install
1698 # AmigaOS /C/install, which installs bootblocks on floppy discs
1699 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1700 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1701 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1702 # OS/2's system install, which has a completely different semantic
1703 # ./install, which can be erroneously created by make from ./install.sh.
1704 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1705 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1706 if test -z "$INSTALL"; then
1707 if test "${ac_cv_path_install+set}" = set; then
1708 echo $ECHO_N "(cached) $ECHO_C" >&6
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 # Account for people who put trailing slashes in PATH elements.
1717 ./ | .// | /cC/* | \
1718 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1719 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1722 # OSF1 and SCO ODT 3.0 have their own names for install.
1723 # Don't use installbsd from OSF since it installs stuff as root
1725 for ac_prog in ginstall scoinst install; do
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1728 if test $ac_prog = install &&
1729 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1730 # AIX install. It has an incompatible calling convention.
1732 elif test $ac_prog = install &&
1733 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1734 # program-specific install script used by HP pwplus--don't use.
1737 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1749 if test "${ac_cv_path_install+set}" = set; then
1750 INSTALL=$ac_cv_path_install
1752 # As a last resort, use the slow shell script. We don't cache a
1753 # path for INSTALL within a source directory, because that will
1754 # break other packages using the cache if that directory is
1755 # removed, or if the path is relative.
1756 INSTALL=$ac_install_sh
1759 echo "$as_me:$LINENO: result: $INSTALL" >&5
1760 echo "${ECHO_T}$INSTALL" >&6
1762 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1763 # It thinks the first close brace ends the variable substitution.
1764 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1766 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1768 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1770 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1771 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1774 echo timestamp > conftest.file
1775 # Do `set' in a subshell so we don't clobber the current shell's
1776 # arguments. Must try -L first in case configure is actually a
1777 # symlink; some systems play weird games with the mod time of symlinks
1778 # (eg FreeBSD returns the mod time of the symlink's containing
1781 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1782 if test "$*" = "X"; then
1784 set X `ls -t $srcdir/configure conftest.file`
1787 if test "$*" != "X $srcdir/configure conftest.file" \
1788 && test "$*" != "X conftest.file $srcdir/configure"; then
1790 # If neither matched, then we have a broken ls. This can happen
1791 # if, for instance, CONFIG_SHELL is bash and it inherits a
1792 # broken ls alias from the environment. This has actually
1793 # happened. Such a system could not be considered "sane".
1794 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1795 alias in your environment" >&5
1796 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1797 alias in your environment" >&2;}
1798 { (exit 1); exit 1; }; }
1801 test "$2" = conftest.file
1807 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1808 Check your system clock" >&5
1809 echo "$as_me: error: newly created file is older than distributed files!
1810 Check your system clock" >&2;}
1811 { (exit 1); exit 1; }; }
1813 echo "$as_me:$LINENO: result: yes" >&5
1814 echo "${ECHO_T}yes" >&6
1815 test "$program_prefix" != NONE &&
1816 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1817 # Use a double $ so make ignores it.
1818 test "$program_suffix" != NONE &&
1819 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1820 # Double any \ or $. echo might interpret backslashes.
1821 # By default was `s,x,x', remove it if useless.
1822 cat <<\_ACEOF >conftest.sed
1823 s/[\\$]/&&/g;s/;s,x,x,$//
1825 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1828 # expand $ac_aux_dir to an absolute path
1829 am_aux_dir=`cd $ac_aux_dir && pwd`
1831 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1832 # Use eval to expand $SHELL
1833 if eval "$MISSING --run true"; then
1834 am_missing_run="$MISSING --run "
1837 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1838 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1841 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1842 # We used to keeping the `.' as first argument, in order to
1843 # allow $(mkdir_p) to be used without argument. As in
1844 # $(mkdir_p) $(somedir)
1845 # where $(somedir) is conditionally defined. However this is wrong
1847 # 1. if the package is installed by a user who cannot write `.'
1848 # make install will fail,
1849 # 2. the above comment should most certainly read
1850 # $(mkdir_p) $(DESTDIR)$(somedir)
1851 # so it does not work when $(somedir) is undefined and
1852 # $(DESTDIR) is not.
1853 # To support the latter case, we have to write
1854 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1855 # so the `.' trick is pointless.
1856 mkdir_p='mkdir -p --'
1858 # On NextStep and OpenStep, the `mkdir' command does not
1859 # recognize any option. It will interpret all options as
1860 # directories to create, and then abort because `.' already
1862 for d in ./-p ./--version;
1864 test -d $d && rmdir $d
1866 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1867 if test -f "$ac_aux_dir/mkinstalldirs"; then
1868 mkdir_p='$(mkinstalldirs)'
1870 mkdir_p='$(install_sh) -d'
1874 for ac_prog in gawk mawk nawk awk
1876 # Extract the first word of "$ac_prog", so it can be a program name with args.
1877 set dummy $ac_prog; ac_word=$2
1878 echo "$as_me:$LINENO: checking for $ac_word" >&5
1879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1880 if test "${ac_cv_prog_AWK+set}" = set; then
1881 echo $ECHO_N "(cached) $ECHO_C" >&6
1883 if test -n "$AWK"; then
1884 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1890 test -z "$as_dir" && as_dir=.
1891 for ac_exec_ext in '' $ac_executable_extensions; do
1892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1893 ac_cv_prog_AWK="$ac_prog"
1894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1903 if test -n "$AWK"; then
1904 echo "$as_me:$LINENO: result: $AWK" >&5
1905 echo "${ECHO_T}$AWK" >&6
1907 echo "$as_me:$LINENO: result: no" >&5
1908 echo "${ECHO_T}no" >&6
1911 test -n "$AWK" && break
1914 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1915 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1916 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1917 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1918 echo $ECHO_N "(cached) $ECHO_C" >&6
1920 cat >conftest.make <<\_ACEOF
1922 @echo 'ac_maketemp="$(MAKE)"'
1924 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1925 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1926 if test -n "$ac_maketemp"; then
1927 eval ac_cv_prog_make_${ac_make}_set=yes
1929 eval ac_cv_prog_make_${ac_make}_set=no
1933 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1934 echo "$as_me:$LINENO: result: yes" >&5
1935 echo "${ECHO_T}yes" >&6
1938 echo "$as_me:$LINENO: result: no" >&5
1939 echo "${ECHO_T}no" >&6
1940 SET_MAKE="MAKE=${MAKE-make}"
1943 rm -rf .tst 2>/dev/null
1944 mkdir .tst 2>/dev/null
1945 if test -d .tst; then
1950 rmdir .tst 2>/dev/null
1952 # test to see if srcdir already configured
1953 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1954 test -f $srcdir/config.status; then
1955 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1956 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1957 { (exit 1); exit 1; }; }
1960 # test whether we have cygpath
1961 if test -z "$CYGPATH_W"; then
1962 if (cygpath --version) >/dev/null 2>/dev/null; then
1963 CYGPATH_W='cygpath -w'
1970 # Define the identity of the package.
1971 PACKAGE='libgfortran'
1975 # Some tools Automake needs.
1977 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1980 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1983 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1986 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1989 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1991 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1993 # Installed binaries are usually stripped using `strip' when the user
1994 # run `make install-strip'. However `strip' might not be the right
1995 # tool to use in cross-compilation environments, therefore Automake
1996 # will honor the `STRIP' environment variable to overrule this program.
1997 if test "$cross_compiling" != no; then
1998 if test -n "$ac_tool_prefix"; then
1999 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2000 set dummy ${ac_tool_prefix}strip; ac_word=$2
2001 echo "$as_me:$LINENO: checking for $ac_word" >&5
2002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2003 if test "${ac_cv_prog_STRIP+set}" = set; then
2004 echo $ECHO_N "(cached) $ECHO_C" >&6
2006 if test -n "$STRIP"; then
2007 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2013 test -z "$as_dir" && as_dir=.
2014 for ac_exec_ext in '' $ac_executable_extensions; do
2015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2016 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2025 STRIP=$ac_cv_prog_STRIP
2026 if test -n "$STRIP"; then
2027 echo "$as_me:$LINENO: result: $STRIP" >&5
2028 echo "${ECHO_T}$STRIP" >&6
2030 echo "$as_me:$LINENO: result: no" >&5
2031 echo "${ECHO_T}no" >&6
2035 if test -z "$ac_cv_prog_STRIP"; then
2037 # Extract the first word of "strip", so it can be a program name with args.
2038 set dummy strip; ac_word=$2
2039 echo "$as_me:$LINENO: checking for $ac_word" >&5
2040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2041 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2042 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 if test -n "$ac_ct_STRIP"; then
2045 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2051 test -z "$as_dir" && as_dir=.
2052 for ac_exec_ext in '' $ac_executable_extensions; do
2053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2054 ac_cv_prog_ac_ct_STRIP="strip"
2055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2064 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2065 if test -n "$ac_ct_STRIP"; then
2066 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2067 echo "${ECHO_T}$ac_ct_STRIP" >&6
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2075 STRIP="$ac_cv_prog_STRIP"
2079 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2081 # We need awk for the "check" target. The system "awk" is bad on
2083 # Always define AMTAR for backward compatibility.
2085 AMTAR=${AMTAR-"${am_missing_run}tar"}
2087 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2094 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2095 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2096 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2097 if test "${enable_maintainer_mode+set}" = set; then
2098 enableval="$enable_maintainer_mode"
2099 USE_MAINTAINER_MODE=$enableval
2101 USE_MAINTAINER_MODE=no
2103 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2104 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2107 if test $USE_MAINTAINER_MODE = yes; then
2108 MAINTAINER_MODE_TRUE=
2109 MAINTAINER_MODE_FALSE='#'
2111 MAINTAINER_MODE_TRUE='#'
2112 MAINTAINER_MODE_FALSE=
2115 MAINT=$MAINTAINER_MODE_TRUE
2118 # Default to --enable-multilib
2119 # Check whether --enable-multilib or --disable-multilib was given.
2120 if test "${enable_multilib+set}" = set; then
2121 enableval="$enable_multilib"
2122 case "$enableval" in
2123 yes) multilib=yes ;;
2125 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2126 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2127 { (exit 1); exit 1; }; } ;;
2133 # We may get other options which we leave undocumented:
2134 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2135 # See config-ml.in if you want the gory details.
2137 if test "$srcdir" = "."; then
2138 if test "$with_target_subdir" != "."; then
2139 multi_basedir="$srcdir/$with_multisrctop../.."
2141 multi_basedir="$srcdir/$with_multisrctop.."
2144 multi_basedir="$srcdir/.."
2148 # Even if the default multilib is not a cross compilation,
2149 # it may be that some of the other multilibs are.
2150 if test $cross_compiling = no && test $multilib = yes \
2151 && test "x${with_multisubdir}" != x ; then
2152 cross_compiling=maybe
2155 ac_config_commands="$ac_config_commands default-1"
2158 # Handy for debugging:
2159 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2161 # Are we being configured with some form of cross compiler?
2162 # NB: We don't actually need to know this just now, but when, say, a test
2163 # suite is included, we'll have to know.
2164 if test "$build" != "$host"; then
2165 LIBGFOR_IS_NATIVE=false
2168 LIBGFOR_IS_NATIVE=true
2171 # Calculate toolexeclibdir
2172 # Also toolexecdir, though it's only used in toolexeclibdir
2173 case ${version_specific_libs} in
2175 # Need the gcc compiler version to know where to install libraries
2176 # and header files if --enable-version-specific-runtime-libs option
2178 toolexecdir='$(libdir)/gcc/$(target_alias)'
2179 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2182 if test -n "$with_cross_host" &&
2183 test x"$with_cross_host" != x"no"; then
2184 # Install a library built with a cross compiler in tooldir, not libdir.
2185 toolexecdir='$(exec_prefix)/$(target_alias)'
2186 toolexeclibdir='$(toolexecdir)/lib'
2188 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2189 toolexeclibdir='$(libdir)'
2191 multi_os_directory=`$CC -print-multi-os-directory`
2192 case $multi_os_directory in
2193 .) ;; # Avoid trailing /.
2194 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2201 # Check the compiler.
2202 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2203 # We must force CC to /not/ be precious variables; otherwise
2204 # the wrong, non-multilib-adjusted value will be used in multilibs.
2205 # As a side effect, we have to subst CFLAGS ourselves.
2210 ac_cpp='$CPP $CPPFLAGS'
2211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2214 if test -n "$ac_tool_prefix"; then
2215 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2216 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2217 echo "$as_me:$LINENO: checking for $ac_word" >&5
2218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2219 if test "${ac_cv_prog_CC+set}" = set; then
2220 echo $ECHO_N "(cached) $ECHO_C" >&6
2222 if test -n "$CC"; then
2223 ac_cv_prog_CC="$CC" # Let the user override the test.
2225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2229 test -z "$as_dir" && as_dir=.
2230 for ac_exec_ext in '' $ac_executable_extensions; do
2231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2232 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$ac_cv_prog_CC"; then
2253 # Extract the first word of "gcc", so it can be a program name with args.
2254 set dummy gcc; ac_word=$2
2255 echo "$as_me:$LINENO: checking for $ac_word" >&5
2256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2257 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2258 echo $ECHO_N "(cached) $ECHO_C" >&6
2260 if test -n "$ac_ct_CC"; then
2261 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2267 test -z "$as_dir" && as_dir=.
2268 for ac_exec_ext in '' $ac_executable_extensions; do
2269 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2270 ac_cv_prog_ac_ct_CC="gcc"
2271 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2282 echo "${ECHO_T}$ac_ct_CC" >&6
2284 echo "$as_me:$LINENO: result: no" >&5
2285 echo "${ECHO_T}no" >&6
2293 if test -z "$CC"; then
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}cc; ac_word=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_CC+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$CC"; then
2303 ac_cv_prog_CC="$CC" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_CC="${ac_tool_prefix}cc"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2322 if test -n "$CC"; then
2323 echo "$as_me:$LINENO: result: $CC" >&5
2324 echo "${ECHO_T}$CC" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$ac_cv_prog_CC"; then
2333 # Extract the first word of "cc", so it can be a program name with args.
2334 set dummy cc; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$ac_ct_CC"; then
2341 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_ac_ct_CC="cc"
2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2360 if test -n "$ac_ct_CC"; then
2361 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2362 echo "${ECHO_T}$ac_ct_CC" >&6
2364 echo "$as_me:$LINENO: result: no" >&5
2365 echo "${ECHO_T}no" >&6
2374 if test -z "$CC"; then
2375 # Extract the first word of "cc", so it can be a program name with args.
2376 set dummy cc; ac_word=$2
2377 echo "$as_me:$LINENO: checking for $ac_word" >&5
2378 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2379 if test "${ac_cv_prog_CC+set}" = set; then
2380 echo $ECHO_N "(cached) $ECHO_C" >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2390 test -z "$as_dir" && as_dir=.
2391 for ac_exec_ext in '' $ac_executable_extensions; do
2392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2394 ac_prog_rejected=yes
2398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 if test $ac_prog_rejected = yes; then
2405 # We found a bogon in the path, so make sure we never use it.
2406 set dummy $ac_cv_prog_CC
2408 if test $# != 0; then
2409 # We chose a different compiler from the bogus one.
2410 # However, it has the same basename, so the bogon will be chosen
2411 # first if we set CC to just the basename; use the full file name.
2413 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2419 if test -n "$CC"; then
2420 echo "$as_me:$LINENO: result: $CC" >&5
2421 echo "${ECHO_T}$CC" >&6
2423 echo "$as_me:$LINENO: result: no" >&5
2424 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2434 echo "$as_me:$LINENO: checking for $ac_word" >&5
2435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2436 if test "${ac_cv_prog_CC+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 if test -n "$CC"; then
2440 ac_cv_prog_CC="$CC" # Let the user override the test.
2442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446 test -z "$as_dir" && as_dir=.
2447 for ac_exec_ext in '' $ac_executable_extensions; do
2448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2449 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2459 if test -n "$CC"; then
2460 echo "$as_me:$LINENO: result: $CC" >&5
2461 echo "${ECHO_T}$CC" >&6
2463 echo "$as_me:$LINENO: result: no" >&5
2464 echo "${ECHO_T}no" >&6
2467 test -n "$CC" && break
2470 if test -z "$CC"; then
2474 # Extract the first word of "$ac_prog", so it can be a program name with args.
2475 set dummy $ac_prog; ac_word=$2
2476 echo "$as_me:$LINENO: checking for $ac_word" >&5
2477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2481 if test -n "$ac_ct_CC"; then
2482 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2488 test -z "$as_dir" && as_dir=.
2489 for ac_exec_ext in '' $ac_executable_extensions; do
2490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2491 ac_cv_prog_ac_ct_CC="$ac_prog"
2492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2501 if test -n "$ac_ct_CC"; then
2502 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2503 echo "${ECHO_T}$ac_ct_CC" >&6
2505 echo "$as_me:$LINENO: result: no" >&5
2506 echo "${ECHO_T}no" >&6
2509 test -n "$ac_ct_CC" && break
2518 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: no acceptable C compiler found in \$PATH
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2524 # Provide some information about the compiler.
2525 echo "$as_me:$LINENO:" \
2526 "checking for C compiler version" >&5
2527 ac_compiler=`set X $ac_compile; echo $2`
2528 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2529 (eval $ac_compiler --version </dev/null >&5) 2>&5
2531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 (exit $ac_status); }
2533 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2534 (eval $ac_compiler -v </dev/null >&5) 2>&5
2536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537 (exit $ac_status); }
2538 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2539 (eval $ac_compiler -V </dev/null >&5) 2>&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }
2544 cat >conftest.$ac_ext <<_ACEOF
2547 cat confdefs.h >>conftest.$ac_ext
2548 cat >>conftest.$ac_ext <<_ACEOF
2549 /* end confdefs.h. */
2560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2561 (eval $ac_link) 2>&5
2563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2564 (exit $ac_status); }; then
2570 if test x$gcc_no_link = xyes; then
2571 # Setting cross_compile will disable run tests; it will
2572 # also disable AC_CHECK_FILE but that's generally
2573 # correct if we can't link.
2577 cat >conftest.$ac_ext <<_ACEOF
2580 cat confdefs.h >>conftest.$ac_ext
2581 cat >>conftest.$ac_ext <<_ACEOF
2582 /* end confdefs.h. */
2592 ac_clean_files_save=$ac_clean_files
2593 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2594 # Try to create an executable without -o first, disregard a.out.
2595 # It will help us diagnose broken compilers, and finding out an intuition
2597 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2598 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2599 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2600 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2601 (eval $ac_link_default) 2>&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); }; then
2605 # Find the output, starting from the most likely. This scheme is
2606 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2609 # Be careful to initialize this variable, since it used to be cached.
2610 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2612 # b.out is created by i960 compilers.
2613 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2615 test -f "$ac_file" || continue
2617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2620 # This is the source file.
2623 # We found the default executable, but exeext='' is most
2627 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2628 # FIXME: I believe we export ac_cv_exeext for Libtool,
2629 # but it would be cool to find out if it's true. Does anybody
2630 # maintain Libtool? --akim.
2638 echo "$as_me: failed program was:" >&5
2639 sed 's/^/| /' conftest.$ac_ext >&5
2641 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2642 See \`config.log' for more details." >&5
2643 echo "$as_me: error: C compiler cannot create executables
2644 See \`config.log' for more details." >&2;}
2645 { (exit 77); exit 77; }; }
2648 ac_exeext=$ac_cv_exeext
2649 echo "$as_me:$LINENO: result: $ac_file" >&5
2650 echo "${ECHO_T}$ac_file" >&6
2652 # Check the compiler produces executables we can run. If not, either
2653 # the compiler is broken, or we cross compile.
2654 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2655 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2656 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2657 # If not cross compiling, check that we can run a simple program.
2658 if test "$cross_compiling" != yes; then
2659 if { ac_try='./$ac_file'
2660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2664 (exit $ac_status); }; }; then
2667 if test "$cross_compiling" = maybe; then
2670 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2671 If you meant to cross compile, use \`--host'.
2672 See \`config.log' for more details." >&5
2673 echo "$as_me: error: cannot run C compiled programs.
2674 If you meant to cross compile, use \`--host'.
2675 See \`config.log' for more details." >&2;}
2676 { (exit 1); exit 1; }; }
2680 echo "$as_me:$LINENO: result: yes" >&5
2681 echo "${ECHO_T}yes" >&6
2683 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2684 ac_clean_files=$ac_clean_files_save
2685 # Check the compiler produces executables we can run. If not, either
2686 # the compiler is broken, or we cross compile.
2687 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2688 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2689 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2690 echo "${ECHO_T}$cross_compiling" >&6
2692 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2693 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2695 (eval $ac_link) 2>&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); }; then
2699 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2700 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2701 # work properly (i.e., refer to `conftest.exe'), while it won't with
2703 for ac_file in conftest.exe conftest conftest.*; do
2704 test -f "$ac_file" || continue
2706 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2707 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2714 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2715 See \`config.log' for more details." >&5
2716 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2717 See \`config.log' for more details." >&2;}
2718 { (exit 1); exit 1; }; }
2721 rm -f conftest$ac_cv_exeext
2722 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2723 echo "${ECHO_T}$ac_cv_exeext" >&6
2725 rm -f conftest.$ac_ext
2726 EXEEXT=$ac_cv_exeext
2729 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2730 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2731 if test "${ac_cv_objext+set}" = set; then
2732 echo $ECHO_N "(cached) $ECHO_C" >&6
2734 cat >conftest.$ac_ext <<_ACEOF
2737 cat confdefs.h >>conftest.$ac_ext
2738 cat >>conftest.$ac_ext <<_ACEOF
2739 /* end confdefs.h. */
2749 rm -f conftest.o conftest.obj
2750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2751 (eval $ac_compile) 2>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; then
2755 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2757 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2758 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.$ac_ext >&5
2766 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2767 See \`config.log' for more details." >&5
2768 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2769 See \`config.log' for more details." >&2;}
2770 { (exit 1); exit 1; }; }
2773 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2775 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2776 echo "${ECHO_T}$ac_cv_objext" >&6
2777 OBJEXT=$ac_cv_objext
2779 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2780 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2781 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2782 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 cat >conftest.$ac_ext <<_ACEOF
2787 cat confdefs.h >>conftest.$ac_ext
2788 cat >>conftest.$ac_ext <<_ACEOF
2789 /* end confdefs.h. */
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>conftest.er1
2806 grep -v '^ *+' conftest.er1 >conftest.err
2808 cat conftest.err >&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try='test -z "$ac_c_werror_flag"
2812 || test ! -s conftest.err'
2813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; } &&
2818 { ac_try='test -s conftest.$ac_objext'
2819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2823 (exit $ac_status); }; }; then
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2831 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2832 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2835 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2836 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2837 GCC=`test $ac_compiler_gnu = yes && echo yes`
2838 ac_test_CFLAGS=${CFLAGS+set}
2839 ac_save_CFLAGS=$CFLAGS
2841 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2842 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843 if test "${ac_cv_prog_cc_g+set}" = set; then
2844 echo $ECHO_N "(cached) $ECHO_C" >&6
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2861 rm -f conftest.$ac_objext
2862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2863 (eval $ac_compile) 2>conftest.er1
2865 grep -v '^ *+' conftest.er1 >conftest.err
2867 cat conftest.err >&5
2868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2869 (exit $ac_status); } &&
2870 { ac_try='test -z "$ac_c_werror_flag"
2871 || test ! -s conftest.err'
2872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }; } &&
2877 { ac_try='test -s conftest.$ac_objext'
2878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }; }; then
2885 echo "$as_me: failed program was:" >&5
2886 sed 's/^/| /' conftest.$ac_ext >&5
2890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2892 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2893 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2894 if test "$ac_test_CFLAGS" = set; then
2895 CFLAGS=$ac_save_CFLAGS
2896 elif test $ac_cv_prog_cc_g = yes; then
2897 if test "$GCC" = yes; then
2903 if test "$GCC" = yes; then
2909 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2910 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2911 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2912 echo $ECHO_N "(cached) $ECHO_C" >&6
2914 ac_cv_prog_cc_stdc=no
2916 cat >conftest.$ac_ext <<_ACEOF
2919 cat confdefs.h >>conftest.$ac_ext
2920 cat >>conftest.$ac_ext <<_ACEOF
2921 /* end confdefs.h. */
2924 #include <sys/types.h>
2925 #include <sys/stat.h>
2926 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2927 struct buf { int x; };
2928 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2929 static char *e (p, i)
2935 static char *f (char * (*g) (char **, int), char **p, ...)
2940 s = g (p, va_arg (v,int));
2945 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2946 function prototypes and stuff, but not '\xHH' hex character constants.
2947 These don't provoke an error unfortunately, instead are silently treated
2948 as 'x'. The following induces an error, until -std1 is added to get
2949 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2950 array size at least. It's necessary to write '\x00'==0 to get something
2951 that's true only with -std1. */
2952 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2954 int test (int i, double x);
2955 struct s1 {int (*f) (int a);};
2956 struct s2 {int (*f) (double a);};
2957 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2963 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2968 # Don't try gcc -ansi; that turns off useful extensions and
2969 # breaks some systems' header files.
2970 # AIX -qlanglvl=ansi
2971 # Ultrix and OSF/1 -std1
2972 # HP-UX 10.20 and later -Ae
2973 # HP-UX older versions -Aa -D_HPUX_SOURCE
2974 # SVR4 -Xc -D__EXTENSIONS__
2975 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2977 CC="$ac_save_CC $ac_arg"
2978 rm -f conftest.$ac_objext
2979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2980 (eval $ac_compile) 2>conftest.er1
2982 grep -v '^ *+' conftest.er1 >conftest.err
2984 cat conftest.err >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); } &&
2987 { ac_try='test -z "$ac_c_werror_flag"
2988 || test ! -s conftest.err'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; } &&
2994 { ac_try='test -s conftest.$ac_objext'
2995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); }; }; then
3000 ac_cv_prog_cc_stdc=$ac_arg
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3007 rm -f conftest.err conftest.$ac_objext
3009 rm -f conftest.$ac_ext conftest.$ac_objext
3014 case "x$ac_cv_prog_cc_stdc" in
3016 echo "$as_me:$LINENO: result: none needed" >&5
3017 echo "${ECHO_T}none needed" >&6 ;;
3019 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3020 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3021 CC="$CC $ac_cv_prog_cc_stdc" ;;
3024 # Some people use a C++ compiler to compile C. Since we use `exit',
3025 # in C++ we need to declare it. In case someone uses the same compiler
3026 # for both compiling C and C++ we need to have the C++ compiler decide
3027 # the declaration of exit, since it's the most demanding environment.
3028 cat >conftest.$ac_ext <<_ACEOF
3033 rm -f conftest.$ac_objext
3034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3035 (eval $ac_compile) 2>conftest.er1
3037 grep -v '^ *+' conftest.er1 >conftest.err
3039 cat conftest.err >&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } &&
3042 { ac_try='test -z "$ac_c_werror_flag"
3043 || test ! -s conftest.err'
3044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3048 (exit $ac_status); }; } &&
3049 { ac_try='test -s conftest.$ac_objext'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; }; then
3055 for ac_declaration in \
3057 'extern "C" void std::exit (int) throw (); using std::exit;' \
3058 'extern "C" void std::exit (int); using std::exit;' \
3059 'extern "C" void exit (int) throw ();' \
3060 'extern "C" void exit (int);' \
3063 cat >conftest.$ac_ext <<_ACEOF
3066 cat confdefs.h >>conftest.$ac_ext
3067 cat >>conftest.$ac_ext <<_ACEOF
3068 /* end confdefs.h. */
3079 rm -f conftest.$ac_objext
3080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3081 (eval $ac_compile) 2>conftest.er1
3083 grep -v '^ *+' conftest.er1 >conftest.err
3085 cat conftest.err >&5
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); } &&
3088 { ac_try='test -z "$ac_c_werror_flag"
3089 || test ! -s conftest.err'
3090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); }; } &&
3095 { ac_try='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3103 echo "$as_me: failed program was:" >&5
3104 sed 's/^/| /' conftest.$ac_ext >&5
3108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3109 cat >conftest.$ac_ext <<_ACEOF
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3124 rm -f conftest.$ac_objext
3125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3126 (eval $ac_compile) 2>conftest.er1
3128 grep -v '^ *+' conftest.er1 >conftest.err
3130 cat conftest.err >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } &&
3133 { ac_try='test -z "$ac_c_werror_flag"
3134 || test ! -s conftest.err'
3135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 (exit $ac_status); }; } &&
3140 { ac_try='test -s conftest.$ac_objext'
3141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); }; }; then
3148 echo "$as_me: failed program was:" >&5
3149 sed 's/^/| /' conftest.$ac_ext >&5
3152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3155 if test -n "$ac_declaration"; then
3156 echo '#ifdef __cplusplus' >>confdefs.h
3157 echo $ac_declaration >>confdefs.h
3158 echo '#endif' >>confdefs.h
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3168 ac_cpp='$CPP $CPPFLAGS'
3169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3172 DEPDIR="${am__leading_dot}deps"
3174 ac_config_commands="$ac_config_commands depfiles"
3177 am_make=${MAKE-make}
3178 cat > confinc << 'END'
3183 # If we don't find an include directive, just comment out the code.
3184 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3185 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3189 # First try GNU make style include.
3190 echo "include confinc" > confmf
3191 # We grep out `Entering directory' and `Leaving directory'
3192 # messages which can occur if `w' ends up in MAKEFLAGS.
3193 # In particular we don't look at `^make:' because GNU make might
3194 # be invoked under some other name (usually "gmake"), in which
3195 # case it prints its new name instead of `make'.
3196 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3201 # Now try BSD make style include.
3202 if test "$am__include" = "#"; then
3203 echo '.include "confinc"' > confmf
3204 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3205 am__include=.include
3212 echo "$as_me:$LINENO: result: $_am_result" >&5
3213 echo "${ECHO_T}$_am_result" >&6
3214 rm -f confinc confmf
3216 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3217 if test "${enable_dependency_tracking+set}" = set; then
3218 enableval="$enable_dependency_tracking"
3221 if test "x$enable_dependency_tracking" != xno; then
3222 am_depcomp="$ac_aux_dir/depcomp"
3227 if test "x$enable_dependency_tracking" != xno; then
3238 depcc="$CC" am_compiler_list=
3240 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3241 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3242 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3243 echo $ECHO_N "(cached) $ECHO_C" >&6
3245 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3246 # We make a subdir and do the tests there. Otherwise we can end up
3247 # making bogus files that we don't know about and never remove. For
3248 # instance it was reported that on HP-UX the gcc test will end up
3249 # making a dummy file named `D' -- because `-MD' means `put the output
3252 # Copy depcomp to subdir because otherwise we won't find it if we're
3253 # using a relative directory.
3254 cp "$am_depcomp" conftest.dir
3256 # We will build objects and dependencies in a subdirectory because
3257 # it helps to detect inapplicable dependency modes. For instance
3258 # both Tru64's cc and ICC support -MD to output dependencies as a
3259 # side effect of compilation, but ICC will put the dependencies in
3260 # the current directory while Tru64 will put them in the object
3264 am_cv_CC_dependencies_compiler_type=none
3265 if test "$am_compiler_list" = ""; then
3266 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3268 for depmode in $am_compiler_list; do
3269 # Setup a source with many dependencies, because some compilers
3270 # like to wrap large dependency lists on column 80 (with \), and
3271 # we should not choose a depcomp mode which is confused by this.
3273 # We need to recreate these files for each test, as the compiler may
3274 # overwrite some of them when testing with obscure command lines.
3275 # This happens at least with the AIX C compiler.
3277 for i in 1 2 3 4 5 6; do
3278 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3279 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3280 # Solaris 8's {/usr,}/bin/sh.
3281 touch sub/conftst$i.h
3283 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3287 # after this tag, mechanisms are not by side-effect, so they'll
3288 # only be used when explicitly requested
3289 if test "x$enable_dependency_tracking" = xyes; then
3297 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3298 # mode. It turns out that the SunPro C++ compiler does not properly
3299 # handle `-M -o', and we need to detect this.
3300 if depmode=$depmode \
3301 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3302 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3303 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3304 >/dev/null 2>conftest.err &&
3305 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3306 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3307 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3308 # icc doesn't choke on unknown options, it will just issue warnings
3309 # or remarks (even with -Werror). So we grep stderr for any message
3310 # that says an option was ignored or not supported.
3311 # When given -MP, icc 7.0 and 7.1 complain thusly:
3312 # icc: Command line warning: ignoring option '-M'; no argument required
3313 # The diagnosis changed in icc 8.0:
3314 # icc: Command line remark: option '-MP' not supported
3315 if (grep 'ignoring option' conftest.err ||
3316 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3317 am_cv_CC_dependencies_compiler_type=$depmode
3326 am_cv_CC_dependencies_compiler_type=none
3330 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3331 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3332 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3337 test "x$enable_dependency_tracking" != xno \
3338 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3340 am__fastdepCC_FALSE='#'
3342 am__fastdepCC_TRUE='#'
3343 am__fastdepCC_FALSE=
3349 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3350 if test "x$GCC" = "xyes"; then
3351 AM_FCFLAGS="-I . -Wall -fno-repack-arrays -fno-underscoring"
3352 ## We like to use C99 routines when available. This makes sure that
3353 ## __STDC_VERSION__ is set such that libc includes make them available.
3354 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3355 ## Compile the following tests with the same system header contents
3356 ## that we'll encounter when compiling our own source files.
3357 CFLAGS="-std=gnu99 $CFLAGS"
3363 # Check for symbol versioning (copied from libssp).
3364 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3365 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3366 cat > conftest.map <<EOF
3368 global: *foo*; bar; local: *;
3371 save_LDFLAGS="$LDFLAGS"
3372 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3374 if test x$gcc_no_link = xyes; then
3375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3377 { (exit 1); exit 1; }; }
3379 cat >conftest.$ac_ext <<_ACEOF
3382 cat confdefs.h >>conftest.$ac_ext
3383 cat >>conftest.$ac_ext <<_ACEOF
3384 /* end confdefs.h. */
3394 rm -f conftest.$ac_objext conftest$ac_exeext
3395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3396 (eval $ac_link) 2>conftest.er1
3398 grep -v '^ *+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try='test -z "$ac_c_werror_flag"
3404 || test ! -s conftest.err'
3405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3409 (exit $ac_status); }; } &&
3410 { ac_try='test -s conftest$ac_exeext'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; }; then
3416 gfortran_use_symver=yes
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.$ac_ext >&5
3421 gfortran_use_symver=no
3423 rm -f conftest.err conftest.$ac_objext \
3424 conftest$ac_exeext conftest.$ac_ext
3425 LDFLAGS="$save_LDFLAGS"
3426 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3427 echo "${ECHO_T}$gfortran_use_symver" >&6
3430 if test "x$gfortran_use_symver" = xyes; then
3431 LIBGFOR_USE_SYMVER_TRUE=
3432 LIBGFOR_USE_SYMVER_FALSE='#'
3434 LIBGFOR_USE_SYMVER_TRUE='#'
3435 LIBGFOR_USE_SYMVER_FALSE=
3439 # Find other programs we need.
3440 if test -n "$ac_tool_prefix"; then
3441 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3442 set dummy ${ac_tool_prefix}as; ac_word=$2
3443 echo "$as_me:$LINENO: checking for $ac_word" >&5
3444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3445 if test "${ac_cv_prog_AS+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 if test -n "$AS"; then
3449 ac_cv_prog_AS="$AS" # Let the user override the test.
3451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir=.
3456 for ac_exec_ext in '' $ac_executable_extensions; do
3457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458 ac_cv_prog_AS="${ac_tool_prefix}as"
3459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3468 if test -n "$AS"; then
3469 echo "$as_me:$LINENO: result: $AS" >&5
3470 echo "${ECHO_T}$AS" >&6
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3477 if test -z "$ac_cv_prog_AS"; then
3479 # Extract the first word of "as", so it can be a program name with args.
3480 set dummy as; ac_word=$2
3481 echo "$as_me:$LINENO: checking for $ac_word" >&5
3482 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3483 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3484 echo $ECHO_N "(cached) $ECHO_C" >&6
3486 if test -n "$ac_ct_AS"; then
3487 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493 test -z "$as_dir" && as_dir=.
3494 for ac_exec_ext in '' $ac_executable_extensions; do
3495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3496 ac_cv_prog_ac_ct_AS="as"
3497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3506 if test -n "$ac_ct_AS"; then
3507 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3508 echo "${ECHO_T}$ac_ct_AS" >&6
3510 echo "$as_me:$LINENO: result: no" >&5
3511 echo "${ECHO_T}no" >&6
3519 if test -n "$ac_tool_prefix"; then
3520 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3521 set dummy ${ac_tool_prefix}ar; ac_word=$2
3522 echo "$as_me:$LINENO: checking for $ac_word" >&5
3523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3524 if test "${ac_cv_prog_AR+set}" = set; then
3525 echo $ECHO_N "(cached) $ECHO_C" >&6
3527 if test -n "$AR"; then
3528 ac_cv_prog_AR="$AR" # Let the user override the test.
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir=.
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_AR="${ac_tool_prefix}ar"
3538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 if test -n "$AR"; then
3548 echo "$as_me:$LINENO: result: $AR" >&5
3549 echo "${ECHO_T}$AR" >&6
3551 echo "$as_me:$LINENO: result: no" >&5
3552 echo "${ECHO_T}no" >&6
3556 if test -z "$ac_cv_prog_AR"; then
3558 # Extract the first word of "ar", so it can be a program name with args.
3559 set dummy ar; ac_word=$2
3560 echo "$as_me:$LINENO: checking for $ac_word" >&5
3561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3562 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3563 echo $ECHO_N "(cached) $ECHO_C" >&6
3565 if test -n "$ac_ct_AR"; then
3566 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_ac_ct_AR="ar"
3576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3585 if test -n "$ac_ct_AR"; then
3586 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3587 echo "${ECHO_T}$ac_ct_AR" >&6
3589 echo "$as_me:$LINENO: result: no" >&5
3590 echo "${ECHO_T}no" >&6
3598 if test -n "$ac_tool_prefix"; then
3599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3600 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3601 echo "$as_me:$LINENO: checking for $ac_word" >&5
3602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3603 if test "${ac_cv_prog_RANLIB+set}" = set; then
3604 echo $ECHO_N "(cached) $ECHO_C" >&6
3606 if test -n "$RANLIB"; then
3607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3613 test -z "$as_dir" && as_dir=.
3614 for ac_exec_ext in '' $ac_executable_extensions; do
3615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3616 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 RANLIB=$ac_cv_prog_RANLIB
3626 if test -n "$RANLIB"; then
3627 echo "$as_me:$LINENO: result: $RANLIB" >&5
3628 echo "${ECHO_T}$RANLIB" >&6
3630 echo "$as_me:$LINENO: result: no" >&5
3631 echo "${ECHO_T}no" >&6
3635 if test -z "$ac_cv_prog_RANLIB"; then
3636 ac_ct_RANLIB=$RANLIB
3637 # Extract the first word of "ranlib", so it can be a program name with args.
3638 set dummy ranlib; ac_word=$2
3639 echo "$as_me:$LINENO: checking for $ac_word" >&5
3640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3642 echo $ECHO_N "(cached) $ECHO_C" >&6
3644 if test -n "$ac_ct_RANLIB"; then
3645 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3651 test -z "$as_dir" && as_dir=.
3652 for ac_exec_ext in '' $ac_executable_extensions; do
3653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3654 ac_cv_prog_ac_ct_RANLIB="ranlib"
3655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3665 if test -n "$ac_ct_RANLIB"; then
3666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3669 echo "$as_me:$LINENO: result: no" >&5
3670 echo "${ECHO_T}no" >&6
3673 RANLIB=$ac_ct_RANLIB
3675 RANLIB="$ac_cv_prog_RANLIB"
3678 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3679 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3680 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3681 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 cat >conftest.make <<\_ACEOF
3686 @echo 'ac_maketemp="$(MAKE)"'
3688 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3689 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3690 if test -n "$ac_maketemp"; then
3691 eval ac_cv_prog_make_${ac_make}_set=yes
3693 eval ac_cv_prog_make_${ac_make}_set=no
3697 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3698 echo "$as_me:$LINENO: result: yes" >&5
3699 echo "${ECHO_T}yes" >&6
3702 echo "$as_me:$LINENO: result: no" >&5
3703 echo "${ECHO_T}no" >&6
3704 SET_MAKE="MAKE=${MAKE-make}"
3707 # Find a good install program. We prefer a C program (faster),
3708 # so one script is as good as another. But avoid the broken or
3709 # incompatible versions:
3710 # SysV /etc/install, /usr/sbin/install
3711 # SunOS /usr/etc/install
3712 # IRIX /sbin/install
3714 # AmigaOS /C/install, which installs bootblocks on floppy discs
3715 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3716 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3717 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3718 # OS/2's system install, which has a completely different semantic
3719 # ./install, which can be erroneously created by make from ./install.sh.
3720 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3721 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3722 if test -z "$INSTALL"; then
3723 if test "${ac_cv_path_install+set}" = set; then
3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3730 test -z "$as_dir" && as_dir=.
3731 # Account for people who put trailing slashes in PATH elements.
3733 ./ | .// | /cC/* | \
3734 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3735 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3738 # OSF1 and SCO ODT 3.0 have their own names for install.
3739 # Don't use installbsd from OSF since it installs stuff as root
3741 for ac_prog in ginstall scoinst install; do
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3744 if test $ac_prog = install &&
3745 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3746 # AIX install. It has an incompatible calling convention.
3748 elif test $ac_prog = install &&
3749 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3750 # program-specific install script used by HP pwplus--don't use.
3753 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3765 if test "${ac_cv_path_install+set}" = set; then
3766 INSTALL=$ac_cv_path_install
3768 # As a last resort, use the slow shell script. We don't cache a
3769 # path for INSTALL within a source directory, because that will
3770 # break other packages using the cache if that directory is
3771 # removed, or if the path is relative.
3772 INSTALL=$ac_install_sh
3775 echo "$as_me:$LINENO: result: $INSTALL" >&5
3776 echo "${ECHO_T}$INSTALL" >&6
3778 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3779 # It thinks the first close brace ends the variable substitution.
3780 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3782 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3784 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3788 #AC_MSG_NOTICE([====== Starting libtool configuration])
3795 macro_version='2.1a'
3796 macro_revision='1.2435'
3809 ltmain="$ac_aux_dir/ltmain.sh"
3817 # Check whether --enable-shared or --disable-shared was given.
3818 if test "${enable_shared+set}" = set; then
3819 enableval="$enable_shared"
3820 p=${PACKAGE-default}
3822 yes) enable_shared=yes ;;
3823 no) enable_shared=no ;;
3826 # Look at the argument we got. We use all the common list separators.
3827 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3828 for pkg in $enableval; do
3830 if test "X$pkg" = "X$p"; then
3848 # Check whether --enable-static or --disable-static was given.
3849 if test "${enable_static+set}" = set; then
3850 enableval="$enable_static"
3851 p=${PACKAGE-default}
3853 yes) enable_static=yes ;;
3854 no) enable_static=no ;;
3857 # Look at the argument we got. We use all the common list separators.
3858 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3859 for pkg in $enableval; do
3861 if test "X$pkg" = "X$p"; then
3880 # Check whether --with-pic or --without-pic was given.
3881 if test "${with_pic+set}" = set; then
3888 test -z "$pic_mode" && pic_mode=default
3896 # Check whether --enable-fast-install or --disable-fast-install was given.
3897 if test "${enable_fast_install+set}" = set; then
3898 enableval="$enable_fast_install"
3899 p=${PACKAGE-default}
3901 yes) enable_fast_install=yes ;;
3902 no) enable_fast_install=no ;;
3904 enable_fast_install=no
3905 # Look at the argument we got. We use all the common list separators.
3906 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3907 for pkg in $enableval; do
3909 if test "X$pkg" = "X$p"; then
3910 enable_fast_install=yes
3917 enable_fast_install=yes
3927 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3928 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3929 if test "${lt_cv_path_SED+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3932 # Loop through the user's path and test for sed and gsed.
3933 # Then use that list of sed's as ones to test for truncation.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for lt_ac_prog in sed gsed; do
3940 for ac_exec_ext in '' $ac_executable_extensions; do
3941 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3942 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3950 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3951 # along with /bin/sed that truncates output.
3952 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3953 test ! -f $lt_ac_sed && continue
3954 cat /dev/null > conftest.in
3956 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3957 # Check for GNU sed and select it if it is found.
3958 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3959 lt_cv_path_SED=$lt_ac_sed
3963 cat conftest.in conftest.in >conftest.tmp
3964 mv conftest.tmp conftest.in
3965 cp conftest.in conftest.nl
3967 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3968 cmp -s conftest.out conftest.nl || break
3969 # 10000 chars as input seems more than enough
3970 test $lt_ac_count -gt 10 && break
3971 lt_ac_count=`expr $lt_ac_count + 1`
3972 if test $lt_ac_count -gt $lt_ac_max; then
3973 lt_ac_max=$lt_ac_count
3974 lt_cv_path_SED=$lt_ac_sed
3983 echo "$as_me:$LINENO: result: $SED" >&5
3984 echo "${ECHO_T}$SED" >&6
3986 test -z "$SED" && SED=sed
3987 Xsed="$SED -e 1s/^X//"
3999 echo "$as_me:$LINENO: checking for egrep" >&5
4000 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4001 if test "${ac_cv_prog_egrep+set}" = set; then
4002 echo $ECHO_N "(cached) $ECHO_C" >&6
4004 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4005 then ac_cv_prog_egrep='grep -E'
4006 else ac_cv_prog_egrep='egrep'
4009 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4010 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4011 EGREP=$ac_cv_prog_egrep
4014 echo "$as_me:$LINENO: checking for fgrep" >&5
4015 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4016 if test "${ac_cv_prog_fgrep+set}" = set; then
4017 echo $ECHO_N "(cached) $ECHO_C" >&6
4019 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4020 then ac_cv_prog_fgrep='grep -F'
4021 else ac_cv_prog_fgrep='fgrep'
4024 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4025 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4026 FGREP=$ac_cv_prog_fgrep
4029 test -z "$GREP" && GREP=grep
4049 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4050 if test "${with_gnu_ld+set}" = set; then
4051 withval="$with_gnu_ld"
4052 test "$withval" = no || with_gnu_ld=yes
4057 if test "$GCC" = yes; then
4058 # Check if gcc -print-prog-name=ld gives a path.
4059 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4060 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4063 # gcc leaves a trailing carriage return which upsets mingw
4064 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4066 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4069 # Accept absolute paths.
4071 re_direlt='/[^/][^/]*/\.\./'
4072 # Canonicalize the pathname of ld
4073 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4074 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4075 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4077 test -z "$LD" && LD="$ac_prog"
4080 # If it fails, then pretend we aren't using GCC.
4084 # If it is relative, then search for the first ld in PATH.
4088 elif test "$with_gnu_ld" = yes; then
4089 echo "$as_me:$LINENO: checking for GNU ld" >&5
4090 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4092 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4093 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4095 if test "${lt_cv_path_LD+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -z "$LD"; then
4099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4100 for ac_dir in $PATH; do
4102 test -z "$ac_dir" && ac_dir=.
4103 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4104 lt_cv_path_LD="$ac_dir/$ac_prog"
4105 # Check to see if the program is GNU ld. I'd rather use --version,
4106 # but apparently some variants of GNU ld only accept -v.
4107 # Break only if it was the GNU/non-GNU ld that we prefer.
4108 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4109 *GNU* | *'with BFD'*)
4110 test "$with_gnu_ld" != no && break
4113 test "$with_gnu_ld" != yes && break
4120 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4125 if test -n "$LD"; then
4126 echo "$as_me:$LINENO: result: $LD" >&5
4127 echo "${ECHO_T}$LD" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4132 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4133 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4134 { (exit 1); exit 1; }; }
4135 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4136 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4137 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4141 case `$LD -v 2>&1 </dev/null` in
4142 *GNU* | *'with BFD'*)
4143 lt_cv_prog_gnu_ld=yes
4146 lt_cv_prog_gnu_ld=no
4150 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4151 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4152 with_gnu_ld=$lt_cv_prog_gnu_ld
4163 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4164 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4165 if test "${lt_cv_path_NM+set}" = set; then
4166 echo $ECHO_N "(cached) $ECHO_C" >&6
4168 if test -n "$NM"; then
4169 # Let the user override the test.
4172 lt_nm_to_check="${ac_tool_prefix}nm"
4173 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4174 lt_nm_to_check="$lt_nm_to_check nm"
4176 for lt_tmp_nm in $lt_nm_to_check; do
4177 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4178 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4180 test -z "$ac_dir" && ac_dir=.
4181 tmp_nm="$ac_dir/$lt_tmp_nm"
4182 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4183 # Check to see if the nm accepts a BSD-compat flag.
4184 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4185 # nm: unknown option "B" ignored
4186 # Tru64's nm complains that /dev/null is an invalid object file
4187 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4188 */dev/null* | *'Invalid file or object type'*)
4189 lt_cv_path_NM="$tmp_nm -B"
4193 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4195 lt_cv_path_NM="$tmp_nm -p"
4199 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4200 continue # so that we can try to find one that supports BSD flags
4209 : ${lt_cv_path_NM=no}
4212 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4213 echo "${ECHO_T}$lt_cv_path_NM" >&6
4214 if test "$lt_cv_path_NM" != "no"; then
4217 # Didn't find any BSD compatible name lister, look for dumpbin.
4218 if test -n "$ac_tool_prefix"; then
4219 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223 echo "$as_me:$LINENO: checking for $ac_word" >&5
4224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4225 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 if test -n "$DUMPBIN"; then
4229 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4247 DUMPBIN=$ac_cv_prog_DUMPBIN
4248 if test -n "$DUMPBIN"; then
4249 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4250 echo "${ECHO_T}$DUMPBIN" >&6
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4256 test -n "$DUMPBIN" && break
4259 if test -z "$DUMPBIN"; then
4260 ac_ct_DUMPBIN=$DUMPBIN
4261 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4263 # Extract the first word of "$ac_prog", so it can be a program name with args.
4264 set dummy $ac_prog; ac_word=$2
4265 echo "$as_me:$LINENO: checking for $ac_word" >&5
4266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4267 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4268 echo $ECHO_N "(cached) $ECHO_C" >&6
4270 if test -n "$ac_ct_DUMPBIN"; then
4271 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 test -z "$as_dir" && as_dir=.
4278 for ac_exec_ext in '' $ac_executable_extensions; do
4279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4280 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4290 if test -n "$ac_ct_DUMPBIN"; then
4291 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4292 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4294 echo "$as_me:$LINENO: result: no" >&5
4295 echo "${ECHO_T}no" >&6
4298 test -n "$ac_ct_DUMPBIN" && break
4300 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4302 DUMPBIN=$ac_ct_DUMPBIN
4306 if test "$DUMPBIN" != ":"; then
4310 test -z "$NM" && NM=nm
4317 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4318 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4319 if test "${lt_cv_nm_interface+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 lt_cv_nm_interface="BSD nm"
4323 echo "int some_variable = 0;" > conftest.$ac_ext
4324 (eval echo "\"\$as_me:4324: $ac_compile\"" >&5)
4325 (eval "$ac_compile" 2>conftest.err)
4326 cat conftest.err >&5
4327 (eval echo "\"\$as_me:4327: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4328 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4329 cat conftest.err >&5
4330 (eval echo "\"\$as_me:4330: output\"" >&5)
4331 cat conftest.out >&5
4332 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4333 lt_cv_nm_interface="MS dumpbin"
4337 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4338 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4340 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4341 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4343 if test "$LN_S" = "ln -s"; then
4344 echo "$as_me:$LINENO: result: yes" >&5
4345 echo "${ECHO_T}yes" >&6
4347 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4348 echo "${ECHO_T}no, using $LN_S" >&6
4351 # find the maximum length of command line arguments
4352 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4353 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4354 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4355 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 # On DJGPP, this test can blow up pretty badly due to problems in libc
4363 # (any single argument exceeding 2000 bytes causes a buffer overrun
4364 # during glob expansion). Even if it were fixed, the result of this
4365 # check would be larger than it should be.
4366 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4370 # Under GNU Hurd, this test is not required because there is
4371 # no limit to the length of command line arguments.
4372 # Libtool will interpret -1 as no limit whatsoever
4373 lt_cv_sys_max_cmd_len=-1;
4377 # On Win9x/ME, this test blows up -- it succeeds, but takes
4378 # about 5 minutes as the teststring grows exponentially.
4379 # Worse, since 9x/ME are not pre-emptively multitasking,
4380 # you end up with a "frozen" computer, even though with patience
4381 # the test eventually succeeds (with a max line length of 256k).
4382 # Instead, let's just punt: use the minimum linelength reported by
4383 # all of the supported platforms: 8192 (on NT/2K/XP).
4384 lt_cv_sys_max_cmd_len=8192;
4388 # On AmigaOS with pdksh, this test takes hours, literally.
4389 # So we just punt and use a minimum line length of 8192.
4390 lt_cv_sys_max_cmd_len=8192;
4393 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4394 # This has been around since 386BSD, at least. Likely further.
4395 if test -x /sbin/sysctl; then
4396 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4397 elif test -x /usr/sbin/sysctl; then
4398 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4400 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4402 # And add a safety zone
4403 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4404 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4408 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4409 lt_cv_sys_max_cmd_len=196608
4413 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4414 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4415 # nice to cause kernel panics so lets avoid the loop below.
4416 # First set a reasonable default.
4417 lt_cv_sys_max_cmd_len=16384
4419 if test -x /sbin/sysconfig; then
4420 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4421 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4426 lt_cv_sys_max_cmd_len=102400
4428 sysv5* | sco5v6* | sysv4.2uw2*)
4429 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4430 if test -n "$kargmax"; then
4431 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4433 lt_cv_sys_max_cmd_len=32768
4437 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4438 if test -n $lt_cv_sys_max_cmd_len; then
4439 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4440 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4442 # Make teststring a little bigger before we do anything with it.
4443 # a 1K string should be a reasonable start.
4444 for i in 1 2 3 4 5 6 7 8 ; do
4445 teststring=$teststring$teststring
4447 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4448 # If test is not a shell built-in, we'll probably end up computing a
4449 # maximum length that is only half of the actual maximum length, but
4451 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4452 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4453 test $i != 17 # 1/2 MB should be enough
4456 teststring=$teststring$teststring
4458 # Only check the string length outside the loop.
4459 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4461 # Add a significant safety factor because C++ compilers can tack on
4462 # massive amounts of additional arguments before passing them to the
4463 # linker. It appears as though 1/2 is a usable value.
4464 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4471 if test -n $lt_cv_sys_max_cmd_len ; then
4472 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4473 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4475 echo "$as_me:$LINENO: result: none" >&5
4476 echo "${ECHO_T}none" >&6
4478 max_cmd_len=$lt_cv_sys_max_cmd_len
4490 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4491 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4492 # Try some XSI features
4495 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4496 = c,a/b,, ) >/dev/null 2>&1 \
4498 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4499 echo "${ECHO_T}$xsi_shell" >&6
4502 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4503 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4505 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4507 && lt_shell_append=yes
4508 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4509 echo "${ECHO_T}$lt_shell_append" >&6
4512 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4522 # test EBCDIC or ASCII
4523 case `echo X|tr X '\101'` in
4524 A) # ASCII based system
4525 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4526 lt_SP2NL='tr \040 \012'
4527 lt_NL2SP='tr \015\012 \040\040'
4529 *) # EBCDIC based system
4530 lt_SP2NL='tr \100 \n'
4531 lt_NL2SP='tr \r\n \100\100'
4543 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4544 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4545 if test "${lt_cv_ld_reload_flag+set}" = set; then
4546 echo $ECHO_N "(cached) $ECHO_C" >&6
4548 lt_cv_ld_reload_flag='-r'
4550 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4551 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4552 reload_flag=$lt_cv_ld_reload_flag
4553 case $reload_flag in
4555 *) reload_flag=" $reload_flag" ;;
4557 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4560 if test "$GCC" = yes; then
4561 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4563 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4577 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4578 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4579 if test "${lt_cv_deplibs_check_method+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 lt_cv_file_magic_cmd='$MAGIC_CMD'
4583 lt_cv_file_magic_test_file=
4584 lt_cv_deplibs_check_method='unknown'
4585 # Need to set the preceding variable on all platforms that support
4586 # interlibrary dependencies.
4587 # 'none' -- dependencies not supported.
4588 # `unknown' -- same as none, but documents that we really don't know.
4589 # 'pass_all' -- all dependencies passed with no checks.
4590 # 'test_compile' -- check by making test program.
4591 # 'file_magic [[regex]]' -- check by looking for files in library path
4592 # which responds to the $file_magic_cmd with a given extended regex.
4593 # If you have `file' or equivalent on your system and you're not sure
4594 # whether `pass_all' will *always* work, you probably want this one.
4598 lt_cv_deplibs_check_method=pass_all
4602 lt_cv_deplibs_check_method=pass_all
4606 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4607 lt_cv_file_magic_cmd='/usr/bin/file -L'
4608 lt_cv_file_magic_test_file=/shlib/libc.so
4612 # func_win32_libid is a shell function defined in ltmain.sh
4613 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4614 lt_cv_file_magic_cmd='func_win32_libid'
4618 # Base MSYS/MinGW do not provide the 'file' command needed by
4619 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4620 # unless we find 'file', for example because we are cross-compiling.
4621 if ( file / ) >/dev/null 2>&1; then
4622 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4623 lt_cv_file_magic_cmd='func_win32_libid'
4625 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4626 lt_cv_file_magic_cmd='$OBJDUMP -f'
4630 darwin* | rhapsody*)
4631 lt_cv_deplibs_check_method=pass_all
4634 freebsd* | dragonfly*)
4635 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4638 # Not sure whether the presence of OpenBSD here was a mistake.
4639 # Let's accept both of them until this is cleared up.
4640 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4641 lt_cv_file_magic_cmd=/usr/bin/file
4642 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4646 lt_cv_deplibs_check_method=pass_all
4651 lt_cv_deplibs_check_method=pass_all
4654 hpux10.20* | hpux11*)
4655 lt_cv_file_magic_cmd=/usr/bin/file
4658 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4659 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4662 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4663 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4666 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4667 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4673 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4674 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4677 irix5* | irix6* | nonstopux*)
4679 *-32|*"-32 ") libmagic=32-bit;;
4680 *-n32|*"-n32 ") libmagic=N32;;
4681 *-64|*"-64 ") libmagic=64-bit;;
4682 *) libmagic=never-match;;
4684 lt_cv_deplibs_check_method=pass_all
4687 # This must be Linux ELF.
4688 linux* | k*bsd*-gnu)
4689 lt_cv_deplibs_check_method=pass_all
4693 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4694 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4696 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4701 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4702 lt_cv_file_magic_cmd=/usr/bin/file
4703 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4707 lt_cv_deplibs_check_method=pass_all
4711 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4712 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4714 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4718 osf3* | osf4* | osf5*)
4719 lt_cv_deplibs_check_method=pass_all
4723 lt_cv_deplibs_check_method=pass_all
4727 lt_cv_deplibs_check_method=pass_all
4730 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4731 lt_cv_deplibs_check_method=pass_all
4735 case $host_vendor in
4737 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]'
4738 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4741 lt_cv_deplibs_check_method=pass_all
4744 lt_cv_file_magic_cmd='/bin/file'
4745 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4748 lt_cv_file_magic_cmd='/bin/file'
4749 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4750 lt_cv_file_magic_test_file=/lib/libc.so
4753 lt_cv_deplibs_check_method=pass_all
4756 lt_cv_deplibs_check_method=pass_all
4762 lt_cv_deplibs_check_method=pass_all
4767 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4768 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4769 file_magic_cmd=$lt_cv_file_magic_cmd
4770 deplibs_check_method=$lt_cv_deplibs_check_method
4771 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4784 if test -n "$ac_tool_prefix"; then
4785 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4786 set dummy ${ac_tool_prefix}ar; ac_word=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_AR+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$AR"; then
4793 ac_cv_prog_AR="$AR" # Let the user override the test.
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_AR="${ac_tool_prefix}ar"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 if test -n "$AR"; then
4813 echo "$as_me:$LINENO: result: $AR" >&5
4814 echo "${ECHO_T}$AR" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4821 if test -z "$ac_cv_prog_AR"; then
4823 # Extract the first word of "ar", so it can be a program name with args.
4824 set dummy ar; ac_word=$2
4825 echo "$as_me:$LINENO: checking for $ac_word" >&5
4826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 if test -n "$ac_ct_AR"; then
4831 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir=.
4838 for ac_exec_ext in '' $ac_executable_extensions; do
4839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4840 ac_cv_prog_ac_ct_AR="ar"
4841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4850 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4851 if test -n "$ac_ct_AR"; then
4852 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4853 echo "${ECHO_T}$ac_ct_AR" >&6
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4864 test -z "$AR" && AR=ar
4865 test -z "$AR_FLAGS" && AR_FLAGS=cru
4877 if test -n "$ac_tool_prefix"; then
4878 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4879 set dummy ${ac_tool_prefix}strip; ac_word=$2
4880 echo "$as_me:$LINENO: checking for $ac_word" >&5
4881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4882 if test "${ac_cv_prog_STRIP+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 if test -n "$STRIP"; then
4886 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4888 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir=.
4893 for ac_exec_ext in '' $ac_executable_extensions; do
4894 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4895 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4896 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4904 STRIP=$ac_cv_prog_STRIP
4905 if test -n "$STRIP"; then
4906 echo "$as_me:$LINENO: result: $STRIP" >&5
4907 echo "${ECHO_T}$STRIP" >&6
4909 echo "$as_me:$LINENO: result: no" >&5
4910 echo "${ECHO_T}no" >&6
4914 if test -z "$ac_cv_prog_STRIP"; then
4916 # Extract the first word of "strip", so it can be a program name with args.
4917 set dummy strip; ac_word=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_STRIP"; then
4924 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir=.
4931 for ac_exec_ext in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_STRIP="strip"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4943 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4944 if test -n "$ac_ct_STRIP"; then
4945 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4946 echo "${ECHO_T}$ac_ct_STRIP" >&6
4948 echo "$as_me:$LINENO: result: no" >&5
4949 echo "${ECHO_T}no" >&6
4954 STRIP="$ac_cv_prog_STRIP"
4957 test -z "$STRIP" && STRIP=:
4964 if test -n "$ac_tool_prefix"; then
4965 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4966 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4967 echo "$as_me:$LINENO: checking for $ac_word" >&5
4968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4969 if test "${ac_cv_prog_RANLIB+set}" = set; then
4970 echo $ECHO_N "(cached) $ECHO_C" >&6
4972 if test -n "$RANLIB"; then
4973 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir=.
4980 for ac_exec_ext in '' $ac_executable_extensions; do
4981 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4982 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4991 RANLIB=$ac_cv_prog_RANLIB
4992 if test -n "$RANLIB"; then
4993 echo "$as_me:$LINENO: result: $RANLIB" >&5
4994 echo "${ECHO_T}$RANLIB" >&6
4996 echo "$as_me:$LINENO: result: no" >&5
4997 echo "${ECHO_T}no" >&6
5001 if test -z "$ac_cv_prog_RANLIB"; then
5002 ac_ct_RANLIB=$RANLIB
5003 # Extract the first word of "ranlib", so it can be a program name with args.
5004 set dummy ranlib; ac_word=$2
5005 echo "$as_me:$LINENO: checking for $ac_word" >&5
5006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5007 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5008 echo $ECHO_N "(cached) $ECHO_C" >&6
5010 if test -n "$ac_ct_RANLIB"; then
5011 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017 test -z "$as_dir" && as_dir=.
5018 for ac_exec_ext in '' $ac_executable_extensions; do
5019 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5020 ac_cv_prog_ac_ct_RANLIB="ranlib"
5021 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5030 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5031 if test -n "$ac_ct_RANLIB"; then
5032 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5033 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5035 echo "$as_me:$LINENO: result: no" >&5
5036 echo "${ECHO_T}no" >&6
5039 RANLIB=$ac_ct_RANLIB
5041 RANLIB="$ac_cv_prog_RANLIB"
5044 test -z "$RANLIB" && RANLIB=:
5051 # Determine commands to create old-style static archives.
5052 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5053 old_postinstall_cmds='chmod 644 $oldlib'
5054 old_postuninstall_cmds=
5056 if test -n "$RANLIB"; then
5059 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5065 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5101 # If no C compiler was specified, use CC.
5104 # If no C compiler flags were specified, use CFLAGS.
5105 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5107 # Allow CC to be a program name with arguments.
5111 # Check for command to grab the raw symbol name followed by C symbol from nm.
5112 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5113 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5114 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5118 # These are sane defaults that work on at least a few old systems.
5119 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5121 # Character class describing NM global symbol codes.
5122 symcode='[BCDEGRST]'
5124 # Regexp to match symbols that can be accessed directly from C.
5125 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5127 # Define system-specific variables.
5132 cygwin* | mingw* | pw32*)
5133 symcode='[ABCDGISTW]'
5136 if test "$host_cpu" = ia64; then
5137 symcode='[ABCDEGRST]'
5141 symcode='[BCDEGRST]'
5144 symcode='[BCDEGQRST]'
5155 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5163 # If we're using GNU nm, then use its standard symbol codes.
5164 case `$NM -V 2>&1` in
5165 *GNU* | *'with BFD'*)
5166 symcode='[ABCDGIRSTW]' ;;
5169 # Transform an extracted symbol line into a proper C declaration.
5170 # Some systems (esp. on ia64) link data and code symbols differently,
5171 # so use this general approach.
5172 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5174 # Transform an extracted symbol line into symbol name and symbol address
5175 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5177 # Handle CRLF in mingw tool chain
5181 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5185 # Try without a prefix underscore, then with it.
5186 for ac_symprfx in "" "_"; do
5188 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5189 symxfrm="\\1 $ac_symprfx\\2 \\2"
5191 # Write the raw and C identifiers.
5192 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5193 # Fake it for dumpbin and say T for any non-static function
5194 # and D for any global variable.
5195 # Also find C++ and __fastcall symbols from MSVC++,
5196 # which start with @ or ?.
5197 lt_cv_sys_global_symbol_pipe="$AWK '"\
5198 " {last_section=section; section=\$ 3};"\
5199 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5200 " \$ 0!~/External *\|/{next};"\
5201 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5202 " {if(hide[section]) next};"\
5203 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5204 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5205 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5206 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5207 " ' prfx=^$ac_symprfx"
5209 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5212 # Check to see that the pipe works correctly.
5216 cat > conftest.$ac_ext <<_LT_EOF
5221 void nm_test_func(void);
5222 void nm_test_func(void){}
5226 int main(){nm_test_var='a';nm_test_func();return(0);}
5229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5230 (eval $ac_compile) 2>&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); }; then
5234 # Now try to grab the symbols.
5236 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5237 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); } && test -s "$nlist"; then
5241 # Try sorting and uniquifying the output.
5242 if sort "$nlist" | uniq > "$nlist"T; then
5243 mv -f "$nlist"T "$nlist"
5248 # Make sure that we snagged all the symbols we need.
5249 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5250 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5251 cat <<_LT_EOF > conftest.$ac_ext
5257 # Now generate the symbol file.
5258 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5260 cat <<_LT_EOF >> conftest.$ac_ext
5262 /* The mapping between symbol names and symbols. */
5267 lt__PROGRAM__LTX_preloaded_symbols[] =
5269 { "@PROGRAM@", (void *) 0 },
5271 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5272 cat <<\_LT_EOF >> conftest.$ac_ext
5276 /* This works around a problem in FreeBSD linker */
5277 #ifdef FREEBSD_WORKAROUND
5278 static const void *lt_preloaded_setup() {
5279 return lt__PROGRAM__LTX_preloaded_symbols;
5287 # Now try linking the two files.
5288 mv conftest.$ac_objext conftstm.$ac_objext
5289 lt_save_LIBS="$LIBS"
5290 lt_save_CFLAGS="$CFLAGS"
5291 LIBS="conftstm.$ac_objext"
5292 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5294 (eval $ac_link) 2>&5
5296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5297 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5300 LIBS="$lt_save_LIBS"
5301 CFLAGS="$lt_save_CFLAGS"
5303 echo "cannot find nm_test_func in $nlist" >&5
5306 echo "cannot find nm_test_var in $nlist" >&5
5309 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5312 echo "$progname: failed program was:" >&5
5313 cat conftest.$ac_ext >&5
5315 rm -f conftest* conftst*
5317 # Do not use the global_symbol_pipe unless it works.
5318 if test "$pipe_works" = yes; then
5321 lt_cv_sys_global_symbol_pipe=
5327 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5328 lt_cv_sys_global_symbol_to_cdecl=
5330 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5331 echo "$as_me:$LINENO: result: failed" >&5
5332 echo "${ECHO_T}failed" >&6
5334 echo "$as_me:$LINENO: result: ok" >&5
5335 echo "${ECHO_T}ok" >&6
5354 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5355 if test "${enable_libtool_lock+set}" = set; then
5356 enableval="$enable_libtool_lock"
5359 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5361 # Some flags need to be propagated to the compiler or linker for good
5365 # Find out which ABI we are using.
5366 echo 'int i;' > conftest.$ac_ext
5367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5368 (eval $ac_compile) 2>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); }; then
5372 case `/usr/bin/file conftest.$ac_objext` in
5384 # Find out which ABI we are using.
5385 echo '#line 5385 "configure"' > conftest.$ac_ext
5386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5387 (eval $ac_compile) 2>&5
5389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5390 (exit $ac_status); }; then
5391 if test "$lt_cv_prog_gnu_ld" = yes; then
5392 case `/usr/bin/file conftest.$ac_objext` in
5394 LD="${LD-ld} -melf32bsmip"
5397 LD="${LD-ld} -melf32bmipn32"
5400 LD="${LD-ld} -melf64bmip"
5404 case `/usr/bin/file conftest.$ac_objext` in
5420 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5421 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5422 # Find out which ABI we are using.
5423 echo 'int i;' > conftest.$ac_ext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5425 (eval $ac_compile) 2>&5
5427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5428 (exit $ac_status); }; then
5429 case `/usr/bin/file conftest.o` in
5432 x86_64-*kfreebsd*-gnu)
5433 LD="${LD-ld} -m elf_i386_fbsd"
5436 LD="${LD-ld} -m elf_i386"
5438 ppc64-*linux*|powerpc64-*linux*)
5439 LD="${LD-ld} -m elf32ppclinux"
5442 LD="${LD-ld} -m elf_s390"
5445 LD="${LD-ld} -m elf32_sparc"
5451 x86_64-*kfreebsd*-gnu)
5452 LD="${LD-ld} -m elf_x86_64_fbsd"
5455 LD="${LD-ld} -m elf_x86_64"
5457 ppc*-*linux*|powerpc*-*linux*)
5458 LD="${LD-ld} -m elf64ppc"
5460 s390*-*linux*|s390*-*tpf*)
5461 LD="${LD-ld} -m elf64_s390"
5464 LD="${LD-ld} -m elf64_sparc"
5474 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5475 SAVE_CFLAGS="$CFLAGS"
5476 CFLAGS="$CFLAGS -belf"
5477 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5478 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5479 if test "${lt_cv_cc_needs_belf+set}" = set; then
5480 echo $ECHO_N "(cached) $ECHO_C" >&6
5483 ac_cpp='$CPP $CPPFLAGS'
5484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5488 if test x$gcc_no_link = xyes; then
5489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5491 { (exit 1); exit 1; }; }
5493 cat >conftest.$ac_ext <<_ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5508 rm -f conftest.$ac_objext conftest$ac_exeext
5509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5510 (eval $ac_link) 2>conftest.er1
5512 grep -v '^ *+' conftest.er1 >conftest.err
5514 cat conftest.err >&5
5515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5516 (exit $ac_status); } &&
5517 { ac_try='test -z "$ac_c_werror_flag"
5518 || test ! -s conftest.err'
5519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5523 (exit $ac_status); }; } &&
5524 { ac_try='test -s conftest$ac_exeext'
5525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529 (exit $ac_status); }; }; then
5530 lt_cv_cc_needs_belf=yes
5532 echo "$as_me: failed program was:" >&5
5533 sed 's/^/| /' conftest.$ac_ext >&5
5535 lt_cv_cc_needs_belf=no
5537 rm -f conftest.err conftest.$ac_objext \
5538 conftest$ac_exeext conftest.$ac_ext
5540 ac_cpp='$CPP $CPPFLAGS'
5541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5546 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5547 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5548 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5549 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5550 CFLAGS="$SAVE_CFLAGS"
5554 # Find out which ABI we are using.
5555 echo 'int i;' > conftest.$ac_ext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>&5
5559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5560 (exit $ac_status); }; then
5561 case `/usr/bin/file conftest.o` in
5563 case $lt_cv_prog_gnu_ld in
5564 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5565 *) LD="${LD-ld} -64" ;;
5574 need_locks="$enable_libtool_lock"
5577 ac_cpp='$CPP $CPPFLAGS'
5578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5581 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5582 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5583 # On Suns, sometimes $CPP names a directory.
5584 if test -n "$CPP" && test -d "$CPP"; then
5587 if test -z "$CPP"; then
5588 if test "${ac_cv_prog_CPP+set}" = set; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 # Double quotes because CPP needs to be expanded
5592 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5595 for ac_c_preproc_warn_flag in '' yes
5597 # Use a header file that comes with gcc, so configuring glibc
5598 # with a fresh cross-compiler works.
5599 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5600 # <limits.h> exists even on freestanding compilers.
5601 # On the NeXT, cc -E runs the code through the compiler's parser,
5602 # not just through cpp. "Syntax error" is here to catch this case.
5603 cat >conftest.$ac_ext <<_ACEOF
5606 cat confdefs.h >>conftest.$ac_ext
5607 cat >>conftest.$ac_ext <<_ACEOF
5608 /* end confdefs.h. */
5610 # include <limits.h>
5612 # include <assert.h>
5616 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5617 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5619 grep -v '^ *+' conftest.er1 >conftest.err
5621 cat conftest.err >&5
5622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623 (exit $ac_status); } >/dev/null; then
5624 if test -s conftest.err; then
5625 ac_cpp_err=$ac_c_preproc_warn_flag
5626 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5633 if test -z "$ac_cpp_err"; then
5636 echo "$as_me: failed program was:" >&5
5637 sed 's/^/| /' conftest.$ac_ext >&5
5639 # Broken: fails on valid input.
5642 rm -f conftest.err conftest.$ac_ext
5644 # OK, works on sane cases. Now check whether non-existent headers
5645 # can be detected and how.
5646 cat >conftest.$ac_ext <<_ACEOF
5649 cat confdefs.h >>conftest.$ac_ext
5650 cat >>conftest.$ac_ext <<_ACEOF
5651 /* end confdefs.h. */
5652 #include <ac_nonexistent.h>
5654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5655 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5657 grep -v '^ *+' conftest.er1 >conftest.err
5659 cat conftest.err >&5
5660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5661 (exit $ac_status); } >/dev/null; then
5662 if test -s conftest.err; then
5663 ac_cpp_err=$ac_c_preproc_warn_flag
5664 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5671 if test -z "$ac_cpp_err"; then
5672 # Broken: success on invalid input.
5675 echo "$as_me: failed program was:" >&5
5676 sed 's/^/| /' conftest.$ac_ext >&5
5678 # Passes both tests.
5682 rm -f conftest.err conftest.$ac_ext
5685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5686 rm -f conftest.err conftest.$ac_ext
5687 if $ac_preproc_ok; then
5699 echo "$as_me:$LINENO: result: $CPP" >&5
5700 echo "${ECHO_T}$CPP" >&6
5702 for ac_c_preproc_warn_flag in '' yes
5704 # Use a header file that comes with gcc, so configuring glibc
5705 # with a fresh cross-compiler works.
5706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5707 # <limits.h> exists even on freestanding compilers.
5708 # On the NeXT, cc -E runs the code through the compiler's parser,
5709 # not just through cpp. "Syntax error" is here to catch this case.
5710 cat >conftest.$ac_ext <<_ACEOF
5713 cat confdefs.h >>conftest.$ac_ext
5714 cat >>conftest.$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5717 # include <limits.h>
5719 # include <assert.h>
5723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5724 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5726 grep -v '^ *+' conftest.er1 >conftest.err
5728 cat conftest.err >&5
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); } >/dev/null; then
5731 if test -s conftest.err; then
5732 ac_cpp_err=$ac_c_preproc_warn_flag
5733 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5740 if test -z "$ac_cpp_err"; then
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.$ac_ext >&5
5746 # Broken: fails on valid input.
5749 rm -f conftest.err conftest.$ac_ext
5751 # OK, works on sane cases. Now check whether non-existent headers
5752 # can be detected and how.
5753 cat >conftest.$ac_ext <<_ACEOF
5756 cat confdefs.h >>conftest.$ac_ext
5757 cat >>conftest.$ac_ext <<_ACEOF
5758 /* end confdefs.h. */
5759 #include <ac_nonexistent.h>
5761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5762 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5764 grep -v '^ *+' conftest.er1 >conftest.err
5766 cat conftest.err >&5
5767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5768 (exit $ac_status); } >/dev/null; then
5769 if test -s conftest.err; then
5770 ac_cpp_err=$ac_c_preproc_warn_flag
5771 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5778 if test -z "$ac_cpp_err"; then
5779 # Broken: success on invalid input.
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.$ac_ext >&5
5785 # Passes both tests.
5789 rm -f conftest.err conftest.$ac_ext
5792 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5793 rm -f conftest.err conftest.$ac_ext
5794 if $ac_preproc_ok; then
5797 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5798 See \`config.log' for more details." >&5
5799 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5800 See \`config.log' for more details." >&2;}
5801 { (exit 1); exit 1; }; }
5805 ac_cpp='$CPP $CPPFLAGS'
5806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5811 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5812 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5813 if test "${ac_cv_header_stdc+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 cat >conftest.$ac_ext <<_ACEOF
5819 cat confdefs.h >>conftest.$ac_ext
5820 cat >>conftest.$ac_ext <<_ACEOF
5821 /* end confdefs.h. */
5835 rm -f conftest.$ac_objext
5836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5837 (eval $ac_compile) 2>conftest.er1
5839 grep -v '^ *+' conftest.er1 >conftest.err
5841 cat conftest.err >&5
5842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5843 (exit $ac_status); } &&
5844 { ac_try='test -z "$ac_c_werror_flag"
5845 || test ! -s conftest.err'
5846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5850 (exit $ac_status); }; } &&
5851 { ac_try='test -s conftest.$ac_objext'
5852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5856 (exit $ac_status); }; }; then
5857 ac_cv_header_stdc=yes
5859 echo "$as_me: failed program was:" >&5
5860 sed 's/^/| /' conftest.$ac_ext >&5
5862 ac_cv_header_stdc=no
5864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5866 if test $ac_cv_header_stdc = yes; then
5867 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5868 cat >conftest.$ac_ext <<_ACEOF
5871 cat confdefs.h >>conftest.$ac_ext
5872 cat >>conftest.$ac_ext <<_ACEOF
5873 /* end confdefs.h. */
5877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5878 $EGREP "memchr" >/dev/null 2>&1; then
5881 ac_cv_header_stdc=no
5887 if test $ac_cv_header_stdc = yes; then
5888 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5889 cat >conftest.$ac_ext <<_ACEOF
5892 cat confdefs.h >>conftest.$ac_ext
5893 cat >>conftest.$ac_ext <<_ACEOF
5894 /* end confdefs.h. */
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "free" >/dev/null 2>&1; then
5902 ac_cv_header_stdc=no
5908 if test $ac_cv_header_stdc = yes; then
5909 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5910 if test "$cross_compiling" = yes; then
5913 cat >conftest.$ac_ext <<_ACEOF
5916 cat confdefs.h >>conftest.$ac_ext
5917 cat >>conftest.$ac_ext <<_ACEOF
5918 /* end confdefs.h. */
5920 #if ((' ' & 0x0FF) == 0x020)
5921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5924 # define ISLOWER(c) \
5925 (('a' <= (c) && (c) <= 'i') \
5926 || ('j' <= (c) && (c) <= 'r') \
5927 || ('s' <= (c) && (c) <= 'z'))
5928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5936 for (i = 0; i < 256; i++)
5937 if (XOR (islower (i), ISLOWER (i))
5938 || toupper (i) != TOUPPER (i))
5943 rm -f conftest$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>&5
5947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; }; then
5956 echo "$as_me: program exited with status $ac_status" >&5
5957 echo "$as_me: failed program was:" >&5
5958 sed 's/^/| /' conftest.$ac_ext >&5
5961 ac_cv_header_stdc=no
5963 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5967 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5968 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5969 if test $ac_cv_header_stdc = yes; then
5971 cat >>confdefs.h <<\_ACEOF
5972 #define STDC_HEADERS 1
5977 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5987 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5988 inttypes.h stdint.h unistd.h
5990 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991 echo "$as_me:$LINENO: checking for $ac_header" >&5
5992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5994 echo $ECHO_N "(cached) $ECHO_C" >&6
5996 cat >conftest.$ac_ext <<_ACEOF
5999 cat confdefs.h >>conftest.$ac_ext
6000 cat >>conftest.$ac_ext <<_ACEOF
6001 /* end confdefs.h. */
6002 $ac_includes_default
6004 #include <$ac_header>
6006 rm -f conftest.$ac_objext
6007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6008 (eval $ac_compile) 2>conftest.er1
6010 grep -v '^ *+' conftest.er1 >conftest.err
6012 cat conftest.err >&5
6013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6014 (exit $ac_status); } &&
6015 { ac_try='test -z "$ac_c_werror_flag"
6016 || test ! -s conftest.err'
6017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); }; } &&
6022 { ac_try='test -s conftest.$ac_objext'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; }; then
6028 eval "$as_ac_Header=yes"
6030 echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6033 eval "$as_ac_Header=no"
6035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6040 cat >>confdefs.h <<_ACEOF
6041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6050 for ac_header in dlfcn.h
6052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6053 echo "$as_me:$LINENO: checking for $ac_header" >&5
6054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6056 echo $ECHO_N "(cached) $ECHO_C" >&6
6058 cat >conftest.$ac_ext <<_ACEOF
6061 cat confdefs.h >>conftest.$ac_ext
6062 cat >>conftest.$ac_ext <<_ACEOF
6063 /* end confdefs.h. */
6064 $ac_includes_default
6066 #include <$ac_header>
6068 rm -f conftest.$ac_objext
6069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6070 (eval $ac_compile) 2>conftest.er1
6072 grep -v '^ *+' conftest.er1 >conftest.err
6074 cat conftest.err >&5
6075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6076 (exit $ac_status); } &&
6077 { ac_try='test -z "$ac_c_werror_flag"
6078 || test ! -s conftest.err'
6079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6083 (exit $ac_status); }; } &&
6084 { ac_try='test -s conftest.$ac_objext'
6085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6089 (exit $ac_status); }; }; then
6090 eval "$as_ac_Header=yes"
6092 echo "$as_me: failed program was:" >&5
6093 sed 's/^/| /' conftest.$ac_ext >&5
6095 eval "$as_ac_Header=no"
6097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6101 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6102 cat >>confdefs.h <<_ACEOF
6103 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6112 # This can be used to rebuild libtool when needed
6113 LIBTOOL_DEPS="$ltmain"
6115 # Always use our own libtool.
6116 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6142 test -z "$LN_S" && LN_S="ln -s"
6157 if test -n "${ZSH_VERSION+set}" ; then
6158 setopt NO_GLOB_SUBST
6161 echo "$as_me:$LINENO: checking for objdir" >&5
6162 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6163 if test "${lt_cv_objdir+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 rm -f .libs 2>/dev/null
6167 mkdir .libs 2>/dev/null
6168 if test -d .libs; then
6171 # MS-DOS does not allow filenames that begin with a dot.
6174 rmdir .libs 2>/dev/null
6176 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6177 echo "${ECHO_T}$lt_cv_objdir" >&6
6178 objdir=$lt_cv_objdir
6184 cat >>confdefs.h <<_ACEOF
6185 #define LT_OBJDIR "$lt_cv_objdir/"
6206 # AIX sometimes has problems with the GCC collect2 program. For some
6207 # reason, if we set the COLLECT_NAMES environment variable, the problems
6208 # vanish in a puff of smoke.
6209 if test "X${COLLECT_NAMES+set}" != Xset; then
6211 export COLLECT_NAMES
6216 # Sed substitution that helps us do robust quoting. It backslashifies
6217 # metacharacters that are still active within double-quoted strings.
6218 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6220 # Same as above, but do not quote variable references.
6221 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6223 # Sed substitution to delay expansion of an escaped shell variable in a
6224 # double_quote_subst'ed string.
6225 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6227 # Sed substitution to delay expansion of an escaped single quote.
6228 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6230 # Sed substitution to avoid accidental globbing in evaled expressions
6231 no_glob_subst='s/\*/\\\*/g'
6235 can_build_shared=yes
6237 # All known linkers require a `.a' archive for static linking (except MSVC,
6238 # which needs '.lib').
6241 with_gnu_ld="$lt_cv_prog_gnu_ld"
6244 old_CFLAGS="$CFLAGS"
6246 # Set sane defaults for various variables
6247 test -z "$CC" && CC=cc
6248 test -z "$LTCC" && LTCC=$CC
6249 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6250 test -z "$LD" && LD=ld
6251 test -z "$ac_objext" && ac_objext=o
6253 for cc_temp in $compiler""; do
6255 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6256 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6261 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6264 # Only perform the check for file, if the check method requires it
6265 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6266 case $deplibs_check_method in
6268 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6269 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6270 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6271 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6276 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6279 lt_save_MAGIC_CMD="$MAGIC_CMD"
6280 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6281 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6282 for ac_dir in $ac_dummy; do
6284 test -z "$ac_dir" && ac_dir=.
6285 if test -f $ac_dir/${ac_tool_prefix}file; then
6286 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6287 if test -n "$file_magic_test_file"; then
6288 case $deplibs_check_method in
6290 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6291 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6292 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6293 $EGREP "$file_magic_regex" > /dev/null; then
6298 *** Warning: the command libtool uses to detect shared libraries,
6299 *** $file_magic_cmd, produces output that libtool cannot recognize.
6300 *** The result is that libtool may fail to recognize shared libraries
6301 *** as such. This will affect the creation of libtool libraries that
6302 *** depend on shared libraries, but programs linked with such libtool
6303 *** libraries will work regardless of this problem. Nevertheless, you
6304 *** may want to report the problem to your system manager and/or to
6305 *** bug-libtool@gnu.org
6315 MAGIC_CMD="$lt_save_MAGIC_CMD"
6320 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6321 if test -n "$MAGIC_CMD"; then
6322 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6323 echo "${ECHO_T}$MAGIC_CMD" >&6
6325 echo "$as_me:$LINENO: result: no" >&5
6326 echo "${ECHO_T}no" >&6
6333 if test -z "$lt_cv_path_MAGIC_CMD"; then
6334 if test -n "$ac_tool_prefix"; then
6335 echo "$as_me:$LINENO: checking for file" >&5
6336 echo $ECHO_N "checking for file... $ECHO_C" >&6
6337 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6338 echo $ECHO_N "(cached) $ECHO_C" >&6
6342 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6345 lt_save_MAGIC_CMD="$MAGIC_CMD"
6346 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6347 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6348 for ac_dir in $ac_dummy; do
6350 test -z "$ac_dir" && ac_dir=.
6351 if test -f $ac_dir/file; then
6352 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6353 if test -n "$file_magic_test_file"; then
6354 case $deplibs_check_method in
6356 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6357 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6358 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6359 $EGREP "$file_magic_regex" > /dev/null; then
6364 *** Warning: the command libtool uses to detect shared libraries,
6365 *** $file_magic_cmd, produces output that libtool cannot recognize.
6366 *** The result is that libtool may fail to recognize shared libraries
6367 *** as such. This will affect the creation of libtool libraries that
6368 *** depend on shared libraries, but programs linked with such libtool
6369 *** libraries will work regardless of this problem. Nevertheless, you
6370 *** may want to report the problem to your system manager and/or to
6371 *** bug-libtool@gnu.org
6381 MAGIC_CMD="$lt_save_MAGIC_CMD"
6386 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6387 if test -n "$MAGIC_CMD"; then
6388 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6389 echo "${ECHO_T}$MAGIC_CMD" >&6
6391 echo "$as_me:$LINENO: result: no" >&5
6392 echo "${ECHO_T}no" >&6
6405 # Use C for the default configuration in the libtool script
6409 ac_cpp='$CPP $CPPFLAGS'
6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6415 # Source file extension for C test sources.
6418 # Object file extension for compiled C test sources.
6422 # Code to be used in simple compile tests
6423 lt_simple_compile_test_code="int some_variable = 0;"
6425 # Code to be used in simple link tests
6426 lt_simple_link_test_code='int main(){return(0);}'
6434 # If no C compiler was specified, use CC.
6437 # If no C compiler flags were specified, use CFLAGS.
6438 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6440 # Allow CC to be a program name with arguments.
6443 # Save the default compiler, since it gets overwritten when the other
6444 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6445 compiler_DEFAULT=$CC
6447 # save warnings/boilerplate of simple test code
6448 ac_outfile=conftest.$ac_objext
6449 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6450 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6451 _lt_compiler_boilerplate=`cat conftest.err`
6454 ac_outfile=conftest.$ac_objext
6455 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6456 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6457 _lt_linker_boilerplate=`cat conftest.err`
6462 ## There is no encapsulation within the following macros, do not change
6463 ## the running order or otherwise move them around unless you know exactly
6464 ## what you are doing...
6465 if test -n "$compiler"; then
6467 lt_prog_compiler_no_builtin_flag=
6469 if test "$GCC" = yes; then
6470 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6472 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6473 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6474 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6475 echo $ECHO_N "(cached) $ECHO_C" >&6
6477 lt_cv_prog_compiler_rtti_exceptions=no
6478 ac_outfile=conftest.$ac_objext
6479 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6480 lt_compiler_flag="-fno-rtti -fno-exceptions"
6481 # Insert the option either (1) after the last *FLAGS variable, or
6482 # (2) before a word containing "conftest.", or (3) at the end.
6483 # Note that $ac_compile itself does not contain backslashes and begins
6484 # with a dollar sign (not a hyphen), so the echo should work correctly.
6485 # The option is referenced via a variable to avoid confusing sed.
6486 lt_compile=`echo "$ac_compile" | $SED \
6487 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6488 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6489 -e 's:$: $lt_compiler_flag:'`
6490 (eval echo "\"\$as_me:6490: $lt_compile\"" >&5)
6491 (eval "$lt_compile" 2>conftest.err)
6493 cat conftest.err >&5
6494 echo "$as_me:6494: \$? = $ac_status" >&5
6495 if (exit $ac_status) && test -s "$ac_outfile"; then
6496 # The compiler can only warn and ignore the option if not recognized
6497 # So say no if there are warnings other than the usual output.
6498 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6499 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6500 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6501 lt_cv_prog_compiler_rtti_exceptions=yes
6507 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6508 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6510 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6511 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6523 lt_prog_compiler_wl=
6524 lt_prog_compiler_pic=
6525 lt_prog_compiler_static=
6527 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6528 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6530 if test "$GCC" = yes; then
6531 lt_prog_compiler_wl='-Wl,'
6532 lt_prog_compiler_static='-static'
6536 # All AIX code is PIC.
6537 if test "$host_cpu" = ia64; then
6538 # AIX 5 now supports IA64 processor
6539 lt_prog_compiler_static='-Bstatic'
6544 if test "$host_cpu" = m68k; then
6545 # FIXME: we need at least 68020 code to build shared libraries, but
6546 # adding the `-m68020' flag to GCC prevents building anything better,
6548 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6552 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6553 # PIC is the default for these OSes.
6556 mingw* | cygwin* | pw32* | os2*)
6557 # This hack is so that the source file can tell whether it is being
6558 # built for inclusion in a dll (and should export symbols for example).
6559 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6560 # (--disable-auto-import) libraries
6561 lt_prog_compiler_pic='-DDLL_EXPORT'
6564 darwin* | rhapsody*)
6565 # PIC is the default on this platform
6566 # Common symbols not allowed in MH_DYLIB files
6567 lt_prog_compiler_pic='-fno-common'
6571 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6578 lt_prog_compiler_pic='-fPIC'
6584 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6585 # Instead, we relocate shared libraries at runtime.
6589 # Just because we use GCC doesn't mean we suddenly get shared libraries
6590 # on systems that don't support them.
6591 lt_prog_compiler_can_build_shared=no
6596 # QNX uses GNU C++, but need to define -shared option too, otherwise
6598 lt_prog_compiler_pic='-fPIC -shared'
6602 if test -d /usr/nec; then
6603 lt_prog_compiler_pic=-Kconform_pic
6608 lt_prog_compiler_pic='-fPIC'
6612 # PORTME Check for flag to pass linker flags through the system compiler.
6615 lt_prog_compiler_wl='-Wl,'
6616 if test "$host_cpu" = ia64; then
6617 # AIX 5 now supports IA64 processor
6618 lt_prog_compiler_static='-Bstatic'
6620 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6624 # PIC is the default on this platform
6625 # Common symbols not allowed in MH_DYLIB files
6626 case $cc_basename in
6628 lt_prog_compiler_pic='-qnocommon'
6629 lt_prog_compiler_wl='-Wl,'
6634 mingw* | cygwin* | pw32* | os2*)
6635 # This hack is so that the source file can tell whether it is being
6636 # built for inclusion in a dll (and should export symbols for example).
6637 lt_prog_compiler_pic='-DDLL_EXPORT'
6640 hpux9* | hpux10* | hpux11*)
6641 lt_prog_compiler_wl='-Wl,'
6642 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6649 lt_prog_compiler_pic='+Z'
6652 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6653 lt_prog_compiler_static='${wl}-a ${wl}archive'
6656 irix5* | irix6* | nonstopux*)
6657 lt_prog_compiler_wl='-Wl,'
6658 # PIC (with -KPIC) is the default.
6659 lt_prog_compiler_static='-non_shared'
6662 linux* | k*bsd*-gnu)
6663 case $cc_basename in
6665 lt_prog_compiler_wl='-Wl,'
6666 lt_prog_compiler_pic='-KPIC'
6667 lt_prog_compiler_static='-static'
6669 pgcc* | pgf77* | pgf90* | pgf95*)
6670 # Portland Group compilers (*not* the Pentium gcc compiler,
6671 # which looks to be a dead project)
6672 lt_prog_compiler_wl='-Wl,'
6673 lt_prog_compiler_pic='-fpic'
6674 lt_prog_compiler_static='-Bstatic'
6677 lt_prog_compiler_wl='-Wl,'
6678 # All Alpha code is PIC.
6679 lt_prog_compiler_static='-non_shared'
6682 case `$CC -V 2>&1 | sed 5q` in
6685 lt_prog_compiler_pic='-KPIC'
6686 lt_prog_compiler_static='-Bstatic'
6687 lt_prog_compiler_wl='-Wl,'
6690 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6691 lt_prog_compiler_pic='-KPIC'
6692 lt_prog_compiler_static='-Bstatic'
6693 lt_prog_compiler_wl=''
6701 lt_prog_compiler_pic='-KPIC'
6702 lt_prog_compiler_static='-Bstatic'
6706 # QNX uses GNU C++, but need to define -shared option too, otherwise
6708 lt_prog_compiler_pic='-fPIC -shared'
6711 osf3* | osf4* | osf5*)
6712 lt_prog_compiler_wl='-Wl,'
6713 # All OSF/1 code is PIC.
6714 lt_prog_compiler_static='-non_shared'
6718 lt_prog_compiler_static='-non_shared'
6722 lt_prog_compiler_pic='-KPIC'
6723 lt_prog_compiler_static='-Bstatic'
6724 case $cc_basename in
6726 lt_prog_compiler_wl='-Qoption ld ';;
6728 lt_prog_compiler_wl='-Wl,';;
6733 lt_prog_compiler_wl='-Qoption ld '
6734 lt_prog_compiler_pic='-PIC'
6735 lt_prog_compiler_static='-Bstatic'
6738 sysv4 | sysv4.2uw2* | sysv4.3*)
6739 lt_prog_compiler_wl='-Wl,'
6740 lt_prog_compiler_pic='-KPIC'
6741 lt_prog_compiler_static='-Bstatic'
6745 if test -d /usr/nec ;then
6746 lt_prog_compiler_pic='-Kconform_pic'
6747 lt_prog_compiler_static='-Bstatic'
6751 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6752 lt_prog_compiler_wl='-Wl,'
6753 lt_prog_compiler_pic='-KPIC'
6754 lt_prog_compiler_static='-Bstatic'
6758 lt_prog_compiler_wl='-Wl,'
6759 lt_prog_compiler_can_build_shared=no
6763 lt_prog_compiler_pic='-pic'
6764 lt_prog_compiler_static='-Bstatic'
6768 lt_prog_compiler_can_build_shared=no
6774 # For platforms which do not support PIC, -DPIC is meaningless:
6776 lt_prog_compiler_pic=
6779 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6782 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6783 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6791 # Check to make sure the PIC flag actually works.
6793 if test -n "$lt_prog_compiler_pic"; then
6794 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6795 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6796 if test "${lt_prog_compiler_pic_works+set}" = set; then
6797 echo $ECHO_N "(cached) $ECHO_C" >&6
6799 lt_prog_compiler_pic_works=no
6800 ac_outfile=conftest.$ac_objext
6801 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6802 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6803 # Insert the option either (1) after the last *FLAGS variable, or
6804 # (2) before a word containing "conftest.", or (3) at the end.
6805 # Note that $ac_compile itself does not contain backslashes and begins
6806 # with a dollar sign (not a hyphen), so the echo should work correctly.
6807 # The option is referenced via a variable to avoid confusing sed.
6808 lt_compile=`echo "$ac_compile" | $SED \
6809 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6811 -e 's:$: $lt_compiler_flag:'`
6812 (eval echo "\"\$as_me:6812: $lt_compile\"" >&5)
6813 (eval "$lt_compile" 2>conftest.err)
6815 cat conftest.err >&5
6816 echo "$as_me:6816: \$? = $ac_status" >&5
6817 if (exit $ac_status) && test -s "$ac_outfile"; then
6818 # The compiler can only warn and ignore the option if not recognized
6819 # So say no if there are warnings other than the usual output.
6820 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6822 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6823 lt_prog_compiler_pic_works=yes
6829 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6830 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6832 if test x"$lt_prog_compiler_pic_works" = xyes; then
6833 case $lt_prog_compiler_pic in
6835 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6838 lt_prog_compiler_pic=
6839 lt_prog_compiler_can_build_shared=no
6850 # Check to make sure the static flag actually works.
6852 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6853 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6854 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6855 if test "${lt_prog_compiler_static_works+set}" = set; then
6856 echo $ECHO_N "(cached) $ECHO_C" >&6
6858 lt_prog_compiler_static_works=no
6859 save_LDFLAGS="$LDFLAGS"
6860 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6861 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6862 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6863 # The linker can only warn and ignore the option if not recognized
6864 # So say no if there are warnings
6865 if test -s conftest.err; then
6866 # Append any errors to the config.log.
6867 cat conftest.err 1>&5
6868 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6869 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6870 if diff conftest.exp conftest.er2 >/dev/null; then
6871 lt_prog_compiler_static_works=yes
6874 lt_prog_compiler_static_works=yes
6878 LDFLAGS="$save_LDFLAGS"
6881 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6882 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6884 if test x"$lt_prog_compiler_static_works" = xyes; then
6887 lt_prog_compiler_static=
6896 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6897 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6898 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6899 echo $ECHO_N "(cached) $ECHO_C" >&6
6901 lt_cv_prog_compiler_c_o=no
6902 $RM -r conftest 2>/dev/null
6906 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6908 lt_compiler_flag="-o out/conftest2.$ac_objext"
6909 # Insert the option either (1) after the last *FLAGS variable, or
6910 # (2) before a word containing "conftest.", or (3) at the end.
6911 # Note that $ac_compile itself does not contain backslashes and begins
6912 # with a dollar sign (not a hyphen), so the echo should work correctly.
6913 lt_compile=`echo "$ac_compile" | $SED \
6914 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6915 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6916 -e 's:$: $lt_compiler_flag:'`
6917 (eval echo "\"\$as_me:6917: $lt_compile\"" >&5)
6918 (eval "$lt_compile" 2>out/conftest.err)
6920 cat out/conftest.err >&5
6921 echo "$as_me:6921: \$? = $ac_status" >&5
6922 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6924 # The compiler can only warn and ignore the option if not recognized
6925 # So say no if there are warnings
6926 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6927 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6928 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6929 lt_cv_prog_compiler_c_o=yes
6934 # SGI C++ compiler will create directory out/ii_files/ for
6935 # template instantiation
6936 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6937 $RM out/* && rmdir out
6943 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6944 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6951 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6952 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6953 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6956 lt_cv_prog_compiler_c_o=no
6957 $RM -r conftest 2>/dev/null
6961 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6963 lt_compiler_flag="-o out/conftest2.$ac_objext"
6964 # Insert the option either (1) after the last *FLAGS variable, or
6965 # (2) before a word containing "conftest.", or (3) at the end.
6966 # Note that $ac_compile itself does not contain backslashes and begins
6967 # with a dollar sign (not a hyphen), so the echo should work correctly.
6968 lt_compile=`echo "$ac_compile" | $SED \
6969 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6970 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6971 -e 's:$: $lt_compiler_flag:'`
6972 (eval echo "\"\$as_me:6972: $lt_compile\"" >&5)
6973 (eval "$lt_compile" 2>out/conftest.err)
6975 cat out/conftest.err >&5
6976 echo "$as_me:6976: \$? = $ac_status" >&5
6977 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6979 # The compiler can only warn and ignore the option if not recognized
6980 # So say no if there are warnings
6981 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
6982 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
6983 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6984 lt_cv_prog_compiler_c_o=yes
6989 # SGI C++ compiler will create directory out/ii_files/ for
6990 # template instantiation
6991 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
6992 $RM out/* && rmdir out
6998 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6999 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7004 hard_links="nottested"
7005 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7006 # do not overwrite the value of need_locks provided by the user
7007 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7008 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7011 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7013 ln conftest.a conftest.b 2>&5 || hard_links=no
7014 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7015 echo "$as_me:$LINENO: result: $hard_links" >&5
7016 echo "${ECHO_T}$hard_links" >&6
7017 if test "$hard_links" = no; then
7018 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7019 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7031 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7032 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7035 allow_undefined_flag=
7036 always_export_symbols=no
7038 archive_expsym_cmds=
7039 compiler_needs_object=no
7040 enable_shared_with_static_runtimes=no
7041 export_dynamic_flag_spec=
7042 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7043 hardcode_automatic=no
7045 hardcode_direct_absolute=no
7046 hardcode_libdir_flag_spec=
7047 hardcode_libdir_flag_spec_ld=
7048 hardcode_libdir_separator=
7050 hardcode_shlibpath_var=unsupported
7052 link_all_deplibs=unknown
7055 old_archive_from_new_cmds=
7056 old_archive_from_expsyms_cmds=
7057 thread_safe_flag_spec=
7058 whole_archive_flag_spec=
7059 # include_expsyms should be a list of space-separated symbols to be *always*
7060 # included in the symbol list
7062 # exclude_expsyms can be an extended regexp of symbols to exclude
7063 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7064 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7065 # as well as any symbol that contains `d'.
7066 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7067 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7068 # platforms (ab)use it in PIC code, but their linkers get confused if
7069 # the symbol is explicitly referenced. Since portable code cannot
7070 # rely on this symbol name, it's probably fine to never include it in
7071 # preloaded symbol tables.
7072 extract_expsyms_cmds=
7075 cygwin* | mingw* | pw32*)
7076 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7077 # When not using gcc, we currently assume that we are using
7078 # Microsoft Visual C++.
7079 if test "$GCC" != yes; then
7084 # we just hope/assume this is gcc and not c89 (= MSVC++)
7093 if test "$with_gnu_ld" = yes; then
7094 # If archive_cmds runs LD, not CC, wlarc should be empty
7097 # Set some defaults for GNU ld with shared library support. These
7098 # are reset later if shared libraries are not supported. Putting them
7099 # here allows them to be overridden if necessary.
7100 runpath_var=LD_RUN_PATH
7101 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7102 export_dynamic_flag_spec='${wl}--export-dynamic'
7103 # ancient GNU ld didn't support --whole-archive et. al.
7104 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7105 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7107 whole_archive_flag_spec=
7109 supports_anon_versioning=no
7110 case `$LD -v 2>&1` in
7111 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7112 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7113 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7114 *\ 2.11.*) ;; # other 2.11 versions
7115 *) supports_anon_versioning=yes ;;
7118 # See if GNU ld supports shared libraries.
7120 aix3* | aix4* | aix5*)
7121 # On AIX/PPC, the GNU linker is very broken
7122 if test "$host_cpu" != ia64; then
7126 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7127 *** to be unable to reliably create shared libraries on AIX.
7128 *** Therefore, libtool is disabling shared libraries support. If you
7129 *** really care for shared libraries, you may want to modify your PATH
7130 *** so that a non-GNU linker is found, and then restart.
7137 if test "$host_cpu" = m68k; then
7138 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7139 hardcode_libdir_flag_spec='-L$libdir'
7140 hardcode_minus_L=yes
7143 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7144 # that the semantics of dynamic libraries on AmigaOS, at least up
7145 # to version 4, is to share data among multiple programs linked
7146 # with the same dynamic library. Since this doesn't match the
7147 # behavior of shared libraries on other platforms, we can't use
7153 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7154 allow_undefined_flag=unsupported
7155 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7156 # support --undefined. This deserves some investigation. FIXME
7157 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7163 cygwin* | mingw* | pw32*)
7164 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7165 # as there is no search path for DLLs.
7166 hardcode_libdir_flag_spec='-L$libdir'
7167 allow_undefined_flag=unsupported
7168 always_export_symbols=no
7169 enable_shared_with_static_runtimes=yes
7170 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7172 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7173 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7174 # If the export-symbols file already is a .def file (1st line
7175 # is EXPORTS), use it as is; otherwise, prepend...
7176 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7177 cp $export_symbols $output_objdir/$soname.def;
7179 echo EXPORTS > $output_objdir/$soname.def;
7180 cat $export_symbols >> $output_objdir/$soname.def;
7182 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7190 hardcode_shlibpath_var=no
7191 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7192 export_dynamic_flag_spec='${wl}-E'
7193 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7194 # Instead, shared libraries are loaded at an image base (0x10000000 by
7195 # default) and relocated if they conflict, which is a slow very memory
7196 # consuming and fragmenting process. To avoid this, we pick a random,
7197 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7198 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7199 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7200 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7203 gnu* | linux* | tpf* | k*bsd*-gnu)
7205 if test "$host_os" = linux-dietlibc; then
7206 case $cc_basename in
7207 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7210 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7211 && test "$tmp_diet" = no
7214 case $cc_basename,$host_cpu in
7215 pgcc*) # Portland Group C compiler
7216 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7217 tmp_addflag=' $pic_flag'
7219 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7220 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7221 tmp_addflag=' $pic_flag -Mnomain' ;;
7222 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7223 tmp_addflag=' -i_dynamic' ;;
7224 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7225 tmp_addflag=' -i_dynamic -nofor_main' ;;
7226 ifc* | ifort*) # Intel Fortran compiler
7227 tmp_addflag=' -nofor_main' ;;
7229 case `$CC -V 2>&1 | sed 5q` in
7230 *Sun\ C*) # Sun C 5.9
7231 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7232 compiler_needs_object=yes
7233 tmp_sharedflag='-G' ;;
7234 *Sun\ F*) # Sun Fortran 8.3
7235 tmp_sharedflag='-G' ;;
7237 tmp_sharedflag='-shared' ;;
7239 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7241 if test "x$supports_anon_versioning" = xyes; then
7242 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7243 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7244 echo "local: *; };" >> $output_objdir/$libname.ver~
7245 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7253 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7254 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7257 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7258 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7263 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7267 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7268 *** create shared libraries on Solaris systems. Therefore, libtool
7269 *** is disabling shared libraries support. We urge you to upgrade GNU
7270 *** binutils to release 2.9.1 or newer. Another option is to modify
7271 *** your PATH or compiler configuration so that the native linker is
7272 *** used, and then restart.
7275 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7276 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7277 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7283 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7284 case `$LD -v 2>&1` in
7285 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7289 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7290 *** reliably create shared libraries on SCO systems. Therefore, libtool
7291 *** is disabling shared libraries support. We urge you to upgrade GNU
7292 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7293 *** your PATH or compiler configuration so that the native linker is
7294 *** used, and then restart.
7299 # For security reasons, it is highly recommended that you always
7300 # use absolute paths for naming shared libraries, and exclude the
7301 # DT_RUNPATH tag from executables and libraries. But doing so
7302 # requires that you compile everything twice, which is a pain.
7303 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7304 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7306 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7315 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7318 hardcode_shlibpath_var=no
7322 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7323 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7324 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7331 if test "$ld_shlibs" = no; then
7333 hardcode_libdir_flag_spec=
7334 export_dynamic_flag_spec=
7335 whole_archive_flag_spec=
7338 # PORTME fill in a description of your system's linker (not GNU ld)
7341 allow_undefined_flag=unsupported
7342 always_export_symbols=yes
7343 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
7344 # Note: this linker hardcodes the directories in LIBPATH if there
7345 # are no directories specified by -L.
7346 hardcode_minus_L=yes
7347 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7348 # Neither direct hardcoding nor static linking is supported with a
7350 hardcode_direct=unsupported
7355 if test "$host_cpu" = ia64; then
7356 # On IA64, the linker does run time linking by default, so we don't
7357 # have to do anything special.
7358 aix_use_runtimelinking=no
7359 exp_sym_flag='-Bexport'
7362 # If we're using GNU nm, then we don't want the "-C" option.
7363 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7364 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7365 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7367 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
7369 aix_use_runtimelinking=no
7371 # Test if we are trying to use run time linking or normal
7372 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7373 # need to do runtime linking.
7374 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
7375 for ld_flag in $LDFLAGS; do
7376 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7377 aix_use_runtimelinking=yes
7384 exp_sym_flag='-bexport'
7385 no_entry_flag='-bnoentry'
7388 # When large executables or shared objects are built, AIX ld can
7389 # have problems creating the table of contents. If linking a library
7390 # or program results in "error TOC overflow" add -mminimal-toc to
7391 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7392 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7396 hardcode_direct_absolute=yes
7397 hardcode_libdir_separator=':'
7398 link_all_deplibs=yes
7399 file_list_spec='${wl}-f,'
7401 if test "$GCC" = yes; then
7402 case $host_os in aix4.[012]|aix4.[012].*)
7403 # We only want to do this on AIX 4.2 and lower, the check
7404 # below for broken collect2 doesn't work under 4.3+
7405 collect2name=`${CC} -print-prog-name=collect2`
7406 if test -f "$collect2name" &&
7407 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7409 # We have reworked collect2
7412 # We have old collect2
7413 hardcode_direct=unsupported
7414 # It fails to find uninstalled libraries when the uninstalled
7415 # path is not listed in the libpath. Setting hardcode_minus_L
7416 # to unsupported forces relinking
7417 hardcode_minus_L=yes
7418 hardcode_libdir_flag_spec='-L$libdir'
7419 hardcode_libdir_separator=
7423 shared_flag='-shared'
7424 if test "$aix_use_runtimelinking" = yes; then
7425 shared_flag="$shared_flag "'${wl}-G'
7429 if test "$host_cpu" = ia64; then
7430 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7431 # chokes on -Wl,-G. The following line is correct:
7434 if test "$aix_use_runtimelinking" = yes; then
7435 shared_flag='${wl}-G'
7437 shared_flag='${wl}-bM:SRE'
7442 # It seems that -bexpall does not export symbols beginning with
7443 # underscore (_), so it is better to generate a list of symbols to export.
7444 always_export_symbols=yes
7445 if test "$aix_use_runtimelinking" = yes; then
7446 # Warning - without using the other runtime loading flags (-brtl),
7447 # -berok will link without error, but may produce a broken library.
7448 allow_undefined_flag='-berok'
7449 # Determine the default libpath from the value encoded in an
7451 if test x$gcc_no_link = xyes; then
7452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7454 { (exit 1); exit 1; }; }
7456 cat >conftest.$ac_ext <<_ACEOF
7459 cat confdefs.h >>conftest.$ac_ext
7460 cat >>conftest.$ac_ext <<_ACEOF
7461 /* end confdefs.h. */
7471 rm -f conftest.$ac_objext conftest$ac_exeext
7472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7473 (eval $ac_link) 2>conftest.er1
7475 grep -v '^ *+' conftest.er1 >conftest.err
7477 cat conftest.err >&5
7478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7479 (exit $ac_status); } &&
7480 { ac_try='test -z "$ac_c_werror_flag"
7481 || test ! -s conftest.err'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; } &&
7487 { ac_try='test -s conftest$ac_exeext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7494 lt_aix_libpath_sed='
7495 /Import File Strings/,/^$/ {
7501 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7502 # Check for a 64-bit object if we didn't find anything.
7503 if test -z "$aix_libpath"; then
7504 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7507 echo "$as_me: failed program was:" >&5
7508 sed 's/^/| /' conftest.$ac_ext >&5
7511 rm -f conftest.err conftest.$ac_objext \
7512 conftest$ac_exeext conftest.$ac_ext
7513 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7515 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7516 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
7518 if test "$host_cpu" = ia64; then
7519 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7520 allow_undefined_flag="-z nodefs"
7521 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
7523 # Determine the default libpath from the value encoded in an
7525 if test x$gcc_no_link = xyes; then
7526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7528 { (exit 1); exit 1; }; }
7530 cat >conftest.$ac_ext <<_ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7545 rm -f conftest.$ac_objext conftest$ac_exeext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7547 (eval $ac_link) 2>conftest.er1
7549 grep -v '^ *+' conftest.er1 >conftest.err
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_c_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest$ac_exeext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7568 lt_aix_libpath_sed='
7569 /Import File Strings/,/^$/ {
7575 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7576 # Check for a 64-bit object if we didn't find anything.
7577 if test -z "$aix_libpath"; then
7578 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7585 rm -f conftest.err conftest.$ac_objext \
7586 conftest$ac_exeext conftest.$ac_ext
7587 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7589 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7590 # Warning - without using the other run time loading flags,
7591 # -berok will link without error, but may produce a broken library.
7592 no_undefined_flag=' ${wl}-bernotok'
7593 allow_undefined_flag=' ${wl}-berok'
7594 # Exported symbols can be pulled into shared objects from archives
7595 whole_archive_flag_spec='$convenience'
7596 archive_cmds_need_lc=yes
7597 # This is similar to how AIX traditionally builds its shared libraries.
7598 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
7604 if test "$host_cpu" = m68k; then
7605 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7606 hardcode_libdir_flag_spec='-L$libdir'
7607 hardcode_minus_L=yes
7609 # see comment about different semantics on the GNU ld section
7614 export_dynamic_flag_spec=-rdynamic
7617 cygwin* | mingw* | pw32*)
7618 # When not using gcc, we currently assume that we are using
7619 # Microsoft Visual C++.
7620 # hardcode_libdir_flag_spec is actually meaningless, as there is
7621 # no search path for DLLs.
7622 hardcode_libdir_flag_spec=' '
7623 allow_undefined_flag=unsupported
7624 # Tell ltmain to make .lib files, not .a files.
7626 # Tell ltmain to make .dll files, not .so files.
7628 # FIXME: Setting linknames here is a bad hack.
7629 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7630 # The linker will automatically build a .lib file if we build a DLL.
7631 old_archive_from_new_cmds='true'
7632 # FIXME: Should let the user specify the lib program.
7633 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7634 fix_srcfile_path='`cygpath -w "$srcfile"`'
7635 enable_shared_with_static_runtimes=yes
7638 darwin* | rhapsody*)
7640 rhapsody* | darwin1.[012])
7641 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7644 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7646 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7649 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7654 archive_cmds_need_lc=no
7656 hardcode_automatic=yes
7657 hardcode_shlibpath_var=unsupported
7658 whole_archive_flag_spec=''
7659 link_all_deplibs=yes
7660 if test "$GCC" = yes ; then
7661 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7662 echo $ECHO_N "(cached) $ECHO_C" >&6
7664 lt_cv_apple_cc_single_mod=no
7665 if test -z "${LT_MULTI_MODULE}"; then
7666 # By default we will add the -single_module flag. You can override
7667 # by either setting the environment variable LT_MULTI_MODULE
7668 # non-empty at configure time, or by adding -multi-module to the
7670 echo "int foo(void){return 1;}" > conftest.c
7671 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7672 -dynamiclib ${wl}-single_module conftest.c
7673 if test -f libconftest.dylib; then
7674 lt_cv_apple_cc_single_mod=yes
7675 rm libconftest.dylib
7681 output_verbose_link_cmd=echo
7682 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7683 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7684 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7686 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7687 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7689 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7690 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7692 case $cc_basename in
7694 output_verbose_link_cmd=echo
7695 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7696 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7697 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7698 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7699 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7709 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7710 hardcode_libdir_flag_spec='-L$libdir'
7711 hardcode_shlibpath_var=no
7718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7719 # support. Future versions do this automatically, but an explicit c++rt0.o
7720 # does not break anything, and helps significantly (at the cost of a little
7723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7724 hardcode_libdir_flag_spec='-R$libdir'
7726 hardcode_shlibpath_var=no
7729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7733 hardcode_minus_L=yes
7734 hardcode_shlibpath_var=no
7737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7738 freebsd* | dragonfly*)
7739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7740 hardcode_libdir_flag_spec='-R$libdir'
7742 hardcode_shlibpath_var=no
7746 if test "$GCC" = yes; then
7747 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7749 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
7751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7752 hardcode_libdir_separator=:
7755 # hardcode_minus_L: Not really in the search PATH,
7756 # but as the default location of the library.
7757 hardcode_minus_L=yes
7758 export_dynamic_flag_spec='${wl}-E'
7762 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7767 if test "$with_gnu_ld" = no; then
7768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7769 hardcode_libdir_flag_spec_ld='+b $libdir'
7770 hardcode_libdir_separator=:
7772 hardcode_direct_absolute=yes
7773 export_dynamic_flag_spec='${wl}-E'
7774 # hardcode_minus_L: Not really in the search PATH,
7775 # but as the default location of the library.
7776 hardcode_minus_L=yes
7781 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7787 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7802 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7806 if test "$with_gnu_ld" = no; then
7807 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7808 hardcode_libdir_separator=:
7813 hardcode_shlibpath_var=no
7817 hardcode_direct_absolute=yes
7818 export_dynamic_flag_spec='${wl}-E'
7820 # hardcode_minus_L: Not really in the search PATH,
7821 # but as the default location of the library.
7822 hardcode_minus_L=yes
7828 irix5* | irix6* | nonstopux*)
7829 if test "$GCC" = yes; then
7830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7831 # Try to use the -exported_symbol ld option, if it does not
7832 # work, assume that -exports_file does not work either and
7833 # implicitly export all symbols.
7834 save_LDFLAGS="$LDFLAGS"
7835 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7836 if test x$gcc_no_link = xyes; then
7837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7839 { (exit 1); exit 1; }; }
7841 cat >conftest.$ac_ext <<_ACEOF
7844 rm -f conftest.$ac_objext conftest$ac_exeext
7845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7846 (eval $ac_link) 2>conftest.er1
7848 grep -v '^ *+' conftest.er1 >conftest.err
7850 cat conftest.err >&5
7851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7852 (exit $ac_status); } &&
7853 { ac_try='test -z "$ac_c_werror_flag"
7854 || test ! -s conftest.err'
7855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); }; } &&
7860 { ac_try='test -s conftest$ac_exeext'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
7869 echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.$ac_ext >&5
7873 rm -f conftest.err conftest.$ac_objext \
7874 conftest$ac_exeext conftest.$ac_ext
7875 LDFLAGS="$save_LDFLAGS"
7877 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7878 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
7880 archive_cmds_need_lc='no'
7881 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7882 hardcode_libdir_separator=:
7884 link_all_deplibs=yes
7888 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7889 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7891 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7893 hardcode_libdir_flag_spec='-R$libdir'
7895 hardcode_shlibpath_var=no
7899 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7901 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7902 hardcode_libdir_separator=:
7903 hardcode_shlibpath_var=no
7911 hardcode_shlibpath_var=no
7912 hardcode_direct_absolute=yes
7913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7915 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7916 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7917 export_dynamic_flag_spec='${wl}-E'
7920 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7921 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7922 hardcode_libdir_flag_spec='-R$libdir'
7925 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7926 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7933 hardcode_libdir_flag_spec='-L$libdir'
7934 hardcode_minus_L=yes
7935 allow_undefined_flag=unsupported
7936 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
7937 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7941 if test "$GCC" = yes; then
7942 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7943 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7945 allow_undefined_flag=' -expect_unresolved \*'
7946 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7948 archive_cmds_need_lc='no'
7949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7950 hardcode_libdir_separator=:
7953 osf4* | osf5*) # as osf3* with the addition of -msym flag
7954 if test "$GCC" = yes; then
7955 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7956 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7959 allow_undefined_flag=' -expect_unresolved \*'
7960 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
7961 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
7962 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
7964 # Both c and cxx compiler support -rpath directly
7965 hardcode_libdir_flag_spec='-rpath $libdir'
7967 archive_cmds_need_lc='no'
7968 hardcode_libdir_separator=:
7972 no_undefined_flag=' -z defs'
7973 if test "$GCC" = yes; then
7975 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7976 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7977 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7979 case `$CC -V 2>&1` in
7982 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7983 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7984 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
7988 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
7989 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
7990 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
7994 hardcode_libdir_flag_spec='-R$libdir'
7995 hardcode_shlibpath_var=no
7997 solaris2.[0-5] | solaris2.[0-5].*) ;;
7999 # The compiler driver will combine and reorder linker options,
8000 # but understands `-z linker_flag'. GCC discards it without `$wl',
8001 # but is careful enough not to reorder.
8002 # Supported since Solaris 2.6 (maybe 2.5.1?)
8003 if test "$GCC" = yes; then
8004 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8006 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8010 link_all_deplibs=yes
8014 if test "x$host_vendor" = xsequent; then
8015 # Use $CC to link under sequent, because it throws in some extra .o
8016 # files that make .init and .fini sections work.
8017 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8019 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8021 hardcode_libdir_flag_spec='-L$libdir'
8023 hardcode_minus_L=yes
8024 hardcode_shlibpath_var=no
8028 case $host_vendor in
8030 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8031 hardcode_direct=yes # is this really true???
8034 ## LD is ld it makes a PLAMLIB
8035 ## CC just makes a GrossModule.
8036 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8037 reload_cmds='$CC -r -o $output$reload_objs'
8041 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8042 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8045 runpath_var='LD_RUN_PATH'
8046 hardcode_shlibpath_var=no
8050 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8051 hardcode_shlibpath_var=no
8052 export_dynamic_flag_spec='-Bexport'
8056 if test -d /usr/nec; then
8057 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8058 hardcode_shlibpath_var=no
8059 runpath_var=LD_RUN_PATH
8060 hardcode_runpath_var=yes
8065 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8066 no_undefined_flag='${wl}-z,text'
8067 archive_cmds_need_lc=no
8068 hardcode_shlibpath_var=no
8069 runpath_var='LD_RUN_PATH'
8071 if test "$GCC" = yes; then
8072 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8073 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8075 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8076 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8080 sysv5* | sco3.2v5* | sco5v6*)
8081 # Note: We can NOT use -z defs as we might desire, because we do not
8082 # link with -lc, and that would cause any symbols used from libc to
8083 # always be unresolved, which means just about no library would
8084 # ever link correctly. If we're not using GNU ld we use -z text
8085 # though, which does catch some bad symbols but isn't as heavy-handed
8087 no_undefined_flag='${wl}-z,text'
8088 allow_undefined_flag='${wl}-z,nodefs'
8089 archive_cmds_need_lc=no
8090 hardcode_shlibpath_var=no
8091 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8092 hardcode_libdir_separator=':'
8093 link_all_deplibs=yes
8094 export_dynamic_flag_spec='${wl}-Bexport'
8095 runpath_var='LD_RUN_PATH'
8097 if test "$GCC" = yes; then
8098 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8099 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8101 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8102 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8107 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8108 hardcode_libdir_flag_spec='-L$libdir'
8109 hardcode_shlibpath_var=no
8117 if test x$host_vendor = xsni; then
8119 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8120 export_dynamic_flag_spec='${wl}-Blargedynsym'
8126 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8127 echo "${ECHO_T}$ld_shlibs" >&6
8128 test "$ld_shlibs" = no && can_build_shared=no
8130 with_gnu_ld=$with_gnu_ld
8147 # Do we need to explicitly link libc?
8149 case "x$archive_cmds_need_lc" in
8151 # Assume -lc should be added
8152 archive_cmds_need_lc=yes
8154 if test "$enable_shared" = yes && test "$GCC" = yes; then
8155 case $archive_cmds in
8157 # FIXME: we may have to deal with multi-command sequences.
8160 # Test whether the compiler implicitly links with -lc since on some
8161 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8162 # to ld, don't add -lc before -lgcc.
8163 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8164 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8166 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8169 (eval $ac_compile) 2>&5
8171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8172 (exit $ac_status); } 2>conftest.err; then
8175 libobjs=conftest.$ac_objext
8177 wl=$lt_prog_compiler_wl
8178 pic_flag=$lt_prog_compiler_pic
8184 lt_save_allow_undefined_flag=$allow_undefined_flag
8185 allow_undefined_flag=
8186 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8187 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }
8192 archive_cmds_need_lc=no
8194 archive_cmds_need_lc=yes
8196 allow_undefined_flag=$lt_save_allow_undefined_flag
8198 cat conftest.err 1>&5
8201 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8202 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8365 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8366 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8368 if test "$withGCC" = yes; then
8370 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8371 *) lt_awk_arg="/^libraries:/" ;;
8373 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8374 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8375 # if the path contains ";" then we assume it to be the separator
8376 # otherwise default to the standard path separator (i.e. ":") - it is
8377 # assumed that no part of a normal pathname contains ";" but that should
8378 # okay in the real world where ";" in dirpaths is itself problematic.
8379 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8381 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8383 # Ok, now we have the path, separated by spaces, we can step through it
8384 # and add multilib dir if necessary.
8385 lt_tmp_lt_search_path_spec=
8386 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8387 for lt_sys_path in $lt_search_path_spec; do
8388 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8389 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8391 test -d "$lt_sys_path" && \
8392 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8395 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8396 BEGIN {RS=" "; FS="/|\n";} {
8399 for (lt_i = NF; lt_i > 0; lt_i--) {
8400 if ($lt_i != "" && $lt_i != ".") {
8401 if ($lt_i == "..") {
8404 if (lt_count == 0) {
8405 lt_foo="/" $lt_i lt_foo;
8412 if (lt_foo != "") { lt_freq[lt_foo]++; }
8413 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8415 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8417 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8420 libname_spec='lib$name'
8428 shlibpath_overrides_runpath=unknown
8430 dynamic_linker="$host_os ld.so"
8431 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8432 need_lib_prefix=unknown
8433 hardcode_into_libs=no
8435 # when you set need_version to no, make sure it does not cause -set_version
8436 # flags to be left without arguments
8437 need_version=unknown
8442 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8443 shlibpath_var=LIBPATH
8445 # AIX 3 has no versioning support, so we append a major version to the name.
8446 soname_spec='${libname}${release}${shared_ext}$major'
8453 hardcode_into_libs=yes
8454 if test "$host_cpu" = ia64; then
8455 # AIX 5 supports IA64
8456 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8457 shlibpath_var=LD_LIBRARY_PATH
8459 # With GCC up to 2.95.x, collect2 would create an import file
8460 # for dependence libraries. The import file would start with
8461 # the line `#! .'. This would cause the generated library to
8462 # depend on `.', always an invalid library. This was fixed in
8463 # development snapshots of GCC prior to 3.0.
8465 aix4 | aix4.[01] | aix4.[01].*)
8466 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8468 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8475 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8476 # soname into executable. Probably we can add versioning support to
8477 # collect2, so additional links can be useful in future.
8478 if test "$aix_use_runtimelinking" = yes; then
8479 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8480 # instead of lib<name>.a to let people know that these are not
8481 # typical AIX shared libraries.
8482 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8484 # We preserve .a as extension for shared libraries through AIX4.2
8485 # and later when we are not doing run time linking.
8486 library_names_spec='${libname}${release}.a $libname.a'
8487 soname_spec='${libname}${release}${shared_ext}$major'
8489 shlibpath_var=LIBPATH
8494 if test "$host_cpu" = m68k; then
8495 library_names_spec='$libname.ixlibrary $libname.a'
8496 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8497 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
8504 library_names_spec='${libname}${shared_ext}'
8505 dynamic_linker="$host_os ld.so"
8506 shlibpath_var=LIBRARY_PATH
8512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8513 soname_spec='${libname}${release}${shared_ext}$major'
8514 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8515 shlibpath_var=LD_LIBRARY_PATH
8516 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8517 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8518 # the default ld.so.conf also contains /usr/contrib/lib and
8519 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8520 # libtool to hard-code these into programs
8523 cygwin* | mingw* | pw32*)
8524 version_type=windows
8529 case $withGCC,$host_os in
8530 yes,cygwin* | yes,mingw* | yes,pw32*)
8531 library_names_spec='$libname.dll.a'
8532 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8533 postinstall_cmds='base_file=`basename \${file}`~
8534 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8535 dldir=$destdir/`dirname \$dlpath`~
8536 test -d \$dldir || mkdir -p \$dldir~
8537 $install_prog $dir/$dlname \$dldir/$dlname~
8538 chmod a+x \$dldir/$dlname~
8539 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8540 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8542 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8543 dlpath=$dir/\$dldll~
8545 shlibpath_overrides_runpath=yes
8549 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8550 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8551 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8554 # MinGW DLLs use traditional 'lib' prefix
8555 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8556 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8557 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8558 # It is most probably a Windows format PATH printed by
8559 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8560 # path with ; separators, and with drive letters. We can handle the
8561 # drive letters (cygwin fileutils understands them), so leave them,
8562 # especially as we might pass files found there to a mingw objdump,
8563 # which wouldn't understand a cygwinified path. Ahh.
8564 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8566 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8570 # pw32 DLLs use 'pw' prefix rather than 'lib'
8571 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8577 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8580 dynamic_linker='Win32 ld.exe'
8581 # FIXME: first we should search . and the directory the executable is in
8585 darwin* | rhapsody*)
8586 dynamic_linker="$host_os dyld"
8590 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8591 soname_spec='${libname}${release}${major}$shared_ext'
8592 shlibpath_overrides_runpath=yes
8593 shlibpath_var=DYLD_LIBRARY_PATH
8594 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8596 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8597 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8605 soname_spec='${libname}${release}${shared_ext}$major'
8606 shlibpath_var=LD_LIBRARY_PATH
8613 freebsd* | dragonfly*)
8614 # DragonFly does not have aout. When/if they implement a new
8615 # versioning mechanism, adjust this.
8616 if test -x /usr/bin/objformat; then
8617 objformat=`/usr/bin/objformat`
8620 freebsd[123]*) objformat=aout ;;
8624 version_type=freebsd-$objformat
8625 case $version_type in
8627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8632 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8636 shlibpath_var=LD_LIBRARY_PATH
8639 shlibpath_overrides_runpath=yes
8641 freebsd3.[01]* | freebsdelf3.[01]*)
8642 shlibpath_overrides_runpath=yes
8643 hardcode_into_libs=yes
8645 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8646 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8647 shlibpath_overrides_runpath=no
8648 hardcode_into_libs=yes
8650 *) # from 4.6 on, and DragonFly
8651 shlibpath_overrides_runpath=yes
8652 hardcode_into_libs=yes
8661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8662 soname_spec='${libname}${release}${shared_ext}$major'
8663 shlibpath_var=LD_LIBRARY_PATH
8664 hardcode_into_libs=yes
8667 hpux9* | hpux10* | hpux11*)
8668 # Give a soname corresponding to the major version so that dld.sl refuses to
8669 # link against other versions.
8676 hardcode_into_libs=yes
8677 dynamic_linker="$host_os dld.so"
8678 shlibpath_var=LD_LIBRARY_PATH
8679 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8681 soname_spec='${libname}${release}${shared_ext}$major'
8682 if test "X$HPUX_IA64_MODE" = X32; then
8683 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8685 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8687 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8691 hardcode_into_libs=yes
8692 dynamic_linker="$host_os dld.sl"
8693 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8694 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8696 soname_spec='${libname}${release}${shared_ext}$major'
8697 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8698 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8702 dynamic_linker="$host_os dld.sl"
8703 shlibpath_var=SHLIB_PATH
8704 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8706 soname_spec='${libname}${release}${shared_ext}$major'
8709 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8710 postinstall_cmds='chmod 555 $lib'
8717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8718 soname_spec='${libname}${release}${shared_ext}$major'
8719 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8720 shlibpath_var=LD_LIBRARY_PATH
8721 shlibpath_overrides_runpath=no
8722 hardcode_into_libs=yes
8725 irix5* | irix6* | nonstopux*)
8727 nonstopux*) version_type=nonstopux ;;
8729 if test "$lt_cv_prog_gnu_ld" = yes; then
8737 soname_spec='${libname}${release}${shared_ext}$major'
8738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8740 irix5* | nonstopux*)
8744 case $LD in # libtool.m4 will add one of these switches to LD
8745 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8746 libsuff= shlibsuff= libmagic=32-bit;;
8747 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8748 libsuff=32 shlibsuff=N32 libmagic=N32;;
8749 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8750 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8751 *) libsuff= shlibsuff= libmagic=never-match;;
8755 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8756 shlibpath_overrides_runpath=no
8757 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8758 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8759 hardcode_into_libs=yes
8762 # No shared lib support for Linux oldld, aout, or coff.
8763 linux*oldld* | linux*aout* | linux*coff*)
8767 # This must be Linux ELF.
8768 linux* | k*bsd*-gnu)
8772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8773 soname_spec='${libname}${release}${shared_ext}$major'
8774 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8775 shlibpath_var=LD_LIBRARY_PATH
8776 shlibpath_overrides_runpath=no
8777 # Some binutils ld are patched to set DT_RUNPATH
8778 save_LDFLAGS=$LDFLAGS
8780 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8781 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8782 if test x$gcc_no_link = xyes; then
8783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8785 { (exit 1); exit 1; }; }
8787 cat >conftest.$ac_ext <<_ACEOF
8790 cat confdefs.h >>conftest.$ac_ext
8791 cat >>conftest.$ac_ext <<_ACEOF
8792 /* end confdefs.h. */
8802 rm -f conftest.$ac_objext conftest$ac_exeext
8803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8804 (eval $ac_link) 2>conftest.er1
8806 grep -v '^ *+' conftest.er1 >conftest.err
8808 cat conftest.err >&5
8809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8810 (exit $ac_status); } &&
8811 { ac_try='test -z "$ac_c_werror_flag"
8812 || test ! -s conftest.err'
8813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8817 (exit $ac_status); }; } &&
8818 { ac_try='test -s conftest$ac_exeext'
8819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8823 (exit $ac_status); }; }; then
8824 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8825 shlibpath_overrides_runpath=yes
8829 echo "$as_me: failed program was:" >&5
8830 sed 's/^/| /' conftest.$ac_ext >&5
8833 rm -f conftest.err conftest.$ac_objext \
8834 conftest$ac_exeext conftest.$ac_ext
8835 LDFLAGS=$save_LDFLAGS
8838 # This implies no fast_install, which is unacceptable.
8839 # Some rework will be needed to allow for fast_install
8840 # before this can be enabled.
8841 hardcode_into_libs=yes
8843 # Append ld.so.conf contents to the search path
8844 if test -f /etc/ld.so.conf; then
8845 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
8846 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8849 # We used to test for /lib/ld.so.1 and disable shared libraries on
8850 # powerpc, because MkLinux only supported shared libraries with the
8851 # GNU dynamic linker. Since this was broken with cross compilers,
8852 # most powerpc-linux boxes support dynamic linking these days and
8853 # people can always --disable-shared, the test was removed, and we
8854 # assume the GNU/Linux dynamic linker is in use.
8855 dynamic_linker='GNU/Linux ld.so'
8862 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8865 dynamic_linker='NetBSD (a.out) ld.so'
8867 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8868 soname_spec='${libname}${release}${shared_ext}$major'
8869 dynamic_linker='NetBSD ld.elf_so'
8871 shlibpath_var=LD_LIBRARY_PATH
8872 shlibpath_overrides_runpath=yes
8873 hardcode_into_libs=yes
8878 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8879 shlibpath_var=LD_LIBRARY_PATH
8880 shlibpath_overrides_runpath=yes
8887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8888 soname_spec='${libname}${release}${shared_ext}$major'
8889 shlibpath_var=LD_LIBRARY_PATH
8890 shlibpath_overrides_runpath=no
8891 hardcode_into_libs=yes
8892 dynamic_linker='ldqnx.so'
8897 sys_lib_dlsearch_path_spec="/usr/lib"
8899 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8901 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8902 *) need_version=no ;;
8904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8905 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8906 shlibpath_var=LD_LIBRARY_PATH
8907 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8909 openbsd2.[89] | openbsd2.[89].*)
8910 shlibpath_overrides_runpath=no
8913 shlibpath_overrides_runpath=yes
8917 shlibpath_overrides_runpath=yes
8922 libname_spec='$name'
8925 library_names_spec='$libname${shared_ext} $libname.a'
8926 dynamic_linker='OS/2 ld.exe'
8927 shlibpath_var=LIBPATH
8930 osf3* | osf4* | osf5*)
8934 soname_spec='${libname}${release}${shared_ext}$major'
8935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8936 shlibpath_var=LD_LIBRARY_PATH
8937 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8938 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8950 soname_spec='${libname}${release}${shared_ext}$major'
8951 shlibpath_var=LD_LIBRARY_PATH
8952 shlibpath_overrides_runpath=yes
8953 hardcode_into_libs=yes
8954 # ldd complains unless libraries are executable
8955 postinstall_cmds='chmod +x $lib'
8960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8961 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8962 shlibpath_var=LD_LIBRARY_PATH
8963 shlibpath_overrides_runpath=yes
8964 if test "$with_gnu_ld" = yes; then
8972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8973 soname_spec='${libname}${release}${shared_ext}$major'
8974 shlibpath_var=LD_LIBRARY_PATH
8975 case $host_vendor in
8977 shlibpath_overrides_runpath=no
8979 runpath_var=LD_RUN_PATH
8987 shlibpath_overrides_runpath=no
8988 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8994 if test -d /usr/nec ;then
8996 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8997 soname_spec='$libname${shared_ext}.$major'
8998 shlibpath_var=LD_LIBRARY_PATH
9002 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9003 version_type=freebsd-elf
9006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9007 soname_spec='${libname}${release}${shared_ext}$major'
9008 shlibpath_var=LD_LIBRARY_PATH
9009 shlibpath_overrides_runpath=yes
9010 hardcode_into_libs=yes
9011 if test "$with_gnu_ld" = yes; then
9012 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9014 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9017 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9021 sys_lib_dlsearch_path_spec='/usr/lib'
9025 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9029 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9030 shlibpath_var=LD_LIBRARY_PATH
9031 shlibpath_overrides_runpath=no
9032 hardcode_into_libs=yes
9037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9038 soname_spec='${libname}${release}${shared_ext}$major'
9039 shlibpath_var=LD_LIBRARY_PATH
9046 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9047 echo "${ECHO_T}$dynamic_linker" >&6
9048 test "$dynamic_linker" = no && can_build_shared=no
9050 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9051 if test "$GCC" = yes; then
9052 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9141 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9142 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9144 if test -n "$hardcode_libdir_flag_spec" ||
9145 test -n "$runpath_var" ||
9146 test "X$hardcode_automatic" = "Xyes" ; then
9148 # We can hardcode non-existent directories.
9149 if test "$hardcode_direct" != no &&
9150 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9151 # have to relink, otherwise we might link with an installed library
9152 # when we should be linking with a yet-to-be-installed one
9153 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9154 test "$hardcode_minus_L" != no; then
9155 # Linking always hardcodes the temporary library directory.
9156 hardcode_action=relink
9158 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9159 hardcode_action=immediate
9162 # We cannot hardcode anything, or else we can only hardcode existing
9164 hardcode_action=unsupported
9166 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9167 echo "${ECHO_T}$hardcode_action" >&6
9169 if test "$hardcode_action" = relink ||
9170 test "$inherit_rpath" = yes; then
9171 # Fast installation is not supported
9172 enable_fast_install=no
9173 elif test "$shlibpath_overrides_runpath" = yes ||
9174 test "$enable_shared" = no; then
9175 # Fast installation is not necessary
9176 enable_fast_install=needless
9184 if test "x$enable_dlopen" != xyes; then
9185 enable_dlopen=unknown
9186 enable_dlopen_self=unknown
9187 enable_dlopen_self_static=unknown
9194 lt_cv_dlopen="load_add_on"
9196 lt_cv_dlopen_self=yes
9200 lt_cv_dlopen="LoadLibrary"
9205 lt_cv_dlopen="dlopen"
9210 # if libdl is installed we need to link against it
9211 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9212 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9213 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9214 echo $ECHO_N "(cached) $ECHO_C" >&6
9216 ac_check_lib_save_LIBS=$LIBS
9218 if test x$gcc_no_link = xyes; then
9219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9221 { (exit 1); exit 1; }; }
9223 cat >conftest.$ac_ext <<_ACEOF
9226 cat confdefs.h >>conftest.$ac_ext
9227 cat >>conftest.$ac_ext <<_ACEOF
9228 /* end confdefs.h. */
9230 /* Override any gcc2 internal prototype to avoid an error. */
9234 /* We use char because int might match the return type of a gcc2
9235 builtin and then its argument prototype would still apply. */
9245 rm -f conftest.$ac_objext conftest$ac_exeext
9246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9247 (eval $ac_link) 2>conftest.er1
9249 grep -v '^ *+' conftest.er1 >conftest.err
9251 cat conftest.err >&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } &&
9254 { ac_try='test -z "$ac_c_werror_flag"
9255 || test ! -s conftest.err'
9256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); }; } &&
9261 { ac_try='test -s conftest$ac_exeext'
9262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9266 (exit $ac_status); }; }; then
9267 ac_cv_lib_dl_dlopen=yes
9269 echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.$ac_ext >&5
9272 ac_cv_lib_dl_dlopen=no
9274 rm -f conftest.err conftest.$ac_objext \
9275 conftest$ac_exeext conftest.$ac_ext
9276 LIBS=$ac_check_lib_save_LIBS
9278 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9279 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9280 if test $ac_cv_lib_dl_dlopen = yes; then
9281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9286 lt_cv_dlopen_self=yes
9293 echo "$as_me:$LINENO: checking for shl_load" >&5
9294 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9295 if test "${ac_cv_func_shl_load+set}" = set; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9298 if test x$gcc_no_link = xyes; then
9299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9301 { (exit 1); exit 1; }; }
9303 cat >conftest.$ac_ext <<_ACEOF
9306 cat confdefs.h >>conftest.$ac_ext
9307 cat >>conftest.$ac_ext <<_ACEOF
9308 /* end confdefs.h. */
9309 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9311 #define shl_load innocuous_shl_load
9313 /* System header to define __stub macros and hopefully few prototypes,
9314 which can conflict with char shl_load (); below.
9315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9316 <limits.h> exists even on freestanding compilers. */
9319 # include <limits.h>
9321 # include <assert.h>
9326 /* Override any gcc2 internal prototype to avoid an error. */
9331 /* We use char because int might match the return type of a gcc2
9332 builtin and then its argument prototype would still apply. */
9334 /* The GNU C library defines this for functions which it implements
9335 to always fail with ENOSYS. Some functions are actually named
9336 something starting with __ and the normal name is an alias. */
9337 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9340 char (*f) () = shl_load;
9349 return f != shl_load;
9354 rm -f conftest.$ac_objext conftest$ac_exeext
9355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9356 (eval $ac_link) 2>conftest.er1
9358 grep -v '^ *+' conftest.er1 >conftest.err
9360 cat conftest.err >&5
9361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9362 (exit $ac_status); } &&
9363 { ac_try='test -z "$ac_c_werror_flag"
9364 || test ! -s conftest.err'
9365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9369 (exit $ac_status); }; } &&
9370 { ac_try='test -s conftest$ac_exeext'
9371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9375 (exit $ac_status); }; }; then
9376 ac_cv_func_shl_load=yes
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.$ac_ext >&5
9381 ac_cv_func_shl_load=no
9383 rm -f conftest.err conftest.$ac_objext \
9384 conftest$ac_exeext conftest.$ac_ext
9386 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9387 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9388 if test $ac_cv_func_shl_load = yes; then
9389 lt_cv_dlopen="shl_load"
9391 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9392 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9393 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9394 echo $ECHO_N "(cached) $ECHO_C" >&6
9396 ac_check_lib_save_LIBS=$LIBS
9398 if test x$gcc_no_link = xyes; then
9399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9401 { (exit 1); exit 1; }; }
9403 cat >conftest.$ac_ext <<_ACEOF
9406 cat confdefs.h >>conftest.$ac_ext
9407 cat >>conftest.$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9410 /* Override any gcc2 internal prototype to avoid an error. */
9414 /* We use char because int might match the return type of a gcc2
9415 builtin and then its argument prototype would still apply. */
9425 rm -f conftest.$ac_objext conftest$ac_exeext
9426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9427 (eval $ac_link) 2>conftest.er1
9429 grep -v '^ *+' conftest.er1 >conftest.err
9431 cat conftest.err >&5
9432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9433 (exit $ac_status); } &&
9434 { ac_try='test -z "$ac_c_werror_flag"
9435 || test ! -s conftest.err'
9436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); }; } &&
9441 { ac_try='test -s conftest$ac_exeext'
9442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9446 (exit $ac_status); }; }; then
9447 ac_cv_lib_dld_shl_load=yes
9449 echo "$as_me: failed program was:" >&5
9450 sed 's/^/| /' conftest.$ac_ext >&5
9452 ac_cv_lib_dld_shl_load=no
9454 rm -f conftest.err conftest.$ac_objext \
9455 conftest$ac_exeext conftest.$ac_ext
9456 LIBS=$ac_check_lib_save_LIBS
9458 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9459 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9460 if test $ac_cv_lib_dld_shl_load = yes; then
9461 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9463 echo "$as_me:$LINENO: checking for dlopen" >&5
9464 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9465 if test "${ac_cv_func_dlopen+set}" = set; then
9466 echo $ECHO_N "(cached) $ECHO_C" >&6
9468 if test x$gcc_no_link = xyes; then
9469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9471 { (exit 1); exit 1; }; }
9473 cat >conftest.$ac_ext <<_ACEOF
9476 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9479 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9480 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9481 #define dlopen innocuous_dlopen
9483 /* System header to define __stub macros and hopefully few prototypes,
9484 which can conflict with char dlopen (); below.
9485 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9486 <limits.h> exists even on freestanding compilers. */
9489 # include <limits.h>
9491 # include <assert.h>
9496 /* Override any gcc2 internal prototype to avoid an error. */
9501 /* We use char because int might match the return type of a gcc2
9502 builtin and then its argument prototype would still apply. */
9504 /* The GNU C library defines this for functions which it implements
9505 to always fail with ENOSYS. Some functions are actually named
9506 something starting with __ and the normal name is an alias. */
9507 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9510 char (*f) () = dlopen;
9524 rm -f conftest.$ac_objext conftest$ac_exeext
9525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9526 (eval $ac_link) 2>conftest.er1
9528 grep -v '^ *+' conftest.er1 >conftest.err
9530 cat conftest.err >&5
9531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9532 (exit $ac_status); } &&
9533 { ac_try='test -z "$ac_c_werror_flag"
9534 || test ! -s conftest.err'
9535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9539 (exit $ac_status); }; } &&
9540 { ac_try='test -s conftest$ac_exeext'
9541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); }; }; then
9546 ac_cv_func_dlopen=yes
9548 echo "$as_me: failed program was:" >&5
9549 sed 's/^/| /' conftest.$ac_ext >&5
9551 ac_cv_func_dlopen=no
9553 rm -f conftest.err conftest.$ac_objext \
9554 conftest$ac_exeext conftest.$ac_ext
9556 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9557 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9558 if test $ac_cv_func_dlopen = yes; then
9559 lt_cv_dlopen="dlopen"
9561 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9562 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9563 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 ac_check_lib_save_LIBS=$LIBS
9568 if test x$gcc_no_link = xyes; then
9569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9571 { (exit 1); exit 1; }; }
9573 cat >conftest.$ac_ext <<_ACEOF
9576 cat confdefs.h >>conftest.$ac_ext
9577 cat >>conftest.$ac_ext <<_ACEOF
9578 /* end confdefs.h. */
9580 /* Override any gcc2 internal prototype to avoid an error. */
9584 /* We use char because int might match the return type of a gcc2
9585 builtin and then its argument prototype would still apply. */
9595 rm -f conftest.$ac_objext conftest$ac_exeext
9596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9597 (eval $ac_link) 2>conftest.er1
9599 grep -v '^ *+' conftest.er1 >conftest.err
9601 cat conftest.err >&5
9602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9603 (exit $ac_status); } &&
9604 { ac_try='test -z "$ac_c_werror_flag"
9605 || test ! -s conftest.err'
9606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); }; } &&
9611 { ac_try='test -s conftest$ac_exeext'
9612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9616 (exit $ac_status); }; }; then
9617 ac_cv_lib_dl_dlopen=yes
9619 echo "$as_me: failed program was:" >&5
9620 sed 's/^/| /' conftest.$ac_ext >&5
9622 ac_cv_lib_dl_dlopen=no
9624 rm -f conftest.err conftest.$ac_objext \
9625 conftest$ac_exeext conftest.$ac_ext
9626 LIBS=$ac_check_lib_save_LIBS
9628 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9629 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9630 if test $ac_cv_lib_dl_dlopen = yes; then
9631 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9633 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9634 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9635 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9636 echo $ECHO_N "(cached) $ECHO_C" >&6
9638 ac_check_lib_save_LIBS=$LIBS
9640 if test x$gcc_no_link = xyes; then
9641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9643 { (exit 1); exit 1; }; }
9645 cat >conftest.$ac_ext <<_ACEOF
9648 cat confdefs.h >>conftest.$ac_ext
9649 cat >>conftest.$ac_ext <<_ACEOF
9650 /* end confdefs.h. */
9652 /* Override any gcc2 internal prototype to avoid an error. */
9656 /* We use char because int might match the return type of a gcc2
9657 builtin and then its argument prototype would still apply. */
9667 rm -f conftest.$ac_objext conftest$ac_exeext
9668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9669 (eval $ac_link) 2>conftest.er1
9671 grep -v '^ *+' conftest.er1 >conftest.err
9673 cat conftest.err >&5
9674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9675 (exit $ac_status); } &&
9676 { ac_try='test -z "$ac_c_werror_flag"
9677 || test ! -s conftest.err'
9678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682 (exit $ac_status); }; } &&
9683 { ac_try='test -s conftest$ac_exeext'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; }; then
9689 ac_cv_lib_svld_dlopen=yes
9691 echo "$as_me: failed program was:" >&5
9692 sed 's/^/| /' conftest.$ac_ext >&5
9694 ac_cv_lib_svld_dlopen=no
9696 rm -f conftest.err conftest.$ac_objext \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_lib_save_LIBS
9700 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9701 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9702 if test $ac_cv_lib_svld_dlopen = yes; then
9703 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9705 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9706 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9707 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9708 echo $ECHO_N "(cached) $ECHO_C" >&6
9710 ac_check_lib_save_LIBS=$LIBS
9712 if test x$gcc_no_link = xyes; then
9713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9715 { (exit 1); exit 1; }; }
9717 cat >conftest.$ac_ext <<_ACEOF
9720 cat confdefs.h >>conftest.$ac_ext
9721 cat >>conftest.$ac_ext <<_ACEOF
9722 /* end confdefs.h. */
9724 /* Override any gcc2 internal prototype to avoid an error. */
9728 /* We use char because int might match the return type of a gcc2
9729 builtin and then its argument prototype would still apply. */
9739 rm -f conftest.$ac_objext conftest$ac_exeext
9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9741 (eval $ac_link) 2>conftest.er1
9743 grep -v '^ *+' conftest.er1 >conftest.err
9745 cat conftest.err >&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } &&
9748 { ac_try='test -z "$ac_c_werror_flag"
9749 || test ! -s conftest.err'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; } &&
9755 { ac_try='test -s conftest$ac_exeext'
9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; }; then
9761 ac_cv_lib_dld_dld_link=yes
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9766 ac_cv_lib_dld_dld_link=no
9768 rm -f conftest.err conftest.$ac_objext \
9769 conftest$ac_exeext conftest.$ac_ext
9770 LIBS=$ac_check_lib_save_LIBS
9772 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9773 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9774 if test $ac_cv_lib_dld_dld_link = yes; then
9775 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9796 if test "x$lt_cv_dlopen" != xno; then
9802 case $lt_cv_dlopen in
9804 save_CPPFLAGS="$CPPFLAGS"
9805 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9807 save_LDFLAGS="$LDFLAGS"
9808 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9811 LIBS="$lt_cv_dlopen_libs $LIBS"
9813 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9814 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9815 if test "${lt_cv_dlopen_self+set}" = set; then
9816 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 if test "$cross_compiling" = yes; then :
9819 lt_cv_dlopen_self=cross
9821 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9822 lt_status=$lt_dlunknown
9823 cat > conftest.$ac_ext <<_LT_EOF
9824 #line 9824 "configure"
9825 #include "confdefs.h"
9834 # define LT_DLGLOBAL RTLD_GLOBAL
9837 # define LT_DLGLOBAL DL_GLOBAL
9839 # define LT_DLGLOBAL 0
9843 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9844 find out it does not work in some platform. */
9845 #ifndef LT_DLLAZY_OR_NOW
9847 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9850 # define LT_DLLAZY_OR_NOW DL_LAZY
9853 # define LT_DLLAZY_OR_NOW RTLD_NOW
9856 # define LT_DLLAZY_OR_NOW DL_NOW
9858 # define LT_DLLAZY_OR_NOW 0
9866 extern "C" void exit (int);
9869 void fnord() { int i=42;}
9872 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9873 int status = $lt_dlunknown;
9877 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9878 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9879 /* dlclose (self); */
9887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9888 (eval $ac_link) 2>&5
9890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9891 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9892 (./conftest; exit; ) >&5 2>/dev/null
9895 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9896 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9897 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9900 # compilation failed
9901 lt_cv_dlopen_self=no
9908 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9909 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9911 if test "x$lt_cv_dlopen_self" = xyes; then
9912 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9913 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9914 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9915 if test "${lt_cv_dlopen_self_static+set}" = set; then
9916 echo $ECHO_N "(cached) $ECHO_C" >&6
9918 if test "$cross_compiling" = yes; then :
9919 lt_cv_dlopen_self_static=cross
9921 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9922 lt_status=$lt_dlunknown
9923 cat > conftest.$ac_ext <<_LT_EOF
9924 #line 9924 "configure"
9925 #include "confdefs.h"
9934 # define LT_DLGLOBAL RTLD_GLOBAL
9937 # define LT_DLGLOBAL DL_GLOBAL
9939 # define LT_DLGLOBAL 0
9943 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9944 find out it does not work in some platform. */
9945 #ifndef LT_DLLAZY_OR_NOW
9947 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9950 # define LT_DLLAZY_OR_NOW DL_LAZY
9953 # define LT_DLLAZY_OR_NOW RTLD_NOW
9956 # define LT_DLLAZY_OR_NOW DL_NOW
9958 # define LT_DLLAZY_OR_NOW 0
9966 extern "C" void exit (int);
9969 void fnord() { int i=42;}
9972 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9973 int status = $lt_dlunknown;
9977 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9978 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9979 /* dlclose (self); */
9987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9988 (eval $ac_link) 2>&5
9990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9991 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9992 (./conftest; exit; ) >&5 2>/dev/null
9995 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
9996 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
9997 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10000 # compilation failed
10001 lt_cv_dlopen_self_static=no
10008 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10009 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10012 CPPFLAGS="$save_CPPFLAGS"
10013 LDFLAGS="$save_LDFLAGS"
10018 case $lt_cv_dlopen_self in
10019 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10020 *) enable_dlopen_self=unknown ;;
10023 case $lt_cv_dlopen_self_static in
10024 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10025 *) enable_dlopen_self_static=unknown ;;
10047 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10048 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10049 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10050 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10051 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10052 echo "$as_me:$LINENO: result: yes" >&5
10053 echo "${ECHO_T}yes" >&6
10055 # FIXME - insert some real tests, host_os isn't really good enough
10058 if test -n "$STRIP" ; then
10059 striplib="$STRIP -x"
10060 old_striplib="$STRIP -S"
10061 echo "$as_me:$LINENO: result: yes" >&5
10062 echo "${ECHO_T}yes" >&6
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10069 echo "$as_me:$LINENO: result: no" >&5
10070 echo "${ECHO_T}no" >&6
10086 # Report which library types will actually be built
10087 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10088 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10089 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10090 echo "${ECHO_T}$can_build_shared" >&6
10092 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10093 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10094 test "$can_build_shared" = "no" && enable_shared=no
10096 # On AIX, shared libraries and static libraries use the same namespace, and
10097 # are all built from PIC.
10100 test "$enable_shared" = yes && enable_static=no
10101 if test -n "$RANLIB"; then
10102 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10103 postinstall_cmds='$RANLIB $lib'
10108 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10109 test "$enable_shared" = yes && enable_static=no
10113 echo "$as_me:$LINENO: result: $enable_shared" >&5
10114 echo "${ECHO_T}$enable_shared" >&6
10116 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10117 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10118 # Make sure either enable_shared or enable_static is yes.
10119 test "$enable_shared" = yes || enable_static=yes
10120 echo "$as_me:$LINENO: result: $enable_static" >&5
10121 echo "${ECHO_T}$enable_static" >&6
10128 ac_cpp='$CPP $CPPFLAGS'
10129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10147 ac_config_commands="$ac_config_commands libtool"
10152 # Only expand once:
10157 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10159 # We need gfortran to compile parts of the library
10160 #AC_PROG_FC(gfortran)
10162 ac_ext=${FC_SRCEXT-f}
10163 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10164 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10165 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10166 if test -n "$ac_tool_prefix"; then
10167 for ac_prog in gfortran
10169 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10170 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10171 echo "$as_me:$LINENO: checking for $ac_word" >&5
10172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10173 if test "${ac_cv_prog_FC+set}" = set; then
10174 echo $ECHO_N "(cached) $ECHO_C" >&6
10176 if test -n "$FC"; then
10177 ac_cv_prog_FC="$FC" # Let the user override the test.
10179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10180 for as_dir in $PATH
10183 test -z "$as_dir" && as_dir=.
10184 for ac_exec_ext in '' $ac_executable_extensions; do
10185 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10186 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10196 if test -n "$FC"; then
10197 echo "$as_me:$LINENO: result: $FC" >&5
10198 echo "${ECHO_T}$FC" >&6
10200 echo "$as_me:$LINENO: result: no" >&5
10201 echo "${ECHO_T}no" >&6
10204 test -n "$FC" && break
10207 if test -z "$FC"; then
10209 for ac_prog in gfortran
10211 # Extract the first word of "$ac_prog", so it can be a program name with args.
10212 set dummy $ac_prog; ac_word=$2
10213 echo "$as_me:$LINENO: checking for $ac_word" >&5
10214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10215 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10216 echo $ECHO_N "(cached) $ECHO_C" >&6
10218 if test -n "$ac_ct_FC"; then
10219 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222 for as_dir in $PATH
10225 test -z "$as_dir" && as_dir=.
10226 for ac_exec_ext in '' $ac_executable_extensions; do
10227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228 ac_cv_prog_ac_ct_FC="$ac_prog"
10229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10237 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10238 if test -n "$ac_ct_FC"; then
10239 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10240 echo "${ECHO_T}$ac_ct_FC" >&6
10242 echo "$as_me:$LINENO: result: no" >&5
10243 echo "${ECHO_T}no" >&6
10246 test -n "$ac_ct_FC" && break
10253 # Provide some information about the compiler.
10254 echo "$as_me:10254:" \
10255 "checking for Fortran compiler version" >&5
10256 ac_compiler=`set X $ac_compile; echo $2`
10257 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10258 (eval $ac_compiler --version </dev/null >&5) 2>&5
10260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10261 (exit $ac_status); }
10262 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10263 (eval $ac_compiler -v </dev/null >&5) 2>&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); }
10267 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10268 (eval $ac_compiler -V </dev/null >&5) 2>&5
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }
10274 # If we don't use `.F' as extension, the preprocessor is not run on the
10275 # input file. (Note that this only needs to work for GNU compilers.)
10276 ac_save_ext=$ac_ext
10278 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10279 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10280 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10281 echo $ECHO_N "(cached) $ECHO_C" >&6
10283 cat >conftest.$ac_ext <<_ACEOF
10291 rm -f conftest.$ac_objext
10292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10293 (eval $ac_compile) 2>conftest.er1
10295 grep -v '^ *+' conftest.er1 >conftest.err
10297 cat conftest.err >&5
10298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10299 (exit $ac_status); } &&
10300 { ac_try='test -z "$ac_fc_werror_flag"
10301 || test ! -s conftest.err'
10302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10303 (eval $ac_try) 2>&5
10305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10306 (exit $ac_status); }; } &&
10307 { ac_try='test -s conftest.$ac_objext'
10308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10309 (eval $ac_try) 2>&5
10311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10312 (exit $ac_status); }; }; then
10313 ac_compiler_gnu=yes
10315 echo "$as_me: failed program was:" >&5
10316 sed 's/^/| /' conftest.$ac_ext >&5
10320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10321 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10324 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10325 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10326 ac_ext=$ac_save_ext
10327 ac_test_FFLAGS=${FCFLAGS+set}
10328 ac_save_FFLAGS=$FCFLAGS
10330 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10331 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10332 if test "${ac_cv_prog_fc_g+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10336 cat >conftest.$ac_ext <<_ACEOF
10341 rm -f conftest.$ac_objext
10342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10343 (eval $ac_compile) 2>conftest.er1
10345 grep -v '^ *+' conftest.er1 >conftest.err
10347 cat conftest.err >&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); } &&
10350 { ac_try='test -z "$ac_fc_werror_flag"
10351 || test ! -s conftest.err'
10352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10353 (eval $ac_try) 2>&5
10355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10356 (exit $ac_status); }; } &&
10357 { ac_try='test -s conftest.$ac_objext'
10358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10359 (eval $ac_try) 2>&5
10361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362 (exit $ac_status); }; }; then
10363 ac_cv_prog_fc_g=yes
10365 echo "$as_me: failed program was:" >&5
10366 sed 's/^/| /' conftest.$ac_ext >&5
10370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10373 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10374 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10375 if test "$ac_test_FFLAGS" = set; then
10376 FCFLAGS=$ac_save_FFLAGS
10377 elif test $ac_cv_prog_fc_g = yes; then
10378 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10384 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10392 ac_cpp='$CPP $CPPFLAGS'
10393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10398 ac_ext=${FC_SRCEXT-f}
10399 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10400 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10401 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10402 if test -n "$ac_tool_prefix"; then
10403 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10405 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10407 echo "$as_me:$LINENO: checking for $ac_word" >&5
10408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10409 if test "${ac_cv_prog_FC+set}" = set; then
10410 echo $ECHO_N "(cached) $ECHO_C" >&6
10412 if test -n "$FC"; then
10413 ac_cv_prog_FC="$FC" # Let the user override the test.
10415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10416 for as_dir in $PATH
10419 test -z "$as_dir" && as_dir=.
10420 for ac_exec_ext in '' $ac_executable_extensions; do
10421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10422 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10432 if test -n "$FC"; then
10433 echo "$as_me:$LINENO: result: $FC" >&5
10434 echo "${ECHO_T}$FC" >&6
10436 echo "$as_me:$LINENO: result: no" >&5
10437 echo "${ECHO_T}no" >&6
10440 test -n "$FC" && break
10443 if test -z "$FC"; then
10445 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10447 # Extract the first word of "$ac_prog", so it can be a program name with args.
10448 set dummy $ac_prog; ac_word=$2
10449 echo "$as_me:$LINENO: checking for $ac_word" >&5
10450 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10451 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10452 echo $ECHO_N "(cached) $ECHO_C" >&6
10454 if test -n "$ac_ct_FC"; then
10455 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10458 for as_dir in $PATH
10461 test -z "$as_dir" && as_dir=.
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_ac_ct_FC="$ac_prog"
10465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10473 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10474 if test -n "$ac_ct_FC"; then
10475 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10476 echo "${ECHO_T}$ac_ct_FC" >&6
10478 echo "$as_me:$LINENO: result: no" >&5
10479 echo "${ECHO_T}no" >&6
10482 test -n "$ac_ct_FC" && break
10489 # Provide some information about the compiler.
10490 echo "$as_me:10490:" \
10491 "checking for Fortran compiler version" >&5
10492 ac_compiler=`set X $ac_compile; echo $2`
10493 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10494 (eval $ac_compiler --version </dev/null >&5) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }
10498 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10499 (eval $ac_compiler -v </dev/null >&5) 2>&5
10501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10502 (exit $ac_status); }
10503 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10504 (eval $ac_compiler -V </dev/null >&5) 2>&5
10506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10507 (exit $ac_status); }
10510 # If we don't use `.F' as extension, the preprocessor is not run on the
10511 # input file. (Note that this only needs to work for GNU compilers.)
10512 ac_save_ext=$ac_ext
10514 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10515 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10516 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10517 echo $ECHO_N "(cached) $ECHO_C" >&6
10519 cat >conftest.$ac_ext <<_ACEOF
10527 rm -f conftest.$ac_objext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10529 (eval $ac_compile) 2>conftest.er1
10531 grep -v '^ *+' conftest.er1 >conftest.err
10533 cat conftest.err >&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try='test -z "$ac_fc_werror_flag"
10537 || test ! -s conftest.err'
10538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10539 (eval $ac_try) 2>&5
10541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10542 (exit $ac_status); }; } &&
10543 { ac_try='test -s conftest.$ac_objext'
10544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10545 (eval $ac_try) 2>&5
10547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10548 (exit $ac_status); }; }; then
10549 ac_compiler_gnu=yes
10551 echo "$as_me: failed program was:" >&5
10552 sed 's/^/| /' conftest.$ac_ext >&5
10556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10557 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10560 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10561 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10562 ac_ext=$ac_save_ext
10563 ac_test_FFLAGS=${FCFLAGS+set}
10564 ac_save_FFLAGS=$FCFLAGS
10566 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10567 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10568 if test "${ac_cv_prog_fc_g+set}" = set; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10572 cat >conftest.$ac_ext <<_ACEOF
10577 rm -f conftest.$ac_objext
10578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10579 (eval $ac_compile) 2>conftest.er1
10581 grep -v '^ *+' conftest.er1 >conftest.err
10583 cat conftest.err >&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); } &&
10586 { ac_try='test -z "$ac_fc_werror_flag"
10587 || test ! -s conftest.err'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; } &&
10593 { ac_try='test -s conftest.$ac_objext'
10594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10595 (eval $ac_try) 2>&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); }; }; then
10599 ac_cv_prog_fc_g=yes
10601 echo "$as_me: failed program was:" >&5
10602 sed 's/^/| /' conftest.$ac_ext >&5
10606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10609 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10610 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10611 if test "$ac_test_FFLAGS" = set; then
10612 FCFLAGS=$ac_save_FFLAGS
10613 elif test $ac_cv_prog_fc_g = yes; then
10614 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10620 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10628 ac_cpp='$CPP $CPPFLAGS'
10629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10633 if test -z "$FC" || test "X$FC" = "Xno"; then
10639 ac_ext=${FC_SRCEXT-f}
10640 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10641 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10642 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10645 archive_cmds_need_lc_FC=no
10646 allow_undefined_flag_FC=
10647 always_export_symbols_FC=no
10648 archive_expsym_cmds_FC=
10649 export_dynamic_flag_spec_FC=
10650 hardcode_direct_FC=no
10651 hardcode_direct_absolute_FC=no
10652 hardcode_libdir_flag_spec_FC=
10653 hardcode_libdir_flag_spec_ld_FC=
10654 hardcode_libdir_separator_FC=
10655 hardcode_minus_L_FC=no
10656 hardcode_automatic_FC=no
10657 inherit_rpath_FC=no
10659 module_expsym_cmds_FC=
10660 link_all_deplibs_FC=unknown
10661 old_archive_cmds_FC=$old_archive_cmds
10662 no_undefined_flag_FC=
10663 whole_archive_flag_spec_FC=
10664 enable_shared_with_static_runtimes_FC=no
10666 # Source file extension for fc test sources.
10667 ac_ext=${ac_fc_srcext-f}
10669 # Object file extension for compiled fc test sources.
10673 # No sense in running all these tests if we already determined that
10674 # the FC compiler isn't working. Some variables (like enable_shared)
10675 # are currently assumed to apply to all compilers on this platform,
10676 # and will be corrupted by setting them based on a non-working compiler.
10677 if test "$_lt_disable_FC" != yes; then
10678 # Code to be used in simple compile tests
10679 lt_simple_compile_test_code="\
10685 # Code to be used in simple link tests
10686 lt_simple_link_test_code="\
10691 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10698 # If no C compiler was specified, use CC.
10701 # If no C compiler flags were specified, use CFLAGS.
10702 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10704 # Allow CC to be a program name with arguments.
10708 # save warnings/boilerplate of simple test code
10709 ac_outfile=conftest.$ac_objext
10710 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10711 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10712 _lt_compiler_boilerplate=`cat conftest.err`
10715 ac_outfile=conftest.$ac_objext
10716 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10717 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10718 _lt_linker_boilerplate=`cat conftest.err`
10722 # Allow CC to be a program name with arguments.
10727 for cc_temp in $compiler""; do
10729 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10730 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10735 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10738 if test -n "$compiler"; then
10739 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10740 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10741 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10742 echo "${ECHO_T}$can_build_shared" >&6
10744 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10745 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10746 test "$can_build_shared" = "no" && enable_shared=no
10748 # On AIX, shared libraries and static libraries use the same namespace, and
10749 # are all built from PIC.
10752 test "$enable_shared" = yes && enable_static=no
10753 if test -n "$RANLIB"; then
10754 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10755 postinstall_cmds='$RANLIB $lib'
10759 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10760 test "$enable_shared" = yes && enable_static=no
10764 echo "$as_me:$LINENO: result: $enable_shared" >&5
10765 echo "${ECHO_T}$enable_shared" >&6
10767 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10768 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10769 # Make sure either enable_shared or enable_static is yes.
10770 test "$enable_shared" = yes || enable_static=yes
10771 echo "$as_me:$LINENO: result: $enable_static" >&5
10772 echo "${ECHO_T}$enable_static" >&6
10774 GCC_FC="$ac_cv_fc_compiler_gnu"
10778 ## There is no encapsulation within the following macros, do not change
10779 ## the running order or otherwise move them around unless you know exactly
10780 ## what you are doing...
10781 # Dependencies to place before and after the object being linked:
10783 postdep_objects_FC=
10786 compiler_lib_search_path_FC=
10788 cat > conftest.$ac_ext <<_LT_EOF
10797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10798 (eval $ac_compile) 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; then
10802 # Parse the compiler output and extract the necessary
10803 # objects, libraries and library flags.
10805 # Sentinel used to keep track of whether or not we are before
10806 # the conftest object file.
10807 pre_test_object_deps_done=no
10809 # The `*' in the case matches for architectures that use `case' in
10810 # $output_verbose_cmd can trigger glob expansion during the loop
10811 # eval without this substitution.
10812 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10814 for p in `eval $output_verbose_link_cmd`; do
10818 # Some compilers place space between "-{L,R}" and the path.
10819 # Remove the space.
10820 if test $p = "-L" ||
10821 test $p = "-R"; then
10828 if test "$pre_test_object_deps_done" = no; then
10831 # Internal compiler library paths should come after those
10832 # provided the user. The postdeps already come after the
10833 # user supplied libs so there is no need to process them.
10834 if test -z "$compiler_lib_search_path_FC"; then
10835 compiler_lib_search_path_FC="${prev}${p}"
10837 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10840 # The "-l" case would never come before the object being
10841 # linked, so don't bother handling this case.
10844 if test -z "$postdeps_FC"; then
10845 postdeps_FC="${prev}${p}"
10847 postdeps_FC="${postdeps_FC} ${prev}${p}"
10853 # This assumes that the test object file only shows up
10854 # once in the compiler output.
10855 if test "$p" = "conftest.$objext"; then
10856 pre_test_object_deps_done=yes
10860 if test "$pre_test_object_deps_done" = no; then
10861 if test -z "$predep_objects_FC"; then
10862 predep_objects_FC="$p"
10864 predep_objects_FC="$predep_objects_FC $p"
10867 if test -z "$postdep_objects_FC"; then
10868 postdep_objects_FC="$p"
10870 postdep_objects_FC="$postdep_objects_FC $p"
10875 *) ;; # Ignore the rest.
10883 echo "libtool.m4: error: problem compiling FC test program"
10886 $RM -f confest.$objext
10888 # PORTME: override above test on systems where it is broken
10891 case " $postdeps_FC " in
10892 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10920 lt_prog_compiler_wl_FC=
10921 lt_prog_compiler_pic_FC=
10922 lt_prog_compiler_static_FC=
10924 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10925 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10927 if test "$GCC" = yes; then
10928 lt_prog_compiler_wl_FC='-Wl,'
10929 lt_prog_compiler_static_FC='-static'
10933 # All AIX code is PIC.
10934 if test "$host_cpu" = ia64; then
10935 # AIX 5 now supports IA64 processor
10936 lt_prog_compiler_static_FC='-Bstatic'
10941 if test "$host_cpu" = m68k; then
10942 # FIXME: we need at least 68020 code to build shared libraries, but
10943 # adding the `-m68020' flag to GCC prevents building anything better,
10945 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
10949 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10950 # PIC is the default for these OSes.
10953 mingw* | cygwin* | pw32* | os2*)
10954 # This hack is so that the source file can tell whether it is being
10955 # built for inclusion in a dll (and should export symbols for example).
10956 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10957 # (--disable-auto-import) libraries
10958 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
10961 darwin* | rhapsody*)
10962 # PIC is the default on this platform
10963 # Common symbols not allowed in MH_DYLIB files
10964 lt_prog_compiler_pic_FC='-fno-common'
10968 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10969 # not for PA HP-UX.
10975 lt_prog_compiler_pic_FC='-fPIC'
10981 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10982 # Instead, we relocate shared libraries at runtime.
10986 # Just because we use GCC doesn't mean we suddenly get shared libraries
10987 # on systems that don't support them.
10988 lt_prog_compiler_can_build_shared_FC=no
10993 # QNX uses GNU C++, but need to define -shared option too, otherwise
10994 # it will coredump.
10995 lt_prog_compiler_pic_FC='-fPIC -shared'
10999 if test -d /usr/nec; then
11000 lt_prog_compiler_pic_FC=-Kconform_pic
11005 lt_prog_compiler_pic_FC='-fPIC'
11009 # PORTME Check for flag to pass linker flags through the system compiler.
11012 lt_prog_compiler_wl_FC='-Wl,'
11013 if test "$host_cpu" = ia64; then
11014 # AIX 5 now supports IA64 processor
11015 lt_prog_compiler_static_FC='-Bstatic'
11017 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11021 # PIC is the default on this platform
11022 # Common symbols not allowed in MH_DYLIB files
11023 case $cc_basename in
11025 lt_prog_compiler_pic_FC='-qnocommon'
11026 lt_prog_compiler_wl_FC='-Wl,'
11031 mingw* | cygwin* | pw32* | os2*)
11032 # This hack is so that the source file can tell whether it is being
11033 # built for inclusion in a dll (and should export symbols for example).
11034 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11037 hpux9* | hpux10* | hpux11*)
11038 lt_prog_compiler_wl_FC='-Wl,'
11039 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11040 # not for PA HP-UX.
11046 lt_prog_compiler_pic_FC='+Z'
11049 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11050 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11053 irix5* | irix6* | nonstopux*)
11054 lt_prog_compiler_wl_FC='-Wl,'
11055 # PIC (with -KPIC) is the default.
11056 lt_prog_compiler_static_FC='-non_shared'
11059 linux* | k*bsd*-gnu)
11060 case $cc_basename in
11062 lt_prog_compiler_wl_FC='-Wl,'
11063 lt_prog_compiler_pic_FC='-KPIC'
11064 lt_prog_compiler_static_FC='-static'
11066 pgcc* | pgf77* | pgf90* | pgf95*)
11067 # Portland Group compilers (*not* the Pentium gcc compiler,
11068 # which looks to be a dead project)
11069 lt_prog_compiler_wl_FC='-Wl,'
11070 lt_prog_compiler_pic_FC='-fpic'
11071 lt_prog_compiler_static_FC='-Bstatic'
11074 lt_prog_compiler_wl_FC='-Wl,'
11075 # All Alpha code is PIC.
11076 lt_prog_compiler_static_FC='-non_shared'
11079 case `$CC -V 2>&1 | sed 5q` in
11082 lt_prog_compiler_pic_FC='-KPIC'
11083 lt_prog_compiler_static_FC='-Bstatic'
11084 lt_prog_compiler_wl_FC='-Wl,'
11087 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11088 lt_prog_compiler_pic_FC='-KPIC'
11089 lt_prog_compiler_static_FC='-Bstatic'
11090 lt_prog_compiler_wl_FC=''
11098 lt_prog_compiler_pic_FC='-KPIC'
11099 lt_prog_compiler_static_FC='-Bstatic'
11103 # QNX uses GNU C++, but need to define -shared option too, otherwise
11104 # it will coredump.
11105 lt_prog_compiler_pic_FC='-fPIC -shared'
11108 osf3* | osf4* | osf5*)
11109 lt_prog_compiler_wl_FC='-Wl,'
11110 # All OSF/1 code is PIC.
11111 lt_prog_compiler_static_FC='-non_shared'
11115 lt_prog_compiler_static_FC='-non_shared'
11119 lt_prog_compiler_pic_FC='-KPIC'
11120 lt_prog_compiler_static_FC='-Bstatic'
11121 case $cc_basename in
11122 f77* | f90* | f95*)
11123 lt_prog_compiler_wl_FC='-Qoption ld ';;
11125 lt_prog_compiler_wl_FC='-Wl,';;
11130 lt_prog_compiler_wl_FC='-Qoption ld '
11131 lt_prog_compiler_pic_FC='-PIC'
11132 lt_prog_compiler_static_FC='-Bstatic'
11135 sysv4 | sysv4.2uw2* | sysv4.3*)
11136 lt_prog_compiler_wl_FC='-Wl,'
11137 lt_prog_compiler_pic_FC='-KPIC'
11138 lt_prog_compiler_static_FC='-Bstatic'
11142 if test -d /usr/nec ;then
11143 lt_prog_compiler_pic_FC='-Kconform_pic'
11144 lt_prog_compiler_static_FC='-Bstatic'
11148 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11149 lt_prog_compiler_wl_FC='-Wl,'
11150 lt_prog_compiler_pic_FC='-KPIC'
11151 lt_prog_compiler_static_FC='-Bstatic'
11155 lt_prog_compiler_wl_FC='-Wl,'
11156 lt_prog_compiler_can_build_shared_FC=no
11160 lt_prog_compiler_pic_FC='-pic'
11161 lt_prog_compiler_static_FC='-Bstatic'
11165 lt_prog_compiler_can_build_shared_FC=no
11171 # For platforms which do not support PIC, -DPIC is meaningless:
11173 lt_prog_compiler_pic_FC=
11176 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11179 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11180 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11185 # Check to make sure the PIC flag actually works.
11187 if test -n "$lt_prog_compiler_pic_FC"; then
11188 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11189 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11190 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 lt_prog_compiler_pic_works_FC=no
11194 ac_outfile=conftest.$ac_objext
11195 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11196 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11197 # Insert the option either (1) after the last *FLAGS variable, or
11198 # (2) before a word containing "conftest.", or (3) at the end.
11199 # Note that $ac_compile itself does not contain backslashes and begins
11200 # with a dollar sign (not a hyphen), so the echo should work correctly.
11201 # The option is referenced via a variable to avoid confusing sed.
11202 lt_compile=`echo "$ac_compile" | $SED \
11203 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11204 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11205 -e 's:$: $lt_compiler_flag:'`
11206 (eval echo "\"\$as_me:11206: $lt_compile\"" >&5)
11207 (eval "$lt_compile" 2>conftest.err)
11209 cat conftest.err >&5
11210 echo "$as_me:11210: \$? = $ac_status" >&5
11211 if (exit $ac_status) && test -s "$ac_outfile"; then
11212 # The compiler can only warn and ignore the option if not recognized
11213 # So say no if there are warnings other than the usual output.
11214 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11215 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11216 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11217 lt_prog_compiler_pic_works_FC=yes
11223 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11224 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11226 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11227 case $lt_prog_compiler_pic_FC in
11229 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11232 lt_prog_compiler_pic_FC=
11233 lt_prog_compiler_can_build_shared_FC=no
11241 # Check to make sure the static flag actually works.
11243 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11244 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11245 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11246 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11247 echo $ECHO_N "(cached) $ECHO_C" >&6
11249 lt_prog_compiler_static_works_FC=no
11250 save_LDFLAGS="$LDFLAGS"
11251 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11252 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11253 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11254 # The linker can only warn and ignore the option if not recognized
11255 # So say no if there are warnings
11256 if test -s conftest.err; then
11257 # Append any errors to the config.log.
11258 cat conftest.err 1>&5
11259 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11260 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11261 if diff conftest.exp conftest.er2 >/dev/null; then
11262 lt_prog_compiler_static_works_FC=yes
11265 lt_prog_compiler_static_works_FC=yes
11269 LDFLAGS="$save_LDFLAGS"
11272 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11273 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11275 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11278 lt_prog_compiler_static_FC=
11284 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11285 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11286 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11287 echo $ECHO_N "(cached) $ECHO_C" >&6
11289 lt_cv_prog_compiler_c_o_FC=no
11290 $RM -r conftest 2>/dev/null
11294 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11296 lt_compiler_flag="-o out/conftest2.$ac_objext"
11297 # Insert the option either (1) after the last *FLAGS variable, or
11298 # (2) before a word containing "conftest.", or (3) at the end.
11299 # Note that $ac_compile itself does not contain backslashes and begins
11300 # with a dollar sign (not a hyphen), so the echo should work correctly.
11301 lt_compile=`echo "$ac_compile" | $SED \
11302 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11303 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11304 -e 's:$: $lt_compiler_flag:'`
11305 (eval echo "\"\$as_me:11305: $lt_compile\"" >&5)
11306 (eval "$lt_compile" 2>out/conftest.err)
11308 cat out/conftest.err >&5
11309 echo "$as_me:11309: \$? = $ac_status" >&5
11310 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11312 # The compiler can only warn and ignore the option if not recognized
11313 # So say no if there are warnings
11314 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11315 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11316 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11317 lt_cv_prog_compiler_c_o_FC=yes
11322 # SGI C++ compiler will create directory out/ii_files/ for
11323 # template instantiation
11324 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11325 $RM out/* && rmdir out
11331 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11332 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11336 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11337 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11338 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11339 echo $ECHO_N "(cached) $ECHO_C" >&6
11341 lt_cv_prog_compiler_c_o_FC=no
11342 $RM -r conftest 2>/dev/null
11346 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11348 lt_compiler_flag="-o out/conftest2.$ac_objext"
11349 # Insert the option either (1) after the last *FLAGS variable, or
11350 # (2) before a word containing "conftest.", or (3) at the end.
11351 # Note that $ac_compile itself does not contain backslashes and begins
11352 # with a dollar sign (not a hyphen), so the echo should work correctly.
11353 lt_compile=`echo "$ac_compile" | $SED \
11354 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11355 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11356 -e 's:$: $lt_compiler_flag:'`
11357 (eval echo "\"\$as_me:11357: $lt_compile\"" >&5)
11358 (eval "$lt_compile" 2>out/conftest.err)
11360 cat out/conftest.err >&5
11361 echo "$as_me:11361: \$? = $ac_status" >&5
11362 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11364 # The compiler can only warn and ignore the option if not recognized
11365 # So say no if there are warnings
11366 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11367 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11368 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11369 lt_cv_prog_compiler_c_o_FC=yes
11374 # SGI C++ compiler will create directory out/ii_files/ for
11375 # template instantiation
11376 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11377 $RM out/* && rmdir out
11383 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11384 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11389 hard_links="nottested"
11390 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11391 # do not overwrite the value of need_locks provided by the user
11392 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11393 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11396 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11398 ln conftest.a conftest.b 2>&5 || hard_links=no
11399 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11400 echo "$as_me:$LINENO: result: $hard_links" >&5
11401 echo "${ECHO_T}$hard_links" >&6
11402 if test "$hard_links" = no; then
11403 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11404 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11413 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11414 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11417 allow_undefined_flag_FC=
11418 always_export_symbols_FC=no
11420 archive_expsym_cmds_FC=
11421 compiler_needs_object_FC=no
11422 enable_shared_with_static_runtimes_FC=no
11423 export_dynamic_flag_spec_FC=
11424 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11425 hardcode_automatic_FC=no
11426 hardcode_direct_FC=no
11427 hardcode_direct_absolute_FC=no
11428 hardcode_libdir_flag_spec_FC=
11429 hardcode_libdir_flag_spec_ld_FC=
11430 hardcode_libdir_separator_FC=
11431 hardcode_minus_L_FC=no
11432 hardcode_shlibpath_var_FC=unsupported
11433 inherit_rpath_FC=no
11434 link_all_deplibs_FC=unknown
11436 module_expsym_cmds_FC=
11437 old_archive_from_new_cmds_FC=
11438 old_archive_from_expsyms_cmds_FC=
11439 thread_safe_flag_spec_FC=
11440 whole_archive_flag_spec_FC=
11441 # include_expsyms should be a list of space-separated symbols to be *always*
11442 # included in the symbol list
11443 include_expsyms_FC=
11444 # exclude_expsyms can be an extended regexp of symbols to exclude
11445 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11446 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11447 # as well as any symbol that contains `d'.
11448 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11449 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11450 # platforms (ab)use it in PIC code, but their linkers get confused if
11451 # the symbol is explicitly referenced. Since portable code cannot
11452 # rely on this symbol name, it's probably fine to never include it in
11453 # preloaded symbol tables.
11454 extract_expsyms_cmds=
11457 cygwin* | mingw* | pw32*)
11458 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11459 # When not using gcc, we currently assume that we are using
11460 # Microsoft Visual C++.
11461 if test "$GCC" != yes; then
11466 # we just hope/assume this is gcc and not c89 (= MSVC++)
11475 if test "$with_gnu_ld" = yes; then
11476 # If archive_cmds runs LD, not CC, wlarc should be empty
11479 # Set some defaults for GNU ld with shared library support. These
11480 # are reset later if shared libraries are not supported. Putting them
11481 # here allows them to be overridden if necessary.
11482 runpath_var=LD_RUN_PATH
11483 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11484 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11485 # ancient GNU ld didn't support --whole-archive et. al.
11486 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11487 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11489 whole_archive_flag_spec_FC=
11491 supports_anon_versioning=no
11492 case `$LD -v 2>&1` in
11493 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11494 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11495 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11496 *\ 2.11.*) ;; # other 2.11 versions
11497 *) supports_anon_versioning=yes ;;
11500 # See if GNU ld supports shared libraries.
11502 aix3* | aix4* | aix5*)
11503 # On AIX/PPC, the GNU linker is very broken
11504 if test "$host_cpu" != ia64; then
11508 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11509 *** to be unable to reliably create shared libraries on AIX.
11510 *** Therefore, libtool is disabling shared libraries support. If you
11511 *** really care for shared libraries, you may want to modify your PATH
11512 *** so that a non-GNU linker is found, and then restart.
11519 if test "$host_cpu" = m68k; then
11520 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11521 hardcode_libdir_flag_spec_FC='-L$libdir'
11522 hardcode_minus_L_FC=yes
11525 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11526 # that the semantics of dynamic libraries on AmigaOS, at least up
11527 # to version 4, is to share data among multiple programs linked
11528 # with the same dynamic library. Since this doesn't match the
11529 # behavior of shared libraries on other platforms, we can't use
11535 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11536 allow_undefined_flag_FC=unsupported
11537 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11538 # support --undefined. This deserves some investigation. FIXME
11539 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11545 cygwin* | mingw* | pw32*)
11546 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11547 # as there is no search path for DLLs.
11548 hardcode_libdir_flag_spec_FC='-L$libdir'
11549 allow_undefined_flag_FC=unsupported
11550 always_export_symbols_FC=no
11551 enable_shared_with_static_runtimes_FC=yes
11552 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11554 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11555 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11556 # If the export-symbols file already is a .def file (1st line
11557 # is EXPORTS), use it as is; otherwise, prepend...
11558 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11559 cp $export_symbols $output_objdir/$soname.def;
11561 echo EXPORTS > $output_objdir/$soname.def;
11562 cat $export_symbols >> $output_objdir/$soname.def;
11564 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11571 hardcode_direct_FC=no
11572 hardcode_shlibpath_var_FC=no
11573 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11574 export_dynamic_flag_spec_FC='${wl}-E'
11575 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11576 # Instead, shared libraries are loaded at an image base (0x10000000 by
11577 # default) and relocated if they conflict, which is a slow very memory
11578 # consuming and fragmenting process. To avoid this, we pick a random,
11579 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11580 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11581 archive_cmds_FC='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11582 archive_expsym_cmds_FC='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11585 gnu* | linux* | tpf* | k*bsd*-gnu)
11587 if test "$host_os" = linux-dietlibc; then
11588 case $cc_basename in
11589 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11592 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11593 && test "$tmp_diet" = no
11596 case $cc_basename,$host_cpu in
11597 pgcc*) # Portland Group C compiler
11598 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11599 tmp_addflag=' $pic_flag'
11601 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11602 whole_archive_flag_spec_FC='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11603 tmp_addflag=' $pic_flag -Mnomain' ;;
11604 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11605 tmp_addflag=' -i_dynamic' ;;
11606 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11607 tmp_addflag=' -i_dynamic -nofor_main' ;;
11608 ifc* | ifort*) # Intel Fortran compiler
11609 tmp_addflag=' -nofor_main' ;;
11611 case `$CC -V 2>&1 | sed 5q` in
11612 *Sun\ C*) # Sun C 5.9
11613 whole_archive_flag_spec_FC='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11614 compiler_needs_object_FC=yes
11615 tmp_sharedflag='-G' ;;
11616 *Sun\ F*) # Sun Fortran 8.3
11617 tmp_sharedflag='-G' ;;
11619 tmp_sharedflag='-shared' ;;
11621 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11623 if test "x$supports_anon_versioning" = xyes; then
11624 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11625 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11626 echo "local: *; };" >> $output_objdir/$libname.ver~
11627 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11635 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11636 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11639 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11640 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11645 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11649 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11650 *** create shared libraries on Solaris systems. Therefore, libtool
11651 *** is disabling shared libraries support. We urge you to upgrade GNU
11652 *** binutils to release 2.9.1 or newer. Another option is to modify
11653 *** your PATH or compiler configuration so that the native linker is
11654 *** used, and then restart.
11657 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11658 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11659 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11665 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11666 case `$LD -v 2>&1` in
11667 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11671 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11672 *** reliably create shared libraries on SCO systems. Therefore, libtool
11673 *** is disabling shared libraries support. We urge you to upgrade GNU
11674 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11675 *** your PATH or compiler configuration so that the native linker is
11676 *** used, and then restart.
11681 # For security reasons, it is highly recommended that you always
11682 # use absolute paths for naming shared libraries, and exclude the
11683 # DT_RUNPATH tag from executables and libraries. But doing so
11684 # requires that you compile everything twice, which is a pain.
11685 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11686 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11687 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11688 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11697 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11699 hardcode_direct_FC=yes
11700 hardcode_shlibpath_var_FC=no
11704 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11705 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11706 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11713 if test "$ld_shlibs_FC" = no; then
11715 hardcode_libdir_flag_spec_FC=
11716 export_dynamic_flag_spec_FC=
11717 whole_archive_flag_spec_FC=
11720 # PORTME fill in a description of your system's linker (not GNU ld)
11723 allow_undefined_flag_FC=unsupported
11724 always_export_symbols_FC=yes
11725 archive_expsym_cmds_FC='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
11726 # Note: this linker hardcodes the directories in LIBPATH if there
11727 # are no directories specified by -L.
11728 hardcode_minus_L_FC=yes
11729 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11730 # Neither direct hardcoding nor static linking is supported with a
11732 hardcode_direct_FC=unsupported
11737 if test "$host_cpu" = ia64; then
11738 # On IA64, the linker does run time linking by default, so we don't
11739 # have to do anything special.
11740 aix_use_runtimelinking=no
11741 exp_sym_flag='-Bexport'
11744 # If we're using GNU nm, then we don't want the "-C" option.
11745 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11746 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11747 export_symbols_cmds_FC='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11749 export_symbols_cmds_FC='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11751 aix_use_runtimelinking=no
11753 # Test if we are trying to use run time linking or normal
11754 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11755 # need to do runtime linking.
11756 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
11757 for ld_flag in $LDFLAGS; do
11758 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11759 aix_use_runtimelinking=yes
11766 exp_sym_flag='-bexport'
11767 no_entry_flag='-bnoentry'
11770 # When large executables or shared objects are built, AIX ld can
11771 # have problems creating the table of contents. If linking a library
11772 # or program results in "error TOC overflow" add -mminimal-toc to
11773 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11774 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11777 hardcode_direct_FC=yes
11778 hardcode_direct_absolute_FC=yes
11779 hardcode_libdir_separator_FC=':'
11780 link_all_deplibs_FC=yes
11781 file_list_spec_FC='${wl}-f,'
11783 if test "$GCC" = yes; then
11784 case $host_os in aix4.[012]|aix4.[012].*)
11785 # We only want to do this on AIX 4.2 and lower, the check
11786 # below for broken collect2 doesn't work under 4.3+
11787 collect2name=`${CC} -print-prog-name=collect2`
11788 if test -f "$collect2name" &&
11789 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11791 # We have reworked collect2
11794 # We have old collect2
11795 hardcode_direct_FC=unsupported
11796 # It fails to find uninstalled libraries when the uninstalled
11797 # path is not listed in the libpath. Setting hardcode_minus_L
11798 # to unsupported forces relinking
11799 hardcode_minus_L_FC=yes
11800 hardcode_libdir_flag_spec_FC='-L$libdir'
11801 hardcode_libdir_separator_FC=
11805 shared_flag='-shared'
11806 if test "$aix_use_runtimelinking" = yes; then
11807 shared_flag="$shared_flag "'${wl}-G'
11811 if test "$host_cpu" = ia64; then
11812 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11813 # chokes on -Wl,-G. The following line is correct:
11816 if test "$aix_use_runtimelinking" = yes; then
11817 shared_flag='${wl}-G'
11819 shared_flag='${wl}-bM:SRE'
11824 # It seems that -bexpall does not export symbols beginning with
11825 # underscore (_), so it is better to generate a list of symbols to export.
11826 always_export_symbols_FC=yes
11827 if test "$aix_use_runtimelinking" = yes; then
11828 # Warning - without using the other runtime loading flags (-brtl),
11829 # -berok will link without error, but may produce a broken library.
11830 allow_undefined_flag_FC='-berok'
11831 # Determine the default libpath from the value encoded in an
11832 # empty executable.
11833 if test x$gcc_no_link = xyes; then
11834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11836 { (exit 1); exit 1; }; }
11838 cat >conftest.$ac_ext <<_ACEOF
11843 rm -f conftest.$ac_objext conftest$ac_exeext
11844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11845 (eval $ac_link) 2>conftest.er1
11847 grep -v '^ *+' conftest.er1 >conftest.err
11849 cat conftest.err >&5
11850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11851 (exit $ac_status); } &&
11852 { ac_try='test -z "$ac_fc_werror_flag"
11853 || test ! -s conftest.err'
11854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11855 (eval $ac_try) 2>&5
11857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11858 (exit $ac_status); }; } &&
11859 { ac_try='test -s conftest$ac_exeext'
11860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11861 (eval $ac_try) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); }; }; then
11866 lt_aix_libpath_sed='
11867 /Import File Strings/,/^$/ {
11873 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11874 # Check for a 64-bit object if we didn't find anything.
11875 if test -z "$aix_libpath"; then
11876 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11879 echo "$as_me: failed program was:" >&5
11880 sed 's/^/| /' conftest.$ac_ext >&5
11883 rm -f conftest.err conftest.$ac_objext \
11884 conftest$ac_exeext conftest.$ac_ext
11885 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11887 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11888 archive_expsym_cmds_FC='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11890 if test "$host_cpu" = ia64; then
11891 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11892 allow_undefined_flag_FC="-z nodefs"
11893 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11895 # Determine the default libpath from the value encoded in an
11896 # empty executable.
11897 if test x$gcc_no_link = xyes; then
11898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11900 { (exit 1); exit 1; }; }
11902 cat >conftest.$ac_ext <<_ACEOF
11907 rm -f conftest.$ac_objext conftest$ac_exeext
11908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11909 (eval $ac_link) 2>conftest.er1
11911 grep -v '^ *+' conftest.er1 >conftest.err
11913 cat conftest.err >&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); } &&
11916 { ac_try='test -z "$ac_fc_werror_flag"
11917 || test ! -s conftest.err'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; } &&
11923 { ac_try='test -s conftest$ac_exeext'
11924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11925 (eval $ac_try) 2>&5
11927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11928 (exit $ac_status); }; }; then
11930 lt_aix_libpath_sed='
11931 /Import File Strings/,/^$/ {
11937 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11938 # Check for a 64-bit object if we didn't find anything.
11939 if test -z "$aix_libpath"; then
11940 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11943 echo "$as_me: failed program was:" >&5
11944 sed 's/^/| /' conftest.$ac_ext >&5
11947 rm -f conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11951 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11952 # Warning - without using the other run time loading flags,
11953 # -berok will link without error, but may produce a broken library.
11954 no_undefined_flag_FC=' ${wl}-bernotok'
11955 allow_undefined_flag_FC=' ${wl}-berok'
11956 # Exported symbols can be pulled into shared objects from archives
11957 whole_archive_flag_spec_FC='$convenience'
11958 archive_cmds_need_lc_FC=yes
11959 # This is similar to how AIX traditionally builds its shared libraries.
11960 archive_expsym_cmds_FC="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11966 if test "$host_cpu" = m68k; then
11967 archive_cmds_FC='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
11968 hardcode_libdir_flag_spec_FC='-L$libdir'
11969 hardcode_minus_L_FC=yes
11971 # see comment about different semantics on the GNU ld section
11976 export_dynamic_flag_spec_FC=-rdynamic
11979 cygwin* | mingw* | pw32*)
11980 # When not using gcc, we currently assume that we are using
11981 # Microsoft Visual C++.
11982 # hardcode_libdir_flag_spec is actually meaningless, as there is
11983 # no search path for DLLs.
11984 hardcode_libdir_flag_spec_FC=' '
11985 allow_undefined_flag_FC=unsupported
11986 # Tell ltmain to make .lib files, not .a files.
11988 # Tell ltmain to make .dll files, not .so files.
11990 # FIXME: Setting linknames here is a bad hack.
11991 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
11992 # The linker will automatically build a .lib file if we build a DLL.
11993 old_archive_from_new_cmds_FC='true'
11994 # FIXME: Should let the user specify the lib program.
11995 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
11996 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
11997 enable_shared_with_static_runtimes_FC=yes
12000 darwin* | rhapsody*)
12002 rhapsody* | darwin1.[012])
12003 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12006 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12008 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12011 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12016 archive_cmds_need_lc_FC=no
12017 hardcode_direct_FC=no
12018 hardcode_automatic_FC=yes
12019 hardcode_shlibpath_var_FC=unsupported
12020 whole_archive_flag_spec_FC=''
12021 link_all_deplibs_FC=yes
12022 if test "$GCC" = yes ; then
12023 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12024 echo $ECHO_N "(cached) $ECHO_C" >&6
12026 lt_cv_apple_cc_single_mod=no
12027 if test -z "${LT_MULTI_MODULE}"; then
12028 # By default we will add the -single_module flag. You can override
12029 # by either setting the environment variable LT_MULTI_MODULE
12030 # non-empty at configure time, or by adding -multi-module to the
12032 echo "int foo(void){return 1;}" > conftest.c
12033 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12034 -dynamiclib ${wl}-single_module conftest.c
12035 if test -f libconftest.dylib; then
12036 lt_cv_apple_cc_single_mod=yes
12037 rm libconftest.dylib
12039 rm conftest.$ac_ext
12043 output_verbose_link_cmd=echo
12044 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12045 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12046 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12048 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12049 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12051 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12052 module_expsym_cmds_FC='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12054 case $cc_basename in
12056 output_verbose_link_cmd=echo
12057 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12058 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12059 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12060 archive_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12061 module_expsym_cmds_FC='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
12071 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12072 hardcode_libdir_flag_spec_FC='-L$libdir'
12073 hardcode_shlibpath_var_FC=no
12080 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12081 # support. Future versions do this automatically, but an explicit c++rt0.o
12082 # does not break anything, and helps significantly (at the cost of a little
12085 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12086 hardcode_libdir_flag_spec_FC='-R$libdir'
12087 hardcode_direct_FC=yes
12088 hardcode_shlibpath_var_FC=no
12091 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12093 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12094 hardcode_direct_FC=yes
12095 hardcode_minus_L_FC=yes
12096 hardcode_shlibpath_var_FC=no
12099 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12100 freebsd* | dragonfly*)
12101 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12102 hardcode_libdir_flag_spec_FC='-R$libdir'
12103 hardcode_direct_FC=yes
12104 hardcode_shlibpath_var_FC=no
12108 if test "$GCC" = yes; then
12109 archive_cmds_FC='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12111 archive_cmds_FC='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12113 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12114 hardcode_libdir_separator_FC=:
12115 hardcode_direct_FC=yes
12117 # hardcode_minus_L: Not really in the search PATH,
12118 # but as the default location of the library.
12119 hardcode_minus_L_FC=yes
12120 export_dynamic_flag_spec_FC='${wl}-E'
12124 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12125 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12127 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12129 if test "$with_gnu_ld" = no; then
12130 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12131 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12132 hardcode_libdir_separator_FC=:
12133 hardcode_direct_FC=yes
12134 hardcode_direct_absolute_FC=yes
12135 export_dynamic_flag_spec_FC='${wl}-E'
12136 # hardcode_minus_L: Not really in the search PATH,
12137 # but as the default location of the library.
12138 hardcode_minus_L_FC=yes
12143 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12146 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12149 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12152 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12158 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12161 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12164 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12168 if test "$with_gnu_ld" = no; then
12169 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12170 hardcode_libdir_separator_FC=:
12174 hardcode_direct_FC=no
12175 hardcode_shlibpath_var_FC=no
12178 hardcode_direct_FC=yes
12179 hardcode_direct_absolute_FC=yes
12180 export_dynamic_flag_spec_FC='${wl}-E'
12182 # hardcode_minus_L: Not really in the search PATH,
12183 # but as the default location of the library.
12184 hardcode_minus_L_FC=yes
12190 irix5* | irix6* | nonstopux*)
12191 if test "$GCC" = yes; then
12192 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12193 # Try to use the -exported_symbol ld option, if it does not
12194 # work, assume that -exports_file does not work either and
12195 # implicitly export all symbols.
12196 save_LDFLAGS="$LDFLAGS"
12197 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12198 if test x$gcc_no_link = xyes; then
12199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12201 { (exit 1); exit 1; }; }
12203 cat >conftest.$ac_ext <<_ACEOF
12206 rm -f conftest.$ac_objext conftest$ac_exeext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12208 (eval $ac_link) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1 >conftest.err
12212 cat conftest.err >&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try='test -z "$ac_fc_werror_flag"
12216 || test ! -s conftest.err'
12217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12218 (eval $ac_try) 2>&5
12220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12221 (exit $ac_status); }; } &&
12222 { ac_try='test -s conftest$ac_exeext'
12223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12224 (eval $ac_try) 2>&5
12226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12227 (exit $ac_status); }; }; then
12228 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
12231 echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.$ac_ext >&5
12235 rm -f conftest.err conftest.$ac_objext \
12236 conftest$ac_exeext conftest.$ac_ext
12237 LDFLAGS="$save_LDFLAGS"
12239 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12240 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
12242 archive_cmds_need_lc_FC='no'
12243 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12244 hardcode_libdir_separator_FC=:
12245 inherit_rpath_FC=yes
12246 link_all_deplibs_FC=yes
12250 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12251 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12253 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12255 hardcode_libdir_flag_spec_FC='-R$libdir'
12256 hardcode_direct_FC=yes
12257 hardcode_shlibpath_var_FC=no
12261 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12262 hardcode_direct_FC=yes
12263 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12264 hardcode_libdir_separator_FC=:
12265 hardcode_shlibpath_var_FC=no
12272 hardcode_direct_FC=yes
12273 hardcode_shlibpath_var_FC=no
12274 hardcode_direct_absolute_FC=yes
12275 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12276 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12277 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12278 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12279 export_dynamic_flag_spec_FC='${wl}-E'
12282 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12283 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12284 hardcode_libdir_flag_spec_FC='-R$libdir'
12287 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12288 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12295 hardcode_libdir_flag_spec_FC='-L$libdir'
12296 hardcode_minus_L_FC=yes
12297 allow_undefined_flag_FC=unsupported
12298 archive_cmds_FC='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12299 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12303 if test "$GCC" = yes; then
12304 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12305 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12307 allow_undefined_flag_FC=' -expect_unresolved \*'
12308 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12310 archive_cmds_need_lc_FC='no'
12311 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12312 hardcode_libdir_separator_FC=:
12315 osf4* | osf5*) # as osf3* with the addition of -msym flag
12316 if test "$GCC" = yes; then
12317 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12318 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12319 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12321 allow_undefined_flag_FC=' -expect_unresolved \*'
12322 archive_cmds_FC='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
12323 archive_expsym_cmds_FC='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
12324 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
12326 # Both c and cxx compiler support -rpath directly
12327 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12329 archive_cmds_need_lc_FC='no'
12330 hardcode_libdir_separator_FC=:
12334 no_undefined_flag_FC=' -z defs'
12335 if test "$GCC" = yes; then
12337 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12338 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12339 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12341 case `$CC -V 2>&1` in
12344 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12345 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12346 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12350 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12351 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12352 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12356 hardcode_libdir_flag_spec_FC='-R$libdir'
12357 hardcode_shlibpath_var_FC=no
12359 solaris2.[0-5] | solaris2.[0-5].*) ;;
12361 # The compiler driver will combine and reorder linker options,
12362 # but understands `-z linker_flag'. GCC discards it without `$wl',
12363 # but is careful enough not to reorder.
12364 # Supported since Solaris 2.6 (maybe 2.5.1?)
12365 if test "$GCC" = yes; then
12366 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12368 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12372 link_all_deplibs_FC=yes
12376 if test "x$host_vendor" = xsequent; then
12377 # Use $CC to link under sequent, because it throws in some extra .o
12378 # files that make .init and .fini sections work.
12379 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12381 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12383 hardcode_libdir_flag_spec_FC='-L$libdir'
12384 hardcode_direct_FC=yes
12385 hardcode_minus_L_FC=yes
12386 hardcode_shlibpath_var_FC=no
12390 case $host_vendor in
12392 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12393 hardcode_direct_FC=yes # is this really true???
12396 ## LD is ld it makes a PLAMLIB
12397 ## CC just makes a GrossModule.
12398 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12399 reload_cmds_FC='$CC -r -o $output$reload_objs'
12400 hardcode_direct_FC=no
12403 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12404 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12407 runpath_var='LD_RUN_PATH'
12408 hardcode_shlibpath_var_FC=no
12412 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12413 hardcode_shlibpath_var_FC=no
12414 export_dynamic_flag_spec_FC='-Bexport'
12418 if test -d /usr/nec; then
12419 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12420 hardcode_shlibpath_var_FC=no
12421 runpath_var=LD_RUN_PATH
12422 hardcode_runpath_var=yes
12427 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12428 no_undefined_flag_FC='${wl}-z,text'
12429 archive_cmds_need_lc_FC=no
12430 hardcode_shlibpath_var_FC=no
12431 runpath_var='LD_RUN_PATH'
12433 if test "$GCC" = yes; then
12434 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12435 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12437 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12438 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12442 sysv5* | sco3.2v5* | sco5v6*)
12443 # Note: We can NOT use -z defs as we might desire, because we do not
12444 # link with -lc, and that would cause any symbols used from libc to
12445 # always be unresolved, which means just about no library would
12446 # ever link correctly. If we're not using GNU ld we use -z text
12447 # though, which does catch some bad symbols but isn't as heavy-handed
12449 no_undefined_flag_FC='${wl}-z,text'
12450 allow_undefined_flag_FC='${wl}-z,nodefs'
12451 archive_cmds_need_lc_FC=no
12452 hardcode_shlibpath_var_FC=no
12453 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12454 hardcode_libdir_separator_FC=':'
12455 link_all_deplibs_FC=yes
12456 export_dynamic_flag_spec_FC='${wl}-Bexport'
12457 runpath_var='LD_RUN_PATH'
12459 if test "$GCC" = yes; then
12460 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12461 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12463 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12464 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12469 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12470 hardcode_libdir_flag_spec_FC='-L$libdir'
12471 hardcode_shlibpath_var_FC=no
12479 if test x$host_vendor = xsni; then
12481 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12482 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12488 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12489 echo "${ECHO_T}$ld_shlibs_FC" >&6
12490 test "$ld_shlibs_FC" = no && can_build_shared=no
12492 with_gnu_ld_FC=$with_gnu_ld
12500 # Do we need to explicitly link libc?
12502 case "x$archive_cmds_need_lc_FC" in
12504 # Assume -lc should be added
12505 archive_cmds_need_lc_FC=yes
12507 if test "$enable_shared" = yes && test "$GCC" = yes; then
12508 case $archive_cmds_FC in
12510 # FIXME: we may have to deal with multi-command sequences.
12513 # Test whether the compiler implicitly links with -lc since on some
12514 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12515 # to ld, don't add -lc before -lgcc.
12516 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12517 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12519 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12522 (eval $ac_compile) 2>&5
12524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12525 (exit $ac_status); } 2>conftest.err; then
12528 libobjs=conftest.$ac_objext
12530 wl=$lt_prog_compiler_wl_FC
12531 pic_flag=$lt_prog_compiler_pic_FC
12537 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12538 allow_undefined_flag_FC=
12539 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12540 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }
12545 archive_cmds_need_lc_FC=no
12547 archive_cmds_need_lc_FC=yes
12549 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12551 cat conftest.err 1>&5
12554 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12555 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12625 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12626 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12627 withGCC=$ac_cv_fc_compiler_gnu
12628 library_names_spec=
12629 libname_spec='lib$name'
12633 postuninstall_cmds=
12637 shlibpath_overrides_runpath=unknown
12639 dynamic_linker="$host_os ld.so"
12640 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12641 need_lib_prefix=unknown
12642 hardcode_into_libs=no
12644 # when you set need_version to no, make sure it does not cause -set_version
12645 # flags to be left without arguments
12646 need_version=unknown
12651 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12652 shlibpath_var=LIBPATH
12654 # AIX 3 has no versioning support, so we append a major version to the name.
12655 soname_spec='${libname}${release}${shared_ext}$major'
12662 hardcode_into_libs=yes
12663 if test "$host_cpu" = ia64; then
12664 # AIX 5 supports IA64
12665 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12666 shlibpath_var=LD_LIBRARY_PATH
12668 # With GCC up to 2.95.x, collect2 would create an import file
12669 # for dependence libraries. The import file would start with
12670 # the line `#! .'. This would cause the generated library to
12671 # depend on `.', always an invalid library. This was fixed in
12672 # development snapshots of GCC prior to 3.0.
12674 aix4 | aix4.[01] | aix4.[01].*)
12675 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12677 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12680 can_build_shared=no
12684 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12685 # soname into executable. Probably we can add versioning support to
12686 # collect2, so additional links can be useful in future.
12687 if test "$aix_use_runtimelinking" = yes; then
12688 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12689 # instead of lib<name>.a to let people know that these are not
12690 # typical AIX shared libraries.
12691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12693 # We preserve .a as extension for shared libraries through AIX4.2
12694 # and later when we are not doing run time linking.
12695 library_names_spec='${libname}${release}.a $libname.a'
12696 soname_spec='${libname}${release}${shared_ext}$major'
12698 shlibpath_var=LIBPATH
12703 if test "$host_cpu" = m68k; then
12704 library_names_spec='$libname.ixlibrary $libname.a'
12705 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12706 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
12713 library_names_spec='${libname}${shared_ext}'
12714 dynamic_linker="$host_os ld.so"
12715 shlibpath_var=LIBRARY_PATH
12721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12722 soname_spec='${libname}${release}${shared_ext}$major'
12723 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12724 shlibpath_var=LD_LIBRARY_PATH
12725 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12726 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12727 # the default ld.so.conf also contains /usr/contrib/lib and
12728 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12729 # libtool to hard-code these into programs
12732 cygwin* | mingw* | pw32*)
12733 version_type=windows
12738 case $withGCC,$host_os in
12739 yes,cygwin* | yes,mingw* | yes,pw32*)
12740 library_names_spec='$libname.dll.a'
12741 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12742 postinstall_cmds='base_file=`basename \${file}`~
12743 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12744 dldir=$destdir/`dirname \$dlpath`~
12745 test -d \$dldir || mkdir -p \$dldir~
12746 $install_prog $dir/$dlname \$dldir/$dlname~
12747 chmod a+x \$dldir/$dlname~
12748 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12749 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12751 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12752 dlpath=$dir/\$dldll~
12754 shlibpath_overrides_runpath=yes
12758 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12759 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12760 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12763 # MinGW DLLs use traditional 'lib' prefix
12764 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12765 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12766 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12767 # It is most probably a Windows format PATH printed by
12768 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12769 # path with ; separators, and with drive letters. We can handle the
12770 # drive letters (cygwin fileutils understands them), so leave them,
12771 # especially as we might pass files found there to a mingw objdump,
12772 # which wouldn't understand a cygwinified path. Ahh.
12773 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12775 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12779 # pw32 DLLs use 'pw' prefix rather than 'lib'
12780 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12786 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12789 dynamic_linker='Win32 ld.exe'
12790 # FIXME: first we should search . and the directory the executable is in
12794 darwin* | rhapsody*)
12795 dynamic_linker="$host_os dyld"
12796 version_type=darwin
12799 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12800 soname_spec='${libname}${release}${major}$shared_ext'
12801 shlibpath_overrides_runpath=yes
12802 shlibpath_var=DYLD_LIBRARY_PATH
12803 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12805 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12813 soname_spec='${libname}${release}${shared_ext}$major'
12814 shlibpath_var=LD_LIBRARY_PATH
12821 freebsd* | dragonfly*)
12822 # DragonFly does not have aout. When/if they implement a new
12823 # versioning mechanism, adjust this.
12824 if test -x /usr/bin/objformat; then
12825 objformat=`/usr/bin/objformat`
12828 freebsd[123]*) objformat=aout ;;
12829 *) objformat=elf ;;
12832 version_type=freebsd-$objformat
12833 case $version_type in
12835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12840 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12844 shlibpath_var=LD_LIBRARY_PATH
12847 shlibpath_overrides_runpath=yes
12849 freebsd3.[01]* | freebsdelf3.[01]*)
12850 shlibpath_overrides_runpath=yes
12851 hardcode_into_libs=yes
12853 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12854 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12855 shlibpath_overrides_runpath=no
12856 hardcode_into_libs=yes
12858 *) # from 4.6 on, and DragonFly
12859 shlibpath_overrides_runpath=yes
12860 hardcode_into_libs=yes
12869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12870 soname_spec='${libname}${release}${shared_ext}$major'
12871 shlibpath_var=LD_LIBRARY_PATH
12872 hardcode_into_libs=yes
12875 hpux9* | hpux10* | hpux11*)
12876 # Give a soname corresponding to the major version so that dld.sl refuses to
12877 # link against other versions.
12884 hardcode_into_libs=yes
12885 dynamic_linker="$host_os dld.so"
12886 shlibpath_var=LD_LIBRARY_PATH
12887 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12889 soname_spec='${libname}${release}${shared_ext}$major'
12890 if test "X$HPUX_IA64_MODE" = X32; then
12891 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12893 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12895 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12899 hardcode_into_libs=yes
12900 dynamic_linker="$host_os dld.sl"
12901 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12902 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12904 soname_spec='${libname}${release}${shared_ext}$major'
12905 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12906 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12910 dynamic_linker="$host_os dld.sl"
12911 shlibpath_var=SHLIB_PATH
12912 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12914 soname_spec='${libname}${release}${shared_ext}$major'
12917 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12918 postinstall_cmds='chmod 555 $lib'
12925 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12926 soname_spec='${libname}${release}${shared_ext}$major'
12927 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
12928 shlibpath_var=LD_LIBRARY_PATH
12929 shlibpath_overrides_runpath=no
12930 hardcode_into_libs=yes
12933 irix5* | irix6* | nonstopux*)
12935 nonstopux*) version_type=nonstopux ;;
12937 if test "$lt_cv_prog_gnu_ld" = yes; then
12945 soname_spec='${libname}${release}${shared_ext}$major'
12946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12948 irix5* | nonstopux*)
12949 libsuff= shlibsuff=
12952 case $LD in # libtool.m4 will add one of these switches to LD
12953 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
12954 libsuff= shlibsuff= libmagic=32-bit;;
12955 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
12956 libsuff=32 shlibsuff=N32 libmagic=N32;;
12957 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
12958 libsuff=64 shlibsuff=64 libmagic=64-bit;;
12959 *) libsuff= shlibsuff= libmagic=never-match;;
12963 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
12964 shlibpath_overrides_runpath=no
12965 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12966 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
12967 hardcode_into_libs=yes
12970 # No shared lib support for Linux oldld, aout, or coff.
12971 linux*oldld* | linux*aout* | linux*coff*)
12975 # This must be Linux ELF.
12976 linux* | k*bsd*-gnu)
12980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12981 soname_spec='${libname}${release}${shared_ext}$major'
12982 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12983 shlibpath_var=LD_LIBRARY_PATH
12984 shlibpath_overrides_runpath=no
12985 # Some binutils ld are patched to set DT_RUNPATH
12986 save_LDFLAGS=$LDFLAGS
12987 save_libdir=$libdir
12988 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
12989 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
12990 if test x$gcc_no_link = xyes; then
12991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12993 { (exit 1); exit 1; }; }
12995 cat >conftest.$ac_ext <<_ACEOF
13000 rm -f conftest.$ac_objext conftest$ac_exeext
13001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13002 (eval $ac_link) 2>conftest.er1
13004 grep -v '^ *+' conftest.er1 >conftest.err
13006 cat conftest.err >&5
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); } &&
13009 { ac_try='test -z "$ac_fc_werror_flag"
13010 || test ! -s conftest.err'
13011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13012 (eval $ac_try) 2>&5
13014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13015 (exit $ac_status); }; } &&
13016 { ac_try='test -s conftest$ac_exeext'
13017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13018 (eval $ac_try) 2>&5
13020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13021 (exit $ac_status); }; }; then
13022 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13023 shlibpath_overrides_runpath=yes
13027 echo "$as_me: failed program was:" >&5
13028 sed 's/^/| /' conftest.$ac_ext >&5
13031 rm -f conftest.err conftest.$ac_objext \
13032 conftest$ac_exeext conftest.$ac_ext
13033 LDFLAGS=$save_LDFLAGS
13034 libdir=$save_libdir
13036 # This implies no fast_install, which is unacceptable.
13037 # Some rework will be needed to allow for fast_install
13038 # before this can be enabled.
13039 hardcode_into_libs=yes
13041 # Append ld.so.conf contents to the search path
13042 if test -f /etc/ld.so.conf; then
13043 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13044 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13047 # We used to test for /lib/ld.so.1 and disable shared libraries on
13048 # powerpc, because MkLinux only supported shared libraries with the
13049 # GNU dynamic linker. Since this was broken with cross compilers,
13050 # most powerpc-linux boxes support dynamic linking these days and
13051 # people can always --disable-shared, the test was removed, and we
13052 # assume the GNU/Linux dynamic linker is in use.
13053 dynamic_linker='GNU/Linux ld.so'
13060 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13062 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13063 dynamic_linker='NetBSD (a.out) ld.so'
13065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13066 soname_spec='${libname}${release}${shared_ext}$major'
13067 dynamic_linker='NetBSD ld.elf_so'
13069 shlibpath_var=LD_LIBRARY_PATH
13070 shlibpath_overrides_runpath=yes
13071 hardcode_into_libs=yes
13076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13077 shlibpath_var=LD_LIBRARY_PATH
13078 shlibpath_overrides_runpath=yes
13085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13086 soname_spec='${libname}${release}${shared_ext}$major'
13087 shlibpath_var=LD_LIBRARY_PATH
13088 shlibpath_overrides_runpath=no
13089 hardcode_into_libs=yes
13090 dynamic_linker='ldqnx.so'
13095 sys_lib_dlsearch_path_spec="/usr/lib"
13097 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13099 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13100 *) need_version=no ;;
13102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13103 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13104 shlibpath_var=LD_LIBRARY_PATH
13105 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13107 openbsd2.[89] | openbsd2.[89].*)
13108 shlibpath_overrides_runpath=no
13111 shlibpath_overrides_runpath=yes
13115 shlibpath_overrides_runpath=yes
13120 libname_spec='$name'
13123 library_names_spec='$libname${shared_ext} $libname.a'
13124 dynamic_linker='OS/2 ld.exe'
13125 shlibpath_var=LIBPATH
13128 osf3* | osf4* | osf5*)
13132 soname_spec='${libname}${release}${shared_ext}$major'
13133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13134 shlibpath_var=LD_LIBRARY_PATH
13135 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13136 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13148 soname_spec='${libname}${release}${shared_ext}$major'
13149 shlibpath_var=LD_LIBRARY_PATH
13150 shlibpath_overrides_runpath=yes
13151 hardcode_into_libs=yes
13152 # ldd complains unless libraries are executable
13153 postinstall_cmds='chmod +x $lib'
13158 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13159 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13160 shlibpath_var=LD_LIBRARY_PATH
13161 shlibpath_overrides_runpath=yes
13162 if test "$with_gnu_ld" = yes; then
13170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13171 soname_spec='${libname}${release}${shared_ext}$major'
13172 shlibpath_var=LD_LIBRARY_PATH
13173 case $host_vendor in
13175 shlibpath_overrides_runpath=no
13177 runpath_var=LD_RUN_PATH
13185 shlibpath_overrides_runpath=no
13186 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13192 if test -d /usr/nec ;then
13194 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13195 soname_spec='$libname${shared_ext}.$major'
13196 shlibpath_var=LD_LIBRARY_PATH
13200 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13201 version_type=freebsd-elf
13204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13205 soname_spec='${libname}${release}${shared_ext}$major'
13206 shlibpath_var=LD_LIBRARY_PATH
13207 shlibpath_overrides_runpath=yes
13208 hardcode_into_libs=yes
13209 if test "$with_gnu_ld" = yes; then
13210 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13212 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13215 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13219 sys_lib_dlsearch_path_spec='/usr/lib'
13223 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13227 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13228 shlibpath_var=LD_LIBRARY_PATH
13229 shlibpath_overrides_runpath=no
13230 hardcode_into_libs=yes
13235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13236 soname_spec='${libname}${release}${shared_ext}$major'
13237 shlibpath_var=LD_LIBRARY_PATH
13244 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13245 echo "${ECHO_T}$dynamic_linker" >&6
13246 test "$dynamic_linker" = no && can_build_shared=no
13248 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13249 if test "$GCC" = yes; then
13250 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13288 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13289 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13290 hardcode_action_FC=
13291 if test -n "$hardcode_libdir_flag_spec_FC" ||
13292 test -n "$runpath_var_FC" ||
13293 test "X$hardcode_automatic_FC" = "Xyes" ; then
13295 # We can hardcode non-existent directories.
13296 if test "$hardcode_direct_FC" != no &&
13297 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13298 # have to relink, otherwise we might link with an installed library
13299 # when we should be linking with a yet-to-be-installed one
13300 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13301 test "$hardcode_minus_L_FC" != no; then
13302 # Linking always hardcodes the temporary library directory.
13303 hardcode_action_FC=relink
13305 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13306 hardcode_action_FC=immediate
13309 # We cannot hardcode anything, or else we can only hardcode existing
13311 hardcode_action_FC=unsupported
13313 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13314 echo "${ECHO_T}$hardcode_action_FC" >&6
13316 if test "$hardcode_action_FC" = relink ||
13317 test "$inherit_rpath_FC" = yes; then
13318 # Fast installation is not supported
13319 enable_fast_install=no
13320 elif test "$shlibpath_overrides_runpath" = yes ||
13321 test "$enable_shared" = no; then
13322 # Fast installation is not necessary
13323 enable_fast_install=needless
13332 fi # test -n "$compiler"
13335 fi # test "$_lt_disable_FC" != yes
13338 ac_cpp='$CPP $CPPFLAGS'
13339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13345 # extra LD Flags which are required for targets
13348 # Darwin needs -single_module when linking libgfortran
13349 extra_ldflags_libgfortran=-Wl,-single_module
13354 # We need a working compiler at that point, otherwise give a clear
13355 # error message and bail out.
13357 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13358 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13359 ac_ext=${FC_SRCEXT-f}
13360 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13361 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13362 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13364 cat >conftest.$ac_ext <<_ACEOF
13367 real, parameter :: bar = sin (12.34 / 2.5)
13370 rm -f conftest.$ac_objext
13371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13372 (eval $ac_compile) 2>conftest.er1
13374 grep -v '^ *+' conftest.er1 >conftest.err
13376 cat conftest.err >&5
13377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13378 (exit $ac_status); } &&
13379 { ac_try='test -z "$ac_fc_werror_flag"
13380 || test ! -s conftest.err'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try='test -s conftest.$ac_objext'
13387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13388 (eval $ac_try) 2>&5
13390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13391 (exit $ac_status); }; }; then
13392 echo "$as_me:$LINENO: result: yes" >&5
13393 echo "${ECHO_T}yes" >&6
13395 echo "$as_me: failed program was:" >&5
13396 sed 's/^/| /' conftest.$ac_ext >&5
13398 echo "$as_me:$LINENO: result: no" >&5
13399 echo "${ECHO_T}no" >&6
13400 { { echo "$as_me:$LINENO: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&5
13401 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13402 { (exit 1); exit 1; }; }
13405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13407 ac_cpp='$CPP $CPPFLAGS'
13408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13414 # Check whether --enable-largefile or --disable-largefile was given.
13415 if test "${enable_largefile+set}" = set; then
13416 enableval="$enable_largefile"
13419 if test "$enable_largefile" != no; then
13421 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13422 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13423 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13426 ac_cv_sys_largefile_CC=no
13427 if test "$GCC" != yes; then
13430 # IRIX 6.2 and later do not support large files by default,
13431 # so use the C compiler's -n32 option if that helps.
13432 cat >conftest.$ac_ext <<_ACEOF
13435 cat confdefs.h >>conftest.$ac_ext
13436 cat >>conftest.$ac_ext <<_ACEOF
13437 /* end confdefs.h. */
13438 #include <sys/types.h>
13439 /* Check that off_t can represent 2**63 - 1 correctly.
13440 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13441 since some C++ compilers masquerading as C compilers
13442 incorrectly reject 9223372036854775807. */
13443 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13444 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13445 && LARGE_OFF_T % 2147483647 == 1)
13455 rm -f conftest.$ac_objext
13456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13457 (eval $ac_compile) 2>conftest.er1
13459 grep -v '^ *+' conftest.er1 >conftest.err
13461 cat conftest.err >&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); } &&
13464 { ac_try='test -z "$ac_c_werror_flag"
13465 || test ! -s conftest.err'
13466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13467 (eval $ac_try) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); }; } &&
13471 { ac_try='test -s conftest.$ac_objext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13483 rm -f conftest.err conftest.$ac_objext
13485 rm -f conftest.$ac_objext
13486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13487 (eval $ac_compile) 2>conftest.er1
13489 grep -v '^ *+' conftest.er1 >conftest.err
13491 cat conftest.err >&5
13492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13493 (exit $ac_status); } &&
13494 { ac_try='test -z "$ac_c_werror_flag"
13495 || test ! -s conftest.err'
13496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13497 (eval $ac_try) 2>&5
13499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13500 (exit $ac_status); }; } &&
13501 { ac_try='test -s conftest.$ac_objext'
13502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13503 (eval $ac_try) 2>&5
13505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13506 (exit $ac_status); }; }; then
13507 ac_cv_sys_largefile_CC=' -n32'; break
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13513 rm -f conftest.err conftest.$ac_objext
13517 rm -f conftest.$ac_ext
13520 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13521 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13522 if test "$ac_cv_sys_largefile_CC" != no; then
13523 CC=$CC$ac_cv_sys_largefile_CC
13526 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13527 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13528 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13529 echo $ECHO_N "(cached) $ECHO_C" >&6
13532 ac_cv_sys_file_offset_bits=no
13533 cat >conftest.$ac_ext <<_ACEOF
13536 cat confdefs.h >>conftest.$ac_ext
13537 cat >>conftest.$ac_ext <<_ACEOF
13538 /* end confdefs.h. */
13539 #include <sys/types.h>
13540 /* Check that off_t can represent 2**63 - 1 correctly.
13541 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13542 since some C++ compilers masquerading as C compilers
13543 incorrectly reject 9223372036854775807. */
13544 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13545 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13546 && LARGE_OFF_T % 2147483647 == 1)
13556 rm -f conftest.$ac_objext
13557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13558 (eval $ac_compile) 2>conftest.er1
13560 grep -v '^ *+' conftest.er1 >conftest.err
13562 cat conftest.err >&5
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); } &&
13565 { ac_try='test -z "$ac_c_werror_flag"
13566 || test ! -s conftest.err'
13567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13568 (eval $ac_try) 2>&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); }; } &&
13572 { ac_try='test -s conftest.$ac_objext'
13573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13574 (eval $ac_try) 2>&5
13576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13577 (exit $ac_status); }; }; then
13580 echo "$as_me: failed program was:" >&5
13581 sed 's/^/| /' conftest.$ac_ext >&5
13584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13585 cat >conftest.$ac_ext <<_ACEOF
13588 cat confdefs.h >>conftest.$ac_ext
13589 cat >>conftest.$ac_ext <<_ACEOF
13590 /* end confdefs.h. */
13591 #define _FILE_OFFSET_BITS 64
13592 #include <sys/types.h>
13593 /* Check that off_t can represent 2**63 - 1 correctly.
13594 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13595 since some C++ compilers masquerading as C compilers
13596 incorrectly reject 9223372036854775807. */
13597 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13598 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13599 && LARGE_OFF_T % 2147483647 == 1)
13609 rm -f conftest.$ac_objext
13610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13611 (eval $ac_compile) 2>conftest.er1
13613 grep -v '^ *+' conftest.er1 >conftest.err
13615 cat conftest.err >&5
13616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13617 (exit $ac_status); } &&
13618 { ac_try='test -z "$ac_c_werror_flag"
13619 || test ! -s conftest.err'
13620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13621 (eval $ac_try) 2>&5
13623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13624 (exit $ac_status); }; } &&
13625 { ac_try='test -s conftest.$ac_objext'
13626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13627 (eval $ac_try) 2>&5
13629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13630 (exit $ac_status); }; }; then
13631 ac_cv_sys_file_offset_bits=64; break
13633 echo "$as_me: failed program was:" >&5
13634 sed 's/^/| /' conftest.$ac_ext >&5
13637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13642 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13643 if test "$ac_cv_sys_file_offset_bits" != no; then
13645 cat >>confdefs.h <<_ACEOF
13646 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13651 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13652 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13653 if test "${ac_cv_sys_large_files+set}" = set; then
13654 echo $ECHO_N "(cached) $ECHO_C" >&6
13657 ac_cv_sys_large_files=no
13658 cat >conftest.$ac_ext <<_ACEOF
13661 cat confdefs.h >>conftest.$ac_ext
13662 cat >>conftest.$ac_ext <<_ACEOF
13663 /* end confdefs.h. */
13664 #include <sys/types.h>
13665 /* Check that off_t can represent 2**63 - 1 correctly.
13666 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13667 since some C++ compilers masquerading as C compilers
13668 incorrectly reject 9223372036854775807. */
13669 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13670 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13671 && LARGE_OFF_T % 2147483647 == 1)
13681 rm -f conftest.$ac_objext
13682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13683 (eval $ac_compile) 2>conftest.er1
13685 grep -v '^ *+' conftest.er1 >conftest.err
13687 cat conftest.err >&5
13688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13689 (exit $ac_status); } &&
13690 { ac_try='test -z "$ac_c_werror_flag"
13691 || test ! -s conftest.err'
13692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13693 (eval $ac_try) 2>&5
13695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13696 (exit $ac_status); }; } &&
13697 { ac_try='test -s conftest.$ac_objext'
13698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13699 (eval $ac_try) 2>&5
13701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13702 (exit $ac_status); }; }; then
13705 echo "$as_me: failed program was:" >&5
13706 sed 's/^/| /' conftest.$ac_ext >&5
13709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13710 cat >conftest.$ac_ext <<_ACEOF
13713 cat confdefs.h >>conftest.$ac_ext
13714 cat >>conftest.$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #define _LARGE_FILES 1
13717 #include <sys/types.h>
13718 /* Check that off_t can represent 2**63 - 1 correctly.
13719 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13720 since some C++ compilers masquerading as C compilers
13721 incorrectly reject 9223372036854775807. */
13722 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13723 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13724 && LARGE_OFF_T % 2147483647 == 1)
13734 rm -f conftest.$ac_objext
13735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13736 (eval $ac_compile) 2>conftest.er1
13738 grep -v '^ *+' conftest.er1 >conftest.err
13740 cat conftest.err >&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } &&
13743 { ac_try='test -z "$ac_c_werror_flag"
13744 || test ! -s conftest.err'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; } &&
13750 { ac_try='test -s conftest.$ac_objext'
13751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13752 (eval $ac_try) 2>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); }; }; then
13756 ac_cv_sys_large_files=1; break
13758 echo "$as_me: failed program was:" >&5
13759 sed 's/^/| /' conftest.$ac_ext >&5
13762 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13766 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13767 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13768 if test "$ac_cv_sys_large_files" != no; then
13770 cat >>confdefs.h <<_ACEOF
13771 #define _LARGE_FILES $ac_cv_sys_large_files
13778 echo "$as_me:$LINENO: checking for off_t" >&5
13779 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13780 if test "${ac_cv_type_off_t+set}" = set; then
13781 echo $ECHO_N "(cached) $ECHO_C" >&6
13783 cat >conftest.$ac_ext <<_ACEOF
13786 cat confdefs.h >>conftest.$ac_ext
13787 cat >>conftest.$ac_ext <<_ACEOF
13788 /* end confdefs.h. */
13789 $ac_includes_default
13795 if (sizeof (off_t))
13801 rm -f conftest.$ac_objext
13802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13803 (eval $ac_compile) 2>conftest.er1
13805 grep -v '^ *+' conftest.er1 >conftest.err
13807 cat conftest.err >&5
13808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13809 (exit $ac_status); } &&
13810 { ac_try='test -z "$ac_c_werror_flag"
13811 || test ! -s conftest.err'
13812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13813 (eval $ac_try) 2>&5
13815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13816 (exit $ac_status); }; } &&
13817 { ac_try='test -s conftest.$ac_objext'
13818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13819 (eval $ac_try) 2>&5
13821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13822 (exit $ac_status); }; }; then
13823 ac_cv_type_off_t=yes
13825 echo "$as_me: failed program was:" >&5
13826 sed 's/^/| /' conftest.$ac_ext >&5
13828 ac_cv_type_off_t=no
13830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13832 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13833 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13834 if test $ac_cv_type_off_t = yes; then
13838 cat >>confdefs.h <<_ACEOF
13845 # check header files
13846 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13847 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13848 if test "${ac_cv_header_stdc+set}" = set; then
13849 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 cat >conftest.$ac_ext <<_ACEOF
13854 cat confdefs.h >>conftest.$ac_ext
13855 cat >>conftest.$ac_ext <<_ACEOF
13856 /* end confdefs.h. */
13857 #include <stdlib.h>
13858 #include <stdarg.h>
13859 #include <string.h>
13870 rm -f conftest.$ac_objext
13871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13872 (eval $ac_compile) 2>conftest.er1
13874 grep -v '^ *+' conftest.er1 >conftest.err
13876 cat conftest.err >&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); } &&
13879 { ac_try='test -z "$ac_c_werror_flag"
13880 || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try='test -s conftest.$ac_objext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 ac_cv_header_stdc=yes
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.$ac_ext >&5
13897 ac_cv_header_stdc=no
13899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13901 if test $ac_cv_header_stdc = yes; then
13902 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13903 cat >conftest.$ac_ext <<_ACEOF
13906 cat confdefs.h >>conftest.$ac_ext
13907 cat >>conftest.$ac_ext <<_ACEOF
13908 /* end confdefs.h. */
13909 #include <string.h>
13912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13913 $EGREP "memchr" >/dev/null 2>&1; then
13916 ac_cv_header_stdc=no
13922 if test $ac_cv_header_stdc = yes; then
13923 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13924 cat >conftest.$ac_ext <<_ACEOF
13927 cat confdefs.h >>conftest.$ac_ext
13928 cat >>conftest.$ac_ext <<_ACEOF
13929 /* end confdefs.h. */
13930 #include <stdlib.h>
13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13934 $EGREP "free" >/dev/null 2>&1; then
13937 ac_cv_header_stdc=no
13943 if test $ac_cv_header_stdc = yes; then
13944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13945 if test "$cross_compiling" = yes; then
13948 cat >conftest.$ac_ext <<_ACEOF
13951 cat confdefs.h >>conftest.$ac_ext
13952 cat >>conftest.$ac_ext <<_ACEOF
13953 /* end confdefs.h. */
13955 #if ((' ' & 0x0FF) == 0x020)
13956 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13957 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13959 # define ISLOWER(c) \
13960 (('a' <= (c) && (c) <= 'i') \
13961 || ('j' <= (c) && (c) <= 'r') \
13962 || ('s' <= (c) && (c) <= 'z'))
13963 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
13966 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13971 for (i = 0; i < 256; i++)
13972 if (XOR (islower (i), ISLOWER (i))
13973 || toupper (i) != TOUPPER (i))
13978 rm -f conftest$ac_exeext
13979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13980 (eval $ac_link) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13985 (eval $ac_try) 2>&5
13987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13988 (exit $ac_status); }; }; then
13991 echo "$as_me: program exited with status $ac_status" >&5
13992 echo "$as_me: failed program was:" >&5
13993 sed 's/^/| /' conftest.$ac_ext >&5
13995 ( exit $ac_status )
13996 ac_cv_header_stdc=no
13998 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14002 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14003 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14004 if test $ac_cv_header_stdc = yes; then
14006 cat >>confdefs.h <<\_ACEOF
14007 #define STDC_HEADERS 1
14012 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14013 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14014 if test "${ac_cv_header_time+set}" = set; then
14015 echo $ECHO_N "(cached) $ECHO_C" >&6
14017 cat >conftest.$ac_ext <<_ACEOF
14020 cat confdefs.h >>conftest.$ac_ext
14021 cat >>conftest.$ac_ext <<_ACEOF
14022 /* end confdefs.h. */
14023 #include <sys/types.h>
14024 #include <sys/time.h>
14030 if ((struct tm *) 0)
14036 rm -f conftest.$ac_objext
14037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14038 (eval $ac_compile) 2>conftest.er1
14040 grep -v '^ *+' conftest.er1 >conftest.err
14042 cat conftest.err >&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } &&
14045 { ac_try='test -z "$ac_c_werror_flag"
14046 || test ! -s conftest.err'
14047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14048 (eval $ac_try) 2>&5
14050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14051 (exit $ac_status); }; } &&
14052 { ac_try='test -s conftest.$ac_objext'
14053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14054 (eval $ac_try) 2>&5
14056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14057 (exit $ac_status); }; }; then
14058 ac_cv_header_time=yes
14060 echo "$as_me: failed program was:" >&5
14061 sed 's/^/| /' conftest.$ac_ext >&5
14063 ac_cv_header_time=no
14065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14067 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14068 echo "${ECHO_T}$ac_cv_header_time" >&6
14069 if test $ac_cv_header_time = yes; then
14071 cat >>confdefs.h <<\_ACEOF
14072 #define TIME_WITH_SYS_TIME 1
14083 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14085 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14086 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14087 echo "$as_me:$LINENO: checking for $ac_header" >&5
14088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14089 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14093 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14095 # Is the header compilable?
14096 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14097 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14098 cat >conftest.$ac_ext <<_ACEOF
14101 cat confdefs.h >>conftest.$ac_ext
14102 cat >>conftest.$ac_ext <<_ACEOF
14103 /* end confdefs.h. */
14104 $ac_includes_default
14105 #include <$ac_header>
14107 rm -f conftest.$ac_objext
14108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14109 (eval $ac_compile) 2>conftest.er1
14111 grep -v '^ *+' conftest.er1 >conftest.err
14113 cat conftest.err >&5
14114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14115 (exit $ac_status); } &&
14116 { ac_try='test -z "$ac_c_werror_flag"
14117 || test ! -s conftest.err'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; } &&
14123 { ac_try='test -s conftest.$ac_objext'
14124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14125 (eval $ac_try) 2>&5
14127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14128 (exit $ac_status); }; }; then
14129 ac_header_compiler=yes
14131 echo "$as_me: failed program was:" >&5
14132 sed 's/^/| /' conftest.$ac_ext >&5
14134 ac_header_compiler=no
14136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14137 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14138 echo "${ECHO_T}$ac_header_compiler" >&6
14140 # Is the header present?
14141 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14142 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14143 cat >conftest.$ac_ext <<_ACEOF
14146 cat confdefs.h >>conftest.$ac_ext
14147 cat >>conftest.$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14149 #include <$ac_header>
14151 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14152 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14154 grep -v '^ *+' conftest.er1 >conftest.err
14156 cat conftest.err >&5
14157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14158 (exit $ac_status); } >/dev/null; then
14159 if test -s conftest.err; then
14160 ac_cpp_err=$ac_c_preproc_warn_flag
14161 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14168 if test -z "$ac_cpp_err"; then
14169 ac_header_preproc=yes
14171 echo "$as_me: failed program was:" >&5
14172 sed 's/^/| /' conftest.$ac_ext >&5
14174 ac_header_preproc=no
14176 rm -f conftest.err conftest.$ac_ext
14177 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14178 echo "${ECHO_T}$ac_header_preproc" >&6
14180 # So? What about this header?
14181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14183 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14187 ac_header_preproc=yes
14190 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14192 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14193 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14194 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14196 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14197 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14198 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14200 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14204 ## ------------------------------------------------------ ##
14205 ## Report this to the GNU Fortran Runtime Library lists. ##
14206 ## ------------------------------------------------------ ##
14209 sed "s/^/$as_me: WARNING: /" >&2
14212 echo "$as_me:$LINENO: checking for $ac_header" >&5
14213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14215 echo $ECHO_N "(cached) $ECHO_C" >&6
14217 eval "$as_ac_Header=\$ac_header_preproc"
14219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14220 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14223 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14224 cat >>confdefs.h <<_ACEOF
14225 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14236 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14238 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14240 echo "$as_me:$LINENO: checking for $ac_header" >&5
14241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14243 echo $ECHO_N "(cached) $ECHO_C" >&6
14245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14248 # Is the header compilable?
14249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14251 cat >conftest.$ac_ext <<_ACEOF
14254 cat confdefs.h >>conftest.$ac_ext
14255 cat >>conftest.$ac_ext <<_ACEOF
14256 /* end confdefs.h. */
14257 $ac_includes_default
14258 #include <$ac_header>
14260 rm -f conftest.$ac_objext
14261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14262 (eval $ac_compile) 2>conftest.er1
14264 grep -v '^ *+' conftest.er1 >conftest.err
14266 cat conftest.err >&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); } &&
14269 { ac_try='test -z "$ac_c_werror_flag"
14270 || test ! -s conftest.err'
14271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14272 (eval $ac_try) 2>&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); }; } &&
14276 { ac_try='test -s conftest.$ac_objext'
14277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14278 (eval $ac_try) 2>&5
14280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14281 (exit $ac_status); }; }; then
14282 ac_header_compiler=yes
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14287 ac_header_compiler=no
14289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14291 echo "${ECHO_T}$ac_header_compiler" >&6
14293 # Is the header present?
14294 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14295 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14296 cat >conftest.$ac_ext <<_ACEOF
14299 cat confdefs.h >>conftest.$ac_ext
14300 cat >>conftest.$ac_ext <<_ACEOF
14301 /* end confdefs.h. */
14302 #include <$ac_header>
14304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14307 grep -v '^ *+' conftest.er1 >conftest.err
14309 cat conftest.err >&5
14310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14311 (exit $ac_status); } >/dev/null; then
14312 if test -s conftest.err; then
14313 ac_cpp_err=$ac_c_preproc_warn_flag
14314 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14321 if test -z "$ac_cpp_err"; then
14322 ac_header_preproc=yes
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_header_preproc=no
14329 rm -f conftest.err conftest.$ac_ext
14330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14331 echo "${ECHO_T}$ac_header_preproc" >&6
14333 # So? What about this header?
14334 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14336 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14337 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14338 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14339 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14340 ac_header_preproc=yes
14343 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14344 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14345 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14346 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14347 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14348 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14349 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14350 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14351 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14352 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14353 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14354 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14357 ## ------------------------------------------------------ ##
14358 ## Report this to the GNU Fortran Runtime Library lists. ##
14359 ## ------------------------------------------------------ ##
14362 sed "s/^/$as_me: WARNING: /" >&2
14365 echo "$as_me:$LINENO: checking for $ac_header" >&5
14366 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14367 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14368 echo $ECHO_N "(cached) $ECHO_C" >&6
14370 eval "$as_ac_Header=\$ac_header_preproc"
14372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14373 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14376 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14377 cat >>confdefs.h <<_ACEOF
14378 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14390 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14392 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14394 echo "$as_me:$LINENO: checking for $ac_header" >&5
14395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14397 echo $ECHO_N "(cached) $ECHO_C" >&6
14399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14402 # Is the header compilable?
14403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14405 cat >conftest.$ac_ext <<_ACEOF
14408 cat confdefs.h >>conftest.$ac_ext
14409 cat >>conftest.$ac_ext <<_ACEOF
14410 /* end confdefs.h. */
14411 $ac_includes_default
14412 #include <$ac_header>
14414 rm -f conftest.$ac_objext
14415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14416 (eval $ac_compile) 2>conftest.er1
14418 grep -v '^ *+' conftest.er1 >conftest.err
14420 cat conftest.err >&5
14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } &&
14423 { ac_try='test -z "$ac_c_werror_flag"
14424 || test ! -s conftest.err'
14425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14426 (eval $ac_try) 2>&5
14428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14429 (exit $ac_status); }; } &&
14430 { ac_try='test -s conftest.$ac_objext'
14431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14432 (eval $ac_try) 2>&5
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; }; then
14436 ac_header_compiler=yes
14438 echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14441 ac_header_compiler=no
14443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14445 echo "${ECHO_T}$ac_header_compiler" >&6
14447 # Is the header present?
14448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14450 cat >conftest.$ac_ext <<_ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14456 #include <$ac_header>
14458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14461 grep -v '^ *+' conftest.er1 >conftest.err
14463 cat conftest.err >&5
14464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14465 (exit $ac_status); } >/dev/null; then
14466 if test -s conftest.err; then
14467 ac_cpp_err=$ac_c_preproc_warn_flag
14468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14475 if test -z "$ac_cpp_err"; then
14476 ac_header_preproc=yes
14478 echo "$as_me: failed program was:" >&5
14479 sed 's/^/| /' conftest.$ac_ext >&5
14481 ac_header_preproc=no
14483 rm -f conftest.err conftest.$ac_ext
14484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14485 echo "${ECHO_T}$ac_header_preproc" >&6
14487 # So? What about this header?
14488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14494 ac_header_preproc=yes
14497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14511 ## ------------------------------------------------------ ##
14512 ## Report this to the GNU Fortran Runtime Library lists. ##
14513 ## ------------------------------------------------------ ##
14516 sed "s/^/$as_me: WARNING: /" >&2
14519 echo "$as_me:$LINENO: checking for $ac_header" >&5
14520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14522 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 eval "$as_ac_Header=\$ac_header_preproc"
14526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14531 cat >>confdefs.h <<_ACEOF
14532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14544 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14546 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14548 echo "$as_me:$LINENO: checking for $ac_header" >&5
14549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14551 echo $ECHO_N "(cached) $ECHO_C" >&6
14553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14556 # Is the header compilable?
14557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14559 cat >conftest.$ac_ext <<_ACEOF
14562 cat confdefs.h >>conftest.$ac_ext
14563 cat >>conftest.$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14565 $ac_includes_default
14566 #include <$ac_header>
14568 rm -f conftest.$ac_objext
14569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14570 (eval $ac_compile) 2>conftest.er1
14572 grep -v '^ *+' conftest.er1 >conftest.err
14574 cat conftest.err >&5
14575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14576 (exit $ac_status); } &&
14577 { ac_try='test -z "$ac_c_werror_flag"
14578 || test ! -s conftest.err'
14579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14580 (eval $ac_try) 2>&5
14582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14583 (exit $ac_status); }; } &&
14584 { ac_try='test -s conftest.$ac_objext'
14585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14586 (eval $ac_try) 2>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); }; }; then
14590 ac_header_compiler=yes
14592 echo "$as_me: failed program was:" >&5
14593 sed 's/^/| /' conftest.$ac_ext >&5
14595 ac_header_compiler=no
14597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14598 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14599 echo "${ECHO_T}$ac_header_compiler" >&6
14601 # Is the header present?
14602 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14603 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14604 cat >conftest.$ac_ext <<_ACEOF
14607 cat confdefs.h >>conftest.$ac_ext
14608 cat >>conftest.$ac_ext <<_ACEOF
14609 /* end confdefs.h. */
14610 #include <$ac_header>
14612 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14613 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14615 grep -v '^ *+' conftest.er1 >conftest.err
14617 cat conftest.err >&5
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); } >/dev/null; then
14620 if test -s conftest.err; then
14621 ac_cpp_err=$ac_c_preproc_warn_flag
14622 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14629 if test -z "$ac_cpp_err"; then
14630 ac_header_preproc=yes
14632 echo "$as_me: failed program was:" >&5
14633 sed 's/^/| /' conftest.$ac_ext >&5
14635 ac_header_preproc=no
14637 rm -f conftest.err conftest.$ac_ext
14638 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14639 echo "${ECHO_T}$ac_header_preproc" >&6
14641 # So? What about this header?
14642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14645 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14647 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14648 ac_header_preproc=yes
14651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14652 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14654 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14656 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14658 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14660 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14662 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14665 ## ------------------------------------------------------ ##
14666 ## Report this to the GNU Fortran Runtime Library lists. ##
14667 ## ------------------------------------------------------ ##
14670 sed "s/^/$as_me: WARNING: /" >&2
14673 echo "$as_me:$LINENO: checking for $ac_header" >&5
14674 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14675 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14678 eval "$as_ac_Header=\$ac_header_preproc"
14680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14681 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14685 cat >>confdefs.h <<_ACEOF
14686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14693 if test "${ac_cv_header_complex_h+set}" = set; then
14694 echo "$as_me:$LINENO: checking for complex.h" >&5
14695 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14696 if test "${ac_cv_header_complex_h+set}" = set; then
14697 echo $ECHO_N "(cached) $ECHO_C" >&6
14699 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14700 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14702 # Is the header compilable?
14703 echo "$as_me:$LINENO: checking complex.h usability" >&5
14704 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14705 cat >conftest.$ac_ext <<_ACEOF
14708 cat confdefs.h >>conftest.$ac_ext
14709 cat >>conftest.$ac_ext <<_ACEOF
14710 /* end confdefs.h. */
14711 $ac_includes_default
14712 #include <complex.h>
14714 rm -f conftest.$ac_objext
14715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14716 (eval $ac_compile) 2>conftest.er1
14718 grep -v '^ *+' conftest.er1 >conftest.err
14720 cat conftest.err >&5
14721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14722 (exit $ac_status); } &&
14723 { ac_try='test -z "$ac_c_werror_flag"
14724 || test ! -s conftest.err'
14725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14726 (eval $ac_try) 2>&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); }; } &&
14730 { ac_try='test -s conftest.$ac_objext'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14736 ac_header_compiler=yes
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_header_compiler=no
14743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14744 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14745 echo "${ECHO_T}$ac_header_compiler" >&6
14747 # Is the header present?
14748 echo "$as_me:$LINENO: checking complex.h presence" >&5
14749 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14750 cat >conftest.$ac_ext <<_ACEOF
14753 cat confdefs.h >>conftest.$ac_ext
14754 cat >>conftest.$ac_ext <<_ACEOF
14755 /* end confdefs.h. */
14756 #include <complex.h>
14758 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14759 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14761 grep -v '^ *+' conftest.er1 >conftest.err
14763 cat conftest.err >&5
14764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14765 (exit $ac_status); } >/dev/null; then
14766 if test -s conftest.err; then
14767 ac_cpp_err=$ac_c_preproc_warn_flag
14768 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14775 if test -z "$ac_cpp_err"; then
14776 ac_header_preproc=yes
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.$ac_ext >&5
14781 ac_header_preproc=no
14783 rm -f conftest.err conftest.$ac_ext
14784 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14785 echo "${ECHO_T}$ac_header_preproc" >&6
14787 # So? What about this header?
14788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14790 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14791 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14792 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14793 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14794 ac_header_preproc=yes
14797 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14798 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14799 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14800 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14801 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14802 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14803 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14804 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14805 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14806 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14807 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14808 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14811 ## ------------------------------------------------------ ##
14812 ## Report this to the GNU Fortran Runtime Library lists. ##
14813 ## ------------------------------------------------------ ##
14816 sed "s/^/$as_me: WARNING: /" >&2
14819 echo "$as_me:$LINENO: checking for complex.h" >&5
14820 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14821 if test "${ac_cv_header_complex_h+set}" = set; then
14822 echo $ECHO_N "(cached) $ECHO_C" >&6
14824 ac_cv_header_complex_h=$ac_header_preproc
14826 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14827 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14830 if test $ac_cv_header_complex_h = yes; then
14832 cat >>confdefs.h <<\_ACEOF
14833 #define HAVE_COMPLEX_H 1
14841 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14843 acx_cv_header_stdint=stddef.h
14844 acx_cv_header_stdint_kind="(already complete)"
14845 for i in stdint.h $inttype_headers; do
14846 unset ac_cv_type_uintptr_t
14847 unset ac_cv_type_uintmax_t
14848 unset ac_cv_type_int_least32_t
14849 unset ac_cv_type_int_fast32_t
14850 unset ac_cv_type_uint64_t
14851 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14852 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14853 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14854 if test "${ac_cv_type_uintmax_t+set}" = set; then
14855 echo $ECHO_N "(cached) $ECHO_C" >&6
14857 cat >conftest.$ac_ext <<_ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 #include <sys/types.h>
14869 if ((uintmax_t *) 0)
14871 if (sizeof (uintmax_t))
14877 rm -f conftest.$ac_objext
14878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14879 (eval $ac_compile) 2>conftest.er1
14881 grep -v '^ *+' conftest.er1 >conftest.err
14883 cat conftest.err >&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try='test -z "$ac_c_werror_flag"
14887 || test ! -s conftest.err'
14888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14889 (eval $ac_try) 2>&5
14891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14892 (exit $ac_status); }; } &&
14893 { ac_try='test -s conftest.$ac_objext'
14894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14895 (eval $ac_try) 2>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); }; }; then
14899 ac_cv_type_uintmax_t=yes
14901 echo "$as_me: failed program was:" >&5
14902 sed 's/^/| /' conftest.$ac_ext >&5
14904 ac_cv_type_uintmax_t=no
14906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14908 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14909 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14910 if test $ac_cv_type_uintmax_t = yes; then
14911 acx_cv_header_stdint=$i
14916 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14917 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14918 if test "${ac_cv_type_uintptr_t+set}" = set; then
14919 echo $ECHO_N "(cached) $ECHO_C" >&6
14921 cat >conftest.$ac_ext <<_ACEOF
14924 cat confdefs.h >>conftest.$ac_ext
14925 cat >>conftest.$ac_ext <<_ACEOF
14926 /* end confdefs.h. */
14927 #include <sys/types.h>
14933 if ((uintptr_t *) 0)
14935 if (sizeof (uintptr_t))
14941 rm -f conftest.$ac_objext
14942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14943 (eval $ac_compile) 2>conftest.er1
14945 grep -v '^ *+' conftest.er1 >conftest.err
14947 cat conftest.err >&5
14948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14949 (exit $ac_status); } &&
14950 { ac_try='test -z "$ac_c_werror_flag"
14951 || test ! -s conftest.err'
14952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14953 (eval $ac_try) 2>&5
14955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14956 (exit $ac_status); }; } &&
14957 { ac_try='test -s conftest.$ac_objext'
14958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14959 (eval $ac_try) 2>&5
14961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14962 (exit $ac_status); }; }; then
14963 ac_cv_type_uintptr_t=yes
14965 echo "$as_me: failed program was:" >&5
14966 sed 's/^/| /' conftest.$ac_ext >&5
14968 ac_cv_type_uintptr_t=no
14970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14972 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
14973 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
14974 if test $ac_cv_type_uintptr_t = yes; then
14977 acx_cv_header_stdint_kind="(mostly complete)"
14980 echo "$as_me:$LINENO: checking for int_least32_t" >&5
14981 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
14982 if test "${ac_cv_type_int_least32_t+set}" = set; then
14983 echo $ECHO_N "(cached) $ECHO_C" >&6
14985 cat >conftest.$ac_ext <<_ACEOF
14988 cat confdefs.h >>conftest.$ac_ext
14989 cat >>conftest.$ac_ext <<_ACEOF
14990 /* end confdefs.h. */
14991 #include <sys/types.h>
14997 if ((int_least32_t *) 0)
14999 if (sizeof (int_least32_t))
15005 rm -f conftest.$ac_objext
15006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15007 (eval $ac_compile) 2>conftest.er1
15009 grep -v '^ *+' conftest.er1 >conftest.err
15011 cat conftest.err >&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); } &&
15014 { ac_try='test -z "$ac_c_werror_flag"
15015 || test ! -s conftest.err'
15016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15017 (eval $ac_try) 2>&5
15019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15020 (exit $ac_status); }; } &&
15021 { ac_try='test -s conftest.$ac_objext'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; }; then
15027 ac_cv_type_int_least32_t=yes
15029 echo "$as_me: failed program was:" >&5
15030 sed 's/^/| /' conftest.$ac_ext >&5
15032 ac_cv_type_int_least32_t=no
15034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15036 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15037 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15038 if test $ac_cv_type_int_least32_t = yes; then
15041 acx_cv_header_stdint_kind="(mostly complete)"
15044 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15045 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15046 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 cat >conftest.$ac_ext <<_ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15055 #include <sys/types.h>
15061 if ((int_fast32_t *) 0)
15063 if (sizeof (int_fast32_t))
15069 rm -f conftest.$ac_objext
15070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15071 (eval $ac_compile) 2>conftest.er1
15073 grep -v '^ *+' conftest.er1 >conftest.err
15075 cat conftest.err >&5
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); } &&
15078 { ac_try='test -z "$ac_c_werror_flag"
15079 || test ! -s conftest.err'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; } &&
15085 { ac_try='test -s conftest.$ac_objext'
15086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15087 (eval $ac_try) 2>&5
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }; }; then
15091 ac_cv_type_int_fast32_t=yes
15093 echo "$as_me: failed program was:" >&5
15094 sed 's/^/| /' conftest.$ac_ext >&5
15096 ac_cv_type_int_fast32_t=no
15098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15100 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15101 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15102 if test $ac_cv_type_int_fast32_t = yes; then
15105 acx_cv_header_stdint_kind="(mostly complete)"
15108 echo "$as_me:$LINENO: checking for uint64_t" >&5
15109 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15110 if test "${ac_cv_type_uint64_t+set}" = set; then
15111 echo $ECHO_N "(cached) $ECHO_C" >&6
15113 cat >conftest.$ac_ext <<_ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h. */
15119 #include <sys/types.h>
15125 if ((uint64_t *) 0)
15127 if (sizeof (uint64_t))
15133 rm -f conftest.$ac_objext
15134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15135 (eval $ac_compile) 2>conftest.er1
15137 grep -v '^ *+' conftest.er1 >conftest.err
15139 cat conftest.err >&5
15140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15141 (exit $ac_status); } &&
15142 { ac_try='test -z "$ac_c_werror_flag"
15143 || test ! -s conftest.err'
15144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15145 (eval $ac_try) 2>&5
15147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15148 (exit $ac_status); }; } &&
15149 { ac_try='test -s conftest.$ac_objext'
15150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15151 (eval $ac_try) 2>&5
15153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15154 (exit $ac_status); }; }; then
15155 ac_cv_type_uint64_t=yes
15157 echo "$as_me: failed program was:" >&5
15158 sed 's/^/| /' conftest.$ac_ext >&5
15160 ac_cv_type_uint64_t=no
15162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15164 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15165 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15166 if test $ac_cv_type_uint64_t = yes; then
15169 acx_cv_header_stdint_kind="(lacks uint64_t)"
15174 if test "$acx_cv_header_stdint" = stddef.h; then
15175 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15176 for i in stdint.h $inttype_headers; do
15177 unset ac_cv_type_uintptr_t
15178 unset ac_cv_type_uint32_t
15179 unset ac_cv_type_uint64_t
15180 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15181 echo "$as_me:$LINENO: checking for uint32_t" >&5
15182 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15183 if test "${ac_cv_type_uint32_t+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 cat >conftest.$ac_ext <<_ACEOF
15189 cat confdefs.h >>conftest.$ac_ext
15190 cat >>conftest.$ac_ext <<_ACEOF
15191 /* end confdefs.h. */
15192 #include <sys/types.h>
15198 if ((uint32_t *) 0)
15200 if (sizeof (uint32_t))
15206 rm -f conftest.$ac_objext
15207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15208 (eval $ac_compile) 2>conftest.er1
15210 grep -v '^ *+' conftest.er1 >conftest.err
15212 cat conftest.err >&5
15213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15214 (exit $ac_status); } &&
15215 { ac_try='test -z "$ac_c_werror_flag"
15216 || test ! -s conftest.err'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; } &&
15222 { ac_try='test -s conftest.$ac_objext'
15223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15224 (eval $ac_try) 2>&5
15226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15227 (exit $ac_status); }; }; then
15228 ac_cv_type_uint32_t=yes
15230 echo "$as_me: failed program was:" >&5
15231 sed 's/^/| /' conftest.$ac_ext >&5
15233 ac_cv_type_uint32_t=no
15235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15237 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15238 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15239 if test $ac_cv_type_uint32_t = yes; then
15240 acx_cv_header_stdint=$i
15245 echo "$as_me:$LINENO: checking for uint64_t" >&5
15246 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15247 if test "${ac_cv_type_uint64_t+set}" = set; then
15248 echo $ECHO_N "(cached) $ECHO_C" >&6
15250 cat >conftest.$ac_ext <<_ACEOF
15253 cat confdefs.h >>conftest.$ac_ext
15254 cat >>conftest.$ac_ext <<_ACEOF
15255 /* end confdefs.h. */
15256 #include <sys/types.h>
15262 if ((uint64_t *) 0)
15264 if (sizeof (uint64_t))
15270 rm -f conftest.$ac_objext
15271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15272 (eval $ac_compile) 2>conftest.er1
15274 grep -v '^ *+' conftest.er1 >conftest.err
15276 cat conftest.err >&5
15277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15278 (exit $ac_status); } &&
15279 { ac_try='test -z "$ac_c_werror_flag"
15280 || test ! -s conftest.err'
15281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15282 (eval $ac_try) 2>&5
15284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15285 (exit $ac_status); }; } &&
15286 { ac_try='test -s conftest.$ac_objext'
15287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15288 (eval $ac_try) 2>&5
15290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15291 (exit $ac_status); }; }; then
15292 ac_cv_type_uint64_t=yes
15294 echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15297 ac_cv_type_uint64_t=no
15299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15301 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15302 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15304 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15305 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15306 if test "${ac_cv_type_uintptr_t+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 cat >conftest.$ac_ext <<_ACEOF
15312 cat confdefs.h >>conftest.$ac_ext
15313 cat >>conftest.$ac_ext <<_ACEOF
15314 /* end confdefs.h. */
15315 #include <sys/types.h>
15321 if ((uintptr_t *) 0)
15323 if (sizeof (uintptr_t))
15329 rm -f conftest.$ac_objext
15330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15331 (eval $ac_compile) 2>conftest.er1
15333 grep -v '^ *+' conftest.er1 >conftest.err
15335 cat conftest.err >&5
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); } &&
15338 { ac_try='test -z "$ac_c_werror_flag"
15339 || test ! -s conftest.err'
15340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15341 (eval $ac_try) 2>&5
15343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15344 (exit $ac_status); }; } &&
15345 { ac_try='test -s conftest.$ac_objext'
15346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15347 (eval $ac_try) 2>&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15351 ac_cv_type_uintptr_t=yes
15353 echo "$as_me: failed program was:" >&5
15354 sed 's/^/| /' conftest.$ac_ext >&5
15356 ac_cv_type_uintptr_t=no
15358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15360 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15361 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15366 if test "$acx_cv_header_stdint" = stddef.h; then
15367 acx_cv_header_stdint_kind="(u_intXX_t style)"
15368 for i in sys/types.h $inttype_headers; do
15369 unset ac_cv_type_u_int32_t
15370 unset ac_cv_type_u_int64_t
15371 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15372 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15373 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15374 if test "${ac_cv_type_u_int32_t+set}" = set; then
15375 echo $ECHO_N "(cached) $ECHO_C" >&6
15377 cat >conftest.$ac_ext <<_ACEOF
15380 cat confdefs.h >>conftest.$ac_ext
15381 cat >>conftest.$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15383 #include <sys/types.h>
15389 if ((u_int32_t *) 0)
15391 if (sizeof (u_int32_t))
15397 rm -f conftest.$ac_objext
15398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15399 (eval $ac_compile) 2>conftest.er1
15401 grep -v '^ *+' conftest.er1 >conftest.err
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag"
15407 || test ! -s conftest.err'
15408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15409 (eval $ac_try) 2>&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); }; } &&
15413 { ac_try='test -s conftest.$ac_objext'
15414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15415 (eval $ac_try) 2>&5
15417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15418 (exit $ac_status); }; }; then
15419 ac_cv_type_u_int32_t=yes
15421 echo "$as_me: failed program was:" >&5
15422 sed 's/^/| /' conftest.$ac_ext >&5
15424 ac_cv_type_u_int32_t=no
15426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15428 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15429 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15430 if test $ac_cv_type_u_int32_t = yes; then
15431 acx_cv_header_stdint=$i
15436 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15437 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15438 if test "${ac_cv_type_u_int64_t+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15441 cat >conftest.$ac_ext <<_ACEOF
15444 cat confdefs.h >>conftest.$ac_ext
15445 cat >>conftest.$ac_ext <<_ACEOF
15446 /* end confdefs.h. */
15447 #include <sys/types.h>
15453 if ((u_int64_t *) 0)
15455 if (sizeof (u_int64_t))
15461 rm -f conftest.$ac_objext
15462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15463 (eval $ac_compile) 2>conftest.er1
15465 grep -v '^ *+' conftest.er1 >conftest.err
15467 cat conftest.err >&5
15468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15469 (exit $ac_status); } &&
15470 { ac_try='test -z "$ac_c_werror_flag"
15471 || test ! -s conftest.err'
15472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15473 (eval $ac_try) 2>&5
15475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15476 (exit $ac_status); }; } &&
15477 { ac_try='test -s conftest.$ac_objext'
15478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15479 (eval $ac_try) 2>&5
15481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15482 (exit $ac_status); }; }; then
15483 ac_cv_type_u_int64_t=yes
15485 echo "$as_me: failed program was:" >&5
15486 sed 's/^/| /' conftest.$ac_ext >&5
15488 ac_cv_type_u_int64_t=no
15490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15492 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15493 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15498 if test "$acx_cv_header_stdint" = stddef.h; then
15499 acx_cv_header_stdint_kind="(using manual detection)"
15502 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15503 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15504 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15505 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15506 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15508 # ----------------- Summarize what we found so far
15510 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15511 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15513 case `$as_basename gstdint.h ||
15514 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15515 Xgstdint.h : 'X\(//\)$' \| \
15516 Xgstdint.h : 'X\(/\)$' \| \
15517 . : '\(.\)' 2>/dev/null ||
15519 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15520 /^X\/\(\/\/\)$/{ s//\1/; q; }
15521 /^X\/\(\/\).*/{ s//\1/; q; }
15523 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15524 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15525 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15526 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15530 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15531 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15533 # ----------------- done included file, check C basic types --------
15535 # Lacking an uintptr_t? Test size of void *
15536 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15537 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15538 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15539 if test "${ac_cv_type_void_p+set}" = set; then
15540 echo $ECHO_N "(cached) $ECHO_C" >&6
15542 cat >conftest.$ac_ext <<_ACEOF
15545 cat confdefs.h >>conftest.$ac_ext
15546 cat >>conftest.$ac_ext <<_ACEOF
15547 /* end confdefs.h. */
15548 $ac_includes_default
15554 if (sizeof (void *))
15560 rm -f conftest.$ac_objext
15561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15562 (eval $ac_compile) 2>conftest.er1
15564 grep -v '^ *+' conftest.er1 >conftest.err
15566 cat conftest.err >&5
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); } &&
15569 { ac_try='test -z "$ac_c_werror_flag"
15570 || test ! -s conftest.err'
15571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15572 (eval $ac_try) 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; } &&
15576 { ac_try='test -s conftest.$ac_objext'
15577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15578 (eval $ac_try) 2>&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); }; }; then
15582 ac_cv_type_void_p=yes
15584 echo "$as_me: failed program was:" >&5
15585 sed 's/^/| /' conftest.$ac_ext >&5
15587 ac_cv_type_void_p=no
15589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15591 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15592 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15594 echo "$as_me:$LINENO: checking size of void *" >&5
15595 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15596 if test "${ac_cv_sizeof_void_p+set}" = set; then
15597 echo $ECHO_N "(cached) $ECHO_C" >&6
15599 if test "$ac_cv_type_void_p" = yes; then
15600 # The cast to unsigned long works around a bug in the HP C Compiler
15601 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15602 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15603 # This bug is HP SR number 8606223364.
15604 if test "$cross_compiling" = yes; then
15605 # Depending upon the size, compute the lo and hi bounds.
15606 cat >conftest.$ac_ext <<_ACEOF
15609 cat confdefs.h >>conftest.$ac_ext
15610 cat >>conftest.$ac_ext <<_ACEOF
15611 /* end confdefs.h. */
15612 $ac_includes_default
15616 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15623 rm -f conftest.$ac_objext
15624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15625 (eval $ac_compile) 2>conftest.er1
15627 grep -v '^ *+' conftest.er1 >conftest.err
15629 cat conftest.err >&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); } &&
15632 { ac_try='test -z "$ac_c_werror_flag"
15633 || test ! -s conftest.err'
15634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15635 (eval $ac_try) 2>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); }; } &&
15639 { ac_try='test -s conftest.$ac_objext'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; }; then
15647 cat >conftest.$ac_ext <<_ACEOF
15650 cat confdefs.h >>conftest.$ac_ext
15651 cat >>conftest.$ac_ext <<_ACEOF
15652 /* end confdefs.h. */
15653 $ac_includes_default
15657 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15664 rm -f conftest.$ac_objext
15665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15666 (eval $ac_compile) 2>conftest.er1
15668 grep -v '^ *+' conftest.er1 >conftest.err
15670 cat conftest.err >&5
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); } &&
15673 { ac_try='test -z "$ac_c_werror_flag"
15674 || test ! -s conftest.err'
15675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15676 (eval $ac_try) 2>&5
15678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15679 (exit $ac_status); }; } &&
15680 { ac_try='test -s conftest.$ac_objext'
15681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15682 (eval $ac_try) 2>&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); }; }; then
15686 ac_hi=$ac_mid; break
15688 echo "$as_me: failed program was:" >&5
15689 sed 's/^/| /' conftest.$ac_ext >&5
15691 ac_lo=`expr $ac_mid + 1`
15692 if test $ac_lo -le $ac_mid; then
15696 ac_mid=`expr 2 '*' $ac_mid + 1`
15698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15701 echo "$as_me: failed program was:" >&5
15702 sed 's/^/| /' conftest.$ac_ext >&5
15704 cat >conftest.$ac_ext <<_ACEOF
15707 cat confdefs.h >>conftest.$ac_ext
15708 cat >>conftest.$ac_ext <<_ACEOF
15709 /* end confdefs.h. */
15710 $ac_includes_default
15714 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15721 rm -f conftest.$ac_objext
15722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15723 (eval $ac_compile) 2>conftest.er1
15725 grep -v '^ *+' conftest.er1 >conftest.err
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } &&
15730 { ac_try='test -z "$ac_c_werror_flag"
15731 || test ! -s conftest.err'
15732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15733 (eval $ac_try) 2>&5
15735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15736 (exit $ac_status); }; } &&
15737 { ac_try='test -s conftest.$ac_objext'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; }; then
15745 cat >conftest.$ac_ext <<_ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h. */
15751 $ac_includes_default
15755 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15762 rm -f conftest.$ac_objext
15763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15764 (eval $ac_compile) 2>conftest.er1
15766 grep -v '^ *+' conftest.er1 >conftest.err
15768 cat conftest.err >&5
15769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15770 (exit $ac_status); } &&
15771 { ac_try='test -z "$ac_c_werror_flag"
15772 || test ! -s conftest.err'
15773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15774 (eval $ac_try) 2>&5
15776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15777 (exit $ac_status); }; } &&
15778 { ac_try='test -s conftest.$ac_objext'
15779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15780 (eval $ac_try) 2>&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); }; }; then
15784 ac_lo=$ac_mid; break
15786 echo "$as_me: failed program was:" >&5
15787 sed 's/^/| /' conftest.$ac_ext >&5
15789 ac_hi=`expr '(' $ac_mid ')' - 1`
15790 if test $ac_mid -le $ac_hi; then
15794 ac_mid=`expr 2 '*' $ac_mid`
15796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15799 echo "$as_me: failed program was:" >&5
15800 sed 's/^/| /' conftest.$ac_ext >&5
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15807 # Binary search between lo and hi bounds.
15808 while test "x$ac_lo" != "x$ac_hi"; do
15809 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15810 cat >conftest.$ac_ext <<_ACEOF
15813 cat confdefs.h >>conftest.$ac_ext
15814 cat >>conftest.$ac_ext <<_ACEOF
15815 /* end confdefs.h. */
15816 $ac_includes_default
15820 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15827 rm -f conftest.$ac_objext
15828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15829 (eval $ac_compile) 2>conftest.er1
15831 grep -v '^ *+' conftest.er1 >conftest.err
15833 cat conftest.err >&5
15834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15835 (exit $ac_status); } &&
15836 { ac_try='test -z "$ac_c_werror_flag"
15837 || test ! -s conftest.err'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; } &&
15843 { ac_try='test -s conftest.$ac_objext'
15844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15845 (eval $ac_try) 2>&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); }; }; then
15851 echo "$as_me: failed program was:" >&5
15852 sed 's/^/| /' conftest.$ac_ext >&5
15854 ac_lo=`expr '(' $ac_mid ')' + 1`
15856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15859 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15860 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15861 See \`config.log' for more details." >&5
15862 echo "$as_me: error: cannot compute sizeof (void *), 77
15863 See \`config.log' for more details." >&2;}
15864 { (exit 1); exit 1; }; } ;;
15867 if test "$cross_compiling" = yes; then
15868 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15869 See \`config.log' for more details." >&5
15870 echo "$as_me: error: cannot run test program while cross compiling
15871 See \`config.log' for more details." >&2;}
15872 { (exit 1); exit 1; }; }
15874 cat >conftest.$ac_ext <<_ACEOF
15877 cat confdefs.h >>conftest.$ac_ext
15878 cat >>conftest.$ac_ext <<_ACEOF
15879 /* end confdefs.h. */
15880 $ac_includes_default
15881 long longval () { return (long) (sizeof (void *)); }
15882 unsigned long ulongval () { return (long) (sizeof (void *)); }
15884 #include <stdlib.h>
15889 FILE *f = fopen ("conftest.val", "w");
15892 if (((long) (sizeof (void *))) < 0)
15894 long i = longval ();
15895 if (i != ((long) (sizeof (void *))))
15897 fprintf (f, "%ld\n", i);
15901 unsigned long i = ulongval ();
15902 if (i != ((long) (sizeof (void *))))
15904 fprintf (f, "%lu\n", i);
15906 exit (ferror (f) || fclose (f) != 0);
15912 rm -f conftest$ac_exeext
15913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15914 (eval $ac_link) 2>&5
15916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15917 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15919 (eval $ac_try) 2>&5
15921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15923 ac_cv_sizeof_void_p=`cat conftest.val`
15925 echo "$as_me: program exited with status $ac_status" >&5
15926 echo "$as_me: failed program was:" >&5
15927 sed 's/^/| /' conftest.$ac_ext >&5
15929 ( exit $ac_status )
15930 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15931 See \`config.log' for more details." >&5
15932 echo "$as_me: error: cannot compute sizeof (void *), 77
15933 See \`config.log' for more details." >&2;}
15934 { (exit 1); exit 1; }; }
15936 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15941 ac_cv_sizeof_void_p=0
15944 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
15945 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
15946 cat >>confdefs.h <<_ACEOF
15947 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
15953 # Lacking an uint64_t? Test size of long
15954 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
15955 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
15956 echo $ECHO_N "checking for long... $ECHO_C" >&6
15957 if test "${ac_cv_type_long+set}" = set; then
15958 echo $ECHO_N "(cached) $ECHO_C" >&6
15960 cat >conftest.$ac_ext <<_ACEOF
15963 cat confdefs.h >>conftest.$ac_ext
15964 cat >>conftest.$ac_ext <<_ACEOF
15965 /* end confdefs.h. */
15966 $ac_includes_default
15978 rm -f conftest.$ac_objext
15979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15980 (eval $ac_compile) 2>conftest.er1
15982 grep -v '^ *+' conftest.er1 >conftest.err
15984 cat conftest.err >&5
15985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15986 (exit $ac_status); } &&
15987 { ac_try='test -z "$ac_c_werror_flag"
15988 || test ! -s conftest.err'
15989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15990 (eval $ac_try) 2>&5
15992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15993 (exit $ac_status); }; } &&
15994 { ac_try='test -s conftest.$ac_objext'
15995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15996 (eval $ac_try) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); }; }; then
16000 ac_cv_type_long=yes
16002 echo "$as_me: failed program was:" >&5
16003 sed 's/^/| /' conftest.$ac_ext >&5
16007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16009 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16010 echo "${ECHO_T}$ac_cv_type_long" >&6
16012 echo "$as_me:$LINENO: checking size of long" >&5
16013 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16014 if test "${ac_cv_sizeof_long+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16017 if test "$ac_cv_type_long" = yes; then
16018 # The cast to unsigned long works around a bug in the HP C Compiler
16019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16021 # This bug is HP SR number 8606223364.
16022 if test "$cross_compiling" = yes; then
16023 # Depending upon the size, compute the lo and hi bounds.
16024 cat >conftest.$ac_ext <<_ACEOF
16027 cat confdefs.h >>conftest.$ac_ext
16028 cat >>conftest.$ac_ext <<_ACEOF
16029 /* end confdefs.h. */
16030 $ac_includes_default
16034 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16041 rm -f conftest.$ac_objext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16043 (eval $ac_compile) 2>conftest.er1
16045 grep -v '^ *+' conftest.er1 >conftest.err
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } &&
16050 { ac_try='test -z "$ac_c_werror_flag"
16051 || test ! -s conftest.err'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try='test -s conftest.$ac_objext'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; }; then
16065 cat >conftest.$ac_ext <<_ACEOF
16068 cat confdefs.h >>conftest.$ac_ext
16069 cat >>conftest.$ac_ext <<_ACEOF
16070 /* end confdefs.h. */
16071 $ac_includes_default
16075 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16082 rm -f conftest.$ac_objext
16083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16084 (eval $ac_compile) 2>conftest.er1
16086 grep -v '^ *+' conftest.er1 >conftest.err
16088 cat conftest.err >&5
16089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16090 (exit $ac_status); } &&
16091 { ac_try='test -z "$ac_c_werror_flag"
16092 || test ! -s conftest.err'
16093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16094 (eval $ac_try) 2>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); }; } &&
16098 { ac_try='test -s conftest.$ac_objext'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; }; then
16104 ac_hi=$ac_mid; break
16106 echo "$as_me: failed program was:" >&5
16107 sed 's/^/| /' conftest.$ac_ext >&5
16109 ac_lo=`expr $ac_mid + 1`
16110 if test $ac_lo -le $ac_mid; then
16114 ac_mid=`expr 2 '*' $ac_mid + 1`
16116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16122 cat >conftest.$ac_ext <<_ACEOF
16125 cat confdefs.h >>conftest.$ac_ext
16126 cat >>conftest.$ac_ext <<_ACEOF
16127 /* end confdefs.h. */
16128 $ac_includes_default
16132 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16139 rm -f conftest.$ac_objext
16140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16141 (eval $ac_compile) 2>conftest.er1
16143 grep -v '^ *+' conftest.er1 >conftest.err
16145 cat conftest.err >&5
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); } &&
16148 { ac_try='test -z "$ac_c_werror_flag"
16149 || test ! -s conftest.err'
16150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16151 (eval $ac_try) 2>&5
16153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16154 (exit $ac_status); }; } &&
16155 { ac_try='test -s conftest.$ac_objext'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; }; then
16163 cat >conftest.$ac_ext <<_ACEOF
16166 cat confdefs.h >>conftest.$ac_ext
16167 cat >>conftest.$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 $ac_includes_default
16173 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16180 rm -f conftest.$ac_objext
16181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16182 (eval $ac_compile) 2>conftest.er1
16184 grep -v '^ *+' conftest.er1 >conftest.err
16186 cat conftest.err >&5
16187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16188 (exit $ac_status); } &&
16189 { ac_try='test -z "$ac_c_werror_flag"
16190 || test ! -s conftest.err'
16191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16192 (eval $ac_try) 2>&5
16194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16195 (exit $ac_status); }; } &&
16196 { ac_try='test -s conftest.$ac_objext'
16197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16198 (eval $ac_try) 2>&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); }; }; then
16202 ac_lo=$ac_mid; break
16204 echo "$as_me: failed program was:" >&5
16205 sed 's/^/| /' conftest.$ac_ext >&5
16207 ac_hi=`expr '(' $ac_mid ')' - 1`
16208 if test $ac_mid -le $ac_hi; then
16212 ac_mid=`expr 2 '*' $ac_mid`
16214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16217 echo "$as_me: failed program was:" >&5
16218 sed 's/^/| /' conftest.$ac_ext >&5
16222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16224 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16225 # Binary search between lo and hi bounds.
16226 while test "x$ac_lo" != "x$ac_hi"; do
16227 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16228 cat >conftest.$ac_ext <<_ACEOF
16231 cat confdefs.h >>conftest.$ac_ext
16232 cat >>conftest.$ac_ext <<_ACEOF
16233 /* end confdefs.h. */
16234 $ac_includes_default
16238 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16245 rm -f conftest.$ac_objext
16246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16247 (eval $ac_compile) 2>conftest.er1
16249 grep -v '^ *+' conftest.er1 >conftest.err
16251 cat conftest.err >&5
16252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16253 (exit $ac_status); } &&
16254 { ac_try='test -z "$ac_c_werror_flag"
16255 || test ! -s conftest.err'
16256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257 (eval $ac_try) 2>&5
16259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260 (exit $ac_status); }; } &&
16261 { ac_try='test -s conftest.$ac_objext'
16262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16263 (eval $ac_try) 2>&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); }; }; then
16269 echo "$as_me: failed program was:" >&5
16270 sed 's/^/| /' conftest.$ac_ext >&5
16272 ac_lo=`expr '(' $ac_mid ')' + 1`
16274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16277 ?*) ac_cv_sizeof_long=$ac_lo;;
16278 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16279 See \`config.log' for more details." >&5
16280 echo "$as_me: error: cannot compute sizeof (long), 77
16281 See \`config.log' for more details." >&2;}
16282 { (exit 1); exit 1; }; } ;;
16285 if test "$cross_compiling" = yes; then
16286 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16287 See \`config.log' for more details." >&5
16288 echo "$as_me: error: cannot run test program while cross compiling
16289 See \`config.log' for more details." >&2;}
16290 { (exit 1); exit 1; }; }
16292 cat >conftest.$ac_ext <<_ACEOF
16295 cat confdefs.h >>conftest.$ac_ext
16296 cat >>conftest.$ac_ext <<_ACEOF
16297 /* end confdefs.h. */
16298 $ac_includes_default
16299 long longval () { return (long) (sizeof (long)); }
16300 unsigned long ulongval () { return (long) (sizeof (long)); }
16302 #include <stdlib.h>
16307 FILE *f = fopen ("conftest.val", "w");
16310 if (((long) (sizeof (long))) < 0)
16312 long i = longval ();
16313 if (i != ((long) (sizeof (long))))
16315 fprintf (f, "%ld\n", i);
16319 unsigned long i = ulongval ();
16320 if (i != ((long) (sizeof (long))))
16322 fprintf (f, "%lu\n", i);
16324 exit (ferror (f) || fclose (f) != 0);
16330 rm -f conftest$ac_exeext
16331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16332 (eval $ac_link) 2>&5
16334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16335 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16337 (eval $ac_try) 2>&5
16339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16340 (exit $ac_status); }; }; then
16341 ac_cv_sizeof_long=`cat conftest.val`
16343 echo "$as_me: program exited with status $ac_status" >&5
16344 echo "$as_me: failed program was:" >&5
16345 sed 's/^/| /' conftest.$ac_ext >&5
16347 ( exit $ac_status )
16348 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16349 See \`config.log' for more details." >&5
16350 echo "$as_me: error: cannot compute sizeof (long), 77
16351 See \`config.log' for more details." >&2;}
16352 { (exit 1); exit 1; }; }
16354 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16359 ac_cv_sizeof_long=0
16362 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16363 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16364 cat >>confdefs.h <<_ACEOF
16365 #define SIZEOF_LONG $ac_cv_sizeof_long
16371 if test $acx_cv_header_stdint = stddef.h; then
16372 # Lacking a good header? Test size of everything and deduce all types.
16373 echo "$as_me:$LINENO: checking for int" >&5
16374 echo $ECHO_N "checking for int... $ECHO_C" >&6
16375 if test "${ac_cv_type_int+set}" = set; then
16376 echo $ECHO_N "(cached) $ECHO_C" >&6
16378 cat >conftest.$ac_ext <<_ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 $ac_includes_default
16396 rm -f conftest.$ac_objext
16397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16398 (eval $ac_compile) 2>conftest.er1
16400 grep -v '^ *+' conftest.er1 >conftest.err
16402 cat conftest.err >&5
16403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16404 (exit $ac_status); } &&
16405 { ac_try='test -z "$ac_c_werror_flag"
16406 || test ! -s conftest.err'
16407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16408 (eval $ac_try) 2>&5
16410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16411 (exit $ac_status); }; } &&
16412 { ac_try='test -s conftest.$ac_objext'
16413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16414 (eval $ac_try) 2>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); }; }; then
16420 echo "$as_me: failed program was:" >&5
16421 sed 's/^/| /' conftest.$ac_ext >&5
16425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16427 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16428 echo "${ECHO_T}$ac_cv_type_int" >&6
16430 echo "$as_me:$LINENO: checking size of int" >&5
16431 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16432 if test "${ac_cv_sizeof_int+set}" = set; then
16433 echo $ECHO_N "(cached) $ECHO_C" >&6
16435 if test "$ac_cv_type_int" = yes; then
16436 # The cast to unsigned long works around a bug in the HP C Compiler
16437 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16438 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16439 # This bug is HP SR number 8606223364.
16440 if test "$cross_compiling" = yes; then
16441 # Depending upon the size, compute the lo and hi bounds.
16442 cat >conftest.$ac_ext <<_ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 $ac_includes_default
16452 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16459 rm -f conftest.$ac_objext
16460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16461 (eval $ac_compile) 2>conftest.er1
16463 grep -v '^ *+' conftest.er1 >conftest.err
16465 cat conftest.err >&5
16466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16467 (exit $ac_status); } &&
16468 { ac_try='test -z "$ac_c_werror_flag"
16469 || test ! -s conftest.err'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; } &&
16475 { ac_try='test -s conftest.$ac_objext'
16476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16477 (eval $ac_try) 2>&5
16479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16480 (exit $ac_status); }; }; then
16483 cat >conftest.$ac_ext <<_ACEOF
16486 cat confdefs.h >>conftest.$ac_ext
16487 cat >>conftest.$ac_ext <<_ACEOF
16488 /* end confdefs.h. */
16489 $ac_includes_default
16493 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16500 rm -f conftest.$ac_objext
16501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16502 (eval $ac_compile) 2>conftest.er1
16504 grep -v '^ *+' conftest.er1 >conftest.err
16506 cat conftest.err >&5
16507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16508 (exit $ac_status); } &&
16509 { ac_try='test -z "$ac_c_werror_flag"
16510 || test ! -s conftest.err'
16511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16512 (eval $ac_try) 2>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); }; } &&
16516 { ac_try='test -s conftest.$ac_objext'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; }; then
16522 ac_hi=$ac_mid; break
16524 echo "$as_me: failed program was:" >&5
16525 sed 's/^/| /' conftest.$ac_ext >&5
16527 ac_lo=`expr $ac_mid + 1`
16528 if test $ac_lo -le $ac_mid; then
16532 ac_mid=`expr 2 '*' $ac_mid + 1`
16534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16537 echo "$as_me: failed program was:" >&5
16538 sed 's/^/| /' conftest.$ac_ext >&5
16540 cat >conftest.$ac_ext <<_ACEOF
16543 cat confdefs.h >>conftest.$ac_ext
16544 cat >>conftest.$ac_ext <<_ACEOF
16545 /* end confdefs.h. */
16546 $ac_includes_default
16550 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16557 rm -f conftest.$ac_objext
16558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16559 (eval $ac_compile) 2>conftest.er1
16561 grep -v '^ *+' conftest.er1 >conftest.err
16563 cat conftest.err >&5
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } &&
16566 { ac_try='test -z "$ac_c_werror_flag"
16567 || test ! -s conftest.err'
16568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16569 (eval $ac_try) 2>&5
16571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16572 (exit $ac_status); }; } &&
16573 { ac_try='test -s conftest.$ac_objext'
16574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16575 (eval $ac_try) 2>&5
16577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16578 (exit $ac_status); }; }; then
16581 cat >conftest.$ac_ext <<_ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 $ac_includes_default
16591 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16598 rm -f conftest.$ac_objext
16599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16600 (eval $ac_compile) 2>conftest.er1
16602 grep -v '^ *+' conftest.er1 >conftest.err
16604 cat conftest.err >&5
16605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16606 (exit $ac_status); } &&
16607 { ac_try='test -z "$ac_c_werror_flag"
16608 || test ! -s conftest.err'
16609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16610 (eval $ac_try) 2>&5
16612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16613 (exit $ac_status); }; } &&
16614 { ac_try='test -s conftest.$ac_objext'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; }; then
16620 ac_lo=$ac_mid; break
16622 echo "$as_me: failed program was:" >&5
16623 sed 's/^/| /' conftest.$ac_ext >&5
16625 ac_hi=`expr '(' $ac_mid ')' - 1`
16626 if test $ac_mid -le $ac_hi; then
16630 ac_mid=`expr 2 '*' $ac_mid`
16632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16635 echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 # Binary search between lo and hi bounds.
16644 while test "x$ac_lo" != "x$ac_hi"; do
16645 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16646 cat >conftest.$ac_ext <<_ACEOF
16649 cat confdefs.h >>conftest.$ac_ext
16650 cat >>conftest.$ac_ext <<_ACEOF
16651 /* end confdefs.h. */
16652 $ac_includes_default
16656 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16663 rm -f conftest.$ac_objext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16665 (eval $ac_compile) 2>conftest.er1
16667 grep -v '^ *+' conftest.er1 >conftest.err
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try='test -s conftest.$ac_objext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16690 ac_lo=`expr '(' $ac_mid ')' + 1`
16692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16695 ?*) ac_cv_sizeof_int=$ac_lo;;
16696 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16697 See \`config.log' for more details." >&5
16698 echo "$as_me: error: cannot compute sizeof (int), 77
16699 See \`config.log' for more details." >&2;}
16700 { (exit 1); exit 1; }; } ;;
16703 if test "$cross_compiling" = yes; then
16704 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16705 See \`config.log' for more details." >&5
16706 echo "$as_me: error: cannot run test program while cross compiling
16707 See \`config.log' for more details." >&2;}
16708 { (exit 1); exit 1; }; }
16710 cat >conftest.$ac_ext <<_ACEOF
16713 cat confdefs.h >>conftest.$ac_ext
16714 cat >>conftest.$ac_ext <<_ACEOF
16715 /* end confdefs.h. */
16716 $ac_includes_default
16717 long longval () { return (long) (sizeof (int)); }
16718 unsigned long ulongval () { return (long) (sizeof (int)); }
16720 #include <stdlib.h>
16725 FILE *f = fopen ("conftest.val", "w");
16728 if (((long) (sizeof (int))) < 0)
16730 long i = longval ();
16731 if (i != ((long) (sizeof (int))))
16733 fprintf (f, "%ld\n", i);
16737 unsigned long i = ulongval ();
16738 if (i != ((long) (sizeof (int))))
16740 fprintf (f, "%lu\n", i);
16742 exit (ferror (f) || fclose (f) != 0);
16748 rm -f conftest$ac_exeext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16750 (eval $ac_link) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; }; then
16759 ac_cv_sizeof_int=`cat conftest.val`
16761 echo "$as_me: program exited with status $ac_status" >&5
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.$ac_ext >&5
16765 ( exit $ac_status )
16766 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16767 See \`config.log' for more details." >&5
16768 echo "$as_me: error: cannot compute sizeof (int), 77
16769 See \`config.log' for more details." >&2;}
16770 { (exit 1); exit 1; }; }
16772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16780 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16781 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16782 cat >>confdefs.h <<_ACEOF
16783 #define SIZEOF_INT $ac_cv_sizeof_int
16787 echo "$as_me:$LINENO: checking for short" >&5
16788 echo $ECHO_N "checking for short... $ECHO_C" >&6
16789 if test "${ac_cv_type_short+set}" = set; then
16790 echo $ECHO_N "(cached) $ECHO_C" >&6
16792 cat >conftest.$ac_ext <<_ACEOF
16795 cat confdefs.h >>conftest.$ac_ext
16796 cat >>conftest.$ac_ext <<_ACEOF
16797 /* end confdefs.h. */
16798 $ac_includes_default
16804 if (sizeof (short))
16810 rm -f conftest.$ac_objext
16811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16812 (eval $ac_compile) 2>conftest.er1
16814 grep -v '^ *+' conftest.er1 >conftest.err
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } &&
16819 { ac_try='test -z "$ac_c_werror_flag"
16820 || test ! -s conftest.err'
16821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16822 (eval $ac_try) 2>&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); }; } &&
16826 { ac_try='test -s conftest.$ac_objext'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; }; then
16832 ac_cv_type_short=yes
16834 echo "$as_me: failed program was:" >&5
16835 sed 's/^/| /' conftest.$ac_ext >&5
16837 ac_cv_type_short=no
16839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16841 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16842 echo "${ECHO_T}$ac_cv_type_short" >&6
16844 echo "$as_me:$LINENO: checking size of short" >&5
16845 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16846 if test "${ac_cv_sizeof_short+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 if test "$ac_cv_type_short" = yes; then
16850 # The cast to unsigned long works around a bug in the HP C Compiler
16851 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16852 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16853 # This bug is HP SR number 8606223364.
16854 if test "$cross_compiling" = yes; then
16855 # Depending upon the size, compute the lo and hi bounds.
16856 cat >conftest.$ac_ext <<_ACEOF
16859 cat confdefs.h >>conftest.$ac_ext
16860 cat >>conftest.$ac_ext <<_ACEOF
16861 /* end confdefs.h. */
16862 $ac_includes_default
16866 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16873 rm -f conftest.$ac_objext
16874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16875 (eval $ac_compile) 2>conftest.er1
16877 grep -v '^ *+' conftest.er1 >conftest.err
16879 cat conftest.err >&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); } &&
16882 { ac_try='test -z "$ac_c_werror_flag"
16883 || test ! -s conftest.err'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; } &&
16889 { ac_try='test -s conftest.$ac_objext'
16890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16891 (eval $ac_try) 2>&5
16893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16894 (exit $ac_status); }; }; then
16897 cat >conftest.$ac_ext <<_ACEOF
16900 cat confdefs.h >>conftest.$ac_ext
16901 cat >>conftest.$ac_ext <<_ACEOF
16902 /* end confdefs.h. */
16903 $ac_includes_default
16907 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
16914 rm -f conftest.$ac_objext
16915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16916 (eval $ac_compile) 2>conftest.er1
16918 grep -v '^ *+' conftest.er1 >conftest.err
16920 cat conftest.err >&5
16921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922 (exit $ac_status); } &&
16923 { ac_try='test -z "$ac_c_werror_flag"
16924 || test ! -s conftest.err'
16925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16926 (eval $ac_try) 2>&5
16928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16929 (exit $ac_status); }; } &&
16930 { ac_try='test -s conftest.$ac_objext'
16931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16932 (eval $ac_try) 2>&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); }; }; then
16936 ac_hi=$ac_mid; break
16938 echo "$as_me: failed program was:" >&5
16939 sed 's/^/| /' conftest.$ac_ext >&5
16941 ac_lo=`expr $ac_mid + 1`
16942 if test $ac_lo -le $ac_mid; then
16946 ac_mid=`expr 2 '*' $ac_mid + 1`
16948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 $ac_includes_default
16964 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
16971 rm -f conftest.$ac_objext
16972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16973 (eval $ac_compile) 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try='test -z "$ac_c_werror_flag"
16981 || test ! -s conftest.err'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; } &&
16987 { ac_try='test -s conftest.$ac_objext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16995 cat >conftest.$ac_ext <<_ACEOF
16998 cat confdefs.h >>conftest.$ac_ext
16999 cat >>conftest.$ac_ext <<_ACEOF
17000 /* end confdefs.h. */
17001 $ac_includes_default
17005 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17012 rm -f conftest.$ac_objext
17013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17014 (eval $ac_compile) 2>conftest.er1
17016 grep -v '^ *+' conftest.er1 >conftest.err
17018 cat conftest.err >&5
17019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17020 (exit $ac_status); } &&
17021 { ac_try='test -z "$ac_c_werror_flag"
17022 || test ! -s conftest.err'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; } &&
17028 { ac_try='test -s conftest.$ac_objext'
17029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17030 (eval $ac_try) 2>&5
17032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17033 (exit $ac_status); }; }; then
17034 ac_lo=$ac_mid; break
17036 echo "$as_me: failed program was:" >&5
17037 sed 's/^/| /' conftest.$ac_ext >&5
17039 ac_hi=`expr '(' $ac_mid ')' - 1`
17040 if test $ac_mid -le $ac_hi; then
17044 ac_mid=`expr 2 '*' $ac_mid`
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17049 echo "$as_me: failed program was:" >&5
17050 sed 's/^/| /' conftest.$ac_ext >&5
17054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17057 # Binary search between lo and hi bounds.
17058 while test "x$ac_lo" != "x$ac_hi"; do
17059 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17060 cat >conftest.$ac_ext <<_ACEOF
17063 cat confdefs.h >>conftest.$ac_ext
17064 cat >>conftest.$ac_ext <<_ACEOF
17065 /* end confdefs.h. */
17066 $ac_includes_default
17070 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17077 rm -f conftest.$ac_objext
17078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17079 (eval $ac_compile) 2>conftest.er1
17081 grep -v '^ *+' conftest.er1 >conftest.err
17083 cat conftest.err >&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); } &&
17086 { ac_try='test -z "$ac_c_werror_flag"
17087 || test ! -s conftest.err'
17088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17089 (eval $ac_try) 2>&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); }; } &&
17093 { ac_try='test -s conftest.$ac_objext'
17094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17095 (eval $ac_try) 2>&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); }; }; then
17101 echo "$as_me: failed program was:" >&5
17102 sed 's/^/| /' conftest.$ac_ext >&5
17104 ac_lo=`expr '(' $ac_mid ')' + 1`
17106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17109 ?*) ac_cv_sizeof_short=$ac_lo;;
17110 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17111 See \`config.log' for more details." >&5
17112 echo "$as_me: error: cannot compute sizeof (short), 77
17113 See \`config.log' for more details." >&2;}
17114 { (exit 1); exit 1; }; } ;;
17117 if test "$cross_compiling" = yes; then
17118 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17119 See \`config.log' for more details." >&5
17120 echo "$as_me: error: cannot run test program while cross compiling
17121 See \`config.log' for more details." >&2;}
17122 { (exit 1); exit 1; }; }
17124 cat >conftest.$ac_ext <<_ACEOF
17127 cat confdefs.h >>conftest.$ac_ext
17128 cat >>conftest.$ac_ext <<_ACEOF
17129 /* end confdefs.h. */
17130 $ac_includes_default
17131 long longval () { return (long) (sizeof (short)); }
17132 unsigned long ulongval () { return (long) (sizeof (short)); }
17134 #include <stdlib.h>
17139 FILE *f = fopen ("conftest.val", "w");
17142 if (((long) (sizeof (short))) < 0)
17144 long i = longval ();
17145 if (i != ((long) (sizeof (short))))
17147 fprintf (f, "%ld\n", i);
17151 unsigned long i = ulongval ();
17152 if (i != ((long) (sizeof (short))))
17154 fprintf (f, "%lu\n", i);
17156 exit (ferror (f) || fclose (f) != 0);
17162 rm -f conftest$ac_exeext
17163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17164 (eval $ac_link) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_cv_sizeof_short=`cat conftest.val`
17175 echo "$as_me: program exited with status $ac_status" >&5
17176 echo "$as_me: failed program was:" >&5
17177 sed 's/^/| /' conftest.$ac_ext >&5
17179 ( exit $ac_status )
17180 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17181 See \`config.log' for more details." >&5
17182 echo "$as_me: error: cannot compute sizeof (short), 77
17183 See \`config.log' for more details." >&2;}
17184 { (exit 1); exit 1; }; }
17186 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17191 ac_cv_sizeof_short=0
17194 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17195 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17196 cat >>confdefs.h <<_ACEOF
17197 #define SIZEOF_SHORT $ac_cv_sizeof_short
17201 echo "$as_me:$LINENO: checking for char" >&5
17202 echo $ECHO_N "checking for char... $ECHO_C" >&6
17203 if test "${ac_cv_type_char+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17228 grep -v '^ *+' conftest.er1 >conftest.err
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17246 ac_cv_type_char=yes
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17256 echo "${ECHO_T}$ac_cv_type_char" >&6
17258 echo "$as_me:$LINENO: checking size of char" >&5
17259 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_char+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 if test "$ac_cv_type_char" = yes; then
17264 # The cast to unsigned long works around a bug in the HP C Compiler
17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267 # This bug is HP SR number 8606223364.
17268 if test "$cross_compiling" = yes; then
17269 # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.$ac_ext <<_ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 $ac_includes_default
17280 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1 >conftest.err
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17321 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_hi=$ac_mid; break
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_lo=`expr $ac_mid + 1`
17356 if test $ac_lo -le $ac_mid; then
17360 ac_mid=`expr 2 '*' $ac_mid + 1`
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 cat >conftest.$ac_ext <<_ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17378 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1 >conftest.err
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17409 cat >conftest.$ac_ext <<_ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17419 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17430 grep -v '^ *+' conftest.er1 >conftest.err
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo=$ac_mid; break
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17453 ac_hi=`expr '(' $ac_mid ')' - 1`
17454 if test $ac_mid -le $ac_hi; then
17458 ac_mid=`expr 2 '*' $ac_mid`
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474 cat >conftest.$ac_ext <<_ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1 >conftest.err
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17518 ac_lo=`expr '(' $ac_mid ')' + 1`
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17523 ?*) ac_cv_sizeof_char=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17525 See \`config.log' for more details." >&5
17526 echo "$as_me: error: cannot compute sizeof (char), 77
17527 See \`config.log' for more details." >&2;}
17528 { (exit 1); exit 1; }; } ;;
17531 if test "$cross_compiling" = yes; then
17532 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17533 See \`config.log' for more details." >&5
17534 echo "$as_me: error: cannot run test program while cross compiling
17535 See \`config.log' for more details." >&2;}
17536 { (exit 1); exit 1; }; }
17538 cat >conftest.$ac_ext <<_ACEOF
17541 cat confdefs.h >>conftest.$ac_ext
17542 cat >>conftest.$ac_ext <<_ACEOF
17543 /* end confdefs.h. */
17544 $ac_includes_default
17545 long longval () { return (long) (sizeof (char)); }
17546 unsigned long ulongval () { return (long) (sizeof (char)); }
17548 #include <stdlib.h>
17553 FILE *f = fopen ("conftest.val", "w");
17556 if (((long) (sizeof (char))) < 0)
17558 long i = longval ();
17559 if (i != ((long) (sizeof (char))))
17561 fprintf (f, "%ld\n", i);
17565 unsigned long i = ulongval ();
17566 if (i != ((long) (sizeof (char))))
17568 fprintf (f, "%lu\n", i);
17570 exit (ferror (f) || fclose (f) != 0);
17576 rm -f conftest$ac_exeext
17577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17578 (eval $ac_link) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_sizeof_char=`cat conftest.val`
17589 echo "$as_me: program exited with status $ac_status" >&5
17590 echo "$as_me: failed program was:" >&5
17591 sed 's/^/| /' conftest.$ac_ext >&5
17593 ( exit $ac_status )
17594 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17595 See \`config.log' for more details." >&5
17596 echo "$as_me: error: cannot compute sizeof (char), 77
17597 See \`config.log' for more details." >&2;}
17598 { (exit 1); exit 1; }; }
17600 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17605 ac_cv_sizeof_char=0
17608 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17609 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17610 cat >>confdefs.h <<_ACEOF
17611 #define SIZEOF_CHAR $ac_cv_sizeof_char
17616 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17617 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17618 case "$ac_cv_sizeof_char" in
17619 1) acx_cv_type_int8_t=char ;;
17620 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17621 echo "$as_me: error: no 8-bit type" >&2;}
17622 { (exit please report a bug); exit please report a bug; }; }
17624 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17625 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17627 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17628 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17629 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17630 2:*) acx_cv_type_int16_t=int ;;
17631 *:2) acx_cv_type_int16_t=short ;;
17632 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17633 echo "$as_me: error: no 16-bit type" >&2;}
17634 { (exit please report a bug); exit please report a bug; }; }
17636 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17637 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17639 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17640 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17641 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17642 4:*) acx_cv_type_int32_t=int ;;
17643 *:4) acx_cv_type_int32_t=long ;;
17644 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17645 echo "$as_me: error: no 32-bit type" >&2;}
17646 { (exit please report a bug); exit please report a bug; }; }
17648 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17649 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17652 # These tests are here to make the output prettier
17654 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17655 case "$ac_cv_sizeof_long" in
17656 8) acx_cv_type_int64_t=long ;;
17658 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17659 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17660 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17661 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17664 # Now we can use the above types
17666 if test "$ac_cv_type_uintptr_t" != yes; then
17667 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17668 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17669 case $ac_cv_sizeof_void_p in
17670 2) acx_cv_type_intptr_t=int16_t ;;
17671 4) acx_cv_type_intptr_t=int32_t ;;
17672 8) acx_cv_type_intptr_t=int64_t ;;
17673 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17674 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17675 { (exit please report a bug); exit please report a bug; }; }
17677 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17678 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17681 # ----------------- done all checks, emit header -------------
17682 ac_config_commands="$ac_config_commands gstdint.h"
17687 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17688 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17689 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17690 echo $ECHO_N "(cached) $ECHO_C" >&6
17692 cat >conftest.$ac_ext <<_ACEOF
17695 cat confdefs.h >>conftest.$ac_ext
17696 cat >>conftest.$ac_ext <<_ACEOF
17697 /* end confdefs.h. */
17698 $ac_includes_default
17702 static struct stat ac_aggr;
17703 if (ac_aggr.st_blksize)
17709 rm -f conftest.$ac_objext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17711 (eval $ac_compile) 2>conftest.er1
17713 grep -v '^ *+' conftest.er1 >conftest.err
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } &&
17718 { ac_try='test -z "$ac_c_werror_flag"
17719 || test ! -s conftest.err'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; } &&
17725 { ac_try='test -s conftest.$ac_objext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17731 ac_cv_member_struct_stat_st_blksize=yes
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17736 cat >conftest.$ac_ext <<_ACEOF
17739 cat confdefs.h >>conftest.$ac_ext
17740 cat >>conftest.$ac_ext <<_ACEOF
17741 /* end confdefs.h. */
17742 $ac_includes_default
17746 static struct stat ac_aggr;
17747 if (sizeof ac_aggr.st_blksize)
17753 rm -f conftest.$ac_objext
17754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17755 (eval $ac_compile) 2>conftest.er1
17757 grep -v '^ *+' conftest.er1 >conftest.err
17759 cat conftest.err >&5
17760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17761 (exit $ac_status); } &&
17762 { ac_try='test -z "$ac_c_werror_flag"
17763 || test ! -s conftest.err'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; } &&
17769 { ac_try='test -s conftest.$ac_objext'
17770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17771 (eval $ac_try) 2>&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); }; }; then
17775 ac_cv_member_struct_stat_st_blksize=yes
17777 echo "$as_me: failed program was:" >&5
17778 sed 's/^/| /' conftest.$ac_ext >&5
17780 ac_cv_member_struct_stat_st_blksize=no
17782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17786 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17787 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17788 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17790 cat >>confdefs.h <<_ACEOF
17791 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17797 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17798 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17799 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17800 echo $ECHO_N "(cached) $ECHO_C" >&6
17802 cat >conftest.$ac_ext <<_ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
17807 /* end confdefs.h. */
17808 $ac_includes_default
17812 static struct stat ac_aggr;
17813 if (ac_aggr.st_blocks)
17819 rm -f conftest.$ac_objext
17820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17821 (eval $ac_compile) 2>conftest.er1
17823 grep -v '^ *+' conftest.er1 >conftest.err
17825 cat conftest.err >&5
17826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17827 (exit $ac_status); } &&
17828 { ac_try='test -z "$ac_c_werror_flag"
17829 || test ! -s conftest.err'
17830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17831 (eval $ac_try) 2>&5
17833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17834 (exit $ac_status); }; } &&
17835 { ac_try='test -s conftest.$ac_objext'
17836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17837 (eval $ac_try) 2>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); }; }; then
17841 ac_cv_member_struct_stat_st_blocks=yes
17843 echo "$as_me: failed program was:" >&5
17844 sed 's/^/| /' conftest.$ac_ext >&5
17846 cat >conftest.$ac_ext <<_ACEOF
17849 cat confdefs.h >>conftest.$ac_ext
17850 cat >>conftest.$ac_ext <<_ACEOF
17851 /* end confdefs.h. */
17852 $ac_includes_default
17856 static struct stat ac_aggr;
17857 if (sizeof ac_aggr.st_blocks)
17863 rm -f conftest.$ac_objext
17864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17865 (eval $ac_compile) 2>conftest.er1
17867 grep -v '^ *+' conftest.er1 >conftest.err
17869 cat conftest.err >&5
17870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17871 (exit $ac_status); } &&
17872 { ac_try='test -z "$ac_c_werror_flag"
17873 || test ! -s conftest.err'
17874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17875 (eval $ac_try) 2>&5
17877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17878 (exit $ac_status); }; } &&
17879 { ac_try='test -s conftest.$ac_objext'
17880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17881 (eval $ac_try) 2>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); }; }; then
17885 ac_cv_member_struct_stat_st_blocks=yes
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17890 ac_cv_member_struct_stat_st_blocks=no
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17896 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17897 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17898 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17900 cat >>confdefs.h <<_ACEOF
17901 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17907 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
17908 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
17909 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 cat >conftest.$ac_ext <<_ACEOF
17915 cat confdefs.h >>conftest.$ac_ext
17916 cat >>conftest.$ac_ext <<_ACEOF
17917 /* end confdefs.h. */
17918 $ac_includes_default
17922 static struct stat ac_aggr;
17923 if (ac_aggr.st_rdev)
17929 rm -f conftest.$ac_objext
17930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17931 (eval $ac_compile) 2>conftest.er1
17933 grep -v '^ *+' conftest.er1 >conftest.err
17935 cat conftest.err >&5
17936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17937 (exit $ac_status); } &&
17938 { ac_try='test -z "$ac_c_werror_flag"
17939 || test ! -s conftest.err'
17940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17941 (eval $ac_try) 2>&5
17943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17944 (exit $ac_status); }; } &&
17945 { ac_try='test -s conftest.$ac_objext'
17946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17947 (eval $ac_try) 2>&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); }; }; then
17951 ac_cv_member_struct_stat_st_rdev=yes
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17956 cat >conftest.$ac_ext <<_ACEOF
17959 cat confdefs.h >>conftest.$ac_ext
17960 cat >>conftest.$ac_ext <<_ACEOF
17961 /* end confdefs.h. */
17962 $ac_includes_default
17966 static struct stat ac_aggr;
17967 if (sizeof ac_aggr.st_rdev)
17973 rm -f conftest.$ac_objext
17974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17975 (eval $ac_compile) 2>conftest.er1
17977 grep -v '^ *+' conftest.er1 >conftest.err
17979 cat conftest.err >&5
17980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17981 (exit $ac_status); } &&
17982 { ac_try='test -z "$ac_c_werror_flag"
17983 || test ! -s conftest.err'
17984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17985 (eval $ac_try) 2>&5
17987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17988 (exit $ac_status); }; } &&
17989 { ac_try='test -s conftest.$ac_objext'
17990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17991 (eval $ac_try) 2>&5
17993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17994 (exit $ac_status); }; }; then
17995 ac_cv_member_struct_stat_st_rdev=yes
17997 echo "$as_me: failed program was:" >&5
17998 sed 's/^/| /' conftest.$ac_ext >&5
18000 ac_cv_member_struct_stat_st_rdev=no
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18006 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18007 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18008 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define HAVE_STRUCT_STAT_ST_RDEV 1
18018 # Check for library functions.
18027 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18030 echo "$as_me:$LINENO: checking for $ac_func" >&5
18031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18032 if eval "test \"\${$as_ac_var+set}\" = set"; then
18033 echo $ECHO_N "(cached) $ECHO_C" >&6
18035 if test x$gcc_no_link = xyes; then
18036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18038 { (exit 1); exit 1; }; }
18040 cat >conftest.$ac_ext <<_ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18048 #define $ac_func innocuous_$ac_func
18050 /* System header to define __stub macros and hopefully few prototypes,
18051 which can conflict with char $ac_func (); below.
18052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18053 <limits.h> exists even on freestanding compilers. */
18056 # include <limits.h>
18058 # include <assert.h>
18063 /* Override any gcc2 internal prototype to avoid an error. */
18068 /* We use char because int might match the return type of a gcc2
18069 builtin and then its argument prototype would still apply. */
18071 /* The GNU C library defines this for functions which it implements
18072 to always fail with ENOSYS. Some functions are actually named
18073 something starting with __ and the normal name is an alias. */
18074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18077 char (*f) () = $ac_func;
18086 return f != $ac_func;
18091 rm -f conftest.$ac_objext conftest$ac_exeext
18092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18093 (eval $ac_link) 2>conftest.er1
18095 grep -v '^ *+' conftest.er1 >conftest.err
18097 cat conftest.err >&5
18098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18099 (exit $ac_status); } &&
18100 { ac_try='test -z "$ac_c_werror_flag"
18101 || test ! -s conftest.err'
18102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18103 (eval $ac_try) 2>&5
18105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18106 (exit $ac_status); }; } &&
18107 { ac_try='test -s conftest$ac_exeext'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; }; then
18113 eval "$as_ac_var=yes"
18115 echo "$as_me: failed program was:" >&5
18116 sed 's/^/| /' conftest.$ac_ext >&5
18118 eval "$as_ac_var=no"
18120 rm -f conftest.err conftest.$ac_objext \
18121 conftest$ac_exeext conftest.$ac_ext
18123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18125 if test `eval echo '${'$as_ac_var'}'` = yes; then
18126 cat >>confdefs.h <<_ACEOF
18127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18141 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18144 echo "$as_me:$LINENO: checking for $ac_func" >&5
18145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18146 if eval "test \"\${$as_ac_var+set}\" = set"; then
18147 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 if test x$gcc_no_link = xyes; then
18150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18152 { (exit 1); exit 1; }; }
18154 cat >conftest.$ac_ext <<_ACEOF
18157 cat confdefs.h >>conftest.$ac_ext
18158 cat >>conftest.$ac_ext <<_ACEOF
18159 /* end confdefs.h. */
18160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18162 #define $ac_func innocuous_$ac_func
18164 /* System header to define __stub macros and hopefully few prototypes,
18165 which can conflict with char $ac_func (); below.
18166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18167 <limits.h> exists even on freestanding compilers. */
18170 # include <limits.h>
18172 # include <assert.h>
18177 /* Override any gcc2 internal prototype to avoid an error. */
18182 /* We use char because int might match the return type of a gcc2
18183 builtin and then its argument prototype would still apply. */
18185 /* The GNU C library defines this for functions which it implements
18186 to always fail with ENOSYS. Some functions are actually named
18187 something starting with __ and the normal name is an alias. */
18188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18191 char (*f) () = $ac_func;
18200 return f != $ac_func;
18205 rm -f conftest.$ac_objext conftest$ac_exeext
18206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18207 (eval $ac_link) 2>conftest.er1
18209 grep -v '^ *+' conftest.er1 >conftest.err
18211 cat conftest.err >&5
18212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18213 (exit $ac_status); } &&
18214 { ac_try='test -z "$ac_c_werror_flag"
18215 || test ! -s conftest.err'
18216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18217 (eval $ac_try) 2>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); }; } &&
18221 { ac_try='test -s conftest$ac_exeext'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; }; then
18227 eval "$as_ac_var=yes"
18229 echo "$as_me: failed program was:" >&5
18230 sed 's/^/| /' conftest.$ac_ext >&5
18232 eval "$as_ac_var=no"
18234 rm -f conftest.err conftest.$ac_objext \
18235 conftest$ac_exeext conftest.$ac_ext
18237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18239 if test `eval echo '${'$as_ac_var'}'` = yes; then
18240 cat >>confdefs.h <<_ACEOF
18241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18257 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18260 echo "$as_me:$LINENO: checking for $ac_func" >&5
18261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18262 if eval "test \"\${$as_ac_var+set}\" = set"; then
18263 echo $ECHO_N "(cached) $ECHO_C" >&6
18265 if test x$gcc_no_link = xyes; then
18266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18268 { (exit 1); exit 1; }; }
18270 cat >conftest.$ac_ext <<_ACEOF
18273 cat confdefs.h >>conftest.$ac_ext
18274 cat >>conftest.$ac_ext <<_ACEOF
18275 /* end confdefs.h. */
18276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18278 #define $ac_func innocuous_$ac_func
18280 /* System header to define __stub macros and hopefully few prototypes,
18281 which can conflict with char $ac_func (); below.
18282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18283 <limits.h> exists even on freestanding compilers. */
18286 # include <limits.h>
18288 # include <assert.h>
18293 /* Override any gcc2 internal prototype to avoid an error. */
18298 /* We use char because int might match the return type of a gcc2
18299 builtin and then its argument prototype would still apply. */
18301 /* The GNU C library defines this for functions which it implements
18302 to always fail with ENOSYS. Some functions are actually named
18303 something starting with __ and the normal name is an alias. */
18304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18307 char (*f) () = $ac_func;
18316 return f != $ac_func;
18321 rm -f conftest.$ac_objext conftest$ac_exeext
18322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18323 (eval $ac_link) 2>conftest.er1
18325 grep -v '^ *+' conftest.er1 >conftest.err
18327 cat conftest.err >&5
18328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18329 (exit $ac_status); } &&
18330 { ac_try='test -z "$ac_c_werror_flag"
18331 || test ! -s conftest.err'
18332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18333 (eval $ac_try) 2>&5
18335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18336 (exit $ac_status); }; } &&
18337 { ac_try='test -s conftest$ac_exeext'
18338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18339 (eval $ac_try) 2>&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); }; }; then
18343 eval "$as_ac_var=yes"
18345 echo "$as_me: failed program was:" >&5
18346 sed 's/^/| /' conftest.$ac_ext >&5
18348 eval "$as_ac_var=no"
18350 rm -f conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18355 if test `eval echo '${'$as_ac_var'}'` = yes; then
18356 cat >>confdefs.h <<_ACEOF
18357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18372 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18375 echo "$as_me:$LINENO: checking for $ac_func" >&5
18376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18377 if eval "test \"\${$as_ac_var+set}\" = set"; then
18378 echo $ECHO_N "(cached) $ECHO_C" >&6
18380 if test x$gcc_no_link = xyes; then
18381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18383 { (exit 1); exit 1; }; }
18385 cat >conftest.$ac_ext <<_ACEOF
18388 cat confdefs.h >>conftest.$ac_ext
18389 cat >>conftest.$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18392 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18393 #define $ac_func innocuous_$ac_func
18395 /* System header to define __stub macros and hopefully few prototypes,
18396 which can conflict with char $ac_func (); below.
18397 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18398 <limits.h> exists even on freestanding compilers. */
18401 # include <limits.h>
18403 # include <assert.h>
18408 /* Override any gcc2 internal prototype to avoid an error. */
18413 /* We use char because int might match the return type of a gcc2
18414 builtin and then its argument prototype would still apply. */
18416 /* The GNU C library defines this for functions which it implements
18417 to always fail with ENOSYS. Some functions are actually named
18418 something starting with __ and the normal name is an alias. */
18419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18422 char (*f) () = $ac_func;
18431 return f != $ac_func;
18436 rm -f conftest.$ac_objext conftest$ac_exeext
18437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18438 (eval $ac_link) 2>conftest.er1
18440 grep -v '^ *+' conftest.er1 >conftest.err
18442 cat conftest.err >&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); } &&
18445 { ac_try='test -z "$ac_c_werror_flag"
18446 || test ! -s conftest.err'
18447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18448 (eval $ac_try) 2>&5
18450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18451 (exit $ac_status); }; } &&
18452 { ac_try='test -s conftest$ac_exeext'
18453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18454 (eval $ac_try) 2>&5
18456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18457 (exit $ac_status); }; }; then
18458 eval "$as_ac_var=yes"
18460 echo "$as_me: failed program was:" >&5
18461 sed 's/^/| /' conftest.$ac_ext >&5
18463 eval "$as_ac_var=no"
18465 rm -f conftest.err conftest.$ac_objext \
18466 conftest$ac_exeext conftest.$ac_ext
18468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18470 if test `eval echo '${'$as_ac_var'}'` = yes; then
18471 cat >>confdefs.h <<_ACEOF
18472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18486 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
18488 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18489 echo "$as_me:$LINENO: checking for $ac_func" >&5
18490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18491 if eval "test \"\${$as_ac_var+set}\" = set"; then
18492 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 if test x$gcc_no_link = xyes; then
18495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18497 { (exit 1); exit 1; }; }
18499 cat >conftest.$ac_ext <<_ACEOF
18502 cat confdefs.h >>conftest.$ac_ext
18503 cat >>conftest.$ac_ext <<_ACEOF
18504 /* end confdefs.h. */
18505 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18507 #define $ac_func innocuous_$ac_func
18509 /* System header to define __stub macros and hopefully few prototypes,
18510 which can conflict with char $ac_func (); below.
18511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18512 <limits.h> exists even on freestanding compilers. */
18515 # include <limits.h>
18517 # include <assert.h>
18522 /* Override any gcc2 internal prototype to avoid an error. */
18527 /* We use char because int might match the return type of a gcc2
18528 builtin and then its argument prototype would still apply. */
18530 /* The GNU C library defines this for functions which it implements
18531 to always fail with ENOSYS. Some functions are actually named
18532 something starting with __ and the normal name is an alias. */
18533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18536 char (*f) () = $ac_func;
18545 return f != $ac_func;
18550 rm -f conftest.$ac_objext conftest$ac_exeext
18551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18552 (eval $ac_link) 2>conftest.er1
18554 grep -v '^ *+' conftest.er1 >conftest.err
18556 cat conftest.err >&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); } &&
18559 { ac_try='test -z "$ac_c_werror_flag"
18560 || test ! -s conftest.err'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; } &&
18566 { ac_try='test -s conftest$ac_exeext'
18567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18568 (eval $ac_try) 2>&5
18570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18571 (exit $ac_status); }; }; then
18572 eval "$as_ac_var=yes"
18574 echo "$as_me: failed program was:" >&5
18575 sed 's/^/| /' conftest.$ac_ext >&5
18577 eval "$as_ac_var=no"
18579 rm -f conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18583 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18584 if test `eval echo '${'$as_ac_var'}'` = yes; then
18585 cat >>confdefs.h <<_ACEOF
18586 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18593 # Check for glibc backtrace functions
18596 for ac_func in backtrace backtrace_symbols
18598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18599 echo "$as_me:$LINENO: checking for $ac_func" >&5
18600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18601 if eval "test \"\${$as_ac_var+set}\" = set"; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 if test x$gcc_no_link = xyes; then
18605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18607 { (exit 1); exit 1; }; }
18609 cat >conftest.$ac_ext <<_ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18617 #define $ac_func innocuous_$ac_func
18619 /* System header to define __stub macros and hopefully few prototypes,
18620 which can conflict with char $ac_func (); below.
18621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18622 <limits.h> exists even on freestanding compilers. */
18625 # include <limits.h>
18627 # include <assert.h>
18632 /* Override any gcc2 internal prototype to avoid an error. */
18637 /* We use char because int might match the return type of a gcc2
18638 builtin and then its argument prototype would still apply. */
18640 /* The GNU C library defines this for functions which it implements
18641 to always fail with ENOSYS. Some functions are actually named
18642 something starting with __ and the normal name is an alias. */
18643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18646 char (*f) () = $ac_func;
18655 return f != $ac_func;
18660 rm -f conftest.$ac_objext conftest$ac_exeext
18661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18662 (eval $ac_link) 2>conftest.er1
18664 grep -v '^ *+' conftest.er1 >conftest.err
18666 cat conftest.err >&5
18667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18668 (exit $ac_status); } &&
18669 { ac_try='test -z "$ac_c_werror_flag"
18670 || test ! -s conftest.err'
18671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18672 (eval $ac_try) 2>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); }; } &&
18676 { ac_try='test -s conftest$ac_exeext'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; }; then
18682 eval "$as_ac_var=yes"
18684 echo "$as_me: failed program was:" >&5
18685 sed 's/^/| /' conftest.$ac_ext >&5
18687 eval "$as_ac_var=no"
18689 rm -f conftest.err conftest.$ac_objext \
18690 conftest$ac_exeext conftest.$ac_ext
18692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18694 if test `eval echo '${'$as_ac_var'}'` = yes; then
18695 cat >>confdefs.h <<_ACEOF
18696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18704 echo "$as_me:$LINENO: checking for intptr_t" >&5
18705 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18706 if test "${ac_cv_type_intptr_t+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18709 cat >conftest.$ac_ext <<_ACEOF
18712 cat confdefs.h >>conftest.$ac_ext
18713 cat >>conftest.$ac_ext <<_ACEOF
18714 /* end confdefs.h. */
18715 $ac_includes_default
18719 if ((intptr_t *) 0)
18721 if (sizeof (intptr_t))
18727 rm -f conftest.$ac_objext
18728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18729 (eval $ac_compile) 2>conftest.er1
18731 grep -v '^ *+' conftest.er1 >conftest.err
18733 cat conftest.err >&5
18734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18735 (exit $ac_status); } &&
18736 { ac_try='test -z "$ac_c_werror_flag"
18737 || test ! -s conftest.err'
18738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18739 (eval $ac_try) 2>&5
18741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18742 (exit $ac_status); }; } &&
18743 { ac_try='test -s conftest.$ac_objext'
18744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18745 (eval $ac_try) 2>&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); }; }; then
18749 ac_cv_type_intptr_t=yes
18751 echo "$as_me: failed program was:" >&5
18752 sed 's/^/| /' conftest.$ac_ext >&5
18754 ac_cv_type_intptr_t=no
18756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18758 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18759 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18760 if test $ac_cv_type_intptr_t = yes; then
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_INTPTR_T 1
18770 # Check libc for getgid, getpid, getuid
18771 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18772 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18773 if test "${ac_cv_lib_c_getgid+set}" = set; then
18774 echo $ECHO_N "(cached) $ECHO_C" >&6
18776 ac_check_lib_save_LIBS=$LIBS
18778 if test x$gcc_no_link = xyes; then
18779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18781 { (exit 1); exit 1; }; }
18783 cat >conftest.$ac_ext <<_ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18790 /* Override any gcc2 internal prototype to avoid an error. */
18794 /* We use char because int might match the return type of a gcc2
18795 builtin and then its argument prototype would still apply. */
18805 rm -f conftest.$ac_objext conftest$ac_exeext
18806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18807 (eval $ac_link) 2>conftest.er1
18809 grep -v '^ *+' conftest.er1 >conftest.err
18811 cat conftest.err >&5
18812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18813 (exit $ac_status); } &&
18814 { ac_try='test -z "$ac_c_werror_flag"
18815 || test ! -s conftest.err'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; } &&
18821 { ac_try='test -s conftest$ac_exeext'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; }; then
18827 ac_cv_lib_c_getgid=yes
18829 echo "$as_me: failed program was:" >&5
18830 sed 's/^/| /' conftest.$ac_ext >&5
18832 ac_cv_lib_c_getgid=no
18834 rm -f conftest.err conftest.$ac_objext \
18835 conftest$ac_exeext conftest.$ac_ext
18836 LIBS=$ac_check_lib_save_LIBS
18838 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18839 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18840 if test $ac_cv_lib_c_getgid = yes; then
18842 cat >>confdefs.h <<\_ACEOF
18843 #define HAVE_GETGID 1
18848 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18849 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18850 if test "${ac_cv_lib_c_getpid+set}" = set; then
18851 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 ac_check_lib_save_LIBS=$LIBS
18855 if test x$gcc_no_link = xyes; then
18856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18858 { (exit 1); exit 1; }; }
18860 cat >conftest.$ac_ext <<_ACEOF
18863 cat confdefs.h >>conftest.$ac_ext
18864 cat >>conftest.$ac_ext <<_ACEOF
18865 /* end confdefs.h. */
18867 /* Override any gcc2 internal prototype to avoid an error. */
18871 /* We use char because int might match the return type of a gcc2
18872 builtin and then its argument prototype would still apply. */
18882 rm -f conftest.$ac_objext conftest$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18884 (eval $ac_link) 2>conftest.er1
18886 grep -v '^ *+' conftest.er1 >conftest.err
18888 cat conftest.err >&5
18889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18890 (exit $ac_status); } &&
18891 { ac_try='test -z "$ac_c_werror_flag"
18892 || test ! -s conftest.err'
18893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18894 (eval $ac_try) 2>&5
18896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18897 (exit $ac_status); }; } &&
18898 { ac_try='test -s conftest$ac_exeext'
18899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18900 (eval $ac_try) 2>&5
18902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18903 (exit $ac_status); }; }; then
18904 ac_cv_lib_c_getpid=yes
18906 echo "$as_me: failed program was:" >&5
18907 sed 's/^/| /' conftest.$ac_ext >&5
18909 ac_cv_lib_c_getpid=no
18911 rm -f conftest.err conftest.$ac_objext \
18912 conftest$ac_exeext conftest.$ac_ext
18913 LIBS=$ac_check_lib_save_LIBS
18915 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18916 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18917 if test $ac_cv_lib_c_getpid = yes; then
18919 cat >>confdefs.h <<\_ACEOF
18920 #define HAVE_GETPID 1
18925 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18926 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18927 if test "${ac_cv_lib_c_getppid+set}" = set; then
18928 echo $ECHO_N "(cached) $ECHO_C" >&6
18930 ac_check_lib_save_LIBS=$LIBS
18932 if test x$gcc_no_link = xyes; then
18933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18935 { (exit 1); exit 1; }; }
18937 cat >conftest.$ac_ext <<_ACEOF
18940 cat confdefs.h >>conftest.$ac_ext
18941 cat >>conftest.$ac_ext <<_ACEOF
18942 /* end confdefs.h. */
18944 /* Override any gcc2 internal prototype to avoid an error. */
18948 /* We use char because int might match the return type of a gcc2
18949 builtin and then its argument prototype would still apply. */
18959 rm -f conftest.$ac_objext conftest$ac_exeext
18960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18961 (eval $ac_link) 2>conftest.er1
18963 grep -v '^ *+' conftest.er1 >conftest.err
18965 cat conftest.err >&5
18966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18967 (exit $ac_status); } &&
18968 { ac_try='test -z "$ac_c_werror_flag"
18969 || test ! -s conftest.err'
18970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18971 (eval $ac_try) 2>&5
18973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18974 (exit $ac_status); }; } &&
18975 { ac_try='test -s conftest$ac_exeext'
18976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18977 (eval $ac_try) 2>&5
18979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18980 (exit $ac_status); }; }; then
18981 ac_cv_lib_c_getppid=yes
18983 echo "$as_me: failed program was:" >&5
18984 sed 's/^/| /' conftest.$ac_ext >&5
18986 ac_cv_lib_c_getppid=no
18988 rm -f conftest.err conftest.$ac_objext \
18989 conftest$ac_exeext conftest.$ac_ext
18990 LIBS=$ac_check_lib_save_LIBS
18992 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
18993 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
18994 if test $ac_cv_lib_c_getppid = yes; then
18996 cat >>confdefs.h <<\_ACEOF
18997 #define HAVE_GETPPID 1
19002 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19003 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19004 if test "${ac_cv_lib_c_getuid+set}" = set; then
19005 echo $ECHO_N "(cached) $ECHO_C" >&6
19007 ac_check_lib_save_LIBS=$LIBS
19009 if test x$gcc_no_link = xyes; then
19010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19012 { (exit 1); exit 1; }; }
19014 cat >conftest.$ac_ext <<_ACEOF
19017 cat confdefs.h >>conftest.$ac_ext
19018 cat >>conftest.$ac_ext <<_ACEOF
19019 /* end confdefs.h. */
19021 /* Override any gcc2 internal prototype to avoid an error. */
19025 /* We use char because int might match the return type of a gcc2
19026 builtin and then its argument prototype would still apply. */
19036 rm -f conftest.$ac_objext conftest$ac_exeext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19038 (eval $ac_link) 2>conftest.er1
19040 grep -v '^ *+' conftest.er1 >conftest.err
19042 cat conftest.err >&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); } &&
19045 { ac_try='test -z "$ac_c_werror_flag"
19046 || test ! -s conftest.err'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; } &&
19052 { ac_try='test -s conftest$ac_exeext'
19053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054 (eval $ac_try) 2>&5
19056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057 (exit $ac_status); }; }; then
19058 ac_cv_lib_c_getuid=yes
19060 echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19063 ac_cv_lib_c_getuid=no
19065 rm -f conftest.err conftest.$ac_objext \
19066 conftest$ac_exeext conftest.$ac_ext
19067 LIBS=$ac_check_lib_save_LIBS
19069 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19070 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19071 if test $ac_cv_lib_c_getuid = yes; then
19073 cat >>confdefs.h <<\_ACEOF
19074 #define HAVE_GETUID 1
19079 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19080 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19081 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19082 echo $ECHO_N "(cached) $ECHO_C" >&6
19084 ac_check_lib_save_LIBS=$LIBS
19086 if test x$gcc_no_link = xyes; then
19087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19089 { (exit 1); exit 1; }; }
19091 cat >conftest.$ac_ext <<_ACEOF
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19098 /* Override any gcc2 internal prototype to avoid an error. */
19102 /* We use char because int might match the return type of a gcc2
19103 builtin and then its argument prototype would still apply. */
19113 rm -f conftest.$ac_objext conftest$ac_exeext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19115 (eval $ac_link) 2>conftest.er1
19117 grep -v '^ *+' conftest.er1 >conftest.err
19119 cat conftest.err >&5
19120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19121 (exit $ac_status); } &&
19122 { ac_try='test -z "$ac_c_werror_flag"
19123 || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try='test -s conftest$ac_exeext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_cv_lib_c_geteuid=yes
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.$ac_ext >&5
19140 ac_cv_lib_c_geteuid=no
19142 rm -f conftest.err conftest.$ac_objext \
19143 conftest$ac_exeext conftest.$ac_ext
19144 LIBS=$ac_check_lib_save_LIBS
19146 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19147 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19148 if test $ac_cv_lib_c_geteuid = yes; then
19150 cat >>confdefs.h <<\_ACEOF
19151 #define HAVE_GETEUID 1
19157 # Check for C99 (and other IEEE) math functions
19158 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19159 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19160 if test "${ac_cv_lib_m_acosf+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 ac_check_lib_save_LIBS=$LIBS
19165 if test x$gcc_no_link = xyes; then
19166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19168 { (exit 1); exit 1; }; }
19170 cat >conftest.$ac_ext <<_ACEOF
19173 cat confdefs.h >>conftest.$ac_ext
19174 cat >>conftest.$ac_ext <<_ACEOF
19175 /* end confdefs.h. */
19177 /* Override any gcc2 internal prototype to avoid an error. */
19181 /* We use char because int might match the return type of a gcc2
19182 builtin and then its argument prototype would still apply. */
19192 rm -f conftest.$ac_objext conftest$ac_exeext
19193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19194 (eval $ac_link) 2>conftest.er1
19196 grep -v '^ *+' conftest.er1 >conftest.err
19198 cat conftest.err >&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); } &&
19201 { ac_try='test -z "$ac_c_werror_flag"
19202 || test ! -s conftest.err'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; } &&
19208 { ac_try='test -s conftest$ac_exeext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 ac_cv_lib_m_acosf=yes
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.$ac_ext >&5
19219 ac_cv_lib_m_acosf=no
19221 rm -f conftest.err conftest.$ac_objext \
19222 conftest$ac_exeext conftest.$ac_ext
19223 LIBS=$ac_check_lib_save_LIBS
19225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19226 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19227 if test $ac_cv_lib_m_acosf = yes; then
19229 cat >>confdefs.h <<\_ACEOF
19230 #define HAVE_ACOSF 1
19235 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19236 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19237 if test "${ac_cv_lib_m_acos+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 ac_check_lib_save_LIBS=$LIBS
19242 if test x$gcc_no_link = xyes; then
19243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19245 { (exit 1); exit 1; }; }
19247 cat >conftest.$ac_ext <<_ACEOF
19250 cat confdefs.h >>conftest.$ac_ext
19251 cat >>conftest.$ac_ext <<_ACEOF
19252 /* end confdefs.h. */
19254 /* Override any gcc2 internal prototype to avoid an error. */
19258 /* We use char because int might match the return type of a gcc2
19259 builtin and then its argument prototype would still apply. */
19269 rm -f conftest.$ac_objext conftest$ac_exeext
19270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19271 (eval $ac_link) 2>conftest.er1
19273 grep -v '^ *+' conftest.er1 >conftest.err
19275 cat conftest.err >&5
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); } &&
19278 { ac_try='test -z "$ac_c_werror_flag"
19279 || test ! -s conftest.err'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; } &&
19285 { ac_try='test -s conftest$ac_exeext'
19286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19287 (eval $ac_try) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); }; }; then
19291 ac_cv_lib_m_acos=yes
19293 echo "$as_me: failed program was:" >&5
19294 sed 's/^/| /' conftest.$ac_ext >&5
19296 ac_cv_lib_m_acos=no
19298 rm -f conftest.err conftest.$ac_objext \
19299 conftest$ac_exeext conftest.$ac_ext
19300 LIBS=$ac_check_lib_save_LIBS
19302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19303 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19304 if test $ac_cv_lib_m_acos = yes; then
19306 cat >>confdefs.h <<\_ACEOF
19307 #define HAVE_ACOS 1
19312 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19313 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19314 if test "${ac_cv_lib_m_acosl+set}" = set; then
19315 echo $ECHO_N "(cached) $ECHO_C" >&6
19317 ac_check_lib_save_LIBS=$LIBS
19319 if test x$gcc_no_link = xyes; then
19320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19322 { (exit 1); exit 1; }; }
19324 cat >conftest.$ac_ext <<_ACEOF
19327 cat confdefs.h >>conftest.$ac_ext
19328 cat >>conftest.$ac_ext <<_ACEOF
19329 /* end confdefs.h. */
19331 /* Override any gcc2 internal prototype to avoid an error. */
19335 /* We use char because int might match the return type of a gcc2
19336 builtin and then its argument prototype would still apply. */
19346 rm -f conftest.$ac_objext conftest$ac_exeext
19347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19348 (eval $ac_link) 2>conftest.er1
19350 grep -v '^ *+' conftest.er1 >conftest.err
19352 cat conftest.err >&5
19353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19354 (exit $ac_status); } &&
19355 { ac_try='test -z "$ac_c_werror_flag"
19356 || test ! -s conftest.err'
19357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19358 (eval $ac_try) 2>&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); }; } &&
19362 { ac_try='test -s conftest$ac_exeext'
19363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19364 (eval $ac_try) 2>&5
19366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19367 (exit $ac_status); }; }; then
19368 ac_cv_lib_m_acosl=yes
19370 echo "$as_me: failed program was:" >&5
19371 sed 's/^/| /' conftest.$ac_ext >&5
19373 ac_cv_lib_m_acosl=no
19375 rm -f conftest.err conftest.$ac_objext \
19376 conftest$ac_exeext conftest.$ac_ext
19377 LIBS=$ac_check_lib_save_LIBS
19379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19380 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19381 if test $ac_cv_lib_m_acosl = yes; then
19383 cat >>confdefs.h <<\_ACEOF
19384 #define HAVE_ACOSL 1
19389 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19390 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19391 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 ac_check_lib_save_LIBS=$LIBS
19396 if test x$gcc_no_link = xyes; then
19397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19399 { (exit 1); exit 1; }; }
19401 cat >conftest.$ac_ext <<_ACEOF
19404 cat confdefs.h >>conftest.$ac_ext
19405 cat >>conftest.$ac_ext <<_ACEOF
19406 /* end confdefs.h. */
19408 /* Override any gcc2 internal prototype to avoid an error. */
19412 /* We use char because int might match the return type of a gcc2
19413 builtin and then its argument prototype would still apply. */
19423 rm -f conftest.$ac_objext conftest$ac_exeext
19424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19425 (eval $ac_link) 2>conftest.er1
19427 grep -v '^ *+' conftest.er1 >conftest.err
19429 cat conftest.err >&5
19430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431 (exit $ac_status); } &&
19432 { ac_try='test -z "$ac_c_werror_flag"
19433 || test ! -s conftest.err'
19434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19435 (eval $ac_try) 2>&5
19437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19438 (exit $ac_status); }; } &&
19439 { ac_try='test -s conftest$ac_exeext'
19440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19441 (eval $ac_try) 2>&5
19443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19444 (exit $ac_status); }; }; then
19445 ac_cv_lib_m_acoshf=yes
19447 echo "$as_me: failed program was:" >&5
19448 sed 's/^/| /' conftest.$ac_ext >&5
19450 ac_cv_lib_m_acoshf=no
19452 rm -f conftest.err conftest.$ac_objext \
19453 conftest$ac_exeext conftest.$ac_ext
19454 LIBS=$ac_check_lib_save_LIBS
19456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19457 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19458 if test $ac_cv_lib_m_acoshf = yes; then
19460 cat >>confdefs.h <<\_ACEOF
19461 #define HAVE_ACOSHF 1
19466 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19467 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19468 if test "${ac_cv_lib_m_acosh+set}" = set; then
19469 echo $ECHO_N "(cached) $ECHO_C" >&6
19471 ac_check_lib_save_LIBS=$LIBS
19473 if test x$gcc_no_link = xyes; then
19474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19476 { (exit 1); exit 1; }; }
19478 cat >conftest.$ac_ext <<_ACEOF
19481 cat confdefs.h >>conftest.$ac_ext
19482 cat >>conftest.$ac_ext <<_ACEOF
19483 /* end confdefs.h. */
19485 /* Override any gcc2 internal prototype to avoid an error. */
19489 /* We use char because int might match the return type of a gcc2
19490 builtin and then its argument prototype would still apply. */
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502 (eval $ac_link) 2>conftest.er1
19504 grep -v '^ *+' conftest.er1 >conftest.err
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag"
19510 || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest$ac_exeext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 ac_cv_lib_m_acosh=yes
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 ac_cv_lib_m_acosh=no
19529 rm -f conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19531 LIBS=$ac_check_lib_save_LIBS
19533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19534 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19535 if test $ac_cv_lib_m_acosh = yes; then
19537 cat >>confdefs.h <<\_ACEOF
19538 #define HAVE_ACOSH 1
19543 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19544 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19545 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19548 ac_check_lib_save_LIBS=$LIBS
19550 if test x$gcc_no_link = xyes; then
19551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19553 { (exit 1); exit 1; }; }
19555 cat >conftest.$ac_ext <<_ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19562 /* Override any gcc2 internal prototype to avoid an error. */
19566 /* We use char because int might match the return type of a gcc2
19567 builtin and then its argument prototype would still apply. */
19577 rm -f conftest.$ac_objext conftest$ac_exeext
19578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19579 (eval $ac_link) 2>conftest.er1
19581 grep -v '^ *+' conftest.er1 >conftest.err
19583 cat conftest.err >&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try='test -z "$ac_c_werror_flag"
19587 || test ! -s conftest.err'
19588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19589 (eval $ac_try) 2>&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); }; } &&
19593 { ac_try='test -s conftest$ac_exeext'
19594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19595 (eval $ac_try) 2>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); }; }; then
19599 ac_cv_lib_m_acoshl=yes
19601 echo "$as_me: failed program was:" >&5
19602 sed 's/^/| /' conftest.$ac_ext >&5
19604 ac_cv_lib_m_acoshl=no
19606 rm -f conftest.err conftest.$ac_objext \
19607 conftest$ac_exeext conftest.$ac_ext
19608 LIBS=$ac_check_lib_save_LIBS
19610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19611 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19612 if test $ac_cv_lib_m_acoshl = yes; then
19614 cat >>confdefs.h <<\_ACEOF
19615 #define HAVE_ACOSHL 1
19620 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19621 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19622 if test "${ac_cv_lib_m_asinf+set}" = set; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 ac_check_lib_save_LIBS=$LIBS
19627 if test x$gcc_no_link = xyes; then
19628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19630 { (exit 1); exit 1; }; }
19632 cat >conftest.$ac_ext <<_ACEOF
19635 cat confdefs.h >>conftest.$ac_ext
19636 cat >>conftest.$ac_ext <<_ACEOF
19637 /* end confdefs.h. */
19639 /* Override any gcc2 internal prototype to avoid an error. */
19643 /* We use char because int might match the return type of a gcc2
19644 builtin and then its argument prototype would still apply. */
19654 rm -f conftest.$ac_objext conftest$ac_exeext
19655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19656 (eval $ac_link) 2>conftest.er1
19658 grep -v '^ *+' conftest.er1 >conftest.err
19660 cat conftest.err >&5
19661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19662 (exit $ac_status); } &&
19663 { ac_try='test -z "$ac_c_werror_flag"
19664 || test ! -s conftest.err'
19665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19666 (eval $ac_try) 2>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); }; } &&
19670 { ac_try='test -s conftest$ac_exeext'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; }; then
19676 ac_cv_lib_m_asinf=yes
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 ac_cv_lib_m_asinf=no
19683 rm -f conftest.err conftest.$ac_objext \
19684 conftest$ac_exeext conftest.$ac_ext
19685 LIBS=$ac_check_lib_save_LIBS
19687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19688 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19689 if test $ac_cv_lib_m_asinf = yes; then
19691 cat >>confdefs.h <<\_ACEOF
19692 #define HAVE_ASINF 1
19697 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19698 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19699 if test "${ac_cv_lib_m_asin+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19702 ac_check_lib_save_LIBS=$LIBS
19704 if test x$gcc_no_link = xyes; then
19705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19707 { (exit 1); exit 1; }; }
19709 cat >conftest.$ac_ext <<_ACEOF
19712 cat confdefs.h >>conftest.$ac_ext
19713 cat >>conftest.$ac_ext <<_ACEOF
19714 /* end confdefs.h. */
19716 /* Override any gcc2 internal prototype to avoid an error. */
19720 /* We use char because int might match the return type of a gcc2
19721 builtin and then its argument prototype would still apply. */
19731 rm -f conftest.$ac_objext conftest$ac_exeext
19732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19733 (eval $ac_link) 2>conftest.er1
19735 grep -v '^ *+' conftest.er1 >conftest.err
19737 cat conftest.err >&5
19738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19739 (exit $ac_status); } &&
19740 { ac_try='test -z "$ac_c_werror_flag"
19741 || test ! -s conftest.err'
19742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19743 (eval $ac_try) 2>&5
19745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19746 (exit $ac_status); }; } &&
19747 { ac_try='test -s conftest$ac_exeext'
19748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19749 (eval $ac_try) 2>&5
19751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19752 (exit $ac_status); }; }; then
19753 ac_cv_lib_m_asin=yes
19755 echo "$as_me: failed program was:" >&5
19756 sed 's/^/| /' conftest.$ac_ext >&5
19758 ac_cv_lib_m_asin=no
19760 rm -f conftest.err conftest.$ac_objext \
19761 conftest$ac_exeext conftest.$ac_ext
19762 LIBS=$ac_check_lib_save_LIBS
19764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19765 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19766 if test $ac_cv_lib_m_asin = yes; then
19768 cat >>confdefs.h <<\_ACEOF
19769 #define HAVE_ASIN 1
19774 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19775 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19776 if test "${ac_cv_lib_m_asinl+set}" = set; then
19777 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 ac_check_lib_save_LIBS=$LIBS
19781 if test x$gcc_no_link = xyes; then
19782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19784 { (exit 1); exit 1; }; }
19786 cat >conftest.$ac_ext <<_ACEOF
19789 cat confdefs.h >>conftest.$ac_ext
19790 cat >>conftest.$ac_ext <<_ACEOF
19791 /* end confdefs.h. */
19793 /* Override any gcc2 internal prototype to avoid an error. */
19797 /* We use char because int might match the return type of a gcc2
19798 builtin and then its argument prototype would still apply. */
19808 rm -f conftest.$ac_objext conftest$ac_exeext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19810 (eval $ac_link) 2>conftest.er1
19812 grep -v '^ *+' conftest.er1 >conftest.err
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_c_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest$ac_exeext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 ac_cv_lib_m_asinl=yes
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 ac_cv_lib_m_asinl=no
19837 rm -f conftest.err conftest.$ac_objext \
19838 conftest$ac_exeext conftest.$ac_ext
19839 LIBS=$ac_check_lib_save_LIBS
19841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19842 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19843 if test $ac_cv_lib_m_asinl = yes; then
19845 cat >>confdefs.h <<\_ACEOF
19846 #define HAVE_ASINL 1
19851 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19852 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19853 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19854 echo $ECHO_N "(cached) $ECHO_C" >&6
19856 ac_check_lib_save_LIBS=$LIBS
19858 if test x$gcc_no_link = xyes; then
19859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19861 { (exit 1); exit 1; }; }
19863 cat >conftest.$ac_ext <<_ACEOF
19866 cat confdefs.h >>conftest.$ac_ext
19867 cat >>conftest.$ac_ext <<_ACEOF
19868 /* end confdefs.h. */
19870 /* Override any gcc2 internal prototype to avoid an error. */
19874 /* We use char because int might match the return type of a gcc2
19875 builtin and then its argument prototype would still apply. */
19885 rm -f conftest.$ac_objext conftest$ac_exeext
19886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19887 (eval $ac_link) 2>conftest.er1
19889 grep -v '^ *+' conftest.er1 >conftest.err
19891 cat conftest.err >&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } &&
19894 { ac_try='test -z "$ac_c_werror_flag"
19895 || test ! -s conftest.err'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; } &&
19901 { ac_try='test -s conftest$ac_exeext'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; }; then
19907 ac_cv_lib_m_asinhf=yes
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 ac_cv_lib_m_asinhf=no
19914 rm -f conftest.err conftest.$ac_objext \
19915 conftest$ac_exeext conftest.$ac_ext
19916 LIBS=$ac_check_lib_save_LIBS
19918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19919 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19920 if test $ac_cv_lib_m_asinhf = yes; then
19922 cat >>confdefs.h <<\_ACEOF
19923 #define HAVE_ASINHF 1
19928 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19929 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19930 if test "${ac_cv_lib_m_asinh+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 ac_check_lib_save_LIBS=$LIBS
19935 if test x$gcc_no_link = xyes; then
19936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19938 { (exit 1); exit 1; }; }
19940 cat >conftest.$ac_ext <<_ACEOF
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19947 /* Override any gcc2 internal prototype to avoid an error. */
19951 /* We use char because int might match the return type of a gcc2
19952 builtin and then its argument prototype would still apply. */
19962 rm -f conftest.$ac_objext conftest$ac_exeext
19963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19964 (eval $ac_link) 2>conftest.er1
19966 grep -v '^ *+' conftest.er1 >conftest.err
19968 cat conftest.err >&5
19969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19970 (exit $ac_status); } &&
19971 { ac_try='test -z "$ac_c_werror_flag"
19972 || test ! -s conftest.err'
19973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19974 (eval $ac_try) 2>&5
19976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19977 (exit $ac_status); }; } &&
19978 { ac_try='test -s conftest$ac_exeext'
19979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19980 (eval $ac_try) 2>&5
19982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19983 (exit $ac_status); }; }; then
19984 ac_cv_lib_m_asinh=yes
19986 echo "$as_me: failed program was:" >&5
19987 sed 's/^/| /' conftest.$ac_ext >&5
19989 ac_cv_lib_m_asinh=no
19991 rm -f conftest.err conftest.$ac_objext \
19992 conftest$ac_exeext conftest.$ac_ext
19993 LIBS=$ac_check_lib_save_LIBS
19995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
19996 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
19997 if test $ac_cv_lib_m_asinh = yes; then
19999 cat >>confdefs.h <<\_ACEOF
20000 #define HAVE_ASINH 1
20005 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20006 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20007 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20010 ac_check_lib_save_LIBS=$LIBS
20012 if test x$gcc_no_link = xyes; then
20013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20015 { (exit 1); exit 1; }; }
20017 cat >conftest.$ac_ext <<_ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20024 /* Override any gcc2 internal prototype to avoid an error. */
20028 /* We use char because int might match the return type of a gcc2
20029 builtin and then its argument prototype would still apply. */
20039 rm -f conftest.$ac_objext conftest$ac_exeext
20040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20041 (eval $ac_link) 2>conftest.er1
20043 grep -v '^ *+' conftest.er1 >conftest.err
20045 cat conftest.err >&5
20046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20047 (exit $ac_status); } &&
20048 { ac_try='test -z "$ac_c_werror_flag"
20049 || test ! -s conftest.err'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; } &&
20055 { ac_try='test -s conftest$ac_exeext'
20056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20057 (eval $ac_try) 2>&5
20059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20060 (exit $ac_status); }; }; then
20061 ac_cv_lib_m_asinhl=yes
20063 echo "$as_me: failed program was:" >&5
20064 sed 's/^/| /' conftest.$ac_ext >&5
20066 ac_cv_lib_m_asinhl=no
20068 rm -f conftest.err conftest.$ac_objext \
20069 conftest$ac_exeext conftest.$ac_ext
20070 LIBS=$ac_check_lib_save_LIBS
20072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20073 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20074 if test $ac_cv_lib_m_asinhl = yes; then
20076 cat >>confdefs.h <<\_ACEOF
20077 #define HAVE_ASINHL 1
20082 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20083 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20084 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20085 echo $ECHO_N "(cached) $ECHO_C" >&6
20087 ac_check_lib_save_LIBS=$LIBS
20089 if test x$gcc_no_link = xyes; then
20090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20092 { (exit 1); exit 1; }; }
20094 cat >conftest.$ac_ext <<_ACEOF
20097 cat confdefs.h >>conftest.$ac_ext
20098 cat >>conftest.$ac_ext <<_ACEOF
20099 /* end confdefs.h. */
20101 /* Override any gcc2 internal prototype to avoid an error. */
20105 /* We use char because int might match the return type of a gcc2
20106 builtin and then its argument prototype would still apply. */
20116 rm -f conftest.$ac_objext conftest$ac_exeext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20118 (eval $ac_link) 2>conftest.er1
20120 grep -v '^ *+' conftest.er1 >conftest.err
20122 cat conftest.err >&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try='test -z "$ac_c_werror_flag"
20126 || test ! -s conftest.err'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; } &&
20132 { ac_try='test -s conftest$ac_exeext'
20133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20134 (eval $ac_try) 2>&5
20136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20137 (exit $ac_status); }; }; then
20138 ac_cv_lib_m_atan2f=yes
20140 echo "$as_me: failed program was:" >&5
20141 sed 's/^/| /' conftest.$ac_ext >&5
20143 ac_cv_lib_m_atan2f=no
20145 rm -f conftest.err conftest.$ac_objext \
20146 conftest$ac_exeext conftest.$ac_ext
20147 LIBS=$ac_check_lib_save_LIBS
20149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20150 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20151 if test $ac_cv_lib_m_atan2f = yes; then
20153 cat >>confdefs.h <<\_ACEOF
20154 #define HAVE_ATAN2F 1
20159 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20160 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20161 if test "${ac_cv_lib_m_atan2+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20164 ac_check_lib_save_LIBS=$LIBS
20166 if test x$gcc_no_link = xyes; then
20167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20169 { (exit 1); exit 1; }; }
20171 cat >conftest.$ac_ext <<_ACEOF
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20178 /* Override any gcc2 internal prototype to avoid an error. */
20182 /* We use char because int might match the return type of a gcc2
20183 builtin and then its argument prototype would still apply. */
20193 rm -f conftest.$ac_objext conftest$ac_exeext
20194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20195 (eval $ac_link) 2>conftest.er1
20197 grep -v '^ *+' conftest.er1 >conftest.err
20199 cat conftest.err >&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); } &&
20202 { ac_try='test -z "$ac_c_werror_flag"
20203 || test ! -s conftest.err'
20204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20205 (eval $ac_try) 2>&5
20207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20208 (exit $ac_status); }; } &&
20209 { ac_try='test -s conftest$ac_exeext'
20210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20211 (eval $ac_try) 2>&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); }; }; then
20215 ac_cv_lib_m_atan2=yes
20217 echo "$as_me: failed program was:" >&5
20218 sed 's/^/| /' conftest.$ac_ext >&5
20220 ac_cv_lib_m_atan2=no
20222 rm -f conftest.err conftest.$ac_objext \
20223 conftest$ac_exeext conftest.$ac_ext
20224 LIBS=$ac_check_lib_save_LIBS
20226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20227 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20228 if test $ac_cv_lib_m_atan2 = yes; then
20230 cat >>confdefs.h <<\_ACEOF
20231 #define HAVE_ATAN2 1
20236 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20237 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20238 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20241 ac_check_lib_save_LIBS=$LIBS
20243 if test x$gcc_no_link = xyes; then
20244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20246 { (exit 1); exit 1; }; }
20248 cat >conftest.$ac_ext <<_ACEOF
20251 cat confdefs.h >>conftest.$ac_ext
20252 cat >>conftest.$ac_ext <<_ACEOF
20253 /* end confdefs.h. */
20255 /* Override any gcc2 internal prototype to avoid an error. */
20259 /* We use char because int might match the return type of a gcc2
20260 builtin and then its argument prototype would still apply. */
20270 rm -f conftest.$ac_objext conftest$ac_exeext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20272 (eval $ac_link) 2>conftest.er1
20274 grep -v '^ *+' conftest.er1 >conftest.err
20276 cat conftest.err >&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); } &&
20279 { ac_try='test -z "$ac_c_werror_flag"
20280 || test ! -s conftest.err'
20281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20282 (eval $ac_try) 2>&5
20284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20285 (exit $ac_status); }; } &&
20286 { ac_try='test -s conftest$ac_exeext'
20287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20288 (eval $ac_try) 2>&5
20290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20291 (exit $ac_status); }; }; then
20292 ac_cv_lib_m_atan2l=yes
20294 echo "$as_me: failed program was:" >&5
20295 sed 's/^/| /' conftest.$ac_ext >&5
20297 ac_cv_lib_m_atan2l=no
20299 rm -f conftest.err conftest.$ac_objext \
20300 conftest$ac_exeext conftest.$ac_ext
20301 LIBS=$ac_check_lib_save_LIBS
20303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20304 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20305 if test $ac_cv_lib_m_atan2l = yes; then
20307 cat >>confdefs.h <<\_ACEOF
20308 #define HAVE_ATAN2L 1
20313 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20314 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20315 if test "${ac_cv_lib_m_atanf+set}" = set; then
20316 echo $ECHO_N "(cached) $ECHO_C" >&6
20318 ac_check_lib_save_LIBS=$LIBS
20320 if test x$gcc_no_link = xyes; then
20321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20323 { (exit 1); exit 1; }; }
20325 cat >conftest.$ac_ext <<_ACEOF
20328 cat confdefs.h >>conftest.$ac_ext
20329 cat >>conftest.$ac_ext <<_ACEOF
20330 /* end confdefs.h. */
20332 /* Override any gcc2 internal prototype to avoid an error. */
20336 /* We use char because int might match the return type of a gcc2
20337 builtin and then its argument prototype would still apply. */
20347 rm -f conftest.$ac_objext conftest$ac_exeext
20348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20349 (eval $ac_link) 2>conftest.er1
20351 grep -v '^ *+' conftest.er1 >conftest.err
20353 cat conftest.err >&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); } &&
20356 { ac_try='test -z "$ac_c_werror_flag"
20357 || test ! -s conftest.err'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; } &&
20363 { ac_try='test -s conftest$ac_exeext'
20364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20365 (eval $ac_try) 2>&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); }; }; then
20369 ac_cv_lib_m_atanf=yes
20371 echo "$as_me: failed program was:" >&5
20372 sed 's/^/| /' conftest.$ac_ext >&5
20374 ac_cv_lib_m_atanf=no
20376 rm -f conftest.err conftest.$ac_objext \
20377 conftest$ac_exeext conftest.$ac_ext
20378 LIBS=$ac_check_lib_save_LIBS
20380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20381 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20382 if test $ac_cv_lib_m_atanf = yes; then
20384 cat >>confdefs.h <<\_ACEOF
20385 #define HAVE_ATANF 1
20390 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20391 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20392 if test "${ac_cv_lib_m_atan+set}" = set; then
20393 echo $ECHO_N "(cached) $ECHO_C" >&6
20395 ac_check_lib_save_LIBS=$LIBS
20397 if test x$gcc_no_link = xyes; then
20398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20400 { (exit 1); exit 1; }; }
20402 cat >conftest.$ac_ext <<_ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20409 /* Override any gcc2 internal prototype to avoid an error. */
20413 /* We use char because int might match the return type of a gcc2
20414 builtin and then its argument prototype would still apply. */
20424 rm -f conftest.$ac_objext conftest$ac_exeext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20426 (eval $ac_link) 2>conftest.er1
20428 grep -v '^ *+' conftest.er1 >conftest.err
20430 cat conftest.err >&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try='test -z "$ac_c_werror_flag"
20434 || test ! -s conftest.err'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; } &&
20440 { ac_try='test -s conftest$ac_exeext'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; }; then
20446 ac_cv_lib_m_atan=yes
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 ac_cv_lib_m_atan=no
20453 rm -f conftest.err conftest.$ac_objext \
20454 conftest$ac_exeext conftest.$ac_ext
20455 LIBS=$ac_check_lib_save_LIBS
20457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20458 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20459 if test $ac_cv_lib_m_atan = yes; then
20461 cat >>confdefs.h <<\_ACEOF
20462 #define HAVE_ATAN 1
20467 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20468 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20469 if test "${ac_cv_lib_m_atanl+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 ac_check_lib_save_LIBS=$LIBS
20474 if test x$gcc_no_link = xyes; then
20475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20477 { (exit 1); exit 1; }; }
20479 cat >conftest.$ac_ext <<_ACEOF
20482 cat confdefs.h >>conftest.$ac_ext
20483 cat >>conftest.$ac_ext <<_ACEOF
20484 /* end confdefs.h. */
20486 /* Override any gcc2 internal prototype to avoid an error. */
20490 /* We use char because int might match the return type of a gcc2
20491 builtin and then its argument prototype would still apply. */
20501 rm -f conftest.$ac_objext conftest$ac_exeext
20502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20503 (eval $ac_link) 2>conftest.er1
20505 grep -v '^ *+' conftest.er1 >conftest.err
20507 cat conftest.err >&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); } &&
20510 { ac_try='test -z "$ac_c_werror_flag"
20511 || test ! -s conftest.err'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; } &&
20517 { ac_try='test -s conftest$ac_exeext'
20518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20519 (eval $ac_try) 2>&5
20521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20522 (exit $ac_status); }; }; then
20523 ac_cv_lib_m_atanl=yes
20525 echo "$as_me: failed program was:" >&5
20526 sed 's/^/| /' conftest.$ac_ext >&5
20528 ac_cv_lib_m_atanl=no
20530 rm -f conftest.err conftest.$ac_objext \
20531 conftest$ac_exeext conftest.$ac_ext
20532 LIBS=$ac_check_lib_save_LIBS
20534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20535 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20536 if test $ac_cv_lib_m_atanl = yes; then
20538 cat >>confdefs.h <<\_ACEOF
20539 #define HAVE_ATANL 1
20544 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20545 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20546 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20547 echo $ECHO_N "(cached) $ECHO_C" >&6
20549 ac_check_lib_save_LIBS=$LIBS
20551 if test x$gcc_no_link = xyes; then
20552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20554 { (exit 1); exit 1; }; }
20556 cat >conftest.$ac_ext <<_ACEOF
20559 cat confdefs.h >>conftest.$ac_ext
20560 cat >>conftest.$ac_ext <<_ACEOF
20561 /* end confdefs.h. */
20563 /* Override any gcc2 internal prototype to avoid an error. */
20567 /* We use char because int might match the return type of a gcc2
20568 builtin and then its argument prototype would still apply. */
20578 rm -f conftest.$ac_objext conftest$ac_exeext
20579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20580 (eval $ac_link) 2>conftest.er1
20582 grep -v '^ *+' conftest.er1 >conftest.err
20584 cat conftest.err >&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); } &&
20587 { ac_try='test -z "$ac_c_werror_flag"
20588 || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest$ac_exeext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 ac_cv_lib_m_atanhf=yes
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20605 ac_cv_lib_m_atanhf=no
20607 rm -f conftest.err conftest.$ac_objext \
20608 conftest$ac_exeext conftest.$ac_ext
20609 LIBS=$ac_check_lib_save_LIBS
20611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20612 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20613 if test $ac_cv_lib_m_atanhf = yes; then
20615 cat >>confdefs.h <<\_ACEOF
20616 #define HAVE_ATANHF 1
20621 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20622 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20623 if test "${ac_cv_lib_m_atanh+set}" = set; then
20624 echo $ECHO_N "(cached) $ECHO_C" >&6
20626 ac_check_lib_save_LIBS=$LIBS
20628 if test x$gcc_no_link = xyes; then
20629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20631 { (exit 1); exit 1; }; }
20633 cat >conftest.$ac_ext <<_ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20640 /* Override any gcc2 internal prototype to avoid an error. */
20644 /* We use char because int might match the return type of a gcc2
20645 builtin and then its argument prototype would still apply. */
20655 rm -f conftest.$ac_objext conftest$ac_exeext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20657 (eval $ac_link) 2>conftest.er1
20659 grep -v '^ *+' conftest.er1 >conftest.err
20661 cat conftest.err >&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -z "$ac_c_werror_flag"
20665 || test ! -s conftest.err'
20666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20667 (eval $ac_try) 2>&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); }; } &&
20671 { ac_try='test -s conftest$ac_exeext'
20672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20673 (eval $ac_try) 2>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); }; }; then
20677 ac_cv_lib_m_atanh=yes
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20682 ac_cv_lib_m_atanh=no
20684 rm -f conftest.err conftest.$ac_objext \
20685 conftest$ac_exeext conftest.$ac_ext
20686 LIBS=$ac_check_lib_save_LIBS
20688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20689 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20690 if test $ac_cv_lib_m_atanh = yes; then
20692 cat >>confdefs.h <<\_ACEOF
20693 #define HAVE_ATANH 1
20698 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20699 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20700 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20701 echo $ECHO_N "(cached) $ECHO_C" >&6
20703 ac_check_lib_save_LIBS=$LIBS
20705 if test x$gcc_no_link = xyes; then
20706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20708 { (exit 1); exit 1; }; }
20710 cat >conftest.$ac_ext <<_ACEOF
20713 cat confdefs.h >>conftest.$ac_ext
20714 cat >>conftest.$ac_ext <<_ACEOF
20715 /* end confdefs.h. */
20717 /* Override any gcc2 internal prototype to avoid an error. */
20721 /* We use char because int might match the return type of a gcc2
20722 builtin and then its argument prototype would still apply. */
20732 rm -f conftest.$ac_objext conftest$ac_exeext
20733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20734 (eval $ac_link) 2>conftest.er1
20736 grep -v '^ *+' conftest.er1 >conftest.err
20738 cat conftest.err >&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); } &&
20741 { ac_try='test -z "$ac_c_werror_flag"
20742 || test ! -s conftest.err'
20743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20744 (eval $ac_try) 2>&5
20746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20747 (exit $ac_status); }; } &&
20748 { ac_try='test -s conftest$ac_exeext'
20749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20750 (eval $ac_try) 2>&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); }; }; then
20754 ac_cv_lib_m_atanhl=yes
20756 echo "$as_me: failed program was:" >&5
20757 sed 's/^/| /' conftest.$ac_ext >&5
20759 ac_cv_lib_m_atanhl=no
20761 rm -f conftest.err conftest.$ac_objext \
20762 conftest$ac_exeext conftest.$ac_ext
20763 LIBS=$ac_check_lib_save_LIBS
20765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20766 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20767 if test $ac_cv_lib_m_atanhl = yes; then
20769 cat >>confdefs.h <<\_ACEOF
20770 #define HAVE_ATANHL 1
20775 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20776 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20777 if test "${ac_cv_lib_m_cargf+set}" = set; then
20778 echo $ECHO_N "(cached) $ECHO_C" >&6
20780 ac_check_lib_save_LIBS=$LIBS
20782 if test x$gcc_no_link = xyes; then
20783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20785 { (exit 1); exit 1; }; }
20787 cat >conftest.$ac_ext <<_ACEOF
20790 cat confdefs.h >>conftest.$ac_ext
20791 cat >>conftest.$ac_ext <<_ACEOF
20792 /* end confdefs.h. */
20794 /* Override any gcc2 internal prototype to avoid an error. */
20798 /* We use char because int might match the return type of a gcc2
20799 builtin and then its argument prototype would still apply. */
20809 rm -f conftest.$ac_objext conftest$ac_exeext
20810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20811 (eval $ac_link) 2>conftest.er1
20813 grep -v '^ *+' conftest.er1 >conftest.err
20815 cat conftest.err >&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); } &&
20818 { ac_try='test -z "$ac_c_werror_flag"
20819 || test ! -s conftest.err'
20820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20821 (eval $ac_try) 2>&5
20823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20824 (exit $ac_status); }; } &&
20825 { ac_try='test -s conftest$ac_exeext'
20826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20827 (eval $ac_try) 2>&5
20829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20830 (exit $ac_status); }; }; then
20831 ac_cv_lib_m_cargf=yes
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20836 ac_cv_lib_m_cargf=no
20838 rm -f conftest.err conftest.$ac_objext \
20839 conftest$ac_exeext conftest.$ac_ext
20840 LIBS=$ac_check_lib_save_LIBS
20842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20843 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20844 if test $ac_cv_lib_m_cargf = yes; then
20846 cat >>confdefs.h <<\_ACEOF
20847 #define HAVE_CARGF 1
20852 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20853 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20854 if test "${ac_cv_lib_m_carg+set}" = set; then
20855 echo $ECHO_N "(cached) $ECHO_C" >&6
20857 ac_check_lib_save_LIBS=$LIBS
20859 if test x$gcc_no_link = xyes; then
20860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20862 { (exit 1); exit 1; }; }
20864 cat >conftest.$ac_ext <<_ACEOF
20867 cat confdefs.h >>conftest.$ac_ext
20868 cat >>conftest.$ac_ext <<_ACEOF
20869 /* end confdefs.h. */
20871 /* Override any gcc2 internal prototype to avoid an error. */
20875 /* We use char because int might match the return type of a gcc2
20876 builtin and then its argument prototype would still apply. */
20886 rm -f conftest.$ac_objext conftest$ac_exeext
20887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20888 (eval $ac_link) 2>conftest.er1
20890 grep -v '^ *+' conftest.er1 >conftest.err
20892 cat conftest.err >&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } &&
20895 { ac_try='test -z "$ac_c_werror_flag"
20896 || test ! -s conftest.err'
20897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20898 (eval $ac_try) 2>&5
20900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20901 (exit $ac_status); }; } &&
20902 { ac_try='test -s conftest$ac_exeext'
20903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20904 (eval $ac_try) 2>&5
20906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20907 (exit $ac_status); }; }; then
20908 ac_cv_lib_m_carg=yes
20910 echo "$as_me: failed program was:" >&5
20911 sed 's/^/| /' conftest.$ac_ext >&5
20913 ac_cv_lib_m_carg=no
20915 rm -f conftest.err conftest.$ac_objext \
20916 conftest$ac_exeext conftest.$ac_ext
20917 LIBS=$ac_check_lib_save_LIBS
20919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20920 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20921 if test $ac_cv_lib_m_carg = yes; then
20923 cat >>confdefs.h <<\_ACEOF
20924 #define HAVE_CARG 1
20929 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20930 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20931 if test "${ac_cv_lib_m_cargl+set}" = set; then
20932 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 ac_check_lib_save_LIBS=$LIBS
20936 if test x$gcc_no_link = xyes; then
20937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20939 { (exit 1); exit 1; }; }
20941 cat >conftest.$ac_ext <<_ACEOF
20944 cat confdefs.h >>conftest.$ac_ext
20945 cat >>conftest.$ac_ext <<_ACEOF
20946 /* end confdefs.h. */
20948 /* Override any gcc2 internal prototype to avoid an error. */
20952 /* We use char because int might match the return type of a gcc2
20953 builtin and then its argument prototype would still apply. */
20963 rm -f conftest.$ac_objext conftest$ac_exeext
20964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20965 (eval $ac_link) 2>conftest.er1
20967 grep -v '^ *+' conftest.er1 >conftest.err
20969 cat conftest.err >&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); } &&
20972 { ac_try='test -z "$ac_c_werror_flag"
20973 || test ! -s conftest.err'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; } &&
20979 { ac_try='test -s conftest$ac_exeext'
20980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20981 (eval $ac_try) 2>&5
20983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20984 (exit $ac_status); }; }; then
20985 ac_cv_lib_m_cargl=yes
20987 echo "$as_me: failed program was:" >&5
20988 sed 's/^/| /' conftest.$ac_ext >&5
20990 ac_cv_lib_m_cargl=no
20992 rm -f conftest.err conftest.$ac_objext \
20993 conftest$ac_exeext conftest.$ac_ext
20994 LIBS=$ac_check_lib_save_LIBS
20996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
20997 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
20998 if test $ac_cv_lib_m_cargl = yes; then
21000 cat >>confdefs.h <<\_ACEOF
21001 #define HAVE_CARGL 1
21006 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21007 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21008 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21009 echo $ECHO_N "(cached) $ECHO_C" >&6
21011 ac_check_lib_save_LIBS=$LIBS
21013 if test x$gcc_no_link = xyes; then
21014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21016 { (exit 1); exit 1; }; }
21018 cat >conftest.$ac_ext <<_ACEOF
21021 cat confdefs.h >>conftest.$ac_ext
21022 cat >>conftest.$ac_ext <<_ACEOF
21023 /* end confdefs.h. */
21025 /* Override any gcc2 internal prototype to avoid an error. */
21029 /* We use char because int might match the return type of a gcc2
21030 builtin and then its argument prototype would still apply. */
21040 rm -f conftest.$ac_objext conftest$ac_exeext
21041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21042 (eval $ac_link) 2>conftest.er1
21044 grep -v '^ *+' conftest.er1 >conftest.err
21046 cat conftest.err >&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); } &&
21049 { ac_try='test -z "$ac_c_werror_flag"
21050 || test ! -s conftest.err'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try='test -s conftest$ac_exeext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_cv_lib_m_ceilf=yes
21064 echo "$as_me: failed program was:" >&5
21065 sed 's/^/| /' conftest.$ac_ext >&5
21067 ac_cv_lib_m_ceilf=no
21069 rm -f conftest.err conftest.$ac_objext \
21070 conftest$ac_exeext conftest.$ac_ext
21071 LIBS=$ac_check_lib_save_LIBS
21073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21074 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21075 if test $ac_cv_lib_m_ceilf = yes; then
21077 cat >>confdefs.h <<\_ACEOF
21078 #define HAVE_CEILF 1
21083 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21084 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21085 if test "${ac_cv_lib_m_ceil+set}" = set; then
21086 echo $ECHO_N "(cached) $ECHO_C" >&6
21088 ac_check_lib_save_LIBS=$LIBS
21090 if test x$gcc_no_link = xyes; then
21091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21093 { (exit 1); exit 1; }; }
21095 cat >conftest.$ac_ext <<_ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21102 /* Override any gcc2 internal prototype to avoid an error. */
21106 /* We use char because int might match the return type of a gcc2
21107 builtin and then its argument prototype would still apply. */
21117 rm -f conftest.$ac_objext conftest$ac_exeext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21119 (eval $ac_link) 2>conftest.er1
21121 grep -v '^ *+' conftest.er1 >conftest.err
21123 cat conftest.err >&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); } &&
21126 { ac_try='test -z "$ac_c_werror_flag"
21127 || test ! -s conftest.err'
21128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21129 (eval $ac_try) 2>&5
21131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21132 (exit $ac_status); }; } &&
21133 { ac_try='test -s conftest$ac_exeext'
21134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21135 (eval $ac_try) 2>&5
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); }; }; then
21139 ac_cv_lib_m_ceil=yes
21141 echo "$as_me: failed program was:" >&5
21142 sed 's/^/| /' conftest.$ac_ext >&5
21144 ac_cv_lib_m_ceil=no
21146 rm -f conftest.err conftest.$ac_objext \
21147 conftest$ac_exeext conftest.$ac_ext
21148 LIBS=$ac_check_lib_save_LIBS
21150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21151 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21152 if test $ac_cv_lib_m_ceil = yes; then
21154 cat >>confdefs.h <<\_ACEOF
21155 #define HAVE_CEIL 1
21160 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21161 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21162 if test "${ac_cv_lib_m_ceill+set}" = set; then
21163 echo $ECHO_N "(cached) $ECHO_C" >&6
21165 ac_check_lib_save_LIBS=$LIBS
21167 if test x$gcc_no_link = xyes; then
21168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21170 { (exit 1); exit 1; }; }
21172 cat >conftest.$ac_ext <<_ACEOF
21175 cat confdefs.h >>conftest.$ac_ext
21176 cat >>conftest.$ac_ext <<_ACEOF
21177 /* end confdefs.h. */
21179 /* Override any gcc2 internal prototype to avoid an error. */
21183 /* We use char because int might match the return type of a gcc2
21184 builtin and then its argument prototype would still apply. */
21194 rm -f conftest.$ac_objext conftest$ac_exeext
21195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21196 (eval $ac_link) 2>conftest.er1
21198 grep -v '^ *+' conftest.er1 >conftest.err
21200 cat conftest.err >&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); } &&
21203 { ac_try='test -z "$ac_c_werror_flag"
21204 || test ! -s conftest.err'
21205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21206 (eval $ac_try) 2>&5
21208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21209 (exit $ac_status); }; } &&
21210 { ac_try='test -s conftest$ac_exeext'
21211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21212 (eval $ac_try) 2>&5
21214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21215 (exit $ac_status); }; }; then
21216 ac_cv_lib_m_ceill=yes
21218 echo "$as_me: failed program was:" >&5
21219 sed 's/^/| /' conftest.$ac_ext >&5
21221 ac_cv_lib_m_ceill=no
21223 rm -f conftest.err conftest.$ac_objext \
21224 conftest$ac_exeext conftest.$ac_ext
21225 LIBS=$ac_check_lib_save_LIBS
21227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21228 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21229 if test $ac_cv_lib_m_ceill = yes; then
21231 cat >>confdefs.h <<\_ACEOF
21232 #define HAVE_CEILL 1
21237 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21238 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21239 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21240 echo $ECHO_N "(cached) $ECHO_C" >&6
21242 ac_check_lib_save_LIBS=$LIBS
21244 if test x$gcc_no_link = xyes; then
21245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21247 { (exit 1); exit 1; }; }
21249 cat >conftest.$ac_ext <<_ACEOF
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21256 /* Override any gcc2 internal prototype to avoid an error. */
21260 /* We use char because int might match the return type of a gcc2
21261 builtin and then its argument prototype would still apply. */
21271 rm -f conftest.$ac_objext conftest$ac_exeext
21272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21273 (eval $ac_link) 2>conftest.er1
21275 grep -v '^ *+' conftest.er1 >conftest.err
21277 cat conftest.err >&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); } &&
21280 { ac_try='test -z "$ac_c_werror_flag"
21281 || test ! -s conftest.err'
21282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21283 (eval $ac_try) 2>&5
21285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21286 (exit $ac_status); }; } &&
21287 { ac_try='test -s conftest$ac_exeext'
21288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21289 (eval $ac_try) 2>&5
21291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21292 (exit $ac_status); }; }; then
21293 ac_cv_lib_m_copysignf=yes
21295 echo "$as_me: failed program was:" >&5
21296 sed 's/^/| /' conftest.$ac_ext >&5
21298 ac_cv_lib_m_copysignf=no
21300 rm -f conftest.err conftest.$ac_objext \
21301 conftest$ac_exeext conftest.$ac_ext
21302 LIBS=$ac_check_lib_save_LIBS
21304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21305 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21306 if test $ac_cv_lib_m_copysignf = yes; then
21308 cat >>confdefs.h <<\_ACEOF
21309 #define HAVE_COPYSIGNF 1
21314 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21315 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21316 if test "${ac_cv_lib_m_copysign+set}" = set; then
21317 echo $ECHO_N "(cached) $ECHO_C" >&6
21319 ac_check_lib_save_LIBS=$LIBS
21321 if test x$gcc_no_link = xyes; then
21322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21324 { (exit 1); exit 1; }; }
21326 cat >conftest.$ac_ext <<_ACEOF
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21333 /* Override any gcc2 internal prototype to avoid an error. */
21337 /* We use char because int might match the return type of a gcc2
21338 builtin and then its argument prototype would still apply. */
21348 rm -f conftest.$ac_objext conftest$ac_exeext
21349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21350 (eval $ac_link) 2>conftest.er1
21352 grep -v '^ *+' conftest.er1 >conftest.err
21354 cat conftest.err >&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); } &&
21357 { ac_try='test -z "$ac_c_werror_flag"
21358 || test ! -s conftest.err'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; } &&
21364 { ac_try='test -s conftest$ac_exeext'
21365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21366 (eval $ac_try) 2>&5
21368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21369 (exit $ac_status); }; }; then
21370 ac_cv_lib_m_copysign=yes
21372 echo "$as_me: failed program was:" >&5
21373 sed 's/^/| /' conftest.$ac_ext >&5
21375 ac_cv_lib_m_copysign=no
21377 rm -f conftest.err conftest.$ac_objext \
21378 conftest$ac_exeext conftest.$ac_ext
21379 LIBS=$ac_check_lib_save_LIBS
21381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21382 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21383 if test $ac_cv_lib_m_copysign = yes; then
21385 cat >>confdefs.h <<\_ACEOF
21386 #define HAVE_COPYSIGN 1
21391 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21392 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21393 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21394 echo $ECHO_N "(cached) $ECHO_C" >&6
21396 ac_check_lib_save_LIBS=$LIBS
21398 if test x$gcc_no_link = xyes; then
21399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21401 { (exit 1); exit 1; }; }
21403 cat >conftest.$ac_ext <<_ACEOF
21406 cat confdefs.h >>conftest.$ac_ext
21407 cat >>conftest.$ac_ext <<_ACEOF
21408 /* end confdefs.h. */
21410 /* Override any gcc2 internal prototype to avoid an error. */
21414 /* We use char because int might match the return type of a gcc2
21415 builtin and then its argument prototype would still apply. */
21425 rm -f conftest.$ac_objext conftest$ac_exeext
21426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21427 (eval $ac_link) 2>conftest.er1
21429 grep -v '^ *+' conftest.er1 >conftest.err
21431 cat conftest.err >&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); } &&
21434 { ac_try='test -z "$ac_c_werror_flag"
21435 || test ! -s conftest.err'
21436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21437 (eval $ac_try) 2>&5
21439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21440 (exit $ac_status); }; } &&
21441 { ac_try='test -s conftest$ac_exeext'
21442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21443 (eval $ac_try) 2>&5
21445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21446 (exit $ac_status); }; }; then
21447 ac_cv_lib_m_copysignl=yes
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21452 ac_cv_lib_m_copysignl=no
21454 rm -f conftest.err conftest.$ac_objext \
21455 conftest$ac_exeext conftest.$ac_ext
21456 LIBS=$ac_check_lib_save_LIBS
21458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21459 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21460 if test $ac_cv_lib_m_copysignl = yes; then
21462 cat >>confdefs.h <<\_ACEOF
21463 #define HAVE_COPYSIGNL 1
21468 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21469 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21470 if test "${ac_cv_lib_m_cosf+set}" = set; then
21471 echo $ECHO_N "(cached) $ECHO_C" >&6
21473 ac_check_lib_save_LIBS=$LIBS
21475 if test x$gcc_no_link = xyes; then
21476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21478 { (exit 1); exit 1; }; }
21480 cat >conftest.$ac_ext <<_ACEOF
21483 cat confdefs.h >>conftest.$ac_ext
21484 cat >>conftest.$ac_ext <<_ACEOF
21485 /* end confdefs.h. */
21487 /* Override any gcc2 internal prototype to avoid an error. */
21491 /* We use char because int might match the return type of a gcc2
21492 builtin and then its argument prototype would still apply. */
21502 rm -f conftest.$ac_objext conftest$ac_exeext
21503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21504 (eval $ac_link) 2>conftest.er1
21506 grep -v '^ *+' conftest.er1 >conftest.err
21508 cat conftest.err >&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); } &&
21511 { ac_try='test -z "$ac_c_werror_flag"
21512 || test ! -s conftest.err'
21513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21514 (eval $ac_try) 2>&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); }; } &&
21518 { ac_try='test -s conftest$ac_exeext'
21519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21520 (eval $ac_try) 2>&5
21522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21523 (exit $ac_status); }; }; then
21524 ac_cv_lib_m_cosf=yes
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21529 ac_cv_lib_m_cosf=no
21531 rm -f conftest.err conftest.$ac_objext \
21532 conftest$ac_exeext conftest.$ac_ext
21533 LIBS=$ac_check_lib_save_LIBS
21535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21536 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21537 if test $ac_cv_lib_m_cosf = yes; then
21539 cat >>confdefs.h <<\_ACEOF
21540 #define HAVE_COSF 1
21545 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21546 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21547 if test "${ac_cv_lib_m_cos+set}" = set; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 ac_check_lib_save_LIBS=$LIBS
21552 if test x$gcc_no_link = xyes; then
21553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21555 { (exit 1); exit 1; }; }
21557 cat >conftest.$ac_ext <<_ACEOF
21560 cat confdefs.h >>conftest.$ac_ext
21561 cat >>conftest.$ac_ext <<_ACEOF
21562 /* end confdefs.h. */
21564 /* Override any gcc2 internal prototype to avoid an error. */
21568 /* We use char because int might match the return type of a gcc2
21569 builtin and then its argument prototype would still apply. */
21579 rm -f conftest.$ac_objext conftest$ac_exeext
21580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21581 (eval $ac_link) 2>conftest.er1
21583 grep -v '^ *+' conftest.er1 >conftest.err
21585 cat conftest.err >&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } &&
21588 { ac_try='test -z "$ac_c_werror_flag"
21589 || test ! -s conftest.err'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; } &&
21595 { ac_try='test -s conftest$ac_exeext'
21596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21597 (eval $ac_try) 2>&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); }; }; then
21601 ac_cv_lib_m_cos=yes
21603 echo "$as_me: failed program was:" >&5
21604 sed 's/^/| /' conftest.$ac_ext >&5
21608 rm -f conftest.err conftest.$ac_objext \
21609 conftest$ac_exeext conftest.$ac_ext
21610 LIBS=$ac_check_lib_save_LIBS
21612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21613 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21614 if test $ac_cv_lib_m_cos = yes; then
21616 cat >>confdefs.h <<\_ACEOF
21622 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21623 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21624 if test "${ac_cv_lib_m_cosl+set}" = set; then
21625 echo $ECHO_N "(cached) $ECHO_C" >&6
21627 ac_check_lib_save_LIBS=$LIBS
21629 if test x$gcc_no_link = xyes; then
21630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21632 { (exit 1); exit 1; }; }
21634 cat >conftest.$ac_ext <<_ACEOF
21637 cat confdefs.h >>conftest.$ac_ext
21638 cat >>conftest.$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21641 /* Override any gcc2 internal prototype to avoid an error. */
21645 /* We use char because int might match the return type of a gcc2
21646 builtin and then its argument prototype would still apply. */
21656 rm -f conftest.$ac_objext conftest$ac_exeext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21658 (eval $ac_link) 2>conftest.er1
21660 grep -v '^ *+' conftest.er1 >conftest.err
21662 cat conftest.err >&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); } &&
21665 { ac_try='test -z "$ac_c_werror_flag"
21666 || test ! -s conftest.err'
21667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668 (eval $ac_try) 2>&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); }; } &&
21672 { ac_try='test -s conftest$ac_exeext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_cv_lib_m_cosl=yes
21680 echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21683 ac_cv_lib_m_cosl=no
21685 rm -f conftest.err conftest.$ac_objext \
21686 conftest$ac_exeext conftest.$ac_ext
21687 LIBS=$ac_check_lib_save_LIBS
21689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21690 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21691 if test $ac_cv_lib_m_cosl = yes; then
21693 cat >>confdefs.h <<\_ACEOF
21694 #define HAVE_COSL 1
21699 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21700 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21701 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21702 echo $ECHO_N "(cached) $ECHO_C" >&6
21704 ac_check_lib_save_LIBS=$LIBS
21706 if test x$gcc_no_link = xyes; then
21707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21709 { (exit 1); exit 1; }; }
21711 cat >conftest.$ac_ext <<_ACEOF
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21718 /* Override any gcc2 internal prototype to avoid an error. */
21722 /* We use char because int might match the return type of a gcc2
21723 builtin and then its argument prototype would still apply. */
21733 rm -f conftest.$ac_objext conftest$ac_exeext
21734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21735 (eval $ac_link) 2>conftest.er1
21737 grep -v '^ *+' conftest.er1 >conftest.err
21739 cat conftest.err >&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); } &&
21742 { ac_try='test -z "$ac_c_werror_flag"
21743 || test ! -s conftest.err'
21744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21745 (eval $ac_try) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); }; } &&
21749 { ac_try='test -s conftest$ac_exeext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_cv_lib_m_ccosf=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21760 ac_cv_lib_m_ccosf=no
21762 rm -f conftest.err conftest.$ac_objext \
21763 conftest$ac_exeext conftest.$ac_ext
21764 LIBS=$ac_check_lib_save_LIBS
21766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21767 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21768 if test $ac_cv_lib_m_ccosf = yes; then
21770 cat >>confdefs.h <<\_ACEOF
21771 #define HAVE_CCOSF 1
21776 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21777 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21778 if test "${ac_cv_lib_m_ccos+set}" = set; then
21779 echo $ECHO_N "(cached) $ECHO_C" >&6
21781 ac_check_lib_save_LIBS=$LIBS
21783 if test x$gcc_no_link = xyes; then
21784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21786 { (exit 1); exit 1; }; }
21788 cat >conftest.$ac_ext <<_ACEOF
21791 cat confdefs.h >>conftest.$ac_ext
21792 cat >>conftest.$ac_ext <<_ACEOF
21793 /* end confdefs.h. */
21795 /* Override any gcc2 internal prototype to avoid an error. */
21799 /* We use char because int might match the return type of a gcc2
21800 builtin and then its argument prototype would still apply. */
21810 rm -f conftest.$ac_objext conftest$ac_exeext
21811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21812 (eval $ac_link) 2>conftest.er1
21814 grep -v '^ *+' conftest.er1 >conftest.err
21816 cat conftest.err >&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); } &&
21819 { ac_try='test -z "$ac_c_werror_flag"
21820 || test ! -s conftest.err'
21821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21822 (eval $ac_try) 2>&5
21824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21825 (exit $ac_status); }; } &&
21826 { ac_try='test -s conftest$ac_exeext'
21827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21828 (eval $ac_try) 2>&5
21830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21831 (exit $ac_status); }; }; then
21832 ac_cv_lib_m_ccos=yes
21834 echo "$as_me: failed program was:" >&5
21835 sed 's/^/| /' conftest.$ac_ext >&5
21837 ac_cv_lib_m_ccos=no
21839 rm -f conftest.err conftest.$ac_objext \
21840 conftest$ac_exeext conftest.$ac_ext
21841 LIBS=$ac_check_lib_save_LIBS
21843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21844 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21845 if test $ac_cv_lib_m_ccos = yes; then
21847 cat >>confdefs.h <<\_ACEOF
21848 #define HAVE_CCOS 1
21853 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21854 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21855 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21856 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 ac_check_lib_save_LIBS=$LIBS
21860 if test x$gcc_no_link = xyes; then
21861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21863 { (exit 1); exit 1; }; }
21865 cat >conftest.$ac_ext <<_ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21872 /* Override any gcc2 internal prototype to avoid an error. */
21876 /* We use char because int might match the return type of a gcc2
21877 builtin and then its argument prototype would still apply. */
21887 rm -f conftest.$ac_objext conftest$ac_exeext
21888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21889 (eval $ac_link) 2>conftest.er1
21891 grep -v '^ *+' conftest.er1 >conftest.err
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_c_werror_flag"
21897 || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try='test -s conftest$ac_exeext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 ac_cv_lib_m_ccosl=yes
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21914 ac_cv_lib_m_ccosl=no
21916 rm -f conftest.err conftest.$ac_objext \
21917 conftest$ac_exeext conftest.$ac_ext
21918 LIBS=$ac_check_lib_save_LIBS
21920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21921 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21922 if test $ac_cv_lib_m_ccosl = yes; then
21924 cat >>confdefs.h <<\_ACEOF
21925 #define HAVE_CCOSL 1
21930 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21931 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21932 if test "${ac_cv_lib_m_coshf+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 ac_check_lib_save_LIBS=$LIBS
21937 if test x$gcc_no_link = xyes; then
21938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21940 { (exit 1); exit 1; }; }
21942 cat >conftest.$ac_ext <<_ACEOF
21945 cat confdefs.h >>conftest.$ac_ext
21946 cat >>conftest.$ac_ext <<_ACEOF
21947 /* end confdefs.h. */
21949 /* Override any gcc2 internal prototype to avoid an error. */
21953 /* We use char because int might match the return type of a gcc2
21954 builtin and then its argument prototype would still apply. */
21964 rm -f conftest.$ac_objext conftest$ac_exeext
21965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21966 (eval $ac_link) 2>conftest.er1
21968 grep -v '^ *+' conftest.er1 >conftest.err
21970 cat conftest.err >&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); } &&
21973 { ac_try='test -z "$ac_c_werror_flag"
21974 || test ! -s conftest.err'
21975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21976 (eval $ac_try) 2>&5
21978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21979 (exit $ac_status); }; } &&
21980 { ac_try='test -s conftest$ac_exeext'
21981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21982 (eval $ac_try) 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_lib_m_coshf=yes
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.$ac_ext >&5
21991 ac_cv_lib_m_coshf=no
21993 rm -f conftest.err conftest.$ac_objext \
21994 conftest$ac_exeext conftest.$ac_ext
21995 LIBS=$ac_check_lib_save_LIBS
21997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
21998 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
21999 if test $ac_cv_lib_m_coshf = yes; then
22001 cat >>confdefs.h <<\_ACEOF
22002 #define HAVE_COSHF 1
22007 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22008 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22009 if test "${ac_cv_lib_m_cosh+set}" = set; then
22010 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 ac_check_lib_save_LIBS=$LIBS
22014 if test x$gcc_no_link = xyes; then
22015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22017 { (exit 1); exit 1; }; }
22019 cat >conftest.$ac_ext <<_ACEOF
22022 cat confdefs.h >>conftest.$ac_ext
22023 cat >>conftest.$ac_ext <<_ACEOF
22024 /* end confdefs.h. */
22026 /* Override any gcc2 internal prototype to avoid an error. */
22030 /* We use char because int might match the return type of a gcc2
22031 builtin and then its argument prototype would still apply. */
22041 rm -f conftest.$ac_objext conftest$ac_exeext
22042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22043 (eval $ac_link) 2>conftest.er1
22045 grep -v '^ *+' conftest.er1 >conftest.err
22047 cat conftest.err >&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); } &&
22050 { ac_try='test -z "$ac_c_werror_flag"
22051 || test ! -s conftest.err'
22052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22053 (eval $ac_try) 2>&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); }; } &&
22057 { ac_try='test -s conftest$ac_exeext'
22058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22059 (eval $ac_try) 2>&5
22061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22062 (exit $ac_status); }; }; then
22063 ac_cv_lib_m_cosh=yes
22065 echo "$as_me: failed program was:" >&5
22066 sed 's/^/| /' conftest.$ac_ext >&5
22068 ac_cv_lib_m_cosh=no
22070 rm -f conftest.err conftest.$ac_objext \
22071 conftest$ac_exeext conftest.$ac_ext
22072 LIBS=$ac_check_lib_save_LIBS
22074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22075 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22076 if test $ac_cv_lib_m_cosh = yes; then
22078 cat >>confdefs.h <<\_ACEOF
22079 #define HAVE_COSH 1
22084 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22085 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22086 if test "${ac_cv_lib_m_coshl+set}" = set; then
22087 echo $ECHO_N "(cached) $ECHO_C" >&6
22089 ac_check_lib_save_LIBS=$LIBS
22091 if test x$gcc_no_link = xyes; then
22092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22094 { (exit 1); exit 1; }; }
22096 cat >conftest.$ac_ext <<_ACEOF
22099 cat confdefs.h >>conftest.$ac_ext
22100 cat >>conftest.$ac_ext <<_ACEOF
22101 /* end confdefs.h. */
22103 /* Override any gcc2 internal prototype to avoid an error. */
22107 /* We use char because int might match the return type of a gcc2
22108 builtin and then its argument prototype would still apply. */
22118 rm -f conftest.$ac_objext conftest$ac_exeext
22119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22120 (eval $ac_link) 2>conftest.er1
22122 grep -v '^ *+' conftest.er1 >conftest.err
22124 cat conftest.err >&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); } &&
22127 { ac_try='test -z "$ac_c_werror_flag"
22128 || test ! -s conftest.err'
22129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22130 (eval $ac_try) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); }; } &&
22134 { ac_try='test -s conftest$ac_exeext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 ac_cv_lib_m_coshl=yes
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 ac_cv_lib_m_coshl=no
22147 rm -f conftest.err conftest.$ac_objext \
22148 conftest$ac_exeext conftest.$ac_ext
22149 LIBS=$ac_check_lib_save_LIBS
22151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22152 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22153 if test $ac_cv_lib_m_coshl = yes; then
22155 cat >>confdefs.h <<\_ACEOF
22156 #define HAVE_COSHL 1
22161 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22162 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22163 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22164 echo $ECHO_N "(cached) $ECHO_C" >&6
22166 ac_check_lib_save_LIBS=$LIBS
22168 if test x$gcc_no_link = xyes; then
22169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22171 { (exit 1); exit 1; }; }
22173 cat >conftest.$ac_ext <<_ACEOF
22176 cat confdefs.h >>conftest.$ac_ext
22177 cat >>conftest.$ac_ext <<_ACEOF
22178 /* end confdefs.h. */
22180 /* Override any gcc2 internal prototype to avoid an error. */
22184 /* We use char because int might match the return type of a gcc2
22185 builtin and then its argument prototype would still apply. */
22195 rm -f conftest.$ac_objext conftest$ac_exeext
22196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22197 (eval $ac_link) 2>conftest.er1
22199 grep -v '^ *+' conftest.er1 >conftest.err
22201 cat conftest.err >&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); } &&
22204 { ac_try='test -z "$ac_c_werror_flag"
22205 || test ! -s conftest.err'
22206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22207 (eval $ac_try) 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; } &&
22211 { ac_try='test -s conftest$ac_exeext'
22212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22213 (eval $ac_try) 2>&5
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); }; }; then
22217 ac_cv_lib_m_ccoshf=yes
22219 echo "$as_me: failed program was:" >&5
22220 sed 's/^/| /' conftest.$ac_ext >&5
22222 ac_cv_lib_m_ccoshf=no
22224 rm -f conftest.err conftest.$ac_objext \
22225 conftest$ac_exeext conftest.$ac_ext
22226 LIBS=$ac_check_lib_save_LIBS
22228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22229 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22230 if test $ac_cv_lib_m_ccoshf = yes; then
22232 cat >>confdefs.h <<\_ACEOF
22233 #define HAVE_CCOSHF 1
22238 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22239 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22240 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22241 echo $ECHO_N "(cached) $ECHO_C" >&6
22243 ac_check_lib_save_LIBS=$LIBS
22245 if test x$gcc_no_link = xyes; then
22246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22248 { (exit 1); exit 1; }; }
22250 cat >conftest.$ac_ext <<_ACEOF
22253 cat confdefs.h >>conftest.$ac_ext
22254 cat >>conftest.$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22257 /* Override any gcc2 internal prototype to avoid an error. */
22261 /* We use char because int might match the return type of a gcc2
22262 builtin and then its argument prototype would still apply. */
22272 rm -f conftest.$ac_objext conftest$ac_exeext
22273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22274 (eval $ac_link) 2>conftest.er1
22276 grep -v '^ *+' conftest.er1 >conftest.err
22278 cat conftest.err >&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); } &&
22281 { ac_try='test -z "$ac_c_werror_flag"
22282 || test ! -s conftest.err'
22283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22284 (eval $ac_try) 2>&5
22286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22287 (exit $ac_status); }; } &&
22288 { ac_try='test -s conftest$ac_exeext'
22289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22290 (eval $ac_try) 2>&5
22292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22293 (exit $ac_status); }; }; then
22294 ac_cv_lib_m_ccosh=yes
22296 echo "$as_me: failed program was:" >&5
22297 sed 's/^/| /' conftest.$ac_ext >&5
22299 ac_cv_lib_m_ccosh=no
22301 rm -f conftest.err conftest.$ac_objext \
22302 conftest$ac_exeext conftest.$ac_ext
22303 LIBS=$ac_check_lib_save_LIBS
22305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22306 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22307 if test $ac_cv_lib_m_ccosh = yes; then
22309 cat >>confdefs.h <<\_ACEOF
22310 #define HAVE_CCOSH 1
22315 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22316 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22317 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22320 ac_check_lib_save_LIBS=$LIBS
22322 if test x$gcc_no_link = xyes; then
22323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22325 { (exit 1); exit 1; }; }
22327 cat >conftest.$ac_ext <<_ACEOF
22330 cat confdefs.h >>conftest.$ac_ext
22331 cat >>conftest.$ac_ext <<_ACEOF
22332 /* end confdefs.h. */
22334 /* Override any gcc2 internal prototype to avoid an error. */
22338 /* We use char because int might match the return type of a gcc2
22339 builtin and then its argument prototype would still apply. */
22349 rm -f conftest.$ac_objext conftest$ac_exeext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22351 (eval $ac_link) 2>conftest.er1
22353 grep -v '^ *+' conftest.er1 >conftest.err
22355 cat conftest.err >&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -z "$ac_c_werror_flag"
22359 || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest$ac_exeext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_lib_m_ccoshl=yes
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22376 ac_cv_lib_m_ccoshl=no
22378 rm -f conftest.err conftest.$ac_objext \
22379 conftest$ac_exeext conftest.$ac_ext
22380 LIBS=$ac_check_lib_save_LIBS
22382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22383 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22384 if test $ac_cv_lib_m_ccoshl = yes; then
22386 cat >>confdefs.h <<\_ACEOF
22387 #define HAVE_CCOSHL 1
22392 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22393 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22394 if test "${ac_cv_lib_m_expf+set}" = set; then
22395 echo $ECHO_N "(cached) $ECHO_C" >&6
22397 ac_check_lib_save_LIBS=$LIBS
22399 if test x$gcc_no_link = xyes; then
22400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22402 { (exit 1); exit 1; }; }
22404 cat >conftest.$ac_ext <<_ACEOF
22407 cat confdefs.h >>conftest.$ac_ext
22408 cat >>conftest.$ac_ext <<_ACEOF
22409 /* end confdefs.h. */
22411 /* Override any gcc2 internal prototype to avoid an error. */
22415 /* We use char because int might match the return type of a gcc2
22416 builtin and then its argument prototype would still apply. */
22426 rm -f conftest.$ac_objext conftest$ac_exeext
22427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22428 (eval $ac_link) 2>conftest.er1
22430 grep -v '^ *+' conftest.er1 >conftest.err
22432 cat conftest.err >&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); } &&
22435 { ac_try='test -z "$ac_c_werror_flag"
22436 || test ! -s conftest.err'
22437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22438 (eval $ac_try) 2>&5
22440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22441 (exit $ac_status); }; } &&
22442 { ac_try='test -s conftest$ac_exeext'
22443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22444 (eval $ac_try) 2>&5
22446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22447 (exit $ac_status); }; }; then
22448 ac_cv_lib_m_expf=yes
22450 echo "$as_me: failed program was:" >&5
22451 sed 's/^/| /' conftest.$ac_ext >&5
22453 ac_cv_lib_m_expf=no
22455 rm -f conftest.err conftest.$ac_objext \
22456 conftest$ac_exeext conftest.$ac_ext
22457 LIBS=$ac_check_lib_save_LIBS
22459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22460 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22461 if test $ac_cv_lib_m_expf = yes; then
22463 cat >>confdefs.h <<\_ACEOF
22464 #define HAVE_EXPF 1
22469 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22470 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22471 if test "${ac_cv_lib_m_exp+set}" = set; then
22472 echo $ECHO_N "(cached) $ECHO_C" >&6
22474 ac_check_lib_save_LIBS=$LIBS
22476 if test x$gcc_no_link = xyes; then
22477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22479 { (exit 1); exit 1; }; }
22481 cat >conftest.$ac_ext <<_ACEOF
22484 cat confdefs.h >>conftest.$ac_ext
22485 cat >>conftest.$ac_ext <<_ACEOF
22486 /* end confdefs.h. */
22488 /* Override any gcc2 internal prototype to avoid an error. */
22492 /* We use char because int might match the return type of a gcc2
22493 builtin and then its argument prototype would still apply. */
22503 rm -f conftest.$ac_objext conftest$ac_exeext
22504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22505 (eval $ac_link) 2>conftest.er1
22507 grep -v '^ *+' conftest.er1 >conftest.err
22509 cat conftest.err >&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); } &&
22512 { ac_try='test -z "$ac_c_werror_flag"
22513 || test ! -s conftest.err'
22514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515 (eval $ac_try) 2>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; } &&
22519 { ac_try='test -s conftest$ac_exeext'
22520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22521 (eval $ac_try) 2>&5
22523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22524 (exit $ac_status); }; }; then
22525 ac_cv_lib_m_exp=yes
22527 echo "$as_me: failed program was:" >&5
22528 sed 's/^/| /' conftest.$ac_ext >&5
22532 rm -f conftest.err conftest.$ac_objext \
22533 conftest$ac_exeext conftest.$ac_ext
22534 LIBS=$ac_check_lib_save_LIBS
22536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22537 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22538 if test $ac_cv_lib_m_exp = yes; then
22540 cat >>confdefs.h <<\_ACEOF
22546 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22547 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22548 if test "${ac_cv_lib_m_expl+set}" = set; then
22549 echo $ECHO_N "(cached) $ECHO_C" >&6
22551 ac_check_lib_save_LIBS=$LIBS
22553 if test x$gcc_no_link = xyes; then
22554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22556 { (exit 1); exit 1; }; }
22558 cat >conftest.$ac_ext <<_ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22565 /* Override any gcc2 internal prototype to avoid an error. */
22569 /* We use char because int might match the return type of a gcc2
22570 builtin and then its argument prototype would still apply. */
22580 rm -f conftest.$ac_objext conftest$ac_exeext
22581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22582 (eval $ac_link) 2>conftest.er1
22584 grep -v '^ *+' conftest.er1 >conftest.err
22586 cat conftest.err >&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); } &&
22589 { ac_try='test -z "$ac_c_werror_flag"
22590 || test ! -s conftest.err'
22591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22592 (eval $ac_try) 2>&5
22594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22595 (exit $ac_status); }; } &&
22596 { ac_try='test -s conftest$ac_exeext'
22597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22598 (eval $ac_try) 2>&5
22600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22601 (exit $ac_status); }; }; then
22602 ac_cv_lib_m_expl=yes
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22607 ac_cv_lib_m_expl=no
22609 rm -f conftest.err conftest.$ac_objext \
22610 conftest$ac_exeext conftest.$ac_ext
22611 LIBS=$ac_check_lib_save_LIBS
22613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22614 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22615 if test $ac_cv_lib_m_expl = yes; then
22617 cat >>confdefs.h <<\_ACEOF
22618 #define HAVE_EXPL 1
22623 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22624 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22625 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22628 ac_check_lib_save_LIBS=$LIBS
22630 if test x$gcc_no_link = xyes; then
22631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22633 { (exit 1); exit 1; }; }
22635 cat >conftest.$ac_ext <<_ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22642 /* Override any gcc2 internal prototype to avoid an error. */
22646 /* We use char because int might match the return type of a gcc2
22647 builtin and then its argument prototype would still apply. */
22657 rm -f conftest.$ac_objext conftest$ac_exeext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659 (eval $ac_link) 2>conftest.er1
22661 grep -v '^ *+' conftest.er1 >conftest.err
22663 cat conftest.err >&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); } &&
22666 { ac_try='test -z "$ac_c_werror_flag"
22667 || test ! -s conftest.err'
22668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22669 (eval $ac_try) 2>&5
22671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22672 (exit $ac_status); }; } &&
22673 { ac_try='test -s conftest$ac_exeext'
22674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22675 (eval $ac_try) 2>&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); }; }; then
22679 ac_cv_lib_m_cexpf=yes
22681 echo "$as_me: failed program was:" >&5
22682 sed 's/^/| /' conftest.$ac_ext >&5
22684 ac_cv_lib_m_cexpf=no
22686 rm -f conftest.err conftest.$ac_objext \
22687 conftest$ac_exeext conftest.$ac_ext
22688 LIBS=$ac_check_lib_save_LIBS
22690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22691 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22692 if test $ac_cv_lib_m_cexpf = yes; then
22694 cat >>confdefs.h <<\_ACEOF
22695 #define HAVE_CEXPF 1
22700 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22701 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22702 if test "${ac_cv_lib_m_cexp+set}" = set; then
22703 echo $ECHO_N "(cached) $ECHO_C" >&6
22705 ac_check_lib_save_LIBS=$LIBS
22707 if test x$gcc_no_link = xyes; then
22708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22710 { (exit 1); exit 1; }; }
22712 cat >conftest.$ac_ext <<_ACEOF
22715 cat confdefs.h >>conftest.$ac_ext
22716 cat >>conftest.$ac_ext <<_ACEOF
22717 /* end confdefs.h. */
22719 /* Override any gcc2 internal prototype to avoid an error. */
22723 /* We use char because int might match the return type of a gcc2
22724 builtin and then its argument prototype would still apply. */
22734 rm -f conftest.$ac_objext conftest$ac_exeext
22735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22736 (eval $ac_link) 2>conftest.er1
22738 grep -v '^ *+' conftest.er1 >conftest.err
22740 cat conftest.err >&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); } &&
22743 { ac_try='test -z "$ac_c_werror_flag"
22744 || test ! -s conftest.err'
22745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22746 (eval $ac_try) 2>&5
22748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22749 (exit $ac_status); }; } &&
22750 { ac_try='test -s conftest$ac_exeext'
22751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22752 (eval $ac_try) 2>&5
22754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22755 (exit $ac_status); }; }; then
22756 ac_cv_lib_m_cexp=yes
22758 echo "$as_me: failed program was:" >&5
22759 sed 's/^/| /' conftest.$ac_ext >&5
22761 ac_cv_lib_m_cexp=no
22763 rm -f conftest.err conftest.$ac_objext \
22764 conftest$ac_exeext conftest.$ac_ext
22765 LIBS=$ac_check_lib_save_LIBS
22767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22768 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22769 if test $ac_cv_lib_m_cexp = yes; then
22771 cat >>confdefs.h <<\_ACEOF
22772 #define HAVE_CEXP 1
22777 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22778 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22779 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22780 echo $ECHO_N "(cached) $ECHO_C" >&6
22782 ac_check_lib_save_LIBS=$LIBS
22784 if test x$gcc_no_link = xyes; then
22785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22787 { (exit 1); exit 1; }; }
22789 cat >conftest.$ac_ext <<_ACEOF
22792 cat confdefs.h >>conftest.$ac_ext
22793 cat >>conftest.$ac_ext <<_ACEOF
22794 /* end confdefs.h. */
22796 /* Override any gcc2 internal prototype to avoid an error. */
22800 /* We use char because int might match the return type of a gcc2
22801 builtin and then its argument prototype would still apply. */
22811 rm -f conftest.$ac_objext conftest$ac_exeext
22812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22813 (eval $ac_link) 2>conftest.er1
22815 grep -v '^ *+' conftest.er1 >conftest.err
22817 cat conftest.err >&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); } &&
22820 { ac_try='test -z "$ac_c_werror_flag"
22821 || test ! -s conftest.err'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; } &&
22827 { ac_try='test -s conftest$ac_exeext'
22828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22829 (eval $ac_try) 2>&5
22831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22832 (exit $ac_status); }; }; then
22833 ac_cv_lib_m_cexpl=yes
22835 echo "$as_me: failed program was:" >&5
22836 sed 's/^/| /' conftest.$ac_ext >&5
22838 ac_cv_lib_m_cexpl=no
22840 rm -f conftest.err conftest.$ac_objext \
22841 conftest$ac_exeext conftest.$ac_ext
22842 LIBS=$ac_check_lib_save_LIBS
22844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22845 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22846 if test $ac_cv_lib_m_cexpl = yes; then
22848 cat >>confdefs.h <<\_ACEOF
22849 #define HAVE_CEXPL 1
22854 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22855 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22856 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22857 echo $ECHO_N "(cached) $ECHO_C" >&6
22859 ac_check_lib_save_LIBS=$LIBS
22861 if test x$gcc_no_link = xyes; then
22862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22864 { (exit 1); exit 1; }; }
22866 cat >conftest.$ac_ext <<_ACEOF
22869 cat confdefs.h >>conftest.$ac_ext
22870 cat >>conftest.$ac_ext <<_ACEOF
22871 /* end confdefs.h. */
22873 /* Override any gcc2 internal prototype to avoid an error. */
22877 /* We use char because int might match the return type of a gcc2
22878 builtin and then its argument prototype would still apply. */
22888 rm -f conftest.$ac_objext conftest$ac_exeext
22889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22890 (eval $ac_link) 2>conftest.er1
22892 grep -v '^ *+' conftest.er1 >conftest.err
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } &&
22897 { ac_try='test -z "$ac_c_werror_flag"
22898 || test ! -s conftest.err'
22899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22900 (eval $ac_try) 2>&5
22902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22903 (exit $ac_status); }; } &&
22904 { ac_try='test -s conftest$ac_exeext'
22905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22906 (eval $ac_try) 2>&5
22908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22909 (exit $ac_status); }; }; then
22910 ac_cv_lib_m_fabsf=yes
22912 echo "$as_me: failed program was:" >&5
22913 sed 's/^/| /' conftest.$ac_ext >&5
22915 ac_cv_lib_m_fabsf=no
22917 rm -f conftest.err conftest.$ac_objext \
22918 conftest$ac_exeext conftest.$ac_ext
22919 LIBS=$ac_check_lib_save_LIBS
22921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22922 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22923 if test $ac_cv_lib_m_fabsf = yes; then
22925 cat >>confdefs.h <<\_ACEOF
22926 #define HAVE_FABSF 1
22931 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22932 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22933 if test "${ac_cv_lib_m_fabs+set}" = set; then
22934 echo $ECHO_N "(cached) $ECHO_C" >&6
22936 ac_check_lib_save_LIBS=$LIBS
22938 if test x$gcc_no_link = xyes; then
22939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22941 { (exit 1); exit 1; }; }
22943 cat >conftest.$ac_ext <<_ACEOF
22946 cat confdefs.h >>conftest.$ac_ext
22947 cat >>conftest.$ac_ext <<_ACEOF
22948 /* end confdefs.h. */
22950 /* Override any gcc2 internal prototype to avoid an error. */
22954 /* We use char because int might match the return type of a gcc2
22955 builtin and then its argument prototype would still apply. */
22965 rm -f conftest.$ac_objext conftest$ac_exeext
22966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22967 (eval $ac_link) 2>conftest.er1
22969 grep -v '^ *+' conftest.er1 >conftest.err
22971 cat conftest.err >&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } &&
22974 { ac_try='test -z "$ac_c_werror_flag"
22975 || test ! -s conftest.err'
22976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22977 (eval $ac_try) 2>&5
22979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22980 (exit $ac_status); }; } &&
22981 { ac_try='test -s conftest$ac_exeext'
22982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22983 (eval $ac_try) 2>&5
22985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22986 (exit $ac_status); }; }; then
22987 ac_cv_lib_m_fabs=yes
22989 echo "$as_me: failed program was:" >&5
22990 sed 's/^/| /' conftest.$ac_ext >&5
22992 ac_cv_lib_m_fabs=no
22994 rm -f conftest.err conftest.$ac_objext \
22995 conftest$ac_exeext conftest.$ac_ext
22996 LIBS=$ac_check_lib_save_LIBS
22998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
22999 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23000 if test $ac_cv_lib_m_fabs = yes; then
23002 cat >>confdefs.h <<\_ACEOF
23003 #define HAVE_FABS 1
23008 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23009 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23010 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23011 echo $ECHO_N "(cached) $ECHO_C" >&6
23013 ac_check_lib_save_LIBS=$LIBS
23015 if test x$gcc_no_link = xyes; then
23016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23018 { (exit 1); exit 1; }; }
23020 cat >conftest.$ac_ext <<_ACEOF
23023 cat confdefs.h >>conftest.$ac_ext
23024 cat >>conftest.$ac_ext <<_ACEOF
23025 /* end confdefs.h. */
23027 /* Override any gcc2 internal prototype to avoid an error. */
23031 /* We use char because int might match the return type of a gcc2
23032 builtin and then its argument prototype would still apply. */
23042 rm -f conftest.$ac_objext conftest$ac_exeext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23044 (eval $ac_link) 2>conftest.er1
23046 grep -v '^ *+' conftest.er1 >conftest.err
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } &&
23051 { ac_try='test -z "$ac_c_werror_flag"
23052 || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try='test -s conftest$ac_exeext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_cv_lib_m_fabsl=yes
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23069 ac_cv_lib_m_fabsl=no
23071 rm -f conftest.err conftest.$ac_objext \
23072 conftest$ac_exeext conftest.$ac_ext
23073 LIBS=$ac_check_lib_save_LIBS
23075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23076 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23077 if test $ac_cv_lib_m_fabsl = yes; then
23079 cat >>confdefs.h <<\_ACEOF
23080 #define HAVE_FABSL 1
23085 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23086 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23087 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23088 echo $ECHO_N "(cached) $ECHO_C" >&6
23090 ac_check_lib_save_LIBS=$LIBS
23092 if test x$gcc_no_link = xyes; then
23093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23095 { (exit 1); exit 1; }; }
23097 cat >conftest.$ac_ext <<_ACEOF
23100 cat confdefs.h >>conftest.$ac_ext
23101 cat >>conftest.$ac_ext <<_ACEOF
23102 /* end confdefs.h. */
23104 /* Override any gcc2 internal prototype to avoid an error. */
23108 /* We use char because int might match the return type of a gcc2
23109 builtin and then its argument prototype would still apply. */
23119 rm -f conftest.$ac_objext conftest$ac_exeext
23120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23121 (eval $ac_link) 2>conftest.er1
23123 grep -v '^ *+' conftest.er1 >conftest.err
23125 cat conftest.err >&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); } &&
23128 { ac_try='test -z "$ac_c_werror_flag"
23129 || test ! -s conftest.err'
23130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23131 (eval $ac_try) 2>&5
23133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23134 (exit $ac_status); }; } &&
23135 { ac_try='test -s conftest$ac_exeext'
23136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23137 (eval $ac_try) 2>&5
23139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23140 (exit $ac_status); }; }; then
23141 ac_cv_lib_m_cabsf=yes
23143 echo "$as_me: failed program was:" >&5
23144 sed 's/^/| /' conftest.$ac_ext >&5
23146 ac_cv_lib_m_cabsf=no
23148 rm -f conftest.err conftest.$ac_objext \
23149 conftest$ac_exeext conftest.$ac_ext
23150 LIBS=$ac_check_lib_save_LIBS
23152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23153 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23154 if test $ac_cv_lib_m_cabsf = yes; then
23156 cat >>confdefs.h <<\_ACEOF
23157 #define HAVE_CABSF 1
23162 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23163 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23164 if test "${ac_cv_lib_m_cabs+set}" = set; then
23165 echo $ECHO_N "(cached) $ECHO_C" >&6
23167 ac_check_lib_save_LIBS=$LIBS
23169 if test x$gcc_no_link = xyes; then
23170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23172 { (exit 1); exit 1; }; }
23174 cat >conftest.$ac_ext <<_ACEOF
23177 cat confdefs.h >>conftest.$ac_ext
23178 cat >>conftest.$ac_ext <<_ACEOF
23179 /* end confdefs.h. */
23181 /* Override any gcc2 internal prototype to avoid an error. */
23185 /* We use char because int might match the return type of a gcc2
23186 builtin and then its argument prototype would still apply. */
23196 rm -f conftest.$ac_objext conftest$ac_exeext
23197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23198 (eval $ac_link) 2>conftest.er1
23200 grep -v '^ *+' conftest.er1 >conftest.err
23202 cat conftest.err >&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); } &&
23205 { ac_try='test -z "$ac_c_werror_flag"
23206 || test ! -s conftest.err'
23207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23208 (eval $ac_try) 2>&5
23210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23211 (exit $ac_status); }; } &&
23212 { ac_try='test -s conftest$ac_exeext'
23213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23214 (eval $ac_try) 2>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_lib_m_cabs=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23223 ac_cv_lib_m_cabs=no
23225 rm -f conftest.err conftest.$ac_objext \
23226 conftest$ac_exeext conftest.$ac_ext
23227 LIBS=$ac_check_lib_save_LIBS
23229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23230 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23231 if test $ac_cv_lib_m_cabs = yes; then
23233 cat >>confdefs.h <<\_ACEOF
23234 #define HAVE_CABS 1
23239 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23240 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23241 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23242 echo $ECHO_N "(cached) $ECHO_C" >&6
23244 ac_check_lib_save_LIBS=$LIBS
23246 if test x$gcc_no_link = xyes; then
23247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23249 { (exit 1); exit 1; }; }
23251 cat >conftest.$ac_ext <<_ACEOF
23254 cat confdefs.h >>conftest.$ac_ext
23255 cat >>conftest.$ac_ext <<_ACEOF
23256 /* end confdefs.h. */
23258 /* Override any gcc2 internal prototype to avoid an error. */
23262 /* We use char because int might match the return type of a gcc2
23263 builtin and then its argument prototype would still apply. */
23273 rm -f conftest.$ac_objext conftest$ac_exeext
23274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23275 (eval $ac_link) 2>conftest.er1
23277 grep -v '^ *+' conftest.er1 >conftest.err
23279 cat conftest.err >&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); } &&
23282 { ac_try='test -z "$ac_c_werror_flag"
23283 || test ! -s conftest.err'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; } &&
23289 { ac_try='test -s conftest$ac_exeext'
23290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23291 (eval $ac_try) 2>&5
23293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23294 (exit $ac_status); }; }; then
23295 ac_cv_lib_m_cabsl=yes
23297 echo "$as_me: failed program was:" >&5
23298 sed 's/^/| /' conftest.$ac_ext >&5
23300 ac_cv_lib_m_cabsl=no
23302 rm -f conftest.err conftest.$ac_objext \
23303 conftest$ac_exeext conftest.$ac_ext
23304 LIBS=$ac_check_lib_save_LIBS
23306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23307 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23308 if test $ac_cv_lib_m_cabsl = yes; then
23310 cat >>confdefs.h <<\_ACEOF
23311 #define HAVE_CABSL 1
23316 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23317 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23318 if test "${ac_cv_lib_m_floorf+set}" = set; then
23319 echo $ECHO_N "(cached) $ECHO_C" >&6
23321 ac_check_lib_save_LIBS=$LIBS
23323 if test x$gcc_no_link = xyes; then
23324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23326 { (exit 1); exit 1; }; }
23328 cat >conftest.$ac_ext <<_ACEOF
23331 cat confdefs.h >>conftest.$ac_ext
23332 cat >>conftest.$ac_ext <<_ACEOF
23333 /* end confdefs.h. */
23335 /* Override any gcc2 internal prototype to avoid an error. */
23339 /* We use char because int might match the return type of a gcc2
23340 builtin and then its argument prototype would still apply. */
23350 rm -f conftest.$ac_objext conftest$ac_exeext
23351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23352 (eval $ac_link) 2>conftest.er1
23354 grep -v '^ *+' conftest.er1 >conftest.err
23356 cat conftest.err >&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); } &&
23359 { ac_try='test -z "$ac_c_werror_flag"
23360 || test ! -s conftest.err'
23361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23362 (eval $ac_try) 2>&5
23364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23365 (exit $ac_status); }; } &&
23366 { ac_try='test -s conftest$ac_exeext'
23367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23368 (eval $ac_try) 2>&5
23370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23371 (exit $ac_status); }; }; then
23372 ac_cv_lib_m_floorf=yes
23374 echo "$as_me: failed program was:" >&5
23375 sed 's/^/| /' conftest.$ac_ext >&5
23377 ac_cv_lib_m_floorf=no
23379 rm -f conftest.err conftest.$ac_objext \
23380 conftest$ac_exeext conftest.$ac_ext
23381 LIBS=$ac_check_lib_save_LIBS
23383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23384 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23385 if test $ac_cv_lib_m_floorf = yes; then
23387 cat >>confdefs.h <<\_ACEOF
23388 #define HAVE_FLOORF 1
23393 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23394 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23395 if test "${ac_cv_lib_m_floor+set}" = set; then
23396 echo $ECHO_N "(cached) $ECHO_C" >&6
23398 ac_check_lib_save_LIBS=$LIBS
23400 if test x$gcc_no_link = xyes; then
23401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23403 { (exit 1); exit 1; }; }
23405 cat >conftest.$ac_ext <<_ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23412 /* Override any gcc2 internal prototype to avoid an error. */
23416 /* We use char because int might match the return type of a gcc2
23417 builtin and then its argument prototype would still apply. */
23427 rm -f conftest.$ac_objext conftest$ac_exeext
23428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23429 (eval $ac_link) 2>conftest.er1
23431 grep -v '^ *+' conftest.er1 >conftest.err
23433 cat conftest.err >&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); } &&
23436 { ac_try='test -z "$ac_c_werror_flag"
23437 || test ! -s conftest.err'
23438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23439 (eval $ac_try) 2>&5
23441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23442 (exit $ac_status); }; } &&
23443 { ac_try='test -s conftest$ac_exeext'
23444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23445 (eval $ac_try) 2>&5
23447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23448 (exit $ac_status); }; }; then
23449 ac_cv_lib_m_floor=yes
23451 echo "$as_me: failed program was:" >&5
23452 sed 's/^/| /' conftest.$ac_ext >&5
23454 ac_cv_lib_m_floor=no
23456 rm -f conftest.err conftest.$ac_objext \
23457 conftest$ac_exeext conftest.$ac_ext
23458 LIBS=$ac_check_lib_save_LIBS
23460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23461 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23462 if test $ac_cv_lib_m_floor = yes; then
23464 cat >>confdefs.h <<\_ACEOF
23465 #define HAVE_FLOOR 1
23470 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23471 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23472 if test "${ac_cv_lib_m_floorl+set}" = set; then
23473 echo $ECHO_N "(cached) $ECHO_C" >&6
23475 ac_check_lib_save_LIBS=$LIBS
23477 if test x$gcc_no_link = xyes; then
23478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23480 { (exit 1); exit 1; }; }
23482 cat >conftest.$ac_ext <<_ACEOF
23485 cat confdefs.h >>conftest.$ac_ext
23486 cat >>conftest.$ac_ext <<_ACEOF
23487 /* end confdefs.h. */
23489 /* Override any gcc2 internal prototype to avoid an error. */
23493 /* We use char because int might match the return type of a gcc2
23494 builtin and then its argument prototype would still apply. */
23504 rm -f conftest.$ac_objext conftest$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506 (eval $ac_link) 2>conftest.er1
23508 grep -v '^ *+' conftest.er1 >conftest.err
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try='test -z "$ac_c_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 ac_cv_lib_m_floorl=yes
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23531 ac_cv_lib_m_floorl=no
23533 rm -f conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23535 LIBS=$ac_check_lib_save_LIBS
23537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23538 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23539 if test $ac_cv_lib_m_floorl = yes; then
23541 cat >>confdefs.h <<\_ACEOF
23542 #define HAVE_FLOORL 1
23547 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23548 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23549 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23550 echo $ECHO_N "(cached) $ECHO_C" >&6
23552 ac_check_lib_save_LIBS=$LIBS
23554 if test x$gcc_no_link = xyes; then
23555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23557 { (exit 1); exit 1; }; }
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23566 /* Override any gcc2 internal prototype to avoid an error. */
23570 /* We use char because int might match the return type of a gcc2
23571 builtin and then its argument prototype would still apply. */
23581 rm -f conftest.$ac_objext conftest$ac_exeext
23582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23583 (eval $ac_link) 2>conftest.er1
23585 grep -v '^ *+' conftest.er1 >conftest.err
23587 cat conftest.err >&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); } &&
23590 { ac_try='test -z "$ac_c_werror_flag"
23591 || test ! -s conftest.err'
23592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23593 (eval $ac_try) 2>&5
23595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23596 (exit $ac_status); }; } &&
23597 { ac_try='test -s conftest$ac_exeext'
23598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23599 (eval $ac_try) 2>&5
23601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23602 (exit $ac_status); }; }; then
23603 ac_cv_lib_m_fmodf=yes
23605 echo "$as_me: failed program was:" >&5
23606 sed 's/^/| /' conftest.$ac_ext >&5
23608 ac_cv_lib_m_fmodf=no
23610 rm -f conftest.err conftest.$ac_objext \
23611 conftest$ac_exeext conftest.$ac_ext
23612 LIBS=$ac_check_lib_save_LIBS
23614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23615 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23616 if test $ac_cv_lib_m_fmodf = yes; then
23618 cat >>confdefs.h <<\_ACEOF
23619 #define HAVE_FMODF 1
23624 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23625 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23626 if test "${ac_cv_lib_m_fmod+set}" = set; then
23627 echo $ECHO_N "(cached) $ECHO_C" >&6
23629 ac_check_lib_save_LIBS=$LIBS
23631 if test x$gcc_no_link = xyes; then
23632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23634 { (exit 1); exit 1; }; }
23636 cat >conftest.$ac_ext <<_ACEOF
23639 cat confdefs.h >>conftest.$ac_ext
23640 cat >>conftest.$ac_ext <<_ACEOF
23641 /* end confdefs.h. */
23643 /* Override any gcc2 internal prototype to avoid an error. */
23647 /* We use char because int might match the return type of a gcc2
23648 builtin and then its argument prototype would still apply. */
23658 rm -f conftest.$ac_objext conftest$ac_exeext
23659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23660 (eval $ac_link) 2>conftest.er1
23662 grep -v '^ *+' conftest.er1 >conftest.err
23664 cat conftest.err >&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); } &&
23667 { ac_try='test -z "$ac_c_werror_flag"
23668 || test ! -s conftest.err'
23669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23670 (eval $ac_try) 2>&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); }; } &&
23674 { ac_try='test -s conftest$ac_exeext'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; }; then
23680 ac_cv_lib_m_fmod=yes
23682 echo "$as_me: failed program was:" >&5
23683 sed 's/^/| /' conftest.$ac_ext >&5
23685 ac_cv_lib_m_fmod=no
23687 rm -f conftest.err conftest.$ac_objext \
23688 conftest$ac_exeext conftest.$ac_ext
23689 LIBS=$ac_check_lib_save_LIBS
23691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23692 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23693 if test $ac_cv_lib_m_fmod = yes; then
23695 cat >>confdefs.h <<\_ACEOF
23696 #define HAVE_FMOD 1
23701 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23702 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23703 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23706 ac_check_lib_save_LIBS=$LIBS
23708 if test x$gcc_no_link = xyes; then
23709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23711 { (exit 1); exit 1; }; }
23713 cat >conftest.$ac_ext <<_ACEOF
23716 cat confdefs.h >>conftest.$ac_ext
23717 cat >>conftest.$ac_ext <<_ACEOF
23718 /* end confdefs.h. */
23720 /* Override any gcc2 internal prototype to avoid an error. */
23724 /* We use char because int might match the return type of a gcc2
23725 builtin and then its argument prototype would still apply. */
23735 rm -f conftest.$ac_objext conftest$ac_exeext
23736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23737 (eval $ac_link) 2>conftest.er1
23739 grep -v '^ *+' conftest.er1 >conftest.err
23741 cat conftest.err >&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); } &&
23744 { ac_try='test -z "$ac_c_werror_flag"
23745 || test ! -s conftest.err'
23746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23747 (eval $ac_try) 2>&5
23749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23750 (exit $ac_status); }; } &&
23751 { ac_try='test -s conftest$ac_exeext'
23752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23753 (eval $ac_try) 2>&5
23755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23756 (exit $ac_status); }; }; then
23757 ac_cv_lib_m_fmodl=yes
23759 echo "$as_me: failed program was:" >&5
23760 sed 's/^/| /' conftest.$ac_ext >&5
23762 ac_cv_lib_m_fmodl=no
23764 rm -f conftest.err conftest.$ac_objext \
23765 conftest$ac_exeext conftest.$ac_ext
23766 LIBS=$ac_check_lib_save_LIBS
23768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23769 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23770 if test $ac_cv_lib_m_fmodl = yes; then
23772 cat >>confdefs.h <<\_ACEOF
23773 #define HAVE_FMODL 1
23778 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23779 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23780 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23783 ac_check_lib_save_LIBS=$LIBS
23785 if test x$gcc_no_link = xyes; then
23786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23788 { (exit 1); exit 1; }; }
23790 cat >conftest.$ac_ext <<_ACEOF
23793 cat confdefs.h >>conftest.$ac_ext
23794 cat >>conftest.$ac_ext <<_ACEOF
23795 /* end confdefs.h. */
23797 /* Override any gcc2 internal prototype to avoid an error. */
23801 /* We use char because int might match the return type of a gcc2
23802 builtin and then its argument prototype would still apply. */
23812 rm -f conftest.$ac_objext conftest$ac_exeext
23813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23814 (eval $ac_link) 2>conftest.er1
23816 grep -v '^ *+' conftest.er1 >conftest.err
23818 cat conftest.err >&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); } &&
23821 { ac_try='test -z "$ac_c_werror_flag"
23822 || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try='test -s conftest$ac_exeext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 ac_cv_lib_m_frexpf=yes
23836 echo "$as_me: failed program was:" >&5
23837 sed 's/^/| /' conftest.$ac_ext >&5
23839 ac_cv_lib_m_frexpf=no
23841 rm -f conftest.err conftest.$ac_objext \
23842 conftest$ac_exeext conftest.$ac_ext
23843 LIBS=$ac_check_lib_save_LIBS
23845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23846 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23847 if test $ac_cv_lib_m_frexpf = yes; then
23849 cat >>confdefs.h <<\_ACEOF
23850 #define HAVE_FREXPF 1
23855 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23856 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23857 if test "${ac_cv_lib_m_frexp+set}" = set; then
23858 echo $ECHO_N "(cached) $ECHO_C" >&6
23860 ac_check_lib_save_LIBS=$LIBS
23862 if test x$gcc_no_link = xyes; then
23863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23865 { (exit 1); exit 1; }; }
23867 cat >conftest.$ac_ext <<_ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h. */
23874 /* Override any gcc2 internal prototype to avoid an error. */
23878 /* We use char because int might match the return type of a gcc2
23879 builtin and then its argument prototype would still apply. */
23889 rm -f conftest.$ac_objext conftest$ac_exeext
23890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23891 (eval $ac_link) 2>conftest.er1
23893 grep -v '^ *+' conftest.er1 >conftest.err
23895 cat conftest.err >&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); } &&
23898 { ac_try='test -z "$ac_c_werror_flag"
23899 || test ! -s conftest.err'
23900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23901 (eval $ac_try) 2>&5
23903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23904 (exit $ac_status); }; } &&
23905 { ac_try='test -s conftest$ac_exeext'
23906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23907 (eval $ac_try) 2>&5
23909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23910 (exit $ac_status); }; }; then
23911 ac_cv_lib_m_frexp=yes
23913 echo "$as_me: failed program was:" >&5
23914 sed 's/^/| /' conftest.$ac_ext >&5
23916 ac_cv_lib_m_frexp=no
23918 rm -f conftest.err conftest.$ac_objext \
23919 conftest$ac_exeext conftest.$ac_ext
23920 LIBS=$ac_check_lib_save_LIBS
23922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23923 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23924 if test $ac_cv_lib_m_frexp = yes; then
23926 cat >>confdefs.h <<\_ACEOF
23927 #define HAVE_FREXP 1
23932 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23933 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23934 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23935 echo $ECHO_N "(cached) $ECHO_C" >&6
23937 ac_check_lib_save_LIBS=$LIBS
23939 if test x$gcc_no_link = xyes; then
23940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23942 { (exit 1); exit 1; }; }
23944 cat >conftest.$ac_ext <<_ACEOF
23947 cat confdefs.h >>conftest.$ac_ext
23948 cat >>conftest.$ac_ext <<_ACEOF
23949 /* end confdefs.h. */
23951 /* Override any gcc2 internal prototype to avoid an error. */
23955 /* We use char because int might match the return type of a gcc2
23956 builtin and then its argument prototype would still apply. */
23966 rm -f conftest.$ac_objext conftest$ac_exeext
23967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23968 (eval $ac_link) 2>conftest.er1
23970 grep -v '^ *+' conftest.er1 >conftest.err
23972 cat conftest.err >&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); } &&
23975 { ac_try='test -z "$ac_c_werror_flag"
23976 || test ! -s conftest.err'
23977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23978 (eval $ac_try) 2>&5
23980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23981 (exit $ac_status); }; } &&
23982 { ac_try='test -s conftest$ac_exeext'
23983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23984 (eval $ac_try) 2>&5
23986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23987 (exit $ac_status); }; }; then
23988 ac_cv_lib_m_frexpl=yes
23990 echo "$as_me: failed program was:" >&5
23991 sed 's/^/| /' conftest.$ac_ext >&5
23993 ac_cv_lib_m_frexpl=no
23995 rm -f conftest.err conftest.$ac_objext \
23996 conftest$ac_exeext conftest.$ac_ext
23997 LIBS=$ac_check_lib_save_LIBS
23999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24000 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24001 if test $ac_cv_lib_m_frexpl = yes; then
24003 cat >>confdefs.h <<\_ACEOF
24004 #define HAVE_FREXPL 1
24009 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24010 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24011 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24014 ac_check_lib_save_LIBS=$LIBS
24016 if test x$gcc_no_link = xyes; then
24017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24019 { (exit 1); exit 1; }; }
24021 cat >conftest.$ac_ext <<_ACEOF
24024 cat confdefs.h >>conftest.$ac_ext
24025 cat >>conftest.$ac_ext <<_ACEOF
24026 /* end confdefs.h. */
24028 /* Override any gcc2 internal prototype to avoid an error. */
24032 /* We use char because int might match the return type of a gcc2
24033 builtin and then its argument prototype would still apply. */
24043 rm -f conftest.$ac_objext conftest$ac_exeext
24044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24045 (eval $ac_link) 2>conftest.er1
24047 grep -v '^ *+' conftest.er1 >conftest.err
24049 cat conftest.err >&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); } &&
24052 { ac_try='test -z "$ac_c_werror_flag"
24053 || test ! -s conftest.err'
24054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24055 (eval $ac_try) 2>&5
24057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24058 (exit $ac_status); }; } &&
24059 { ac_try='test -s conftest$ac_exeext'
24060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24061 (eval $ac_try) 2>&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); }; }; then
24065 ac_cv_lib_m_hypotf=yes
24067 echo "$as_me: failed program was:" >&5
24068 sed 's/^/| /' conftest.$ac_ext >&5
24070 ac_cv_lib_m_hypotf=no
24072 rm -f conftest.err conftest.$ac_objext \
24073 conftest$ac_exeext conftest.$ac_ext
24074 LIBS=$ac_check_lib_save_LIBS
24076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24077 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24078 if test $ac_cv_lib_m_hypotf = yes; then
24080 cat >>confdefs.h <<\_ACEOF
24081 #define HAVE_HYPOTF 1
24086 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24087 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24088 if test "${ac_cv_lib_m_hypot+set}" = set; then
24089 echo $ECHO_N "(cached) $ECHO_C" >&6
24091 ac_check_lib_save_LIBS=$LIBS
24093 if test x$gcc_no_link = xyes; then
24094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24096 { (exit 1); exit 1; }; }
24098 cat >conftest.$ac_ext <<_ACEOF
24101 cat confdefs.h >>conftest.$ac_ext
24102 cat >>conftest.$ac_ext <<_ACEOF
24103 /* end confdefs.h. */
24105 /* Override any gcc2 internal prototype to avoid an error. */
24109 /* We use char because int might match the return type of a gcc2
24110 builtin and then its argument prototype would still apply. */
24120 rm -f conftest.$ac_objext conftest$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24124 grep -v '^ *+' conftest.er1 >conftest.err
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 ac_cv_lib_m_hypot=yes
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24147 ac_cv_lib_m_hypot=no
24149 rm -f conftest.err conftest.$ac_objext \
24150 conftest$ac_exeext conftest.$ac_ext
24151 LIBS=$ac_check_lib_save_LIBS
24153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24154 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24155 if test $ac_cv_lib_m_hypot = yes; then
24157 cat >>confdefs.h <<\_ACEOF
24158 #define HAVE_HYPOT 1
24163 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24164 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24165 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24166 echo $ECHO_N "(cached) $ECHO_C" >&6
24168 ac_check_lib_save_LIBS=$LIBS
24170 if test x$gcc_no_link = xyes; then
24171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24173 { (exit 1); exit 1; }; }
24175 cat >conftest.$ac_ext <<_ACEOF
24178 cat confdefs.h >>conftest.$ac_ext
24179 cat >>conftest.$ac_ext <<_ACEOF
24180 /* end confdefs.h. */
24182 /* Override any gcc2 internal prototype to avoid an error. */
24186 /* We use char because int might match the return type of a gcc2
24187 builtin and then its argument prototype would still apply. */
24197 rm -f conftest.$ac_objext conftest$ac_exeext
24198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24199 (eval $ac_link) 2>conftest.er1
24201 grep -v '^ *+' conftest.er1 >conftest.err
24203 cat conftest.err >&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); } &&
24206 { ac_try='test -z "$ac_c_werror_flag"
24207 || test ! -s conftest.err'
24208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24209 (eval $ac_try) 2>&5
24211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24212 (exit $ac_status); }; } &&
24213 { ac_try='test -s conftest$ac_exeext'
24214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24215 (eval $ac_try) 2>&5
24217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24218 (exit $ac_status); }; }; then
24219 ac_cv_lib_m_hypotl=yes
24221 echo "$as_me: failed program was:" >&5
24222 sed 's/^/| /' conftest.$ac_ext >&5
24224 ac_cv_lib_m_hypotl=no
24226 rm -f conftest.err conftest.$ac_objext \
24227 conftest$ac_exeext conftest.$ac_ext
24228 LIBS=$ac_check_lib_save_LIBS
24230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24231 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24232 if test $ac_cv_lib_m_hypotl = yes; then
24234 cat >>confdefs.h <<\_ACEOF
24235 #define HAVE_HYPOTL 1
24240 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24241 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24242 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24243 echo $ECHO_N "(cached) $ECHO_C" >&6
24245 ac_check_lib_save_LIBS=$LIBS
24247 if test x$gcc_no_link = xyes; then
24248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24250 { (exit 1); exit 1; }; }
24252 cat >conftest.$ac_ext <<_ACEOF
24255 cat confdefs.h >>conftest.$ac_ext
24256 cat >>conftest.$ac_ext <<_ACEOF
24257 /* end confdefs.h. */
24259 /* Override any gcc2 internal prototype to avoid an error. */
24263 /* We use char because int might match the return type of a gcc2
24264 builtin and then its argument prototype would still apply. */
24274 rm -f conftest.$ac_objext conftest$ac_exeext
24275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24276 (eval $ac_link) 2>conftest.er1
24278 grep -v '^ *+' conftest.er1 >conftest.err
24280 cat conftest.err >&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); } &&
24283 { ac_try='test -z "$ac_c_werror_flag"
24284 || test ! -s conftest.err'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; } &&
24290 { ac_try='test -s conftest$ac_exeext'
24291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24292 (eval $ac_try) 2>&5
24294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24295 (exit $ac_status); }; }; then
24296 ac_cv_lib_m_ldexpf=yes
24298 echo "$as_me: failed program was:" >&5
24299 sed 's/^/| /' conftest.$ac_ext >&5
24301 ac_cv_lib_m_ldexpf=no
24303 rm -f conftest.err conftest.$ac_objext \
24304 conftest$ac_exeext conftest.$ac_ext
24305 LIBS=$ac_check_lib_save_LIBS
24307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24308 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24309 if test $ac_cv_lib_m_ldexpf = yes; then
24311 cat >>confdefs.h <<\_ACEOF
24312 #define HAVE_LDEXPF 1
24317 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24318 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24319 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24320 echo $ECHO_N "(cached) $ECHO_C" >&6
24322 ac_check_lib_save_LIBS=$LIBS
24324 if test x$gcc_no_link = xyes; then
24325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24327 { (exit 1); exit 1; }; }
24329 cat >conftest.$ac_ext <<_ACEOF
24332 cat confdefs.h >>conftest.$ac_ext
24333 cat >>conftest.$ac_ext <<_ACEOF
24334 /* end confdefs.h. */
24336 /* Override any gcc2 internal prototype to avoid an error. */
24340 /* We use char because int might match the return type of a gcc2
24341 builtin and then its argument prototype would still apply. */
24351 rm -f conftest.$ac_objext conftest$ac_exeext
24352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24353 (eval $ac_link) 2>conftest.er1
24355 grep -v '^ *+' conftest.er1 >conftest.err
24357 cat conftest.err >&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); } &&
24360 { ac_try='test -z "$ac_c_werror_flag"
24361 || test ! -s conftest.err'
24362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24363 (eval $ac_try) 2>&5
24365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24366 (exit $ac_status); }; } &&
24367 { ac_try='test -s conftest$ac_exeext'
24368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24369 (eval $ac_try) 2>&5
24371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24372 (exit $ac_status); }; }; then
24373 ac_cv_lib_m_ldexp=yes
24375 echo "$as_me: failed program was:" >&5
24376 sed 's/^/| /' conftest.$ac_ext >&5
24378 ac_cv_lib_m_ldexp=no
24380 rm -f conftest.err conftest.$ac_objext \
24381 conftest$ac_exeext conftest.$ac_ext
24382 LIBS=$ac_check_lib_save_LIBS
24384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24385 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24386 if test $ac_cv_lib_m_ldexp = yes; then
24388 cat >>confdefs.h <<\_ACEOF
24389 #define HAVE_LDEXP 1
24394 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24395 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24396 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24397 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 ac_check_lib_save_LIBS=$LIBS
24401 if test x$gcc_no_link = xyes; then
24402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24404 { (exit 1); exit 1; }; }
24406 cat >conftest.$ac_ext <<_ACEOF
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24413 /* Override any gcc2 internal prototype to avoid an error. */
24417 /* We use char because int might match the return type of a gcc2
24418 builtin and then its argument prototype would still apply. */
24428 rm -f conftest.$ac_objext conftest$ac_exeext
24429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24430 (eval $ac_link) 2>conftest.er1
24432 grep -v '^ *+' conftest.er1 >conftest.err
24434 cat conftest.err >&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); } &&
24437 { ac_try='test -z "$ac_c_werror_flag"
24438 || test ! -s conftest.err'
24439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24440 (eval $ac_try) 2>&5
24442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24443 (exit $ac_status); }; } &&
24444 { ac_try='test -s conftest$ac_exeext'
24445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24446 (eval $ac_try) 2>&5
24448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24449 (exit $ac_status); }; }; then
24450 ac_cv_lib_m_ldexpl=yes
24452 echo "$as_me: failed program was:" >&5
24453 sed 's/^/| /' conftest.$ac_ext >&5
24455 ac_cv_lib_m_ldexpl=no
24457 rm -f conftest.err conftest.$ac_objext \
24458 conftest$ac_exeext conftest.$ac_ext
24459 LIBS=$ac_check_lib_save_LIBS
24461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24462 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24463 if test $ac_cv_lib_m_ldexpl = yes; then
24465 cat >>confdefs.h <<\_ACEOF
24466 #define HAVE_LDEXPL 1
24471 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24472 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24473 if test "${ac_cv_lib_m_logf+set}" = set; then
24474 echo $ECHO_N "(cached) $ECHO_C" >&6
24476 ac_check_lib_save_LIBS=$LIBS
24478 if test x$gcc_no_link = xyes; then
24479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24481 { (exit 1); exit 1; }; }
24483 cat >conftest.$ac_ext <<_ACEOF
24486 cat confdefs.h >>conftest.$ac_ext
24487 cat >>conftest.$ac_ext <<_ACEOF
24488 /* end confdefs.h. */
24490 /* Override any gcc2 internal prototype to avoid an error. */
24494 /* We use char because int might match the return type of a gcc2
24495 builtin and then its argument prototype would still apply. */
24505 rm -f conftest.$ac_objext conftest$ac_exeext
24506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24507 (eval $ac_link) 2>conftest.er1
24509 grep -v '^ *+' conftest.er1 >conftest.err
24511 cat conftest.err >&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); } &&
24514 { ac_try='test -z "$ac_c_werror_flag"
24515 || test ! -s conftest.err'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; } &&
24521 { ac_try='test -s conftest$ac_exeext'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; }; then
24527 ac_cv_lib_m_logf=yes
24529 echo "$as_me: failed program was:" >&5
24530 sed 's/^/| /' conftest.$ac_ext >&5
24532 ac_cv_lib_m_logf=no
24534 rm -f conftest.err conftest.$ac_objext \
24535 conftest$ac_exeext conftest.$ac_ext
24536 LIBS=$ac_check_lib_save_LIBS
24538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24539 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24540 if test $ac_cv_lib_m_logf = yes; then
24542 cat >>confdefs.h <<\_ACEOF
24543 #define HAVE_LOGF 1
24548 echo "$as_me:$LINENO: checking for log in -lm" >&5
24549 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24550 if test "${ac_cv_lib_m_log+set}" = set; then
24551 echo $ECHO_N "(cached) $ECHO_C" >&6
24553 ac_check_lib_save_LIBS=$LIBS
24555 if test x$gcc_no_link = xyes; then
24556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24558 { (exit 1); exit 1; }; }
24560 cat >conftest.$ac_ext <<_ACEOF
24563 cat confdefs.h >>conftest.$ac_ext
24564 cat >>conftest.$ac_ext <<_ACEOF
24565 /* end confdefs.h. */
24567 /* Override any gcc2 internal prototype to avoid an error. */
24571 /* We use char because int might match the return type of a gcc2
24572 builtin and then its argument prototype would still apply. */
24582 rm -f conftest.$ac_objext conftest$ac_exeext
24583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24584 (eval $ac_link) 2>conftest.er1
24586 grep -v '^ *+' conftest.er1 >conftest.err
24588 cat conftest.err >&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); } &&
24591 { ac_try='test -z "$ac_c_werror_flag"
24592 || test ! -s conftest.err'
24593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594 (eval $ac_try) 2>&5
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); }; } &&
24598 { ac_try='test -s conftest$ac_exeext'
24599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24600 (eval $ac_try) 2>&5
24602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24603 (exit $ac_status); }; }; then
24604 ac_cv_lib_m_log=yes
24606 echo "$as_me: failed program was:" >&5
24607 sed 's/^/| /' conftest.$ac_ext >&5
24611 rm -f conftest.err conftest.$ac_objext \
24612 conftest$ac_exeext conftest.$ac_ext
24613 LIBS=$ac_check_lib_save_LIBS
24615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24616 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24617 if test $ac_cv_lib_m_log = yes; then
24619 cat >>confdefs.h <<\_ACEOF
24625 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24626 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24627 if test "${ac_cv_lib_m_logl+set}" = set; then
24628 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 ac_check_lib_save_LIBS=$LIBS
24632 if test x$gcc_no_link = xyes; then
24633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24635 { (exit 1); exit 1; }; }
24637 cat >conftest.$ac_ext <<_ACEOF
24640 cat confdefs.h >>conftest.$ac_ext
24641 cat >>conftest.$ac_ext <<_ACEOF
24642 /* end confdefs.h. */
24644 /* Override any gcc2 internal prototype to avoid an error. */
24648 /* We use char because int might match the return type of a gcc2
24649 builtin and then its argument prototype would still apply. */
24659 rm -f conftest.$ac_objext conftest$ac_exeext
24660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24661 (eval $ac_link) 2>conftest.er1
24663 grep -v '^ *+' conftest.er1 >conftest.err
24665 cat conftest.err >&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); } &&
24668 { ac_try='test -z "$ac_c_werror_flag"
24669 || test ! -s conftest.err'
24670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24671 (eval $ac_try) 2>&5
24673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24674 (exit $ac_status); }; } &&
24675 { ac_try='test -s conftest$ac_exeext'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; }; then
24681 ac_cv_lib_m_logl=yes
24683 echo "$as_me: failed program was:" >&5
24684 sed 's/^/| /' conftest.$ac_ext >&5
24686 ac_cv_lib_m_logl=no
24688 rm -f conftest.err conftest.$ac_objext \
24689 conftest$ac_exeext conftest.$ac_ext
24690 LIBS=$ac_check_lib_save_LIBS
24692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24693 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24694 if test $ac_cv_lib_m_logl = yes; then
24696 cat >>confdefs.h <<\_ACEOF
24697 #define HAVE_LOGL 1
24702 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24703 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24704 if test "${ac_cv_lib_m_clogf+set}" = set; then
24705 echo $ECHO_N "(cached) $ECHO_C" >&6
24707 ac_check_lib_save_LIBS=$LIBS
24709 if test x$gcc_no_link = xyes; then
24710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24712 { (exit 1); exit 1; }; }
24714 cat >conftest.$ac_ext <<_ACEOF
24717 cat confdefs.h >>conftest.$ac_ext
24718 cat >>conftest.$ac_ext <<_ACEOF
24719 /* end confdefs.h. */
24721 /* Override any gcc2 internal prototype to avoid an error. */
24725 /* We use char because int might match the return type of a gcc2
24726 builtin and then its argument prototype would still apply. */
24736 rm -f conftest.$ac_objext conftest$ac_exeext
24737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24738 (eval $ac_link) 2>conftest.er1
24740 grep -v '^ *+' conftest.er1 >conftest.err
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } &&
24745 { ac_try='test -z "$ac_c_werror_flag"
24746 || test ! -s conftest.err'
24747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24748 (eval $ac_try) 2>&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); }; } &&
24752 { ac_try='test -s conftest$ac_exeext'
24753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24754 (eval $ac_try) 2>&5
24756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24757 (exit $ac_status); }; }; then
24758 ac_cv_lib_m_clogf=yes
24760 echo "$as_me: failed program was:" >&5
24761 sed 's/^/| /' conftest.$ac_ext >&5
24763 ac_cv_lib_m_clogf=no
24765 rm -f conftest.err conftest.$ac_objext \
24766 conftest$ac_exeext conftest.$ac_ext
24767 LIBS=$ac_check_lib_save_LIBS
24769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24770 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24771 if test $ac_cv_lib_m_clogf = yes; then
24773 cat >>confdefs.h <<\_ACEOF
24774 #define HAVE_CLOGF 1
24779 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24780 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24781 if test "${ac_cv_lib_m_clog+set}" = set; then
24782 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 ac_check_lib_save_LIBS=$LIBS
24786 if test x$gcc_no_link = xyes; then
24787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24789 { (exit 1); exit 1; }; }
24791 cat >conftest.$ac_ext <<_ACEOF
24794 cat confdefs.h >>conftest.$ac_ext
24795 cat >>conftest.$ac_ext <<_ACEOF
24796 /* end confdefs.h. */
24798 /* Override any gcc2 internal prototype to avoid an error. */
24802 /* We use char because int might match the return type of a gcc2
24803 builtin and then its argument prototype would still apply. */
24813 rm -f conftest.$ac_objext conftest$ac_exeext
24814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24815 (eval $ac_link) 2>conftest.er1
24817 grep -v '^ *+' conftest.er1 >conftest.err
24819 cat conftest.err >&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); } &&
24822 { ac_try='test -z "$ac_c_werror_flag"
24823 || test ! -s conftest.err'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; } &&
24829 { ac_try='test -s conftest$ac_exeext'
24830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24831 (eval $ac_try) 2>&5
24833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24834 (exit $ac_status); }; }; then
24835 ac_cv_lib_m_clog=yes
24837 echo "$as_me: failed program was:" >&5
24838 sed 's/^/| /' conftest.$ac_ext >&5
24840 ac_cv_lib_m_clog=no
24842 rm -f conftest.err conftest.$ac_objext \
24843 conftest$ac_exeext conftest.$ac_ext
24844 LIBS=$ac_check_lib_save_LIBS
24846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24847 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24848 if test $ac_cv_lib_m_clog = yes; then
24850 cat >>confdefs.h <<\_ACEOF
24851 #define HAVE_CLOG 1
24856 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24857 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24858 if test "${ac_cv_lib_m_clogl+set}" = set; then
24859 echo $ECHO_N "(cached) $ECHO_C" >&6
24861 ac_check_lib_save_LIBS=$LIBS
24863 if test x$gcc_no_link = xyes; then
24864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24866 { (exit 1); exit 1; }; }
24868 cat >conftest.$ac_ext <<_ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24875 /* Override any gcc2 internal prototype to avoid an error. */
24879 /* We use char because int might match the return type of a gcc2
24880 builtin and then its argument prototype would still apply. */
24890 rm -f conftest.$ac_objext conftest$ac_exeext
24891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24892 (eval $ac_link) 2>conftest.er1
24894 grep -v '^ *+' conftest.er1 >conftest.err
24896 cat conftest.err >&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); } &&
24899 { ac_try='test -z "$ac_c_werror_flag"
24900 || test ! -s conftest.err'
24901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24902 (eval $ac_try) 2>&5
24904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24905 (exit $ac_status); }; } &&
24906 { ac_try='test -s conftest$ac_exeext'
24907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24908 (eval $ac_try) 2>&5
24910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24911 (exit $ac_status); }; }; then
24912 ac_cv_lib_m_clogl=yes
24914 echo "$as_me: failed program was:" >&5
24915 sed 's/^/| /' conftest.$ac_ext >&5
24917 ac_cv_lib_m_clogl=no
24919 rm -f conftest.err conftest.$ac_objext \
24920 conftest$ac_exeext conftest.$ac_ext
24921 LIBS=$ac_check_lib_save_LIBS
24923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24924 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24925 if test $ac_cv_lib_m_clogl = yes; then
24927 cat >>confdefs.h <<\_ACEOF
24928 #define HAVE_CLOGL 1
24933 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24934 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24935 if test "${ac_cv_lib_m_log10f+set}" = set; then
24936 echo $ECHO_N "(cached) $ECHO_C" >&6
24938 ac_check_lib_save_LIBS=$LIBS
24940 if test x$gcc_no_link = xyes; then
24941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24943 { (exit 1); exit 1; }; }
24945 cat >conftest.$ac_ext <<_ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24952 /* Override any gcc2 internal prototype to avoid an error. */
24956 /* We use char because int might match the return type of a gcc2
24957 builtin and then its argument prototype would still apply. */
24967 rm -f conftest.$ac_objext conftest$ac_exeext
24968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24969 (eval $ac_link) 2>conftest.er1
24971 grep -v '^ *+' conftest.er1 >conftest.err
24973 cat conftest.err >&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } &&
24976 { ac_try='test -z "$ac_c_werror_flag"
24977 || test ! -s conftest.err'
24978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24979 (eval $ac_try) 2>&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); }; } &&
24983 { ac_try='test -s conftest$ac_exeext'
24984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24985 (eval $ac_try) 2>&5
24987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24988 (exit $ac_status); }; }; then
24989 ac_cv_lib_m_log10f=yes
24991 echo "$as_me: failed program was:" >&5
24992 sed 's/^/| /' conftest.$ac_ext >&5
24994 ac_cv_lib_m_log10f=no
24996 rm -f conftest.err conftest.$ac_objext \
24997 conftest$ac_exeext conftest.$ac_ext
24998 LIBS=$ac_check_lib_save_LIBS
25000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25001 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25002 if test $ac_cv_lib_m_log10f = yes; then
25004 cat >>confdefs.h <<\_ACEOF
25005 #define HAVE_LOG10F 1
25010 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25011 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25012 if test "${ac_cv_lib_m_log10+set}" = set; then
25013 echo $ECHO_N "(cached) $ECHO_C" >&6
25015 ac_check_lib_save_LIBS=$LIBS
25017 if test x$gcc_no_link = xyes; then
25018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25020 { (exit 1); exit 1; }; }
25022 cat >conftest.$ac_ext <<_ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25029 /* Override any gcc2 internal prototype to avoid an error. */
25033 /* We use char because int might match the return type of a gcc2
25034 builtin and then its argument prototype would still apply. */
25044 rm -f conftest.$ac_objext conftest$ac_exeext
25045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25046 (eval $ac_link) 2>conftest.er1
25048 grep -v '^ *+' conftest.er1 >conftest.err
25050 cat conftest.err >&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); } &&
25053 { ac_try='test -z "$ac_c_werror_flag"
25054 || test ! -s conftest.err'
25055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25056 (eval $ac_try) 2>&5
25058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25059 (exit $ac_status); }; } &&
25060 { ac_try='test -s conftest$ac_exeext'
25061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25062 (eval $ac_try) 2>&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); }; }; then
25066 ac_cv_lib_m_log10=yes
25068 echo "$as_me: failed program was:" >&5
25069 sed 's/^/| /' conftest.$ac_ext >&5
25071 ac_cv_lib_m_log10=no
25073 rm -f conftest.err conftest.$ac_objext \
25074 conftest$ac_exeext conftest.$ac_ext
25075 LIBS=$ac_check_lib_save_LIBS
25077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25078 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25079 if test $ac_cv_lib_m_log10 = yes; then
25081 cat >>confdefs.h <<\_ACEOF
25082 #define HAVE_LOG10 1
25087 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25088 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25089 if test "${ac_cv_lib_m_log10l+set}" = set; then
25090 echo $ECHO_N "(cached) $ECHO_C" >&6
25092 ac_check_lib_save_LIBS=$LIBS
25094 if test x$gcc_no_link = xyes; then
25095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25097 { (exit 1); exit 1; }; }
25099 cat >conftest.$ac_ext <<_ACEOF
25102 cat confdefs.h >>conftest.$ac_ext
25103 cat >>conftest.$ac_ext <<_ACEOF
25104 /* end confdefs.h. */
25106 /* Override any gcc2 internal prototype to avoid an error. */
25110 /* We use char because int might match the return type of a gcc2
25111 builtin and then its argument prototype would still apply. */
25121 rm -f conftest.$ac_objext conftest$ac_exeext
25122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25123 (eval $ac_link) 2>conftest.er1
25125 grep -v '^ *+' conftest.er1 >conftest.err
25127 cat conftest.err >&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); } &&
25130 { ac_try='test -z "$ac_c_werror_flag"
25131 || test ! -s conftest.err'
25132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25133 (eval $ac_try) 2>&5
25135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25136 (exit $ac_status); }; } &&
25137 { ac_try='test -s conftest$ac_exeext'
25138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25139 (eval $ac_try) 2>&5
25141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25142 (exit $ac_status); }; }; then
25143 ac_cv_lib_m_log10l=yes
25145 echo "$as_me: failed program was:" >&5
25146 sed 's/^/| /' conftest.$ac_ext >&5
25148 ac_cv_lib_m_log10l=no
25150 rm -f conftest.err conftest.$ac_objext \
25151 conftest$ac_exeext conftest.$ac_ext
25152 LIBS=$ac_check_lib_save_LIBS
25154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25155 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25156 if test $ac_cv_lib_m_log10l = yes; then
25158 cat >>confdefs.h <<\_ACEOF
25159 #define HAVE_LOG10L 1
25164 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25165 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25166 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25167 echo $ECHO_N "(cached) $ECHO_C" >&6
25169 ac_check_lib_save_LIBS=$LIBS
25171 if test x$gcc_no_link = xyes; then
25172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25174 { (exit 1); exit 1; }; }
25176 cat >conftest.$ac_ext <<_ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25183 /* Override any gcc2 internal prototype to avoid an error. */
25187 /* We use char because int might match the return type of a gcc2
25188 builtin and then its argument prototype would still apply. */
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25200 (eval $ac_link) 2>conftest.er1
25202 grep -v '^ *+' conftest.er1 >conftest.err
25204 cat conftest.err >&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); } &&
25207 { ac_try='test -z "$ac_c_werror_flag"
25208 || test ! -s conftest.err'
25209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25210 (eval $ac_try) 2>&5
25212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25213 (exit $ac_status); }; } &&
25214 { ac_try='test -s conftest$ac_exeext'
25215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25216 (eval $ac_try) 2>&5
25218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25219 (exit $ac_status); }; }; then
25220 ac_cv_lib_m_clog10f=yes
25222 echo "$as_me: failed program was:" >&5
25223 sed 's/^/| /' conftest.$ac_ext >&5
25225 ac_cv_lib_m_clog10f=no
25227 rm -f conftest.err conftest.$ac_objext \
25228 conftest$ac_exeext conftest.$ac_ext
25229 LIBS=$ac_check_lib_save_LIBS
25231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25232 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25233 if test $ac_cv_lib_m_clog10f = yes; then
25235 cat >>confdefs.h <<\_ACEOF
25236 #define HAVE_CLOG10F 1
25241 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25242 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25243 if test "${ac_cv_lib_m_clog10+set}" = set; then
25244 echo $ECHO_N "(cached) $ECHO_C" >&6
25246 ac_check_lib_save_LIBS=$LIBS
25248 if test x$gcc_no_link = xyes; then
25249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25251 { (exit 1); exit 1; }; }
25253 cat >conftest.$ac_ext <<_ACEOF
25256 cat confdefs.h >>conftest.$ac_ext
25257 cat >>conftest.$ac_ext <<_ACEOF
25258 /* end confdefs.h. */
25260 /* Override any gcc2 internal prototype to avoid an error. */
25264 /* We use char because int might match the return type of a gcc2
25265 builtin and then its argument prototype would still apply. */
25275 rm -f conftest.$ac_objext conftest$ac_exeext
25276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25277 (eval $ac_link) 2>conftest.er1
25279 grep -v '^ *+' conftest.er1 >conftest.err
25281 cat conftest.err >&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); } &&
25284 { ac_try='test -z "$ac_c_werror_flag"
25285 || test ! -s conftest.err'
25286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25287 (eval $ac_try) 2>&5
25289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25290 (exit $ac_status); }; } &&
25291 { ac_try='test -s conftest$ac_exeext'
25292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25293 (eval $ac_try) 2>&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); }; }; then
25297 ac_cv_lib_m_clog10=yes
25299 echo "$as_me: failed program was:" >&5
25300 sed 's/^/| /' conftest.$ac_ext >&5
25302 ac_cv_lib_m_clog10=no
25304 rm -f conftest.err conftest.$ac_objext \
25305 conftest$ac_exeext conftest.$ac_ext
25306 LIBS=$ac_check_lib_save_LIBS
25308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25309 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25310 if test $ac_cv_lib_m_clog10 = yes; then
25312 cat >>confdefs.h <<\_ACEOF
25313 #define HAVE_CLOG10 1
25318 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25319 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25320 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25321 echo $ECHO_N "(cached) $ECHO_C" >&6
25323 ac_check_lib_save_LIBS=$LIBS
25325 if test x$gcc_no_link = xyes; then
25326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25328 { (exit 1); exit 1; }; }
25330 cat >conftest.$ac_ext <<_ACEOF
25333 cat confdefs.h >>conftest.$ac_ext
25334 cat >>conftest.$ac_ext <<_ACEOF
25335 /* end confdefs.h. */
25337 /* Override any gcc2 internal prototype to avoid an error. */
25341 /* We use char because int might match the return type of a gcc2
25342 builtin and then its argument prototype would still apply. */
25352 rm -f conftest.$ac_objext conftest$ac_exeext
25353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25354 (eval $ac_link) 2>conftest.er1
25356 grep -v '^ *+' conftest.er1 >conftest.err
25358 cat conftest.err >&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); } &&
25361 { ac_try='test -z "$ac_c_werror_flag"
25362 || test ! -s conftest.err'
25363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25364 (eval $ac_try) 2>&5
25366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25367 (exit $ac_status); }; } &&
25368 { ac_try='test -s conftest$ac_exeext'
25369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25370 (eval $ac_try) 2>&5
25372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25373 (exit $ac_status); }; }; then
25374 ac_cv_lib_m_clog10l=yes
25376 echo "$as_me: failed program was:" >&5
25377 sed 's/^/| /' conftest.$ac_ext >&5
25379 ac_cv_lib_m_clog10l=no
25381 rm -f conftest.err conftest.$ac_objext \
25382 conftest$ac_exeext conftest.$ac_ext
25383 LIBS=$ac_check_lib_save_LIBS
25385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25386 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25387 if test $ac_cv_lib_m_clog10l = yes; then
25389 cat >>confdefs.h <<\_ACEOF
25390 #define HAVE_CLOG10L 1
25395 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25396 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25397 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25398 echo $ECHO_N "(cached) $ECHO_C" >&6
25400 ac_check_lib_save_LIBS=$LIBS
25402 if test x$gcc_no_link = xyes; then
25403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25405 { (exit 1); exit 1; }; }
25407 cat >conftest.$ac_ext <<_ACEOF
25410 cat confdefs.h >>conftest.$ac_ext
25411 cat >>conftest.$ac_ext <<_ACEOF
25412 /* end confdefs.h. */
25414 /* Override any gcc2 internal prototype to avoid an error. */
25418 /* We use char because int might match the return type of a gcc2
25419 builtin and then its argument prototype would still apply. */
25420 char nextafterf ();
25429 rm -f conftest.$ac_objext conftest$ac_exeext
25430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25431 (eval $ac_link) 2>conftest.er1
25433 grep -v '^ *+' conftest.er1 >conftest.err
25435 cat conftest.err >&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); } &&
25438 { ac_try='test -z "$ac_c_werror_flag"
25439 || test ! -s conftest.err'
25440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25441 (eval $ac_try) 2>&5
25443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25444 (exit $ac_status); }; } &&
25445 { ac_try='test -s conftest$ac_exeext'
25446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25447 (eval $ac_try) 2>&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); }; }; then
25451 ac_cv_lib_m_nextafterf=yes
25453 echo "$as_me: failed program was:" >&5
25454 sed 's/^/| /' conftest.$ac_ext >&5
25456 ac_cv_lib_m_nextafterf=no
25458 rm -f conftest.err conftest.$ac_objext \
25459 conftest$ac_exeext conftest.$ac_ext
25460 LIBS=$ac_check_lib_save_LIBS
25462 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25463 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25464 if test $ac_cv_lib_m_nextafterf = yes; then
25466 cat >>confdefs.h <<\_ACEOF
25467 #define HAVE_NEXTAFTERF 1
25472 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25473 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25474 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25475 echo $ECHO_N "(cached) $ECHO_C" >&6
25477 ac_check_lib_save_LIBS=$LIBS
25479 if test x$gcc_no_link = xyes; then
25480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25482 { (exit 1); exit 1; }; }
25484 cat >conftest.$ac_ext <<_ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25491 /* Override any gcc2 internal prototype to avoid an error. */
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25508 (eval $ac_link) 2>conftest.er1
25510 grep -v '^ *+' conftest.er1 >conftest.err
25512 cat conftest.err >&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); } &&
25515 { ac_try='test -z "$ac_c_werror_flag"
25516 || test ! -s conftest.err'
25517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25518 (eval $ac_try) 2>&5
25520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25521 (exit $ac_status); }; } &&
25522 { ac_try='test -s conftest$ac_exeext'
25523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25524 (eval $ac_try) 2>&5
25526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25527 (exit $ac_status); }; }; then
25528 ac_cv_lib_m_nextafter=yes
25530 echo "$as_me: failed program was:" >&5
25531 sed 's/^/| /' conftest.$ac_ext >&5
25533 ac_cv_lib_m_nextafter=no
25535 rm -f conftest.err conftest.$ac_objext \
25536 conftest$ac_exeext conftest.$ac_ext
25537 LIBS=$ac_check_lib_save_LIBS
25539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25540 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25541 if test $ac_cv_lib_m_nextafter = yes; then
25543 cat >>confdefs.h <<\_ACEOF
25544 #define HAVE_NEXTAFTER 1
25549 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25550 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25551 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25552 echo $ECHO_N "(cached) $ECHO_C" >&6
25554 ac_check_lib_save_LIBS=$LIBS
25556 if test x$gcc_no_link = xyes; then
25557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25559 { (exit 1); exit 1; }; }
25561 cat >conftest.$ac_ext <<_ACEOF
25564 cat confdefs.h >>conftest.$ac_ext
25565 cat >>conftest.$ac_ext <<_ACEOF
25566 /* end confdefs.h. */
25568 /* Override any gcc2 internal prototype to avoid an error. */
25572 /* We use char because int might match the return type of a gcc2
25573 builtin and then its argument prototype would still apply. */
25574 char nextafterl ();
25583 rm -f conftest.$ac_objext conftest$ac_exeext
25584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25585 (eval $ac_link) 2>conftest.er1
25587 grep -v '^ *+' conftest.er1 >conftest.err
25589 cat conftest.err >&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); } &&
25592 { ac_try='test -z "$ac_c_werror_flag"
25593 || test ! -s conftest.err'
25594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25595 (eval $ac_try) 2>&5
25597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25598 (exit $ac_status); }; } &&
25599 { ac_try='test -s conftest$ac_exeext'
25600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25601 (eval $ac_try) 2>&5
25603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25604 (exit $ac_status); }; }; then
25605 ac_cv_lib_m_nextafterl=yes
25607 echo "$as_me: failed program was:" >&5
25608 sed 's/^/| /' conftest.$ac_ext >&5
25610 ac_cv_lib_m_nextafterl=no
25612 rm -f conftest.err conftest.$ac_objext \
25613 conftest$ac_exeext conftest.$ac_ext
25614 LIBS=$ac_check_lib_save_LIBS
25616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25617 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25618 if test $ac_cv_lib_m_nextafterl = yes; then
25620 cat >>confdefs.h <<\_ACEOF
25621 #define HAVE_NEXTAFTERL 1
25626 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25627 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25628 if test "${ac_cv_lib_m_powf+set}" = set; then
25629 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 ac_check_lib_save_LIBS=$LIBS
25633 if test x$gcc_no_link = xyes; then
25634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25636 { (exit 1); exit 1; }; }
25638 cat >conftest.$ac_ext <<_ACEOF
25641 cat confdefs.h >>conftest.$ac_ext
25642 cat >>conftest.$ac_ext <<_ACEOF
25643 /* end confdefs.h. */
25645 /* Override any gcc2 internal prototype to avoid an error. */
25649 /* We use char because int might match the return type of a gcc2
25650 builtin and then its argument prototype would still apply. */
25660 rm -f conftest.$ac_objext conftest$ac_exeext
25661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25662 (eval $ac_link) 2>conftest.er1
25664 grep -v '^ *+' conftest.er1 >conftest.err
25666 cat conftest.err >&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); } &&
25669 { ac_try='test -z "$ac_c_werror_flag"
25670 || test ! -s conftest.err'
25671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25672 (eval $ac_try) 2>&5
25674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25675 (exit $ac_status); }; } &&
25676 { ac_try='test -s conftest$ac_exeext'
25677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678 (eval $ac_try) 2>&5
25680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681 (exit $ac_status); }; }; then
25682 ac_cv_lib_m_powf=yes
25684 echo "$as_me: failed program was:" >&5
25685 sed 's/^/| /' conftest.$ac_ext >&5
25687 ac_cv_lib_m_powf=no
25689 rm -f conftest.err conftest.$ac_objext \
25690 conftest$ac_exeext conftest.$ac_ext
25691 LIBS=$ac_check_lib_save_LIBS
25693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25694 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25695 if test $ac_cv_lib_m_powf = yes; then
25697 cat >>confdefs.h <<\_ACEOF
25698 #define HAVE_POWF 1
25703 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25704 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25705 if test "${ac_cv_lib_m_pow+set}" = set; then
25706 echo $ECHO_N "(cached) $ECHO_C" >&6
25708 ac_check_lib_save_LIBS=$LIBS
25710 if test x$gcc_no_link = xyes; then
25711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25713 { (exit 1); exit 1; }; }
25715 cat >conftest.$ac_ext <<_ACEOF
25718 cat confdefs.h >>conftest.$ac_ext
25719 cat >>conftest.$ac_ext <<_ACEOF
25720 /* end confdefs.h. */
25722 /* Override any gcc2 internal prototype to avoid an error. */
25726 /* We use char because int might match the return type of a gcc2
25727 builtin and then its argument prototype would still apply. */
25737 rm -f conftest.$ac_objext conftest$ac_exeext
25738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25739 (eval $ac_link) 2>conftest.er1
25741 grep -v '^ *+' conftest.er1 >conftest.err
25743 cat conftest.err >&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); } &&
25746 { ac_try='test -z "$ac_c_werror_flag"
25747 || test ! -s conftest.err'
25748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25749 (eval $ac_try) 2>&5
25751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25752 (exit $ac_status); }; } &&
25753 { ac_try='test -s conftest$ac_exeext'
25754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25755 (eval $ac_try) 2>&5
25757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25758 (exit $ac_status); }; }; then
25759 ac_cv_lib_m_pow=yes
25761 echo "$as_me: failed program was:" >&5
25762 sed 's/^/| /' conftest.$ac_ext >&5
25766 rm -f conftest.err conftest.$ac_objext \
25767 conftest$ac_exeext conftest.$ac_ext
25768 LIBS=$ac_check_lib_save_LIBS
25770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25771 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25772 if test $ac_cv_lib_m_pow = yes; then
25774 cat >>confdefs.h <<\_ACEOF
25780 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25781 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25782 if test "${ac_cv_lib_m_powl+set}" = set; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 ac_check_lib_save_LIBS=$LIBS
25787 if test x$gcc_no_link = xyes; then
25788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25790 { (exit 1); exit 1; }; }
25792 cat >conftest.$ac_ext <<_ACEOF
25795 cat confdefs.h >>conftest.$ac_ext
25796 cat >>conftest.$ac_ext <<_ACEOF
25797 /* end confdefs.h. */
25799 /* Override any gcc2 internal prototype to avoid an error. */
25803 /* We use char because int might match the return type of a gcc2
25804 builtin and then its argument prototype would still apply. */
25814 rm -f conftest.$ac_objext conftest$ac_exeext
25815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25816 (eval $ac_link) 2>conftest.er1
25818 grep -v '^ *+' conftest.er1 >conftest.err
25820 cat conftest.err >&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); } &&
25823 { ac_try='test -z "$ac_c_werror_flag"
25824 || test ! -s conftest.err'
25825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25826 (eval $ac_try) 2>&5
25828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25829 (exit $ac_status); }; } &&
25830 { ac_try='test -s conftest$ac_exeext'
25831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25832 (eval $ac_try) 2>&5
25834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25835 (exit $ac_status); }; }; then
25836 ac_cv_lib_m_powl=yes
25838 echo "$as_me: failed program was:" >&5
25839 sed 's/^/| /' conftest.$ac_ext >&5
25841 ac_cv_lib_m_powl=no
25843 rm -f conftest.err conftest.$ac_objext \
25844 conftest$ac_exeext conftest.$ac_ext
25845 LIBS=$ac_check_lib_save_LIBS
25847 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25848 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25849 if test $ac_cv_lib_m_powl = yes; then
25851 cat >>confdefs.h <<\_ACEOF
25852 #define HAVE_POWL 1
25857 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25858 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25859 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25860 echo $ECHO_N "(cached) $ECHO_C" >&6
25862 ac_check_lib_save_LIBS=$LIBS
25864 if test x$gcc_no_link = xyes; then
25865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25867 { (exit 1); exit 1; }; }
25869 cat >conftest.$ac_ext <<_ACEOF
25872 cat confdefs.h >>conftest.$ac_ext
25873 cat >>conftest.$ac_ext <<_ACEOF
25874 /* end confdefs.h. */
25876 /* Override any gcc2 internal prototype to avoid an error. */
25880 /* We use char because int might match the return type of a gcc2
25881 builtin and then its argument prototype would still apply. */
25891 rm -f conftest.$ac_objext conftest$ac_exeext
25892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25893 (eval $ac_link) 2>conftest.er1
25895 grep -v '^ *+' conftest.er1 >conftest.err
25897 cat conftest.err >&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); } &&
25900 { ac_try='test -z "$ac_c_werror_flag"
25901 || test ! -s conftest.err'
25902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25903 (eval $ac_try) 2>&5
25905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25906 (exit $ac_status); }; } &&
25907 { ac_try='test -s conftest$ac_exeext'
25908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25909 (eval $ac_try) 2>&5
25911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25912 (exit $ac_status); }; }; then
25913 ac_cv_lib_m_cpowf=yes
25915 echo "$as_me: failed program was:" >&5
25916 sed 's/^/| /' conftest.$ac_ext >&5
25918 ac_cv_lib_m_cpowf=no
25920 rm -f conftest.err conftest.$ac_objext \
25921 conftest$ac_exeext conftest.$ac_ext
25922 LIBS=$ac_check_lib_save_LIBS
25924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25925 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25926 if test $ac_cv_lib_m_cpowf = yes; then
25928 cat >>confdefs.h <<\_ACEOF
25929 #define HAVE_CPOWF 1
25934 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25935 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25936 if test "${ac_cv_lib_m_cpow+set}" = set; then
25937 echo $ECHO_N "(cached) $ECHO_C" >&6
25939 ac_check_lib_save_LIBS=$LIBS
25941 if test x$gcc_no_link = xyes; then
25942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25944 { (exit 1); exit 1; }; }
25946 cat >conftest.$ac_ext <<_ACEOF
25949 cat confdefs.h >>conftest.$ac_ext
25950 cat >>conftest.$ac_ext <<_ACEOF
25951 /* end confdefs.h. */
25953 /* Override any gcc2 internal prototype to avoid an error. */
25957 /* We use char because int might match the return type of a gcc2
25958 builtin and then its argument prototype would still apply. */
25968 rm -f conftest.$ac_objext conftest$ac_exeext
25969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25970 (eval $ac_link) 2>conftest.er1
25972 grep -v '^ *+' conftest.er1 >conftest.err
25974 cat conftest.err >&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); } &&
25977 { ac_try='test -z "$ac_c_werror_flag"
25978 || test ! -s conftest.err'
25979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25980 (eval $ac_try) 2>&5
25982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25983 (exit $ac_status); }; } &&
25984 { ac_try='test -s conftest$ac_exeext'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; }; then
25990 ac_cv_lib_m_cpow=yes
25992 echo "$as_me: failed program was:" >&5
25993 sed 's/^/| /' conftest.$ac_ext >&5
25995 ac_cv_lib_m_cpow=no
25997 rm -f conftest.err conftest.$ac_objext \
25998 conftest$ac_exeext conftest.$ac_ext
25999 LIBS=$ac_check_lib_save_LIBS
26001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26002 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26003 if test $ac_cv_lib_m_cpow = yes; then
26005 cat >>confdefs.h <<\_ACEOF
26006 #define HAVE_CPOW 1
26011 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26012 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26013 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26014 echo $ECHO_N "(cached) $ECHO_C" >&6
26016 ac_check_lib_save_LIBS=$LIBS
26018 if test x$gcc_no_link = xyes; then
26019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26021 { (exit 1); exit 1; }; }
26023 cat >conftest.$ac_ext <<_ACEOF
26026 cat confdefs.h >>conftest.$ac_ext
26027 cat >>conftest.$ac_ext <<_ACEOF
26028 /* end confdefs.h. */
26030 /* Override any gcc2 internal prototype to avoid an error. */
26034 /* We use char because int might match the return type of a gcc2
26035 builtin and then its argument prototype would still apply. */
26045 rm -f conftest.$ac_objext conftest$ac_exeext
26046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26047 (eval $ac_link) 2>conftest.er1
26049 grep -v '^ *+' conftest.er1 >conftest.err
26051 cat conftest.err >&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); } &&
26054 { ac_try='test -z "$ac_c_werror_flag"
26055 || test ! -s conftest.err'
26056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26057 (eval $ac_try) 2>&5
26059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26060 (exit $ac_status); }; } &&
26061 { ac_try='test -s conftest$ac_exeext'
26062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26063 (eval $ac_try) 2>&5
26065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26066 (exit $ac_status); }; }; then
26067 ac_cv_lib_m_cpowl=yes
26069 echo "$as_me: failed program was:" >&5
26070 sed 's/^/| /' conftest.$ac_ext >&5
26072 ac_cv_lib_m_cpowl=no
26074 rm -f conftest.err conftest.$ac_objext \
26075 conftest$ac_exeext conftest.$ac_ext
26076 LIBS=$ac_check_lib_save_LIBS
26078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26079 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26080 if test $ac_cv_lib_m_cpowl = yes; then
26082 cat >>confdefs.h <<\_ACEOF
26083 #define HAVE_CPOWL 1
26088 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26089 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26090 if test "${ac_cv_lib_m_roundf+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26093 ac_check_lib_save_LIBS=$LIBS
26095 if test x$gcc_no_link = xyes; then
26096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26098 { (exit 1); exit 1; }; }
26100 cat >conftest.$ac_ext <<_ACEOF
26103 cat confdefs.h >>conftest.$ac_ext
26104 cat >>conftest.$ac_ext <<_ACEOF
26105 /* end confdefs.h. */
26107 /* Override any gcc2 internal prototype to avoid an error. */
26111 /* We use char because int might match the return type of a gcc2
26112 builtin and then its argument prototype would still apply. */
26122 rm -f conftest.$ac_objext conftest$ac_exeext
26123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26124 (eval $ac_link) 2>conftest.er1
26126 grep -v '^ *+' conftest.er1 >conftest.err
26128 cat conftest.err >&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); } &&
26131 { ac_try='test -z "$ac_c_werror_flag"
26132 || test ! -s conftest.err'
26133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134 (eval $ac_try) 2>&5
26136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137 (exit $ac_status); }; } &&
26138 { ac_try='test -s conftest$ac_exeext'
26139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140 (eval $ac_try) 2>&5
26142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143 (exit $ac_status); }; }; then
26144 ac_cv_lib_m_roundf=yes
26146 echo "$as_me: failed program was:" >&5
26147 sed 's/^/| /' conftest.$ac_ext >&5
26149 ac_cv_lib_m_roundf=no
26151 rm -f conftest.err conftest.$ac_objext \
26152 conftest$ac_exeext conftest.$ac_ext
26153 LIBS=$ac_check_lib_save_LIBS
26155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26156 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26157 if test $ac_cv_lib_m_roundf = yes; then
26159 cat >>confdefs.h <<\_ACEOF
26160 #define HAVE_ROUNDF 1
26165 echo "$as_me:$LINENO: checking for round in -lm" >&5
26166 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26167 if test "${ac_cv_lib_m_round+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26170 ac_check_lib_save_LIBS=$LIBS
26172 if test x$gcc_no_link = xyes; then
26173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26175 { (exit 1); exit 1; }; }
26177 cat >conftest.$ac_ext <<_ACEOF
26180 cat confdefs.h >>conftest.$ac_ext
26181 cat >>conftest.$ac_ext <<_ACEOF
26182 /* end confdefs.h. */
26184 /* Override any gcc2 internal prototype to avoid an error. */
26188 /* We use char because int might match the return type of a gcc2
26189 builtin and then its argument prototype would still apply. */
26199 rm -f conftest.$ac_objext conftest$ac_exeext
26200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26201 (eval $ac_link) 2>conftest.er1
26203 grep -v '^ *+' conftest.er1 >conftest.err
26205 cat conftest.err >&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); } &&
26208 { ac_try='test -z "$ac_c_werror_flag"
26209 || test ! -s conftest.err'
26210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26211 (eval $ac_try) 2>&5
26213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26214 (exit $ac_status); }; } &&
26215 { ac_try='test -s conftest$ac_exeext'
26216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26217 (eval $ac_try) 2>&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); }; }; then
26221 ac_cv_lib_m_round=yes
26223 echo "$as_me: failed program was:" >&5
26224 sed 's/^/| /' conftest.$ac_ext >&5
26226 ac_cv_lib_m_round=no
26228 rm -f conftest.err conftest.$ac_objext \
26229 conftest$ac_exeext conftest.$ac_ext
26230 LIBS=$ac_check_lib_save_LIBS
26232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26233 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26234 if test $ac_cv_lib_m_round = yes; then
26236 cat >>confdefs.h <<\_ACEOF
26237 #define HAVE_ROUND 1
26242 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26243 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26244 if test "${ac_cv_lib_m_roundl+set}" = set; then
26245 echo $ECHO_N "(cached) $ECHO_C" >&6
26247 ac_check_lib_save_LIBS=$LIBS
26249 if test x$gcc_no_link = xyes; then
26250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26252 { (exit 1); exit 1; }; }
26254 cat >conftest.$ac_ext <<_ACEOF
26257 cat confdefs.h >>conftest.$ac_ext
26258 cat >>conftest.$ac_ext <<_ACEOF
26259 /* end confdefs.h. */
26261 /* Override any gcc2 internal prototype to avoid an error. */
26265 /* We use char because int might match the return type of a gcc2
26266 builtin and then its argument prototype would still apply. */
26276 rm -f conftest.$ac_objext conftest$ac_exeext
26277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26278 (eval $ac_link) 2>conftest.er1
26280 grep -v '^ *+' conftest.er1 >conftest.err
26282 cat conftest.err >&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); } &&
26285 { ac_try='test -z "$ac_c_werror_flag"
26286 || test ! -s conftest.err'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; } &&
26292 { ac_try='test -s conftest$ac_exeext'
26293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26294 (eval $ac_try) 2>&5
26296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26297 (exit $ac_status); }; }; then
26298 ac_cv_lib_m_roundl=yes
26300 echo "$as_me: failed program was:" >&5
26301 sed 's/^/| /' conftest.$ac_ext >&5
26303 ac_cv_lib_m_roundl=no
26305 rm -f conftest.err conftest.$ac_objext \
26306 conftest$ac_exeext conftest.$ac_ext
26307 LIBS=$ac_check_lib_save_LIBS
26309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26310 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26311 if test $ac_cv_lib_m_roundl = yes; then
26313 cat >>confdefs.h <<\_ACEOF
26314 #define HAVE_ROUNDL 1
26319 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26320 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26321 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26322 echo $ECHO_N "(cached) $ECHO_C" >&6
26324 ac_check_lib_save_LIBS=$LIBS
26326 if test x$gcc_no_link = xyes; then
26327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26329 { (exit 1); exit 1; }; }
26331 cat >conftest.$ac_ext <<_ACEOF
26334 cat confdefs.h >>conftest.$ac_ext
26335 cat >>conftest.$ac_ext <<_ACEOF
26336 /* end confdefs.h. */
26338 /* Override any gcc2 internal prototype to avoid an error. */
26342 /* We use char because int might match the return type of a gcc2
26343 builtin and then its argument prototype would still apply. */
26353 rm -f conftest.$ac_objext conftest$ac_exeext
26354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26355 (eval $ac_link) 2>conftest.er1
26357 grep -v '^ *+' conftest.er1 >conftest.err
26359 cat conftest.err >&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); } &&
26362 { ac_try='test -z "$ac_c_werror_flag"
26363 || test ! -s conftest.err'
26364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26365 (eval $ac_try) 2>&5
26367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26368 (exit $ac_status); }; } &&
26369 { ac_try='test -s conftest$ac_exeext'
26370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26371 (eval $ac_try) 2>&5
26373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26374 (exit $ac_status); }; }; then
26375 ac_cv_lib_m_lroundf=yes
26377 echo "$as_me: failed program was:" >&5
26378 sed 's/^/| /' conftest.$ac_ext >&5
26380 ac_cv_lib_m_lroundf=no
26382 rm -f conftest.err conftest.$ac_objext \
26383 conftest$ac_exeext conftest.$ac_ext
26384 LIBS=$ac_check_lib_save_LIBS
26386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26387 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26388 if test $ac_cv_lib_m_lroundf = yes; then
26390 cat >>confdefs.h <<\_ACEOF
26391 #define HAVE_LROUNDF 1
26396 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26397 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26398 if test "${ac_cv_lib_m_lround+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 ac_check_lib_save_LIBS=$LIBS
26403 if test x$gcc_no_link = xyes; then
26404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26406 { (exit 1); exit 1; }; }
26408 cat >conftest.$ac_ext <<_ACEOF
26411 cat confdefs.h >>conftest.$ac_ext
26412 cat >>conftest.$ac_ext <<_ACEOF
26413 /* end confdefs.h. */
26415 /* Override any gcc2 internal prototype to avoid an error. */
26419 /* We use char because int might match the return type of a gcc2
26420 builtin and then its argument prototype would still apply. */
26430 rm -f conftest.$ac_objext conftest$ac_exeext
26431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26432 (eval $ac_link) 2>conftest.er1
26434 grep -v '^ *+' conftest.er1 >conftest.err
26436 cat conftest.err >&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); } &&
26439 { ac_try='test -z "$ac_c_werror_flag"
26440 || test ! -s conftest.err'
26441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26442 (eval $ac_try) 2>&5
26444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26445 (exit $ac_status); }; } &&
26446 { ac_try='test -s conftest$ac_exeext'
26447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26448 (eval $ac_try) 2>&5
26450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26451 (exit $ac_status); }; }; then
26452 ac_cv_lib_m_lround=yes
26454 echo "$as_me: failed program was:" >&5
26455 sed 's/^/| /' conftest.$ac_ext >&5
26457 ac_cv_lib_m_lround=no
26459 rm -f conftest.err conftest.$ac_objext \
26460 conftest$ac_exeext conftest.$ac_ext
26461 LIBS=$ac_check_lib_save_LIBS
26463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26464 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26465 if test $ac_cv_lib_m_lround = yes; then
26467 cat >>confdefs.h <<\_ACEOF
26468 #define HAVE_LROUND 1
26473 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26474 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26475 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26476 echo $ECHO_N "(cached) $ECHO_C" >&6
26478 ac_check_lib_save_LIBS=$LIBS
26480 if test x$gcc_no_link = xyes; then
26481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26483 { (exit 1); exit 1; }; }
26485 cat >conftest.$ac_ext <<_ACEOF
26488 cat confdefs.h >>conftest.$ac_ext
26489 cat >>conftest.$ac_ext <<_ACEOF
26490 /* end confdefs.h. */
26492 /* Override any gcc2 internal prototype to avoid an error. */
26496 /* We use char because int might match the return type of a gcc2
26497 builtin and then its argument prototype would still apply. */
26507 rm -f conftest.$ac_objext conftest$ac_exeext
26508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26509 (eval $ac_link) 2>conftest.er1
26511 grep -v '^ *+' conftest.er1 >conftest.err
26513 cat conftest.err >&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); } &&
26516 { ac_try='test -z "$ac_c_werror_flag"
26517 || test ! -s conftest.err'
26518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26519 (eval $ac_try) 2>&5
26521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26522 (exit $ac_status); }; } &&
26523 { ac_try='test -s conftest$ac_exeext'
26524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26525 (eval $ac_try) 2>&5
26527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26528 (exit $ac_status); }; }; then
26529 ac_cv_lib_m_lroundl=yes
26531 echo "$as_me: failed program was:" >&5
26532 sed 's/^/| /' conftest.$ac_ext >&5
26534 ac_cv_lib_m_lroundl=no
26536 rm -f conftest.err conftest.$ac_objext \
26537 conftest$ac_exeext conftest.$ac_ext
26538 LIBS=$ac_check_lib_save_LIBS
26540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26541 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26542 if test $ac_cv_lib_m_lroundl = yes; then
26544 cat >>confdefs.h <<\_ACEOF
26545 #define HAVE_LROUNDL 1
26550 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26551 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26552 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26553 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 ac_check_lib_save_LIBS=$LIBS
26557 if test x$gcc_no_link = xyes; then
26558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26560 { (exit 1); exit 1; }; }
26562 cat >conftest.$ac_ext <<_ACEOF
26565 cat confdefs.h >>conftest.$ac_ext
26566 cat >>conftest.$ac_ext <<_ACEOF
26567 /* end confdefs.h. */
26569 /* Override any gcc2 internal prototype to avoid an error. */
26573 /* We use char because int might match the return type of a gcc2
26574 builtin and then its argument prototype would still apply. */
26584 rm -f conftest.$ac_objext conftest$ac_exeext
26585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26586 (eval $ac_link) 2>conftest.er1
26588 grep -v '^ *+' conftest.er1 >conftest.err
26590 cat conftest.err >&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); } &&
26593 { ac_try='test -z "$ac_c_werror_flag"
26594 || test ! -s conftest.err'
26595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26596 (eval $ac_try) 2>&5
26598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26599 (exit $ac_status); }; } &&
26600 { ac_try='test -s conftest$ac_exeext'
26601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26602 (eval $ac_try) 2>&5
26604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26605 (exit $ac_status); }; }; then
26606 ac_cv_lib_m_llroundf=yes
26608 echo "$as_me: failed program was:" >&5
26609 sed 's/^/| /' conftest.$ac_ext >&5
26611 ac_cv_lib_m_llroundf=no
26613 rm -f conftest.err conftest.$ac_objext \
26614 conftest$ac_exeext conftest.$ac_ext
26615 LIBS=$ac_check_lib_save_LIBS
26617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26618 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26619 if test $ac_cv_lib_m_llroundf = yes; then
26621 cat >>confdefs.h <<\_ACEOF
26622 #define HAVE_LLROUNDF 1
26627 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26628 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26629 if test "${ac_cv_lib_m_llround+set}" = set; then
26630 echo $ECHO_N "(cached) $ECHO_C" >&6
26632 ac_check_lib_save_LIBS=$LIBS
26634 if test x$gcc_no_link = xyes; then
26635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26637 { (exit 1); exit 1; }; }
26639 cat >conftest.$ac_ext <<_ACEOF
26642 cat confdefs.h >>conftest.$ac_ext
26643 cat >>conftest.$ac_ext <<_ACEOF
26644 /* end confdefs.h. */
26646 /* Override any gcc2 internal prototype to avoid an error. */
26650 /* We use char because int might match the return type of a gcc2
26651 builtin and then its argument prototype would still apply. */
26661 rm -f conftest.$ac_objext conftest$ac_exeext
26662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26663 (eval $ac_link) 2>conftest.er1
26665 grep -v '^ *+' conftest.er1 >conftest.err
26667 cat conftest.err >&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); } &&
26670 { ac_try='test -z "$ac_c_werror_flag"
26671 || test ! -s conftest.err'
26672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26673 (eval $ac_try) 2>&5
26675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26676 (exit $ac_status); }; } &&
26677 { ac_try='test -s conftest$ac_exeext'
26678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26679 (eval $ac_try) 2>&5
26681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26682 (exit $ac_status); }; }; then
26683 ac_cv_lib_m_llround=yes
26685 echo "$as_me: failed program was:" >&5
26686 sed 's/^/| /' conftest.$ac_ext >&5
26688 ac_cv_lib_m_llround=no
26690 rm -f conftest.err conftest.$ac_objext \
26691 conftest$ac_exeext conftest.$ac_ext
26692 LIBS=$ac_check_lib_save_LIBS
26694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26695 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26696 if test $ac_cv_lib_m_llround = yes; then
26698 cat >>confdefs.h <<\_ACEOF
26699 #define HAVE_LLROUND 1
26704 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26705 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26706 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26707 echo $ECHO_N "(cached) $ECHO_C" >&6
26709 ac_check_lib_save_LIBS=$LIBS
26711 if test x$gcc_no_link = xyes; then
26712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26714 { (exit 1); exit 1; }; }
26716 cat >conftest.$ac_ext <<_ACEOF
26719 cat confdefs.h >>conftest.$ac_ext
26720 cat >>conftest.$ac_ext <<_ACEOF
26721 /* end confdefs.h. */
26723 /* Override any gcc2 internal prototype to avoid an error. */
26727 /* We use char because int might match the return type of a gcc2
26728 builtin and then its argument prototype would still apply. */
26738 rm -f conftest.$ac_objext conftest$ac_exeext
26739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26740 (eval $ac_link) 2>conftest.er1
26742 grep -v '^ *+' conftest.er1 >conftest.err
26744 cat conftest.err >&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); } &&
26747 { ac_try='test -z "$ac_c_werror_flag"
26748 || test ! -s conftest.err'
26749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26750 (eval $ac_try) 2>&5
26752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26753 (exit $ac_status); }; } &&
26754 { ac_try='test -s conftest$ac_exeext'
26755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26756 (eval $ac_try) 2>&5
26758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26759 (exit $ac_status); }; }; then
26760 ac_cv_lib_m_llroundl=yes
26762 echo "$as_me: failed program was:" >&5
26763 sed 's/^/| /' conftest.$ac_ext >&5
26765 ac_cv_lib_m_llroundl=no
26767 rm -f conftest.err conftest.$ac_objext \
26768 conftest$ac_exeext conftest.$ac_ext
26769 LIBS=$ac_check_lib_save_LIBS
26771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26772 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26773 if test $ac_cv_lib_m_llroundl = yes; then
26775 cat >>confdefs.h <<\_ACEOF
26776 #define HAVE_LLROUNDL 1
26781 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26782 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26783 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26784 echo $ECHO_N "(cached) $ECHO_C" >&6
26786 ac_check_lib_save_LIBS=$LIBS
26788 if test x$gcc_no_link = xyes; then
26789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26791 { (exit 1); exit 1; }; }
26793 cat >conftest.$ac_ext <<_ACEOF
26796 cat confdefs.h >>conftest.$ac_ext
26797 cat >>conftest.$ac_ext <<_ACEOF
26798 /* end confdefs.h. */
26800 /* Override any gcc2 internal prototype to avoid an error. */
26804 /* We use char because int might match the return type of a gcc2
26805 builtin and then its argument prototype would still apply. */
26815 rm -f conftest.$ac_objext conftest$ac_exeext
26816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26817 (eval $ac_link) 2>conftest.er1
26819 grep -v '^ *+' conftest.er1 >conftest.err
26821 cat conftest.err >&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); } &&
26824 { ac_try='test -z "$ac_c_werror_flag"
26825 || test ! -s conftest.err'
26826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26827 (eval $ac_try) 2>&5
26829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26830 (exit $ac_status); }; } &&
26831 { ac_try='test -s conftest$ac_exeext'
26832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26833 (eval $ac_try) 2>&5
26835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26836 (exit $ac_status); }; }; then
26837 ac_cv_lib_m_scalbnf=yes
26839 echo "$as_me: failed program was:" >&5
26840 sed 's/^/| /' conftest.$ac_ext >&5
26842 ac_cv_lib_m_scalbnf=no
26844 rm -f conftest.err conftest.$ac_objext \
26845 conftest$ac_exeext conftest.$ac_ext
26846 LIBS=$ac_check_lib_save_LIBS
26848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26849 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26850 if test $ac_cv_lib_m_scalbnf = yes; then
26852 cat >>confdefs.h <<\_ACEOF
26853 #define HAVE_SCALBNF 1
26858 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26859 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26860 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26863 ac_check_lib_save_LIBS=$LIBS
26865 if test x$gcc_no_link = xyes; then
26866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26868 { (exit 1); exit 1; }; }
26870 cat >conftest.$ac_ext <<_ACEOF
26873 cat confdefs.h >>conftest.$ac_ext
26874 cat >>conftest.$ac_ext <<_ACEOF
26875 /* end confdefs.h. */
26877 /* Override any gcc2 internal prototype to avoid an error. */
26881 /* We use char because int might match the return type of a gcc2
26882 builtin and then its argument prototype would still apply. */
26892 rm -f conftest.$ac_objext conftest$ac_exeext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26894 (eval $ac_link) 2>conftest.er1
26896 grep -v '^ *+' conftest.er1 >conftest.err
26898 cat conftest.err >&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try='test -z "$ac_c_werror_flag"
26902 || test ! -s conftest.err'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; } &&
26908 { ac_try='test -s conftest$ac_exeext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 ac_cv_lib_m_scalbn=yes
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26919 ac_cv_lib_m_scalbn=no
26921 rm -f conftest.err conftest.$ac_objext \
26922 conftest$ac_exeext conftest.$ac_ext
26923 LIBS=$ac_check_lib_save_LIBS
26925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26926 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26927 if test $ac_cv_lib_m_scalbn = yes; then
26929 cat >>confdefs.h <<\_ACEOF
26930 #define HAVE_SCALBN 1
26935 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26936 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26937 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26938 echo $ECHO_N "(cached) $ECHO_C" >&6
26940 ac_check_lib_save_LIBS=$LIBS
26942 if test x$gcc_no_link = xyes; then
26943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26945 { (exit 1); exit 1; }; }
26947 cat >conftest.$ac_ext <<_ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26954 /* Override any gcc2 internal prototype to avoid an error. */
26958 /* We use char because int might match the return type of a gcc2
26959 builtin and then its argument prototype would still apply. */
26969 rm -f conftest.$ac_objext conftest$ac_exeext
26970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26971 (eval $ac_link) 2>conftest.er1
26973 grep -v '^ *+' conftest.er1 >conftest.err
26975 cat conftest.err >&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); } &&
26978 { ac_try='test -z "$ac_c_werror_flag"
26979 || test ! -s conftest.err'
26980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26981 (eval $ac_try) 2>&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); }; } &&
26985 { ac_try='test -s conftest$ac_exeext'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; }; then
26991 ac_cv_lib_m_scalbnl=yes
26993 echo "$as_me: failed program was:" >&5
26994 sed 's/^/| /' conftest.$ac_ext >&5
26996 ac_cv_lib_m_scalbnl=no
26998 rm -f conftest.err conftest.$ac_objext \
26999 conftest$ac_exeext conftest.$ac_ext
27000 LIBS=$ac_check_lib_save_LIBS
27002 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27003 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27004 if test $ac_cv_lib_m_scalbnl = yes; then
27006 cat >>confdefs.h <<\_ACEOF
27007 #define HAVE_SCALBNL 1
27012 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27013 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27014 if test "${ac_cv_lib_m_sinf+set}" = set; then
27015 echo $ECHO_N "(cached) $ECHO_C" >&6
27017 ac_check_lib_save_LIBS=$LIBS
27019 if test x$gcc_no_link = xyes; then
27020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27022 { (exit 1); exit 1; }; }
27024 cat >conftest.$ac_ext <<_ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27031 /* Override any gcc2 internal prototype to avoid an error. */
27035 /* We use char because int might match the return type of a gcc2
27036 builtin and then its argument prototype would still apply. */
27046 rm -f conftest.$ac_objext conftest$ac_exeext
27047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27048 (eval $ac_link) 2>conftest.er1
27050 grep -v '^ *+' conftest.er1 >conftest.err
27052 cat conftest.err >&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); } &&
27055 { ac_try='test -z "$ac_c_werror_flag"
27056 || test ! -s conftest.err'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; } &&
27062 { ac_try='test -s conftest$ac_exeext'
27063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27064 (eval $ac_try) 2>&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); }; }; then
27068 ac_cv_lib_m_sinf=yes
27070 echo "$as_me: failed program was:" >&5
27071 sed 's/^/| /' conftest.$ac_ext >&5
27073 ac_cv_lib_m_sinf=no
27075 rm -f conftest.err conftest.$ac_objext \
27076 conftest$ac_exeext conftest.$ac_ext
27077 LIBS=$ac_check_lib_save_LIBS
27079 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27080 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27081 if test $ac_cv_lib_m_sinf = yes; then
27083 cat >>confdefs.h <<\_ACEOF
27084 #define HAVE_SINF 1
27089 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27090 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27091 if test "${ac_cv_lib_m_sin+set}" = set; then
27092 echo $ECHO_N "(cached) $ECHO_C" >&6
27094 ac_check_lib_save_LIBS=$LIBS
27096 if test x$gcc_no_link = xyes; then
27097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27099 { (exit 1); exit 1; }; }
27101 cat >conftest.$ac_ext <<_ACEOF
27104 cat confdefs.h >>conftest.$ac_ext
27105 cat >>conftest.$ac_ext <<_ACEOF
27106 /* end confdefs.h. */
27108 /* Override any gcc2 internal prototype to avoid an error. */
27112 /* We use char because int might match the return type of a gcc2
27113 builtin and then its argument prototype would still apply. */
27123 rm -f conftest.$ac_objext conftest$ac_exeext
27124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27125 (eval $ac_link) 2>conftest.er1
27127 grep -v '^ *+' conftest.er1 >conftest.err
27129 cat conftest.err >&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); } &&
27132 { ac_try='test -z "$ac_c_werror_flag"
27133 || test ! -s conftest.err'
27134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27135 (eval $ac_try) 2>&5
27137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27138 (exit $ac_status); }; } &&
27139 { ac_try='test -s conftest$ac_exeext'
27140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27141 (eval $ac_try) 2>&5
27143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27144 (exit $ac_status); }; }; then
27145 ac_cv_lib_m_sin=yes
27147 echo "$as_me: failed program was:" >&5
27148 sed 's/^/| /' conftest.$ac_ext >&5
27152 rm -f conftest.err conftest.$ac_objext \
27153 conftest$ac_exeext conftest.$ac_ext
27154 LIBS=$ac_check_lib_save_LIBS
27156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27157 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27158 if test $ac_cv_lib_m_sin = yes; then
27160 cat >>confdefs.h <<\_ACEOF
27166 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27167 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27168 if test "${ac_cv_lib_m_sinl+set}" = set; then
27169 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 ac_check_lib_save_LIBS=$LIBS
27173 if test x$gcc_no_link = xyes; then
27174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27176 { (exit 1); exit 1; }; }
27178 cat >conftest.$ac_ext <<_ACEOF
27181 cat confdefs.h >>conftest.$ac_ext
27182 cat >>conftest.$ac_ext <<_ACEOF
27183 /* end confdefs.h. */
27185 /* Override any gcc2 internal prototype to avoid an error. */
27189 /* We use char because int might match the return type of a gcc2
27190 builtin and then its argument prototype would still apply. */
27200 rm -f conftest.$ac_objext conftest$ac_exeext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27202 (eval $ac_link) 2>conftest.er1
27204 grep -v '^ *+' conftest.er1 >conftest.err
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try='test -z "$ac_c_werror_flag"
27210 || test ! -s conftest.err'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; } &&
27216 { ac_try='test -s conftest$ac_exeext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27222 ac_cv_lib_m_sinl=yes
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27227 ac_cv_lib_m_sinl=no
27229 rm -f conftest.err conftest.$ac_objext \
27230 conftest$ac_exeext conftest.$ac_ext
27231 LIBS=$ac_check_lib_save_LIBS
27233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27234 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27235 if test $ac_cv_lib_m_sinl = yes; then
27237 cat >>confdefs.h <<\_ACEOF
27238 #define HAVE_SINL 1
27243 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27244 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27245 if test "${ac_cv_lib_m_csinf+set}" = set; then
27246 echo $ECHO_N "(cached) $ECHO_C" >&6
27248 ac_check_lib_save_LIBS=$LIBS
27250 if test x$gcc_no_link = xyes; then
27251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27253 { (exit 1); exit 1; }; }
27255 cat >conftest.$ac_ext <<_ACEOF
27258 cat confdefs.h >>conftest.$ac_ext
27259 cat >>conftest.$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27262 /* Override any gcc2 internal prototype to avoid an error. */
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27277 rm -f conftest.$ac_objext conftest$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279 (eval $ac_link) 2>conftest.er1
27281 grep -v '^ *+' conftest.er1 >conftest.err
27283 cat conftest.err >&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try='test -z "$ac_c_werror_flag"
27287 || test ! -s conftest.err'
27288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27289 (eval $ac_try) 2>&5
27291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27292 (exit $ac_status); }; } &&
27293 { ac_try='test -s conftest$ac_exeext'
27294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27295 (eval $ac_try) 2>&5
27297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27298 (exit $ac_status); }; }; then
27299 ac_cv_lib_m_csinf=yes
27301 echo "$as_me: failed program was:" >&5
27302 sed 's/^/| /' conftest.$ac_ext >&5
27304 ac_cv_lib_m_csinf=no
27306 rm -f conftest.err conftest.$ac_objext \
27307 conftest$ac_exeext conftest.$ac_ext
27308 LIBS=$ac_check_lib_save_LIBS
27310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27311 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27312 if test $ac_cv_lib_m_csinf = yes; then
27314 cat >>confdefs.h <<\_ACEOF
27315 #define HAVE_CSINF 1
27320 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27321 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27322 if test "${ac_cv_lib_m_csin+set}" = set; then
27323 echo $ECHO_N "(cached) $ECHO_C" >&6
27325 ac_check_lib_save_LIBS=$LIBS
27327 if test x$gcc_no_link = xyes; then
27328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27330 { (exit 1); exit 1; }; }
27332 cat >conftest.$ac_ext <<_ACEOF
27335 cat confdefs.h >>conftest.$ac_ext
27336 cat >>conftest.$ac_ext <<_ACEOF
27337 /* end confdefs.h. */
27339 /* Override any gcc2 internal prototype to avoid an error. */
27343 /* We use char because int might match the return type of a gcc2
27344 builtin and then its argument prototype would still apply. */
27354 rm -f conftest.$ac_objext conftest$ac_exeext
27355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27356 (eval $ac_link) 2>conftest.er1
27358 grep -v '^ *+' conftest.er1 >conftest.err
27360 cat conftest.err >&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); } &&
27363 { ac_try='test -z "$ac_c_werror_flag"
27364 || test ! -s conftest.err'
27365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27366 (eval $ac_try) 2>&5
27368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27369 (exit $ac_status); }; } &&
27370 { ac_try='test -s conftest$ac_exeext'
27371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27372 (eval $ac_try) 2>&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); }; }; then
27376 ac_cv_lib_m_csin=yes
27378 echo "$as_me: failed program was:" >&5
27379 sed 's/^/| /' conftest.$ac_ext >&5
27381 ac_cv_lib_m_csin=no
27383 rm -f conftest.err conftest.$ac_objext \
27384 conftest$ac_exeext conftest.$ac_ext
27385 LIBS=$ac_check_lib_save_LIBS
27387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27388 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27389 if test $ac_cv_lib_m_csin = yes; then
27391 cat >>confdefs.h <<\_ACEOF
27392 #define HAVE_CSIN 1
27397 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27398 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27399 if test "${ac_cv_lib_m_csinl+set}" = set; then
27400 echo $ECHO_N "(cached) $ECHO_C" >&6
27402 ac_check_lib_save_LIBS=$LIBS
27404 if test x$gcc_no_link = xyes; then
27405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27407 { (exit 1); exit 1; }; }
27409 cat >conftest.$ac_ext <<_ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h. */
27416 /* Override any gcc2 internal prototype to avoid an error. */
27420 /* We use char because int might match the return type of a gcc2
27421 builtin and then its argument prototype would still apply. */
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27433 (eval $ac_link) 2>conftest.er1
27435 grep -v '^ *+' conftest.er1 >conftest.err
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -z "$ac_c_werror_flag"
27441 || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 ac_cv_lib_m_csinl=yes
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27458 ac_cv_lib_m_csinl=no
27460 rm -f conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 LIBS=$ac_check_lib_save_LIBS
27464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27465 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27466 if test $ac_cv_lib_m_csinl = yes; then
27468 cat >>confdefs.h <<\_ACEOF
27469 #define HAVE_CSINL 1
27474 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27475 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27476 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27477 echo $ECHO_N "(cached) $ECHO_C" >&6
27479 ac_check_lib_save_LIBS=$LIBS
27481 if test x$gcc_no_link = xyes; then
27482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27484 { (exit 1); exit 1; }; }
27486 cat >conftest.$ac_ext <<_ACEOF
27489 cat confdefs.h >>conftest.$ac_ext
27490 cat >>conftest.$ac_ext <<_ACEOF
27491 /* end confdefs.h. */
27493 /* Override any gcc2 internal prototype to avoid an error. */
27497 /* We use char because int might match the return type of a gcc2
27498 builtin and then its argument prototype would still apply. */
27508 rm -f conftest.$ac_objext conftest$ac_exeext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27510 (eval $ac_link) 2>conftest.er1
27512 grep -v '^ *+' conftest.er1 >conftest.err
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try='test -z "$ac_c_werror_flag"
27518 || test ! -s conftest.err'
27519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27520 (eval $ac_try) 2>&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); }; } &&
27524 { ac_try='test -s conftest$ac_exeext'
27525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27526 (eval $ac_try) 2>&5
27528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27529 (exit $ac_status); }; }; then
27530 ac_cv_lib_m_sinhf=yes
27532 echo "$as_me: failed program was:" >&5
27533 sed 's/^/| /' conftest.$ac_ext >&5
27535 ac_cv_lib_m_sinhf=no
27537 rm -f conftest.err conftest.$ac_objext \
27538 conftest$ac_exeext conftest.$ac_ext
27539 LIBS=$ac_check_lib_save_LIBS
27541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27542 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27543 if test $ac_cv_lib_m_sinhf = yes; then
27545 cat >>confdefs.h <<\_ACEOF
27546 #define HAVE_SINHF 1
27551 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27552 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27553 if test "${ac_cv_lib_m_sinh+set}" = set; then
27554 echo $ECHO_N "(cached) $ECHO_C" >&6
27556 ac_check_lib_save_LIBS=$LIBS
27558 if test x$gcc_no_link = xyes; then
27559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27561 { (exit 1); exit 1; }; }
27563 cat >conftest.$ac_ext <<_ACEOF
27566 cat confdefs.h >>conftest.$ac_ext
27567 cat >>conftest.$ac_ext <<_ACEOF
27568 /* end confdefs.h. */
27570 /* Override any gcc2 internal prototype to avoid an error. */
27574 /* We use char because int might match the return type of a gcc2
27575 builtin and then its argument prototype would still apply. */
27585 rm -f conftest.$ac_objext conftest$ac_exeext
27586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27587 (eval $ac_link) 2>conftest.er1
27589 grep -v '^ *+' conftest.er1 >conftest.err
27591 cat conftest.err >&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); } &&
27594 { ac_try='test -z "$ac_c_werror_flag"
27595 || test ! -s conftest.err'
27596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27597 (eval $ac_try) 2>&5
27599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27600 (exit $ac_status); }; } &&
27601 { ac_try='test -s conftest$ac_exeext'
27602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27603 (eval $ac_try) 2>&5
27605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27606 (exit $ac_status); }; }; then
27607 ac_cv_lib_m_sinh=yes
27609 echo "$as_me: failed program was:" >&5
27610 sed 's/^/| /' conftest.$ac_ext >&5
27612 ac_cv_lib_m_sinh=no
27614 rm -f conftest.err conftest.$ac_objext \
27615 conftest$ac_exeext conftest.$ac_ext
27616 LIBS=$ac_check_lib_save_LIBS
27618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27619 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27620 if test $ac_cv_lib_m_sinh = yes; then
27622 cat >>confdefs.h <<\_ACEOF
27623 #define HAVE_SINH 1
27628 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27629 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27630 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27633 ac_check_lib_save_LIBS=$LIBS
27635 if test x$gcc_no_link = xyes; then
27636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27638 { (exit 1); exit 1; }; }
27640 cat >conftest.$ac_ext <<_ACEOF
27643 cat confdefs.h >>conftest.$ac_ext
27644 cat >>conftest.$ac_ext <<_ACEOF
27645 /* end confdefs.h. */
27647 /* Override any gcc2 internal prototype to avoid an error. */
27651 /* We use char because int might match the return type of a gcc2
27652 builtin and then its argument prototype would still apply. */
27662 rm -f conftest.$ac_objext conftest$ac_exeext
27663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27664 (eval $ac_link) 2>conftest.er1
27666 grep -v '^ *+' conftest.er1 >conftest.err
27668 cat conftest.err >&5
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); } &&
27671 { ac_try='test -z "$ac_c_werror_flag"
27672 || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try='test -s conftest$ac_exeext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 ac_cv_lib_m_sinhl=yes
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27689 ac_cv_lib_m_sinhl=no
27691 rm -f conftest.err conftest.$ac_objext \
27692 conftest$ac_exeext conftest.$ac_ext
27693 LIBS=$ac_check_lib_save_LIBS
27695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27696 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27697 if test $ac_cv_lib_m_sinhl = yes; then
27699 cat >>confdefs.h <<\_ACEOF
27700 #define HAVE_SINHL 1
27705 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27706 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27707 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27710 ac_check_lib_save_LIBS=$LIBS
27712 if test x$gcc_no_link = xyes; then
27713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27715 { (exit 1); exit 1; }; }
27717 cat >conftest.$ac_ext <<_ACEOF
27720 cat confdefs.h >>conftest.$ac_ext
27721 cat >>conftest.$ac_ext <<_ACEOF
27722 /* end confdefs.h. */
27724 /* Override any gcc2 internal prototype to avoid an error. */
27728 /* We use char because int might match the return type of a gcc2
27729 builtin and then its argument prototype would still apply. */
27739 rm -f conftest.$ac_objext conftest$ac_exeext
27740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27741 (eval $ac_link) 2>conftest.er1
27743 grep -v '^ *+' conftest.er1 >conftest.err
27745 cat conftest.err >&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); } &&
27748 { ac_try='test -z "$ac_c_werror_flag"
27749 || test ! -s conftest.err'
27750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27751 (eval $ac_try) 2>&5
27753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27754 (exit $ac_status); }; } &&
27755 { ac_try='test -s conftest$ac_exeext'
27756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27757 (eval $ac_try) 2>&5
27759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27760 (exit $ac_status); }; }; then
27761 ac_cv_lib_m_csinhf=yes
27763 echo "$as_me: failed program was:" >&5
27764 sed 's/^/| /' conftest.$ac_ext >&5
27766 ac_cv_lib_m_csinhf=no
27768 rm -f conftest.err conftest.$ac_objext \
27769 conftest$ac_exeext conftest.$ac_ext
27770 LIBS=$ac_check_lib_save_LIBS
27772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27773 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27774 if test $ac_cv_lib_m_csinhf = yes; then
27776 cat >>confdefs.h <<\_ACEOF
27777 #define HAVE_CSINHF 1
27782 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27783 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27784 if test "${ac_cv_lib_m_csinh+set}" = set; then
27785 echo $ECHO_N "(cached) $ECHO_C" >&6
27787 ac_check_lib_save_LIBS=$LIBS
27789 if test x$gcc_no_link = xyes; then
27790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27792 { (exit 1); exit 1; }; }
27794 cat >conftest.$ac_ext <<_ACEOF
27797 cat confdefs.h >>conftest.$ac_ext
27798 cat >>conftest.$ac_ext <<_ACEOF
27799 /* end confdefs.h. */
27801 /* Override any gcc2 internal prototype to avoid an error. */
27805 /* We use char because int might match the return type of a gcc2
27806 builtin and then its argument prototype would still apply. */
27816 rm -f conftest.$ac_objext conftest$ac_exeext
27817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27818 (eval $ac_link) 2>conftest.er1
27820 grep -v '^ *+' conftest.er1 >conftest.err
27822 cat conftest.err >&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); } &&
27825 { ac_try='test -z "$ac_c_werror_flag"
27826 || test ! -s conftest.err'
27827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27828 (eval $ac_try) 2>&5
27830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27831 (exit $ac_status); }; } &&
27832 { ac_try='test -s conftest$ac_exeext'
27833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27834 (eval $ac_try) 2>&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); }; }; then
27838 ac_cv_lib_m_csinh=yes
27840 echo "$as_me: failed program was:" >&5
27841 sed 's/^/| /' conftest.$ac_ext >&5
27843 ac_cv_lib_m_csinh=no
27845 rm -f conftest.err conftest.$ac_objext \
27846 conftest$ac_exeext conftest.$ac_ext
27847 LIBS=$ac_check_lib_save_LIBS
27849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27850 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27851 if test $ac_cv_lib_m_csinh = yes; then
27853 cat >>confdefs.h <<\_ACEOF
27854 #define HAVE_CSINH 1
27859 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27860 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27861 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27864 ac_check_lib_save_LIBS=$LIBS
27866 if test x$gcc_no_link = xyes; then
27867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27869 { (exit 1); exit 1; }; }
27871 cat >conftest.$ac_ext <<_ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h. */
27878 /* Override any gcc2 internal prototype to avoid an error. */
27882 /* We use char because int might match the return type of a gcc2
27883 builtin and then its argument prototype would still apply. */
27893 rm -f conftest.$ac_objext conftest$ac_exeext
27894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27895 (eval $ac_link) 2>conftest.er1
27897 grep -v '^ *+' conftest.er1 >conftest.err
27899 cat conftest.err >&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); } &&
27902 { ac_try='test -z "$ac_c_werror_flag"
27903 || test ! -s conftest.err'
27904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27905 (eval $ac_try) 2>&5
27907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27908 (exit $ac_status); }; } &&
27909 { ac_try='test -s conftest$ac_exeext'
27910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27911 (eval $ac_try) 2>&5
27913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27914 (exit $ac_status); }; }; then
27915 ac_cv_lib_m_csinhl=yes
27917 echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.$ac_ext >&5
27920 ac_cv_lib_m_csinhl=no
27922 rm -f conftest.err conftest.$ac_objext \
27923 conftest$ac_exeext conftest.$ac_ext
27924 LIBS=$ac_check_lib_save_LIBS
27926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27927 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27928 if test $ac_cv_lib_m_csinhl = yes; then
27930 cat >>confdefs.h <<\_ACEOF
27931 #define HAVE_CSINHL 1
27936 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27937 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27938 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27939 echo $ECHO_N "(cached) $ECHO_C" >&6
27941 ac_check_lib_save_LIBS=$LIBS
27943 if test x$gcc_no_link = xyes; then
27944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27946 { (exit 1); exit 1; }; }
27948 cat >conftest.$ac_ext <<_ACEOF
27951 cat confdefs.h >>conftest.$ac_ext
27952 cat >>conftest.$ac_ext <<_ACEOF
27953 /* end confdefs.h. */
27955 /* Override any gcc2 internal prototype to avoid an error. */
27959 /* We use char because int might match the return type of a gcc2
27960 builtin and then its argument prototype would still apply. */
27970 rm -f conftest.$ac_objext conftest$ac_exeext
27971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27972 (eval $ac_link) 2>conftest.er1
27974 grep -v '^ *+' conftest.er1 >conftest.err
27976 cat conftest.err >&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); } &&
27979 { ac_try='test -z "$ac_c_werror_flag"
27980 || test ! -s conftest.err'
27981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27982 (eval $ac_try) 2>&5
27984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27985 (exit $ac_status); }; } &&
27986 { ac_try='test -s conftest$ac_exeext'
27987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27988 (eval $ac_try) 2>&5
27990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27991 (exit $ac_status); }; }; then
27992 ac_cv_lib_m_sqrtf=yes
27994 echo "$as_me: failed program was:" >&5
27995 sed 's/^/| /' conftest.$ac_ext >&5
27997 ac_cv_lib_m_sqrtf=no
27999 rm -f conftest.err conftest.$ac_objext \
28000 conftest$ac_exeext conftest.$ac_ext
28001 LIBS=$ac_check_lib_save_LIBS
28003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28004 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28005 if test $ac_cv_lib_m_sqrtf = yes; then
28007 cat >>confdefs.h <<\_ACEOF
28008 #define HAVE_SQRTF 1
28013 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28014 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28015 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28016 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 ac_check_lib_save_LIBS=$LIBS
28020 if test x$gcc_no_link = xyes; then
28021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28023 { (exit 1); exit 1; }; }
28025 cat >conftest.$ac_ext <<_ACEOF
28028 cat confdefs.h >>conftest.$ac_ext
28029 cat >>conftest.$ac_ext <<_ACEOF
28030 /* end confdefs.h. */
28032 /* Override any gcc2 internal prototype to avoid an error. */
28036 /* We use char because int might match the return type of a gcc2
28037 builtin and then its argument prototype would still apply. */
28047 rm -f conftest.$ac_objext conftest$ac_exeext
28048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28049 (eval $ac_link) 2>conftest.er1
28051 grep -v '^ *+' conftest.er1 >conftest.err
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } &&
28056 { ac_try='test -z "$ac_c_werror_flag"
28057 || test ! -s conftest.err'
28058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28059 (eval $ac_try) 2>&5
28061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28062 (exit $ac_status); }; } &&
28063 { ac_try='test -s conftest$ac_exeext'
28064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28065 (eval $ac_try) 2>&5
28067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28068 (exit $ac_status); }; }; then
28069 ac_cv_lib_m_sqrt=yes
28071 echo "$as_me: failed program was:" >&5
28072 sed 's/^/| /' conftest.$ac_ext >&5
28074 ac_cv_lib_m_sqrt=no
28076 rm -f conftest.err conftest.$ac_objext \
28077 conftest$ac_exeext conftest.$ac_ext
28078 LIBS=$ac_check_lib_save_LIBS
28080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28081 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28082 if test $ac_cv_lib_m_sqrt = yes; then
28084 cat >>confdefs.h <<\_ACEOF
28085 #define HAVE_SQRT 1
28090 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28091 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28092 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28093 echo $ECHO_N "(cached) $ECHO_C" >&6
28095 ac_check_lib_save_LIBS=$LIBS
28097 if test x$gcc_no_link = xyes; then
28098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28100 { (exit 1); exit 1; }; }
28102 cat >conftest.$ac_ext <<_ACEOF
28105 cat confdefs.h >>conftest.$ac_ext
28106 cat >>conftest.$ac_ext <<_ACEOF
28107 /* end confdefs.h. */
28109 /* Override any gcc2 internal prototype to avoid an error. */
28113 /* We use char because int might match the return type of a gcc2
28114 builtin and then its argument prototype would still apply. */
28124 rm -f conftest.$ac_objext conftest$ac_exeext
28125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28126 (eval $ac_link) 2>conftest.er1
28128 grep -v '^ *+' conftest.er1 >conftest.err
28130 cat conftest.err >&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); } &&
28133 { ac_try='test -z "$ac_c_werror_flag"
28134 || test ! -s conftest.err'
28135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28136 (eval $ac_try) 2>&5
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; } &&
28140 { ac_try='test -s conftest$ac_exeext'
28141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28142 (eval $ac_try) 2>&5
28144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28145 (exit $ac_status); }; }; then
28146 ac_cv_lib_m_sqrtl=yes
28148 echo "$as_me: failed program was:" >&5
28149 sed 's/^/| /' conftest.$ac_ext >&5
28151 ac_cv_lib_m_sqrtl=no
28153 rm -f conftest.err conftest.$ac_objext \
28154 conftest$ac_exeext conftest.$ac_ext
28155 LIBS=$ac_check_lib_save_LIBS
28157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28158 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28159 if test $ac_cv_lib_m_sqrtl = yes; then
28161 cat >>confdefs.h <<\_ACEOF
28162 #define HAVE_SQRTL 1
28167 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28168 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28169 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28170 echo $ECHO_N "(cached) $ECHO_C" >&6
28172 ac_check_lib_save_LIBS=$LIBS
28174 if test x$gcc_no_link = xyes; then
28175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28177 { (exit 1); exit 1; }; }
28179 cat >conftest.$ac_ext <<_ACEOF
28182 cat confdefs.h >>conftest.$ac_ext
28183 cat >>conftest.$ac_ext <<_ACEOF
28184 /* end confdefs.h. */
28186 /* Override any gcc2 internal prototype to avoid an error. */
28190 /* We use char because int might match the return type of a gcc2
28191 builtin and then its argument prototype would still apply. */
28201 rm -f conftest.$ac_objext conftest$ac_exeext
28202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28203 (eval $ac_link) 2>conftest.er1
28205 grep -v '^ *+' conftest.er1 >conftest.err
28207 cat conftest.err >&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); } &&
28210 { ac_try='test -z "$ac_c_werror_flag"
28211 || test ! -s conftest.err'
28212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28213 (eval $ac_try) 2>&5
28215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28216 (exit $ac_status); }; } &&
28217 { ac_try='test -s conftest$ac_exeext'
28218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219 (eval $ac_try) 2>&5
28221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222 (exit $ac_status); }; }; then
28223 ac_cv_lib_m_csqrtf=yes
28225 echo "$as_me: failed program was:" >&5
28226 sed 's/^/| /' conftest.$ac_ext >&5
28228 ac_cv_lib_m_csqrtf=no
28230 rm -f conftest.err conftest.$ac_objext \
28231 conftest$ac_exeext conftest.$ac_ext
28232 LIBS=$ac_check_lib_save_LIBS
28234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28235 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28236 if test $ac_cv_lib_m_csqrtf = yes; then
28238 cat >>confdefs.h <<\_ACEOF
28239 #define HAVE_CSQRTF 1
28244 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28245 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28246 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28247 echo $ECHO_N "(cached) $ECHO_C" >&6
28249 ac_check_lib_save_LIBS=$LIBS
28251 if test x$gcc_no_link = xyes; then
28252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28254 { (exit 1); exit 1; }; }
28256 cat >conftest.$ac_ext <<_ACEOF
28259 cat confdefs.h >>conftest.$ac_ext
28260 cat >>conftest.$ac_ext <<_ACEOF
28261 /* end confdefs.h. */
28263 /* Override any gcc2 internal prototype to avoid an error. */
28267 /* We use char because int might match the return type of a gcc2
28268 builtin and then its argument prototype would still apply. */
28278 rm -f conftest.$ac_objext conftest$ac_exeext
28279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28280 (eval $ac_link) 2>conftest.er1
28282 grep -v '^ *+' conftest.er1 >conftest.err
28284 cat conftest.err >&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); } &&
28287 { ac_try='test -z "$ac_c_werror_flag"
28288 || test ! -s conftest.err'
28289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28290 (eval $ac_try) 2>&5
28292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28293 (exit $ac_status); }; } &&
28294 { ac_try='test -s conftest$ac_exeext'
28295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28296 (eval $ac_try) 2>&5
28298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28299 (exit $ac_status); }; }; then
28300 ac_cv_lib_m_csqrt=yes
28302 echo "$as_me: failed program was:" >&5
28303 sed 's/^/| /' conftest.$ac_ext >&5
28305 ac_cv_lib_m_csqrt=no
28307 rm -f conftest.err conftest.$ac_objext \
28308 conftest$ac_exeext conftest.$ac_ext
28309 LIBS=$ac_check_lib_save_LIBS
28311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28312 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28313 if test $ac_cv_lib_m_csqrt = yes; then
28315 cat >>confdefs.h <<\_ACEOF
28316 #define HAVE_CSQRT 1
28321 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28322 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28323 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28324 echo $ECHO_N "(cached) $ECHO_C" >&6
28326 ac_check_lib_save_LIBS=$LIBS
28328 if test x$gcc_no_link = xyes; then
28329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28331 { (exit 1); exit 1; }; }
28333 cat >conftest.$ac_ext <<_ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28340 /* Override any gcc2 internal prototype to avoid an error. */
28344 /* We use char because int might match the return type of a gcc2
28345 builtin and then its argument prototype would still apply. */
28355 rm -f conftest.$ac_objext conftest$ac_exeext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28357 (eval $ac_link) 2>conftest.er1
28359 grep -v '^ *+' conftest.er1 >conftest.err
28361 cat conftest.err >&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); } &&
28364 { ac_try='test -z "$ac_c_werror_flag"
28365 || test ! -s conftest.err'
28366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367 (eval $ac_try) 2>&5
28369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370 (exit $ac_status); }; } &&
28371 { ac_try='test -s conftest$ac_exeext'
28372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373 (eval $ac_try) 2>&5
28375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376 (exit $ac_status); }; }; then
28377 ac_cv_lib_m_csqrtl=yes
28379 echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28382 ac_cv_lib_m_csqrtl=no
28384 rm -f conftest.err conftest.$ac_objext \
28385 conftest$ac_exeext conftest.$ac_ext
28386 LIBS=$ac_check_lib_save_LIBS
28388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28389 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28390 if test $ac_cv_lib_m_csqrtl = yes; then
28392 cat >>confdefs.h <<\_ACEOF
28393 #define HAVE_CSQRTL 1
28398 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28399 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28400 if test "${ac_cv_lib_m_tanf+set}" = set; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28403 ac_check_lib_save_LIBS=$LIBS
28405 if test x$gcc_no_link = xyes; then
28406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28408 { (exit 1); exit 1; }; }
28410 cat >conftest.$ac_ext <<_ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h. */
28417 /* Override any gcc2 internal prototype to avoid an error. */
28421 /* We use char because int might match the return type of a gcc2
28422 builtin and then its argument prototype would still apply. */
28432 rm -f conftest.$ac_objext conftest$ac_exeext
28433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28434 (eval $ac_link) 2>conftest.er1
28436 grep -v '^ *+' conftest.er1 >conftest.err
28438 cat conftest.err >&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); } &&
28441 { ac_try='test -z "$ac_c_werror_flag"
28442 || test ! -s conftest.err'
28443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28444 (eval $ac_try) 2>&5
28446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28447 (exit $ac_status); }; } &&
28448 { ac_try='test -s conftest$ac_exeext'
28449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28450 (eval $ac_try) 2>&5
28452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28453 (exit $ac_status); }; }; then
28454 ac_cv_lib_m_tanf=yes
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.$ac_ext >&5
28459 ac_cv_lib_m_tanf=no
28461 rm -f conftest.err conftest.$ac_objext \
28462 conftest$ac_exeext conftest.$ac_ext
28463 LIBS=$ac_check_lib_save_LIBS
28465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28466 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28467 if test $ac_cv_lib_m_tanf = yes; then
28469 cat >>confdefs.h <<\_ACEOF
28470 #define HAVE_TANF 1
28475 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28476 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28477 if test "${ac_cv_lib_m_tan+set}" = set; then
28478 echo $ECHO_N "(cached) $ECHO_C" >&6
28480 ac_check_lib_save_LIBS=$LIBS
28482 if test x$gcc_no_link = xyes; then
28483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28485 { (exit 1); exit 1; }; }
28487 cat >conftest.$ac_ext <<_ACEOF
28490 cat confdefs.h >>conftest.$ac_ext
28491 cat >>conftest.$ac_ext <<_ACEOF
28492 /* end confdefs.h. */
28494 /* Override any gcc2 internal prototype to avoid an error. */
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28509 rm -f conftest.$ac_objext conftest$ac_exeext
28510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28511 (eval $ac_link) 2>conftest.er1
28513 grep -v '^ *+' conftest.er1 >conftest.err
28515 cat conftest.err >&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } &&
28518 { ac_try='test -z "$ac_c_werror_flag"
28519 || test ! -s conftest.err'
28520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28521 (eval $ac_try) 2>&5
28523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28524 (exit $ac_status); }; } &&
28525 { ac_try='test -s conftest$ac_exeext'
28526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28527 (eval $ac_try) 2>&5
28529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28530 (exit $ac_status); }; }; then
28531 ac_cv_lib_m_tan=yes
28533 echo "$as_me: failed program was:" >&5
28534 sed 's/^/| /' conftest.$ac_ext >&5
28538 rm -f conftest.err conftest.$ac_objext \
28539 conftest$ac_exeext conftest.$ac_ext
28540 LIBS=$ac_check_lib_save_LIBS
28542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28543 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28544 if test $ac_cv_lib_m_tan = yes; then
28546 cat >>confdefs.h <<\_ACEOF
28552 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28553 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28554 if test "${ac_cv_lib_m_tanl+set}" = set; then
28555 echo $ECHO_N "(cached) $ECHO_C" >&6
28557 ac_check_lib_save_LIBS=$LIBS
28559 if test x$gcc_no_link = xyes; then
28560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28562 { (exit 1); exit 1; }; }
28564 cat >conftest.$ac_ext <<_ACEOF
28567 cat confdefs.h >>conftest.$ac_ext
28568 cat >>conftest.$ac_ext <<_ACEOF
28569 /* end confdefs.h. */
28571 /* Override any gcc2 internal prototype to avoid an error. */
28575 /* We use char because int might match the return type of a gcc2
28576 builtin and then its argument prototype would still apply. */
28586 rm -f conftest.$ac_objext conftest$ac_exeext
28587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28588 (eval $ac_link) 2>conftest.er1
28590 grep -v '^ *+' conftest.er1 >conftest.err
28592 cat conftest.err >&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); } &&
28595 { ac_try='test -z "$ac_c_werror_flag"
28596 || test ! -s conftest.err'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; } &&
28602 { ac_try='test -s conftest$ac_exeext'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; }; then
28608 ac_cv_lib_m_tanl=yes
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28613 ac_cv_lib_m_tanl=no
28615 rm -f conftest.err conftest.$ac_objext \
28616 conftest$ac_exeext conftest.$ac_ext
28617 LIBS=$ac_check_lib_save_LIBS
28619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28620 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28621 if test $ac_cv_lib_m_tanl = yes; then
28623 cat >>confdefs.h <<\_ACEOF
28624 #define HAVE_TANL 1
28629 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28630 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28631 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28632 echo $ECHO_N "(cached) $ECHO_C" >&6
28634 ac_check_lib_save_LIBS=$LIBS
28636 if test x$gcc_no_link = xyes; then
28637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28639 { (exit 1); exit 1; }; }
28641 cat >conftest.$ac_ext <<_ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28648 /* Override any gcc2 internal prototype to avoid an error. */
28652 /* We use char because int might match the return type of a gcc2
28653 builtin and then its argument prototype would still apply. */
28663 rm -f conftest.$ac_objext conftest$ac_exeext
28664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28665 (eval $ac_link) 2>conftest.er1
28667 grep -v '^ *+' conftest.er1 >conftest.err
28669 cat conftest.err >&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); } &&
28672 { ac_try='test -z "$ac_c_werror_flag"
28673 || test ! -s conftest.err'
28674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28675 (eval $ac_try) 2>&5
28677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28678 (exit $ac_status); }; } &&
28679 { ac_try='test -s conftest$ac_exeext'
28680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28681 (eval $ac_try) 2>&5
28683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28684 (exit $ac_status); }; }; then
28685 ac_cv_lib_m_ctanf=yes
28687 echo "$as_me: failed program was:" >&5
28688 sed 's/^/| /' conftest.$ac_ext >&5
28690 ac_cv_lib_m_ctanf=no
28692 rm -f conftest.err conftest.$ac_objext \
28693 conftest$ac_exeext conftest.$ac_ext
28694 LIBS=$ac_check_lib_save_LIBS
28696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28697 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28698 if test $ac_cv_lib_m_ctanf = yes; then
28700 cat >>confdefs.h <<\_ACEOF
28701 #define HAVE_CTANF 1
28706 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28707 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28708 if test "${ac_cv_lib_m_ctan+set}" = set; then
28709 echo $ECHO_N "(cached) $ECHO_C" >&6
28711 ac_check_lib_save_LIBS=$LIBS
28713 if test x$gcc_no_link = xyes; then
28714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28716 { (exit 1); exit 1; }; }
28718 cat >conftest.$ac_ext <<_ACEOF
28721 cat confdefs.h >>conftest.$ac_ext
28722 cat >>conftest.$ac_ext <<_ACEOF
28723 /* end confdefs.h. */
28725 /* Override any gcc2 internal prototype to avoid an error. */
28729 /* We use char because int might match the return type of a gcc2
28730 builtin and then its argument prototype would still apply. */
28740 rm -f conftest.$ac_objext conftest$ac_exeext
28741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28742 (eval $ac_link) 2>conftest.er1
28744 grep -v '^ *+' conftest.er1 >conftest.err
28746 cat conftest.err >&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); } &&
28749 { ac_try='test -z "$ac_c_werror_flag"
28750 || test ! -s conftest.err'
28751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28752 (eval $ac_try) 2>&5
28754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28755 (exit $ac_status); }; } &&
28756 { ac_try='test -s conftest$ac_exeext'
28757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28758 (eval $ac_try) 2>&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); }; }; then
28762 ac_cv_lib_m_ctan=yes
28764 echo "$as_me: failed program was:" >&5
28765 sed 's/^/| /' conftest.$ac_ext >&5
28767 ac_cv_lib_m_ctan=no
28769 rm -f conftest.err conftest.$ac_objext \
28770 conftest$ac_exeext conftest.$ac_ext
28771 LIBS=$ac_check_lib_save_LIBS
28773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28774 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28775 if test $ac_cv_lib_m_ctan = yes; then
28777 cat >>confdefs.h <<\_ACEOF
28778 #define HAVE_CTAN 1
28783 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28784 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28785 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28786 echo $ECHO_N "(cached) $ECHO_C" >&6
28788 ac_check_lib_save_LIBS=$LIBS
28790 if test x$gcc_no_link = xyes; then
28791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28793 { (exit 1); exit 1; }; }
28795 cat >conftest.$ac_ext <<_ACEOF
28798 cat confdefs.h >>conftest.$ac_ext
28799 cat >>conftest.$ac_ext <<_ACEOF
28800 /* end confdefs.h. */
28802 /* Override any gcc2 internal prototype to avoid an error. */
28806 /* We use char because int might match the return type of a gcc2
28807 builtin and then its argument prototype would still apply. */
28817 rm -f conftest.$ac_objext conftest$ac_exeext
28818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28819 (eval $ac_link) 2>conftest.er1
28821 grep -v '^ *+' conftest.er1 >conftest.err
28823 cat conftest.err >&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); } &&
28826 { ac_try='test -z "$ac_c_werror_flag"
28827 || test ! -s conftest.err'
28828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28829 (eval $ac_try) 2>&5
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); }; } &&
28833 { ac_try='test -s conftest$ac_exeext'
28834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28835 (eval $ac_try) 2>&5
28837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28838 (exit $ac_status); }; }; then
28839 ac_cv_lib_m_ctanl=yes
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28844 ac_cv_lib_m_ctanl=no
28846 rm -f conftest.err conftest.$ac_objext \
28847 conftest$ac_exeext conftest.$ac_ext
28848 LIBS=$ac_check_lib_save_LIBS
28850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28851 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28852 if test $ac_cv_lib_m_ctanl = yes; then
28854 cat >>confdefs.h <<\_ACEOF
28855 #define HAVE_CTANL 1
28860 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28861 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28862 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28863 echo $ECHO_N "(cached) $ECHO_C" >&6
28865 ac_check_lib_save_LIBS=$LIBS
28867 if test x$gcc_no_link = xyes; then
28868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28870 { (exit 1); exit 1; }; }
28872 cat >conftest.$ac_ext <<_ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28879 /* Override any gcc2 internal prototype to avoid an error. */
28883 /* We use char because int might match the return type of a gcc2
28884 builtin and then its argument prototype would still apply. */
28894 rm -f conftest.$ac_objext conftest$ac_exeext
28895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28896 (eval $ac_link) 2>conftest.er1
28898 grep -v '^ *+' conftest.er1 >conftest.err
28900 cat conftest.err >&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); } &&
28903 { ac_try='test -z "$ac_c_werror_flag"
28904 || test ! -s conftest.err'
28905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28906 (eval $ac_try) 2>&5
28908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28909 (exit $ac_status); }; } &&
28910 { ac_try='test -s conftest$ac_exeext'
28911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28912 (eval $ac_try) 2>&5
28914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28915 (exit $ac_status); }; }; then
28916 ac_cv_lib_m_tanhf=yes
28918 echo "$as_me: failed program was:" >&5
28919 sed 's/^/| /' conftest.$ac_ext >&5
28921 ac_cv_lib_m_tanhf=no
28923 rm -f conftest.err conftest.$ac_objext \
28924 conftest$ac_exeext conftest.$ac_ext
28925 LIBS=$ac_check_lib_save_LIBS
28927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28928 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28929 if test $ac_cv_lib_m_tanhf = yes; then
28931 cat >>confdefs.h <<\_ACEOF
28932 #define HAVE_TANHF 1
28937 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28938 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28939 if test "${ac_cv_lib_m_tanh+set}" = set; then
28940 echo $ECHO_N "(cached) $ECHO_C" >&6
28942 ac_check_lib_save_LIBS=$LIBS
28944 if test x$gcc_no_link = xyes; then
28945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28947 { (exit 1); exit 1; }; }
28949 cat >conftest.$ac_ext <<_ACEOF
28952 cat confdefs.h >>conftest.$ac_ext
28953 cat >>conftest.$ac_ext <<_ACEOF
28954 /* end confdefs.h. */
28956 /* Override any gcc2 internal prototype to avoid an error. */
28960 /* We use char because int might match the return type of a gcc2
28961 builtin and then its argument prototype would still apply. */
28971 rm -f conftest.$ac_objext conftest$ac_exeext
28972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28973 (eval $ac_link) 2>conftest.er1
28975 grep -v '^ *+' conftest.er1 >conftest.err
28977 cat conftest.err >&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); } &&
28980 { ac_try='test -z "$ac_c_werror_flag"
28981 || test ! -s conftest.err'
28982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28983 (eval $ac_try) 2>&5
28985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28986 (exit $ac_status); }; } &&
28987 { ac_try='test -s conftest$ac_exeext'
28988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 (eval $ac_try) 2>&5
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; }; then
28993 ac_cv_lib_m_tanh=yes
28995 echo "$as_me: failed program was:" >&5
28996 sed 's/^/| /' conftest.$ac_ext >&5
28998 ac_cv_lib_m_tanh=no
29000 rm -f conftest.err conftest.$ac_objext \
29001 conftest$ac_exeext conftest.$ac_ext
29002 LIBS=$ac_check_lib_save_LIBS
29004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29005 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29006 if test $ac_cv_lib_m_tanh = yes; then
29008 cat >>confdefs.h <<\_ACEOF
29009 #define HAVE_TANH 1
29014 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29015 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29016 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29017 echo $ECHO_N "(cached) $ECHO_C" >&6
29019 ac_check_lib_save_LIBS=$LIBS
29021 if test x$gcc_no_link = xyes; then
29022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29024 { (exit 1); exit 1; }; }
29026 cat >conftest.$ac_ext <<_ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29033 /* Override any gcc2 internal prototype to avoid an error. */
29037 /* We use char because int might match the return type of a gcc2
29038 builtin and then its argument prototype would still apply. */
29048 rm -f conftest.$ac_objext conftest$ac_exeext
29049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29050 (eval $ac_link) 2>conftest.er1
29052 grep -v '^ *+' conftest.er1 >conftest.err
29054 cat conftest.err >&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); } &&
29057 { ac_try='test -z "$ac_c_werror_flag"
29058 || test ! -s conftest.err'
29059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29060 (eval $ac_try) 2>&5
29062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29063 (exit $ac_status); }; } &&
29064 { ac_try='test -s conftest$ac_exeext'
29065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29066 (eval $ac_try) 2>&5
29068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29069 (exit $ac_status); }; }; then
29070 ac_cv_lib_m_tanhl=yes
29072 echo "$as_me: failed program was:" >&5
29073 sed 's/^/| /' conftest.$ac_ext >&5
29075 ac_cv_lib_m_tanhl=no
29077 rm -f conftest.err conftest.$ac_objext \
29078 conftest$ac_exeext conftest.$ac_ext
29079 LIBS=$ac_check_lib_save_LIBS
29081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29082 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29083 if test $ac_cv_lib_m_tanhl = yes; then
29085 cat >>confdefs.h <<\_ACEOF
29086 #define HAVE_TANHL 1
29091 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29092 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29093 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29094 echo $ECHO_N "(cached) $ECHO_C" >&6
29096 ac_check_lib_save_LIBS=$LIBS
29098 if test x$gcc_no_link = xyes; then
29099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29101 { (exit 1); exit 1; }; }
29103 cat >conftest.$ac_ext <<_ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29110 /* Override any gcc2 internal prototype to avoid an error. */
29114 /* We use char because int might match the return type of a gcc2
29115 builtin and then its argument prototype would still apply. */
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29127 (eval $ac_link) 2>conftest.er1
29129 grep -v '^ *+' conftest.er1 >conftest.err
29131 cat conftest.err >&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); } &&
29134 { ac_try='test -z "$ac_c_werror_flag"
29135 || test ! -s conftest.err'
29136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29137 (eval $ac_try) 2>&5
29139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29140 (exit $ac_status); }; } &&
29141 { ac_try='test -s conftest$ac_exeext'
29142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29143 (eval $ac_try) 2>&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); }; }; then
29147 ac_cv_lib_m_ctanhf=yes
29149 echo "$as_me: failed program was:" >&5
29150 sed 's/^/| /' conftest.$ac_ext >&5
29152 ac_cv_lib_m_ctanhf=no
29154 rm -f conftest.err conftest.$ac_objext \
29155 conftest$ac_exeext conftest.$ac_ext
29156 LIBS=$ac_check_lib_save_LIBS
29158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29159 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29160 if test $ac_cv_lib_m_ctanhf = yes; then
29162 cat >>confdefs.h <<\_ACEOF
29163 #define HAVE_CTANHF 1
29168 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29169 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29170 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29171 echo $ECHO_N "(cached) $ECHO_C" >&6
29173 ac_check_lib_save_LIBS=$LIBS
29175 if test x$gcc_no_link = xyes; then
29176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29178 { (exit 1); exit 1; }; }
29180 cat >conftest.$ac_ext <<_ACEOF
29183 cat confdefs.h >>conftest.$ac_ext
29184 cat >>conftest.$ac_ext <<_ACEOF
29185 /* end confdefs.h. */
29187 /* Override any gcc2 internal prototype to avoid an error. */
29191 /* We use char because int might match the return type of a gcc2
29192 builtin and then its argument prototype would still apply. */
29202 rm -f conftest.$ac_objext conftest$ac_exeext
29203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29204 (eval $ac_link) 2>conftest.er1
29206 grep -v '^ *+' conftest.er1 >conftest.err
29208 cat conftest.err >&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); } &&
29211 { ac_try='test -z "$ac_c_werror_flag"
29212 || test ! -s conftest.err'
29213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29214 (eval $ac_try) 2>&5
29216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29217 (exit $ac_status); }; } &&
29218 { ac_try='test -s conftest$ac_exeext'
29219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29220 (eval $ac_try) 2>&5
29222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29223 (exit $ac_status); }; }; then
29224 ac_cv_lib_m_ctanh=yes
29226 echo "$as_me: failed program was:" >&5
29227 sed 's/^/| /' conftest.$ac_ext >&5
29229 ac_cv_lib_m_ctanh=no
29231 rm -f conftest.err conftest.$ac_objext \
29232 conftest$ac_exeext conftest.$ac_ext
29233 LIBS=$ac_check_lib_save_LIBS
29235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29236 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29237 if test $ac_cv_lib_m_ctanh = yes; then
29239 cat >>confdefs.h <<\_ACEOF
29240 #define HAVE_CTANH 1
29245 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29246 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29247 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29248 echo $ECHO_N "(cached) $ECHO_C" >&6
29250 ac_check_lib_save_LIBS=$LIBS
29252 if test x$gcc_no_link = xyes; then
29253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29255 { (exit 1); exit 1; }; }
29257 cat >conftest.$ac_ext <<_ACEOF
29260 cat confdefs.h >>conftest.$ac_ext
29261 cat >>conftest.$ac_ext <<_ACEOF
29262 /* end confdefs.h. */
29264 /* Override any gcc2 internal prototype to avoid an error. */
29268 /* We use char because int might match the return type of a gcc2
29269 builtin and then its argument prototype would still apply. */
29279 rm -f conftest.$ac_objext conftest$ac_exeext
29280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29281 (eval $ac_link) 2>conftest.er1
29283 grep -v '^ *+' conftest.er1 >conftest.err
29285 cat conftest.err >&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); } &&
29288 { ac_try='test -z "$ac_c_werror_flag"
29289 || test ! -s conftest.err'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; } &&
29295 { ac_try='test -s conftest$ac_exeext'
29296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29297 (eval $ac_try) 2>&5
29299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29300 (exit $ac_status); }; }; then
29301 ac_cv_lib_m_ctanhl=yes
29303 echo "$as_me: failed program was:" >&5
29304 sed 's/^/| /' conftest.$ac_ext >&5
29306 ac_cv_lib_m_ctanhl=no
29308 rm -f conftest.err conftest.$ac_objext \
29309 conftest$ac_exeext conftest.$ac_ext
29310 LIBS=$ac_check_lib_save_LIBS
29312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29313 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29314 if test $ac_cv_lib_m_ctanhl = yes; then
29316 cat >>confdefs.h <<\_ACEOF
29317 #define HAVE_CTANHL 1
29322 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29323 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29324 if test "${ac_cv_lib_m_truncf+set}" = set; then
29325 echo $ECHO_N "(cached) $ECHO_C" >&6
29327 ac_check_lib_save_LIBS=$LIBS
29329 if test x$gcc_no_link = xyes; then
29330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29332 { (exit 1); exit 1; }; }
29334 cat >conftest.$ac_ext <<_ACEOF
29337 cat confdefs.h >>conftest.$ac_ext
29338 cat >>conftest.$ac_ext <<_ACEOF
29339 /* end confdefs.h. */
29341 /* Override any gcc2 internal prototype to avoid an error. */
29345 /* We use char because int might match the return type of a gcc2
29346 builtin and then its argument prototype would still apply. */
29356 rm -f conftest.$ac_objext conftest$ac_exeext
29357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29358 (eval $ac_link) 2>conftest.er1
29360 grep -v '^ *+' conftest.er1 >conftest.err
29362 cat conftest.err >&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); } &&
29365 { ac_try='test -z "$ac_c_werror_flag"
29366 || test ! -s conftest.err'
29367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29368 (eval $ac_try) 2>&5
29370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29371 (exit $ac_status); }; } &&
29372 { ac_try='test -s conftest$ac_exeext'
29373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29374 (eval $ac_try) 2>&5
29376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29377 (exit $ac_status); }; }; then
29378 ac_cv_lib_m_truncf=yes
29380 echo "$as_me: failed program was:" >&5
29381 sed 's/^/| /' conftest.$ac_ext >&5
29383 ac_cv_lib_m_truncf=no
29385 rm -f conftest.err conftest.$ac_objext \
29386 conftest$ac_exeext conftest.$ac_ext
29387 LIBS=$ac_check_lib_save_LIBS
29389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29390 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29391 if test $ac_cv_lib_m_truncf = yes; then
29393 cat >>confdefs.h <<\_ACEOF
29394 #define HAVE_TRUNCF 1
29399 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29400 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29401 if test "${ac_cv_lib_m_trunc+set}" = set; then
29402 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 ac_check_lib_save_LIBS=$LIBS
29406 if test x$gcc_no_link = xyes; then
29407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29409 { (exit 1); exit 1; }; }
29411 cat >conftest.$ac_ext <<_ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29418 /* Override any gcc2 internal prototype to avoid an error. */
29422 /* We use char because int might match the return type of a gcc2
29423 builtin and then its argument prototype would still apply. */
29433 rm -f conftest.$ac_objext conftest$ac_exeext
29434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29435 (eval $ac_link) 2>conftest.er1
29437 grep -v '^ *+' conftest.er1 >conftest.err
29439 cat conftest.err >&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); } &&
29442 { ac_try='test -z "$ac_c_werror_flag"
29443 || test ! -s conftest.err'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; } &&
29449 { ac_try='test -s conftest$ac_exeext'
29450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29451 (eval $ac_try) 2>&5
29453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29454 (exit $ac_status); }; }; then
29455 ac_cv_lib_m_trunc=yes
29457 echo "$as_me: failed program was:" >&5
29458 sed 's/^/| /' conftest.$ac_ext >&5
29460 ac_cv_lib_m_trunc=no
29462 rm -f conftest.err conftest.$ac_objext \
29463 conftest$ac_exeext conftest.$ac_ext
29464 LIBS=$ac_check_lib_save_LIBS
29466 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29467 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29468 if test $ac_cv_lib_m_trunc = yes; then
29470 cat >>confdefs.h <<\_ACEOF
29471 #define HAVE_TRUNC 1
29476 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29477 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29478 if test "${ac_cv_lib_m_truncl+set}" = set; then
29479 echo $ECHO_N "(cached) $ECHO_C" >&6
29481 ac_check_lib_save_LIBS=$LIBS
29483 if test x$gcc_no_link = xyes; then
29484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29486 { (exit 1); exit 1; }; }
29488 cat >conftest.$ac_ext <<_ACEOF
29491 cat confdefs.h >>conftest.$ac_ext
29492 cat >>conftest.$ac_ext <<_ACEOF
29493 /* end confdefs.h. */
29495 /* Override any gcc2 internal prototype to avoid an error. */
29499 /* We use char because int might match the return type of a gcc2
29500 builtin and then its argument prototype would still apply. */
29510 rm -f conftest.$ac_objext conftest$ac_exeext
29511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29512 (eval $ac_link) 2>conftest.er1
29514 grep -v '^ *+' conftest.er1 >conftest.err
29516 cat conftest.err >&5
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); } &&
29519 { ac_try='test -z "$ac_c_werror_flag"
29520 || test ! -s conftest.err'
29521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29522 (eval $ac_try) 2>&5
29524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29525 (exit $ac_status); }; } &&
29526 { ac_try='test -s conftest$ac_exeext'
29527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29528 (eval $ac_try) 2>&5
29530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29531 (exit $ac_status); }; }; then
29532 ac_cv_lib_m_truncl=yes
29534 echo "$as_me: failed program was:" >&5
29535 sed 's/^/| /' conftest.$ac_ext >&5
29537 ac_cv_lib_m_truncl=no
29539 rm -f conftest.err conftest.$ac_objext \
29540 conftest$ac_exeext conftest.$ac_ext
29541 LIBS=$ac_check_lib_save_LIBS
29543 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29544 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29545 if test $ac_cv_lib_m_truncl = yes; then
29547 cat >>confdefs.h <<\_ACEOF
29548 #define HAVE_TRUNCL 1
29553 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29554 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29555 if test "${ac_cv_lib_m_erff+set}" = set; then
29556 echo $ECHO_N "(cached) $ECHO_C" >&6
29558 ac_check_lib_save_LIBS=$LIBS
29560 if test x$gcc_no_link = xyes; then
29561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29563 { (exit 1); exit 1; }; }
29565 cat >conftest.$ac_ext <<_ACEOF
29568 cat confdefs.h >>conftest.$ac_ext
29569 cat >>conftest.$ac_ext <<_ACEOF
29570 /* end confdefs.h. */
29572 /* Override any gcc2 internal prototype to avoid an error. */
29576 /* We use char because int might match the return type of a gcc2
29577 builtin and then its argument prototype would still apply. */
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29589 (eval $ac_link) 2>conftest.er1
29591 grep -v '^ *+' conftest.er1 >conftest.err
29593 cat conftest.err >&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); } &&
29596 { ac_try='test -z "$ac_c_werror_flag"
29597 || test ! -s conftest.err'
29598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29599 (eval $ac_try) 2>&5
29601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29602 (exit $ac_status); }; } &&
29603 { ac_try='test -s conftest$ac_exeext'
29604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29605 (eval $ac_try) 2>&5
29607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29608 (exit $ac_status); }; }; then
29609 ac_cv_lib_m_erff=yes
29611 echo "$as_me: failed program was:" >&5
29612 sed 's/^/| /' conftest.$ac_ext >&5
29614 ac_cv_lib_m_erff=no
29616 rm -f conftest.err conftest.$ac_objext \
29617 conftest$ac_exeext conftest.$ac_ext
29618 LIBS=$ac_check_lib_save_LIBS
29620 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29621 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29622 if test $ac_cv_lib_m_erff = yes; then
29624 cat >>confdefs.h <<\_ACEOF
29625 #define HAVE_ERFF 1
29630 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29631 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29632 if test "${ac_cv_lib_m_erf+set}" = set; then
29633 echo $ECHO_N "(cached) $ECHO_C" >&6
29635 ac_check_lib_save_LIBS=$LIBS
29637 if test x$gcc_no_link = xyes; then
29638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29640 { (exit 1); exit 1; }; }
29642 cat >conftest.$ac_ext <<_ACEOF
29645 cat confdefs.h >>conftest.$ac_ext
29646 cat >>conftest.$ac_ext <<_ACEOF
29647 /* end confdefs.h. */
29649 /* Override any gcc2 internal prototype to avoid an error. */
29653 /* We use char because int might match the return type of a gcc2
29654 builtin and then its argument prototype would still apply. */
29664 rm -f conftest.$ac_objext conftest$ac_exeext
29665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29666 (eval $ac_link) 2>conftest.er1
29668 grep -v '^ *+' conftest.er1 >conftest.err
29670 cat conftest.err >&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); } &&
29673 { ac_try='test -z "$ac_c_werror_flag"
29674 || test ! -s conftest.err'
29675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29676 (eval $ac_try) 2>&5
29678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29679 (exit $ac_status); }; } &&
29680 { ac_try='test -s conftest$ac_exeext'
29681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29682 (eval $ac_try) 2>&5
29684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685 (exit $ac_status); }; }; then
29686 ac_cv_lib_m_erf=yes
29688 echo "$as_me: failed program was:" >&5
29689 sed 's/^/| /' conftest.$ac_ext >&5
29693 rm -f conftest.err conftest.$ac_objext \
29694 conftest$ac_exeext conftest.$ac_ext
29695 LIBS=$ac_check_lib_save_LIBS
29697 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29698 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29699 if test $ac_cv_lib_m_erf = yes; then
29701 cat >>confdefs.h <<\_ACEOF
29707 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29708 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29709 if test "${ac_cv_lib_m_erfl+set}" = set; then
29710 echo $ECHO_N "(cached) $ECHO_C" >&6
29712 ac_check_lib_save_LIBS=$LIBS
29714 if test x$gcc_no_link = xyes; then
29715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29717 { (exit 1); exit 1; }; }
29719 cat >conftest.$ac_ext <<_ACEOF
29722 cat confdefs.h >>conftest.$ac_ext
29723 cat >>conftest.$ac_ext <<_ACEOF
29724 /* end confdefs.h. */
29726 /* Override any gcc2 internal prototype to avoid an error. */
29730 /* We use char because int might match the return type of a gcc2
29731 builtin and then its argument prototype would still apply. */
29741 rm -f conftest.$ac_objext conftest$ac_exeext
29742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29743 (eval $ac_link) 2>conftest.er1
29745 grep -v '^ *+' conftest.er1 >conftest.err
29747 cat conftest.err >&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); } &&
29750 { ac_try='test -z "$ac_c_werror_flag"
29751 || test ! -s conftest.err'
29752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29753 (eval $ac_try) 2>&5
29755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29756 (exit $ac_status); }; } &&
29757 { ac_try='test -s conftest$ac_exeext'
29758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29759 (eval $ac_try) 2>&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); }; }; then
29763 ac_cv_lib_m_erfl=yes
29765 echo "$as_me: failed program was:" >&5
29766 sed 's/^/| /' conftest.$ac_ext >&5
29768 ac_cv_lib_m_erfl=no
29770 rm -f conftest.err conftest.$ac_objext \
29771 conftest$ac_exeext conftest.$ac_ext
29772 LIBS=$ac_check_lib_save_LIBS
29774 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29775 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29776 if test $ac_cv_lib_m_erfl = yes; then
29778 cat >>confdefs.h <<\_ACEOF
29779 #define HAVE_ERFL 1
29784 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29785 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29786 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29787 echo $ECHO_N "(cached) $ECHO_C" >&6
29789 ac_check_lib_save_LIBS=$LIBS
29791 if test x$gcc_no_link = xyes; then
29792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29794 { (exit 1); exit 1; }; }
29796 cat >conftest.$ac_ext <<_ACEOF
29799 cat confdefs.h >>conftest.$ac_ext
29800 cat >>conftest.$ac_ext <<_ACEOF
29801 /* end confdefs.h. */
29803 /* Override any gcc2 internal prototype to avoid an error. */
29807 /* We use char because int might match the return type of a gcc2
29808 builtin and then its argument prototype would still apply. */
29818 rm -f conftest.$ac_objext conftest$ac_exeext
29819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29820 (eval $ac_link) 2>conftest.er1
29822 grep -v '^ *+' conftest.er1 >conftest.err
29824 cat conftest.err >&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); } &&
29827 { ac_try='test -z "$ac_c_werror_flag"
29828 || test ! -s conftest.err'
29829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29830 (eval $ac_try) 2>&5
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; } &&
29834 { ac_try='test -s conftest$ac_exeext'
29835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29836 (eval $ac_try) 2>&5
29838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29839 (exit $ac_status); }; }; then
29840 ac_cv_lib_m_erfcf=yes
29842 echo "$as_me: failed program was:" >&5
29843 sed 's/^/| /' conftest.$ac_ext >&5
29845 ac_cv_lib_m_erfcf=no
29847 rm -f conftest.err conftest.$ac_objext \
29848 conftest$ac_exeext conftest.$ac_ext
29849 LIBS=$ac_check_lib_save_LIBS
29851 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29852 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29853 if test $ac_cv_lib_m_erfcf = yes; then
29855 cat >>confdefs.h <<\_ACEOF
29856 #define HAVE_ERFCF 1
29861 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29862 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29863 if test "${ac_cv_lib_m_erfc+set}" = set; then
29864 echo $ECHO_N "(cached) $ECHO_C" >&6
29866 ac_check_lib_save_LIBS=$LIBS
29868 if test x$gcc_no_link = xyes; then
29869 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29870 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29871 { (exit 1); exit 1; }; }
29873 cat >conftest.$ac_ext <<_ACEOF
29876 cat confdefs.h >>conftest.$ac_ext
29877 cat >>conftest.$ac_ext <<_ACEOF
29878 /* end confdefs.h. */
29880 /* Override any gcc2 internal prototype to avoid an error. */
29884 /* We use char because int might match the return type of a gcc2
29885 builtin and then its argument prototype would still apply. */
29895 rm -f conftest.$ac_objext conftest$ac_exeext
29896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29897 (eval $ac_link) 2>conftest.er1
29899 grep -v '^ *+' conftest.er1 >conftest.err
29901 cat conftest.err >&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); } &&
29904 { ac_try='test -z "$ac_c_werror_flag"
29905 || test ! -s conftest.err'
29906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29907 (eval $ac_try) 2>&5
29909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29910 (exit $ac_status); }; } &&
29911 { ac_try='test -s conftest$ac_exeext'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; }; then
29917 ac_cv_lib_m_erfc=yes
29919 echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29922 ac_cv_lib_m_erfc=no
29924 rm -f conftest.err conftest.$ac_objext \
29925 conftest$ac_exeext conftest.$ac_ext
29926 LIBS=$ac_check_lib_save_LIBS
29928 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29929 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29930 if test $ac_cv_lib_m_erfc = yes; then
29932 cat >>confdefs.h <<\_ACEOF
29933 #define HAVE_ERFC 1
29938 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29939 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29940 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29941 echo $ECHO_N "(cached) $ECHO_C" >&6
29943 ac_check_lib_save_LIBS=$LIBS
29945 if test x$gcc_no_link = xyes; then
29946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29948 { (exit 1); exit 1; }; }
29950 cat >conftest.$ac_ext <<_ACEOF
29953 cat confdefs.h >>conftest.$ac_ext
29954 cat >>conftest.$ac_ext <<_ACEOF
29955 /* end confdefs.h. */
29957 /* Override any gcc2 internal prototype to avoid an error. */
29961 /* We use char because int might match the return type of a gcc2
29962 builtin and then its argument prototype would still apply. */
29972 rm -f conftest.$ac_objext conftest$ac_exeext
29973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29974 (eval $ac_link) 2>conftest.er1
29976 grep -v '^ *+' conftest.er1 >conftest.err
29978 cat conftest.err >&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); } &&
29981 { ac_try='test -z "$ac_c_werror_flag"
29982 || test ! -s conftest.err'
29983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29984 (eval $ac_try) 2>&5
29986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29987 (exit $ac_status); }; } &&
29988 { ac_try='test -s conftest$ac_exeext'
29989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29990 (eval $ac_try) 2>&5
29992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29993 (exit $ac_status); }; }; then
29994 ac_cv_lib_m_erfcl=yes
29996 echo "$as_me: failed program was:" >&5
29997 sed 's/^/| /' conftest.$ac_ext >&5
29999 ac_cv_lib_m_erfcl=no
30001 rm -f conftest.err conftest.$ac_objext \
30002 conftest$ac_exeext conftest.$ac_ext
30003 LIBS=$ac_check_lib_save_LIBS
30005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30006 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30007 if test $ac_cv_lib_m_erfcl = yes; then
30009 cat >>confdefs.h <<\_ACEOF
30010 #define HAVE_ERFCL 1
30015 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30016 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30017 if test "${ac_cv_lib_m_j0f+set}" = set; then
30018 echo $ECHO_N "(cached) $ECHO_C" >&6
30020 ac_check_lib_save_LIBS=$LIBS
30022 if test x$gcc_no_link = xyes; then
30023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30025 { (exit 1); exit 1; }; }
30027 cat >conftest.$ac_ext <<_ACEOF
30030 cat confdefs.h >>conftest.$ac_ext
30031 cat >>conftest.$ac_ext <<_ACEOF
30032 /* end confdefs.h. */
30034 /* Override any gcc2 internal prototype to avoid an error. */
30038 /* We use char because int might match the return type of a gcc2
30039 builtin and then its argument prototype would still apply. */
30049 rm -f conftest.$ac_objext conftest$ac_exeext
30050 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30051 (eval $ac_link) 2>conftest.er1
30053 grep -v '^ *+' conftest.er1 >conftest.err
30055 cat conftest.err >&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); } &&
30058 { ac_try='test -z "$ac_c_werror_flag"
30059 || test ! -s conftest.err'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; } &&
30065 { ac_try='test -s conftest$ac_exeext'
30066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30067 (eval $ac_try) 2>&5
30069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30070 (exit $ac_status); }; }; then
30071 ac_cv_lib_m_j0f=yes
30073 echo "$as_me: failed program was:" >&5
30074 sed 's/^/| /' conftest.$ac_ext >&5
30078 rm -f conftest.err conftest.$ac_objext \
30079 conftest$ac_exeext conftest.$ac_ext
30080 LIBS=$ac_check_lib_save_LIBS
30082 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30083 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30084 if test $ac_cv_lib_m_j0f = yes; then
30086 cat >>confdefs.h <<\_ACEOF
30092 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30093 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30094 if test "${ac_cv_lib_m_j0+set}" = set; then
30095 echo $ECHO_N "(cached) $ECHO_C" >&6
30097 ac_check_lib_save_LIBS=$LIBS
30099 if test x$gcc_no_link = xyes; then
30100 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30102 { (exit 1); exit 1; }; }
30104 cat >conftest.$ac_ext <<_ACEOF
30107 cat confdefs.h >>conftest.$ac_ext
30108 cat >>conftest.$ac_ext <<_ACEOF
30109 /* end confdefs.h. */
30111 /* Override any gcc2 internal prototype to avoid an error. */
30115 /* We use char because int might match the return type of a gcc2
30116 builtin and then its argument prototype would still apply. */
30126 rm -f conftest.$ac_objext conftest$ac_exeext
30127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30128 (eval $ac_link) 2>conftest.er1
30130 grep -v '^ *+' conftest.er1 >conftest.err
30132 cat conftest.err >&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); } &&
30135 { ac_try='test -z "$ac_c_werror_flag"
30136 || test ! -s conftest.err'
30137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30138 (eval $ac_try) 2>&5
30140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30141 (exit $ac_status); }; } &&
30142 { ac_try='test -s conftest$ac_exeext'
30143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30144 (eval $ac_try) 2>&5
30146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30147 (exit $ac_status); }; }; then
30150 echo "$as_me: failed program was:" >&5
30151 sed 's/^/| /' conftest.$ac_ext >&5
30155 rm -f conftest.err conftest.$ac_objext \
30156 conftest$ac_exeext conftest.$ac_ext
30157 LIBS=$ac_check_lib_save_LIBS
30159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30160 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30161 if test $ac_cv_lib_m_j0 = yes; then
30163 cat >>confdefs.h <<\_ACEOF
30169 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30170 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30171 if test "${ac_cv_lib_m_j0l+set}" = set; then
30172 echo $ECHO_N "(cached) $ECHO_C" >&6
30174 ac_check_lib_save_LIBS=$LIBS
30176 if test x$gcc_no_link = xyes; then
30177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30179 { (exit 1); exit 1; }; }
30181 cat >conftest.$ac_ext <<_ACEOF
30184 cat confdefs.h >>conftest.$ac_ext
30185 cat >>conftest.$ac_ext <<_ACEOF
30186 /* end confdefs.h. */
30188 /* Override any gcc2 internal prototype to avoid an error. */
30192 /* We use char because int might match the return type of a gcc2
30193 builtin and then its argument prototype would still apply. */
30203 rm -f conftest.$ac_objext conftest$ac_exeext
30204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30205 (eval $ac_link) 2>conftest.er1
30207 grep -v '^ *+' conftest.er1 >conftest.err
30209 cat conftest.err >&5
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); } &&
30212 { ac_try='test -z "$ac_c_werror_flag"
30213 || test ! -s conftest.err'
30214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30215 (eval $ac_try) 2>&5
30217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30218 (exit $ac_status); }; } &&
30219 { ac_try='test -s conftest$ac_exeext'
30220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30221 (eval $ac_try) 2>&5
30223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30224 (exit $ac_status); }; }; then
30225 ac_cv_lib_m_j0l=yes
30227 echo "$as_me: failed program was:" >&5
30228 sed 's/^/| /' conftest.$ac_ext >&5
30232 rm -f conftest.err conftest.$ac_objext \
30233 conftest$ac_exeext conftest.$ac_ext
30234 LIBS=$ac_check_lib_save_LIBS
30236 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30237 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30238 if test $ac_cv_lib_m_j0l = yes; then
30240 cat >>confdefs.h <<\_ACEOF
30246 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30247 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30248 if test "${ac_cv_lib_m_j1f+set}" = set; then
30249 echo $ECHO_N "(cached) $ECHO_C" >&6
30251 ac_check_lib_save_LIBS=$LIBS
30253 if test x$gcc_no_link = xyes; then
30254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30256 { (exit 1); exit 1; }; }
30258 cat >conftest.$ac_ext <<_ACEOF
30261 cat confdefs.h >>conftest.$ac_ext
30262 cat >>conftest.$ac_ext <<_ACEOF
30263 /* end confdefs.h. */
30265 /* Override any gcc2 internal prototype to avoid an error. */
30269 /* We use char because int might match the return type of a gcc2
30270 builtin and then its argument prototype would still apply. */
30280 rm -f conftest.$ac_objext conftest$ac_exeext
30281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30282 (eval $ac_link) 2>conftest.er1
30284 grep -v '^ *+' conftest.er1 >conftest.err
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } &&
30289 { ac_try='test -z "$ac_c_werror_flag"
30290 || test ! -s conftest.err'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; } &&
30296 { ac_try='test -s conftest$ac_exeext'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; }; then
30302 ac_cv_lib_m_j1f=yes
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30309 rm -f conftest.err conftest.$ac_objext \
30310 conftest$ac_exeext conftest.$ac_ext
30311 LIBS=$ac_check_lib_save_LIBS
30313 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30314 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30315 if test $ac_cv_lib_m_j1f = yes; then
30317 cat >>confdefs.h <<\_ACEOF
30323 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30324 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30325 if test "${ac_cv_lib_m_j1+set}" = set; then
30326 echo $ECHO_N "(cached) $ECHO_C" >&6
30328 ac_check_lib_save_LIBS=$LIBS
30330 if test x$gcc_no_link = xyes; then
30331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30333 { (exit 1); exit 1; }; }
30335 cat >conftest.$ac_ext <<_ACEOF
30338 cat confdefs.h >>conftest.$ac_ext
30339 cat >>conftest.$ac_ext <<_ACEOF
30340 /* end confdefs.h. */
30342 /* Override any gcc2 internal prototype to avoid an error. */
30346 /* We use char because int might match the return type of a gcc2
30347 builtin and then its argument prototype would still apply. */
30357 rm -f conftest.$ac_objext conftest$ac_exeext
30358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30359 (eval $ac_link) 2>conftest.er1
30361 grep -v '^ *+' conftest.er1 >conftest.err
30363 cat conftest.err >&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); } &&
30366 { ac_try='test -z "$ac_c_werror_flag"
30367 || test ! -s conftest.err'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; } &&
30373 { ac_try='test -s conftest$ac_exeext'
30374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30375 (eval $ac_try) 2>&5
30377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30378 (exit $ac_status); }; }; then
30381 echo "$as_me: failed program was:" >&5
30382 sed 's/^/| /' conftest.$ac_ext >&5
30386 rm -f conftest.err conftest.$ac_objext \
30387 conftest$ac_exeext conftest.$ac_ext
30388 LIBS=$ac_check_lib_save_LIBS
30390 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30391 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30392 if test $ac_cv_lib_m_j1 = yes; then
30394 cat >>confdefs.h <<\_ACEOF
30400 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30401 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30402 if test "${ac_cv_lib_m_j1l+set}" = set; then
30403 echo $ECHO_N "(cached) $ECHO_C" >&6
30405 ac_check_lib_save_LIBS=$LIBS
30407 if test x$gcc_no_link = xyes; then
30408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30410 { (exit 1); exit 1; }; }
30412 cat >conftest.$ac_ext <<_ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30419 /* Override any gcc2 internal prototype to avoid an error. */
30423 /* We use char because int might match the return type of a gcc2
30424 builtin and then its argument prototype would still apply. */
30434 rm -f conftest.$ac_objext conftest$ac_exeext
30435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30436 (eval $ac_link) 2>conftest.er1
30438 grep -v '^ *+' conftest.er1 >conftest.err
30440 cat conftest.err >&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); } &&
30443 { ac_try='test -z "$ac_c_werror_flag"
30444 || test ! -s conftest.err'
30445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30446 (eval $ac_try) 2>&5
30448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30449 (exit $ac_status); }; } &&
30450 { ac_try='test -s conftest$ac_exeext'
30451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30452 (eval $ac_try) 2>&5
30454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30455 (exit $ac_status); }; }; then
30456 ac_cv_lib_m_j1l=yes
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30463 rm -f conftest.err conftest.$ac_objext \
30464 conftest$ac_exeext conftest.$ac_ext
30465 LIBS=$ac_check_lib_save_LIBS
30467 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30468 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30469 if test $ac_cv_lib_m_j1l = yes; then
30471 cat >>confdefs.h <<\_ACEOF
30477 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30478 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30479 if test "${ac_cv_lib_m_jnf+set}" = set; then
30480 echo $ECHO_N "(cached) $ECHO_C" >&6
30482 ac_check_lib_save_LIBS=$LIBS
30484 if test x$gcc_no_link = xyes; then
30485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30487 { (exit 1); exit 1; }; }
30489 cat >conftest.$ac_ext <<_ACEOF
30492 cat confdefs.h >>conftest.$ac_ext
30493 cat >>conftest.$ac_ext <<_ACEOF
30494 /* end confdefs.h. */
30496 /* Override any gcc2 internal prototype to avoid an error. */
30500 /* We use char because int might match the return type of a gcc2
30501 builtin and then its argument prototype would still apply. */
30511 rm -f conftest.$ac_objext conftest$ac_exeext
30512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30513 (eval $ac_link) 2>conftest.er1
30515 grep -v '^ *+' conftest.er1 >conftest.err
30517 cat conftest.err >&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); } &&
30520 { ac_try='test -z "$ac_c_werror_flag"
30521 || test ! -s conftest.err'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; } &&
30527 { ac_try='test -s conftest$ac_exeext'
30528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30529 (eval $ac_try) 2>&5
30531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30532 (exit $ac_status); }; }; then
30533 ac_cv_lib_m_jnf=yes
30535 echo "$as_me: failed program was:" >&5
30536 sed 's/^/| /' conftest.$ac_ext >&5
30540 rm -f conftest.err conftest.$ac_objext \
30541 conftest$ac_exeext conftest.$ac_ext
30542 LIBS=$ac_check_lib_save_LIBS
30544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30545 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30546 if test $ac_cv_lib_m_jnf = yes; then
30548 cat >>confdefs.h <<\_ACEOF
30554 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30555 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30556 if test "${ac_cv_lib_m_jn+set}" = set; then
30557 echo $ECHO_N "(cached) $ECHO_C" >&6
30559 ac_check_lib_save_LIBS=$LIBS
30561 if test x$gcc_no_link = xyes; then
30562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30564 { (exit 1); exit 1; }; }
30566 cat >conftest.$ac_ext <<_ACEOF
30569 cat confdefs.h >>conftest.$ac_ext
30570 cat >>conftest.$ac_ext <<_ACEOF
30571 /* end confdefs.h. */
30573 /* Override any gcc2 internal prototype to avoid an error. */
30577 /* We use char because int might match the return type of a gcc2
30578 builtin and then its argument prototype would still apply. */
30588 rm -f conftest.$ac_objext conftest$ac_exeext
30589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30590 (eval $ac_link) 2>conftest.er1
30592 grep -v '^ *+' conftest.er1 >conftest.err
30594 cat conftest.err >&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); } &&
30597 { ac_try='test -z "$ac_c_werror_flag"
30598 || test ! -s conftest.err'
30599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30600 (eval $ac_try) 2>&5
30602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30603 (exit $ac_status); }; } &&
30604 { ac_try='test -s conftest$ac_exeext'
30605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30606 (eval $ac_try) 2>&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); }; }; then
30612 echo "$as_me: failed program was:" >&5
30613 sed 's/^/| /' conftest.$ac_ext >&5
30617 rm -f conftest.err conftest.$ac_objext \
30618 conftest$ac_exeext conftest.$ac_ext
30619 LIBS=$ac_check_lib_save_LIBS
30621 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30622 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30623 if test $ac_cv_lib_m_jn = yes; then
30625 cat >>confdefs.h <<\_ACEOF
30631 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30632 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30633 if test "${ac_cv_lib_m_jnl+set}" = set; then
30634 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 ac_check_lib_save_LIBS=$LIBS
30638 if test x$gcc_no_link = xyes; then
30639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30641 { (exit 1); exit 1; }; }
30643 cat >conftest.$ac_ext <<_ACEOF
30646 cat confdefs.h >>conftest.$ac_ext
30647 cat >>conftest.$ac_ext <<_ACEOF
30648 /* end confdefs.h. */
30650 /* Override any gcc2 internal prototype to avoid an error. */
30654 /* We use char because int might match the return type of a gcc2
30655 builtin and then its argument prototype would still apply. */
30665 rm -f conftest.$ac_objext conftest$ac_exeext
30666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30667 (eval $ac_link) 2>conftest.er1
30669 grep -v '^ *+' conftest.er1 >conftest.err
30671 cat conftest.err >&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); } &&
30674 { ac_try='test -z "$ac_c_werror_flag"
30675 || test ! -s conftest.err'
30676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30677 (eval $ac_try) 2>&5
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; } &&
30681 { ac_try='test -s conftest$ac_exeext'
30682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30683 (eval $ac_try) 2>&5
30685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30686 (exit $ac_status); }; }; then
30687 ac_cv_lib_m_jnl=yes
30689 echo "$as_me: failed program was:" >&5
30690 sed 's/^/| /' conftest.$ac_ext >&5
30694 rm -f conftest.err conftest.$ac_objext \
30695 conftest$ac_exeext conftest.$ac_ext
30696 LIBS=$ac_check_lib_save_LIBS
30698 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30699 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30700 if test $ac_cv_lib_m_jnl = yes; then
30702 cat >>confdefs.h <<\_ACEOF
30708 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30709 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30710 if test "${ac_cv_lib_m_y0f+set}" = set; then
30711 echo $ECHO_N "(cached) $ECHO_C" >&6
30713 ac_check_lib_save_LIBS=$LIBS
30715 if test x$gcc_no_link = xyes; then
30716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30718 { (exit 1); exit 1; }; }
30720 cat >conftest.$ac_ext <<_ACEOF
30723 cat confdefs.h >>conftest.$ac_ext
30724 cat >>conftest.$ac_ext <<_ACEOF
30725 /* end confdefs.h. */
30727 /* Override any gcc2 internal prototype to avoid an error. */
30731 /* We use char because int might match the return type of a gcc2
30732 builtin and then its argument prototype would still apply. */
30742 rm -f conftest.$ac_objext conftest$ac_exeext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30744 (eval $ac_link) 2>conftest.er1
30746 grep -v '^ *+' conftest.er1 >conftest.err
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } &&
30751 { ac_try='test -z "$ac_c_werror_flag"
30752 || test ! -s conftest.err'
30753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30754 (eval $ac_try) 2>&5
30756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30757 (exit $ac_status); }; } &&
30758 { ac_try='test -s conftest$ac_exeext'
30759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30760 (eval $ac_try) 2>&5
30762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30763 (exit $ac_status); }; }; then
30764 ac_cv_lib_m_y0f=yes
30766 echo "$as_me: failed program was:" >&5
30767 sed 's/^/| /' conftest.$ac_ext >&5
30771 rm -f conftest.err conftest.$ac_objext \
30772 conftest$ac_exeext conftest.$ac_ext
30773 LIBS=$ac_check_lib_save_LIBS
30775 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30776 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30777 if test $ac_cv_lib_m_y0f = yes; then
30779 cat >>confdefs.h <<\_ACEOF
30785 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30786 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30787 if test "${ac_cv_lib_m_y0+set}" = set; then
30788 echo $ECHO_N "(cached) $ECHO_C" >&6
30790 ac_check_lib_save_LIBS=$LIBS
30792 if test x$gcc_no_link = xyes; then
30793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30795 { (exit 1); exit 1; }; }
30797 cat >conftest.$ac_ext <<_ACEOF
30800 cat confdefs.h >>conftest.$ac_ext
30801 cat >>conftest.$ac_ext <<_ACEOF
30802 /* end confdefs.h. */
30804 /* Override any gcc2 internal prototype to avoid an error. */
30808 /* We use char because int might match the return type of a gcc2
30809 builtin and then its argument prototype would still apply. */
30819 rm -f conftest.$ac_objext conftest$ac_exeext
30820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30821 (eval $ac_link) 2>conftest.er1
30823 grep -v '^ *+' conftest.er1 >conftest.err
30825 cat conftest.err >&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); } &&
30828 { ac_try='test -z "$ac_c_werror_flag"
30829 || test ! -s conftest.err'
30830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30831 (eval $ac_try) 2>&5
30833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30834 (exit $ac_status); }; } &&
30835 { ac_try='test -s conftest$ac_exeext'
30836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30837 (eval $ac_try) 2>&5
30839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30840 (exit $ac_status); }; }; then
30843 echo "$as_me: failed program was:" >&5
30844 sed 's/^/| /' conftest.$ac_ext >&5
30848 rm -f conftest.err conftest.$ac_objext \
30849 conftest$ac_exeext conftest.$ac_ext
30850 LIBS=$ac_check_lib_save_LIBS
30852 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30853 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30854 if test $ac_cv_lib_m_y0 = yes; then
30856 cat >>confdefs.h <<\_ACEOF
30862 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30863 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30864 if test "${ac_cv_lib_m_y0l+set}" = set; then
30865 echo $ECHO_N "(cached) $ECHO_C" >&6
30867 ac_check_lib_save_LIBS=$LIBS
30869 if test x$gcc_no_link = xyes; then
30870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30872 { (exit 1); exit 1; }; }
30874 cat >conftest.$ac_ext <<_ACEOF
30877 cat confdefs.h >>conftest.$ac_ext
30878 cat >>conftest.$ac_ext <<_ACEOF
30879 /* end confdefs.h. */
30881 /* Override any gcc2 internal prototype to avoid an error. */
30885 /* We use char because int might match the return type of a gcc2
30886 builtin and then its argument prototype would still apply. */
30896 rm -f conftest.$ac_objext conftest$ac_exeext
30897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30898 (eval $ac_link) 2>conftest.er1
30900 grep -v '^ *+' conftest.er1 >conftest.err
30902 cat conftest.err >&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); } &&
30905 { ac_try='test -z "$ac_c_werror_flag"
30906 || test ! -s conftest.err'
30907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30908 (eval $ac_try) 2>&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; } &&
30912 { ac_try='test -s conftest$ac_exeext'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; }; then
30918 ac_cv_lib_m_y0l=yes
30920 echo "$as_me: failed program was:" >&5
30921 sed 's/^/| /' conftest.$ac_ext >&5
30925 rm -f conftest.err conftest.$ac_objext \
30926 conftest$ac_exeext conftest.$ac_ext
30927 LIBS=$ac_check_lib_save_LIBS
30929 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30930 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30931 if test $ac_cv_lib_m_y0l = yes; then
30933 cat >>confdefs.h <<\_ACEOF
30939 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30940 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30941 if test "${ac_cv_lib_m_y1f+set}" = set; then
30942 echo $ECHO_N "(cached) $ECHO_C" >&6
30944 ac_check_lib_save_LIBS=$LIBS
30946 if test x$gcc_no_link = xyes; then
30947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30949 { (exit 1); exit 1; }; }
30951 cat >conftest.$ac_ext <<_ACEOF
30954 cat confdefs.h >>conftest.$ac_ext
30955 cat >>conftest.$ac_ext <<_ACEOF
30956 /* end confdefs.h. */
30958 /* Override any gcc2 internal prototype to avoid an error. */
30962 /* We use char because int might match the return type of a gcc2
30963 builtin and then its argument prototype would still apply. */
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>conftest.er1
30977 grep -v '^ *+' conftest.er1 >conftest.err
30979 cat conftest.err >&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -z "$ac_c_werror_flag"
30983 || test ! -s conftest.err'
30984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30985 (eval $ac_try) 2>&5
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); }; } &&
30989 { ac_try='test -s conftest$ac_exeext'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; }; then
30995 ac_cv_lib_m_y1f=yes
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
31002 rm -f conftest.err conftest.$ac_objext \
31003 conftest$ac_exeext conftest.$ac_ext
31004 LIBS=$ac_check_lib_save_LIBS
31006 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31007 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31008 if test $ac_cv_lib_m_y1f = yes; then
31010 cat >>confdefs.h <<\_ACEOF
31016 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31017 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31018 if test "${ac_cv_lib_m_y1+set}" = set; then
31019 echo $ECHO_N "(cached) $ECHO_C" >&6
31021 ac_check_lib_save_LIBS=$LIBS
31023 if test x$gcc_no_link = xyes; then
31024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31026 { (exit 1); exit 1; }; }
31028 cat >conftest.$ac_ext <<_ACEOF
31031 cat confdefs.h >>conftest.$ac_ext
31032 cat >>conftest.$ac_ext <<_ACEOF
31033 /* end confdefs.h. */
31035 /* Override any gcc2 internal prototype to avoid an error. */
31039 /* We use char because int might match the return type of a gcc2
31040 builtin and then its argument prototype would still apply. */
31050 rm -f conftest.$ac_objext conftest$ac_exeext
31051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31052 (eval $ac_link) 2>conftest.er1
31054 grep -v '^ *+' conftest.er1 >conftest.err
31056 cat conftest.err >&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); } &&
31059 { ac_try='test -z "$ac_c_werror_flag"
31060 || test ! -s conftest.err'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; } &&
31066 { ac_try='test -s conftest$ac_exeext'
31067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31068 (eval $ac_try) 2>&5
31070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31071 (exit $ac_status); }; }; then
31074 echo "$as_me: failed program was:" >&5
31075 sed 's/^/| /' conftest.$ac_ext >&5
31079 rm -f conftest.err conftest.$ac_objext \
31080 conftest$ac_exeext conftest.$ac_ext
31081 LIBS=$ac_check_lib_save_LIBS
31083 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31084 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31085 if test $ac_cv_lib_m_y1 = yes; then
31087 cat >>confdefs.h <<\_ACEOF
31093 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31094 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31095 if test "${ac_cv_lib_m_y1l+set}" = set; then
31096 echo $ECHO_N "(cached) $ECHO_C" >&6
31098 ac_check_lib_save_LIBS=$LIBS
31100 if test x$gcc_no_link = xyes; then
31101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31103 { (exit 1); exit 1; }; }
31105 cat >conftest.$ac_ext <<_ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31112 /* Override any gcc2 internal prototype to avoid an error. */
31116 /* We use char because int might match the return type of a gcc2
31117 builtin and then its argument prototype would still apply. */
31127 rm -f conftest.$ac_objext conftest$ac_exeext
31128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31129 (eval $ac_link) 2>conftest.er1
31131 grep -v '^ *+' conftest.er1 >conftest.err
31133 cat conftest.err >&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); } &&
31136 { ac_try='test -z "$ac_c_werror_flag"
31137 || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_m_y1l=yes
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31156 rm -f conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31161 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31162 if test $ac_cv_lib_m_y1l = yes; then
31164 cat >>confdefs.h <<\_ACEOF
31170 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31171 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31172 if test "${ac_cv_lib_m_ynf+set}" = set; then
31173 echo $ECHO_N "(cached) $ECHO_C" >&6
31175 ac_check_lib_save_LIBS=$LIBS
31177 if test x$gcc_no_link = xyes; then
31178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31180 { (exit 1); exit 1; }; }
31182 cat >conftest.$ac_ext <<_ACEOF
31185 cat confdefs.h >>conftest.$ac_ext
31186 cat >>conftest.$ac_ext <<_ACEOF
31187 /* end confdefs.h. */
31189 /* Override any gcc2 internal prototype to avoid an error. */
31193 /* We use char because int might match the return type of a gcc2
31194 builtin and then its argument prototype would still apply. */
31204 rm -f conftest.$ac_objext conftest$ac_exeext
31205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31206 (eval $ac_link) 2>conftest.er1
31208 grep -v '^ *+' conftest.er1 >conftest.err
31210 cat conftest.err >&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); } &&
31213 { ac_try='test -z "$ac_c_werror_flag"
31214 || test ! -s conftest.err'
31215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31216 (eval $ac_try) 2>&5
31218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31219 (exit $ac_status); }; } &&
31220 { ac_try='test -s conftest$ac_exeext'
31221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31222 (eval $ac_try) 2>&5
31224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31225 (exit $ac_status); }; }; then
31226 ac_cv_lib_m_ynf=yes
31228 echo "$as_me: failed program was:" >&5
31229 sed 's/^/| /' conftest.$ac_ext >&5
31233 rm -f conftest.err conftest.$ac_objext \
31234 conftest$ac_exeext conftest.$ac_ext
31235 LIBS=$ac_check_lib_save_LIBS
31237 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31238 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31239 if test $ac_cv_lib_m_ynf = yes; then
31241 cat >>confdefs.h <<\_ACEOF
31247 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31248 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31249 if test "${ac_cv_lib_m_yn+set}" = set; then
31250 echo $ECHO_N "(cached) $ECHO_C" >&6
31252 ac_check_lib_save_LIBS=$LIBS
31254 if test x$gcc_no_link = xyes; then
31255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31257 { (exit 1); exit 1; }; }
31259 cat >conftest.$ac_ext <<_ACEOF
31262 cat confdefs.h >>conftest.$ac_ext
31263 cat >>conftest.$ac_ext <<_ACEOF
31264 /* end confdefs.h. */
31266 /* Override any gcc2 internal prototype to avoid an error. */
31270 /* We use char because int might match the return type of a gcc2
31271 builtin and then its argument prototype would still apply. */
31281 rm -f conftest.$ac_objext conftest$ac_exeext
31282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31283 (eval $ac_link) 2>conftest.er1
31285 grep -v '^ *+' conftest.er1 >conftest.err
31287 cat conftest.err >&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } &&
31290 { ac_try='test -z "$ac_c_werror_flag"
31291 || test ! -s conftest.err'
31292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); }; } &&
31297 { ac_try='test -s conftest$ac_exeext'
31298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299 (eval $ac_try) 2>&5
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; }; then
31305 echo "$as_me: failed program was:" >&5
31306 sed 's/^/| /' conftest.$ac_ext >&5
31310 rm -f conftest.err conftest.$ac_objext \
31311 conftest$ac_exeext conftest.$ac_ext
31312 LIBS=$ac_check_lib_save_LIBS
31314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31315 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31316 if test $ac_cv_lib_m_yn = yes; then
31318 cat >>confdefs.h <<\_ACEOF
31324 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31325 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31326 if test "${ac_cv_lib_m_ynl+set}" = set; then
31327 echo $ECHO_N "(cached) $ECHO_C" >&6
31329 ac_check_lib_save_LIBS=$LIBS
31331 if test x$gcc_no_link = xyes; then
31332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31334 { (exit 1); exit 1; }; }
31336 cat >conftest.$ac_ext <<_ACEOF
31339 cat confdefs.h >>conftest.$ac_ext
31340 cat >>conftest.$ac_ext <<_ACEOF
31341 /* end confdefs.h. */
31343 /* Override any gcc2 internal prototype to avoid an error. */
31347 /* We use char because int might match the return type of a gcc2
31348 builtin and then its argument prototype would still apply. */
31358 rm -f conftest.$ac_objext conftest$ac_exeext
31359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31360 (eval $ac_link) 2>conftest.er1
31362 grep -v '^ *+' conftest.er1 >conftest.err
31364 cat conftest.err >&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); } &&
31367 { ac_try='test -z "$ac_c_werror_flag"
31368 || test ! -s conftest.err'
31369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31370 (eval $ac_try) 2>&5
31372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31373 (exit $ac_status); }; } &&
31374 { ac_try='test -s conftest$ac_exeext'
31375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31376 (eval $ac_try) 2>&5
31378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31379 (exit $ac_status); }; }; then
31380 ac_cv_lib_m_ynl=yes
31382 echo "$as_me: failed program was:" >&5
31383 sed 's/^/| /' conftest.$ac_ext >&5
31387 rm -f conftest.err conftest.$ac_objext \
31388 conftest$ac_exeext conftest.$ac_ext
31389 LIBS=$ac_check_lib_save_LIBS
31391 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31392 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31393 if test $ac_cv_lib_m_ynl = yes; then
31395 cat >>confdefs.h <<\_ACEOF
31402 # On AIX, clog is present in libm as __clog
31403 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31404 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31405 if test "${ac_cv_lib_m___clog+set}" = set; then
31406 echo $ECHO_N "(cached) $ECHO_C" >&6
31408 ac_check_lib_save_LIBS=$LIBS
31410 if test x$gcc_no_link = xyes; then
31411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31413 { (exit 1); exit 1; }; }
31415 cat >conftest.$ac_ext <<_ACEOF
31418 cat confdefs.h >>conftest.$ac_ext
31419 cat >>conftest.$ac_ext <<_ACEOF
31420 /* end confdefs.h. */
31422 /* Override any gcc2 internal prototype to avoid an error. */
31426 /* We use char because int might match the return type of a gcc2
31427 builtin and then its argument prototype would still apply. */
31437 rm -f conftest.$ac_objext conftest$ac_exeext
31438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31439 (eval $ac_link) 2>conftest.er1
31441 grep -v '^ *+' conftest.er1 >conftest.err
31443 cat conftest.err >&5
31444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31445 (exit $ac_status); } &&
31446 { ac_try='test -z "$ac_c_werror_flag"
31447 || test ! -s conftest.err'
31448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31449 (eval $ac_try) 2>&5
31451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31452 (exit $ac_status); }; } &&
31453 { ac_try='test -s conftest$ac_exeext'
31454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31455 (eval $ac_try) 2>&5
31457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31458 (exit $ac_status); }; }; then
31459 ac_cv_lib_m___clog=yes
31461 echo "$as_me: failed program was:" >&5
31462 sed 's/^/| /' conftest.$ac_ext >&5
31464 ac_cv_lib_m___clog=no
31466 rm -f conftest.err conftest.$ac_objext \
31467 conftest$ac_exeext conftest.$ac_ext
31468 LIBS=$ac_check_lib_save_LIBS
31470 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31471 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31472 if test $ac_cv_lib_m___clog = yes; then
31474 cat >>confdefs.h <<\_ACEOF
31475 #define HAVE_CLOG 1
31481 # Check for a isfinite macro that works on long doubles.
31483 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31484 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31485 if test "${have_broken_isfinite+set}" = set; then
31486 echo $ECHO_N "(cached) $ECHO_C" >&6
31489 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31491 if test "$cross_compiling" = yes; then
31493 case "${target}" in
31494 hppa*-*-hpux*) have_broken_isfinite=yes ;;
31495 *) have_broken_isfinite=no ;;
31498 cat >conftest.$ac_ext <<_ACEOF
31501 cat confdefs.h >>conftest.$ac_ext
31502 cat >>conftest.$ac_ext <<_ACEOF
31503 /* end confdefs.h. */
31513 if (!isfinite(LDBL_MAX)) return 1;
31516 if (!isfinite(DBL_MAX)) return 1;
31522 rm -f conftest$ac_exeext
31523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31524 (eval $ac_link) 2>&5
31526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31529 (eval $ac_try) 2>&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); }; }; then
31533 have_broken_isfinite=no
31535 echo "$as_me: program exited with status $ac_status" >&5
31536 echo "$as_me: failed program was:" >&5
31537 sed 's/^/| /' conftest.$ac_ext >&5
31539 ( exit $ac_status )
31540 have_broken_isfinite=yes
31542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31544 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
31546 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
31547 echo "${ECHO_T}$have_broken_isfinite" >&6
31548 if test x"$have_broken_isfinite" = xyes; then
31550 cat >>confdefs.h <<\_ACEOF
31551 #define HAVE_BROKEN_ISFINITE 1
31556 # Check for a isnan macro that works on long doubles.
31558 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
31559 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
31560 if test "${have_broken_isnan+set}" = set; then
31561 echo $ECHO_N "(cached) $ECHO_C" >&6
31564 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
31566 if test "$cross_compiling" = yes; then
31568 case "${target}" in
31569 hppa*-*-hpux*) have_broken_isnan=yes ;;
31570 *) have_broken_isnan=no ;;
31573 cat >conftest.$ac_ext <<_ACEOF
31576 cat confdefs.h >>conftest.$ac_ext
31577 cat >>conftest.$ac_ext <<_ACEOF
31578 /* end confdefs.h. */
31590 x = __builtin_nanl ("");
31591 if (!isnan(x)) return 1;
31592 if (isnan(LDBL_MAX)) return 1;
31594 x = (long double) NAN;
31595 if (!isnan(x)) return 1;
31602 y = __builtin_nan ("");
31603 if (!isnan(y)) return 1;
31604 if (isnan(DBL_MAX)) return 1;
31607 if (!isnan(y)) return 1;
31615 rm -f conftest$ac_exeext
31616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31617 (eval $ac_link) 2>&5
31619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31620 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31622 (eval $ac_try) 2>&5
31624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31625 (exit $ac_status); }; }; then
31626 have_broken_isnan=no
31628 echo "$as_me: program exited with status $ac_status" >&5
31629 echo "$as_me: failed program was:" >&5
31630 sed 's/^/| /' conftest.$ac_ext >&5
31632 ( exit $ac_status )
31633 have_broken_isnan=yes
31635 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31637 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
31639 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
31640 echo "${ECHO_T}$have_broken_isnan" >&6
31641 if test x"$have_broken_isnan" = xyes; then
31643 cat >>confdefs.h <<\_ACEOF
31644 #define HAVE_BROKEN_ISNAN 1
31649 # Check for a fpclassify macro that works on long doubles.
31651 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
31652 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
31653 if test "${have_broken_fpclassify+set}" = set; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31657 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
31659 if test "$cross_compiling" = yes; then
31661 case "${target}" in
31662 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
31663 *) have_broken_fpclassify=no ;;
31666 cat >conftest.$ac_ext <<_ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31681 if (fpclassify(LDBL_MAX) == FP_NAN
31682 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
31685 if (fpclassify(DBL_MAX) == FP_NAN
31686 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
31692 rm -f conftest$ac_exeext
31693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31694 (eval $ac_link) 2>&5
31696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31699 (eval $ac_try) 2>&5
31701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31702 (exit $ac_status); }; }; then
31703 have_broken_fpclassify=no
31705 echo "$as_me: program exited with status $ac_status" >&5
31706 echo "$as_me: failed program was:" >&5
31707 sed 's/^/| /' conftest.$ac_ext >&5
31709 ( exit $ac_status )
31710 have_broken_fpclassify=yes
31712 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31714 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
31716 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
31717 echo "${ECHO_T}$have_broken_fpclassify" >&6
31718 if test x"$have_broken_fpclassify" = xyes; then
31720 cat >>confdefs.h <<\_ACEOF
31721 #define HAVE_BROKEN_FPCLASSIFY 1
31726 # Check whether the system has a working stat()
31728 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
31729 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
31730 if test "${have_working_stat+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31734 if test "$cross_compiling" = yes; then
31736 case "${target}" in
31737 *mingw*) have_working_stat=no ;;
31738 *) have_working_stat=yes;;
31741 cat >conftest.$ac_ext <<_ACEOF
31744 cat confdefs.h >>conftest.$ac_ext
31745 cat >>conftest.$ac_ext <<_ACEOF
31746 /* end confdefs.h. */
31749 #include <sys/types.h>
31750 #include <sys/stat.h>
31751 #include <unistd.h>
31756 struct stat st1, st2;
31758 f = fopen ("foo", "w");
31759 g = fopen ("bar", "w");
31760 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
31762 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
31769 rm -f conftest$ac_exeext
31770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31771 (eval $ac_link) 2>&5
31773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31776 (eval $ac_try) 2>&5
31778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31779 (exit $ac_status); }; }; then
31780 have_working_stat=yes
31782 echo "$as_me: program exited with status $ac_status" >&5
31783 echo "$as_me: failed program was:" >&5
31784 sed 's/^/| /' conftest.$ac_ext >&5
31786 ( exit $ac_status )
31787 have_working_stat=no
31789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31792 echo "$as_me:$LINENO: result: $have_working_stat" >&5
31793 echo "${ECHO_T}$have_working_stat" >&6
31794 if test x"$have_working_stat" = xyes; then
31796 cat >>confdefs.h <<\_ACEOF
31797 #define HAVE_WORKING_STAT 1
31802 # Check whether __mingw_snprintf() is present
31804 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
31805 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
31806 if test "${have_mingw_snprintf+set}" = set; then
31807 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 if test x$gcc_no_link = xyes; then
31811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31813 { (exit 1); exit 1; }; }
31815 cat >conftest.$ac_ext <<_ACEOF
31818 cat confdefs.h >>conftest.$ac_ext
31819 cat >>conftest.$ac_ext <<_ACEOF
31820 /* end confdefs.h. */
31823 extern int __mingw_snprintf (char *, size_t, const char *, ...);
31829 __mingw_snprintf (NULL, 0, "%d\n", 1);
31835 rm -f conftest.$ac_objext conftest$ac_exeext
31836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31837 (eval $ac_link) 2>conftest.er1
31839 grep -v '^ *+' conftest.er1 >conftest.err
31841 cat conftest.err >&5
31842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31843 (exit $ac_status); } &&
31844 { ac_try='test -z "$ac_c_werror_flag"
31845 || test ! -s conftest.err'
31846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31847 (eval $ac_try) 2>&5
31849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31850 (exit $ac_status); }; } &&
31851 { ac_try='test -s conftest$ac_exeext'
31852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31853 (eval $ac_try) 2>&5
31855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31856 (exit $ac_status); }; }; then
31857 eval "have_mingw_snprintf=yes"
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31862 eval "have_mingw_snprintf=no"
31864 rm -f conftest.err conftest.$ac_objext \
31865 conftest$ac_exeext conftest.$ac_ext
31868 echo "$as_me:$LINENO: result: $have_mingw_snprintf" >&5
31869 echo "${ECHO_T}$have_mingw_snprintf" >&6
31870 if test x"$have_mingw_snprintf" = xyes; then
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_MINGW_SNPRINTF 1
31879 # Check for GNU libc feenableexcept
31880 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
31881 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
31882 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
31883 echo $ECHO_N "(cached) $ECHO_C" >&6
31885 ac_check_lib_save_LIBS=$LIBS
31887 if test x$gcc_no_link = xyes; then
31888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31890 { (exit 1); exit 1; }; }
31892 cat >conftest.$ac_ext <<_ACEOF
31895 cat confdefs.h >>conftest.$ac_ext
31896 cat >>conftest.$ac_ext <<_ACEOF
31897 /* end confdefs.h. */
31899 /* Override any gcc2 internal prototype to avoid an error. */
31903 /* We use char because int might match the return type of a gcc2
31904 builtin and then its argument prototype would still apply. */
31905 char feenableexcept ();
31914 rm -f conftest.$ac_objext conftest$ac_exeext
31915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31916 (eval $ac_link) 2>conftest.er1
31918 grep -v '^ *+' conftest.er1 >conftest.err
31920 cat conftest.err >&5
31921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31922 (exit $ac_status); } &&
31923 { ac_try='test -z "$ac_c_werror_flag"
31924 || test ! -s conftest.err'
31925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31926 (eval $ac_try) 2>&5
31928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31929 (exit $ac_status); }; } &&
31930 { ac_try='test -s conftest$ac_exeext'
31931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31932 (eval $ac_try) 2>&5
31934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31935 (exit $ac_status); }; }; then
31936 ac_cv_lib_m_feenableexcept=yes
31938 echo "$as_me: failed program was:" >&5
31939 sed 's/^/| /' conftest.$ac_ext >&5
31941 ac_cv_lib_m_feenableexcept=no
31943 rm -f conftest.err conftest.$ac_objext \
31944 conftest$ac_exeext conftest.$ac_ext
31945 LIBS=$ac_check_lib_save_LIBS
31947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
31948 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
31949 if test $ac_cv_lib_m_feenableexcept = yes; then
31950 have_feenableexcept=yes
31951 cat >>confdefs.h <<\_ACEOF
31952 #define HAVE_FEENABLEEXCEPT 1
31958 # Check for SysV fpsetmask
31960 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
31961 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
31962 if test "${have_fpsetmask+set}" = set; then
31963 echo $ECHO_N "(cached) $ECHO_C" >&6
31966 if test x$gcc_no_link = xyes; then
31967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31969 { (exit 1); exit 1; }; }
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31978 #if HAVE_FLOATINGPOINT_H
31979 # include <floatingpoint.h>
31980 #endif /* HAVE_FLOATINGPOINT_H */
31982 # include <ieeefp.h>
31983 #endif /* HAVE_IEEEFP_H */
31992 rm -f conftest.$ac_objext conftest$ac_exeext
31993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31994 (eval $ac_link) 2>conftest.er1
31996 grep -v '^ *+' conftest.er1 >conftest.err
31998 cat conftest.err >&5
31999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32000 (exit $ac_status); } &&
32001 { ac_try='test -z "$ac_c_werror_flag"
32002 || test ! -s conftest.err'
32003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32004 (eval $ac_try) 2>&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); }; } &&
32008 { ac_try='test -s conftest$ac_exeext'
32009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32010 (eval $ac_try) 2>&5
32012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013 (exit $ac_status); }; }; then
32014 eval "have_fpsetmask=yes"
32016 echo "$as_me: failed program was:" >&5
32017 sed 's/^/| /' conftest.$ac_ext >&5
32019 eval "have_fpsetmask=no"
32021 rm -f conftest.err conftest.$ac_objext \
32022 conftest$ac_exeext conftest.$ac_ext
32025 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
32026 echo "${ECHO_T}$have_fpsetmask" >&6
32027 if test x"$have_fpsetmask" = xyes; then
32029 cat >>confdefs.h <<\_ACEOF
32030 #define HAVE_FPSETMASK 1
32036 # Check for AIX fp_trap and fp_enable
32037 echo "$as_me:$LINENO: checking for fp_trap" >&5
32038 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32039 if test "${ac_cv_func_fp_trap+set}" = set; then
32040 echo $ECHO_N "(cached) $ECHO_C" >&6
32042 if test x$gcc_no_link = xyes; then
32043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32045 { (exit 1); exit 1; }; }
32047 cat >conftest.$ac_ext <<_ACEOF
32050 cat confdefs.h >>conftest.$ac_ext
32051 cat >>conftest.$ac_ext <<_ACEOF
32052 /* end confdefs.h. */
32053 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32055 #define fp_trap innocuous_fp_trap
32057 /* System header to define __stub macros and hopefully few prototypes,
32058 which can conflict with char fp_trap (); below.
32059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32060 <limits.h> exists even on freestanding compilers. */
32063 # include <limits.h>
32065 # include <assert.h>
32070 /* Override any gcc2 internal prototype to avoid an error. */
32075 /* We use char because int might match the return type of a gcc2
32076 builtin and then its argument prototype would still apply. */
32078 /* The GNU C library defines this for functions which it implements
32079 to always fail with ENOSYS. Some functions are actually named
32080 something starting with __ and the normal name is an alias. */
32081 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32084 char (*f) () = fp_trap;
32093 return f != fp_trap;
32098 rm -f conftest.$ac_objext conftest$ac_exeext
32099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32100 (eval $ac_link) 2>conftest.er1
32102 grep -v '^ *+' conftest.er1 >conftest.err
32104 cat conftest.err >&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); } &&
32107 { ac_try='test -z "$ac_c_werror_flag"
32108 || test ! -s conftest.err'
32109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32110 (eval $ac_try) 2>&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); }; } &&
32114 { ac_try='test -s conftest$ac_exeext'
32115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32116 (eval $ac_try) 2>&5
32118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32119 (exit $ac_status); }; }; then
32120 ac_cv_func_fp_trap=yes
32122 echo "$as_me: failed program was:" >&5
32123 sed 's/^/| /' conftest.$ac_ext >&5
32125 ac_cv_func_fp_trap=no
32127 rm -f conftest.err conftest.$ac_objext \
32128 conftest$ac_exeext conftest.$ac_ext
32130 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32131 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32132 if test $ac_cv_func_fp_trap = yes; then
32134 cat >>confdefs.h <<\_ACEOF
32135 #define HAVE_FP_TRAP 1
32140 echo "$as_me:$LINENO: checking for fp_enable" >&5
32141 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32142 if test "${ac_cv_func_fp_enable+set}" = set; then
32143 echo $ECHO_N "(cached) $ECHO_C" >&6
32145 if test x$gcc_no_link = xyes; then
32146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32148 { (exit 1); exit 1; }; }
32150 cat >conftest.$ac_ext <<_ACEOF
32153 cat confdefs.h >>conftest.$ac_ext
32154 cat >>conftest.$ac_ext <<_ACEOF
32155 /* end confdefs.h. */
32156 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32158 #define fp_enable innocuous_fp_enable
32160 /* System header to define __stub macros and hopefully few prototypes,
32161 which can conflict with char fp_enable (); below.
32162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32163 <limits.h> exists even on freestanding compilers. */
32166 # include <limits.h>
32168 # include <assert.h>
32173 /* Override any gcc2 internal prototype to avoid an error. */
32178 /* We use char because int might match the return type of a gcc2
32179 builtin and then its argument prototype would still apply. */
32181 /* The GNU C library defines this for functions which it implements
32182 to always fail with ENOSYS. Some functions are actually named
32183 something starting with __ and the normal name is an alias. */
32184 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32187 char (*f) () = fp_enable;
32196 return f != fp_enable;
32201 rm -f conftest.$ac_objext conftest$ac_exeext
32202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32203 (eval $ac_link) 2>conftest.er1
32205 grep -v '^ *+' conftest.er1 >conftest.err
32207 cat conftest.err >&5
32208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32209 (exit $ac_status); } &&
32210 { ac_try='test -z "$ac_c_werror_flag"
32211 || test ! -s conftest.err'
32212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32213 (eval $ac_try) 2>&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); }; } &&
32217 { ac_try='test -s conftest$ac_exeext'
32218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219 (eval $ac_try) 2>&5
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); }; }; then
32223 ac_cv_func_fp_enable=yes
32225 echo "$as_me: failed program was:" >&5
32226 sed 's/^/| /' conftest.$ac_ext >&5
32228 ac_cv_func_fp_enable=no
32230 rm -f conftest.err conftest.$ac_objext \
32231 conftest$ac_exeext conftest.$ac_ext
32233 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32234 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32235 if test $ac_cv_func_fp_enable = yes; then
32237 cat >>confdefs.h <<\_ACEOF
32238 #define HAVE_FP_ENABLE 1
32244 # Runs configure.host to set up necessary host-dependent shell variables.
32245 # We then display a message about it, and propagate them through the
32247 . ${srcdir}/configure.host
32248 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32249 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32250 FPU_HOST_HEADER=config/${fpu_host}.h
32253 # Attempt to assert that the target is of common type in case we don't
32254 # have C99 integer types at all.
32256 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
32257 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
32258 if test "${target_ilp32+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 save_CFLAGS="$CFLAGS"
32264 if test x$gcc_no_link = xyes; then
32265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32267 { (exit 1); exit 1; }; }
32269 cat >conftest.$ac_ext <<_ACEOF
32272 cat confdefs.h >>conftest.$ac_ext
32273 cat >>conftest.$ac_ext <<_ACEOF
32274 /* end confdefs.h. */
32280 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
32283 undefined_function ();
32289 rm -f conftest.$ac_objext conftest$ac_exeext
32290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32291 (eval $ac_link) 2>conftest.er1
32293 grep -v '^ *+' conftest.er1 >conftest.err
32295 cat conftest.err >&5
32296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32297 (exit $ac_status); } &&
32298 { ac_try='test -z "$ac_c_werror_flag"
32299 || test ! -s conftest.err'
32300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32301 (eval $ac_try) 2>&5
32303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32304 (exit $ac_status); }; } &&
32305 { ac_try='test -s conftest$ac_exeext'
32306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32307 (eval $ac_try) 2>&5
32309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32310 (exit $ac_status); }; }; then
32313 echo "$as_me: failed program was:" >&5
32314 sed 's/^/| /' conftest.$ac_ext >&5
32318 rm -f conftest.err conftest.$ac_objext \
32319 conftest$ac_exeext conftest.$ac_ext
32320 CFLAGS="$save_CFLAGS"
32322 echo "$as_me:$LINENO: result: $target_ilp32" >&5
32323 echo "${ECHO_T}$target_ilp32" >&6
32324 if test $target_ilp32 = yes; then
32326 cat >>confdefs.h <<\_ACEOF
32327 #define TARGET_ILP32 1
32333 # Check out attribute support.
32335 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32336 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32337 if test "${have_attribute_visibility+set}" = set; then
32338 echo $ECHO_N "(cached) $ECHO_C" >&6
32341 save_CFLAGS="$CFLAGS"
32342 CFLAGS="$CFLAGS -Werror"
32343 cat >conftest.$ac_ext <<_ACEOF
32346 cat confdefs.h >>conftest.$ac_ext
32347 cat >>conftest.$ac_ext <<_ACEOF
32348 /* end confdefs.h. */
32349 void __attribute__((visibility("hidden"))) foo(void) { }
32358 rm -f conftest.$ac_objext
32359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32360 (eval $ac_compile) 2>conftest.er1
32362 grep -v '^ *+' conftest.er1 >conftest.err
32364 cat conftest.err >&5
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); } &&
32367 { ac_try='test -z "$ac_c_werror_flag"
32368 || test ! -s conftest.err'
32369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32370 (eval $ac_try) 2>&5
32372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32373 (exit $ac_status); }; } &&
32374 { ac_try='test -s conftest.$ac_objext'
32375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32376 (eval $ac_try) 2>&5
32378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32379 (exit $ac_status); }; }; then
32380 have_attribute_visibility=yes
32382 echo "$as_me: failed program was:" >&5
32383 sed 's/^/| /' conftest.$ac_ext >&5
32385 have_attribute_visibility=no
32387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32388 CFLAGS="$save_CFLAGS"
32390 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32391 echo "${ECHO_T}$have_attribute_visibility" >&6
32392 if test $have_attribute_visibility = yes; then
32394 cat >>confdefs.h <<\_ACEOF
32395 #define HAVE_ATTRIBUTE_VISIBILITY 1
32400 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32401 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32402 if test "${have_attribute_dllexport+set}" = set; then
32403 echo $ECHO_N "(cached) $ECHO_C" >&6
32406 save_CFLAGS="$CFLAGS"
32407 CFLAGS="$CFLAGS -Werror"
32408 cat >conftest.$ac_ext <<_ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414 void __attribute__((dllexport)) foo(void) { }
32423 rm -f conftest.$ac_objext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32425 (eval $ac_compile) 2>conftest.er1
32427 grep -v '^ *+' conftest.er1 >conftest.err
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_c_werror_flag"
32433 || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest.$ac_objext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 have_attribute_dllexport=yes
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32450 have_attribute_dllexport=no
32452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32453 CFLAGS="$save_CFLAGS"
32455 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32456 echo "${ECHO_T}$have_attribute_dllexport" >&6
32457 if test $have_attribute_dllexport = yes; then
32459 cat >>confdefs.h <<\_ACEOF
32460 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32465 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32466 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32467 if test "${have_attribute_alias+set}" = set; then
32468 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 if test x$gcc_no_link = xyes; then
32472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32474 { (exit 1); exit 1; }; }
32476 cat >conftest.$ac_ext <<_ACEOF
32479 cat confdefs.h >>conftest.$ac_ext
32480 cat >>conftest.$ac_ext <<_ACEOF
32481 /* end confdefs.h. */
32484 extern void bar(void) __attribute__((alias("foo")));
32493 rm -f conftest.$ac_objext conftest$ac_exeext
32494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32495 (eval $ac_link) 2>conftest.er1
32497 grep -v '^ *+' conftest.er1 >conftest.err
32499 cat conftest.err >&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); } &&
32502 { ac_try='test -z "$ac_c_werror_flag"
32503 || test ! -s conftest.err'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; } &&
32509 { ac_try='test -s conftest$ac_exeext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32515 have_attribute_alias=yes
32517 echo "$as_me: failed program was:" >&5
32518 sed 's/^/| /' conftest.$ac_ext >&5
32520 have_attribute_alias=no
32522 rm -f conftest.err conftest.$ac_objext \
32523 conftest$ac_exeext conftest.$ac_ext
32525 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32526 echo "${ECHO_T}$have_attribute_alias" >&6
32527 if test $have_attribute_alias = yes; then
32529 cat >>confdefs.h <<\_ACEOF
32530 #define HAVE_ATTRIBUTE_ALIAS 1
32535 # Check out sync builtins support.
32537 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32538 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32539 if test "${have_sync_fetch_and_add+set}" = set; then
32540 echo $ECHO_N "(cached) $ECHO_C" >&6
32543 if test x$gcc_no_link = xyes; then
32544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32546 { (exit 1); exit 1; }; }
32548 cat >conftest.$ac_ext <<_ACEOF
32551 cat confdefs.h >>conftest.$ac_ext
32552 cat >>conftest.$ac_ext <<_ACEOF
32553 /* end confdefs.h. */
32559 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32560 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32565 rm -f conftest.$ac_objext conftest$ac_exeext
32566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32567 (eval $ac_link) 2>conftest.er1
32569 grep -v '^ *+' conftest.er1 >conftest.err
32571 cat conftest.err >&5
32572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32573 (exit $ac_status); } &&
32574 { ac_try='test -z "$ac_c_werror_flag"
32575 || test ! -s conftest.err'
32576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32577 (eval $ac_try) 2>&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); }; } &&
32581 { ac_try='test -s conftest$ac_exeext'
32582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32583 (eval $ac_try) 2>&5
32585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32586 (exit $ac_status); }; }; then
32587 have_sync_fetch_and_add=yes
32589 echo "$as_me: failed program was:" >&5
32590 sed 's/^/| /' conftest.$ac_ext >&5
32592 have_sync_fetch_and_add=no
32594 rm -f conftest.err conftest.$ac_objext \
32595 conftest$ac_exeext conftest.$ac_ext
32597 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
32598 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
32599 if test $have_sync_fetch_and_add = yes; then
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_SYNC_FETCH_AND_ADD 1
32607 # Check out thread support.
32609 echo "$as_me:$LINENO: checking configured target thread model" >&5
32610 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
32611 if test "${target_thread_file+set}" = set; then
32612 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
32617 echo "$as_me:$LINENO: result: $target_thread_file" >&5
32618 echo "${ECHO_T}$target_thread_file" >&6
32620 if test $target_thread_file != single; then
32622 cat >>confdefs.h <<\_ACEOF
32623 #define HAVE_GTHR_DEFAULT 1
32628 # Check out #pragma weak.
32630 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
32631 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
32632 if test "${have_pragma_weak+set}" = set; then
32633 echo $ECHO_N "(cached) $ECHO_C" >&6
32636 gfor_save_CFLAGS="$CFLAGS"
32637 CFLAGS="$CFLAGS -Wunknown-pragmas"
32638 cat >conftest.$ac_ext <<_ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32654 rm -f conftest.$ac_objext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32656 (eval $ac_compile) 2>conftest.er1
32658 grep -v '^ *+' conftest.er1 >conftest.err
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try='test -z "$ac_c_werror_flag"
32664 || test ! -s conftest.err'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; } &&
32670 { ac_try='test -s conftest.$ac_objext'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; }; then
32676 have_pragma_weak=yes
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32681 have_pragma_weak=no
32683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32685 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
32686 echo "${ECHO_T}$have_pragma_weak" >&6
32687 if test $have_pragma_weak = yes; then
32689 cat >>confdefs.h <<\_ACEOF
32690 #define SUPPORTS_WEAK 1
32695 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
32697 cat >>confdefs.h <<\_ACEOF
32698 #define GTHREAD_USE_WEAK 0
32704 # Various other checks on target
32706 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
32707 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
32708 if test "${have_unlink_open_file+set}" = set; then
32709 echo $ECHO_N "(cached) $ECHO_C" >&6
32712 if test "$cross_compiling" = yes; then
32714 case "${target}" in
32715 *mingw*) have_unlink_open_file=no ;;
32716 *) have_unlink_open_file=yes;;
32719 cat >conftest.$ac_ext <<_ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32728 #include <unistd.h>
32729 #include <sys/stat.h>
32735 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
32738 if (unlink ("testfile") == -1)
32740 write (fd, "This is a test\n", 15);
32743 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
32749 rm -f conftest$ac_exeext
32750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32751 (eval $ac_link) 2>&5
32753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32756 (eval $ac_try) 2>&5
32758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32759 (exit $ac_status); }; }; then
32760 have_unlink_open_file=yes
32762 echo "$as_me: program exited with status $ac_status" >&5
32763 echo "$as_me: failed program was:" >&5
32764 sed 's/^/| /' conftest.$ac_ext >&5
32766 ( exit $ac_status )
32767 have_unlink_open_file=no
32769 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32772 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
32773 echo "${ECHO_T}$have_unlink_open_file" >&6
32774 if test x"$have_unlink_open_file" = xyes; then
32776 cat >>confdefs.h <<\_ACEOF
32777 #define HAVE_UNLINK_OPEN_FILE 1
32782 # Check whether line terminator is LF or CRLF
32784 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
32785 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
32786 if test "${have_crlf+set}" = set; then
32787 echo $ECHO_N "(cached) $ECHO_C" >&6
32790 if test "$cross_compiling" = yes; then
32792 case "${target}" in
32793 *mingw*) have_crlf=yes ;;
32797 cat >conftest.$ac_ext <<_ACEOF
32800 cat confdefs.h >>conftest.$ac_ext
32801 cat >>conftest.$ac_ext <<_ACEOF
32802 /* end confdefs.h. */
32804 /* This test program should exit with status 0 if system uses a CRLF as
32805 line terminator, and status 1 otherwise.
32806 Since it is used to check for mingw systems, and should return 0 in any
32807 other case, in case of a failure we will not use CRLF. */
32808 #include <sys/stat.h>
32809 #include <stdlib.h>
32821 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
32824 if (write (fd, "\n", 1) < 0)
32829 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
32831 bytes = read (fd, buff, 5);
32832 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
32839 rm -f conftest$ac_exeext
32840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32841 (eval $ac_link) 2>&5
32843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32844 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32846 (eval $ac_try) 2>&5
32848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32849 (exit $ac_status); }; }; then
32852 echo "$as_me: program exited with status $ac_status" >&5
32853 echo "$as_me: failed program was:" >&5
32854 sed 's/^/| /' conftest.$ac_ext >&5
32856 ( exit $ac_status )
32859 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32862 echo "$as_me:$LINENO: result: $have_crlf" >&5
32863 echo "${ECHO_T}$have_crlf" >&6
32864 if test x"$have_crlf" = xyes; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_CRLF 1
32872 cat >confcache <<\_ACEOF
32873 # This file is a shell script that caches the results of configure
32874 # tests run on this system so they can be shared between configure
32875 # scripts and configure runs, see configure's option --config-cache.
32876 # It is not useful on other systems. If it contains results you don't
32877 # want to keep, you may remove or edit it.
32879 # config.status only pays attention to the cache file if you give it
32880 # the --recheck option to rerun configure.
32882 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32883 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32884 # following values.
32888 # The following way of writing the cache mishandles newlines in values,
32889 # but we know of no workaround that is simple, portable, and efficient.
32890 # So, don't put newlines in cache variables' values.
32891 # Ultrix sh set writes to stderr and can't be redirected directly,
32892 # and sets the high bit in the cache file unless we assign to the vars.
32895 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32897 # `set' does not quote correctly, so add quotes (double-quote
32898 # substitution turns \\\\ into \\, and sed turns \\ into \).
32901 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32904 # `set' quotes correctly as required by POSIX, so do not add quotes.
32906 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32913 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32915 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32917 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32918 if test -w $cache_file; then
32919 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32920 cat confcache >$cache_file
32922 echo "not updating unwritable cache $cache_file"
32927 if test ${multilib} = yes; then
32928 multilib_arg="--enable-multilib"
32933 # Write our Makefile.
32934 ac_config_files="$ac_config_files Makefile"
32936 cat >confcache <<\_ACEOF
32937 # This file is a shell script that caches the results of configure
32938 # tests run on this system so they can be shared between configure
32939 # scripts and configure runs, see configure's option --config-cache.
32940 # It is not useful on other systems. If it contains results you don't
32941 # want to keep, you may remove or edit it.
32943 # config.status only pays attention to the cache file if you give it
32944 # the --recheck option to rerun configure.
32946 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32947 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32948 # following values.
32952 # The following way of writing the cache mishandles newlines in values,
32953 # but we know of no workaround that is simple, portable, and efficient.
32954 # So, don't put newlines in cache variables' values.
32955 # Ultrix sh set writes to stderr and can't be redirected directly,
32956 # and sets the high bit in the cache file unless we assign to the vars.
32959 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32961 # `set' does not quote correctly, so add quotes (double-quote
32962 # substitution turns \\\\ into \\, and sed turns \\ into \).
32965 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32968 # `set' quotes correctly as required by POSIX, so do not add quotes.
32970 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32979 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32981 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32982 if test -w $cache_file; then
32983 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32984 cat confcache >$cache_file
32986 echo "not updating unwritable cache $cache_file"
32991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32992 # Let make expand exec_prefix.
32993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32995 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32996 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32997 # trailing colons and then remove the whole line if VPATH becomes empty
32998 # (actually we leave an empty line to preserve line numbers).
32999 if test "x$srcdir" = x.; then
33000 ac_vpsub='/^[ ]*VPATH[ ]*=/{
33001 s/:*\$(srcdir):*/:/;
33002 s/:*\${srcdir}:*/:/;
33004 s/^\([^=]*=[ ]*\):*/\1/;
33010 DEFS=-DHAVE_CONFIG_H
33014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33015 # 1. Remove the extension, and $U if already installed.
33016 ac_i=`echo "$ac_i" |
33017 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33019 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33020 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33022 LIBOBJS=$ac_libobjs
33024 LTLIBOBJS=$ac_ltlibobjs
33027 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33028 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33029 Usually this means the macro was only invoked conditionally." >&5
33030 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33031 Usually this means the macro was only invoked conditionally." >&2;}
33032 { (exit 1); exit 1; }; }
33034 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33035 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33036 Usually this means the macro was only invoked conditionally." >&5
33037 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33038 Usually this means the macro was only invoked conditionally." >&2;}
33039 { (exit 1); exit 1; }; }
33041 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33042 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33043 Usually this means the macro was only invoked conditionally." >&5
33044 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33045 Usually this means the macro was only invoked conditionally." >&2;}
33046 { (exit 1); exit 1; }; }
33048 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33049 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33050 Usually this means the macro was only invoked conditionally." >&5
33051 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33052 Usually this means the macro was only invoked conditionally." >&2;}
33053 { (exit 1); exit 1; }; }
33056 : ${CONFIG_STATUS=./config.status}
33057 ac_clean_files_save=$ac_clean_files
33058 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33059 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33060 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33061 cat >$CONFIG_STATUS <<_ACEOF
33063 # Generated by $as_me.
33064 # Run this file to recreate the current configuration.
33065 # Compiler output produced by configure, useful for debugging
33066 # configure, is in config.log if it exists.
33069 ac_cs_recheck=false
33071 SHELL=\${CONFIG_SHELL-$SHELL}
33074 cat >>$CONFIG_STATUS <<\_ACEOF
33075 ## --------------------- ##
33076 ## M4sh Initialization. ##
33077 ## --------------------- ##
33079 # Be Bourne compatible
33080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33083 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33084 # is contrary to our usage. Disable this feature.
33085 alias -g '${1+"$@"}'='"$@"'
33086 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33089 DUALCASE=1; export DUALCASE # for MKS sh
33091 # Support unset when possible.
33092 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33099 # Work around bugs in pre-3.0 UWIN ksh.
33100 $as_unset ENV MAIL MAILPATH
33107 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33108 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33109 LC_TELEPHONE LC_TIME
33111 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33112 eval $as_var=C; export $as_var
33118 # Required to use basename.
33119 if expr a : '\(a\)' >/dev/null 2>&1; then
33125 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33126 as_basename=basename
33132 # Name of the executable.
33133 as_me=`$as_basename "$0" ||
33134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33135 X"$0" : 'X\(//\)$' \| \
33136 X"$0" : 'X\(/\)$' \| \
33137 . : '\(.\)' 2>/dev/null ||
33139 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33140 /^X\/\(\/\/\)$/{ s//\1/; q; }
33141 /^X\/\(\/\).*/{ s//\1/; q; }
33145 # PATH needs CR, and LINENO needs CR and PATH.
33146 # Avoid depending upon Character Ranges.
33147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33150 as_cr_digits='0123456789'
33151 as_cr_alnum=$as_cr_Letters$as_cr_digits
33153 # The user is always right.
33154 if test "${PATH_SEPARATOR+set}" != set; then
33155 echo "#! /bin/sh" >conf$$.sh
33156 echo "exit 0" >>conf$$.sh
33158 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33167 as_lineno_1=$LINENO
33168 as_lineno_2=$LINENO
33169 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33170 test "x$as_lineno_1" != "x$as_lineno_2" &&
33171 test "x$as_lineno_3" = "x$as_lineno_2" || {
33172 # Find who we are. Look in the path if we contain no path at all
33175 *[\\/]* ) as_myself=$0 ;;
33176 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33177 for as_dir in $PATH
33180 test -z "$as_dir" && as_dir=.
33181 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33186 # We did not find ourselves, most probably we were run as `sh COMMAND'
33187 # in which case we are not to be found in the path.
33188 if test "x$as_myself" = x; then
33191 if test ! -f "$as_myself"; then
33192 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33193 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33194 { (exit 1); exit 1; }; }
33196 case $CONFIG_SHELL in
33198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33202 test -z "$as_dir" && as_dir=.
33203 for as_base in sh bash ksh sh5; do
33206 if ("$as_dir/$as_base" -c '
33207 as_lineno_1=$LINENO
33208 as_lineno_2=$LINENO
33209 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33210 test "x$as_lineno_1" != "x$as_lineno_2" &&
33211 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33212 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33213 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33214 CONFIG_SHELL=$as_dir/$as_base
33215 export CONFIG_SHELL
33216 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33224 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33225 # uniformly replaced by the line number. The first 'sed' inserts a
33226 # line-number line before each line; the second 'sed' does the real
33227 # work. The second script uses 'N' to pair each line-number line
33228 # with the numbered line, and appends trailing '-' during
33229 # substitution so that $LINENO is not a special case at line end.
33230 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33231 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33232 sed '=' <$as_myself |
33237 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33240 s,^['$as_cr_digits']*\n,,
33241 ' >$as_me.lineno &&
33242 chmod +x $as_me.lineno ||
33243 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33244 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33245 { (exit 1); exit 1; }; }
33247 # Don't try to exec as it changes $[0], causing all sort of problems
33248 # (the dirname of $[0] is not the place where we might find the
33249 # original and so on. Autoconf is especially sensible to this).
33251 # Exit status is that of the last command.
33256 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33257 *c*,-n*) ECHO_N= ECHO_C='
33259 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33260 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33263 if expr a : '\(a\)' >/dev/null 2>&1; then
33269 rm -f conf$$ conf$$.exe conf$$.file
33271 if ln -s conf$$.file conf$$ 2>/dev/null; then
33272 # We could just check for DJGPP; but this test a) works b) is more generic
33273 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33274 if test -f conf$$.exe; then
33275 # Don't use ln at all; we don't have any links
33280 elif ln conf$$.file conf$$ 2>/dev/null; then
33285 rm -f conf$$ conf$$.exe conf$$.file
33287 if mkdir -p . 2>/dev/null; then
33290 test -d ./-p && rmdir ./-p
33294 as_executable_p="test -f"
33296 # Sed expression to map a string onto a valid CPP name.
33297 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33299 # Sed expression to map a string onto a valid variable name.
33300 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33304 # We need space, tab and new line, in precisely that order.
33314 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33315 # report actual input values of CONFIG_FILES etc. instead of their
33316 # values after options handling. Logging --version etc. is OK.
33320 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33321 ## Running $as_me. ##
33326 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33327 generated by GNU Autoconf 2.59. Invocation command line was
33329 CONFIG_FILES = $CONFIG_FILES
33330 CONFIG_HEADERS = $CONFIG_HEADERS
33331 CONFIG_LINKS = $CONFIG_LINKS
33332 CONFIG_COMMANDS = $CONFIG_COMMANDS
33336 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33340 # Files that config.status was made for.
33341 if test -n "$ac_config_files"; then
33342 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33345 if test -n "$ac_config_headers"; then
33346 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33349 if test -n "$ac_config_links"; then
33350 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33353 if test -n "$ac_config_commands"; then
33354 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33357 cat >>$CONFIG_STATUS <<\_ACEOF
33360 \`$as_me' instantiates files from templates according to the
33361 current configuration.
33363 Usage: $0 [OPTIONS] [FILE]...
33365 -h, --help print this help, then exit
33366 -V, --version print version number, then exit
33367 -q, --quiet do not print progress messages
33368 -d, --debug don't remove temporary files
33369 --recheck update $as_me by reconfiguring in the same conditions
33370 --file=FILE[:TEMPLATE]
33371 instantiate the configuration file FILE
33372 --header=FILE[:TEMPLATE]
33373 instantiate the configuration header FILE
33375 Configuration files:
33378 Configuration headers:
33381 Configuration commands:
33384 Report bugs to <bug-autoconf@gnu.org>."
33387 cat >>$CONFIG_STATUS <<_ACEOF
33389 GNU Fortran Runtime Library config.status 0.3
33390 configured by $0, generated by GNU Autoconf 2.59,
33391 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33393 Copyright (C) 2003 Free Software Foundation, Inc.
33394 This config.status script is free software; the Free Software Foundation
33395 gives unlimited permission to copy, distribute and modify it."
33400 cat >>$CONFIG_STATUS <<\_ACEOF
33401 # If no file are specified by the user, then we need to provide default
33402 # value. By we need to know if files were specified by the user.
33408 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33409 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33417 *) # This is not an option, so the user has probably given explicit
33420 ac_need_defaults=false;;
33424 # Handling of the options.
33426 cat >>$CONFIG_STATUS <<\_ACEOF
33427 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33429 --version | --vers* | -V )
33430 echo "$ac_cs_version"; exit 0 ;;
33432 # Conflict between --help and --header
33433 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33434 Try \`$0 --help' for more information." >&5
33435 echo "$as_me: error: ambiguous option: $1
33436 Try \`$0 --help' for more information." >&2;}
33437 { (exit 1); exit 1; }; };;
33438 --help | --hel | -h )
33439 echo "$ac_cs_usage"; exit 0 ;;
33440 --debug | --d* | -d )
33442 --file | --fil | --fi | --f )
33444 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33445 ac_need_defaults=false;;
33446 --header | --heade | --head | --hea )
33448 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33449 ac_need_defaults=false;;
33450 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33451 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33454 # This is an error.
33455 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33456 Try \`$0 --help' for more information." >&5
33457 echo "$as_me: error: unrecognized option: $1
33458 Try \`$0 --help' for more information." >&2;}
33459 { (exit 1); exit 1; }; } ;;
33461 *) ac_config_targets="$ac_config_targets $1" ;;
33467 ac_configure_extra_args=
33469 if $ac_cs_silent; then
33471 ac_configure_extra_args="$ac_configure_extra_args --silent"
33475 cat >>$CONFIG_STATUS <<_ACEOF
33476 if \$ac_cs_recheck; then
33477 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33478 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33483 cat >>$CONFIG_STATUS <<_ACEOF
33485 # INIT-COMMANDS section.
33492 with_multisubdir="$with_multisubdir"
33493 with_multisrctop="$with_multisrctop"
33494 with_target_subdir="$with_target_subdir"
33495 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33496 multi_basedir="$multi_basedir"
33497 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33499 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33502 # The HP-UX ksh and POSIX shell print the target directory to stdout
33503 # if CDPATH is set.
33504 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33506 sed_quote_subst='$sed_quote_subst'
33507 double_quote_subst='$double_quote_subst'
33508 delay_variable_subst='$delay_variable_subst'
33509 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33510 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33511 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33512 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33513 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33514 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33515 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33516 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33517 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33518 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33519 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33520 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33521 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33522 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33523 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33524 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33525 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33526 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33527 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33528 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33529 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33530 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33531 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33532 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33533 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33534 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33535 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33536 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33537 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33538 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33539 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33540 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33541 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33542 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33543 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33544 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33545 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33546 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33547 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33548 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33549 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33550 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33551 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33552 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
33553 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33554 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33555 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33556 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33557 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33558 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33559 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33560 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33561 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33562 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33563 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33564 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33565 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33566 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33567 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33568 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33569 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33570 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33571 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33572 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33573 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33574 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33575 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33576 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33577 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33578 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33579 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33580 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33581 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33582 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33583 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33584 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33585 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33586 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33587 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33588 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33589 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33590 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33591 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33592 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33593 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33594 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33595 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33596 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33597 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33598 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33599 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33600 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33601 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33602 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33603 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33604 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33605 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33606 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33607 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33608 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33609 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33610 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33611 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33612 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33613 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33614 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33615 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33616 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33617 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33618 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33619 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33620 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33621 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33622 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33623 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33624 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33625 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
33626 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33627 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
33628 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
33629 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33630 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
33631 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33632 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
33633 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
33634 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
33635 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
33636 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33637 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33638 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
33639 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33640 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33641 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33642 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33643 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33644 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33645 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33646 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33647 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33648 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33649 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33650 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
33651 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
33652 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
33653 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
33654 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
33655 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33656 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
33657 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
33658 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33659 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
33660 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33661 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33662 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33663 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33664 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33665 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
33666 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33667 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33668 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33669 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33670 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33673 LTCFLAGS='$LTCFLAGS'
33674 compiler='$compiler_DEFAULT'
33676 # Quote evaled strings.
33687 deplibs_check_method \
33696 lt_cv_sys_global_symbol_pipe \
33697 lt_cv_sys_global_symbol_to_cdecl \
33698 lt_cv_sys_global_symbol_to_c_name_address \
33701 lt_prog_compiler_no_builtin_flag \
33702 lt_prog_compiler_wl \
33703 lt_prog_compiler_pic \
33704 lt_prog_compiler_static \
33705 lt_cv_prog_compiler_c_o \
33708 export_dynamic_flag_spec \
33709 whole_archive_flag_spec \
33710 compiler_needs_object \
33712 allow_undefined_flag \
33713 no_undefined_flag \
33714 hardcode_libdir_flag_spec \
33715 hardcode_libdir_flag_spec_ld \
33716 hardcode_libdir_separator \
33721 variables_saved_for_relink \
33723 library_names_spec \
33732 compiler_lib_search_path \
33735 lt_prog_compiler_no_builtin_flag_FC \
33736 lt_prog_compiler_wl_FC \
33737 lt_prog_compiler_pic_FC \
33738 lt_prog_compiler_static_FC \
33739 lt_cv_prog_compiler_c_o_FC \
33740 export_dynamic_flag_spec_FC \
33741 whole_archive_flag_spec_FC \
33742 compiler_needs_object_FC \
33744 allow_undefined_flag_FC \
33745 no_undefined_flag_FC \
33746 hardcode_libdir_flag_spec_FC \
33747 hardcode_libdir_flag_spec_ld_FC \
33748 hardcode_libdir_separator_FC \
33749 fix_srcfile_path_FC \
33750 exclude_expsyms_FC \
33751 include_expsyms_FC \
33752 file_list_spec_FC \
33753 predep_objects_FC \
33754 postdep_objects_FC \
33757 compiler_lib_search_path_FC; do
33758 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33759 *[\\\\\\\`\\"\\\$]*)
33760 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33763 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33768 # Double-quote double-evaled strings.
33769 for var in reload_cmds \
33770 old_postinstall_cmds \
33771 old_postuninstall_cmds \
33773 extract_expsyms_cmds \
33774 old_archive_from_new_cmds \
33775 old_archive_from_expsyms_cmds \
33777 archive_expsym_cmds \
33779 module_expsym_cmds \
33780 export_symbols_cmds \
33783 postuninstall_cmds \
33785 sys_lib_search_path_spec \
33786 sys_lib_dlsearch_path_spec \
33787 old_archive_cmds_FC \
33788 old_archive_from_new_cmds_FC \
33789 old_archive_from_expsyms_cmds_FC \
33791 archive_expsym_cmds_FC \
33793 module_expsym_cmds_FC \
33794 export_symbols_cmds_FC \
33795 prelink_cmds_FC; do
33796 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33797 *[\\\\\\\`\\"\\\$]*)
33798 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33801 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33806 # Fix-up fallback echo if it was mangled by the above quoting rules.
33808 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
33812 ac_aux_dir='$ac_aux_dir'
33813 xsi_shell='$xsi_shell'
33814 lt_shell_append='$lt_shell_append'
33816 # See if we are running on zsh, and set the options which allow our
33817 # commands through without removal of \ escapes INIT.
33818 if test -n "\${ZSH_VERSION+set}" ; then
33819 setopt NO_GLOB_SUBST
33825 TIMESTAMP='$TIMESTAMP'
33836 acx_cv_header_stdint="$acx_cv_header_stdint"
33837 acx_cv_type_int8_t="$acx_cv_type_int8_t"
33838 acx_cv_type_int16_t="$acx_cv_type_int16_t"
33839 acx_cv_type_int32_t="$acx_cv_type_int32_t"
33840 acx_cv_type_int64_t="$acx_cv_type_int64_t"
33841 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
33842 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
33843 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
33844 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33845 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33846 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
33847 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33848 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33849 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
33856 cat >>$CONFIG_STATUS <<\_ACEOF
33857 for ac_config_target in $ac_config_targets
33859 case "$ac_config_target" in
33860 # Handling of arguments.
33861 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33862 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
33863 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33864 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33865 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
33866 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33867 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33868 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33869 { (exit 1); exit 1; }; };;
33873 # If the user did not use the arguments to specify the items to instantiate,
33874 # then the envvar interface is used. Set only those that are not.
33875 # We use the long form for the default assignment because of an extremely
33876 # bizarre bug on SunOS 4.1.3.
33877 if $ac_need_defaults; then
33878 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33879 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33880 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33883 # Have a temporary directory for convenience. Make it in the build tree
33884 # simply because there is no reason to put it here, and in addition,
33885 # creating and moving files from /tmp can sometimes cause problems.
33886 # Create a temporary directory, and hook for its removal unless debugging.
33889 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33890 trap '{ (exit 1); exit 1; }' 1 2 13 15
33893 # Create a (secure) tmp directory for tmp files.
33896 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33897 test -n "$tmp" && test -d "$tmp"
33900 tmp=./confstat$$-$RANDOM
33901 (umask 077 && mkdir $tmp)
33904 echo "$me: cannot create a temporary directory in ." >&2
33905 { (exit 1); exit 1; }
33910 cat >>$CONFIG_STATUS <<_ACEOF
33913 # CONFIG_FILES section.
33916 # No need to generate the scripts if there are no CONFIG_FILES.
33917 # This happens for instance when ./config.status config.h
33918 if test -n "\$CONFIG_FILES"; then
33919 # Protect against being on the right side of a sed subst in config.status.
33920 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33921 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33922 s,@SHELL@,$SHELL,;t t
33923 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33924 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33925 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33926 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33927 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33928 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33929 s,@exec_prefix@,$exec_prefix,;t t
33930 s,@prefix@,$prefix,;t t
33931 s,@program_transform_name@,$program_transform_name,;t t
33932 s,@bindir@,$bindir,;t t
33933 s,@sbindir@,$sbindir,;t t
33934 s,@libexecdir@,$libexecdir,;t t
33935 s,@datadir@,$datadir,;t t
33936 s,@sysconfdir@,$sysconfdir,;t t
33937 s,@sharedstatedir@,$sharedstatedir,;t t
33938 s,@localstatedir@,$localstatedir,;t t
33939 s,@libdir@,$libdir,;t t
33940 s,@includedir@,$includedir,;t t
33941 s,@oldincludedir@,$oldincludedir,;t t
33942 s,@infodir@,$infodir,;t t
33943 s,@mandir@,$mandir,;t t
33944 s,@build_alias@,$build_alias,;t t
33945 s,@host_alias@,$host_alias,;t t
33946 s,@target_alias@,$target_alias,;t t
33947 s,@DEFS@,$DEFS,;t t
33948 s,@ECHO_C@,$ECHO_C,;t t
33949 s,@ECHO_N@,$ECHO_N,;t t
33950 s,@ECHO_T@,$ECHO_T,;t t
33951 s,@LIBS@,$LIBS,;t t
33952 s,@build@,$build,;t t
33953 s,@build_cpu@,$build_cpu,;t t
33954 s,@build_vendor@,$build_vendor,;t t
33955 s,@build_os@,$build_os,;t t
33956 s,@build_libsubdir@,$build_libsubdir,;t t
33957 s,@build_subdir@,$build_subdir,;t t
33958 s,@host_subdir@,$host_subdir,;t t
33959 s,@target_subdir@,$target_subdir,;t t
33960 s,@host@,$host,;t t
33961 s,@host_cpu@,$host_cpu,;t t
33962 s,@host_vendor@,$host_vendor,;t t
33963 s,@host_os@,$host_os,;t t
33964 s,@target@,$target,;t t
33965 s,@target_cpu@,$target_cpu,;t t
33966 s,@target_vendor@,$target_vendor,;t t
33967 s,@target_os@,$target_os,;t t
33968 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33969 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33970 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33971 s,@CYGPATH_W@,$CYGPATH_W,;t t
33972 s,@PACKAGE@,$PACKAGE,;t t
33973 s,@VERSION@,$VERSION,;t t
33974 s,@ACLOCAL@,$ACLOCAL,;t t
33975 s,@AUTOCONF@,$AUTOCONF,;t t
33976 s,@AUTOMAKE@,$AUTOMAKE,;t t
33977 s,@AUTOHEADER@,$AUTOHEADER,;t t
33978 s,@MAKEINFO@,$MAKEINFO,;t t
33979 s,@install_sh@,$install_sh,;t t
33980 s,@STRIP@,$STRIP,;t t
33981 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33982 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33983 s,@mkdir_p@,$mkdir_p,;t t
33985 s,@SET_MAKE@,$SET_MAKE,;t t
33986 s,@am__leading_dot@,$am__leading_dot,;t t
33987 s,@AMTAR@,$AMTAR,;t t
33988 s,@am__tar@,$am__tar,;t t
33989 s,@am__untar@,$am__untar,;t t
33990 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33991 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33992 s,@MAINT@,$MAINT,;t t
33993 s,@multi_basedir@,$multi_basedir,;t t
33994 s,@toolexecdir@,$toolexecdir,;t t
33995 s,@toolexeclibdir@,$toolexeclibdir,;t t
33997 s,@ac_ct_CC@,$ac_ct_CC,;t t
33998 s,@EXEEXT@,$EXEEXT,;t t
33999 s,@OBJEXT@,$OBJEXT,;t t
34000 s,@DEPDIR@,$DEPDIR,;t t
34001 s,@am__include@,$am__include,;t t
34002 s,@am__quote@,$am__quote,;t t
34003 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34004 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34005 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34006 s,@CCDEPMODE@,$CCDEPMODE,;t t
34007 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34008 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34009 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34010 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34011 s,@CFLAGS@,$CFLAGS,;t t
34012 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34013 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34015 s,@ac_ct_AS@,$ac_ct_AS,;t t
34017 s,@ac_ct_AR@,$ac_ct_AR,;t t
34018 s,@RANLIB@,$RANLIB,;t t
34019 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34020 s,@LIBTOOL@,$LIBTOOL,;t t
34022 s,@EGREP@,$EGREP,;t t
34023 s,@FGREP@,$FGREP,;t t
34024 s,@GREP@,$GREP,;t t
34026 s,@DUMPBIN@,$DUMPBIN,;t t
34027 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34029 s,@LN_S@,$LN_S,;t t
34030 s,@lt_ECHO@,$lt_ECHO,;t t
34032 s,@CPPFLAGS@,$CPPFLAGS,;t t
34033 s,@enable_shared@,$enable_shared,;t t
34034 s,@enable_static@,$enable_static,;t t
34036 s,@FCFLAGS@,$FCFLAGS,;t t
34037 s,@LDFLAGS@,$LDFLAGS,;t t
34038 s,@ac_ct_FC@,$ac_ct_FC,;t t
34039 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34040 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34041 s,@LIBOBJS@,$LIBOBJS,;t t
34042 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34047 cat >>$CONFIG_STATUS <<\_ACEOF
34048 # Split the substitutions into bite-sized pieces for seds with
34049 # small command number limits, like on Digital OSF/1 and HP-UX.
34050 ac_max_sed_lines=48
34051 ac_sed_frag=1 # Number of current file.
34052 ac_beg=1 # First line for current file.
34053 ac_end=$ac_max_sed_lines # Line after last line for current file.
34056 while $ac_more_lines; do
34057 if test $ac_beg -gt 1; then
34058 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34060 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34062 if test ! -s $tmp/subs.frag; then
34063 ac_more_lines=false
34065 # The purpose of the label and of the branching condition is to
34066 # speed up the sed processing (if there are no `@' at all, there
34067 # is no need to browse any of the substitutions).
34068 # These are the two extra sed commands mentioned above.
34070 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34071 if test -z "$ac_sed_cmds"; then
34072 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34074 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34076 ac_sed_frag=`expr $ac_sed_frag + 1`
34078 ac_end=`expr $ac_end + $ac_max_sed_lines`
34081 if test -z "$ac_sed_cmds"; then
34084 fi # test -n "$CONFIG_FILES"
34087 cat >>$CONFIG_STATUS <<\_ACEOF
34088 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34089 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34091 - | *:- | *:-:* ) # input from stdin
34093 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34094 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34095 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34096 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34097 * ) ac_file_in=$ac_file.in ;;
34100 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34101 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34102 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34103 X"$ac_file" : 'X\(//\)[^/]' \| \
34104 X"$ac_file" : 'X\(//\)$' \| \
34105 X"$ac_file" : 'X\(/\)' \| \
34106 . : '\(.\)' 2>/dev/null ||
34108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34110 /^X\(\/\/\)$/{ s//\1/; q; }
34111 /^X\(\/\).*/{ s//\1/; q; }
34113 { if $as_mkdir_p; then
34118 while test ! -d "$as_dir"; do
34119 as_dirs="$as_dir $as_dirs"
34120 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34121 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34122 X"$as_dir" : 'X\(//\)[^/]' \| \
34123 X"$as_dir" : 'X\(//\)$' \| \
34124 X"$as_dir" : 'X\(/\)' \| \
34125 . : '\(.\)' 2>/dev/null ||
34127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34128 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34129 /^X\(\/\/\)$/{ s//\1/; q; }
34130 /^X\(\/\).*/{ s//\1/; q; }
34133 test ! -n "$as_dirs" || mkdir $as_dirs
34134 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34135 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34136 { (exit 1); exit 1; }; }; }
34140 if test "$ac_dir" != .; then
34141 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34142 # A "../" for each directory in $ac_dir_suffix.
34143 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34145 ac_dir_suffix= ac_top_builddir=
34149 .) # No --srcdir option. We are building in place.
34151 if test -z "$ac_top_builddir"; then
34154 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34156 [\\/]* | ?:[\\/]* ) # Absolute path.
34157 ac_srcdir=$srcdir$ac_dir_suffix;
34158 ac_top_srcdir=$srcdir ;;
34159 *) # Relative path.
34160 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34161 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34164 # Do not use `cd foo && pwd` to compute absolute paths, because
34165 # the directories may not exist.
34167 .) ac_abs_builddir="$ac_dir";;
34170 .) ac_abs_builddir=`pwd`;;
34171 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34172 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34175 case $ac_abs_builddir in
34176 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34178 case ${ac_top_builddir}. in
34179 .) ac_abs_top_builddir=$ac_abs_builddir;;
34180 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34181 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34184 case $ac_abs_builddir in
34185 .) ac_abs_srcdir=$ac_srcdir;;
34188 .) ac_abs_srcdir=$ac_abs_builddir;;
34189 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34190 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34193 case $ac_abs_builddir in
34194 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34196 case $ac_top_srcdir in
34197 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34198 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34199 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34205 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34206 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34209 if test x"$ac_file" != x-; then
34210 { echo "$as_me:$LINENO: creating $ac_file" >&5
34211 echo "$as_me: creating $ac_file" >&6;}
34214 # Let's still pretend it is `configure' which instantiates (i.e., don't
34215 # use $as_me), people would be surprised to read:
34216 # /* config.h. Generated by config.status. */
34217 if test x"$ac_file" = x-; then
34220 configure_input="$ac_file. "
34222 configure_input=$configure_input"Generated from `echo $ac_file_in |
34223 sed 's,.*/,,'` by configure."
34225 # First look for the input files in the build tree, otherwise in the
34227 ac_file_inputs=`IFS=:
34228 for f in $ac_file_in; do
34230 -) echo $tmp/stdin ;;
34232 # Absolute (can't be DOS-style, as IFS=:)
34233 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34234 echo "$as_me: error: cannot find input file: $f" >&2;}
34235 { (exit 1); exit 1; }; }
34238 if test -f "$f"; then
34241 elif test -f "$srcdir/$f"; then
34246 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34247 echo "$as_me: error: cannot find input file: $f" >&2;}
34248 { (exit 1); exit 1; }; }
34251 done` || { (exit 1); exit 1; }
34253 cat >>$CONFIG_STATUS <<_ACEOF
34257 cat >>$CONFIG_STATUS <<\_ACEOF
34259 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34260 s,@configure_input@,$configure_input,;t t
34261 s,@srcdir@,$ac_srcdir,;t t
34262 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34263 s,@top_srcdir@,$ac_top_srcdir,;t t
34264 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34265 s,@builddir@,$ac_builddir,;t t
34266 s,@abs_builddir@,$ac_abs_builddir,;t t
34267 s,@top_builddir@,$ac_top_builddir,;t t
34268 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34269 s,@INSTALL@,$ac_INSTALL,;t t
34270 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34272 if test x"$ac_file" != x-; then
34273 mv $tmp/out $ac_file
34281 cat >>$CONFIG_STATUS <<\_ACEOF
34284 # CONFIG_HEADER section.
34287 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34288 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34290 # ac_d sets the value in "#define NAME VALUE" lines.
34291 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34292 ac_dB='[ ].*$,\1#\2'
34295 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34296 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34297 ac_uB='$,\1#\2define\3'
34301 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34302 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34304 - | *:- | *:-:* ) # input from stdin
34306 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34307 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34308 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34309 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34310 * ) ac_file_in=$ac_file.in ;;
34313 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34314 echo "$as_me: creating $ac_file" >&6;}
34316 # First look for the input files in the build tree, otherwise in the
34318 ac_file_inputs=`IFS=:
34319 for f in $ac_file_in; do
34321 -) echo $tmp/stdin ;;
34323 # Absolute (can't be DOS-style, as IFS=:)
34324 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34325 echo "$as_me: error: cannot find input file: $f" >&2;}
34326 { (exit 1); exit 1; }; }
34327 # Do quote $f, to prevent DOS paths from being IFS'd.
34330 if test -f "$f"; then
34333 elif test -f "$srcdir/$f"; then
34338 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34339 echo "$as_me: error: cannot find input file: $f" >&2;}
34340 { (exit 1); exit 1; }; }
34343 done` || { (exit 1); exit 1; }
34344 # Remove the trailing spaces.
34345 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34349 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34350 # `conftest.undefs', that substitutes the proper values into
34351 # config.h.in to produce config.h. The first handles `#define'
34352 # templates, and the second `#undef' templates.
34353 # And first: Protect against being on the right side of a sed subst in
34354 # config.status. Protect against being in an unquoted here document
34355 # in config.status.
34356 rm -f conftest.defines conftest.undefs
34357 # Using a here document instead of a string reduces the quoting nightmare.
34358 # Putting comments in sed scripts is not portable.
34360 # `end' is used to avoid that the second main sed command (meant for
34361 # 0-ary CPP macros) applies to n-ary macro definitions.
34362 # See the Autoconf documentation for `clear'.
34363 cat >confdef2sed.sed <<\_ACEOF
34368 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34370 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34373 # If some macros were called several times there might be several times
34374 # the same #defines, which is useless. Nevertheless, we may not want to
34375 # sort them, since we want the *last* AC-DEFINE to be honored.
34376 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34377 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34378 rm -f confdef2sed.sed
34380 # This sed command replaces #undef with comments. This is necessary, for
34381 # example, in the case of _POSIX_SOURCE, which is predefined and required
34382 # on some systems where configure will not decide to define it.
34383 cat >>conftest.undefs <<\_ACEOF
34384 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34387 # Break up conftest.defines because some shells have a limit on the size
34388 # of here documents, and old seds have small limits too (100 cmds).
34389 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34390 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34391 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34392 echo ' :' >>$CONFIG_STATUS
34393 rm -f conftest.tail
34394 while grep . conftest.defines >/dev/null
34396 # Write a limited-size here document to $tmp/defines.sed.
34397 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34398 # Speed up: don't consider the non `#define' lines.
34399 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34400 # Work around the forget-to-reset-the-flag bug.
34401 echo 't clr' >>$CONFIG_STATUS
34402 echo ': clr' >>$CONFIG_STATUS
34403 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34405 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34407 mv $tmp/out $tmp/in
34409 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34410 rm -f conftest.defines
34411 mv conftest.tail conftest.defines
34413 rm -f conftest.defines
34414 echo ' fi # grep' >>$CONFIG_STATUS
34415 echo >>$CONFIG_STATUS
34417 # Break up conftest.undefs because some shells have a limit on the size
34418 # of here documents, and old seds have small limits too (100 cmds).
34419 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34420 rm -f conftest.tail
34421 while grep . conftest.undefs >/dev/null
34423 # Write a limited-size here document to $tmp/undefs.sed.
34424 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34425 # Speed up: don't consider the non `#undef'
34426 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34427 # Work around the forget-to-reset-the-flag bug.
34428 echo 't clr' >>$CONFIG_STATUS
34429 echo ': clr' >>$CONFIG_STATUS
34430 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34432 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34434 mv $tmp/out $tmp/in
34436 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34437 rm -f conftest.undefs
34438 mv conftest.tail conftest.undefs
34440 rm -f conftest.undefs
34442 cat >>$CONFIG_STATUS <<\_ACEOF
34443 # Let's still pretend it is `configure' which instantiates (i.e., don't
34444 # use $as_me), people would be surprised to read:
34445 # /* config.h. Generated by config.status. */
34446 if test x"$ac_file" = x-; then
34447 echo "/* Generated by configure. */" >$tmp/config.h
34449 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34451 cat $tmp/in >>$tmp/config.h
34453 if test x"$ac_file" != x-; then
34454 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34455 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34456 echo "$as_me: $ac_file is unchanged" >&6;}
34458 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34459 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34460 X"$ac_file" : 'X\(//\)[^/]' \| \
34461 X"$ac_file" : 'X\(//\)$' \| \
34462 X"$ac_file" : 'X\(/\)' \| \
34463 . : '\(.\)' 2>/dev/null ||
34465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34466 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34467 /^X\(\/\/\)$/{ s//\1/; q; }
34468 /^X\(\/\).*/{ s//\1/; q; }
34470 { if $as_mkdir_p; then
34475 while test ! -d "$as_dir"; do
34476 as_dirs="$as_dir $as_dirs"
34477 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34478 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34479 X"$as_dir" : 'X\(//\)[^/]' \| \
34480 X"$as_dir" : 'X\(//\)$' \| \
34481 X"$as_dir" : 'X\(/\)' \| \
34482 . : '\(.\)' 2>/dev/null ||
34484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34486 /^X\(\/\/\)$/{ s//\1/; q; }
34487 /^X\(\/\).*/{ s//\1/; q; }
34490 test ! -n "$as_dirs" || mkdir $as_dirs
34491 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34492 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34493 { (exit 1); exit 1; }; }; }
34496 mv $tmp/config.h $ac_file
34500 rm -f $tmp/config.h
34502 # Compute $ac_file's index in $config_headers.
34504 for _am_header in $config_headers :; do
34505 case $_am_header in
34506 $ac_file | $ac_file:* )
34509 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34512 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34513 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34514 X$ac_file : 'X\(//\)[^/]' \| \
34515 X$ac_file : 'X\(//\)$' \| \
34516 X$ac_file : 'X\(/\)' \| \
34517 . : '\(.\)' 2>/dev/null ||
34519 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34520 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34521 /^X\(\/\/\)$/{ s//\1/; q; }
34522 /^X\(\/\).*/{ s//\1/; q; }
34523 s/.*/./; q'`/stamp-h$_am_stamp_count
34526 cat >>$CONFIG_STATUS <<\_ACEOF
34529 # CONFIG_COMMANDS section.
34531 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34532 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34533 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34534 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34535 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34536 X"$ac_dest" : 'X\(//\)[^/]' \| \
34537 X"$ac_dest" : 'X\(//\)$' \| \
34538 X"$ac_dest" : 'X\(/\)' \| \
34539 . : '\(.\)' 2>/dev/null ||
34541 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34542 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34543 /^X\(\/\/\)$/{ s//\1/; q; }
34544 /^X\(\/\).*/{ s//\1/; q; }
34546 { if $as_mkdir_p; then
34551 while test ! -d "$as_dir"; do
34552 as_dirs="$as_dir $as_dirs"
34553 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34554 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34555 X"$as_dir" : 'X\(//\)[^/]' \| \
34556 X"$as_dir" : 'X\(//\)$' \| \
34557 X"$as_dir" : 'X\(/\)' \| \
34558 . : '\(.\)' 2>/dev/null ||
34560 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34561 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34562 /^X\(\/\/\)$/{ s//\1/; q; }
34563 /^X\(\/\).*/{ s//\1/; q; }
34566 test ! -n "$as_dirs" || mkdir $as_dirs
34567 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34568 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34569 { (exit 1); exit 1; }; }; }
34573 if test "$ac_dir" != .; then
34574 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34575 # A "../" for each directory in $ac_dir_suffix.
34576 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34578 ac_dir_suffix= ac_top_builddir=
34582 .) # No --srcdir option. We are building in place.
34584 if test -z "$ac_top_builddir"; then
34587 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34589 [\\/]* | ?:[\\/]* ) # Absolute path.
34590 ac_srcdir=$srcdir$ac_dir_suffix;
34591 ac_top_srcdir=$srcdir ;;
34592 *) # Relative path.
34593 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34594 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34597 # Do not use `cd foo && pwd` to compute absolute paths, because
34598 # the directories may not exist.
34600 .) ac_abs_builddir="$ac_dir";;
34603 .) ac_abs_builddir=`pwd`;;
34604 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34605 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34608 case $ac_abs_builddir in
34609 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34611 case ${ac_top_builddir}. in
34612 .) ac_abs_top_builddir=$ac_abs_builddir;;
34613 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34614 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34617 case $ac_abs_builddir in
34618 .) ac_abs_srcdir=$ac_srcdir;;
34621 .) ac_abs_srcdir=$ac_abs_builddir;;
34622 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34623 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34626 case $ac_abs_builddir in
34627 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34629 case $ac_top_srcdir in
34630 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34631 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34632 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34637 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34638 echo "$as_me: executing $ac_dest commands" >&6;}
34641 # Only add multilib support code if we just rebuilt the top-level
34643 case " $CONFIG_FILES " in
34645 ac_file=Makefile . ${multi_basedir}/config-ml.in
34648 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34649 # Strip MF so we end up with the name of the file.
34650 mf=`echo "$mf" | sed -e 's/:.*$//'`
34651 # Check whether this is an Automake generated Makefile or not.
34652 # We used to match only the files named `Makefile.in', but
34653 # some people rename them; so instead we look at the file content.
34654 # Grep'ing the first line is not enough: some people post-process
34655 # each Makefile.in and add a new line on top of each file to say so.
34656 # So let's grep whole file.
34657 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34658 dirpart=`(dirname "$mf") 2>/dev/null ||
34659 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34660 X"$mf" : 'X\(//\)[^/]' \| \
34661 X"$mf" : 'X\(//\)$' \| \
34662 X"$mf" : 'X\(/\)' \| \
34663 . : '\(.\)' 2>/dev/null ||
34665 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34666 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34667 /^X\(\/\/\)$/{ s//\1/; q; }
34668 /^X\(\/\).*/{ s//\1/; q; }
34673 # Extract the definition of DEPDIR, am__include, and am__quote
34674 # from the Makefile without running `make'.
34675 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34676 test -z "$DEPDIR" && continue
34677 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34678 test -z "am__include" && continue
34679 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34680 # When using ansi2knr, U may be empty or an underscore; expand it
34681 U=`sed -n 's/^U = //p' < "$mf"`
34682 # Find all dependency output files, they are included files with
34683 # $(DEPDIR) in their names. We invoke sed twice because it is the
34684 # simplest approach to changing $(DEPDIR) to its actual value in the
34686 for file in `sed -n "
34687 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34688 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34689 # Make sure the directory exists.
34690 test -f "$dirpart/$file" && continue
34691 fdir=`(dirname "$file") 2>/dev/null ||
34692 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34693 X"$file" : 'X\(//\)[^/]' \| \
34694 X"$file" : 'X\(//\)$' \| \
34695 X"$file" : 'X\(/\)' \| \
34696 . : '\(.\)' 2>/dev/null ||
34698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34699 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34700 /^X\(\/\/\)$/{ s//\1/; q; }
34701 /^X\(\/\).*/{ s//\1/; q; }
34703 { if $as_mkdir_p; then
34704 mkdir -p $dirpart/$fdir
34706 as_dir=$dirpart/$fdir
34708 while test ! -d "$as_dir"; do
34709 as_dirs="$as_dir $as_dirs"
34710 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34711 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34712 X"$as_dir" : 'X\(//\)[^/]' \| \
34713 X"$as_dir" : 'X\(//\)$' \| \
34714 X"$as_dir" : 'X\(/\)' \| \
34715 . : '\(.\)' 2>/dev/null ||
34717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34719 /^X\(\/\/\)$/{ s//\1/; q; }
34720 /^X\(\/\).*/{ s//\1/; q; }
34723 test ! -n "$as_dirs" || mkdir $as_dirs
34724 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34725 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34726 { (exit 1); exit 1; }; }; }
34728 # echo "creating $dirpart/$file"
34729 echo '# dummy' > "$dirpart/$file"
34735 # See if we are running on zsh, and set the options which allow our
34736 # commands through without removal of \ escapes.
34737 if test -n "${ZSH_VERSION+set}" ; then
34738 setopt NO_GLOB_SUBST
34741 cfgfile="${ofile}T"
34742 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34745 cat <<_LT_EOF >> "$cfgfile"
34748 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34749 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
34750 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34751 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34753 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34754 # 2006, 2007 Free Software Foundation, Inc.
34756 # This file is part of GNU Libtool:
34757 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
34759 # This program is free software; you can redistribute it and/or modify
34760 # it under the terms of the GNU General Public License as published by
34761 # the Free Software Foundation; either version 2 of the License, or
34762 # (at your option) any later version.
34764 # This program is distributed in the hope that it will be useful, but
34765 # WITHOUT ANY WARRANTY; without even the implied warranty of
34766 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34767 # General Public License for more details.
34769 # You should have received a copy of the GNU General Public License
34770 # along with this program; if not, a copy can be downloaded from
34771 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
34772 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34773 # MA 02110-1301, USA.
34775 # As a special exception to the GNU General Public License, if you
34776 # distribute this file as part of a program that contains a
34777 # configuration script generated by Autoconf, you may include it under
34778 # the same distribution terms that you use for the rest of that program.
34781 # The names of the tagged configurations supported by this script.
34782 available_tags="FC "
34784 # ### BEGIN LIBTOOL CONFIG
34786 # Which release of libtool.m4 was used?
34787 macro_version=$macro_version
34788 macro_revision=$macro_revision
34790 # Whether or not to build shared libraries.
34791 build_libtool_libs=$enable_shared
34793 # Whether or not to build static libraries.
34794 build_old_libs=$enable_static
34796 # What type of objects to build.
34799 # Whether or not to optimize for fast installation.
34800 fast_install=$enable_fast_install
34803 host_alias=$host_alias
34807 # The build system.
34808 build_alias=$build_alias
34812 # A sed program that does not truncate output.
34815 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34816 Xsed="\$SED -e 1s/^X//"
34818 # A grep program that handles long lines.
34824 # A literal string matcher.
34827 # A BSD- or MS-compatible name lister.
34830 # Whether we need soft or hard links.
34833 # What is the maximum length of a command?
34834 max_cmd_len=$max_cmd_len
34836 # Object file suffix (normally "o").
34839 # Executable file suffix (normally "").
34842 # whether the shell understands "unset".
34845 # turn spaces into newlines.
34848 # turn newlines into spaces.
34851 # How to create reloadable object files.
34852 reload_flag=$lt_reload_flag
34853 reload_cmds=$lt_reload_cmds
34855 # Method to check whether dependent libraries are shared objects.
34856 deplibs_check_method=$lt_deplibs_check_method
34858 # Command to use when deplibs_check_method == "file_magic".
34859 file_magic_cmd=$lt_file_magic_cmd
34863 AR_FLAGS=$lt_AR_FLAGS
34865 # A symbol stripping program.
34868 # Commands used to install an old-style archive.
34870 old_postinstall_cmds=$lt_old_postinstall_cmds
34871 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34876 # LTCC compiler flags.
34877 LTCFLAGS=$lt_CFLAGS
34879 # Take the output of nm and produce a listing of raw symbols and C names.
34880 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34882 # Transform the output of nm in a proper C declaration.
34883 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34885 # Transform the output of nm in a C name address pair.
34886 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34888 # The name of the directory that contains temporary libtool files.
34891 # Shell to use when invoking shell scripts.
34894 # An echo program that does not interpret backslashes.
34897 # Used to examine libraries when file_magic_cmd begins with "file".
34898 MAGIC_CMD=$MAGIC_CMD
34900 # Must we lock files when doing compilation?
34901 need_locks=$lt_need_locks
34903 # Old archive suffix (normally "a").
34906 # Shared library suffix (normally ".so").
34907 shrext_cmds=$lt_shrext_cmds
34909 # The commands to extract the exported symbol list from a shared archive.
34910 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34912 # Variables whose values should be saved in libtool wrapper scripts and
34913 # restored at link time.
34914 variables_saved_for_relink=$lt_variables_saved_for_relink
34916 # Do we need the "lib" prefix for modules?
34917 need_lib_prefix=$need_lib_prefix
34919 # Do we need a version for libraries?
34920 need_version=$need_version
34922 # Library versioning type.
34923 version_type=$version_type
34925 # Shared library runtime path variable.
34926 runpath_var=$runpath_var
34928 # Shared library path variable.
34929 shlibpath_var=$shlibpath_var
34931 # Is shlibpath searched before the hard-coded library search path?
34932 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34934 # Format of library name prefix.
34935 libname_spec=$lt_libname_spec
34937 # List of archive names. First name is the real one, the rest are links.
34938 # The last name is the one that the linker finds with -lNAME
34939 library_names_spec=$lt_library_names_spec
34941 # The coded name of the library, if different from the real name.
34942 soname_spec=$lt_soname_spec
34944 # Command to use after installation of a shared archive.
34945 postinstall_cmds=$lt_postinstall_cmds
34947 # Command to use after uninstallation of a shared archive.
34948 postuninstall_cmds=$lt_postuninstall_cmds
34950 # Commands used to finish a libtool library installation in a directory.
34951 finish_cmds=$lt_finish_cmds
34953 # As "finish_cmds", except a single script fragment to be evaled but
34955 finish_eval=$lt_finish_eval
34957 # Whether we should hardcode library paths into libraries.
34958 hardcode_into_libs=$hardcode_into_libs
34960 # Compile-time system search path for libraries.
34961 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34963 # Run-time system search path for libraries.
34964 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34966 # Whether dlopen is supported.
34967 dlopen_support=$enable_dlopen
34969 # Whether dlopen of programs is supported.
34970 dlopen_self=$enable_dlopen_self
34972 # Whether dlopen of statically linked programs is supported.
34973 dlopen_self_static=$enable_dlopen_self_static
34975 # Commands to strip libraries.
34976 old_striplib=$lt_old_striplib
34977 striplib=$lt_striplib
34980 # The linker used to build libraries.
34983 # Commands used to build an old-style archive.
34984 old_archive_cmds=$lt_old_archive_cmds
34986 # A language specific compiler.
34989 # Is the compiler the GNU compiler?
34992 # Compiler flag to turn off builtin functions.
34993 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34995 # How to pass a linker flag through the compiler.
34996 wl=$lt_lt_prog_compiler_wl
34998 # Additional compiler flags for building library objects.
34999 pic_flag=$lt_lt_prog_compiler_pic
35001 # Compiler flag to prevent dynamic linking.
35002 link_static_flag=$lt_lt_prog_compiler_static
35004 # Does compiler simultaneously support -c and -o options?
35005 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35007 # Whether or not to add -lc for building shared libraries.
35008 build_libtool_need_lc=$archive_cmds_need_lc
35010 # Whether or not to disallow shared libs when runtime libs are static.
35011 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35013 # Compiler flag to allow reflexive dlopens.
35014 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35016 # Compiler flag to generate shared objects directly from archives.
35017 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35019 # Whether the compiler copes with passing no objects directly.
35020 compiler_needs_object=$lt_compiler_needs_object
35022 # Create an old-style archive from a shared archive.
35023 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35025 # Create a temporary old-style archive to link instead of a shared archive.
35026 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35028 # Commands used to build a shared archive.
35029 archive_cmds=$lt_archive_cmds
35030 archive_expsym_cmds=$lt_archive_expsym_cmds
35032 # Commands used to build a loadable module if different from building
35033 # a shared archive.
35034 module_cmds=$lt_module_cmds
35035 module_expsym_cmds=$lt_module_expsym_cmds
35037 # Whether we are building with GNU ld or not.
35038 with_gnu_ld=$lt_with_gnu_ld
35040 # Flag that allows shared libraries with undefined symbols to be built.
35041 allow_undefined_flag=$lt_allow_undefined_flag
35043 # Flag that enforces no undefined symbols.
35044 no_undefined_flag=$lt_no_undefined_flag
35046 # Flag to hardcode \$libdir into a binary during linking.
35047 # This must work even if \$libdir does not exist
35048 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35050 # If ld is used when linking, flag to hardcode \$libdir into a binary
35051 # during linking. This must work even if \$libdir does not exist.
35052 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35054 # Whether we need a single "-rpath" flag with a separated argument.
35055 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35057 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35058 # DIR into the resulting binary.
35059 hardcode_direct=$hardcode_direct
35061 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35062 # DIR into the resulting binary and the resulting library dependency is
35063 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35064 # library is relocated.
35065 hardcode_direct_absolute=$hardcode_direct_absolute
35067 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35068 # into the resulting binary.
35069 hardcode_minus_L=$hardcode_minus_L
35071 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35072 # into the resulting binary.
35073 hardcode_shlibpath_var=$hardcode_shlibpath_var
35075 # Set to "yes" if building a shared library automatically hardcodes DIR
35076 # into the library and all subsequent libraries and executables linked
35078 hardcode_automatic=$hardcode_automatic
35080 # Set to yes if linker adds runtime paths of dependent libraries
35081 # to runtime path list.
35082 inherit_rpath=$inherit_rpath
35084 # Whether libtool must link a program against all its dependency libraries.
35085 link_all_deplibs=$link_all_deplibs
35087 # Fix the shell variable \$srcfile for the compiler.
35088 fix_srcfile_path=$lt_fix_srcfile_path
35090 # Set to "yes" if exported symbols are required.
35091 always_export_symbols=$always_export_symbols
35093 # The commands to list exported symbols.
35094 export_symbols_cmds=$lt_export_symbols_cmds
35096 # Symbols that should not be listed in the preloaded symbols.
35097 exclude_expsyms=$lt_exclude_expsyms
35099 # Symbols that must always be exported.
35100 include_expsyms=$lt_include_expsyms
35102 # Commands necessary for linking programs (against libraries) with templates.
35103 prelink_cmds=$lt_prelink_cmds
35105 # Specify filename containing input files.
35106 file_list_spec=$lt_file_list_spec
35108 # How to hardcode a shared library path into an executable.
35109 hardcode_action=$hardcode_action
35111 # Dependencies to place before and after the objects being linked to
35112 # create a shared library.
35113 predep_objects=$lt_predep_objects
35114 postdep_objects=$lt_postdep_objects
35115 predeps=$lt_predeps
35116 postdeps=$lt_postdeps
35118 # The library search path used internally by the compiler when linking
35119 # a shared library.
35120 compiler_lib_search_path=$lt_compiler_lib_search_path
35122 # ### END LIBTOOL CONFIG
35128 cat <<\_LT_EOF >> "$cfgfile"
35129 # AIX sometimes has problems with the GCC collect2 program. For some
35130 # reason, if we set the COLLECT_NAMES environment variable, the problems
35131 # vanish in a puff of smoke.
35132 if test "X${COLLECT_NAMES+set}" != Xset; then
35134 export COLLECT_NAMES
35141 ltmain="$ac_aux_dir/ltmain.sh"
35144 # We use sed instead of cat because bash on DJGPP gets confused if
35145 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35146 # text mode, it properly converts lines to CR/LF. This bash problem
35147 # is reportedly fixed, but why not run on old versions too?
35148 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35149 || (rm -f "$cfgfile"; exit 1)
35153 cat << \_LT_EOF >> "$cfgfile"
35154 # func_dirname file append nondir_replacement
35155 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35156 # otherwise set result to NONDIR_REPLACEMENT.
35160 */*) func_dirname_result="${1%/*}${2}" ;;
35161 * ) func_dirname_result="${3}" ;;
35165 # func_basename file
35168 func_basename_result="${1##*/}"
35171 # func_stripname prefix suffix name
35172 # strip PREFIX and SUFFIX off of NAME.
35173 # PREFIX and SUFFIX must not contain globbing or regex special
35174 # characters, hashes, percent signs, but SUFFIX may contain a leading
35175 # dot (in which case that matches only a dot).
35178 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35179 # positional parameters, so assign one to ordinary parameter first.
35180 func_stripname_result=${3}
35181 func_stripname_result=${func_stripname_result#"${1}"}
35182 func_stripname_result=${func_stripname_result%"${2}"}
35188 func_opt_split_opt=${1%%=*}
35189 func_opt_split_arg=${1#*=}
35196 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35197 *) func_lo2o_result=${1} ;;
35202 *) # Bourne compatible functions.
35203 cat << \_LT_EOF >> "$cfgfile"
35204 # func_dirname file append nondir_replacement
35205 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35206 # otherwise set result to NONDIR_REPLACEMENT.
35209 # Extract subdirectory from the argument.
35210 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35211 if test "X$func_dirname_result" = "X${1}"; then
35212 func_dirname_result="${3}"
35214 func_dirname_result="$func_dirname_result${2}"
35218 # func_basename file
35221 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35224 # func_stripname prefix suffix name
35225 # strip PREFIX and SUFFIX off of NAME.
35226 # PREFIX and SUFFIX must not contain globbing or regex special
35227 # characters, hashes, percent signs, but SUFFIX may contain a leading
35228 # dot (in which case that matches only a dot).
35229 # func_strip_suffix prefix name
35233 .*) func_stripname_result=`$ECHO "X${3}" \
35234 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35235 *) func_stripname_result=`$ECHO "X${3}" \
35236 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35241 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35242 my_sed_long_arg='1s/^-[^=]*=//'
35247 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35248 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35254 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35259 case $lt_shell_append in
35261 cat << \_LT_EOF >> "$cfgfile"
35263 # func_append var value
35264 # Append VALUE to the end of shell variable VAR.
35272 cat << \_LT_EOF >> "$cfgfile"
35274 # func_append var value
35275 # Append VALUE to the end of shell variable VAR.
35285 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35286 || (rm -f "$cfgfile"; exit 1)
35288 mv -f "$cfgfile" "$ofile" ||
35289 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35293 cat <<_LT_EOF >> "$ofile"
35295 # ### BEGIN LIBTOOL TAG CONFIG: FC
35297 # The linker used to build libraries.
35300 # Commands used to build an old-style archive.
35301 old_archive_cmds=$lt_old_archive_cmds_FC
35303 # A language specific compiler.
35306 # Is the compiler the GNU compiler?
35309 # Compiler flag to turn off builtin functions.
35310 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35312 # How to pass a linker flag through the compiler.
35313 wl=$lt_lt_prog_compiler_wl_FC
35315 # Additional compiler flags for building library objects.
35316 pic_flag=$lt_lt_prog_compiler_pic_FC
35318 # Compiler flag to prevent dynamic linking.
35319 link_static_flag=$lt_lt_prog_compiler_static_FC
35321 # Does compiler simultaneously support -c and -o options?
35322 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35324 # Whether or not to add -lc for building shared libraries.
35325 build_libtool_need_lc=$archive_cmds_need_lc_FC
35327 # Whether or not to disallow shared libs when runtime libs are static.
35328 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35330 # Compiler flag to allow reflexive dlopens.
35331 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35333 # Compiler flag to generate shared objects directly from archives.
35334 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35336 # Whether the compiler copes with passing no objects directly.
35337 compiler_needs_object=$lt_compiler_needs_object_FC
35339 # Create an old-style archive from a shared archive.
35340 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35342 # Create a temporary old-style archive to link instead of a shared archive.
35343 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35345 # Commands used to build a shared archive.
35346 archive_cmds=$lt_archive_cmds_FC
35347 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35349 # Commands used to build a loadable module if different from building
35350 # a shared archive.
35351 module_cmds=$lt_module_cmds_FC
35352 module_expsym_cmds=$lt_module_expsym_cmds_FC
35354 # Whether we are building with GNU ld or not.
35355 with_gnu_ld=$lt_with_gnu_ld_FC
35357 # Flag that allows shared libraries with undefined symbols to be built.
35358 allow_undefined_flag=$lt_allow_undefined_flag_FC
35360 # Flag that enforces no undefined symbols.
35361 no_undefined_flag=$lt_no_undefined_flag_FC
35363 # Flag to hardcode \$libdir into a binary during linking.
35364 # This must work even if \$libdir does not exist
35365 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35367 # If ld is used when linking, flag to hardcode \$libdir into a binary
35368 # during linking. This must work even if \$libdir does not exist.
35369 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35371 # Whether we need a single "-rpath" flag with a separated argument.
35372 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35374 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35375 # DIR into the resulting binary.
35376 hardcode_direct=$hardcode_direct_FC
35378 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35379 # DIR into the resulting binary and the resulting library dependency is
35380 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35381 # library is relocated.
35382 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35384 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35385 # into the resulting binary.
35386 hardcode_minus_L=$hardcode_minus_L_FC
35388 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35389 # into the resulting binary.
35390 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35392 # Set to "yes" if building a shared library automatically hardcodes DIR
35393 # into the library and all subsequent libraries and executables linked
35395 hardcode_automatic=$hardcode_automatic_FC
35397 # Set to yes if linker adds runtime paths of dependent libraries
35398 # to runtime path list.
35399 inherit_rpath=$inherit_rpath_FC
35401 # Whether libtool must link a program against all its dependency libraries.
35402 link_all_deplibs=$link_all_deplibs_FC
35404 # Fix the shell variable \$srcfile for the compiler.
35405 fix_srcfile_path=$lt_fix_srcfile_path_FC
35407 # Set to "yes" if exported symbols are required.
35408 always_export_symbols=$always_export_symbols_FC
35410 # The commands to list exported symbols.
35411 export_symbols_cmds=$lt_export_symbols_cmds_FC
35413 # Symbols that should not be listed in the preloaded symbols.
35414 exclude_expsyms=$lt_exclude_expsyms_FC
35416 # Symbols that must always be exported.
35417 include_expsyms=$lt_include_expsyms_FC
35419 # Commands necessary for linking programs (against libraries) with templates.
35420 prelink_cmds=$lt_prelink_cmds_FC
35422 # Specify filename containing input files.
35423 file_list_spec=$lt_file_list_spec_FC
35425 # How to hardcode a shared library path into an executable.
35426 hardcode_action=$hardcode_action_FC
35428 # Dependencies to place before and after the objects being linked to
35429 # create a shared library.
35430 predep_objects=$lt_predep_objects_FC
35431 postdep_objects=$lt_postdep_objects_FC
35432 predeps=$lt_predeps_FC
35433 postdeps=$lt_postdeps_FC
35435 # The library search path used internally by the compiler when linking
35436 # a shared library.
35437 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35439 # ### END LIBTOOL TAG CONFIG: FC
35444 if test "$GCC" = yes; then
35445 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35447 echo "/* generated for $CC */" > tmp-stdint.h
35450 sed 's/^ *//' >> tmp-stdint.h <<EOF
35452 #ifndef GCC_GENERATED_STDINT_H
35453 #define GCC_GENERATED_STDINT_H 1
35455 #include <sys/types.h>
35458 if test "$acx_cv_header_stdint" != stdint.h; then
35459 echo "#include <stddef.h>" >> tmp-stdint.h
35461 if test "$acx_cv_header_stdint" != stddef.h; then
35462 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35465 sed 's/^ *//' >> tmp-stdint.h <<EOF
35466 /* glibc uses these symbols as guards to prevent redefinitions. */
35467 #ifdef __int8_t_defined
35472 #ifdef __uint32_t_defined
35478 # ----------------- done header, emit basic int types -------------
35479 if test "$acx_cv_header_stdint" = stddef.h; then
35480 sed 's/^ *//' >> tmp-stdint.h <<EOF
35484 #ifndef __uint8_t_defined
35485 #define __uint8_t_defined
35486 typedef unsigned $acx_cv_type_int8_t uint8_t;
35492 #ifndef __uint16_t_defined
35493 #define __uint16_t_defined
35494 typedef unsigned $acx_cv_type_int16_t uint16_t;
35500 #ifndef __uint32_t_defined
35501 #define __uint32_t_defined
35502 typedef unsigned $acx_cv_type_int32_t uint32_t;
35508 #ifndef __int8_t_defined
35509 #define __int8_t_defined
35510 typedef $acx_cv_type_int8_t int8_t;
35516 #ifndef __int16_t_defined
35517 #define __int16_t_defined
35518 typedef $acx_cv_type_int16_t int16_t;
35524 #ifndef __int32_t_defined
35525 #define __int32_t_defined
35526 typedef $acx_cv_type_int32_t int32_t;
35530 elif test "$ac_cv_type_u_int32_t" = yes; then
35531 sed 's/^ *//' >> tmp-stdint.h <<EOF
35533 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35546 #ifndef __uint8_t_defined
35547 #define __uint8_t_defined
35548 typedef u_int8_t uint8_t;
35554 #ifndef __uint16_t_defined
35555 #define __uint16_t_defined
35556 typedef u_int16_t uint16_t;
35562 #ifndef __uint32_t_defined
35563 #define __uint32_t_defined
35564 typedef u_int32_t uint32_t;
35569 sed 's/^ *//' >> tmp-stdint.h <<EOF
35571 /* Some systems have guard macros to prevent redefinitions, define them. */
35593 # ------------- done basic int types, emit int64_t types ------------
35594 if test "$ac_cv_type_uint64_t" = yes; then
35595 sed 's/^ *//' >> tmp-stdint.h <<EOF
35597 /* system headers have good uint64_t and int64_t */
35605 elif test "$ac_cv_type_u_int64_t" = yes; then
35606 sed 's/^ *//' >> tmp-stdint.h <<EOF
35608 /* system headers have an u_int64_t (and int64_t) */
35614 #ifndef __uint64_t_defined
35615 #define __uint64_t_defined
35616 typedef u_int64_t uint64_t;
35620 elif test -n "$acx_cv_type_int64_t"; then
35621 sed 's/^ *//' >> tmp-stdint.h <<EOF
35623 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
35626 typedef $acx_cv_type_int64_t int64_t;
35630 #ifndef __uint64_t_defined
35631 #define __uint64_t_defined
35632 typedef unsigned $acx_cv_type_int64_t uint64_t;
35637 sed 's/^ *//' >> tmp-stdint.h <<EOF
35639 /* some common heuristics for int64_t, using compiler-specific tests */
35640 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
35643 #ifndef __int64_t_defined
35644 typedef long long int64_t;
35649 typedef unsigned long long uint64_t;
35652 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
35653 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
35654 does not implement __extension__. But that compiler doesn't define
35656 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
35657 # define __extension__
35662 __extension__ typedef long long int64_t;
35666 __extension__ typedef unsigned long long uint64_t;
35669 #elif !defined __STRICT_ANSI__
35670 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35674 typedef __int64 int64_t;
35678 typedef unsigned __int64 uint64_t;
35680 # endif /* compiler */
35682 #endif /* ANSI version */
35686 # ------------- done int64_t types, emit intptr types ------------
35687 if test "$ac_cv_type_uintptr_t" != yes; then
35688 sed 's/^ *//' >> tmp-stdint.h <<EOF
35690 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
35691 #ifndef __uintptr_t_defined
35692 typedef u$acx_cv_type_intptr_t uintptr_t;
35694 #ifndef __intptr_t_defined
35695 typedef $acx_cv_type_intptr_t intptr_t;
35700 # ------------- done intptr types, emit int_least types ------------
35701 if test "$ac_cv_type_int_least32_t" != yes; then
35702 sed 's/^ *//' >> tmp-stdint.h <<EOF
35704 /* Define int_least types */
35705 typedef int8_t int_least8_t;
35706 typedef int16_t int_least16_t;
35707 typedef int32_t int_least32_t;
35709 typedef int64_t int_least64_t;
35712 typedef uint8_t uint_least8_t;
35713 typedef uint16_t uint_least16_t;
35714 typedef uint32_t uint_least32_t;
35716 typedef uint64_t uint_least64_t;
35721 # ------------- done intptr types, emit int_fast types ------------
35722 if test "$ac_cv_type_int_fast32_t" != yes; then
35723 sed 's/^ *//' >> tmp-stdint.h <<EOF
35725 /* Define int_fast types. short is often slow */
35726 typedef int8_t int_fast8_t;
35727 typedef int int_fast16_t;
35728 typedef int32_t int_fast32_t;
35730 typedef int64_t int_fast64_t;
35733 typedef uint8_t uint_fast8_t;
35734 typedef unsigned int uint_fast16_t;
35735 typedef uint32_t uint_fast32_t;
35737 typedef uint64_t uint_fast64_t;
35742 if test "$ac_cv_type_uintmax_t" != yes; then
35743 sed 's/^ *//' >> tmp-stdint.h <<EOF
35745 /* Define intmax based on what we found */
35747 typedef int64_t intmax_t;
35749 typedef long intmax_t;
35752 typedef uint64_t uintmax_t;
35754 typedef unsigned long uintmax_t;
35759 sed 's/^ *//' >> tmp-stdint.h <<EOF
35761 #endif /* GCC_GENERATED_STDINT_H */
35764 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
35767 mv -f tmp-stdint.h gstdint.h
35775 cat >>$CONFIG_STATUS <<\_ACEOF
35777 { (exit 0); exit 0; }
35779 chmod +x $CONFIG_STATUS
35780 ac_clean_files=$ac_clean_files_save
35783 # configure is writing to config.log, and then calls config.status.
35784 # config.status does its own redirection, appending to config.log.
35785 # Unfortunately, on DOS this fails, as config.log is still kept open
35786 # by configure, so config.status won't be able to write to it; its
35787 # output is simply discarded. So we exec the FD to /dev/null,
35788 # effectively closing config.log, so it can be properly (re)opened and
35789 # appended to by config.status. When coming back to configure, we
35790 # need to make the FD available again.
35791 if test "$no_create" != yes; then
35793 ac_config_status_args=
35794 test "$silent" = yes &&
35795 ac_config_status_args="$ac_config_status_args --quiet"
35797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35800 # would make configure fail if this is the last instruction.
35801 $ac_cs_success || { (exit 1); exit 1; }