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
18484 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf
18486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18487 echo "$as_me:$LINENO: checking for $ac_func" >&5
18488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18489 if eval "test \"\${$as_ac_var+set}\" = set"; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18492 if test x$gcc_no_link = xyes; then
18493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18495 { (exit 1); exit 1; }; }
18497 cat >conftest.$ac_ext <<_ACEOF
18500 cat confdefs.h >>conftest.$ac_ext
18501 cat >>conftest.$ac_ext <<_ACEOF
18502 /* end confdefs.h. */
18503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18505 #define $ac_func innocuous_$ac_func
18507 /* System header to define __stub macros and hopefully few prototypes,
18508 which can conflict with char $ac_func (); below.
18509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18510 <limits.h> exists even on freestanding compilers. */
18513 # include <limits.h>
18515 # include <assert.h>
18520 /* Override any gcc2 internal prototype to avoid an error. */
18525 /* We use char because int might match the return type of a gcc2
18526 builtin and then its argument prototype would still apply. */
18528 /* The GNU C library defines this for functions which it implements
18529 to always fail with ENOSYS. Some functions are actually named
18530 something starting with __ and the normal name is an alias. */
18531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18534 char (*f) () = $ac_func;
18543 return f != $ac_func;
18548 rm -f conftest.$ac_objext conftest$ac_exeext
18549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18550 (eval $ac_link) 2>conftest.er1
18552 grep -v '^ *+' conftest.er1 >conftest.err
18554 cat conftest.err >&5
18555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18556 (exit $ac_status); } &&
18557 { ac_try='test -z "$ac_c_werror_flag"
18558 || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try='test -s conftest$ac_exeext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 eval "$as_ac_var=yes"
18572 echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.$ac_ext >&5
18575 eval "$as_ac_var=no"
18577 rm -f conftest.err conftest.$ac_objext \
18578 conftest$ac_exeext conftest.$ac_ext
18580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18582 if test `eval echo '${'$as_ac_var'}'` = yes; then
18583 cat >>confdefs.h <<_ACEOF
18584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18591 # Check for glibc backtrace functions
18594 for ac_func in backtrace backtrace_symbols
18596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18597 echo "$as_me:$LINENO: checking for $ac_func" >&5
18598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18599 if eval "test \"\${$as_ac_var+set}\" = set"; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18602 if test x$gcc_no_link = xyes; then
18603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18605 { (exit 1); exit 1; }; }
18607 cat >conftest.$ac_ext <<_ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18615 #define $ac_func innocuous_$ac_func
18617 /* System header to define __stub macros and hopefully few prototypes,
18618 which can conflict with char $ac_func (); below.
18619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18620 <limits.h> exists even on freestanding compilers. */
18623 # include <limits.h>
18625 # include <assert.h>
18630 /* Override any gcc2 internal prototype to avoid an error. */
18635 /* We use char because int might match the return type of a gcc2
18636 builtin and then its argument prototype would still apply. */
18638 /* The GNU C library defines this for functions which it implements
18639 to always fail with ENOSYS. Some functions are actually named
18640 something starting with __ and the normal name is an alias. */
18641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18644 char (*f) () = $ac_func;
18653 return f != $ac_func;
18658 rm -f conftest.$ac_objext conftest$ac_exeext
18659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18660 (eval $ac_link) 2>conftest.er1
18662 grep -v '^ *+' conftest.er1 >conftest.err
18664 cat conftest.err >&5
18665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18666 (exit $ac_status); } &&
18667 { ac_try='test -z "$ac_c_werror_flag"
18668 || test ! -s conftest.err'
18669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18670 (eval $ac_try) 2>&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); }; } &&
18674 { ac_try='test -s conftest$ac_exeext'
18675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18676 (eval $ac_try) 2>&5
18678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18679 (exit $ac_status); }; }; then
18680 eval "$as_ac_var=yes"
18682 echo "$as_me: failed program was:" >&5
18683 sed 's/^/| /' conftest.$ac_ext >&5
18685 eval "$as_ac_var=no"
18687 rm -f conftest.err conftest.$ac_objext \
18688 conftest$ac_exeext conftest.$ac_ext
18690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18692 if test `eval echo '${'$as_ac_var'}'` = yes; then
18693 cat >>confdefs.h <<_ACEOF
18694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18702 echo "$as_me:$LINENO: checking for intptr_t" >&5
18703 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18704 if test "${ac_cv_type_intptr_t+set}" = set; then
18705 echo $ECHO_N "(cached) $ECHO_C" >&6
18707 cat >conftest.$ac_ext <<_ACEOF
18710 cat confdefs.h >>conftest.$ac_ext
18711 cat >>conftest.$ac_ext <<_ACEOF
18712 /* end confdefs.h. */
18713 $ac_includes_default
18717 if ((intptr_t *) 0)
18719 if (sizeof (intptr_t))
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18729 grep -v '^ *+' conftest.er1 >conftest.err
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_c_werror_flag"
18735 || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 ac_cv_type_intptr_t=yes
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 ac_cv_type_intptr_t=no
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18756 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18757 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18758 if test $ac_cv_type_intptr_t = yes; then
18760 cat >>confdefs.h <<_ACEOF
18761 #define HAVE_INTPTR_T 1
18768 # Check libc for getgid, getpid, getuid
18769 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18770 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18771 if test "${ac_cv_lib_c_getgid+set}" = set; then
18772 echo $ECHO_N "(cached) $ECHO_C" >&6
18774 ac_check_lib_save_LIBS=$LIBS
18776 if test x$gcc_no_link = xyes; then
18777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18779 { (exit 1); exit 1; }; }
18781 cat >conftest.$ac_ext <<_ACEOF
18784 cat confdefs.h >>conftest.$ac_ext
18785 cat >>conftest.$ac_ext <<_ACEOF
18786 /* end confdefs.h. */
18788 /* Override any gcc2 internal prototype to avoid an error. */
18792 /* We use char because int might match the return type of a gcc2
18793 builtin and then its argument prototype would still apply. */
18803 rm -f conftest.$ac_objext conftest$ac_exeext
18804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18805 (eval $ac_link) 2>conftest.er1
18807 grep -v '^ *+' conftest.er1 >conftest.err
18809 cat conftest.err >&5
18810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18811 (exit $ac_status); } &&
18812 { ac_try='test -z "$ac_c_werror_flag"
18813 || test ! -s conftest.err'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; } &&
18819 { ac_try='test -s conftest$ac_exeext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_lib_c_getgid=yes
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.$ac_ext >&5
18830 ac_cv_lib_c_getgid=no
18832 rm -f conftest.err conftest.$ac_objext \
18833 conftest$ac_exeext conftest.$ac_ext
18834 LIBS=$ac_check_lib_save_LIBS
18836 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
18837 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
18838 if test $ac_cv_lib_c_getgid = yes; then
18840 cat >>confdefs.h <<\_ACEOF
18841 #define HAVE_GETGID 1
18846 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
18847 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
18848 if test "${ac_cv_lib_c_getpid+set}" = set; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 ac_check_lib_save_LIBS=$LIBS
18853 if test x$gcc_no_link = xyes; then
18854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18856 { (exit 1); exit 1; }; }
18858 cat >conftest.$ac_ext <<_ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18865 /* Override any gcc2 internal prototype to avoid an error. */
18869 /* We use char because int might match the return type of a gcc2
18870 builtin and then its argument prototype would still apply. */
18880 rm -f conftest.$ac_objext conftest$ac_exeext
18881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18882 (eval $ac_link) 2>conftest.er1
18884 grep -v '^ *+' conftest.er1 >conftest.err
18886 cat conftest.err >&5
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); } &&
18889 { ac_try='test -z "$ac_c_werror_flag"
18890 || test ! -s conftest.err'
18891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18892 (eval $ac_try) 2>&5
18894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18895 (exit $ac_status); }; } &&
18896 { ac_try='test -s conftest$ac_exeext'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; }; then
18902 ac_cv_lib_c_getpid=yes
18904 echo "$as_me: failed program was:" >&5
18905 sed 's/^/| /' conftest.$ac_ext >&5
18907 ac_cv_lib_c_getpid=no
18909 rm -f conftest.err conftest.$ac_objext \
18910 conftest$ac_exeext conftest.$ac_ext
18911 LIBS=$ac_check_lib_save_LIBS
18913 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
18914 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
18915 if test $ac_cv_lib_c_getpid = yes; then
18917 cat >>confdefs.h <<\_ACEOF
18918 #define HAVE_GETPID 1
18923 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
18924 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
18925 if test "${ac_cv_lib_c_getppid+set}" = set; then
18926 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 ac_check_lib_save_LIBS=$LIBS
18930 if test x$gcc_no_link = xyes; then
18931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18933 { (exit 1); exit 1; }; }
18935 cat >conftest.$ac_ext <<_ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18942 /* Override any gcc2 internal prototype to avoid an error. */
18946 /* We use char because int might match the return type of a gcc2
18947 builtin and then its argument prototype would still apply. */
18957 rm -f conftest.$ac_objext conftest$ac_exeext
18958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18959 (eval $ac_link) 2>conftest.er1
18961 grep -v '^ *+' conftest.er1 >conftest.err
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } &&
18966 { ac_try='test -z "$ac_c_werror_flag"
18967 || test ! -s conftest.err'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; } &&
18973 { ac_try='test -s conftest$ac_exeext'
18974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18975 (eval $ac_try) 2>&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); }; }; then
18979 ac_cv_lib_c_getppid=yes
18981 echo "$as_me: failed program was:" >&5
18982 sed 's/^/| /' conftest.$ac_ext >&5
18984 ac_cv_lib_c_getppid=no
18986 rm -f conftest.err conftest.$ac_objext \
18987 conftest$ac_exeext conftest.$ac_ext
18988 LIBS=$ac_check_lib_save_LIBS
18990 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
18991 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
18992 if test $ac_cv_lib_c_getppid = yes; then
18994 cat >>confdefs.h <<\_ACEOF
18995 #define HAVE_GETPPID 1
19000 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19001 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19002 if test "${ac_cv_lib_c_getuid+set}" = set; then
19003 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 ac_check_lib_save_LIBS=$LIBS
19007 if test x$gcc_no_link = xyes; then
19008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19010 { (exit 1); exit 1; }; }
19012 cat >conftest.$ac_ext <<_ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19019 /* Override any gcc2 internal prototype to avoid an error. */
19023 /* We use char because int might match the return type of a gcc2
19024 builtin and then its argument prototype would still apply. */
19034 rm -f conftest.$ac_objext conftest$ac_exeext
19035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19036 (eval $ac_link) 2>conftest.er1
19038 grep -v '^ *+' conftest.er1 >conftest.err
19040 cat conftest.err >&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } &&
19043 { ac_try='test -z "$ac_c_werror_flag"
19044 || test ! -s conftest.err'
19045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19046 (eval $ac_try) 2>&5
19048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19049 (exit $ac_status); }; } &&
19050 { ac_try='test -s conftest$ac_exeext'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; }; then
19056 ac_cv_lib_c_getuid=yes
19058 echo "$as_me: failed program was:" >&5
19059 sed 's/^/| /' conftest.$ac_ext >&5
19061 ac_cv_lib_c_getuid=no
19063 rm -f conftest.err conftest.$ac_objext \
19064 conftest$ac_exeext conftest.$ac_ext
19065 LIBS=$ac_check_lib_save_LIBS
19067 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19068 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19069 if test $ac_cv_lib_c_getuid = yes; then
19071 cat >>confdefs.h <<\_ACEOF
19072 #define HAVE_GETUID 1
19077 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19078 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19079 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19080 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 ac_check_lib_save_LIBS=$LIBS
19084 if test x$gcc_no_link = xyes; then
19085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19087 { (exit 1); exit 1; }; }
19089 cat >conftest.$ac_ext <<_ACEOF
19092 cat confdefs.h >>conftest.$ac_ext
19093 cat >>conftest.$ac_ext <<_ACEOF
19094 /* end confdefs.h. */
19096 /* Override any gcc2 internal prototype to avoid an error. */
19100 /* We use char because int might match the return type of a gcc2
19101 builtin and then its argument prototype would still apply. */
19111 rm -f conftest.$ac_objext conftest$ac_exeext
19112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19113 (eval $ac_link) 2>conftest.er1
19115 grep -v '^ *+' conftest.er1 >conftest.err
19117 cat conftest.err >&5
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); } &&
19120 { ac_try='test -z "$ac_c_werror_flag"
19121 || test ! -s conftest.err'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; } &&
19127 { ac_try='test -s conftest$ac_exeext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_cv_lib_c_geteuid=yes
19135 echo "$as_me: failed program was:" >&5
19136 sed 's/^/| /' conftest.$ac_ext >&5
19138 ac_cv_lib_c_geteuid=no
19140 rm -f conftest.err conftest.$ac_objext \
19141 conftest$ac_exeext conftest.$ac_ext
19142 LIBS=$ac_check_lib_save_LIBS
19144 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19145 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19146 if test $ac_cv_lib_c_geteuid = yes; then
19148 cat >>confdefs.h <<\_ACEOF
19149 #define HAVE_GETEUID 1
19155 # Check for C99 (and other IEEE) math functions
19156 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19157 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19158 if test "${ac_cv_lib_m_acosf+set}" = set; then
19159 echo $ECHO_N "(cached) $ECHO_C" >&6
19161 ac_check_lib_save_LIBS=$LIBS
19163 if test x$gcc_no_link = xyes; then
19164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19166 { (exit 1); exit 1; }; }
19168 cat >conftest.$ac_ext <<_ACEOF
19171 cat confdefs.h >>conftest.$ac_ext
19172 cat >>conftest.$ac_ext <<_ACEOF
19173 /* end confdefs.h. */
19175 /* Override any gcc2 internal prototype to avoid an error. */
19179 /* We use char because int might match the return type of a gcc2
19180 builtin and then its argument prototype would still apply. */
19190 rm -f conftest.$ac_objext conftest$ac_exeext
19191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19192 (eval $ac_link) 2>conftest.er1
19194 grep -v '^ *+' conftest.er1 >conftest.err
19196 cat conftest.err >&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -z "$ac_c_werror_flag"
19200 || test ! -s conftest.err'
19201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19202 (eval $ac_try) 2>&5
19204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19205 (exit $ac_status); }; } &&
19206 { ac_try='test -s conftest$ac_exeext'
19207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19208 (eval $ac_try) 2>&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); }; }; then
19212 ac_cv_lib_m_acosf=yes
19214 echo "$as_me: failed program was:" >&5
19215 sed 's/^/| /' conftest.$ac_ext >&5
19217 ac_cv_lib_m_acosf=no
19219 rm -f conftest.err conftest.$ac_objext \
19220 conftest$ac_exeext conftest.$ac_ext
19221 LIBS=$ac_check_lib_save_LIBS
19223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19224 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19225 if test $ac_cv_lib_m_acosf = yes; then
19227 cat >>confdefs.h <<\_ACEOF
19228 #define HAVE_ACOSF 1
19233 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19234 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19235 if test "${ac_cv_lib_m_acos+set}" = set; then
19236 echo $ECHO_N "(cached) $ECHO_C" >&6
19238 ac_check_lib_save_LIBS=$LIBS
19240 if test x$gcc_no_link = xyes; then
19241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19243 { (exit 1); exit 1; }; }
19245 cat >conftest.$ac_ext <<_ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19252 /* Override any gcc2 internal prototype to avoid an error. */
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19267 rm -f conftest.$ac_objext conftest$ac_exeext
19268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19269 (eval $ac_link) 2>conftest.er1
19271 grep -v '^ *+' conftest.er1 >conftest.err
19273 cat conftest.err >&5
19274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19275 (exit $ac_status); } &&
19276 { ac_try='test -z "$ac_c_werror_flag"
19277 || test ! -s conftest.err'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; } &&
19283 { ac_try='test -s conftest$ac_exeext'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; }; then
19289 ac_cv_lib_m_acos=yes
19291 echo "$as_me: failed program was:" >&5
19292 sed 's/^/| /' conftest.$ac_ext >&5
19294 ac_cv_lib_m_acos=no
19296 rm -f conftest.err conftest.$ac_objext \
19297 conftest$ac_exeext conftest.$ac_ext
19298 LIBS=$ac_check_lib_save_LIBS
19300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19301 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19302 if test $ac_cv_lib_m_acos = yes; then
19304 cat >>confdefs.h <<\_ACEOF
19305 #define HAVE_ACOS 1
19310 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19311 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19312 if test "${ac_cv_lib_m_acosl+set}" = set; then
19313 echo $ECHO_N "(cached) $ECHO_C" >&6
19315 ac_check_lib_save_LIBS=$LIBS
19317 if test x$gcc_no_link = xyes; then
19318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19320 { (exit 1); exit 1; }; }
19322 cat >conftest.$ac_ext <<_ACEOF
19325 cat confdefs.h >>conftest.$ac_ext
19326 cat >>conftest.$ac_ext <<_ACEOF
19327 /* end confdefs.h. */
19329 /* Override any gcc2 internal prototype to avoid an error. */
19333 /* We use char because int might match the return type of a gcc2
19334 builtin and then its argument prototype would still apply. */
19344 rm -f conftest.$ac_objext conftest$ac_exeext
19345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19346 (eval $ac_link) 2>conftest.er1
19348 grep -v '^ *+' conftest.er1 >conftest.err
19350 cat conftest.err >&5
19351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19352 (exit $ac_status); } &&
19353 { ac_try='test -z "$ac_c_werror_flag"
19354 || test ! -s conftest.err'
19355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19356 (eval $ac_try) 2>&5
19358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19359 (exit $ac_status); }; } &&
19360 { ac_try='test -s conftest$ac_exeext'
19361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19362 (eval $ac_try) 2>&5
19364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19365 (exit $ac_status); }; }; then
19366 ac_cv_lib_m_acosl=yes
19368 echo "$as_me: failed program was:" >&5
19369 sed 's/^/| /' conftest.$ac_ext >&5
19371 ac_cv_lib_m_acosl=no
19373 rm -f conftest.err conftest.$ac_objext \
19374 conftest$ac_exeext conftest.$ac_ext
19375 LIBS=$ac_check_lib_save_LIBS
19377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19378 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19379 if test $ac_cv_lib_m_acosl = yes; then
19381 cat >>confdefs.h <<\_ACEOF
19382 #define HAVE_ACOSL 1
19387 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19388 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19389 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19390 echo $ECHO_N "(cached) $ECHO_C" >&6
19392 ac_check_lib_save_LIBS=$LIBS
19394 if test x$gcc_no_link = xyes; then
19395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19397 { (exit 1); exit 1; }; }
19399 cat >conftest.$ac_ext <<_ACEOF
19402 cat confdefs.h >>conftest.$ac_ext
19403 cat >>conftest.$ac_ext <<_ACEOF
19404 /* end confdefs.h. */
19406 /* Override any gcc2 internal prototype to avoid an error. */
19410 /* We use char because int might match the return type of a gcc2
19411 builtin and then its argument prototype would still apply. */
19421 rm -f conftest.$ac_objext conftest$ac_exeext
19422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19423 (eval $ac_link) 2>conftest.er1
19425 grep -v '^ *+' conftest.er1 >conftest.err
19427 cat conftest.err >&5
19428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19429 (exit $ac_status); } &&
19430 { ac_try='test -z "$ac_c_werror_flag"
19431 || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try='test -s conftest$ac_exeext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_cv_lib_m_acoshf=yes
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19448 ac_cv_lib_m_acoshf=no
19450 rm -f conftest.err conftest.$ac_objext \
19451 conftest$ac_exeext conftest.$ac_ext
19452 LIBS=$ac_check_lib_save_LIBS
19454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19455 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19456 if test $ac_cv_lib_m_acoshf = yes; then
19458 cat >>confdefs.h <<\_ACEOF
19459 #define HAVE_ACOSHF 1
19464 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19465 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19466 if test "${ac_cv_lib_m_acosh+set}" = set; then
19467 echo $ECHO_N "(cached) $ECHO_C" >&6
19469 ac_check_lib_save_LIBS=$LIBS
19471 if test x$gcc_no_link = xyes; then
19472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19474 { (exit 1); exit 1; }; }
19476 cat >conftest.$ac_ext <<_ACEOF
19479 cat confdefs.h >>conftest.$ac_ext
19480 cat >>conftest.$ac_ext <<_ACEOF
19481 /* end confdefs.h. */
19483 /* Override any gcc2 internal prototype to avoid an error. */
19487 /* We use char because int might match the return type of a gcc2
19488 builtin and then its argument prototype would still apply. */
19498 rm -f conftest.$ac_objext conftest$ac_exeext
19499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19500 (eval $ac_link) 2>conftest.er1
19502 grep -v '^ *+' conftest.er1 >conftest.err
19504 cat conftest.err >&5
19505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19506 (exit $ac_status); } &&
19507 { ac_try='test -z "$ac_c_werror_flag"
19508 || test ! -s conftest.err'
19509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19510 (eval $ac_try) 2>&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); }; } &&
19514 { ac_try='test -s conftest$ac_exeext'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; }; then
19520 ac_cv_lib_m_acosh=yes
19522 echo "$as_me: failed program was:" >&5
19523 sed 's/^/| /' conftest.$ac_ext >&5
19525 ac_cv_lib_m_acosh=no
19527 rm -f conftest.err conftest.$ac_objext \
19528 conftest$ac_exeext conftest.$ac_ext
19529 LIBS=$ac_check_lib_save_LIBS
19531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19532 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19533 if test $ac_cv_lib_m_acosh = yes; then
19535 cat >>confdefs.h <<\_ACEOF
19536 #define HAVE_ACOSH 1
19541 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19542 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19543 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19544 echo $ECHO_N "(cached) $ECHO_C" >&6
19546 ac_check_lib_save_LIBS=$LIBS
19548 if test x$gcc_no_link = xyes; then
19549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19551 { (exit 1); exit 1; }; }
19553 cat >conftest.$ac_ext <<_ACEOF
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19560 /* Override any gcc2 internal prototype to avoid an error. */
19564 /* We use char because int might match the return type of a gcc2
19565 builtin and then its argument prototype would still apply. */
19575 rm -f conftest.$ac_objext conftest$ac_exeext
19576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19577 (eval $ac_link) 2>conftest.er1
19579 grep -v '^ *+' conftest.er1 >conftest.err
19581 cat conftest.err >&5
19582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19583 (exit $ac_status); } &&
19584 { ac_try='test -z "$ac_c_werror_flag"
19585 || test ! -s conftest.err'
19586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19587 (eval $ac_try) 2>&5
19589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19590 (exit $ac_status); }; } &&
19591 { ac_try='test -s conftest$ac_exeext'
19592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19593 (eval $ac_try) 2>&5
19595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19596 (exit $ac_status); }; }; then
19597 ac_cv_lib_m_acoshl=yes
19599 echo "$as_me: failed program was:" >&5
19600 sed 's/^/| /' conftest.$ac_ext >&5
19602 ac_cv_lib_m_acoshl=no
19604 rm -f conftest.err conftest.$ac_objext \
19605 conftest$ac_exeext conftest.$ac_ext
19606 LIBS=$ac_check_lib_save_LIBS
19608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19609 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19610 if test $ac_cv_lib_m_acoshl = yes; then
19612 cat >>confdefs.h <<\_ACEOF
19613 #define HAVE_ACOSHL 1
19618 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19619 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19620 if test "${ac_cv_lib_m_asinf+set}" = set; then
19621 echo $ECHO_N "(cached) $ECHO_C" >&6
19623 ac_check_lib_save_LIBS=$LIBS
19625 if test x$gcc_no_link = xyes; then
19626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19628 { (exit 1); exit 1; }; }
19630 cat >conftest.$ac_ext <<_ACEOF
19633 cat confdefs.h >>conftest.$ac_ext
19634 cat >>conftest.$ac_ext <<_ACEOF
19635 /* end confdefs.h. */
19637 /* Override any gcc2 internal prototype to avoid an error. */
19641 /* We use char because int might match the return type of a gcc2
19642 builtin and then its argument prototype would still apply. */
19652 rm -f conftest.$ac_objext conftest$ac_exeext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19654 (eval $ac_link) 2>conftest.er1
19656 grep -v '^ *+' conftest.er1 >conftest.err
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try='test -z "$ac_c_werror_flag"
19662 || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try='test -s conftest$ac_exeext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 ac_cv_lib_m_asinf=yes
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19679 ac_cv_lib_m_asinf=no
19681 rm -f conftest.err conftest.$ac_objext \
19682 conftest$ac_exeext conftest.$ac_ext
19683 LIBS=$ac_check_lib_save_LIBS
19685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19686 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19687 if test $ac_cv_lib_m_asinf = yes; then
19689 cat >>confdefs.h <<\_ACEOF
19690 #define HAVE_ASINF 1
19695 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19696 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19697 if test "${ac_cv_lib_m_asin+set}" = set; then
19698 echo $ECHO_N "(cached) $ECHO_C" >&6
19700 ac_check_lib_save_LIBS=$LIBS
19702 if test x$gcc_no_link = xyes; then
19703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19705 { (exit 1); exit 1; }; }
19707 cat >conftest.$ac_ext <<_ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19714 /* Override any gcc2 internal prototype to avoid an error. */
19718 /* We use char because int might match the return type of a gcc2
19719 builtin and then its argument prototype would still apply. */
19729 rm -f conftest.$ac_objext conftest$ac_exeext
19730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19731 (eval $ac_link) 2>conftest.er1
19733 grep -v '^ *+' conftest.er1 >conftest.err
19735 cat conftest.err >&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); } &&
19738 { ac_try='test -z "$ac_c_werror_flag"
19739 || test ! -s conftest.err'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; } &&
19745 { ac_try='test -s conftest$ac_exeext'
19746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19747 (eval $ac_try) 2>&5
19749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19750 (exit $ac_status); }; }; then
19751 ac_cv_lib_m_asin=yes
19753 echo "$as_me: failed program was:" >&5
19754 sed 's/^/| /' conftest.$ac_ext >&5
19756 ac_cv_lib_m_asin=no
19758 rm -f conftest.err conftest.$ac_objext \
19759 conftest$ac_exeext conftest.$ac_ext
19760 LIBS=$ac_check_lib_save_LIBS
19762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19763 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19764 if test $ac_cv_lib_m_asin = yes; then
19766 cat >>confdefs.h <<\_ACEOF
19767 #define HAVE_ASIN 1
19772 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19773 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19774 if test "${ac_cv_lib_m_asinl+set}" = set; then
19775 echo $ECHO_N "(cached) $ECHO_C" >&6
19777 ac_check_lib_save_LIBS=$LIBS
19779 if test x$gcc_no_link = xyes; then
19780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19782 { (exit 1); exit 1; }; }
19784 cat >conftest.$ac_ext <<_ACEOF
19787 cat confdefs.h >>conftest.$ac_ext
19788 cat >>conftest.$ac_ext <<_ACEOF
19789 /* end confdefs.h. */
19791 /* Override any gcc2 internal prototype to avoid an error. */
19795 /* We use char because int might match the return type of a gcc2
19796 builtin and then its argument prototype would still apply. */
19806 rm -f conftest.$ac_objext conftest$ac_exeext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19808 (eval $ac_link) 2>conftest.er1
19810 grep -v '^ *+' conftest.er1 >conftest.err
19812 cat conftest.err >&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); } &&
19815 { ac_try='test -z "$ac_c_werror_flag"
19816 || test ! -s conftest.err'
19817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); }; } &&
19822 { ac_try='test -s conftest$ac_exeext'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; }; then
19828 ac_cv_lib_m_asinl=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_cv_lib_m_asinl=no
19835 rm -f conftest.err conftest.$ac_objext \
19836 conftest$ac_exeext conftest.$ac_ext
19837 LIBS=$ac_check_lib_save_LIBS
19839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
19840 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
19841 if test $ac_cv_lib_m_asinl = yes; then
19843 cat >>confdefs.h <<\_ACEOF
19844 #define HAVE_ASINL 1
19849 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
19850 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
19851 if test "${ac_cv_lib_m_asinhf+set}" = set; then
19852 echo $ECHO_N "(cached) $ECHO_C" >&6
19854 ac_check_lib_save_LIBS=$LIBS
19856 if test x$gcc_no_link = xyes; then
19857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19859 { (exit 1); exit 1; }; }
19861 cat >conftest.$ac_ext <<_ACEOF
19864 cat confdefs.h >>conftest.$ac_ext
19865 cat >>conftest.$ac_ext <<_ACEOF
19866 /* end confdefs.h. */
19868 /* Override any gcc2 internal prototype to avoid an error. */
19872 /* We use char because int might match the return type of a gcc2
19873 builtin and then its argument prototype would still apply. */
19883 rm -f conftest.$ac_objext conftest$ac_exeext
19884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19885 (eval $ac_link) 2>conftest.er1
19887 grep -v '^ *+' conftest.er1 >conftest.err
19889 cat conftest.err >&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); } &&
19892 { ac_try='test -z "$ac_c_werror_flag"
19893 || test ! -s conftest.err'
19894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19895 (eval $ac_try) 2>&5
19897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19898 (exit $ac_status); }; } &&
19899 { ac_try='test -s conftest$ac_exeext'
19900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19901 (eval $ac_try) 2>&5
19903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904 (exit $ac_status); }; }; then
19905 ac_cv_lib_m_asinhf=yes
19907 echo "$as_me: failed program was:" >&5
19908 sed 's/^/| /' conftest.$ac_ext >&5
19910 ac_cv_lib_m_asinhf=no
19912 rm -f conftest.err conftest.$ac_objext \
19913 conftest$ac_exeext conftest.$ac_ext
19914 LIBS=$ac_check_lib_save_LIBS
19916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
19917 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
19918 if test $ac_cv_lib_m_asinhf = yes; then
19920 cat >>confdefs.h <<\_ACEOF
19921 #define HAVE_ASINHF 1
19926 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
19927 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
19928 if test "${ac_cv_lib_m_asinh+set}" = set; then
19929 echo $ECHO_N "(cached) $ECHO_C" >&6
19931 ac_check_lib_save_LIBS=$LIBS
19933 if test x$gcc_no_link = xyes; then
19934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19936 { (exit 1); exit 1; }; }
19938 cat >conftest.$ac_ext <<_ACEOF
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19945 /* Override any gcc2 internal prototype to avoid an error. */
19949 /* We use char because int might match the return type of a gcc2
19950 builtin and then its argument prototype would still apply. */
19960 rm -f conftest.$ac_objext conftest$ac_exeext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19962 (eval $ac_link) 2>conftest.er1
19964 grep -v '^ *+' conftest.er1 >conftest.err
19966 cat conftest.err >&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); } &&
19969 { ac_try='test -z "$ac_c_werror_flag"
19970 || test ! -s conftest.err'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; } &&
19976 { ac_try='test -s conftest$ac_exeext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 ac_cv_lib_m_asinh=yes
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 ac_cv_lib_m_asinh=no
19989 rm -f conftest.err conftest.$ac_objext \
19990 conftest$ac_exeext conftest.$ac_ext
19991 LIBS=$ac_check_lib_save_LIBS
19993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
19994 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
19995 if test $ac_cv_lib_m_asinh = yes; then
19997 cat >>confdefs.h <<\_ACEOF
19998 #define HAVE_ASINH 1
20003 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20004 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20005 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20006 echo $ECHO_N "(cached) $ECHO_C" >&6
20008 ac_check_lib_save_LIBS=$LIBS
20010 if test x$gcc_no_link = xyes; then
20011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20013 { (exit 1); exit 1; }; }
20015 cat >conftest.$ac_ext <<_ACEOF
20018 cat confdefs.h >>conftest.$ac_ext
20019 cat >>conftest.$ac_ext <<_ACEOF
20020 /* end confdefs.h. */
20022 /* Override any gcc2 internal prototype to avoid an error. */
20026 /* We use char because int might match the return type of a gcc2
20027 builtin and then its argument prototype would still apply. */
20037 rm -f conftest.$ac_objext conftest$ac_exeext
20038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20039 (eval $ac_link) 2>conftest.er1
20041 grep -v '^ *+' conftest.er1 >conftest.err
20043 cat conftest.err >&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); } &&
20046 { ac_try='test -z "$ac_c_werror_flag"
20047 || test ! -s conftest.err'
20048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20049 (eval $ac_try) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); }; } &&
20053 { ac_try='test -s conftest$ac_exeext'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 ac_cv_lib_m_asinhl=yes
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20064 ac_cv_lib_m_asinhl=no
20066 rm -f conftest.err conftest.$ac_objext \
20067 conftest$ac_exeext conftest.$ac_ext
20068 LIBS=$ac_check_lib_save_LIBS
20070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20071 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20072 if test $ac_cv_lib_m_asinhl = yes; then
20074 cat >>confdefs.h <<\_ACEOF
20075 #define HAVE_ASINHL 1
20080 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20081 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20082 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20083 echo $ECHO_N "(cached) $ECHO_C" >&6
20085 ac_check_lib_save_LIBS=$LIBS
20087 if test x$gcc_no_link = xyes; then
20088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20090 { (exit 1); exit 1; }; }
20092 cat >conftest.$ac_ext <<_ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20099 /* Override any gcc2 internal prototype to avoid an error. */
20103 /* We use char because int might match the return type of a gcc2
20104 builtin and then its argument prototype would still apply. */
20114 rm -f conftest.$ac_objext conftest$ac_exeext
20115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20116 (eval $ac_link) 2>conftest.er1
20118 grep -v '^ *+' conftest.er1 >conftest.err
20120 cat conftest.err >&5
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); } &&
20123 { ac_try='test -z "$ac_c_werror_flag"
20124 || test ! -s conftest.err'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; } &&
20130 { ac_try='test -s conftest$ac_exeext'
20131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20132 (eval $ac_try) 2>&5
20134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20135 (exit $ac_status); }; }; then
20136 ac_cv_lib_m_atan2f=yes
20138 echo "$as_me: failed program was:" >&5
20139 sed 's/^/| /' conftest.$ac_ext >&5
20141 ac_cv_lib_m_atan2f=no
20143 rm -f conftest.err conftest.$ac_objext \
20144 conftest$ac_exeext conftest.$ac_ext
20145 LIBS=$ac_check_lib_save_LIBS
20147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20148 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20149 if test $ac_cv_lib_m_atan2f = yes; then
20151 cat >>confdefs.h <<\_ACEOF
20152 #define HAVE_ATAN2F 1
20157 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20158 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20159 if test "${ac_cv_lib_m_atan2+set}" = set; then
20160 echo $ECHO_N "(cached) $ECHO_C" >&6
20162 ac_check_lib_save_LIBS=$LIBS
20164 if test x$gcc_no_link = xyes; then
20165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20167 { (exit 1); exit 1; }; }
20169 cat >conftest.$ac_ext <<_ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20176 /* Override any gcc2 internal prototype to avoid an error. */
20180 /* We use char because int might match the return type of a gcc2
20181 builtin and then its argument prototype would still apply. */
20191 rm -f conftest.$ac_objext conftest$ac_exeext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20193 (eval $ac_link) 2>conftest.er1
20195 grep -v '^ *+' conftest.er1 >conftest.err
20197 cat conftest.err >&5
20198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199 (exit $ac_status); } &&
20200 { ac_try='test -z "$ac_c_werror_flag"
20201 || test ! -s conftest.err'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; } &&
20207 { ac_try='test -s conftest$ac_exeext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 ac_cv_lib_m_atan2=yes
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.$ac_ext >&5
20218 ac_cv_lib_m_atan2=no
20220 rm -f conftest.err conftest.$ac_objext \
20221 conftest$ac_exeext conftest.$ac_ext
20222 LIBS=$ac_check_lib_save_LIBS
20224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20225 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20226 if test $ac_cv_lib_m_atan2 = yes; then
20228 cat >>confdefs.h <<\_ACEOF
20229 #define HAVE_ATAN2 1
20234 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20235 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20236 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20237 echo $ECHO_N "(cached) $ECHO_C" >&6
20239 ac_check_lib_save_LIBS=$LIBS
20241 if test x$gcc_no_link = xyes; then
20242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20244 { (exit 1); exit 1; }; }
20246 cat >conftest.$ac_ext <<_ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20253 /* Override any gcc2 internal prototype to avoid an error. */
20257 /* We use char because int might match the return type of a gcc2
20258 builtin and then its argument prototype would still apply. */
20268 rm -f conftest.$ac_objext conftest$ac_exeext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20270 (eval $ac_link) 2>conftest.er1
20272 grep -v '^ *+' conftest.er1 >conftest.err
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try='test -z "$ac_c_werror_flag"
20278 || test ! -s conftest.err'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; } &&
20284 { ac_try='test -s conftest$ac_exeext'
20285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20286 (eval $ac_try) 2>&5
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); }; }; then
20290 ac_cv_lib_m_atan2l=yes
20292 echo "$as_me: failed program was:" >&5
20293 sed 's/^/| /' conftest.$ac_ext >&5
20295 ac_cv_lib_m_atan2l=no
20297 rm -f conftest.err conftest.$ac_objext \
20298 conftest$ac_exeext conftest.$ac_ext
20299 LIBS=$ac_check_lib_save_LIBS
20301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20302 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20303 if test $ac_cv_lib_m_atan2l = yes; then
20305 cat >>confdefs.h <<\_ACEOF
20306 #define HAVE_ATAN2L 1
20311 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20312 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20313 if test "${ac_cv_lib_m_atanf+set}" = set; then
20314 echo $ECHO_N "(cached) $ECHO_C" >&6
20316 ac_check_lib_save_LIBS=$LIBS
20318 if test x$gcc_no_link = xyes; then
20319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20321 { (exit 1); exit 1; }; }
20323 cat >conftest.$ac_ext <<_ACEOF
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20330 /* Override any gcc2 internal prototype to avoid an error. */
20334 /* We use char because int might match the return type of a gcc2
20335 builtin and then its argument prototype would still apply. */
20345 rm -f conftest.$ac_objext conftest$ac_exeext
20346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20347 (eval $ac_link) 2>conftest.er1
20349 grep -v '^ *+' conftest.er1 >conftest.err
20351 cat conftest.err >&5
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); } &&
20354 { ac_try='test -z "$ac_c_werror_flag"
20355 || test ! -s conftest.err'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; } &&
20361 { ac_try='test -s conftest$ac_exeext'
20362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363 (eval $ac_try) 2>&5
20365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366 (exit $ac_status); }; }; then
20367 ac_cv_lib_m_atanf=yes
20369 echo "$as_me: failed program was:" >&5
20370 sed 's/^/| /' conftest.$ac_ext >&5
20372 ac_cv_lib_m_atanf=no
20374 rm -f conftest.err conftest.$ac_objext \
20375 conftest$ac_exeext conftest.$ac_ext
20376 LIBS=$ac_check_lib_save_LIBS
20378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20379 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20380 if test $ac_cv_lib_m_atanf = yes; then
20382 cat >>confdefs.h <<\_ACEOF
20383 #define HAVE_ATANF 1
20388 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20389 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20390 if test "${ac_cv_lib_m_atan+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20393 ac_check_lib_save_LIBS=$LIBS
20395 if test x$gcc_no_link = xyes; then
20396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20398 { (exit 1); exit 1; }; }
20400 cat >conftest.$ac_ext <<_ACEOF
20403 cat confdefs.h >>conftest.$ac_ext
20404 cat >>conftest.$ac_ext <<_ACEOF
20405 /* end confdefs.h. */
20407 /* Override any gcc2 internal prototype to avoid an error. */
20411 /* We use char because int might match the return type of a gcc2
20412 builtin and then its argument prototype would still apply. */
20422 rm -f conftest.$ac_objext conftest$ac_exeext
20423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20424 (eval $ac_link) 2>conftest.er1
20426 grep -v '^ *+' conftest.er1 >conftest.err
20428 cat conftest.err >&5
20429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20430 (exit $ac_status); } &&
20431 { ac_try='test -z "$ac_c_werror_flag"
20432 || test ! -s conftest.err'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; } &&
20438 { ac_try='test -s conftest$ac_exeext'
20439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20440 (eval $ac_try) 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_lib_m_atan=yes
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20449 ac_cv_lib_m_atan=no
20451 rm -f conftest.err conftest.$ac_objext \
20452 conftest$ac_exeext conftest.$ac_ext
20453 LIBS=$ac_check_lib_save_LIBS
20455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20456 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20457 if test $ac_cv_lib_m_atan = yes; then
20459 cat >>confdefs.h <<\_ACEOF
20460 #define HAVE_ATAN 1
20465 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20466 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20467 if test "${ac_cv_lib_m_atanl+set}" = set; then
20468 echo $ECHO_N "(cached) $ECHO_C" >&6
20470 ac_check_lib_save_LIBS=$LIBS
20472 if test x$gcc_no_link = xyes; then
20473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20475 { (exit 1); exit 1; }; }
20477 cat >conftest.$ac_ext <<_ACEOF
20480 cat confdefs.h >>conftest.$ac_ext
20481 cat >>conftest.$ac_ext <<_ACEOF
20482 /* end confdefs.h. */
20484 /* Override any gcc2 internal prototype to avoid an error. */
20488 /* We use char because int might match the return type of a gcc2
20489 builtin and then its argument prototype would still apply. */
20499 rm -f conftest.$ac_objext conftest$ac_exeext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20501 (eval $ac_link) 2>conftest.er1
20503 grep -v '^ *+' conftest.er1 >conftest.err
20505 cat conftest.err >&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); } &&
20508 { ac_try='test -z "$ac_c_werror_flag"
20509 || test ! -s conftest.err'
20510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20511 (eval $ac_try) 2>&5
20513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20514 (exit $ac_status); }; } &&
20515 { ac_try='test -s conftest$ac_exeext'
20516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20517 (eval $ac_try) 2>&5
20519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20520 (exit $ac_status); }; }; then
20521 ac_cv_lib_m_atanl=yes
20523 echo "$as_me: failed program was:" >&5
20524 sed 's/^/| /' conftest.$ac_ext >&5
20526 ac_cv_lib_m_atanl=no
20528 rm -f conftest.err conftest.$ac_objext \
20529 conftest$ac_exeext conftest.$ac_ext
20530 LIBS=$ac_check_lib_save_LIBS
20532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20533 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20534 if test $ac_cv_lib_m_atanl = yes; then
20536 cat >>confdefs.h <<\_ACEOF
20537 #define HAVE_ATANL 1
20542 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20543 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20544 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20545 echo $ECHO_N "(cached) $ECHO_C" >&6
20547 ac_check_lib_save_LIBS=$LIBS
20549 if test x$gcc_no_link = xyes; then
20550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20552 { (exit 1); exit 1; }; }
20554 cat >conftest.$ac_ext <<_ACEOF
20557 cat confdefs.h >>conftest.$ac_ext
20558 cat >>conftest.$ac_ext <<_ACEOF
20559 /* end confdefs.h. */
20561 /* Override any gcc2 internal prototype to avoid an error. */
20565 /* We use char because int might match the return type of a gcc2
20566 builtin and then its argument prototype would still apply. */
20576 rm -f conftest.$ac_objext conftest$ac_exeext
20577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20578 (eval $ac_link) 2>conftest.er1
20580 grep -v '^ *+' conftest.er1 >conftest.err
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_c_werror_flag"
20586 || test ! -s conftest.err'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; } &&
20592 { ac_try='test -s conftest$ac_exeext'
20593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20594 (eval $ac_try) 2>&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); }; }; then
20598 ac_cv_lib_m_atanhf=yes
20600 echo "$as_me: failed program was:" >&5
20601 sed 's/^/| /' conftest.$ac_ext >&5
20603 ac_cv_lib_m_atanhf=no
20605 rm -f conftest.err conftest.$ac_objext \
20606 conftest$ac_exeext conftest.$ac_ext
20607 LIBS=$ac_check_lib_save_LIBS
20609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20610 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20611 if test $ac_cv_lib_m_atanhf = yes; then
20613 cat >>confdefs.h <<\_ACEOF
20614 #define HAVE_ATANHF 1
20619 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20620 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20621 if test "${ac_cv_lib_m_atanh+set}" = set; then
20622 echo $ECHO_N "(cached) $ECHO_C" >&6
20624 ac_check_lib_save_LIBS=$LIBS
20626 if test x$gcc_no_link = xyes; then
20627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20629 { (exit 1); exit 1; }; }
20631 cat >conftest.$ac_ext <<_ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20638 /* Override any gcc2 internal prototype to avoid an error. */
20642 /* We use char because int might match the return type of a gcc2
20643 builtin and then its argument prototype would still apply. */
20653 rm -f conftest.$ac_objext conftest$ac_exeext
20654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20655 (eval $ac_link) 2>conftest.er1
20657 grep -v '^ *+' conftest.er1 >conftest.err
20659 cat conftest.err >&5
20660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661 (exit $ac_status); } &&
20662 { ac_try='test -z "$ac_c_werror_flag"
20663 || test ! -s conftest.err'
20664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20665 (eval $ac_try) 2>&5
20667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20668 (exit $ac_status); }; } &&
20669 { ac_try='test -s conftest$ac_exeext'
20670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20671 (eval $ac_try) 2>&5
20673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20674 (exit $ac_status); }; }; then
20675 ac_cv_lib_m_atanh=yes
20677 echo "$as_me: failed program was:" >&5
20678 sed 's/^/| /' conftest.$ac_ext >&5
20680 ac_cv_lib_m_atanh=no
20682 rm -f conftest.err conftest.$ac_objext \
20683 conftest$ac_exeext conftest.$ac_ext
20684 LIBS=$ac_check_lib_save_LIBS
20686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20687 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20688 if test $ac_cv_lib_m_atanh = yes; then
20690 cat >>confdefs.h <<\_ACEOF
20691 #define HAVE_ATANH 1
20696 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20697 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20698 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20699 echo $ECHO_N "(cached) $ECHO_C" >&6
20701 ac_check_lib_save_LIBS=$LIBS
20703 if test x$gcc_no_link = xyes; then
20704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20706 { (exit 1); exit 1; }; }
20708 cat >conftest.$ac_ext <<_ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20715 /* Override any gcc2 internal prototype to avoid an error. */
20719 /* We use char because int might match the return type of a gcc2
20720 builtin and then its argument prototype would still apply. */
20730 rm -f conftest.$ac_objext conftest$ac_exeext
20731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20732 (eval $ac_link) 2>conftest.er1
20734 grep -v '^ *+' conftest.er1 >conftest.err
20736 cat conftest.err >&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } &&
20739 { ac_try='test -z "$ac_c_werror_flag"
20740 || test ! -s conftest.err'
20741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20742 (eval $ac_try) 2>&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); }; } &&
20746 { ac_try='test -s conftest$ac_exeext'
20747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20748 (eval $ac_try) 2>&5
20750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20751 (exit $ac_status); }; }; then
20752 ac_cv_lib_m_atanhl=yes
20754 echo "$as_me: failed program was:" >&5
20755 sed 's/^/| /' conftest.$ac_ext >&5
20757 ac_cv_lib_m_atanhl=no
20759 rm -f conftest.err conftest.$ac_objext \
20760 conftest$ac_exeext conftest.$ac_ext
20761 LIBS=$ac_check_lib_save_LIBS
20763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20764 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20765 if test $ac_cv_lib_m_atanhl = yes; then
20767 cat >>confdefs.h <<\_ACEOF
20768 #define HAVE_ATANHL 1
20773 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20774 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20775 if test "${ac_cv_lib_m_cargf+set}" = set; then
20776 echo $ECHO_N "(cached) $ECHO_C" >&6
20778 ac_check_lib_save_LIBS=$LIBS
20780 if test x$gcc_no_link = xyes; then
20781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20783 { (exit 1); exit 1; }; }
20785 cat >conftest.$ac_ext <<_ACEOF
20788 cat confdefs.h >>conftest.$ac_ext
20789 cat >>conftest.$ac_ext <<_ACEOF
20790 /* end confdefs.h. */
20792 /* Override any gcc2 internal prototype to avoid an error. */
20796 /* We use char because int might match the return type of a gcc2
20797 builtin and then its argument prototype would still apply. */
20807 rm -f conftest.$ac_objext conftest$ac_exeext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20809 (eval $ac_link) 2>conftest.er1
20811 grep -v '^ *+' conftest.er1 >conftest.err
20813 cat conftest.err >&5
20814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20815 (exit $ac_status); } &&
20816 { ac_try='test -z "$ac_c_werror_flag"
20817 || test ! -s conftest.err'
20818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20819 (eval $ac_try) 2>&5
20821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20822 (exit $ac_status); }; } &&
20823 { ac_try='test -s conftest$ac_exeext'
20824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20825 (eval $ac_try) 2>&5
20827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20828 (exit $ac_status); }; }; then
20829 ac_cv_lib_m_cargf=yes
20831 echo "$as_me: failed program was:" >&5
20832 sed 's/^/| /' conftest.$ac_ext >&5
20834 ac_cv_lib_m_cargf=no
20836 rm -f conftest.err conftest.$ac_objext \
20837 conftest$ac_exeext conftest.$ac_ext
20838 LIBS=$ac_check_lib_save_LIBS
20840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
20841 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
20842 if test $ac_cv_lib_m_cargf = yes; then
20844 cat >>confdefs.h <<\_ACEOF
20845 #define HAVE_CARGF 1
20850 echo "$as_me:$LINENO: checking for carg in -lm" >&5
20851 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
20852 if test "${ac_cv_lib_m_carg+set}" = set; then
20853 echo $ECHO_N "(cached) $ECHO_C" >&6
20855 ac_check_lib_save_LIBS=$LIBS
20857 if test x$gcc_no_link = xyes; then
20858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20860 { (exit 1); exit 1; }; }
20862 cat >conftest.$ac_ext <<_ACEOF
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20869 /* Override any gcc2 internal prototype to avoid an error. */
20873 /* We use char because int might match the return type of a gcc2
20874 builtin and then its argument prototype would still apply. */
20884 rm -f conftest.$ac_objext conftest$ac_exeext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20886 (eval $ac_link) 2>conftest.er1
20888 grep -v '^ *+' conftest.er1 >conftest.err
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_c_werror_flag"
20894 || test ! -s conftest.err'
20895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20896 (eval $ac_try) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); }; } &&
20900 { ac_try='test -s conftest$ac_exeext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 ac_cv_lib_m_carg=yes
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20911 ac_cv_lib_m_carg=no
20913 rm -f conftest.err conftest.$ac_objext \
20914 conftest$ac_exeext conftest.$ac_ext
20915 LIBS=$ac_check_lib_save_LIBS
20917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
20918 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
20919 if test $ac_cv_lib_m_carg = yes; then
20921 cat >>confdefs.h <<\_ACEOF
20922 #define HAVE_CARG 1
20927 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
20928 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
20929 if test "${ac_cv_lib_m_cargl+set}" = set; then
20930 echo $ECHO_N "(cached) $ECHO_C" >&6
20932 ac_check_lib_save_LIBS=$LIBS
20934 if test x$gcc_no_link = xyes; then
20935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20937 { (exit 1); exit 1; }; }
20939 cat >conftest.$ac_ext <<_ACEOF
20942 cat confdefs.h >>conftest.$ac_ext
20943 cat >>conftest.$ac_ext <<_ACEOF
20944 /* end confdefs.h. */
20946 /* Override any gcc2 internal prototype to avoid an error. */
20950 /* We use char because int might match the return type of a gcc2
20951 builtin and then its argument prototype would still apply. */
20961 rm -f conftest.$ac_objext conftest$ac_exeext
20962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20963 (eval $ac_link) 2>conftest.er1
20965 grep -v '^ *+' conftest.er1 >conftest.err
20967 cat conftest.err >&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); } &&
20970 { ac_try='test -z "$ac_c_werror_flag"
20971 || test ! -s conftest.err'
20972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20973 (eval $ac_try) 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); }; } &&
20977 { ac_try='test -s conftest$ac_exeext'
20978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 (eval $ac_try) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; }; then
20983 ac_cv_lib_m_cargl=yes
20985 echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.$ac_ext >&5
20988 ac_cv_lib_m_cargl=no
20990 rm -f conftest.err conftest.$ac_objext \
20991 conftest$ac_exeext conftest.$ac_ext
20992 LIBS=$ac_check_lib_save_LIBS
20994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
20995 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
20996 if test $ac_cv_lib_m_cargl = yes; then
20998 cat >>confdefs.h <<\_ACEOF
20999 #define HAVE_CARGL 1
21004 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21005 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21006 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21007 echo $ECHO_N "(cached) $ECHO_C" >&6
21009 ac_check_lib_save_LIBS=$LIBS
21011 if test x$gcc_no_link = xyes; then
21012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21014 { (exit 1); exit 1; }; }
21016 cat >conftest.$ac_ext <<_ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21023 /* Override any gcc2 internal prototype to avoid an error. */
21027 /* We use char because int might match the return type of a gcc2
21028 builtin and then its argument prototype would still apply. */
21038 rm -f conftest.$ac_objext conftest$ac_exeext
21039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21040 (eval $ac_link) 2>conftest.er1
21042 grep -v '^ *+' conftest.er1 >conftest.err
21044 cat conftest.err >&5
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); } &&
21047 { ac_try='test -z "$ac_c_werror_flag"
21048 || test ! -s conftest.err'
21049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21050 (eval $ac_try) 2>&5
21052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21053 (exit $ac_status); }; } &&
21054 { ac_try='test -s conftest$ac_exeext'
21055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21056 (eval $ac_try) 2>&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); }; }; then
21060 ac_cv_lib_m_ceilf=yes
21062 echo "$as_me: failed program was:" >&5
21063 sed 's/^/| /' conftest.$ac_ext >&5
21065 ac_cv_lib_m_ceilf=no
21067 rm -f conftest.err conftest.$ac_objext \
21068 conftest$ac_exeext conftest.$ac_ext
21069 LIBS=$ac_check_lib_save_LIBS
21071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21072 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21073 if test $ac_cv_lib_m_ceilf = yes; then
21075 cat >>confdefs.h <<\_ACEOF
21076 #define HAVE_CEILF 1
21081 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21082 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21083 if test "${ac_cv_lib_m_ceil+set}" = set; then
21084 echo $ECHO_N "(cached) $ECHO_C" >&6
21086 ac_check_lib_save_LIBS=$LIBS
21088 if test x$gcc_no_link = xyes; then
21089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21091 { (exit 1); exit 1; }; }
21093 cat >conftest.$ac_ext <<_ACEOF
21096 cat confdefs.h >>conftest.$ac_ext
21097 cat >>conftest.$ac_ext <<_ACEOF
21098 /* end confdefs.h. */
21100 /* Override any gcc2 internal prototype to avoid an error. */
21104 /* We use char because int might match the return type of a gcc2
21105 builtin and then its argument prototype would still apply. */
21115 rm -f conftest.$ac_objext conftest$ac_exeext
21116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21117 (eval $ac_link) 2>conftest.er1
21119 grep -v '^ *+' conftest.er1 >conftest.err
21121 cat conftest.err >&5
21122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21123 (exit $ac_status); } &&
21124 { ac_try='test -z "$ac_c_werror_flag"
21125 || test ! -s conftest.err'
21126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21127 (eval $ac_try) 2>&5
21129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130 (exit $ac_status); }; } &&
21131 { ac_try='test -s conftest$ac_exeext'
21132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21133 (eval $ac_try) 2>&5
21135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21136 (exit $ac_status); }; }; then
21137 ac_cv_lib_m_ceil=yes
21139 echo "$as_me: failed program was:" >&5
21140 sed 's/^/| /' conftest.$ac_ext >&5
21142 ac_cv_lib_m_ceil=no
21144 rm -f conftest.err conftest.$ac_objext \
21145 conftest$ac_exeext conftest.$ac_ext
21146 LIBS=$ac_check_lib_save_LIBS
21148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21149 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21150 if test $ac_cv_lib_m_ceil = yes; then
21152 cat >>confdefs.h <<\_ACEOF
21153 #define HAVE_CEIL 1
21158 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21159 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21160 if test "${ac_cv_lib_m_ceill+set}" = set; then
21161 echo $ECHO_N "(cached) $ECHO_C" >&6
21163 ac_check_lib_save_LIBS=$LIBS
21165 if test x$gcc_no_link = xyes; then
21166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21168 { (exit 1); exit 1; }; }
21170 cat >conftest.$ac_ext <<_ACEOF
21173 cat confdefs.h >>conftest.$ac_ext
21174 cat >>conftest.$ac_ext <<_ACEOF
21175 /* end confdefs.h. */
21177 /* Override any gcc2 internal prototype to avoid an error. */
21181 /* We use char because int might match the return type of a gcc2
21182 builtin and then its argument prototype would still apply. */
21192 rm -f conftest.$ac_objext conftest$ac_exeext
21193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21194 (eval $ac_link) 2>conftest.er1
21196 grep -v '^ *+' conftest.er1 >conftest.err
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } &&
21201 { ac_try='test -z "$ac_c_werror_flag"
21202 || test ! -s conftest.err'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; } &&
21208 { ac_try='test -s conftest$ac_exeext'
21209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210 (eval $ac_try) 2>&5
21212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213 (exit $ac_status); }; }; then
21214 ac_cv_lib_m_ceill=yes
21216 echo "$as_me: failed program was:" >&5
21217 sed 's/^/| /' conftest.$ac_ext >&5
21219 ac_cv_lib_m_ceill=no
21221 rm -f conftest.err conftest.$ac_objext \
21222 conftest$ac_exeext conftest.$ac_ext
21223 LIBS=$ac_check_lib_save_LIBS
21225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21226 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21227 if test $ac_cv_lib_m_ceill = yes; then
21229 cat >>confdefs.h <<\_ACEOF
21230 #define HAVE_CEILL 1
21235 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21236 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21237 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21238 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 ac_check_lib_save_LIBS=$LIBS
21242 if test x$gcc_no_link = xyes; then
21243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21245 { (exit 1); exit 1; }; }
21247 cat >conftest.$ac_ext <<_ACEOF
21250 cat confdefs.h >>conftest.$ac_ext
21251 cat >>conftest.$ac_ext <<_ACEOF
21252 /* end confdefs.h. */
21254 /* Override any gcc2 internal prototype to avoid an error. */
21258 /* We use char because int might match the return type of a gcc2
21259 builtin and then its argument prototype would still apply. */
21269 rm -f conftest.$ac_objext conftest$ac_exeext
21270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21271 (eval $ac_link) 2>conftest.er1
21273 grep -v '^ *+' conftest.er1 >conftest.err
21275 cat conftest.err >&5
21276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21277 (exit $ac_status); } &&
21278 { ac_try='test -z "$ac_c_werror_flag"
21279 || test ! -s conftest.err'
21280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21281 (eval $ac_try) 2>&5
21283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21284 (exit $ac_status); }; } &&
21285 { ac_try='test -s conftest$ac_exeext'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; }; then
21291 ac_cv_lib_m_copysignf=yes
21293 echo "$as_me: failed program was:" >&5
21294 sed 's/^/| /' conftest.$ac_ext >&5
21296 ac_cv_lib_m_copysignf=no
21298 rm -f conftest.err conftest.$ac_objext \
21299 conftest$ac_exeext conftest.$ac_ext
21300 LIBS=$ac_check_lib_save_LIBS
21302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21303 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21304 if test $ac_cv_lib_m_copysignf = yes; then
21306 cat >>confdefs.h <<\_ACEOF
21307 #define HAVE_COPYSIGNF 1
21312 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21313 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21314 if test "${ac_cv_lib_m_copysign+set}" = set; then
21315 echo $ECHO_N "(cached) $ECHO_C" >&6
21317 ac_check_lib_save_LIBS=$LIBS
21319 if test x$gcc_no_link = xyes; then
21320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21322 { (exit 1); exit 1; }; }
21324 cat >conftest.$ac_ext <<_ACEOF
21327 cat confdefs.h >>conftest.$ac_ext
21328 cat >>conftest.$ac_ext <<_ACEOF
21329 /* end confdefs.h. */
21331 /* Override any gcc2 internal prototype to avoid an error. */
21335 /* We use char because int might match the return type of a gcc2
21336 builtin and then its argument prototype would still apply. */
21346 rm -f conftest.$ac_objext conftest$ac_exeext
21347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21348 (eval $ac_link) 2>conftest.er1
21350 grep -v '^ *+' conftest.er1 >conftest.err
21352 cat conftest.err >&5
21353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21354 (exit $ac_status); } &&
21355 { ac_try='test -z "$ac_c_werror_flag"
21356 || test ! -s conftest.err'
21357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21358 (eval $ac_try) 2>&5
21360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21361 (exit $ac_status); }; } &&
21362 { ac_try='test -s conftest$ac_exeext'
21363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21364 (eval $ac_try) 2>&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); }; }; then
21368 ac_cv_lib_m_copysign=yes
21370 echo "$as_me: failed program was:" >&5
21371 sed 's/^/| /' conftest.$ac_ext >&5
21373 ac_cv_lib_m_copysign=no
21375 rm -f conftest.err conftest.$ac_objext \
21376 conftest$ac_exeext conftest.$ac_ext
21377 LIBS=$ac_check_lib_save_LIBS
21379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21380 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21381 if test $ac_cv_lib_m_copysign = yes; then
21383 cat >>confdefs.h <<\_ACEOF
21384 #define HAVE_COPYSIGN 1
21389 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21390 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21391 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21392 echo $ECHO_N "(cached) $ECHO_C" >&6
21394 ac_check_lib_save_LIBS=$LIBS
21396 if test x$gcc_no_link = xyes; then
21397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21399 { (exit 1); exit 1; }; }
21401 cat >conftest.$ac_ext <<_ACEOF
21404 cat confdefs.h >>conftest.$ac_ext
21405 cat >>conftest.$ac_ext <<_ACEOF
21406 /* end confdefs.h. */
21408 /* Override any gcc2 internal prototype to avoid an error. */
21412 /* We use char because int might match the return type of a gcc2
21413 builtin and then its argument prototype would still apply. */
21423 rm -f conftest.$ac_objext conftest$ac_exeext
21424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21425 (eval $ac_link) 2>conftest.er1
21427 grep -v '^ *+' conftest.er1 >conftest.err
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } &&
21432 { ac_try='test -z "$ac_c_werror_flag"
21433 || test ! -s conftest.err'
21434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21435 (eval $ac_try) 2>&5
21437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21438 (exit $ac_status); }; } &&
21439 { ac_try='test -s conftest$ac_exeext'
21440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21441 (eval $ac_try) 2>&5
21443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21444 (exit $ac_status); }; }; then
21445 ac_cv_lib_m_copysignl=yes
21447 echo "$as_me: failed program was:" >&5
21448 sed 's/^/| /' conftest.$ac_ext >&5
21450 ac_cv_lib_m_copysignl=no
21452 rm -f conftest.err conftest.$ac_objext \
21453 conftest$ac_exeext conftest.$ac_ext
21454 LIBS=$ac_check_lib_save_LIBS
21456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21457 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21458 if test $ac_cv_lib_m_copysignl = yes; then
21460 cat >>confdefs.h <<\_ACEOF
21461 #define HAVE_COPYSIGNL 1
21466 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21467 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21468 if test "${ac_cv_lib_m_cosf+set}" = set; then
21469 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 ac_check_lib_save_LIBS=$LIBS
21473 if test x$gcc_no_link = xyes; then
21474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21476 { (exit 1); exit 1; }; }
21478 cat >conftest.$ac_ext <<_ACEOF
21481 cat confdefs.h >>conftest.$ac_ext
21482 cat >>conftest.$ac_ext <<_ACEOF
21483 /* end confdefs.h. */
21485 /* Override any gcc2 internal prototype to avoid an error. */
21489 /* We use char because int might match the return type of a gcc2
21490 builtin and then its argument prototype would still apply. */
21500 rm -f conftest.$ac_objext conftest$ac_exeext
21501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21502 (eval $ac_link) 2>conftest.er1
21504 grep -v '^ *+' conftest.er1 >conftest.err
21506 cat conftest.err >&5
21507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21508 (exit $ac_status); } &&
21509 { ac_try='test -z "$ac_c_werror_flag"
21510 || test ! -s conftest.err'
21511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21512 (eval $ac_try) 2>&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); }; } &&
21516 { ac_try='test -s conftest$ac_exeext'
21517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21518 (eval $ac_try) 2>&5
21520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21521 (exit $ac_status); }; }; then
21522 ac_cv_lib_m_cosf=yes
21524 echo "$as_me: failed program was:" >&5
21525 sed 's/^/| /' conftest.$ac_ext >&5
21527 ac_cv_lib_m_cosf=no
21529 rm -f conftest.err conftest.$ac_objext \
21530 conftest$ac_exeext conftest.$ac_ext
21531 LIBS=$ac_check_lib_save_LIBS
21533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21534 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21535 if test $ac_cv_lib_m_cosf = yes; then
21537 cat >>confdefs.h <<\_ACEOF
21538 #define HAVE_COSF 1
21543 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21544 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21545 if test "${ac_cv_lib_m_cos+set}" = set; then
21546 echo $ECHO_N "(cached) $ECHO_C" >&6
21548 ac_check_lib_save_LIBS=$LIBS
21550 if test x$gcc_no_link = xyes; then
21551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21553 { (exit 1); exit 1; }; }
21555 cat >conftest.$ac_ext <<_ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21562 /* Override any gcc2 internal prototype to avoid an error. */
21566 /* We use char because int might match the return type of a gcc2
21567 builtin and then its argument prototype would still apply. */
21577 rm -f conftest.$ac_objext conftest$ac_exeext
21578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21579 (eval $ac_link) 2>conftest.er1
21581 grep -v '^ *+' conftest.er1 >conftest.err
21583 cat conftest.err >&5
21584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21585 (exit $ac_status); } &&
21586 { ac_try='test -z "$ac_c_werror_flag"
21587 || test ! -s conftest.err'
21588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21589 (eval $ac_try) 2>&5
21591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21592 (exit $ac_status); }; } &&
21593 { ac_try='test -s conftest$ac_exeext'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; }; then
21599 ac_cv_lib_m_cos=yes
21601 echo "$as_me: failed program was:" >&5
21602 sed 's/^/| /' conftest.$ac_ext >&5
21606 rm -f conftest.err conftest.$ac_objext \
21607 conftest$ac_exeext conftest.$ac_ext
21608 LIBS=$ac_check_lib_save_LIBS
21610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21611 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21612 if test $ac_cv_lib_m_cos = yes; then
21614 cat >>confdefs.h <<\_ACEOF
21620 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21621 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21622 if test "${ac_cv_lib_m_cosl+set}" = set; then
21623 echo $ECHO_N "(cached) $ECHO_C" >&6
21625 ac_check_lib_save_LIBS=$LIBS
21627 if test x$gcc_no_link = xyes; then
21628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21630 { (exit 1); exit 1; }; }
21632 cat >conftest.$ac_ext <<_ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21639 /* Override any gcc2 internal prototype to avoid an error. */
21643 /* We use char because int might match the return type of a gcc2
21644 builtin and then its argument prototype would still apply. */
21654 rm -f conftest.$ac_objext conftest$ac_exeext
21655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21656 (eval $ac_link) 2>conftest.er1
21658 grep -v '^ *+' conftest.er1 >conftest.err
21660 cat conftest.err >&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); } &&
21663 { ac_try='test -z "$ac_c_werror_flag"
21664 || test ! -s conftest.err'
21665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21666 (eval $ac_try) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; } &&
21670 { ac_try='test -s conftest$ac_exeext'
21671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21672 (eval $ac_try) 2>&5
21674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21675 (exit $ac_status); }; }; then
21676 ac_cv_lib_m_cosl=yes
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21681 ac_cv_lib_m_cosl=no
21683 rm -f conftest.err conftest.$ac_objext \
21684 conftest$ac_exeext conftest.$ac_ext
21685 LIBS=$ac_check_lib_save_LIBS
21687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21688 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21689 if test $ac_cv_lib_m_cosl = yes; then
21691 cat >>confdefs.h <<\_ACEOF
21692 #define HAVE_COSL 1
21697 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21698 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21699 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21700 echo $ECHO_N "(cached) $ECHO_C" >&6
21702 ac_check_lib_save_LIBS=$LIBS
21704 if test x$gcc_no_link = xyes; then
21705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21707 { (exit 1); exit 1; }; }
21709 cat >conftest.$ac_ext <<_ACEOF
21712 cat confdefs.h >>conftest.$ac_ext
21713 cat >>conftest.$ac_ext <<_ACEOF
21714 /* end confdefs.h. */
21716 /* Override any gcc2 internal prototype to avoid an error. */
21720 /* We use char because int might match the return type of a gcc2
21721 builtin and then its argument prototype would still apply. */
21731 rm -f conftest.$ac_objext conftest$ac_exeext
21732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21733 (eval $ac_link) 2>conftest.er1
21735 grep -v '^ *+' conftest.er1 >conftest.err
21737 cat conftest.err >&5
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } &&
21740 { ac_try='test -z "$ac_c_werror_flag"
21741 || test ! -s conftest.err'
21742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21743 (eval $ac_try) 2>&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); }; } &&
21747 { ac_try='test -s conftest$ac_exeext'
21748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21749 (eval $ac_try) 2>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); }; }; then
21753 ac_cv_lib_m_ccosf=yes
21755 echo "$as_me: failed program was:" >&5
21756 sed 's/^/| /' conftest.$ac_ext >&5
21758 ac_cv_lib_m_ccosf=no
21760 rm -f conftest.err conftest.$ac_objext \
21761 conftest$ac_exeext conftest.$ac_ext
21762 LIBS=$ac_check_lib_save_LIBS
21764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21765 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21766 if test $ac_cv_lib_m_ccosf = yes; then
21768 cat >>confdefs.h <<\_ACEOF
21769 #define HAVE_CCOSF 1
21774 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21775 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21776 if test "${ac_cv_lib_m_ccos+set}" = set; then
21777 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 ac_check_lib_save_LIBS=$LIBS
21781 if test x$gcc_no_link = xyes; then
21782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21784 { (exit 1); exit 1; }; }
21786 cat >conftest.$ac_ext <<_ACEOF
21789 cat confdefs.h >>conftest.$ac_ext
21790 cat >>conftest.$ac_ext <<_ACEOF
21791 /* end confdefs.h. */
21793 /* Override any gcc2 internal prototype to avoid an error. */
21797 /* We use char because int might match the return type of a gcc2
21798 builtin and then its argument prototype would still apply. */
21808 rm -f conftest.$ac_objext conftest$ac_exeext
21809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21810 (eval $ac_link) 2>conftest.er1
21812 grep -v '^ *+' conftest.er1 >conftest.err
21814 cat conftest.err >&5
21815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21816 (exit $ac_status); } &&
21817 { ac_try='test -z "$ac_c_werror_flag"
21818 || test ! -s conftest.err'
21819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21820 (eval $ac_try) 2>&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); }; } &&
21824 { ac_try='test -s conftest$ac_exeext'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; }; then
21830 ac_cv_lib_m_ccos=yes
21832 echo "$as_me: failed program was:" >&5
21833 sed 's/^/| /' conftest.$ac_ext >&5
21835 ac_cv_lib_m_ccos=no
21837 rm -f conftest.err conftest.$ac_objext \
21838 conftest$ac_exeext conftest.$ac_ext
21839 LIBS=$ac_check_lib_save_LIBS
21841 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
21842 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
21843 if test $ac_cv_lib_m_ccos = yes; then
21845 cat >>confdefs.h <<\_ACEOF
21846 #define HAVE_CCOS 1
21851 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
21852 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
21853 if test "${ac_cv_lib_m_ccosl+set}" = set; then
21854 echo $ECHO_N "(cached) $ECHO_C" >&6
21856 ac_check_lib_save_LIBS=$LIBS
21858 if test x$gcc_no_link = xyes; then
21859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21861 { (exit 1); exit 1; }; }
21863 cat >conftest.$ac_ext <<_ACEOF
21866 cat confdefs.h >>conftest.$ac_ext
21867 cat >>conftest.$ac_ext <<_ACEOF
21868 /* end confdefs.h. */
21870 /* Override any gcc2 internal prototype to avoid an error. */
21874 /* We use char because int might match the return type of a gcc2
21875 builtin and then its argument prototype would still apply. */
21885 rm -f conftest.$ac_objext conftest$ac_exeext
21886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21887 (eval $ac_link) 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } &&
21894 { ac_try='test -z "$ac_c_werror_flag"
21895 || test ! -s conftest.err'
21896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21897 (eval $ac_try) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); }; } &&
21901 { ac_try='test -s conftest$ac_exeext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 ac_cv_lib_m_ccosl=yes
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21912 ac_cv_lib_m_ccosl=no
21914 rm -f conftest.err conftest.$ac_objext \
21915 conftest$ac_exeext conftest.$ac_ext
21916 LIBS=$ac_check_lib_save_LIBS
21918 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
21919 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
21920 if test $ac_cv_lib_m_ccosl = yes; then
21922 cat >>confdefs.h <<\_ACEOF
21923 #define HAVE_CCOSL 1
21928 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
21929 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
21930 if test "${ac_cv_lib_m_coshf+set}" = set; then
21931 echo $ECHO_N "(cached) $ECHO_C" >&6
21933 ac_check_lib_save_LIBS=$LIBS
21935 if test x$gcc_no_link = xyes; then
21936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21938 { (exit 1); exit 1; }; }
21940 cat >conftest.$ac_ext <<_ACEOF
21943 cat confdefs.h >>conftest.$ac_ext
21944 cat >>conftest.$ac_ext <<_ACEOF
21945 /* end confdefs.h. */
21947 /* Override any gcc2 internal prototype to avoid an error. */
21951 /* We use char because int might match the return type of a gcc2
21952 builtin and then its argument prototype would still apply. */
21962 rm -f conftest.$ac_objext conftest$ac_exeext
21963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21964 (eval $ac_link) 2>conftest.er1
21966 grep -v '^ *+' conftest.er1 >conftest.err
21968 cat conftest.err >&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } &&
21971 { ac_try='test -z "$ac_c_werror_flag"
21972 || test ! -s conftest.err'
21973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21974 (eval $ac_try) 2>&5
21976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21977 (exit $ac_status); }; } &&
21978 { ac_try='test -s conftest$ac_exeext'
21979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21980 (eval $ac_try) 2>&5
21982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21983 (exit $ac_status); }; }; then
21984 ac_cv_lib_m_coshf=yes
21986 echo "$as_me: failed program was:" >&5
21987 sed 's/^/| /' conftest.$ac_ext >&5
21989 ac_cv_lib_m_coshf=no
21991 rm -f conftest.err conftest.$ac_objext \
21992 conftest$ac_exeext conftest.$ac_ext
21993 LIBS=$ac_check_lib_save_LIBS
21995 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
21996 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
21997 if test $ac_cv_lib_m_coshf = yes; then
21999 cat >>confdefs.h <<\_ACEOF
22000 #define HAVE_COSHF 1
22005 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22006 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22007 if test "${ac_cv_lib_m_cosh+set}" = set; then
22008 echo $ECHO_N "(cached) $ECHO_C" >&6
22010 ac_check_lib_save_LIBS=$LIBS
22012 if test x$gcc_no_link = xyes; then
22013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22015 { (exit 1); exit 1; }; }
22017 cat >conftest.$ac_ext <<_ACEOF
22020 cat confdefs.h >>conftest.$ac_ext
22021 cat >>conftest.$ac_ext <<_ACEOF
22022 /* end confdefs.h. */
22024 /* Override any gcc2 internal prototype to avoid an error. */
22028 /* We use char because int might match the return type of a gcc2
22029 builtin and then its argument prototype would still apply. */
22039 rm -f conftest.$ac_objext conftest$ac_exeext
22040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22041 (eval $ac_link) 2>conftest.er1
22043 grep -v '^ *+' conftest.er1 >conftest.err
22045 cat conftest.err >&5
22046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22047 (exit $ac_status); } &&
22048 { ac_try='test -z "$ac_c_werror_flag"
22049 || test ! -s conftest.err'
22050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22051 (eval $ac_try) 2>&5
22053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22054 (exit $ac_status); }; } &&
22055 { ac_try='test -s conftest$ac_exeext'
22056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22057 (eval $ac_try) 2>&5
22059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22060 (exit $ac_status); }; }; then
22061 ac_cv_lib_m_cosh=yes
22063 echo "$as_me: failed program was:" >&5
22064 sed 's/^/| /' conftest.$ac_ext >&5
22066 ac_cv_lib_m_cosh=no
22068 rm -f conftest.err conftest.$ac_objext \
22069 conftest$ac_exeext conftest.$ac_ext
22070 LIBS=$ac_check_lib_save_LIBS
22072 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22073 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22074 if test $ac_cv_lib_m_cosh = yes; then
22076 cat >>confdefs.h <<\_ACEOF
22077 #define HAVE_COSH 1
22082 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22083 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22084 if test "${ac_cv_lib_m_coshl+set}" = set; then
22085 echo $ECHO_N "(cached) $ECHO_C" >&6
22087 ac_check_lib_save_LIBS=$LIBS
22089 if test x$gcc_no_link = xyes; then
22090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22092 { (exit 1); exit 1; }; }
22094 cat >conftest.$ac_ext <<_ACEOF
22097 cat confdefs.h >>conftest.$ac_ext
22098 cat >>conftest.$ac_ext <<_ACEOF
22099 /* end confdefs.h. */
22101 /* Override any gcc2 internal prototype to avoid an error. */
22105 /* We use char because int might match the return type of a gcc2
22106 builtin and then its argument prototype would still apply. */
22116 rm -f conftest.$ac_objext conftest$ac_exeext
22117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22118 (eval $ac_link) 2>conftest.er1
22120 grep -v '^ *+' conftest.er1 >conftest.err
22122 cat conftest.err >&5
22123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22124 (exit $ac_status); } &&
22125 { ac_try='test -z "$ac_c_werror_flag"
22126 || test ! -s conftest.err'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; } &&
22132 { ac_try='test -s conftest$ac_exeext'
22133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22134 (eval $ac_try) 2>&5
22136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22137 (exit $ac_status); }; }; then
22138 ac_cv_lib_m_coshl=yes
22140 echo "$as_me: failed program was:" >&5
22141 sed 's/^/| /' conftest.$ac_ext >&5
22143 ac_cv_lib_m_coshl=no
22145 rm -f conftest.err conftest.$ac_objext \
22146 conftest$ac_exeext conftest.$ac_ext
22147 LIBS=$ac_check_lib_save_LIBS
22149 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22150 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22151 if test $ac_cv_lib_m_coshl = yes; then
22153 cat >>confdefs.h <<\_ACEOF
22154 #define HAVE_COSHL 1
22159 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22160 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22161 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22162 echo $ECHO_N "(cached) $ECHO_C" >&6
22164 ac_check_lib_save_LIBS=$LIBS
22166 if test x$gcc_no_link = xyes; then
22167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22169 { (exit 1); exit 1; }; }
22171 cat >conftest.$ac_ext <<_ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22178 /* Override any gcc2 internal prototype to avoid an error. */
22182 /* We use char because int might match the return type of a gcc2
22183 builtin and then its argument prototype would still apply. */
22193 rm -f conftest.$ac_objext conftest$ac_exeext
22194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22195 (eval $ac_link) 2>conftest.er1
22197 grep -v '^ *+' conftest.er1 >conftest.err
22199 cat conftest.err >&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } &&
22202 { ac_try='test -z "$ac_c_werror_flag"
22203 || test ! -s conftest.err'
22204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22205 (eval $ac_try) 2>&5
22207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22208 (exit $ac_status); }; } &&
22209 { ac_try='test -s conftest$ac_exeext'
22210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22211 (eval $ac_try) 2>&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); }; }; then
22215 ac_cv_lib_m_ccoshf=yes
22217 echo "$as_me: failed program was:" >&5
22218 sed 's/^/| /' conftest.$ac_ext >&5
22220 ac_cv_lib_m_ccoshf=no
22222 rm -f conftest.err conftest.$ac_objext \
22223 conftest$ac_exeext conftest.$ac_ext
22224 LIBS=$ac_check_lib_save_LIBS
22226 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22227 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22228 if test $ac_cv_lib_m_ccoshf = yes; then
22230 cat >>confdefs.h <<\_ACEOF
22231 #define HAVE_CCOSHF 1
22236 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22237 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22238 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22239 echo $ECHO_N "(cached) $ECHO_C" >&6
22241 ac_check_lib_save_LIBS=$LIBS
22243 if test x$gcc_no_link = xyes; then
22244 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22245 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22246 { (exit 1); exit 1; }; }
22248 cat >conftest.$ac_ext <<_ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22255 /* Override any gcc2 internal prototype to avoid an error. */
22259 /* We use char because int might match the return type of a gcc2
22260 builtin and then its argument prototype would still apply. */
22270 rm -f conftest.$ac_objext conftest$ac_exeext
22271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22272 (eval $ac_link) 2>conftest.er1
22274 grep -v '^ *+' conftest.er1 >conftest.err
22276 cat conftest.err >&5
22277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22278 (exit $ac_status); } &&
22279 { ac_try='test -z "$ac_c_werror_flag"
22280 || test ! -s conftest.err'
22281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22282 (eval $ac_try) 2>&5
22284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22285 (exit $ac_status); }; } &&
22286 { ac_try='test -s conftest$ac_exeext'
22287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22288 (eval $ac_try) 2>&5
22290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22291 (exit $ac_status); }; }; then
22292 ac_cv_lib_m_ccosh=yes
22294 echo "$as_me: failed program was:" >&5
22295 sed 's/^/| /' conftest.$ac_ext >&5
22297 ac_cv_lib_m_ccosh=no
22299 rm -f conftest.err conftest.$ac_objext \
22300 conftest$ac_exeext conftest.$ac_ext
22301 LIBS=$ac_check_lib_save_LIBS
22303 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22304 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22305 if test $ac_cv_lib_m_ccosh = yes; then
22307 cat >>confdefs.h <<\_ACEOF
22308 #define HAVE_CCOSH 1
22313 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22314 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22315 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22316 echo $ECHO_N "(cached) $ECHO_C" >&6
22318 ac_check_lib_save_LIBS=$LIBS
22320 if test x$gcc_no_link = xyes; then
22321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22323 { (exit 1); exit 1; }; }
22325 cat >conftest.$ac_ext <<_ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22332 /* Override any gcc2 internal prototype to avoid an error. */
22336 /* We use char because int might match the return type of a gcc2
22337 builtin and then its argument prototype would still apply. */
22347 rm -f conftest.$ac_objext conftest$ac_exeext
22348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22349 (eval $ac_link) 2>conftest.er1
22351 grep -v '^ *+' conftest.er1 >conftest.err
22353 cat conftest.err >&5
22354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22355 (exit $ac_status); } &&
22356 { ac_try='test -z "$ac_c_werror_flag"
22357 || test ! -s conftest.err'
22358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22359 (eval $ac_try) 2>&5
22361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22362 (exit $ac_status); }; } &&
22363 { ac_try='test -s conftest$ac_exeext'
22364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22365 (eval $ac_try) 2>&5
22367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22368 (exit $ac_status); }; }; then
22369 ac_cv_lib_m_ccoshl=yes
22371 echo "$as_me: failed program was:" >&5
22372 sed 's/^/| /' conftest.$ac_ext >&5
22374 ac_cv_lib_m_ccoshl=no
22376 rm -f conftest.err conftest.$ac_objext \
22377 conftest$ac_exeext conftest.$ac_ext
22378 LIBS=$ac_check_lib_save_LIBS
22380 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22381 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22382 if test $ac_cv_lib_m_ccoshl = yes; then
22384 cat >>confdefs.h <<\_ACEOF
22385 #define HAVE_CCOSHL 1
22390 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22391 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22392 if test "${ac_cv_lib_m_expf+set}" = set; then
22393 echo $ECHO_N "(cached) $ECHO_C" >&6
22395 ac_check_lib_save_LIBS=$LIBS
22397 if test x$gcc_no_link = xyes; then
22398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22400 { (exit 1); exit 1; }; }
22402 cat >conftest.$ac_ext <<_ACEOF
22405 cat confdefs.h >>conftest.$ac_ext
22406 cat >>conftest.$ac_ext <<_ACEOF
22407 /* end confdefs.h. */
22409 /* Override any gcc2 internal prototype to avoid an error. */
22413 /* We use char because int might match the return type of a gcc2
22414 builtin and then its argument prototype would still apply. */
22424 rm -f conftest.$ac_objext conftest$ac_exeext
22425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22426 (eval $ac_link) 2>conftest.er1
22428 grep -v '^ *+' conftest.er1 >conftest.err
22430 cat conftest.err >&5
22431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22432 (exit $ac_status); } &&
22433 { ac_try='test -z "$ac_c_werror_flag"
22434 || test ! -s conftest.err'
22435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22436 (eval $ac_try) 2>&5
22438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22439 (exit $ac_status); }; } &&
22440 { ac_try='test -s conftest$ac_exeext'
22441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22442 (eval $ac_try) 2>&5
22444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22445 (exit $ac_status); }; }; then
22446 ac_cv_lib_m_expf=yes
22448 echo "$as_me: failed program was:" >&5
22449 sed 's/^/| /' conftest.$ac_ext >&5
22451 ac_cv_lib_m_expf=no
22453 rm -f conftest.err conftest.$ac_objext \
22454 conftest$ac_exeext conftest.$ac_ext
22455 LIBS=$ac_check_lib_save_LIBS
22457 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22458 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22459 if test $ac_cv_lib_m_expf = yes; then
22461 cat >>confdefs.h <<\_ACEOF
22462 #define HAVE_EXPF 1
22467 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22468 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22469 if test "${ac_cv_lib_m_exp+set}" = set; then
22470 echo $ECHO_N "(cached) $ECHO_C" >&6
22472 ac_check_lib_save_LIBS=$LIBS
22474 if test x$gcc_no_link = xyes; then
22475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22477 { (exit 1); exit 1; }; }
22479 cat >conftest.$ac_ext <<_ACEOF
22482 cat confdefs.h >>conftest.$ac_ext
22483 cat >>conftest.$ac_ext <<_ACEOF
22484 /* end confdefs.h. */
22486 /* Override any gcc2 internal prototype to avoid an error. */
22490 /* We use char because int might match the return type of a gcc2
22491 builtin and then its argument prototype would still apply. */
22501 rm -f conftest.$ac_objext conftest$ac_exeext
22502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22503 (eval $ac_link) 2>conftest.er1
22505 grep -v '^ *+' conftest.er1 >conftest.err
22507 cat conftest.err >&5
22508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22509 (exit $ac_status); } &&
22510 { ac_try='test -z "$ac_c_werror_flag"
22511 || test ! -s conftest.err'
22512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22513 (eval $ac_try) 2>&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); }; } &&
22517 { ac_try='test -s conftest$ac_exeext'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; }; then
22523 ac_cv_lib_m_exp=yes
22525 echo "$as_me: failed program was:" >&5
22526 sed 's/^/| /' conftest.$ac_ext >&5
22530 rm -f conftest.err conftest.$ac_objext \
22531 conftest$ac_exeext conftest.$ac_ext
22532 LIBS=$ac_check_lib_save_LIBS
22534 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22535 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22536 if test $ac_cv_lib_m_exp = yes; then
22538 cat >>confdefs.h <<\_ACEOF
22544 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22545 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22546 if test "${ac_cv_lib_m_expl+set}" = set; then
22547 echo $ECHO_N "(cached) $ECHO_C" >&6
22549 ac_check_lib_save_LIBS=$LIBS
22551 if test x$gcc_no_link = xyes; then
22552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22554 { (exit 1); exit 1; }; }
22556 cat >conftest.$ac_ext <<_ACEOF
22559 cat confdefs.h >>conftest.$ac_ext
22560 cat >>conftest.$ac_ext <<_ACEOF
22561 /* end confdefs.h. */
22563 /* Override any gcc2 internal prototype to avoid an error. */
22567 /* We use char because int might match the return type of a gcc2
22568 builtin and then its argument prototype would still apply. */
22578 rm -f conftest.$ac_objext conftest$ac_exeext
22579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22580 (eval $ac_link) 2>conftest.er1
22582 grep -v '^ *+' conftest.er1 >conftest.err
22584 cat conftest.err >&5
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); } &&
22587 { ac_try='test -z "$ac_c_werror_flag"
22588 || test ! -s conftest.err'
22589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22590 (eval $ac_try) 2>&5
22592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22593 (exit $ac_status); }; } &&
22594 { ac_try='test -s conftest$ac_exeext'
22595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22596 (eval $ac_try) 2>&5
22598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22599 (exit $ac_status); }; }; then
22600 ac_cv_lib_m_expl=yes
22602 echo "$as_me: failed program was:" >&5
22603 sed 's/^/| /' conftest.$ac_ext >&5
22605 ac_cv_lib_m_expl=no
22607 rm -f conftest.err conftest.$ac_objext \
22608 conftest$ac_exeext conftest.$ac_ext
22609 LIBS=$ac_check_lib_save_LIBS
22611 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22612 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22613 if test $ac_cv_lib_m_expl = yes; then
22615 cat >>confdefs.h <<\_ACEOF
22616 #define HAVE_EXPL 1
22621 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22622 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22623 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22624 echo $ECHO_N "(cached) $ECHO_C" >&6
22626 ac_check_lib_save_LIBS=$LIBS
22628 if test x$gcc_no_link = xyes; then
22629 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22631 { (exit 1); exit 1; }; }
22633 cat >conftest.$ac_ext <<_ACEOF
22636 cat confdefs.h >>conftest.$ac_ext
22637 cat >>conftest.$ac_ext <<_ACEOF
22638 /* end confdefs.h. */
22640 /* Override any gcc2 internal prototype to avoid an error. */
22644 /* We use char because int might match the return type of a gcc2
22645 builtin and then its argument prototype would still apply. */
22655 rm -f conftest.$ac_objext conftest$ac_exeext
22656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22657 (eval $ac_link) 2>conftest.er1
22659 grep -v '^ *+' conftest.er1 >conftest.err
22661 cat conftest.err >&5
22662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22663 (exit $ac_status); } &&
22664 { ac_try='test -z "$ac_c_werror_flag"
22665 || test ! -s conftest.err'
22666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22667 (eval $ac_try) 2>&5
22669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22670 (exit $ac_status); }; } &&
22671 { ac_try='test -s conftest$ac_exeext'
22672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22673 (eval $ac_try) 2>&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); }; }; then
22677 ac_cv_lib_m_cexpf=yes
22679 echo "$as_me: failed program was:" >&5
22680 sed 's/^/| /' conftest.$ac_ext >&5
22682 ac_cv_lib_m_cexpf=no
22684 rm -f conftest.err conftest.$ac_objext \
22685 conftest$ac_exeext conftest.$ac_ext
22686 LIBS=$ac_check_lib_save_LIBS
22688 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22689 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22690 if test $ac_cv_lib_m_cexpf = yes; then
22692 cat >>confdefs.h <<\_ACEOF
22693 #define HAVE_CEXPF 1
22698 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22699 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22700 if test "${ac_cv_lib_m_cexp+set}" = set; then
22701 echo $ECHO_N "(cached) $ECHO_C" >&6
22703 ac_check_lib_save_LIBS=$LIBS
22705 if test x$gcc_no_link = xyes; then
22706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22708 { (exit 1); exit 1; }; }
22710 cat >conftest.$ac_ext <<_ACEOF
22713 cat confdefs.h >>conftest.$ac_ext
22714 cat >>conftest.$ac_ext <<_ACEOF
22715 /* end confdefs.h. */
22717 /* Override any gcc2 internal prototype to avoid an error. */
22721 /* We use char because int might match the return type of a gcc2
22722 builtin and then its argument prototype would still apply. */
22732 rm -f conftest.$ac_objext conftest$ac_exeext
22733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22734 (eval $ac_link) 2>conftest.er1
22736 grep -v '^ *+' conftest.er1 >conftest.err
22738 cat conftest.err >&5
22739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22740 (exit $ac_status); } &&
22741 { ac_try='test -z "$ac_c_werror_flag"
22742 || test ! -s conftest.err'
22743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744 (eval $ac_try) 2>&5
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; } &&
22748 { ac_try='test -s conftest$ac_exeext'
22749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22750 (eval $ac_try) 2>&5
22752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22753 (exit $ac_status); }; }; then
22754 ac_cv_lib_m_cexp=yes
22756 echo "$as_me: failed program was:" >&5
22757 sed 's/^/| /' conftest.$ac_ext >&5
22759 ac_cv_lib_m_cexp=no
22761 rm -f conftest.err conftest.$ac_objext \
22762 conftest$ac_exeext conftest.$ac_ext
22763 LIBS=$ac_check_lib_save_LIBS
22765 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22766 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22767 if test $ac_cv_lib_m_cexp = yes; then
22769 cat >>confdefs.h <<\_ACEOF
22770 #define HAVE_CEXP 1
22775 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22776 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22777 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22778 echo $ECHO_N "(cached) $ECHO_C" >&6
22780 ac_check_lib_save_LIBS=$LIBS
22782 if test x$gcc_no_link = xyes; then
22783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22785 { (exit 1); exit 1; }; }
22787 cat >conftest.$ac_ext <<_ACEOF
22790 cat confdefs.h >>conftest.$ac_ext
22791 cat >>conftest.$ac_ext <<_ACEOF
22792 /* end confdefs.h. */
22794 /* Override any gcc2 internal prototype to avoid an error. */
22798 /* We use char because int might match the return type of a gcc2
22799 builtin and then its argument prototype would still apply. */
22809 rm -f conftest.$ac_objext conftest$ac_exeext
22810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22811 (eval $ac_link) 2>conftest.er1
22813 grep -v '^ *+' conftest.er1 >conftest.err
22815 cat conftest.err >&5
22816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817 (exit $ac_status); } &&
22818 { ac_try='test -z "$ac_c_werror_flag"
22819 || test ! -s conftest.err'
22820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22821 (eval $ac_try) 2>&5
22823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22824 (exit $ac_status); }; } &&
22825 { ac_try='test -s conftest$ac_exeext'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; }; then
22831 ac_cv_lib_m_cexpl=yes
22833 echo "$as_me: failed program was:" >&5
22834 sed 's/^/| /' conftest.$ac_ext >&5
22836 ac_cv_lib_m_cexpl=no
22838 rm -f conftest.err conftest.$ac_objext \
22839 conftest$ac_exeext conftest.$ac_ext
22840 LIBS=$ac_check_lib_save_LIBS
22842 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
22843 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
22844 if test $ac_cv_lib_m_cexpl = yes; then
22846 cat >>confdefs.h <<\_ACEOF
22847 #define HAVE_CEXPL 1
22852 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
22853 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
22854 if test "${ac_cv_lib_m_fabsf+set}" = set; then
22855 echo $ECHO_N "(cached) $ECHO_C" >&6
22857 ac_check_lib_save_LIBS=$LIBS
22859 if test x$gcc_no_link = xyes; then
22860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22862 { (exit 1); exit 1; }; }
22864 cat >conftest.$ac_ext <<_ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22871 /* Override any gcc2 internal prototype to avoid an error. */
22875 /* We use char because int might match the return type of a gcc2
22876 builtin and then its argument prototype would still apply. */
22886 rm -f conftest.$ac_objext conftest$ac_exeext
22887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22888 (eval $ac_link) 2>conftest.er1
22890 grep -v '^ *+' conftest.er1 >conftest.err
22892 cat conftest.err >&5
22893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22894 (exit $ac_status); } &&
22895 { ac_try='test -z "$ac_c_werror_flag"
22896 || test ! -s conftest.err'
22897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22898 (eval $ac_try) 2>&5
22900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22901 (exit $ac_status); }; } &&
22902 { ac_try='test -s conftest$ac_exeext'
22903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; }; then
22908 ac_cv_lib_m_fabsf=yes
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22913 ac_cv_lib_m_fabsf=no
22915 rm -f conftest.err conftest.$ac_objext \
22916 conftest$ac_exeext conftest.$ac_ext
22917 LIBS=$ac_check_lib_save_LIBS
22919 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
22920 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
22921 if test $ac_cv_lib_m_fabsf = yes; then
22923 cat >>confdefs.h <<\_ACEOF
22924 #define HAVE_FABSF 1
22929 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
22930 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
22931 if test "${ac_cv_lib_m_fabs+set}" = set; then
22932 echo $ECHO_N "(cached) $ECHO_C" >&6
22934 ac_check_lib_save_LIBS=$LIBS
22936 if test x$gcc_no_link = xyes; then
22937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22939 { (exit 1); exit 1; }; }
22941 cat >conftest.$ac_ext <<_ACEOF
22944 cat confdefs.h >>conftest.$ac_ext
22945 cat >>conftest.$ac_ext <<_ACEOF
22946 /* end confdefs.h. */
22948 /* Override any gcc2 internal prototype to avoid an error. */
22952 /* We use char because int might match the return type of a gcc2
22953 builtin and then its argument prototype would still apply. */
22963 rm -f conftest.$ac_objext conftest$ac_exeext
22964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22965 (eval $ac_link) 2>conftest.er1
22967 grep -v '^ *+' conftest.er1 >conftest.err
22969 cat conftest.err >&5
22970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971 (exit $ac_status); } &&
22972 { ac_try='test -z "$ac_c_werror_flag"
22973 || test ! -s conftest.err'
22974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22975 (eval $ac_try) 2>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; } &&
22979 { ac_try='test -s conftest$ac_exeext'
22980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22981 (eval $ac_try) 2>&5
22983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22984 (exit $ac_status); }; }; then
22985 ac_cv_lib_m_fabs=yes
22987 echo "$as_me: failed program was:" >&5
22988 sed 's/^/| /' conftest.$ac_ext >&5
22990 ac_cv_lib_m_fabs=no
22992 rm -f conftest.err conftest.$ac_objext \
22993 conftest$ac_exeext conftest.$ac_ext
22994 LIBS=$ac_check_lib_save_LIBS
22996 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
22997 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
22998 if test $ac_cv_lib_m_fabs = yes; then
23000 cat >>confdefs.h <<\_ACEOF
23001 #define HAVE_FABS 1
23006 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23007 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23008 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23011 ac_check_lib_save_LIBS=$LIBS
23013 if test x$gcc_no_link = xyes; then
23014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23016 { (exit 1); exit 1; }; }
23018 cat >conftest.$ac_ext <<_ACEOF
23021 cat confdefs.h >>conftest.$ac_ext
23022 cat >>conftest.$ac_ext <<_ACEOF
23023 /* end confdefs.h. */
23025 /* Override any gcc2 internal prototype to avoid an error. */
23029 /* We use char because int might match the return type of a gcc2
23030 builtin and then its argument prototype would still apply. */
23040 rm -f conftest.$ac_objext conftest$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>conftest.er1
23044 grep -v '^ *+' conftest.er1 >conftest.err
23046 cat conftest.err >&5
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); } &&
23049 { ac_try='test -z "$ac_c_werror_flag"
23050 || test ! -s conftest.err'
23051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23052 (eval $ac_try) 2>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try='test -s conftest$ac_exeext'
23057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23058 (eval $ac_try) 2>&5
23060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23061 (exit $ac_status); }; }; then
23062 ac_cv_lib_m_fabsl=yes
23064 echo "$as_me: failed program was:" >&5
23065 sed 's/^/| /' conftest.$ac_ext >&5
23067 ac_cv_lib_m_fabsl=no
23069 rm -f conftest.err conftest.$ac_objext \
23070 conftest$ac_exeext conftest.$ac_ext
23071 LIBS=$ac_check_lib_save_LIBS
23073 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23074 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23075 if test $ac_cv_lib_m_fabsl = yes; then
23077 cat >>confdefs.h <<\_ACEOF
23078 #define HAVE_FABSL 1
23083 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23084 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23085 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23086 echo $ECHO_N "(cached) $ECHO_C" >&6
23088 ac_check_lib_save_LIBS=$LIBS
23090 if test x$gcc_no_link = xyes; then
23091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23093 { (exit 1); exit 1; }; }
23095 cat >conftest.$ac_ext <<_ACEOF
23098 cat confdefs.h >>conftest.$ac_ext
23099 cat >>conftest.$ac_ext <<_ACEOF
23100 /* end confdefs.h. */
23102 /* Override any gcc2 internal prototype to avoid an error. */
23106 /* We use char because int might match the return type of a gcc2
23107 builtin and then its argument prototype would still apply. */
23117 rm -f conftest.$ac_objext conftest$ac_exeext
23118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23119 (eval $ac_link) 2>conftest.er1
23121 grep -v '^ *+' conftest.er1 >conftest.err
23123 cat conftest.err >&5
23124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23125 (exit $ac_status); } &&
23126 { ac_try='test -z "$ac_c_werror_flag"
23127 || test ! -s conftest.err'
23128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23129 (eval $ac_try) 2>&5
23131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23132 (exit $ac_status); }; } &&
23133 { ac_try='test -s conftest$ac_exeext'
23134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23135 (eval $ac_try) 2>&5
23137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23138 (exit $ac_status); }; }; then
23139 ac_cv_lib_m_cabsf=yes
23141 echo "$as_me: failed program was:" >&5
23142 sed 's/^/| /' conftest.$ac_ext >&5
23144 ac_cv_lib_m_cabsf=no
23146 rm -f conftest.err conftest.$ac_objext \
23147 conftest$ac_exeext conftest.$ac_ext
23148 LIBS=$ac_check_lib_save_LIBS
23150 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23151 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23152 if test $ac_cv_lib_m_cabsf = yes; then
23154 cat >>confdefs.h <<\_ACEOF
23155 #define HAVE_CABSF 1
23160 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23161 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23162 if test "${ac_cv_lib_m_cabs+set}" = set; then
23163 echo $ECHO_N "(cached) $ECHO_C" >&6
23165 ac_check_lib_save_LIBS=$LIBS
23167 if test x$gcc_no_link = xyes; then
23168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23170 { (exit 1); exit 1; }; }
23172 cat >conftest.$ac_ext <<_ACEOF
23175 cat confdefs.h >>conftest.$ac_ext
23176 cat >>conftest.$ac_ext <<_ACEOF
23177 /* end confdefs.h. */
23179 /* Override any gcc2 internal prototype to avoid an error. */
23183 /* We use char because int might match the return type of a gcc2
23184 builtin and then its argument prototype would still apply. */
23194 rm -f conftest.$ac_objext conftest$ac_exeext
23195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23196 (eval $ac_link) 2>conftest.er1
23198 grep -v '^ *+' conftest.er1 >conftest.err
23200 cat conftest.err >&5
23201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23202 (exit $ac_status); } &&
23203 { ac_try='test -z "$ac_c_werror_flag"
23204 || test ! -s conftest.err'
23205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23206 (eval $ac_try) 2>&5
23208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23209 (exit $ac_status); }; } &&
23210 { ac_try='test -s conftest$ac_exeext'
23211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23212 (eval $ac_try) 2>&5
23214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23215 (exit $ac_status); }; }; then
23216 ac_cv_lib_m_cabs=yes
23218 echo "$as_me: failed program was:" >&5
23219 sed 's/^/| /' conftest.$ac_ext >&5
23221 ac_cv_lib_m_cabs=no
23223 rm -f conftest.err conftest.$ac_objext \
23224 conftest$ac_exeext conftest.$ac_ext
23225 LIBS=$ac_check_lib_save_LIBS
23227 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23228 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23229 if test $ac_cv_lib_m_cabs = yes; then
23231 cat >>confdefs.h <<\_ACEOF
23232 #define HAVE_CABS 1
23237 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23238 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23239 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23240 echo $ECHO_N "(cached) $ECHO_C" >&6
23242 ac_check_lib_save_LIBS=$LIBS
23244 if test x$gcc_no_link = xyes; then
23245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23247 { (exit 1); exit 1; }; }
23249 cat >conftest.$ac_ext <<_ACEOF
23252 cat confdefs.h >>conftest.$ac_ext
23253 cat >>conftest.$ac_ext <<_ACEOF
23254 /* end confdefs.h. */
23256 /* Override any gcc2 internal prototype to avoid an error. */
23260 /* We use char because int might match the return type of a gcc2
23261 builtin and then its argument prototype would still apply. */
23271 rm -f conftest.$ac_objext conftest$ac_exeext
23272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23273 (eval $ac_link) 2>conftest.er1
23275 grep -v '^ *+' conftest.er1 >conftest.err
23277 cat conftest.err >&5
23278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23279 (exit $ac_status); } &&
23280 { ac_try='test -z "$ac_c_werror_flag"
23281 || test ! -s conftest.err'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; } &&
23287 { ac_try='test -s conftest$ac_exeext'
23288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23289 (eval $ac_try) 2>&5
23291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23292 (exit $ac_status); }; }; then
23293 ac_cv_lib_m_cabsl=yes
23295 echo "$as_me: failed program was:" >&5
23296 sed 's/^/| /' conftest.$ac_ext >&5
23298 ac_cv_lib_m_cabsl=no
23300 rm -f conftest.err conftest.$ac_objext \
23301 conftest$ac_exeext conftest.$ac_ext
23302 LIBS=$ac_check_lib_save_LIBS
23304 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23305 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23306 if test $ac_cv_lib_m_cabsl = yes; then
23308 cat >>confdefs.h <<\_ACEOF
23309 #define HAVE_CABSL 1
23314 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23315 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23316 if test "${ac_cv_lib_m_floorf+set}" = set; then
23317 echo $ECHO_N "(cached) $ECHO_C" >&6
23319 ac_check_lib_save_LIBS=$LIBS
23321 if test x$gcc_no_link = xyes; then
23322 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23323 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23324 { (exit 1); exit 1; }; }
23326 cat >conftest.$ac_ext <<_ACEOF
23329 cat confdefs.h >>conftest.$ac_ext
23330 cat >>conftest.$ac_ext <<_ACEOF
23331 /* end confdefs.h. */
23333 /* Override any gcc2 internal prototype to avoid an error. */
23337 /* We use char because int might match the return type of a gcc2
23338 builtin and then its argument prototype would still apply. */
23348 rm -f conftest.$ac_objext conftest$ac_exeext
23349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23350 (eval $ac_link) 2>conftest.er1
23352 grep -v '^ *+' conftest.er1 >conftest.err
23354 cat conftest.err >&5
23355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23356 (exit $ac_status); } &&
23357 { ac_try='test -z "$ac_c_werror_flag"
23358 || test ! -s conftest.err'
23359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23360 (eval $ac_try) 2>&5
23362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23363 (exit $ac_status); }; } &&
23364 { ac_try='test -s conftest$ac_exeext'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; }; then
23370 ac_cv_lib_m_floorf=yes
23372 echo "$as_me: failed program was:" >&5
23373 sed 's/^/| /' conftest.$ac_ext >&5
23375 ac_cv_lib_m_floorf=no
23377 rm -f conftest.err conftest.$ac_objext \
23378 conftest$ac_exeext conftest.$ac_ext
23379 LIBS=$ac_check_lib_save_LIBS
23381 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23382 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23383 if test $ac_cv_lib_m_floorf = yes; then
23385 cat >>confdefs.h <<\_ACEOF
23386 #define HAVE_FLOORF 1
23391 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23392 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23393 if test "${ac_cv_lib_m_floor+set}" = set; then
23394 echo $ECHO_N "(cached) $ECHO_C" >&6
23396 ac_check_lib_save_LIBS=$LIBS
23398 if test x$gcc_no_link = xyes; then
23399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23401 { (exit 1); exit 1; }; }
23403 cat >conftest.$ac_ext <<_ACEOF
23406 cat confdefs.h >>conftest.$ac_ext
23407 cat >>conftest.$ac_ext <<_ACEOF
23408 /* end confdefs.h. */
23410 /* Override any gcc2 internal prototype to avoid an error. */
23414 /* We use char because int might match the return type of a gcc2
23415 builtin and then its argument prototype would still apply. */
23425 rm -f conftest.$ac_objext conftest$ac_exeext
23426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23427 (eval $ac_link) 2>conftest.er1
23429 grep -v '^ *+' conftest.er1 >conftest.err
23431 cat conftest.err >&5
23432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23433 (exit $ac_status); } &&
23434 { ac_try='test -z "$ac_c_werror_flag"
23435 || test ! -s conftest.err'
23436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23437 (eval $ac_try) 2>&5
23439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23440 (exit $ac_status); }; } &&
23441 { ac_try='test -s conftest$ac_exeext'
23442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23443 (eval $ac_try) 2>&5
23445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23446 (exit $ac_status); }; }; then
23447 ac_cv_lib_m_floor=yes
23449 echo "$as_me: failed program was:" >&5
23450 sed 's/^/| /' conftest.$ac_ext >&5
23452 ac_cv_lib_m_floor=no
23454 rm -f conftest.err conftest.$ac_objext \
23455 conftest$ac_exeext conftest.$ac_ext
23456 LIBS=$ac_check_lib_save_LIBS
23458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23459 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23460 if test $ac_cv_lib_m_floor = yes; then
23462 cat >>confdefs.h <<\_ACEOF
23463 #define HAVE_FLOOR 1
23468 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23469 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23470 if test "${ac_cv_lib_m_floorl+set}" = set; then
23471 echo $ECHO_N "(cached) $ECHO_C" >&6
23473 ac_check_lib_save_LIBS=$LIBS
23475 if test x$gcc_no_link = xyes; then
23476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23478 { (exit 1); exit 1; }; }
23480 cat >conftest.$ac_ext <<_ACEOF
23483 cat confdefs.h >>conftest.$ac_ext
23484 cat >>conftest.$ac_ext <<_ACEOF
23485 /* end confdefs.h. */
23487 /* Override any gcc2 internal prototype to avoid an error. */
23491 /* We use char because int might match the return type of a gcc2
23492 builtin and then its argument prototype would still apply. */
23502 rm -f conftest.$ac_objext conftest$ac_exeext
23503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23504 (eval $ac_link) 2>conftest.er1
23506 grep -v '^ *+' conftest.er1 >conftest.err
23508 cat conftest.err >&5
23509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23510 (exit $ac_status); } &&
23511 { ac_try='test -z "$ac_c_werror_flag"
23512 || test ! -s conftest.err'
23513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23514 (eval $ac_try) 2>&5
23516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517 (exit $ac_status); }; } &&
23518 { ac_try='test -s conftest$ac_exeext'
23519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23520 (eval $ac_try) 2>&5
23522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23523 (exit $ac_status); }; }; then
23524 ac_cv_lib_m_floorl=yes
23526 echo "$as_me: failed program was:" >&5
23527 sed 's/^/| /' conftest.$ac_ext >&5
23529 ac_cv_lib_m_floorl=no
23531 rm -f conftest.err conftest.$ac_objext \
23532 conftest$ac_exeext conftest.$ac_ext
23533 LIBS=$ac_check_lib_save_LIBS
23535 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23536 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23537 if test $ac_cv_lib_m_floorl = yes; then
23539 cat >>confdefs.h <<\_ACEOF
23540 #define HAVE_FLOORL 1
23545 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23546 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23547 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23548 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 ac_check_lib_save_LIBS=$LIBS
23552 if test x$gcc_no_link = xyes; then
23553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23555 { (exit 1); exit 1; }; }
23557 cat >conftest.$ac_ext <<_ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23564 /* Override any gcc2 internal prototype to avoid an error. */
23568 /* We use char because int might match the return type of a gcc2
23569 builtin and then its argument prototype would still apply. */
23579 rm -f conftest.$ac_objext conftest$ac_exeext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23581 (eval $ac_link) 2>conftest.er1
23583 grep -v '^ *+' conftest.er1 >conftest.err
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try='test -z "$ac_c_werror_flag"
23589 || test ! -s conftest.err'
23590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23591 (eval $ac_try) 2>&5
23593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23594 (exit $ac_status); }; } &&
23595 { ac_try='test -s conftest$ac_exeext'
23596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23597 (eval $ac_try) 2>&5
23599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23600 (exit $ac_status); }; }; then
23601 ac_cv_lib_m_fmodf=yes
23603 echo "$as_me: failed program was:" >&5
23604 sed 's/^/| /' conftest.$ac_ext >&5
23606 ac_cv_lib_m_fmodf=no
23608 rm -f conftest.err conftest.$ac_objext \
23609 conftest$ac_exeext conftest.$ac_ext
23610 LIBS=$ac_check_lib_save_LIBS
23612 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23613 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23614 if test $ac_cv_lib_m_fmodf = yes; then
23616 cat >>confdefs.h <<\_ACEOF
23617 #define HAVE_FMODF 1
23622 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23623 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23624 if test "${ac_cv_lib_m_fmod+set}" = set; then
23625 echo $ECHO_N "(cached) $ECHO_C" >&6
23627 ac_check_lib_save_LIBS=$LIBS
23629 if test x$gcc_no_link = xyes; then
23630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23632 { (exit 1); exit 1; }; }
23634 cat >conftest.$ac_ext <<_ACEOF
23637 cat confdefs.h >>conftest.$ac_ext
23638 cat >>conftest.$ac_ext <<_ACEOF
23639 /* end confdefs.h. */
23641 /* Override any gcc2 internal prototype to avoid an error. */
23645 /* We use char because int might match the return type of a gcc2
23646 builtin and then its argument prototype would still apply. */
23656 rm -f conftest.$ac_objext conftest$ac_exeext
23657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23658 (eval $ac_link) 2>conftest.er1
23660 grep -v '^ *+' conftest.er1 >conftest.err
23662 cat conftest.err >&5
23663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23664 (exit $ac_status); } &&
23665 { ac_try='test -z "$ac_c_werror_flag"
23666 || test ! -s conftest.err'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; } &&
23672 { ac_try='test -s conftest$ac_exeext'
23673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23674 (eval $ac_try) 2>&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); }; }; then
23678 ac_cv_lib_m_fmod=yes
23680 echo "$as_me: failed program was:" >&5
23681 sed 's/^/| /' conftest.$ac_ext >&5
23683 ac_cv_lib_m_fmod=no
23685 rm -f conftest.err conftest.$ac_objext \
23686 conftest$ac_exeext conftest.$ac_ext
23687 LIBS=$ac_check_lib_save_LIBS
23689 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23690 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23691 if test $ac_cv_lib_m_fmod = yes; then
23693 cat >>confdefs.h <<\_ACEOF
23694 #define HAVE_FMOD 1
23699 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23700 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23701 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23702 echo $ECHO_N "(cached) $ECHO_C" >&6
23704 ac_check_lib_save_LIBS=$LIBS
23706 if test x$gcc_no_link = xyes; then
23707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23709 { (exit 1); exit 1; }; }
23711 cat >conftest.$ac_ext <<_ACEOF
23714 cat confdefs.h >>conftest.$ac_ext
23715 cat >>conftest.$ac_ext <<_ACEOF
23716 /* end confdefs.h. */
23718 /* Override any gcc2 internal prototype to avoid an error. */
23722 /* We use char because int might match the return type of a gcc2
23723 builtin and then its argument prototype would still apply. */
23733 rm -f conftest.$ac_objext conftest$ac_exeext
23734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23735 (eval $ac_link) 2>conftest.er1
23737 grep -v '^ *+' conftest.er1 >conftest.err
23739 cat conftest.err >&5
23740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23741 (exit $ac_status); } &&
23742 { ac_try='test -z "$ac_c_werror_flag"
23743 || test ! -s conftest.err'
23744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23745 (eval $ac_try) 2>&5
23747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23748 (exit $ac_status); }; } &&
23749 { ac_try='test -s conftest$ac_exeext'
23750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23751 (eval $ac_try) 2>&5
23753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23754 (exit $ac_status); }; }; then
23755 ac_cv_lib_m_fmodl=yes
23757 echo "$as_me: failed program was:" >&5
23758 sed 's/^/| /' conftest.$ac_ext >&5
23760 ac_cv_lib_m_fmodl=no
23762 rm -f conftest.err conftest.$ac_objext \
23763 conftest$ac_exeext conftest.$ac_ext
23764 LIBS=$ac_check_lib_save_LIBS
23766 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23767 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23768 if test $ac_cv_lib_m_fmodl = yes; then
23770 cat >>confdefs.h <<\_ACEOF
23771 #define HAVE_FMODL 1
23776 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23777 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23778 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23779 echo $ECHO_N "(cached) $ECHO_C" >&6
23781 ac_check_lib_save_LIBS=$LIBS
23783 if test x$gcc_no_link = xyes; then
23784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23786 { (exit 1); exit 1; }; }
23788 cat >conftest.$ac_ext <<_ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23795 /* Override any gcc2 internal prototype to avoid an error. */
23799 /* We use char because int might match the return type of a gcc2
23800 builtin and then its argument prototype would still apply. */
23810 rm -f conftest.$ac_objext conftest$ac_exeext
23811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23812 (eval $ac_link) 2>conftest.er1
23814 grep -v '^ *+' conftest.er1 >conftest.err
23816 cat conftest.err >&5
23817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23818 (exit $ac_status); } &&
23819 { ac_try='test -z "$ac_c_werror_flag"
23820 || test ! -s conftest.err'
23821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23822 (eval $ac_try) 2>&5
23824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23825 (exit $ac_status); }; } &&
23826 { ac_try='test -s conftest$ac_exeext'
23827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23828 (eval $ac_try) 2>&5
23830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23831 (exit $ac_status); }; }; then
23832 ac_cv_lib_m_frexpf=yes
23834 echo "$as_me: failed program was:" >&5
23835 sed 's/^/| /' conftest.$ac_ext >&5
23837 ac_cv_lib_m_frexpf=no
23839 rm -f conftest.err conftest.$ac_objext \
23840 conftest$ac_exeext conftest.$ac_ext
23841 LIBS=$ac_check_lib_save_LIBS
23843 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
23844 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
23845 if test $ac_cv_lib_m_frexpf = yes; then
23847 cat >>confdefs.h <<\_ACEOF
23848 #define HAVE_FREXPF 1
23853 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
23854 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
23855 if test "${ac_cv_lib_m_frexp+set}" = set; then
23856 echo $ECHO_N "(cached) $ECHO_C" >&6
23858 ac_check_lib_save_LIBS=$LIBS
23860 if test x$gcc_no_link = xyes; then
23861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23863 { (exit 1); exit 1; }; }
23865 cat >conftest.$ac_ext <<_ACEOF
23868 cat confdefs.h >>conftest.$ac_ext
23869 cat >>conftest.$ac_ext <<_ACEOF
23870 /* end confdefs.h. */
23872 /* Override any gcc2 internal prototype to avoid an error. */
23876 /* We use char because int might match the return type of a gcc2
23877 builtin and then its argument prototype would still apply. */
23887 rm -f conftest.$ac_objext conftest$ac_exeext
23888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23889 (eval $ac_link) 2>conftest.er1
23891 grep -v '^ *+' conftest.er1 >conftest.err
23893 cat conftest.err >&5
23894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23895 (exit $ac_status); } &&
23896 { ac_try='test -z "$ac_c_werror_flag"
23897 || test ! -s conftest.err'
23898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23899 (eval $ac_try) 2>&5
23901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23902 (exit $ac_status); }; } &&
23903 { ac_try='test -s conftest$ac_exeext'
23904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23905 (eval $ac_try) 2>&5
23907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23908 (exit $ac_status); }; }; then
23909 ac_cv_lib_m_frexp=yes
23911 echo "$as_me: failed program was:" >&5
23912 sed 's/^/| /' conftest.$ac_ext >&5
23914 ac_cv_lib_m_frexp=no
23916 rm -f conftest.err conftest.$ac_objext \
23917 conftest$ac_exeext conftest.$ac_ext
23918 LIBS=$ac_check_lib_save_LIBS
23920 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
23921 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
23922 if test $ac_cv_lib_m_frexp = yes; then
23924 cat >>confdefs.h <<\_ACEOF
23925 #define HAVE_FREXP 1
23930 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
23931 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
23932 if test "${ac_cv_lib_m_frexpl+set}" = set; then
23933 echo $ECHO_N "(cached) $ECHO_C" >&6
23935 ac_check_lib_save_LIBS=$LIBS
23937 if test x$gcc_no_link = xyes; then
23938 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23940 { (exit 1); exit 1; }; }
23942 cat >conftest.$ac_ext <<_ACEOF
23945 cat confdefs.h >>conftest.$ac_ext
23946 cat >>conftest.$ac_ext <<_ACEOF
23947 /* end confdefs.h. */
23949 /* Override any gcc2 internal prototype to avoid an error. */
23953 /* We use char because int might match the return type of a gcc2
23954 builtin and then its argument prototype would still apply. */
23964 rm -f conftest.$ac_objext conftest$ac_exeext
23965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23966 (eval $ac_link) 2>conftest.er1
23968 grep -v '^ *+' conftest.er1 >conftest.err
23970 cat conftest.err >&5
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); } &&
23973 { ac_try='test -z "$ac_c_werror_flag"
23974 || test ! -s conftest.err'
23975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23976 (eval $ac_try) 2>&5
23978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23979 (exit $ac_status); }; } &&
23980 { ac_try='test -s conftest$ac_exeext'
23981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23982 (eval $ac_try) 2>&5
23984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23985 (exit $ac_status); }; }; then
23986 ac_cv_lib_m_frexpl=yes
23988 echo "$as_me: failed program was:" >&5
23989 sed 's/^/| /' conftest.$ac_ext >&5
23991 ac_cv_lib_m_frexpl=no
23993 rm -f conftest.err conftest.$ac_objext \
23994 conftest$ac_exeext conftest.$ac_ext
23995 LIBS=$ac_check_lib_save_LIBS
23997 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
23998 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
23999 if test $ac_cv_lib_m_frexpl = yes; then
24001 cat >>confdefs.h <<\_ACEOF
24002 #define HAVE_FREXPL 1
24007 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24008 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24009 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24010 echo $ECHO_N "(cached) $ECHO_C" >&6
24012 ac_check_lib_save_LIBS=$LIBS
24014 if test x$gcc_no_link = xyes; then
24015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24017 { (exit 1); exit 1; }; }
24019 cat >conftest.$ac_ext <<_ACEOF
24022 cat confdefs.h >>conftest.$ac_ext
24023 cat >>conftest.$ac_ext <<_ACEOF
24024 /* end confdefs.h. */
24026 /* Override any gcc2 internal prototype to avoid an error. */
24030 /* We use char because int might match the return type of a gcc2
24031 builtin and then its argument prototype would still apply. */
24041 rm -f conftest.$ac_objext conftest$ac_exeext
24042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24043 (eval $ac_link) 2>conftest.er1
24045 grep -v '^ *+' conftest.er1 >conftest.err
24047 cat conftest.err >&5
24048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24049 (exit $ac_status); } &&
24050 { ac_try='test -z "$ac_c_werror_flag"
24051 || test ! -s conftest.err'
24052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24053 (eval $ac_try) 2>&5
24055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24056 (exit $ac_status); }; } &&
24057 { ac_try='test -s conftest$ac_exeext'
24058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24059 (eval $ac_try) 2>&5
24061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24062 (exit $ac_status); }; }; then
24063 ac_cv_lib_m_hypotf=yes
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24068 ac_cv_lib_m_hypotf=no
24070 rm -f conftest.err conftest.$ac_objext \
24071 conftest$ac_exeext conftest.$ac_ext
24072 LIBS=$ac_check_lib_save_LIBS
24074 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24075 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24076 if test $ac_cv_lib_m_hypotf = yes; then
24078 cat >>confdefs.h <<\_ACEOF
24079 #define HAVE_HYPOTF 1
24084 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24085 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24086 if test "${ac_cv_lib_m_hypot+set}" = set; then
24087 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 ac_check_lib_save_LIBS=$LIBS
24091 if test x$gcc_no_link = xyes; then
24092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24094 { (exit 1); exit 1; }; }
24096 cat >conftest.$ac_ext <<_ACEOF
24099 cat confdefs.h >>conftest.$ac_ext
24100 cat >>conftest.$ac_ext <<_ACEOF
24101 /* end confdefs.h. */
24103 /* Override any gcc2 internal prototype to avoid an error. */
24107 /* We use char because int might match the return type of a gcc2
24108 builtin and then its argument prototype would still apply. */
24118 rm -f conftest.$ac_objext conftest$ac_exeext
24119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24120 (eval $ac_link) 2>conftest.er1
24122 grep -v '^ *+' conftest.er1 >conftest.err
24124 cat conftest.err >&5
24125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24126 (exit $ac_status); } &&
24127 { ac_try='test -z "$ac_c_werror_flag"
24128 || test ! -s conftest.err'
24129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24130 (eval $ac_try) 2>&5
24132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24133 (exit $ac_status); }; } &&
24134 { ac_try='test -s conftest$ac_exeext'
24135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24136 (eval $ac_try) 2>&5
24138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24139 (exit $ac_status); }; }; then
24140 ac_cv_lib_m_hypot=yes
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24145 ac_cv_lib_m_hypot=no
24147 rm -f conftest.err conftest.$ac_objext \
24148 conftest$ac_exeext conftest.$ac_ext
24149 LIBS=$ac_check_lib_save_LIBS
24151 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24152 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24153 if test $ac_cv_lib_m_hypot = yes; then
24155 cat >>confdefs.h <<\_ACEOF
24156 #define HAVE_HYPOT 1
24161 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24162 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24163 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24166 ac_check_lib_save_LIBS=$LIBS
24168 if test x$gcc_no_link = xyes; then
24169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24171 { (exit 1); exit 1; }; }
24173 cat >conftest.$ac_ext <<_ACEOF
24176 cat confdefs.h >>conftest.$ac_ext
24177 cat >>conftest.$ac_ext <<_ACEOF
24178 /* end confdefs.h. */
24180 /* Override any gcc2 internal prototype to avoid an error. */
24184 /* We use char because int might match the return type of a gcc2
24185 builtin and then its argument prototype would still apply. */
24195 rm -f conftest.$ac_objext conftest$ac_exeext
24196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24197 (eval $ac_link) 2>conftest.er1
24199 grep -v '^ *+' conftest.er1 >conftest.err
24201 cat conftest.err >&5
24202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203 (exit $ac_status); } &&
24204 { ac_try='test -z "$ac_c_werror_flag"
24205 || test ! -s conftest.err'
24206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24207 (eval $ac_try) 2>&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); }; } &&
24211 { ac_try='test -s conftest$ac_exeext'
24212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24213 (eval $ac_try) 2>&5
24215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24216 (exit $ac_status); }; }; then
24217 ac_cv_lib_m_hypotl=yes
24219 echo "$as_me: failed program was:" >&5
24220 sed 's/^/| /' conftest.$ac_ext >&5
24222 ac_cv_lib_m_hypotl=no
24224 rm -f conftest.err conftest.$ac_objext \
24225 conftest$ac_exeext conftest.$ac_ext
24226 LIBS=$ac_check_lib_save_LIBS
24228 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24229 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24230 if test $ac_cv_lib_m_hypotl = yes; then
24232 cat >>confdefs.h <<\_ACEOF
24233 #define HAVE_HYPOTL 1
24238 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24239 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24240 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24241 echo $ECHO_N "(cached) $ECHO_C" >&6
24243 ac_check_lib_save_LIBS=$LIBS
24245 if test x$gcc_no_link = xyes; then
24246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24248 { (exit 1); exit 1; }; }
24250 cat >conftest.$ac_ext <<_ACEOF
24253 cat confdefs.h >>conftest.$ac_ext
24254 cat >>conftest.$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24257 /* Override any gcc2 internal prototype to avoid an error. */
24261 /* We use char because int might match the return type of a gcc2
24262 builtin and then its argument prototype would still apply. */
24272 rm -f conftest.$ac_objext conftest$ac_exeext
24273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24274 (eval $ac_link) 2>conftest.er1
24276 grep -v '^ *+' conftest.er1 >conftest.err
24278 cat conftest.err >&5
24279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280 (exit $ac_status); } &&
24281 { ac_try='test -z "$ac_c_werror_flag"
24282 || test ! -s conftest.err'
24283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24284 (eval $ac_try) 2>&5
24286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24287 (exit $ac_status); }; } &&
24288 { ac_try='test -s conftest$ac_exeext'
24289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24290 (eval $ac_try) 2>&5
24292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24293 (exit $ac_status); }; }; then
24294 ac_cv_lib_m_ldexpf=yes
24296 echo "$as_me: failed program was:" >&5
24297 sed 's/^/| /' conftest.$ac_ext >&5
24299 ac_cv_lib_m_ldexpf=no
24301 rm -f conftest.err conftest.$ac_objext \
24302 conftest$ac_exeext conftest.$ac_ext
24303 LIBS=$ac_check_lib_save_LIBS
24305 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24306 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24307 if test $ac_cv_lib_m_ldexpf = yes; then
24309 cat >>confdefs.h <<\_ACEOF
24310 #define HAVE_LDEXPF 1
24315 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24316 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24317 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24318 echo $ECHO_N "(cached) $ECHO_C" >&6
24320 ac_check_lib_save_LIBS=$LIBS
24322 if test x$gcc_no_link = xyes; then
24323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24325 { (exit 1); exit 1; }; }
24327 cat >conftest.$ac_ext <<_ACEOF
24330 cat confdefs.h >>conftest.$ac_ext
24331 cat >>conftest.$ac_ext <<_ACEOF
24332 /* end confdefs.h. */
24334 /* Override any gcc2 internal prototype to avoid an error. */
24338 /* We use char because int might match the return type of a gcc2
24339 builtin and then its argument prototype would still apply. */
24349 rm -f conftest.$ac_objext conftest$ac_exeext
24350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24351 (eval $ac_link) 2>conftest.er1
24353 grep -v '^ *+' conftest.er1 >conftest.err
24355 cat conftest.err >&5
24356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24357 (exit $ac_status); } &&
24358 { ac_try='test -z "$ac_c_werror_flag"
24359 || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try='test -s conftest$ac_exeext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 ac_cv_lib_m_ldexp=yes
24373 echo "$as_me: failed program was:" >&5
24374 sed 's/^/| /' conftest.$ac_ext >&5
24376 ac_cv_lib_m_ldexp=no
24378 rm -f conftest.err conftest.$ac_objext \
24379 conftest$ac_exeext conftest.$ac_ext
24380 LIBS=$ac_check_lib_save_LIBS
24382 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24383 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24384 if test $ac_cv_lib_m_ldexp = yes; then
24386 cat >>confdefs.h <<\_ACEOF
24387 #define HAVE_LDEXP 1
24392 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24393 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24394 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24395 echo $ECHO_N "(cached) $ECHO_C" >&6
24397 ac_check_lib_save_LIBS=$LIBS
24399 if test x$gcc_no_link = xyes; then
24400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24402 { (exit 1); exit 1; }; }
24404 cat >conftest.$ac_ext <<_ACEOF
24407 cat confdefs.h >>conftest.$ac_ext
24408 cat >>conftest.$ac_ext <<_ACEOF
24409 /* end confdefs.h. */
24411 /* Override any gcc2 internal prototype to avoid an error. */
24415 /* We use char because int might match the return type of a gcc2
24416 builtin and then its argument prototype would still apply. */
24426 rm -f conftest.$ac_objext conftest$ac_exeext
24427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24428 (eval $ac_link) 2>conftest.er1
24430 grep -v '^ *+' conftest.er1 >conftest.err
24432 cat conftest.err >&5
24433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24434 (exit $ac_status); } &&
24435 { ac_try='test -z "$ac_c_werror_flag"
24436 || test ! -s conftest.err'
24437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24438 (eval $ac_try) 2>&5
24440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24441 (exit $ac_status); }; } &&
24442 { ac_try='test -s conftest$ac_exeext'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; }; then
24448 ac_cv_lib_m_ldexpl=yes
24450 echo "$as_me: failed program was:" >&5
24451 sed 's/^/| /' conftest.$ac_ext >&5
24453 ac_cv_lib_m_ldexpl=no
24455 rm -f conftest.err conftest.$ac_objext \
24456 conftest$ac_exeext conftest.$ac_ext
24457 LIBS=$ac_check_lib_save_LIBS
24459 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24460 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24461 if test $ac_cv_lib_m_ldexpl = yes; then
24463 cat >>confdefs.h <<\_ACEOF
24464 #define HAVE_LDEXPL 1
24469 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24470 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24471 if test "${ac_cv_lib_m_logf+set}" = set; then
24472 echo $ECHO_N "(cached) $ECHO_C" >&6
24474 ac_check_lib_save_LIBS=$LIBS
24476 if test x$gcc_no_link = xyes; then
24477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24479 { (exit 1); exit 1; }; }
24481 cat >conftest.$ac_ext <<_ACEOF
24484 cat confdefs.h >>conftest.$ac_ext
24485 cat >>conftest.$ac_ext <<_ACEOF
24486 /* end confdefs.h. */
24488 /* Override any gcc2 internal prototype to avoid an error. */
24492 /* We use char because int might match the return type of a gcc2
24493 builtin and then its argument prototype would still apply. */
24503 rm -f conftest.$ac_objext conftest$ac_exeext
24504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24505 (eval $ac_link) 2>conftest.er1
24507 grep -v '^ *+' conftest.er1 >conftest.err
24509 cat conftest.err >&5
24510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24511 (exit $ac_status); } &&
24512 { ac_try='test -z "$ac_c_werror_flag"
24513 || test ! -s conftest.err'
24514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24515 (eval $ac_try) 2>&5
24517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24518 (exit $ac_status); }; } &&
24519 { ac_try='test -s conftest$ac_exeext'
24520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24521 (eval $ac_try) 2>&5
24523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24524 (exit $ac_status); }; }; then
24525 ac_cv_lib_m_logf=yes
24527 echo "$as_me: failed program was:" >&5
24528 sed 's/^/| /' conftest.$ac_ext >&5
24530 ac_cv_lib_m_logf=no
24532 rm -f conftest.err conftest.$ac_objext \
24533 conftest$ac_exeext conftest.$ac_ext
24534 LIBS=$ac_check_lib_save_LIBS
24536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24537 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24538 if test $ac_cv_lib_m_logf = yes; then
24540 cat >>confdefs.h <<\_ACEOF
24541 #define HAVE_LOGF 1
24546 echo "$as_me:$LINENO: checking for log in -lm" >&5
24547 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24548 if test "${ac_cv_lib_m_log+set}" = set; then
24549 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 ac_check_lib_save_LIBS=$LIBS
24553 if test x$gcc_no_link = xyes; then
24554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24556 { (exit 1); exit 1; }; }
24558 cat >conftest.$ac_ext <<_ACEOF
24561 cat confdefs.h >>conftest.$ac_ext
24562 cat >>conftest.$ac_ext <<_ACEOF
24563 /* end confdefs.h. */
24565 /* Override any gcc2 internal prototype to avoid an error. */
24569 /* We use char because int might match the return type of a gcc2
24570 builtin and then its argument prototype would still apply. */
24580 rm -f conftest.$ac_objext conftest$ac_exeext
24581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24582 (eval $ac_link) 2>conftest.er1
24584 grep -v '^ *+' conftest.er1 >conftest.err
24586 cat conftest.err >&5
24587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24588 (exit $ac_status); } &&
24589 { ac_try='test -z "$ac_c_werror_flag"
24590 || test ! -s conftest.err'
24591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24592 (eval $ac_try) 2>&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); }; } &&
24596 { ac_try='test -s conftest$ac_exeext'
24597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24598 (eval $ac_try) 2>&5
24600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24601 (exit $ac_status); }; }; then
24602 ac_cv_lib_m_log=yes
24604 echo "$as_me: failed program was:" >&5
24605 sed 's/^/| /' conftest.$ac_ext >&5
24609 rm -f conftest.err conftest.$ac_objext \
24610 conftest$ac_exeext conftest.$ac_ext
24611 LIBS=$ac_check_lib_save_LIBS
24613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24614 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24615 if test $ac_cv_lib_m_log = yes; then
24617 cat >>confdefs.h <<\_ACEOF
24623 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24624 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24625 if test "${ac_cv_lib_m_logl+set}" = set; then
24626 echo $ECHO_N "(cached) $ECHO_C" >&6
24628 ac_check_lib_save_LIBS=$LIBS
24630 if test x$gcc_no_link = xyes; then
24631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24633 { (exit 1); exit 1; }; }
24635 cat >conftest.$ac_ext <<_ACEOF
24638 cat confdefs.h >>conftest.$ac_ext
24639 cat >>conftest.$ac_ext <<_ACEOF
24640 /* end confdefs.h. */
24642 /* Override any gcc2 internal prototype to avoid an error. */
24646 /* We use char because int might match the return type of a gcc2
24647 builtin and then its argument prototype would still apply. */
24657 rm -f conftest.$ac_objext conftest$ac_exeext
24658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24659 (eval $ac_link) 2>conftest.er1
24661 grep -v '^ *+' conftest.er1 >conftest.err
24663 cat conftest.err >&5
24664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24665 (exit $ac_status); } &&
24666 { ac_try='test -z "$ac_c_werror_flag"
24667 || test ! -s conftest.err'
24668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24669 (eval $ac_try) 2>&5
24671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24672 (exit $ac_status); }; } &&
24673 { ac_try='test -s conftest$ac_exeext'
24674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24675 (eval $ac_try) 2>&5
24677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24678 (exit $ac_status); }; }; then
24679 ac_cv_lib_m_logl=yes
24681 echo "$as_me: failed program was:" >&5
24682 sed 's/^/| /' conftest.$ac_ext >&5
24684 ac_cv_lib_m_logl=no
24686 rm -f conftest.err conftest.$ac_objext \
24687 conftest$ac_exeext conftest.$ac_ext
24688 LIBS=$ac_check_lib_save_LIBS
24690 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24691 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24692 if test $ac_cv_lib_m_logl = yes; then
24694 cat >>confdefs.h <<\_ACEOF
24695 #define HAVE_LOGL 1
24700 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24701 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24702 if test "${ac_cv_lib_m_clogf+set}" = set; then
24703 echo $ECHO_N "(cached) $ECHO_C" >&6
24705 ac_check_lib_save_LIBS=$LIBS
24707 if test x$gcc_no_link = xyes; then
24708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24710 { (exit 1); exit 1; }; }
24712 cat >conftest.$ac_ext <<_ACEOF
24715 cat confdefs.h >>conftest.$ac_ext
24716 cat >>conftest.$ac_ext <<_ACEOF
24717 /* end confdefs.h. */
24719 /* Override any gcc2 internal prototype to avoid an error. */
24723 /* We use char because int might match the return type of a gcc2
24724 builtin and then its argument prototype would still apply. */
24734 rm -f conftest.$ac_objext conftest$ac_exeext
24735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24736 (eval $ac_link) 2>conftest.er1
24738 grep -v '^ *+' conftest.er1 >conftest.err
24740 cat conftest.err >&5
24741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24742 (exit $ac_status); } &&
24743 { ac_try='test -z "$ac_c_werror_flag"
24744 || test ! -s conftest.err'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; } &&
24750 { ac_try='test -s conftest$ac_exeext'
24751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752 (eval $ac_try) 2>&5
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; }; then
24756 ac_cv_lib_m_clogf=yes
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24761 ac_cv_lib_m_clogf=no
24763 rm -f conftest.err conftest.$ac_objext \
24764 conftest$ac_exeext conftest.$ac_ext
24765 LIBS=$ac_check_lib_save_LIBS
24767 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24768 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24769 if test $ac_cv_lib_m_clogf = yes; then
24771 cat >>confdefs.h <<\_ACEOF
24772 #define HAVE_CLOGF 1
24777 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24778 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24779 if test "${ac_cv_lib_m_clog+set}" = set; then
24780 echo $ECHO_N "(cached) $ECHO_C" >&6
24782 ac_check_lib_save_LIBS=$LIBS
24784 if test x$gcc_no_link = xyes; then
24785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24787 { (exit 1); exit 1; }; }
24789 cat >conftest.$ac_ext <<_ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24796 /* Override any gcc2 internal prototype to avoid an error. */
24800 /* We use char because int might match the return type of a gcc2
24801 builtin and then its argument prototype would still apply. */
24811 rm -f conftest.$ac_objext conftest$ac_exeext
24812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24813 (eval $ac_link) 2>conftest.er1
24815 grep -v '^ *+' conftest.er1 >conftest.err
24817 cat conftest.err >&5
24818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819 (exit $ac_status); } &&
24820 { ac_try='test -z "$ac_c_werror_flag"
24821 || test ! -s conftest.err'
24822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823 (eval $ac_try) 2>&5
24825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826 (exit $ac_status); }; } &&
24827 { ac_try='test -s conftest$ac_exeext'
24828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829 (eval $ac_try) 2>&5
24831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832 (exit $ac_status); }; }; then
24833 ac_cv_lib_m_clog=yes
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24838 ac_cv_lib_m_clog=no
24840 rm -f conftest.err conftest.$ac_objext \
24841 conftest$ac_exeext conftest.$ac_ext
24842 LIBS=$ac_check_lib_save_LIBS
24844 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
24845 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
24846 if test $ac_cv_lib_m_clog = yes; then
24848 cat >>confdefs.h <<\_ACEOF
24849 #define HAVE_CLOG 1
24854 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
24855 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
24856 if test "${ac_cv_lib_m_clogl+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24859 ac_check_lib_save_LIBS=$LIBS
24861 if test x$gcc_no_link = xyes; then
24862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24864 { (exit 1); exit 1; }; }
24866 cat >conftest.$ac_ext <<_ACEOF
24869 cat confdefs.h >>conftest.$ac_ext
24870 cat >>conftest.$ac_ext <<_ACEOF
24871 /* end confdefs.h. */
24873 /* Override any gcc2 internal prototype to avoid an error. */
24877 /* We use char because int might match the return type of a gcc2
24878 builtin and then its argument prototype would still apply. */
24888 rm -f conftest.$ac_objext conftest$ac_exeext
24889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24890 (eval $ac_link) 2>conftest.er1
24892 grep -v '^ *+' conftest.er1 >conftest.err
24894 cat conftest.err >&5
24895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24896 (exit $ac_status); } &&
24897 { ac_try='test -z "$ac_c_werror_flag"
24898 || test ! -s conftest.err'
24899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24900 (eval $ac_try) 2>&5
24902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24903 (exit $ac_status); }; } &&
24904 { ac_try='test -s conftest$ac_exeext'
24905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24906 (eval $ac_try) 2>&5
24908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24909 (exit $ac_status); }; }; then
24910 ac_cv_lib_m_clogl=yes
24912 echo "$as_me: failed program was:" >&5
24913 sed 's/^/| /' conftest.$ac_ext >&5
24915 ac_cv_lib_m_clogl=no
24917 rm -f conftest.err conftest.$ac_objext \
24918 conftest$ac_exeext conftest.$ac_ext
24919 LIBS=$ac_check_lib_save_LIBS
24921 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
24922 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
24923 if test $ac_cv_lib_m_clogl = yes; then
24925 cat >>confdefs.h <<\_ACEOF
24926 #define HAVE_CLOGL 1
24931 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
24932 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
24933 if test "${ac_cv_lib_m_log10f+set}" = set; then
24934 echo $ECHO_N "(cached) $ECHO_C" >&6
24936 ac_check_lib_save_LIBS=$LIBS
24938 if test x$gcc_no_link = xyes; then
24939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24941 { (exit 1); exit 1; }; }
24943 cat >conftest.$ac_ext <<_ACEOF
24946 cat confdefs.h >>conftest.$ac_ext
24947 cat >>conftest.$ac_ext <<_ACEOF
24948 /* end confdefs.h. */
24950 /* Override any gcc2 internal prototype to avoid an error. */
24954 /* We use char because int might match the return type of a gcc2
24955 builtin and then its argument prototype would still apply. */
24965 rm -f conftest.$ac_objext conftest$ac_exeext
24966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24967 (eval $ac_link) 2>conftest.er1
24969 grep -v '^ *+' conftest.er1 >conftest.err
24971 cat conftest.err >&5
24972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24973 (exit $ac_status); } &&
24974 { ac_try='test -z "$ac_c_werror_flag"
24975 || test ! -s conftest.err'
24976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24977 (eval $ac_try) 2>&5
24979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24980 (exit $ac_status); }; } &&
24981 { ac_try='test -s conftest$ac_exeext'
24982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24983 (eval $ac_try) 2>&5
24985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24986 (exit $ac_status); }; }; then
24987 ac_cv_lib_m_log10f=yes
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24992 ac_cv_lib_m_log10f=no
24994 rm -f conftest.err conftest.$ac_objext \
24995 conftest$ac_exeext conftest.$ac_ext
24996 LIBS=$ac_check_lib_save_LIBS
24998 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
24999 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25000 if test $ac_cv_lib_m_log10f = yes; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define HAVE_LOG10F 1
25008 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25009 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25010 if test "${ac_cv_lib_m_log10+set}" = set; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25013 ac_check_lib_save_LIBS=$LIBS
25015 if test x$gcc_no_link = xyes; then
25016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25018 { (exit 1); exit 1; }; }
25020 cat >conftest.$ac_ext <<_ACEOF
25023 cat confdefs.h >>conftest.$ac_ext
25024 cat >>conftest.$ac_ext <<_ACEOF
25025 /* end confdefs.h. */
25027 /* Override any gcc2 internal prototype to avoid an error. */
25031 /* We use char because int might match the return type of a gcc2
25032 builtin and then its argument prototype would still apply. */
25042 rm -f conftest.$ac_objext conftest$ac_exeext
25043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25044 (eval $ac_link) 2>conftest.er1
25046 grep -v '^ *+' conftest.er1 >conftest.err
25048 cat conftest.err >&5
25049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25050 (exit $ac_status); } &&
25051 { ac_try='test -z "$ac_c_werror_flag"
25052 || test ! -s conftest.err'
25053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25054 (eval $ac_try) 2>&5
25056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25057 (exit $ac_status); }; } &&
25058 { ac_try='test -s conftest$ac_exeext'
25059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25060 (eval $ac_try) 2>&5
25062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25063 (exit $ac_status); }; }; then
25064 ac_cv_lib_m_log10=yes
25066 echo "$as_me: failed program was:" >&5
25067 sed 's/^/| /' conftest.$ac_ext >&5
25069 ac_cv_lib_m_log10=no
25071 rm -f conftest.err conftest.$ac_objext \
25072 conftest$ac_exeext conftest.$ac_ext
25073 LIBS=$ac_check_lib_save_LIBS
25075 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25076 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25077 if test $ac_cv_lib_m_log10 = yes; then
25079 cat >>confdefs.h <<\_ACEOF
25080 #define HAVE_LOG10 1
25085 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25086 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25087 if test "${ac_cv_lib_m_log10l+set}" = set; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25090 ac_check_lib_save_LIBS=$LIBS
25092 if test x$gcc_no_link = xyes; then
25093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25095 { (exit 1); exit 1; }; }
25097 cat >conftest.$ac_ext <<_ACEOF
25100 cat confdefs.h >>conftest.$ac_ext
25101 cat >>conftest.$ac_ext <<_ACEOF
25102 /* end confdefs.h. */
25104 /* Override any gcc2 internal prototype to avoid an error. */
25108 /* We use char because int might match the return type of a gcc2
25109 builtin and then its argument prototype would still apply. */
25119 rm -f conftest.$ac_objext conftest$ac_exeext
25120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25121 (eval $ac_link) 2>conftest.er1
25123 grep -v '^ *+' conftest.er1 >conftest.err
25125 cat conftest.err >&5
25126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25127 (exit $ac_status); } &&
25128 { ac_try='test -z "$ac_c_werror_flag"
25129 || test ! -s conftest.err'
25130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25131 (eval $ac_try) 2>&5
25133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25134 (exit $ac_status); }; } &&
25135 { ac_try='test -s conftest$ac_exeext'
25136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25137 (eval $ac_try) 2>&5
25139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25140 (exit $ac_status); }; }; then
25141 ac_cv_lib_m_log10l=yes
25143 echo "$as_me: failed program was:" >&5
25144 sed 's/^/| /' conftest.$ac_ext >&5
25146 ac_cv_lib_m_log10l=no
25148 rm -f conftest.err conftest.$ac_objext \
25149 conftest$ac_exeext conftest.$ac_ext
25150 LIBS=$ac_check_lib_save_LIBS
25152 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25153 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25154 if test $ac_cv_lib_m_log10l = yes; then
25156 cat >>confdefs.h <<\_ACEOF
25157 #define HAVE_LOG10L 1
25162 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25163 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25164 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25165 echo $ECHO_N "(cached) $ECHO_C" >&6
25167 ac_check_lib_save_LIBS=$LIBS
25169 if test x$gcc_no_link = xyes; then
25170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25172 { (exit 1); exit 1; }; }
25174 cat >conftest.$ac_ext <<_ACEOF
25177 cat confdefs.h >>conftest.$ac_ext
25178 cat >>conftest.$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25181 /* Override any gcc2 internal prototype to avoid an error. */
25185 /* We use char because int might match the return type of a gcc2
25186 builtin and then its argument prototype would still apply. */
25196 rm -f conftest.$ac_objext conftest$ac_exeext
25197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25198 (eval $ac_link) 2>conftest.er1
25200 grep -v '^ *+' conftest.er1 >conftest.err
25202 cat conftest.err >&5
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); } &&
25205 { ac_try='test -z "$ac_c_werror_flag"
25206 || test ! -s conftest.err'
25207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25208 (eval $ac_try) 2>&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); }; } &&
25212 { ac_try='test -s conftest$ac_exeext'
25213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25214 (eval $ac_try) 2>&5
25216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25217 (exit $ac_status); }; }; then
25218 ac_cv_lib_m_clog10f=yes
25220 echo "$as_me: failed program was:" >&5
25221 sed 's/^/| /' conftest.$ac_ext >&5
25223 ac_cv_lib_m_clog10f=no
25225 rm -f conftest.err conftest.$ac_objext \
25226 conftest$ac_exeext conftest.$ac_ext
25227 LIBS=$ac_check_lib_save_LIBS
25229 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25230 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25231 if test $ac_cv_lib_m_clog10f = yes; then
25233 cat >>confdefs.h <<\_ACEOF
25234 #define HAVE_CLOG10F 1
25239 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25240 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25241 if test "${ac_cv_lib_m_clog10+set}" = set; then
25242 echo $ECHO_N "(cached) $ECHO_C" >&6
25244 ac_check_lib_save_LIBS=$LIBS
25246 if test x$gcc_no_link = xyes; then
25247 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25248 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25249 { (exit 1); exit 1; }; }
25251 cat >conftest.$ac_ext <<_ACEOF
25254 cat confdefs.h >>conftest.$ac_ext
25255 cat >>conftest.$ac_ext <<_ACEOF
25256 /* end confdefs.h. */
25258 /* Override any gcc2 internal prototype to avoid an error. */
25262 /* We use char because int might match the return type of a gcc2
25263 builtin and then its argument prototype would still apply. */
25273 rm -f conftest.$ac_objext conftest$ac_exeext
25274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25275 (eval $ac_link) 2>conftest.er1
25277 grep -v '^ *+' conftest.er1 >conftest.err
25279 cat conftest.err >&5
25280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25281 (exit $ac_status); } &&
25282 { ac_try='test -z "$ac_c_werror_flag"
25283 || test ! -s conftest.err'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; } &&
25289 { ac_try='test -s conftest$ac_exeext'
25290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25291 (eval $ac_try) 2>&5
25293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25294 (exit $ac_status); }; }; then
25295 ac_cv_lib_m_clog10=yes
25297 echo "$as_me: failed program was:" >&5
25298 sed 's/^/| /' conftest.$ac_ext >&5
25300 ac_cv_lib_m_clog10=no
25302 rm -f conftest.err conftest.$ac_objext \
25303 conftest$ac_exeext conftest.$ac_ext
25304 LIBS=$ac_check_lib_save_LIBS
25306 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25307 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25308 if test $ac_cv_lib_m_clog10 = yes; then
25310 cat >>confdefs.h <<\_ACEOF
25311 #define HAVE_CLOG10 1
25316 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25317 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25318 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25319 echo $ECHO_N "(cached) $ECHO_C" >&6
25321 ac_check_lib_save_LIBS=$LIBS
25323 if test x$gcc_no_link = xyes; then
25324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25326 { (exit 1); exit 1; }; }
25328 cat >conftest.$ac_ext <<_ACEOF
25331 cat confdefs.h >>conftest.$ac_ext
25332 cat >>conftest.$ac_ext <<_ACEOF
25333 /* end confdefs.h. */
25335 /* Override any gcc2 internal prototype to avoid an error. */
25339 /* We use char because int might match the return type of a gcc2
25340 builtin and then its argument prototype would still apply. */
25350 rm -f conftest.$ac_objext conftest$ac_exeext
25351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25352 (eval $ac_link) 2>conftest.er1
25354 grep -v '^ *+' conftest.er1 >conftest.err
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } &&
25359 { ac_try='test -z "$ac_c_werror_flag"
25360 || test ! -s conftest.err'
25361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25362 (eval $ac_try) 2>&5
25364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25365 (exit $ac_status); }; } &&
25366 { ac_try='test -s conftest$ac_exeext'
25367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25368 (eval $ac_try) 2>&5
25370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25371 (exit $ac_status); }; }; then
25372 ac_cv_lib_m_clog10l=yes
25374 echo "$as_me: failed program was:" >&5
25375 sed 's/^/| /' conftest.$ac_ext >&5
25377 ac_cv_lib_m_clog10l=no
25379 rm -f conftest.err conftest.$ac_objext \
25380 conftest$ac_exeext conftest.$ac_ext
25381 LIBS=$ac_check_lib_save_LIBS
25383 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25384 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25385 if test $ac_cv_lib_m_clog10l = yes; then
25387 cat >>confdefs.h <<\_ACEOF
25388 #define HAVE_CLOG10L 1
25393 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25394 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25395 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25398 ac_check_lib_save_LIBS=$LIBS
25400 if test x$gcc_no_link = xyes; then
25401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25403 { (exit 1); exit 1; }; }
25405 cat >conftest.$ac_ext <<_ACEOF
25408 cat confdefs.h >>conftest.$ac_ext
25409 cat >>conftest.$ac_ext <<_ACEOF
25410 /* end confdefs.h. */
25412 /* Override any gcc2 internal prototype to avoid an error. */
25416 /* We use char because int might match the return type of a gcc2
25417 builtin and then its argument prototype would still apply. */
25418 char nextafterf ();
25427 rm -f conftest.$ac_objext conftest$ac_exeext
25428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25429 (eval $ac_link) 2>conftest.er1
25431 grep -v '^ *+' conftest.er1 >conftest.err
25433 cat conftest.err >&5
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); } &&
25436 { ac_try='test -z "$ac_c_werror_flag"
25437 || test ! -s conftest.err'
25438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25439 (eval $ac_try) 2>&5
25441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25442 (exit $ac_status); }; } &&
25443 { ac_try='test -s conftest$ac_exeext'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; }; then
25449 ac_cv_lib_m_nextafterf=yes
25451 echo "$as_me: failed program was:" >&5
25452 sed 's/^/| /' conftest.$ac_ext >&5
25454 ac_cv_lib_m_nextafterf=no
25456 rm -f conftest.err conftest.$ac_objext \
25457 conftest$ac_exeext conftest.$ac_ext
25458 LIBS=$ac_check_lib_save_LIBS
25460 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25461 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25462 if test $ac_cv_lib_m_nextafterf = yes; then
25464 cat >>confdefs.h <<\_ACEOF
25465 #define HAVE_NEXTAFTERF 1
25470 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25471 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25472 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25473 echo $ECHO_N "(cached) $ECHO_C" >&6
25475 ac_check_lib_save_LIBS=$LIBS
25477 if test x$gcc_no_link = xyes; then
25478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25480 { (exit 1); exit 1; }; }
25482 cat >conftest.$ac_ext <<_ACEOF
25485 cat confdefs.h >>conftest.$ac_ext
25486 cat >>conftest.$ac_ext <<_ACEOF
25487 /* end confdefs.h. */
25489 /* Override any gcc2 internal prototype to avoid an error. */
25493 /* We use char because int might match the return type of a gcc2
25494 builtin and then its argument prototype would still apply. */
25504 rm -f conftest.$ac_objext conftest$ac_exeext
25505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25506 (eval $ac_link) 2>conftest.er1
25508 grep -v '^ *+' conftest.er1 >conftest.err
25510 cat conftest.err >&5
25511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25512 (exit $ac_status); } &&
25513 { ac_try='test -z "$ac_c_werror_flag"
25514 || test ! -s conftest.err'
25515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25516 (eval $ac_try) 2>&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); }; } &&
25520 { ac_try='test -s conftest$ac_exeext'
25521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25522 (eval $ac_try) 2>&5
25524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25525 (exit $ac_status); }; }; then
25526 ac_cv_lib_m_nextafter=yes
25528 echo "$as_me: failed program was:" >&5
25529 sed 's/^/| /' conftest.$ac_ext >&5
25531 ac_cv_lib_m_nextafter=no
25533 rm -f conftest.err conftest.$ac_objext \
25534 conftest$ac_exeext conftest.$ac_ext
25535 LIBS=$ac_check_lib_save_LIBS
25537 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25538 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25539 if test $ac_cv_lib_m_nextafter = yes; then
25541 cat >>confdefs.h <<\_ACEOF
25542 #define HAVE_NEXTAFTER 1
25547 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25548 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25549 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25550 echo $ECHO_N "(cached) $ECHO_C" >&6
25552 ac_check_lib_save_LIBS=$LIBS
25554 if test x$gcc_no_link = xyes; then
25555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25557 { (exit 1); exit 1; }; }
25559 cat >conftest.$ac_ext <<_ACEOF
25562 cat confdefs.h >>conftest.$ac_ext
25563 cat >>conftest.$ac_ext <<_ACEOF
25564 /* end confdefs.h. */
25566 /* Override any gcc2 internal prototype to avoid an error. */
25570 /* We use char because int might match the return type of a gcc2
25571 builtin and then its argument prototype would still apply. */
25572 char nextafterl ();
25581 rm -f conftest.$ac_objext conftest$ac_exeext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25583 (eval $ac_link) 2>conftest.er1
25585 grep -v '^ *+' conftest.er1 >conftest.err
25587 cat conftest.err >&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); } &&
25590 { ac_try='test -z "$ac_c_werror_flag"
25591 || test ! -s conftest.err'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; } &&
25597 { ac_try='test -s conftest$ac_exeext'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; }; then
25603 ac_cv_lib_m_nextafterl=yes
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25608 ac_cv_lib_m_nextafterl=no
25610 rm -f conftest.err conftest.$ac_objext \
25611 conftest$ac_exeext conftest.$ac_ext
25612 LIBS=$ac_check_lib_save_LIBS
25614 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25615 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25616 if test $ac_cv_lib_m_nextafterl = yes; then
25618 cat >>confdefs.h <<\_ACEOF
25619 #define HAVE_NEXTAFTERL 1
25624 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25625 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25626 if test "${ac_cv_lib_m_powf+set}" = set; then
25627 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 ac_check_lib_save_LIBS=$LIBS
25631 if test x$gcc_no_link = xyes; then
25632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25634 { (exit 1); exit 1; }; }
25636 cat >conftest.$ac_ext <<_ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25643 /* Override any gcc2 internal prototype to avoid an error. */
25647 /* We use char because int might match the return type of a gcc2
25648 builtin and then its argument prototype would still apply. */
25658 rm -f conftest.$ac_objext conftest$ac_exeext
25659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25660 (eval $ac_link) 2>conftest.er1
25662 grep -v '^ *+' conftest.er1 >conftest.err
25664 cat conftest.err >&5
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); } &&
25667 { ac_try='test -z "$ac_c_werror_flag"
25668 || test ! -s conftest.err'
25669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25670 (eval $ac_try) 2>&5
25672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25673 (exit $ac_status); }; } &&
25674 { ac_try='test -s conftest$ac_exeext'
25675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25676 (eval $ac_try) 2>&5
25678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25679 (exit $ac_status); }; }; then
25680 ac_cv_lib_m_powf=yes
25682 echo "$as_me: failed program was:" >&5
25683 sed 's/^/| /' conftest.$ac_ext >&5
25685 ac_cv_lib_m_powf=no
25687 rm -f conftest.err conftest.$ac_objext \
25688 conftest$ac_exeext conftest.$ac_ext
25689 LIBS=$ac_check_lib_save_LIBS
25691 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25692 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25693 if test $ac_cv_lib_m_powf = yes; then
25695 cat >>confdefs.h <<\_ACEOF
25696 #define HAVE_POWF 1
25701 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25702 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25703 if test "${ac_cv_lib_m_pow+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25706 ac_check_lib_save_LIBS=$LIBS
25708 if test x$gcc_no_link = xyes; then
25709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25711 { (exit 1); exit 1; }; }
25713 cat >conftest.$ac_ext <<_ACEOF
25716 cat confdefs.h >>conftest.$ac_ext
25717 cat >>conftest.$ac_ext <<_ACEOF
25718 /* end confdefs.h. */
25720 /* Override any gcc2 internal prototype to avoid an error. */
25724 /* We use char because int might match the return type of a gcc2
25725 builtin and then its argument prototype would still apply. */
25735 rm -f conftest.$ac_objext conftest$ac_exeext
25736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25737 (eval $ac_link) 2>conftest.er1
25739 grep -v '^ *+' conftest.er1 >conftest.err
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } &&
25744 { ac_try='test -z "$ac_c_werror_flag"
25745 || test ! -s conftest.err'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; } &&
25751 { ac_try='test -s conftest$ac_exeext'
25752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25753 (eval $ac_try) 2>&5
25755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25756 (exit $ac_status); }; }; then
25757 ac_cv_lib_m_pow=yes
25759 echo "$as_me: failed program was:" >&5
25760 sed 's/^/| /' conftest.$ac_ext >&5
25764 rm -f conftest.err conftest.$ac_objext \
25765 conftest$ac_exeext conftest.$ac_ext
25766 LIBS=$ac_check_lib_save_LIBS
25768 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25769 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25770 if test $ac_cv_lib_m_pow = yes; then
25772 cat >>confdefs.h <<\_ACEOF
25778 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25779 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25780 if test "${ac_cv_lib_m_powl+set}" = set; then
25781 echo $ECHO_N "(cached) $ECHO_C" >&6
25783 ac_check_lib_save_LIBS=$LIBS
25785 if test x$gcc_no_link = xyes; then
25786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25788 { (exit 1); exit 1; }; }
25790 cat >conftest.$ac_ext <<_ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25797 /* Override any gcc2 internal prototype to avoid an error. */
25801 /* We use char because int might match the return type of a gcc2
25802 builtin and then its argument prototype would still apply. */
25812 rm -f conftest.$ac_objext conftest$ac_exeext
25813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25814 (eval $ac_link) 2>conftest.er1
25816 grep -v '^ *+' conftest.er1 >conftest.err
25818 cat conftest.err >&5
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); } &&
25821 { ac_try='test -z "$ac_c_werror_flag"
25822 || test ! -s conftest.err'
25823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25824 (eval $ac_try) 2>&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); }; } &&
25828 { ac_try='test -s conftest$ac_exeext'
25829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25830 (eval $ac_try) 2>&5
25832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25833 (exit $ac_status); }; }; then
25834 ac_cv_lib_m_powl=yes
25836 echo "$as_me: failed program was:" >&5
25837 sed 's/^/| /' conftest.$ac_ext >&5
25839 ac_cv_lib_m_powl=no
25841 rm -f conftest.err conftest.$ac_objext \
25842 conftest$ac_exeext conftest.$ac_ext
25843 LIBS=$ac_check_lib_save_LIBS
25845 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
25846 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
25847 if test $ac_cv_lib_m_powl = yes; then
25849 cat >>confdefs.h <<\_ACEOF
25850 #define HAVE_POWL 1
25855 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
25856 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
25857 if test "${ac_cv_lib_m_cpowf+set}" = set; then
25858 echo $ECHO_N "(cached) $ECHO_C" >&6
25860 ac_check_lib_save_LIBS=$LIBS
25862 if test x$gcc_no_link = xyes; then
25863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25865 { (exit 1); exit 1; }; }
25867 cat >conftest.$ac_ext <<_ACEOF
25870 cat confdefs.h >>conftest.$ac_ext
25871 cat >>conftest.$ac_ext <<_ACEOF
25872 /* end confdefs.h. */
25874 /* Override any gcc2 internal prototype to avoid an error. */
25878 /* We use char because int might match the return type of a gcc2
25879 builtin and then its argument prototype would still apply. */
25889 rm -f conftest.$ac_objext conftest$ac_exeext
25890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25891 (eval $ac_link) 2>conftest.er1
25893 grep -v '^ *+' conftest.er1 >conftest.err
25895 cat conftest.err >&5
25896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25897 (exit $ac_status); } &&
25898 { ac_try='test -z "$ac_c_werror_flag"
25899 || test ! -s conftest.err'
25900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25901 (eval $ac_try) 2>&5
25903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25904 (exit $ac_status); }; } &&
25905 { ac_try='test -s conftest$ac_exeext'
25906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25907 (eval $ac_try) 2>&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); }; }; then
25911 ac_cv_lib_m_cpowf=yes
25913 echo "$as_me: failed program was:" >&5
25914 sed 's/^/| /' conftest.$ac_ext >&5
25916 ac_cv_lib_m_cpowf=no
25918 rm -f conftest.err conftest.$ac_objext \
25919 conftest$ac_exeext conftest.$ac_ext
25920 LIBS=$ac_check_lib_save_LIBS
25922 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
25923 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
25924 if test $ac_cv_lib_m_cpowf = yes; then
25926 cat >>confdefs.h <<\_ACEOF
25927 #define HAVE_CPOWF 1
25932 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
25933 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
25934 if test "${ac_cv_lib_m_cpow+set}" = set; then
25935 echo $ECHO_N "(cached) $ECHO_C" >&6
25937 ac_check_lib_save_LIBS=$LIBS
25939 if test x$gcc_no_link = xyes; then
25940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25942 { (exit 1); exit 1; }; }
25944 cat >conftest.$ac_ext <<_ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25951 /* Override any gcc2 internal prototype to avoid an error. */
25955 /* We use char because int might match the return type of a gcc2
25956 builtin and then its argument prototype would still apply. */
25966 rm -f conftest.$ac_objext conftest$ac_exeext
25967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25968 (eval $ac_link) 2>conftest.er1
25970 grep -v '^ *+' conftest.er1 >conftest.err
25972 cat conftest.err >&5
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); } &&
25975 { ac_try='test -z "$ac_c_werror_flag"
25976 || test ! -s conftest.err'
25977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25978 (eval $ac_try) 2>&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); }; } &&
25982 { ac_try='test -s conftest$ac_exeext'
25983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25984 (eval $ac_try) 2>&5
25986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25987 (exit $ac_status); }; }; then
25988 ac_cv_lib_m_cpow=yes
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.$ac_ext >&5
25993 ac_cv_lib_m_cpow=no
25995 rm -f conftest.err conftest.$ac_objext \
25996 conftest$ac_exeext conftest.$ac_ext
25997 LIBS=$ac_check_lib_save_LIBS
25999 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26000 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26001 if test $ac_cv_lib_m_cpow = yes; then
26003 cat >>confdefs.h <<\_ACEOF
26004 #define HAVE_CPOW 1
26009 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26010 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26011 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26012 echo $ECHO_N "(cached) $ECHO_C" >&6
26014 ac_check_lib_save_LIBS=$LIBS
26016 if test x$gcc_no_link = xyes; then
26017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26019 { (exit 1); exit 1; }; }
26021 cat >conftest.$ac_ext <<_ACEOF
26024 cat confdefs.h >>conftest.$ac_ext
26025 cat >>conftest.$ac_ext <<_ACEOF
26026 /* end confdefs.h. */
26028 /* Override any gcc2 internal prototype to avoid an error. */
26032 /* We use char because int might match the return type of a gcc2
26033 builtin and then its argument prototype would still apply. */
26043 rm -f conftest.$ac_objext conftest$ac_exeext
26044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26045 (eval $ac_link) 2>conftest.er1
26047 grep -v '^ *+' conftest.er1 >conftest.err
26049 cat conftest.err >&5
26050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051 (exit $ac_status); } &&
26052 { ac_try='test -z "$ac_c_werror_flag"
26053 || test ! -s conftest.err'
26054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055 (eval $ac_try) 2>&5
26057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058 (exit $ac_status); }; } &&
26059 { ac_try='test -s conftest$ac_exeext'
26060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061 (eval $ac_try) 2>&5
26063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064 (exit $ac_status); }; }; then
26065 ac_cv_lib_m_cpowl=yes
26067 echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26070 ac_cv_lib_m_cpowl=no
26072 rm -f conftest.err conftest.$ac_objext \
26073 conftest$ac_exeext conftest.$ac_ext
26074 LIBS=$ac_check_lib_save_LIBS
26076 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26077 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26078 if test $ac_cv_lib_m_cpowl = yes; then
26080 cat >>confdefs.h <<\_ACEOF
26081 #define HAVE_CPOWL 1
26086 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26087 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26088 if test "${ac_cv_lib_m_roundf+set}" = set; then
26089 echo $ECHO_N "(cached) $ECHO_C" >&6
26091 ac_check_lib_save_LIBS=$LIBS
26093 if test x$gcc_no_link = xyes; then
26094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26096 { (exit 1); exit 1; }; }
26098 cat >conftest.$ac_ext <<_ACEOF
26101 cat confdefs.h >>conftest.$ac_ext
26102 cat >>conftest.$ac_ext <<_ACEOF
26103 /* end confdefs.h. */
26105 /* Override any gcc2 internal prototype to avoid an error. */
26109 /* We use char because int might match the return type of a gcc2
26110 builtin and then its argument prototype would still apply. */
26120 rm -f conftest.$ac_objext conftest$ac_exeext
26121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26122 (eval $ac_link) 2>conftest.er1
26124 grep -v '^ *+' conftest.er1 >conftest.err
26126 cat conftest.err >&5
26127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26128 (exit $ac_status); } &&
26129 { ac_try='test -z "$ac_c_werror_flag"
26130 || test ! -s conftest.err'
26131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26132 (eval $ac_try) 2>&5
26134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26135 (exit $ac_status); }; } &&
26136 { ac_try='test -s conftest$ac_exeext'
26137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26138 (eval $ac_try) 2>&5
26140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26141 (exit $ac_status); }; }; then
26142 ac_cv_lib_m_roundf=yes
26144 echo "$as_me: failed program was:" >&5
26145 sed 's/^/| /' conftest.$ac_ext >&5
26147 ac_cv_lib_m_roundf=no
26149 rm -f conftest.err conftest.$ac_objext \
26150 conftest$ac_exeext conftest.$ac_ext
26151 LIBS=$ac_check_lib_save_LIBS
26153 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26154 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26155 if test $ac_cv_lib_m_roundf = yes; then
26157 cat >>confdefs.h <<\_ACEOF
26158 #define HAVE_ROUNDF 1
26163 echo "$as_me:$LINENO: checking for round in -lm" >&5
26164 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26165 if test "${ac_cv_lib_m_round+set}" = set; then
26166 echo $ECHO_N "(cached) $ECHO_C" >&6
26168 ac_check_lib_save_LIBS=$LIBS
26170 if test x$gcc_no_link = xyes; then
26171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26173 { (exit 1); exit 1; }; }
26175 cat >conftest.$ac_ext <<_ACEOF
26178 cat confdefs.h >>conftest.$ac_ext
26179 cat >>conftest.$ac_ext <<_ACEOF
26180 /* end confdefs.h. */
26182 /* Override any gcc2 internal prototype to avoid an error. */
26186 /* We use char because int might match the return type of a gcc2
26187 builtin and then its argument prototype would still apply. */
26197 rm -f conftest.$ac_objext conftest$ac_exeext
26198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26199 (eval $ac_link) 2>conftest.er1
26201 grep -v '^ *+' conftest.er1 >conftest.err
26203 cat conftest.err >&5
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); } &&
26206 { ac_try='test -z "$ac_c_werror_flag"
26207 || test ! -s conftest.err'
26208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26209 (eval $ac_try) 2>&5
26211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26212 (exit $ac_status); }; } &&
26213 { ac_try='test -s conftest$ac_exeext'
26214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26215 (eval $ac_try) 2>&5
26217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26218 (exit $ac_status); }; }; then
26219 ac_cv_lib_m_round=yes
26221 echo "$as_me: failed program was:" >&5
26222 sed 's/^/| /' conftest.$ac_ext >&5
26224 ac_cv_lib_m_round=no
26226 rm -f conftest.err conftest.$ac_objext \
26227 conftest$ac_exeext conftest.$ac_ext
26228 LIBS=$ac_check_lib_save_LIBS
26230 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26231 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26232 if test $ac_cv_lib_m_round = yes; then
26234 cat >>confdefs.h <<\_ACEOF
26235 #define HAVE_ROUND 1
26240 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26241 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26242 if test "${ac_cv_lib_m_roundl+set}" = set; then
26243 echo $ECHO_N "(cached) $ECHO_C" >&6
26245 ac_check_lib_save_LIBS=$LIBS
26247 if test x$gcc_no_link = xyes; then
26248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26250 { (exit 1); exit 1; }; }
26252 cat >conftest.$ac_ext <<_ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26259 /* Override any gcc2 internal prototype to avoid an error. */
26263 /* We use char because int might match the return type of a gcc2
26264 builtin and then its argument prototype would still apply. */
26274 rm -f conftest.$ac_objext conftest$ac_exeext
26275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26276 (eval $ac_link) 2>conftest.er1
26278 grep -v '^ *+' conftest.er1 >conftest.err
26280 cat conftest.err >&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } &&
26283 { ac_try='test -z "$ac_c_werror_flag"
26284 || test ! -s conftest.err'
26285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26286 (eval $ac_try) 2>&5
26288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26289 (exit $ac_status); }; } &&
26290 { ac_try='test -s conftest$ac_exeext'
26291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26292 (eval $ac_try) 2>&5
26294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26295 (exit $ac_status); }; }; then
26296 ac_cv_lib_m_roundl=yes
26298 echo "$as_me: failed program was:" >&5
26299 sed 's/^/| /' conftest.$ac_ext >&5
26301 ac_cv_lib_m_roundl=no
26303 rm -f conftest.err conftest.$ac_objext \
26304 conftest$ac_exeext conftest.$ac_ext
26305 LIBS=$ac_check_lib_save_LIBS
26307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26308 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26309 if test $ac_cv_lib_m_roundl = yes; then
26311 cat >>confdefs.h <<\_ACEOF
26312 #define HAVE_ROUNDL 1
26317 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26318 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26319 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26320 echo $ECHO_N "(cached) $ECHO_C" >&6
26322 ac_check_lib_save_LIBS=$LIBS
26324 if test x$gcc_no_link = xyes; then
26325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26327 { (exit 1); exit 1; }; }
26329 cat >conftest.$ac_ext <<_ACEOF
26332 cat confdefs.h >>conftest.$ac_ext
26333 cat >>conftest.$ac_ext <<_ACEOF
26334 /* end confdefs.h. */
26336 /* Override any gcc2 internal prototype to avoid an error. */
26340 /* We use char because int might match the return type of a gcc2
26341 builtin and then its argument prototype would still apply. */
26351 rm -f conftest.$ac_objext conftest$ac_exeext
26352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26353 (eval $ac_link) 2>conftest.er1
26355 grep -v '^ *+' conftest.er1 >conftest.err
26357 cat conftest.err >&5
26358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26359 (exit $ac_status); } &&
26360 { ac_try='test -z "$ac_c_werror_flag"
26361 || test ! -s conftest.err'
26362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26363 (eval $ac_try) 2>&5
26365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26366 (exit $ac_status); }; } &&
26367 { ac_try='test -s conftest$ac_exeext'
26368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26369 (eval $ac_try) 2>&5
26371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26372 (exit $ac_status); }; }; then
26373 ac_cv_lib_m_lroundf=yes
26375 echo "$as_me: failed program was:" >&5
26376 sed 's/^/| /' conftest.$ac_ext >&5
26378 ac_cv_lib_m_lroundf=no
26380 rm -f conftest.err conftest.$ac_objext \
26381 conftest$ac_exeext conftest.$ac_ext
26382 LIBS=$ac_check_lib_save_LIBS
26384 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26385 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26386 if test $ac_cv_lib_m_lroundf = yes; then
26388 cat >>confdefs.h <<\_ACEOF
26389 #define HAVE_LROUNDF 1
26394 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26395 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26396 if test "${ac_cv_lib_m_lround+set}" = set; then
26397 echo $ECHO_N "(cached) $ECHO_C" >&6
26399 ac_check_lib_save_LIBS=$LIBS
26401 if test x$gcc_no_link = xyes; then
26402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26404 { (exit 1); exit 1; }; }
26406 cat >conftest.$ac_ext <<_ACEOF
26409 cat confdefs.h >>conftest.$ac_ext
26410 cat >>conftest.$ac_ext <<_ACEOF
26411 /* end confdefs.h. */
26413 /* Override any gcc2 internal prototype to avoid an error. */
26417 /* We use char because int might match the return type of a gcc2
26418 builtin and then its argument prototype would still apply. */
26428 rm -f conftest.$ac_objext conftest$ac_exeext
26429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26430 (eval $ac_link) 2>conftest.er1
26432 grep -v '^ *+' conftest.er1 >conftest.err
26434 cat conftest.err >&5
26435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26436 (exit $ac_status); } &&
26437 { ac_try='test -z "$ac_c_werror_flag"
26438 || test ! -s conftest.err'
26439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26440 (eval $ac_try) 2>&5
26442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26443 (exit $ac_status); }; } &&
26444 { ac_try='test -s conftest$ac_exeext'
26445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26446 (eval $ac_try) 2>&5
26448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26449 (exit $ac_status); }; }; then
26450 ac_cv_lib_m_lround=yes
26452 echo "$as_me: failed program was:" >&5
26453 sed 's/^/| /' conftest.$ac_ext >&5
26455 ac_cv_lib_m_lround=no
26457 rm -f conftest.err conftest.$ac_objext \
26458 conftest$ac_exeext conftest.$ac_ext
26459 LIBS=$ac_check_lib_save_LIBS
26461 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26462 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26463 if test $ac_cv_lib_m_lround = yes; then
26465 cat >>confdefs.h <<\_ACEOF
26466 #define HAVE_LROUND 1
26471 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26472 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26473 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26474 echo $ECHO_N "(cached) $ECHO_C" >&6
26476 ac_check_lib_save_LIBS=$LIBS
26478 if test x$gcc_no_link = xyes; then
26479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26481 { (exit 1); exit 1; }; }
26483 cat >conftest.$ac_ext <<_ACEOF
26486 cat confdefs.h >>conftest.$ac_ext
26487 cat >>conftest.$ac_ext <<_ACEOF
26488 /* end confdefs.h. */
26490 /* Override any gcc2 internal prototype to avoid an error. */
26494 /* We use char because int might match the return type of a gcc2
26495 builtin and then its argument prototype would still apply. */
26505 rm -f conftest.$ac_objext conftest$ac_exeext
26506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26507 (eval $ac_link) 2>conftest.er1
26509 grep -v '^ *+' conftest.er1 >conftest.err
26511 cat conftest.err >&5
26512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26513 (exit $ac_status); } &&
26514 { ac_try='test -z "$ac_c_werror_flag"
26515 || test ! -s conftest.err'
26516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26517 (eval $ac_try) 2>&5
26519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26520 (exit $ac_status); }; } &&
26521 { ac_try='test -s conftest$ac_exeext'
26522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26523 (eval $ac_try) 2>&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); }; }; then
26527 ac_cv_lib_m_lroundl=yes
26529 echo "$as_me: failed program was:" >&5
26530 sed 's/^/| /' conftest.$ac_ext >&5
26532 ac_cv_lib_m_lroundl=no
26534 rm -f conftest.err conftest.$ac_objext \
26535 conftest$ac_exeext conftest.$ac_ext
26536 LIBS=$ac_check_lib_save_LIBS
26538 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26539 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26540 if test $ac_cv_lib_m_lroundl = yes; then
26542 cat >>confdefs.h <<\_ACEOF
26543 #define HAVE_LROUNDL 1
26548 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26549 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26550 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26551 echo $ECHO_N "(cached) $ECHO_C" >&6
26553 ac_check_lib_save_LIBS=$LIBS
26555 if test x$gcc_no_link = xyes; then
26556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26558 { (exit 1); exit 1; }; }
26560 cat >conftest.$ac_ext <<_ACEOF
26563 cat confdefs.h >>conftest.$ac_ext
26564 cat >>conftest.$ac_ext <<_ACEOF
26565 /* end confdefs.h. */
26567 /* Override any gcc2 internal prototype to avoid an error. */
26571 /* We use char because int might match the return type of a gcc2
26572 builtin and then its argument prototype would still apply. */
26582 rm -f conftest.$ac_objext conftest$ac_exeext
26583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26584 (eval $ac_link) 2>conftest.er1
26586 grep -v '^ *+' conftest.er1 >conftest.err
26588 cat conftest.err >&5
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); } &&
26591 { ac_try='test -z "$ac_c_werror_flag"
26592 || test ! -s conftest.err'
26593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26594 (eval $ac_try) 2>&5
26596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26597 (exit $ac_status); }; } &&
26598 { ac_try='test -s conftest$ac_exeext'
26599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26600 (eval $ac_try) 2>&5
26602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26603 (exit $ac_status); }; }; then
26604 ac_cv_lib_m_llroundf=yes
26606 echo "$as_me: failed program was:" >&5
26607 sed 's/^/| /' conftest.$ac_ext >&5
26609 ac_cv_lib_m_llroundf=no
26611 rm -f conftest.err conftest.$ac_objext \
26612 conftest$ac_exeext conftest.$ac_ext
26613 LIBS=$ac_check_lib_save_LIBS
26615 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26616 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26617 if test $ac_cv_lib_m_llroundf = yes; then
26619 cat >>confdefs.h <<\_ACEOF
26620 #define HAVE_LLROUNDF 1
26625 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26626 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26627 if test "${ac_cv_lib_m_llround+set}" = set; then
26628 echo $ECHO_N "(cached) $ECHO_C" >&6
26630 ac_check_lib_save_LIBS=$LIBS
26632 if test x$gcc_no_link = xyes; then
26633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26635 { (exit 1); exit 1; }; }
26637 cat >conftest.$ac_ext <<_ACEOF
26640 cat confdefs.h >>conftest.$ac_ext
26641 cat >>conftest.$ac_ext <<_ACEOF
26642 /* end confdefs.h. */
26644 /* Override any gcc2 internal prototype to avoid an error. */
26648 /* We use char because int might match the return type of a gcc2
26649 builtin and then its argument prototype would still apply. */
26659 rm -f conftest.$ac_objext conftest$ac_exeext
26660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26661 (eval $ac_link) 2>conftest.er1
26663 grep -v '^ *+' conftest.er1 >conftest.err
26665 cat conftest.err >&5
26666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26667 (exit $ac_status); } &&
26668 { ac_try='test -z "$ac_c_werror_flag"
26669 || test ! -s conftest.err'
26670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26671 (eval $ac_try) 2>&5
26673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26674 (exit $ac_status); }; } &&
26675 { ac_try='test -s conftest$ac_exeext'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; }; then
26681 ac_cv_lib_m_llround=yes
26683 echo "$as_me: failed program was:" >&5
26684 sed 's/^/| /' conftest.$ac_ext >&5
26686 ac_cv_lib_m_llround=no
26688 rm -f conftest.err conftest.$ac_objext \
26689 conftest$ac_exeext conftest.$ac_ext
26690 LIBS=$ac_check_lib_save_LIBS
26692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26693 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26694 if test $ac_cv_lib_m_llround = yes; then
26696 cat >>confdefs.h <<\_ACEOF
26697 #define HAVE_LLROUND 1
26702 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26703 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26704 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26705 echo $ECHO_N "(cached) $ECHO_C" >&6
26707 ac_check_lib_save_LIBS=$LIBS
26709 if test x$gcc_no_link = xyes; then
26710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26712 { (exit 1); exit 1; }; }
26714 cat >conftest.$ac_ext <<_ACEOF
26717 cat confdefs.h >>conftest.$ac_ext
26718 cat >>conftest.$ac_ext <<_ACEOF
26719 /* end confdefs.h. */
26721 /* Override any gcc2 internal prototype to avoid an error. */
26725 /* We use char because int might match the return type of a gcc2
26726 builtin and then its argument prototype would still apply. */
26736 rm -f conftest.$ac_objext conftest$ac_exeext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26738 (eval $ac_link) 2>conftest.er1
26740 grep -v '^ *+' conftest.er1 >conftest.err
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_c_werror_flag"
26746 || test ! -s conftest.err'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; } &&
26752 { ac_try='test -s conftest$ac_exeext'
26753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26754 (eval $ac_try) 2>&5
26756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26757 (exit $ac_status); }; }; then
26758 ac_cv_lib_m_llroundl=yes
26760 echo "$as_me: failed program was:" >&5
26761 sed 's/^/| /' conftest.$ac_ext >&5
26763 ac_cv_lib_m_llroundl=no
26765 rm -f conftest.err conftest.$ac_objext \
26766 conftest$ac_exeext conftest.$ac_ext
26767 LIBS=$ac_check_lib_save_LIBS
26769 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26770 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26771 if test $ac_cv_lib_m_llroundl = yes; then
26773 cat >>confdefs.h <<\_ACEOF
26774 #define HAVE_LLROUNDL 1
26779 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26780 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26781 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26782 echo $ECHO_N "(cached) $ECHO_C" >&6
26784 ac_check_lib_save_LIBS=$LIBS
26786 if test x$gcc_no_link = xyes; then
26787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26789 { (exit 1); exit 1; }; }
26791 cat >conftest.$ac_ext <<_ACEOF
26794 cat confdefs.h >>conftest.$ac_ext
26795 cat >>conftest.$ac_ext <<_ACEOF
26796 /* end confdefs.h. */
26798 /* Override any gcc2 internal prototype to avoid an error. */
26802 /* We use char because int might match the return type of a gcc2
26803 builtin and then its argument prototype would still apply. */
26813 rm -f conftest.$ac_objext conftest$ac_exeext
26814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26815 (eval $ac_link) 2>conftest.er1
26817 grep -v '^ *+' conftest.er1 >conftest.err
26819 cat conftest.err >&5
26820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26821 (exit $ac_status); } &&
26822 { ac_try='test -z "$ac_c_werror_flag"
26823 || test ! -s conftest.err'
26824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26825 (eval $ac_try) 2>&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); }; } &&
26829 { ac_try='test -s conftest$ac_exeext'
26830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26831 (eval $ac_try) 2>&5
26833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26834 (exit $ac_status); }; }; then
26835 ac_cv_lib_m_scalbnf=yes
26837 echo "$as_me: failed program was:" >&5
26838 sed 's/^/| /' conftest.$ac_ext >&5
26840 ac_cv_lib_m_scalbnf=no
26842 rm -f conftest.err conftest.$ac_objext \
26843 conftest$ac_exeext conftest.$ac_ext
26844 LIBS=$ac_check_lib_save_LIBS
26846 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
26847 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
26848 if test $ac_cv_lib_m_scalbnf = yes; then
26850 cat >>confdefs.h <<\_ACEOF
26851 #define HAVE_SCALBNF 1
26856 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
26857 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
26858 if test "${ac_cv_lib_m_scalbn+set}" = set; then
26859 echo $ECHO_N "(cached) $ECHO_C" >&6
26861 ac_check_lib_save_LIBS=$LIBS
26863 if test x$gcc_no_link = xyes; then
26864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26866 { (exit 1); exit 1; }; }
26868 cat >conftest.$ac_ext <<_ACEOF
26871 cat confdefs.h >>conftest.$ac_ext
26872 cat >>conftest.$ac_ext <<_ACEOF
26873 /* end confdefs.h. */
26875 /* Override any gcc2 internal prototype to avoid an error. */
26879 /* We use char because int might match the return type of a gcc2
26880 builtin and then its argument prototype would still apply. */
26890 rm -f conftest.$ac_objext conftest$ac_exeext
26891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26892 (eval $ac_link) 2>conftest.er1
26894 grep -v '^ *+' conftest.er1 >conftest.err
26896 cat conftest.err >&5
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); } &&
26899 { ac_try='test -z "$ac_c_werror_flag"
26900 || test ! -s conftest.err'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; } &&
26906 { ac_try='test -s conftest$ac_exeext'
26907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26908 (eval $ac_try) 2>&5
26910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26911 (exit $ac_status); }; }; then
26912 ac_cv_lib_m_scalbn=yes
26914 echo "$as_me: failed program was:" >&5
26915 sed 's/^/| /' conftest.$ac_ext >&5
26917 ac_cv_lib_m_scalbn=no
26919 rm -f conftest.err conftest.$ac_objext \
26920 conftest$ac_exeext conftest.$ac_ext
26921 LIBS=$ac_check_lib_save_LIBS
26923 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
26924 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
26925 if test $ac_cv_lib_m_scalbn = yes; then
26927 cat >>confdefs.h <<\_ACEOF
26928 #define HAVE_SCALBN 1
26933 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
26934 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
26935 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26938 ac_check_lib_save_LIBS=$LIBS
26940 if test x$gcc_no_link = xyes; then
26941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26943 { (exit 1); exit 1; }; }
26945 cat >conftest.$ac_ext <<_ACEOF
26948 cat confdefs.h >>conftest.$ac_ext
26949 cat >>conftest.$ac_ext <<_ACEOF
26950 /* end confdefs.h. */
26952 /* Override any gcc2 internal prototype to avoid an error. */
26956 /* We use char because int might match the return type of a gcc2
26957 builtin and then its argument prototype would still apply. */
26967 rm -f conftest.$ac_objext conftest$ac_exeext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26969 (eval $ac_link) 2>conftest.er1
26971 grep -v '^ *+' conftest.er1 >conftest.err
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_c_werror_flag"
26977 || test ! -s conftest.err'
26978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26979 (eval $ac_try) 2>&5
26981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26982 (exit $ac_status); }; } &&
26983 { ac_try='test -s conftest$ac_exeext'
26984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26985 (eval $ac_try) 2>&5
26987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26988 (exit $ac_status); }; }; then
26989 ac_cv_lib_m_scalbnl=yes
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26994 ac_cv_lib_m_scalbnl=no
26996 rm -f conftest.err conftest.$ac_objext \
26997 conftest$ac_exeext conftest.$ac_ext
26998 LIBS=$ac_check_lib_save_LIBS
27000 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27001 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27002 if test $ac_cv_lib_m_scalbnl = yes; then
27004 cat >>confdefs.h <<\_ACEOF
27005 #define HAVE_SCALBNL 1
27010 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27011 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27012 if test "${ac_cv_lib_m_sinf+set}" = set; then
27013 echo $ECHO_N "(cached) $ECHO_C" >&6
27015 ac_check_lib_save_LIBS=$LIBS
27017 if test x$gcc_no_link = xyes; then
27018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27020 { (exit 1); exit 1; }; }
27022 cat >conftest.$ac_ext <<_ACEOF
27025 cat confdefs.h >>conftest.$ac_ext
27026 cat >>conftest.$ac_ext <<_ACEOF
27027 /* end confdefs.h. */
27029 /* Override any gcc2 internal prototype to avoid an error. */
27033 /* We use char because int might match the return type of a gcc2
27034 builtin and then its argument prototype would still apply. */
27044 rm -f conftest.$ac_objext conftest$ac_exeext
27045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27046 (eval $ac_link) 2>conftest.er1
27048 grep -v '^ *+' conftest.er1 >conftest.err
27050 cat conftest.err >&5
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); } &&
27053 { ac_try='test -z "$ac_c_werror_flag"
27054 || test ! -s conftest.err'
27055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27056 (eval $ac_try) 2>&5
27058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27059 (exit $ac_status); }; } &&
27060 { ac_try='test -s conftest$ac_exeext'
27061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27062 (eval $ac_try) 2>&5
27064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27065 (exit $ac_status); }; }; then
27066 ac_cv_lib_m_sinf=yes
27068 echo "$as_me: failed program was:" >&5
27069 sed 's/^/| /' conftest.$ac_ext >&5
27071 ac_cv_lib_m_sinf=no
27073 rm -f conftest.err conftest.$ac_objext \
27074 conftest$ac_exeext conftest.$ac_ext
27075 LIBS=$ac_check_lib_save_LIBS
27077 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27078 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27079 if test $ac_cv_lib_m_sinf = yes; then
27081 cat >>confdefs.h <<\_ACEOF
27082 #define HAVE_SINF 1
27087 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27088 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27089 if test "${ac_cv_lib_m_sin+set}" = set; then
27090 echo $ECHO_N "(cached) $ECHO_C" >&6
27092 ac_check_lib_save_LIBS=$LIBS
27094 if test x$gcc_no_link = xyes; then
27095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27097 { (exit 1); exit 1; }; }
27099 cat >conftest.$ac_ext <<_ACEOF
27102 cat confdefs.h >>conftest.$ac_ext
27103 cat >>conftest.$ac_ext <<_ACEOF
27104 /* end confdefs.h. */
27106 /* Override any gcc2 internal prototype to avoid an error. */
27110 /* We use char because int might match the return type of a gcc2
27111 builtin and then its argument prototype would still apply. */
27121 rm -f conftest.$ac_objext conftest$ac_exeext
27122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27123 (eval $ac_link) 2>conftest.er1
27125 grep -v '^ *+' conftest.er1 >conftest.err
27127 cat conftest.err >&5
27128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27129 (exit $ac_status); } &&
27130 { ac_try='test -z "$ac_c_werror_flag"
27131 || test ! -s conftest.err'
27132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27133 (eval $ac_try) 2>&5
27135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27136 (exit $ac_status); }; } &&
27137 { ac_try='test -s conftest$ac_exeext'
27138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27139 (eval $ac_try) 2>&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); }; }; then
27143 ac_cv_lib_m_sin=yes
27145 echo "$as_me: failed program was:" >&5
27146 sed 's/^/| /' conftest.$ac_ext >&5
27150 rm -f conftest.err conftest.$ac_objext \
27151 conftest$ac_exeext conftest.$ac_ext
27152 LIBS=$ac_check_lib_save_LIBS
27154 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27155 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27156 if test $ac_cv_lib_m_sin = yes; then
27158 cat >>confdefs.h <<\_ACEOF
27164 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27165 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27166 if test "${ac_cv_lib_m_sinl+set}" = set; then
27167 echo $ECHO_N "(cached) $ECHO_C" >&6
27169 ac_check_lib_save_LIBS=$LIBS
27171 if test x$gcc_no_link = xyes; then
27172 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27174 { (exit 1); exit 1; }; }
27176 cat >conftest.$ac_ext <<_ACEOF
27179 cat confdefs.h >>conftest.$ac_ext
27180 cat >>conftest.$ac_ext <<_ACEOF
27181 /* end confdefs.h. */
27183 /* Override any gcc2 internal prototype to avoid an error. */
27187 /* We use char because int might match the return type of a gcc2
27188 builtin and then its argument prototype would still apply. */
27198 rm -f conftest.$ac_objext conftest$ac_exeext
27199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27200 (eval $ac_link) 2>conftest.er1
27202 grep -v '^ *+' conftest.er1 >conftest.err
27204 cat conftest.err >&5
27205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27206 (exit $ac_status); } &&
27207 { ac_try='test -z "$ac_c_werror_flag"
27208 || test ! -s conftest.err'
27209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27210 (eval $ac_try) 2>&5
27212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27213 (exit $ac_status); }; } &&
27214 { ac_try='test -s conftest$ac_exeext'
27215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27216 (eval $ac_try) 2>&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); }; }; then
27220 ac_cv_lib_m_sinl=yes
27222 echo "$as_me: failed program was:" >&5
27223 sed 's/^/| /' conftest.$ac_ext >&5
27225 ac_cv_lib_m_sinl=no
27227 rm -f conftest.err conftest.$ac_objext \
27228 conftest$ac_exeext conftest.$ac_ext
27229 LIBS=$ac_check_lib_save_LIBS
27231 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27232 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27233 if test $ac_cv_lib_m_sinl = yes; then
27235 cat >>confdefs.h <<\_ACEOF
27236 #define HAVE_SINL 1
27241 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27242 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27243 if test "${ac_cv_lib_m_csinf+set}" = set; then
27244 echo $ECHO_N "(cached) $ECHO_C" >&6
27246 ac_check_lib_save_LIBS=$LIBS
27248 if test x$gcc_no_link = xyes; then
27249 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27250 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27251 { (exit 1); exit 1; }; }
27253 cat >conftest.$ac_ext <<_ACEOF
27256 cat confdefs.h >>conftest.$ac_ext
27257 cat >>conftest.$ac_ext <<_ACEOF
27258 /* end confdefs.h. */
27260 /* Override any gcc2 internal prototype to avoid an error. */
27264 /* We use char because int might match the return type of a gcc2
27265 builtin and then its argument prototype would still apply. */
27275 rm -f conftest.$ac_objext conftest$ac_exeext
27276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27277 (eval $ac_link) 2>conftest.er1
27279 grep -v '^ *+' conftest.er1 >conftest.err
27281 cat conftest.err >&5
27282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27283 (exit $ac_status); } &&
27284 { ac_try='test -z "$ac_c_werror_flag"
27285 || test ! -s conftest.err'
27286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27287 (eval $ac_try) 2>&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); }; } &&
27291 { ac_try='test -s conftest$ac_exeext'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; }; then
27297 ac_cv_lib_m_csinf=yes
27299 echo "$as_me: failed program was:" >&5
27300 sed 's/^/| /' conftest.$ac_ext >&5
27302 ac_cv_lib_m_csinf=no
27304 rm -f conftest.err conftest.$ac_objext \
27305 conftest$ac_exeext conftest.$ac_ext
27306 LIBS=$ac_check_lib_save_LIBS
27308 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27309 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27310 if test $ac_cv_lib_m_csinf = yes; then
27312 cat >>confdefs.h <<\_ACEOF
27313 #define HAVE_CSINF 1
27318 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27319 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27320 if test "${ac_cv_lib_m_csin+set}" = set; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27323 ac_check_lib_save_LIBS=$LIBS
27325 if test x$gcc_no_link = xyes; then
27326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27328 { (exit 1); exit 1; }; }
27330 cat >conftest.$ac_ext <<_ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27337 /* Override any gcc2 internal prototype to avoid an error. */
27341 /* We use char because int might match the return type of a gcc2
27342 builtin and then its argument prototype would still apply. */
27352 rm -f conftest.$ac_objext conftest$ac_exeext
27353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27354 (eval $ac_link) 2>conftest.er1
27356 grep -v '^ *+' conftest.er1 >conftest.err
27358 cat conftest.err >&5
27359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27360 (exit $ac_status); } &&
27361 { ac_try='test -z "$ac_c_werror_flag"
27362 || test ! -s conftest.err'
27363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27364 (eval $ac_try) 2>&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); }; } &&
27368 { ac_try='test -s conftest$ac_exeext'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; }; then
27374 ac_cv_lib_m_csin=yes
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27379 ac_cv_lib_m_csin=no
27381 rm -f conftest.err conftest.$ac_objext \
27382 conftest$ac_exeext conftest.$ac_ext
27383 LIBS=$ac_check_lib_save_LIBS
27385 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27386 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27387 if test $ac_cv_lib_m_csin = yes; then
27389 cat >>confdefs.h <<\_ACEOF
27390 #define HAVE_CSIN 1
27395 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27396 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27397 if test "${ac_cv_lib_m_csinl+set}" = set; then
27398 echo $ECHO_N "(cached) $ECHO_C" >&6
27400 ac_check_lib_save_LIBS=$LIBS
27402 if test x$gcc_no_link = xyes; then
27403 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27404 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27405 { (exit 1); exit 1; }; }
27407 cat >conftest.$ac_ext <<_ACEOF
27410 cat confdefs.h >>conftest.$ac_ext
27411 cat >>conftest.$ac_ext <<_ACEOF
27412 /* end confdefs.h. */
27414 /* Override any gcc2 internal prototype to avoid an error. */
27418 /* We use char because int might match the return type of a gcc2
27419 builtin and then its argument prototype would still apply. */
27429 rm -f conftest.$ac_objext conftest$ac_exeext
27430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27431 (eval $ac_link) 2>conftest.er1
27433 grep -v '^ *+' conftest.er1 >conftest.err
27435 cat conftest.err >&5
27436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27437 (exit $ac_status); } &&
27438 { ac_try='test -z "$ac_c_werror_flag"
27439 || test ! -s conftest.err'
27440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27441 (eval $ac_try) 2>&5
27443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27444 (exit $ac_status); }; } &&
27445 { ac_try='test -s conftest$ac_exeext'
27446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27447 (eval $ac_try) 2>&5
27449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27450 (exit $ac_status); }; }; then
27451 ac_cv_lib_m_csinl=yes
27453 echo "$as_me: failed program was:" >&5
27454 sed 's/^/| /' conftest.$ac_ext >&5
27456 ac_cv_lib_m_csinl=no
27458 rm -f conftest.err conftest.$ac_objext \
27459 conftest$ac_exeext conftest.$ac_ext
27460 LIBS=$ac_check_lib_save_LIBS
27462 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27463 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27464 if test $ac_cv_lib_m_csinl = yes; then
27466 cat >>confdefs.h <<\_ACEOF
27467 #define HAVE_CSINL 1
27472 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27473 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27474 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27475 echo $ECHO_N "(cached) $ECHO_C" >&6
27477 ac_check_lib_save_LIBS=$LIBS
27479 if test x$gcc_no_link = xyes; then
27480 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27482 { (exit 1); exit 1; }; }
27484 cat >conftest.$ac_ext <<_ACEOF
27487 cat confdefs.h >>conftest.$ac_ext
27488 cat >>conftest.$ac_ext <<_ACEOF
27489 /* end confdefs.h. */
27491 /* Override any gcc2 internal prototype to avoid an error. */
27495 /* We use char because int might match the return type of a gcc2
27496 builtin and then its argument prototype would still apply. */
27506 rm -f conftest.$ac_objext conftest$ac_exeext
27507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27508 (eval $ac_link) 2>conftest.er1
27510 grep -v '^ *+' conftest.er1 >conftest.err
27512 cat conftest.err >&5
27513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27514 (exit $ac_status); } &&
27515 { ac_try='test -z "$ac_c_werror_flag"
27516 || test ! -s conftest.err'
27517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27518 (eval $ac_try) 2>&5
27520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27521 (exit $ac_status); }; } &&
27522 { ac_try='test -s conftest$ac_exeext'
27523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27524 (eval $ac_try) 2>&5
27526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27527 (exit $ac_status); }; }; then
27528 ac_cv_lib_m_sinhf=yes
27530 echo "$as_me: failed program was:" >&5
27531 sed 's/^/| /' conftest.$ac_ext >&5
27533 ac_cv_lib_m_sinhf=no
27535 rm -f conftest.err conftest.$ac_objext \
27536 conftest$ac_exeext conftest.$ac_ext
27537 LIBS=$ac_check_lib_save_LIBS
27539 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27540 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27541 if test $ac_cv_lib_m_sinhf = yes; then
27543 cat >>confdefs.h <<\_ACEOF
27544 #define HAVE_SINHF 1
27549 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27550 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27551 if test "${ac_cv_lib_m_sinh+set}" = set; then
27552 echo $ECHO_N "(cached) $ECHO_C" >&6
27554 ac_check_lib_save_LIBS=$LIBS
27556 if test x$gcc_no_link = xyes; then
27557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27559 { (exit 1); exit 1; }; }
27561 cat >conftest.$ac_ext <<_ACEOF
27564 cat confdefs.h >>conftest.$ac_ext
27565 cat >>conftest.$ac_ext <<_ACEOF
27566 /* end confdefs.h. */
27568 /* Override any gcc2 internal prototype to avoid an error. */
27572 /* We use char because int might match the return type of a gcc2
27573 builtin and then its argument prototype would still apply. */
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585 (eval $ac_link) 2>conftest.er1
27587 grep -v '^ *+' conftest.er1 >conftest.err
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_c_werror_flag"
27593 || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 ac_cv_lib_m_sinh=yes
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27610 ac_cv_lib_m_sinh=no
27612 rm -f conftest.err conftest.$ac_objext \
27613 conftest$ac_exeext conftest.$ac_ext
27614 LIBS=$ac_check_lib_save_LIBS
27616 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27617 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27618 if test $ac_cv_lib_m_sinh = yes; then
27620 cat >>confdefs.h <<\_ACEOF
27621 #define HAVE_SINH 1
27626 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27627 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27628 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27629 echo $ECHO_N "(cached) $ECHO_C" >&6
27631 ac_check_lib_save_LIBS=$LIBS
27633 if test x$gcc_no_link = xyes; then
27634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27636 { (exit 1); exit 1; }; }
27638 cat >conftest.$ac_ext <<_ACEOF
27641 cat confdefs.h >>conftest.$ac_ext
27642 cat >>conftest.$ac_ext <<_ACEOF
27643 /* end confdefs.h. */
27645 /* Override any gcc2 internal prototype to avoid an error. */
27649 /* We use char because int might match the return type of a gcc2
27650 builtin and then its argument prototype would still apply. */
27660 rm -f conftest.$ac_objext conftest$ac_exeext
27661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27662 (eval $ac_link) 2>conftest.er1
27664 grep -v '^ *+' conftest.er1 >conftest.err
27666 cat conftest.err >&5
27667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27668 (exit $ac_status); } &&
27669 { ac_try='test -z "$ac_c_werror_flag"
27670 || test ! -s conftest.err'
27671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27672 (eval $ac_try) 2>&5
27674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27675 (exit $ac_status); }; } &&
27676 { ac_try='test -s conftest$ac_exeext'
27677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27678 (eval $ac_try) 2>&5
27680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27681 (exit $ac_status); }; }; then
27682 ac_cv_lib_m_sinhl=yes
27684 echo "$as_me: failed program was:" >&5
27685 sed 's/^/| /' conftest.$ac_ext >&5
27687 ac_cv_lib_m_sinhl=no
27689 rm -f conftest.err conftest.$ac_objext \
27690 conftest$ac_exeext conftest.$ac_ext
27691 LIBS=$ac_check_lib_save_LIBS
27693 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27694 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27695 if test $ac_cv_lib_m_sinhl = yes; then
27697 cat >>confdefs.h <<\_ACEOF
27698 #define HAVE_SINHL 1
27703 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27704 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27705 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27706 echo $ECHO_N "(cached) $ECHO_C" >&6
27708 ac_check_lib_save_LIBS=$LIBS
27710 if test x$gcc_no_link = xyes; then
27711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27713 { (exit 1); exit 1; }; }
27715 cat >conftest.$ac_ext <<_ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27722 /* Override any gcc2 internal prototype to avoid an error. */
27726 /* We use char because int might match the return type of a gcc2
27727 builtin and then its argument prototype would still apply. */
27737 rm -f conftest.$ac_objext conftest$ac_exeext
27738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27739 (eval $ac_link) 2>conftest.er1
27741 grep -v '^ *+' conftest.er1 >conftest.err
27743 cat conftest.err >&5
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); } &&
27746 { ac_try='test -z "$ac_c_werror_flag"
27747 || test ! -s conftest.err'
27748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27749 (eval $ac_try) 2>&5
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); }; } &&
27753 { ac_try='test -s conftest$ac_exeext'
27754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27755 (eval $ac_try) 2>&5
27757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27758 (exit $ac_status); }; }; then
27759 ac_cv_lib_m_csinhf=yes
27761 echo "$as_me: failed program was:" >&5
27762 sed 's/^/| /' conftest.$ac_ext >&5
27764 ac_cv_lib_m_csinhf=no
27766 rm -f conftest.err conftest.$ac_objext \
27767 conftest$ac_exeext conftest.$ac_ext
27768 LIBS=$ac_check_lib_save_LIBS
27770 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27771 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27772 if test $ac_cv_lib_m_csinhf = yes; then
27774 cat >>confdefs.h <<\_ACEOF
27775 #define HAVE_CSINHF 1
27780 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27781 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27782 if test "${ac_cv_lib_m_csinh+set}" = set; then
27783 echo $ECHO_N "(cached) $ECHO_C" >&6
27785 ac_check_lib_save_LIBS=$LIBS
27787 if test x$gcc_no_link = xyes; then
27788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27790 { (exit 1); exit 1; }; }
27792 cat >conftest.$ac_ext <<_ACEOF
27795 cat confdefs.h >>conftest.$ac_ext
27796 cat >>conftest.$ac_ext <<_ACEOF
27797 /* end confdefs.h. */
27799 /* Override any gcc2 internal prototype to avoid an error. */
27803 /* We use char because int might match the return type of a gcc2
27804 builtin and then its argument prototype would still apply. */
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27816 (eval $ac_link) 2>conftest.er1
27818 grep -v '^ *+' conftest.er1 >conftest.err
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } &&
27823 { ac_try='test -z "$ac_c_werror_flag"
27824 || test ! -s conftest.err'
27825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27826 (eval $ac_try) 2>&5
27828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27829 (exit $ac_status); }; } &&
27830 { ac_try='test -s conftest$ac_exeext'
27831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27832 (eval $ac_try) 2>&5
27834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27835 (exit $ac_status); }; }; then
27836 ac_cv_lib_m_csinh=yes
27838 echo "$as_me: failed program was:" >&5
27839 sed 's/^/| /' conftest.$ac_ext >&5
27841 ac_cv_lib_m_csinh=no
27843 rm -f conftest.err conftest.$ac_objext \
27844 conftest$ac_exeext conftest.$ac_ext
27845 LIBS=$ac_check_lib_save_LIBS
27847 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
27848 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
27849 if test $ac_cv_lib_m_csinh = yes; then
27851 cat >>confdefs.h <<\_ACEOF
27852 #define HAVE_CSINH 1
27857 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
27858 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
27859 if test "${ac_cv_lib_m_csinhl+set}" = set; then
27860 echo $ECHO_N "(cached) $ECHO_C" >&6
27862 ac_check_lib_save_LIBS=$LIBS
27864 if test x$gcc_no_link = xyes; then
27865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27867 { (exit 1); exit 1; }; }
27869 cat >conftest.$ac_ext <<_ACEOF
27872 cat confdefs.h >>conftest.$ac_ext
27873 cat >>conftest.$ac_ext <<_ACEOF
27874 /* end confdefs.h. */
27876 /* Override any gcc2 internal prototype to avoid an error. */
27880 /* We use char because int might match the return type of a gcc2
27881 builtin and then its argument prototype would still apply. */
27891 rm -f conftest.$ac_objext conftest$ac_exeext
27892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27893 (eval $ac_link) 2>conftest.er1
27895 grep -v '^ *+' conftest.er1 >conftest.err
27897 cat conftest.err >&5
27898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27899 (exit $ac_status); } &&
27900 { ac_try='test -z "$ac_c_werror_flag"
27901 || test ! -s conftest.err'
27902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27903 (eval $ac_try) 2>&5
27905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27906 (exit $ac_status); }; } &&
27907 { ac_try='test -s conftest$ac_exeext'
27908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27909 (eval $ac_try) 2>&5
27911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27912 (exit $ac_status); }; }; then
27913 ac_cv_lib_m_csinhl=yes
27915 echo "$as_me: failed program was:" >&5
27916 sed 's/^/| /' conftest.$ac_ext >&5
27918 ac_cv_lib_m_csinhl=no
27920 rm -f conftest.err conftest.$ac_objext \
27921 conftest$ac_exeext conftest.$ac_ext
27922 LIBS=$ac_check_lib_save_LIBS
27924 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
27925 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
27926 if test $ac_cv_lib_m_csinhl = yes; then
27928 cat >>confdefs.h <<\_ACEOF
27929 #define HAVE_CSINHL 1
27934 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
27935 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
27936 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27939 ac_check_lib_save_LIBS=$LIBS
27941 if test x$gcc_no_link = xyes; then
27942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27944 { (exit 1); exit 1; }; }
27946 cat >conftest.$ac_ext <<_ACEOF
27949 cat confdefs.h >>conftest.$ac_ext
27950 cat >>conftest.$ac_ext <<_ACEOF
27951 /* end confdefs.h. */
27953 /* Override any gcc2 internal prototype to avoid an error. */
27957 /* We use char because int might match the return type of a gcc2
27958 builtin and then its argument prototype would still apply. */
27968 rm -f conftest.$ac_objext conftest$ac_exeext
27969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27970 (eval $ac_link) 2>conftest.er1
27972 grep -v '^ *+' conftest.er1 >conftest.err
27974 cat conftest.err >&5
27975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27976 (exit $ac_status); } &&
27977 { ac_try='test -z "$ac_c_werror_flag"
27978 || test ! -s conftest.err'
27979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27980 (eval $ac_try) 2>&5
27982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27983 (exit $ac_status); }; } &&
27984 { ac_try='test -s conftest$ac_exeext'
27985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27986 (eval $ac_try) 2>&5
27988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27989 (exit $ac_status); }; }; then
27990 ac_cv_lib_m_sqrtf=yes
27992 echo "$as_me: failed program was:" >&5
27993 sed 's/^/| /' conftest.$ac_ext >&5
27995 ac_cv_lib_m_sqrtf=no
27997 rm -f conftest.err conftest.$ac_objext \
27998 conftest$ac_exeext conftest.$ac_ext
27999 LIBS=$ac_check_lib_save_LIBS
28001 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28002 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28003 if test $ac_cv_lib_m_sqrtf = yes; then
28005 cat >>confdefs.h <<\_ACEOF
28006 #define HAVE_SQRTF 1
28011 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28012 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28013 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28014 echo $ECHO_N "(cached) $ECHO_C" >&6
28016 ac_check_lib_save_LIBS=$LIBS
28018 if test x$gcc_no_link = xyes; then
28019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28021 { (exit 1); exit 1; }; }
28023 cat >conftest.$ac_ext <<_ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28030 /* Override any gcc2 internal prototype to avoid an error. */
28034 /* We use char because int might match the return type of a gcc2
28035 builtin and then its argument prototype would still apply. */
28045 rm -f conftest.$ac_objext conftest$ac_exeext
28046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28047 (eval $ac_link) 2>conftest.er1
28049 grep -v '^ *+' conftest.er1 >conftest.err
28051 cat conftest.err >&5
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); } &&
28054 { ac_try='test -z "$ac_c_werror_flag"
28055 || test ! -s conftest.err'
28056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28057 (eval $ac_try) 2>&5
28059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28060 (exit $ac_status); }; } &&
28061 { ac_try='test -s conftest$ac_exeext'
28062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28063 (eval $ac_try) 2>&5
28065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28066 (exit $ac_status); }; }; then
28067 ac_cv_lib_m_sqrt=yes
28069 echo "$as_me: failed program was:" >&5
28070 sed 's/^/| /' conftest.$ac_ext >&5
28072 ac_cv_lib_m_sqrt=no
28074 rm -f conftest.err conftest.$ac_objext \
28075 conftest$ac_exeext conftest.$ac_ext
28076 LIBS=$ac_check_lib_save_LIBS
28078 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28079 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28080 if test $ac_cv_lib_m_sqrt = yes; then
28082 cat >>confdefs.h <<\_ACEOF
28083 #define HAVE_SQRT 1
28088 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28089 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28090 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28091 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 ac_check_lib_save_LIBS=$LIBS
28095 if test x$gcc_no_link = xyes; then
28096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28098 { (exit 1); exit 1; }; }
28100 cat >conftest.$ac_ext <<_ACEOF
28103 cat confdefs.h >>conftest.$ac_ext
28104 cat >>conftest.$ac_ext <<_ACEOF
28105 /* end confdefs.h. */
28107 /* Override any gcc2 internal prototype to avoid an error. */
28111 /* We use char because int might match the return type of a gcc2
28112 builtin and then its argument prototype would still apply. */
28122 rm -f conftest.$ac_objext conftest$ac_exeext
28123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28124 (eval $ac_link) 2>conftest.er1
28126 grep -v '^ *+' conftest.er1 >conftest.err
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } &&
28131 { ac_try='test -z "$ac_c_werror_flag"
28132 || test ! -s conftest.err'
28133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28134 (eval $ac_try) 2>&5
28136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137 (exit $ac_status); }; } &&
28138 { ac_try='test -s conftest$ac_exeext'
28139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28140 (eval $ac_try) 2>&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); }; }; then
28144 ac_cv_lib_m_sqrtl=yes
28146 echo "$as_me: failed program was:" >&5
28147 sed 's/^/| /' conftest.$ac_ext >&5
28149 ac_cv_lib_m_sqrtl=no
28151 rm -f conftest.err conftest.$ac_objext \
28152 conftest$ac_exeext conftest.$ac_ext
28153 LIBS=$ac_check_lib_save_LIBS
28155 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28156 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28157 if test $ac_cv_lib_m_sqrtl = yes; then
28159 cat >>confdefs.h <<\_ACEOF
28160 #define HAVE_SQRTL 1
28165 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28166 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28167 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28168 echo $ECHO_N "(cached) $ECHO_C" >&6
28170 ac_check_lib_save_LIBS=$LIBS
28172 if test x$gcc_no_link = xyes; then
28173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28175 { (exit 1); exit 1; }; }
28177 cat >conftest.$ac_ext <<_ACEOF
28180 cat confdefs.h >>conftest.$ac_ext
28181 cat >>conftest.$ac_ext <<_ACEOF
28182 /* end confdefs.h. */
28184 /* Override any gcc2 internal prototype to avoid an error. */
28188 /* We use char because int might match the return type of a gcc2
28189 builtin and then its argument prototype would still apply. */
28199 rm -f conftest.$ac_objext conftest$ac_exeext
28200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28201 (eval $ac_link) 2>conftest.er1
28203 grep -v '^ *+' conftest.er1 >conftest.err
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } &&
28208 { ac_try='test -z "$ac_c_werror_flag"
28209 || test ! -s conftest.err'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; } &&
28215 { ac_try='test -s conftest$ac_exeext'
28216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28217 (eval $ac_try) 2>&5
28219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28220 (exit $ac_status); }; }; then
28221 ac_cv_lib_m_csqrtf=yes
28223 echo "$as_me: failed program was:" >&5
28224 sed 's/^/| /' conftest.$ac_ext >&5
28226 ac_cv_lib_m_csqrtf=no
28228 rm -f conftest.err conftest.$ac_objext \
28229 conftest$ac_exeext conftest.$ac_ext
28230 LIBS=$ac_check_lib_save_LIBS
28232 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28233 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28234 if test $ac_cv_lib_m_csqrtf = yes; then
28236 cat >>confdefs.h <<\_ACEOF
28237 #define HAVE_CSQRTF 1
28242 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28243 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28244 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28245 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 ac_check_lib_save_LIBS=$LIBS
28249 if test x$gcc_no_link = xyes; then
28250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28252 { (exit 1); exit 1; }; }
28254 cat >conftest.$ac_ext <<_ACEOF
28257 cat confdefs.h >>conftest.$ac_ext
28258 cat >>conftest.$ac_ext <<_ACEOF
28259 /* end confdefs.h. */
28261 /* Override any gcc2 internal prototype to avoid an error. */
28265 /* We use char because int might match the return type of a gcc2
28266 builtin and then its argument prototype would still apply. */
28276 rm -f conftest.$ac_objext conftest$ac_exeext
28277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28278 (eval $ac_link) 2>conftest.er1
28280 grep -v '^ *+' conftest.er1 >conftest.err
28282 cat conftest.err >&5
28283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28284 (exit $ac_status); } &&
28285 { ac_try='test -z "$ac_c_werror_flag"
28286 || test ! -s conftest.err'
28287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28288 (eval $ac_try) 2>&5
28290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28291 (exit $ac_status); }; } &&
28292 { ac_try='test -s conftest$ac_exeext'
28293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28294 (eval $ac_try) 2>&5
28296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28297 (exit $ac_status); }; }; then
28298 ac_cv_lib_m_csqrt=yes
28300 echo "$as_me: failed program was:" >&5
28301 sed 's/^/| /' conftest.$ac_ext >&5
28303 ac_cv_lib_m_csqrt=no
28305 rm -f conftest.err conftest.$ac_objext \
28306 conftest$ac_exeext conftest.$ac_ext
28307 LIBS=$ac_check_lib_save_LIBS
28309 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28310 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28311 if test $ac_cv_lib_m_csqrt = yes; then
28313 cat >>confdefs.h <<\_ACEOF
28314 #define HAVE_CSQRT 1
28319 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28320 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28321 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28322 echo $ECHO_N "(cached) $ECHO_C" >&6
28324 ac_check_lib_save_LIBS=$LIBS
28326 if test x$gcc_no_link = xyes; then
28327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28329 { (exit 1); exit 1; }; }
28331 cat >conftest.$ac_ext <<_ACEOF
28334 cat confdefs.h >>conftest.$ac_ext
28335 cat >>conftest.$ac_ext <<_ACEOF
28336 /* end confdefs.h. */
28338 /* Override any gcc2 internal prototype to avoid an error. */
28342 /* We use char because int might match the return type of a gcc2
28343 builtin and then its argument prototype would still apply. */
28353 rm -f conftest.$ac_objext conftest$ac_exeext
28354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28355 (eval $ac_link) 2>conftest.er1
28357 grep -v '^ *+' conftest.er1 >conftest.err
28359 cat conftest.err >&5
28360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28361 (exit $ac_status); } &&
28362 { ac_try='test -z "$ac_c_werror_flag"
28363 || test ! -s conftest.err'
28364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28365 (eval $ac_try) 2>&5
28367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28368 (exit $ac_status); }; } &&
28369 { ac_try='test -s conftest$ac_exeext'
28370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28371 (eval $ac_try) 2>&5
28373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28374 (exit $ac_status); }; }; then
28375 ac_cv_lib_m_csqrtl=yes
28377 echo "$as_me: failed program was:" >&5
28378 sed 's/^/| /' conftest.$ac_ext >&5
28380 ac_cv_lib_m_csqrtl=no
28382 rm -f conftest.err conftest.$ac_objext \
28383 conftest$ac_exeext conftest.$ac_ext
28384 LIBS=$ac_check_lib_save_LIBS
28386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28387 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28388 if test $ac_cv_lib_m_csqrtl = yes; then
28390 cat >>confdefs.h <<\_ACEOF
28391 #define HAVE_CSQRTL 1
28396 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28397 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28398 if test "${ac_cv_lib_m_tanf+set}" = set; then
28399 echo $ECHO_N "(cached) $ECHO_C" >&6
28401 ac_check_lib_save_LIBS=$LIBS
28403 if test x$gcc_no_link = xyes; then
28404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28406 { (exit 1); exit 1; }; }
28408 cat >conftest.$ac_ext <<_ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28415 /* Override any gcc2 internal prototype to avoid an error. */
28419 /* We use char because int might match the return type of a gcc2
28420 builtin and then its argument prototype would still apply. */
28430 rm -f conftest.$ac_objext conftest$ac_exeext
28431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28432 (eval $ac_link) 2>conftest.er1
28434 grep -v '^ *+' conftest.er1 >conftest.err
28436 cat conftest.err >&5
28437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28438 (exit $ac_status); } &&
28439 { ac_try='test -z "$ac_c_werror_flag"
28440 || test ! -s conftest.err'
28441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28442 (eval $ac_try) 2>&5
28444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28445 (exit $ac_status); }; } &&
28446 { ac_try='test -s conftest$ac_exeext'
28447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28448 (eval $ac_try) 2>&5
28450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28451 (exit $ac_status); }; }; then
28452 ac_cv_lib_m_tanf=yes
28454 echo "$as_me: failed program was:" >&5
28455 sed 's/^/| /' conftest.$ac_ext >&5
28457 ac_cv_lib_m_tanf=no
28459 rm -f conftest.err conftest.$ac_objext \
28460 conftest$ac_exeext conftest.$ac_ext
28461 LIBS=$ac_check_lib_save_LIBS
28463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28464 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28465 if test $ac_cv_lib_m_tanf = yes; then
28467 cat >>confdefs.h <<\_ACEOF
28468 #define HAVE_TANF 1
28473 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28474 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28475 if test "${ac_cv_lib_m_tan+set}" = set; then
28476 echo $ECHO_N "(cached) $ECHO_C" >&6
28478 ac_check_lib_save_LIBS=$LIBS
28480 if test x$gcc_no_link = xyes; then
28481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28483 { (exit 1); exit 1; }; }
28485 cat >conftest.$ac_ext <<_ACEOF
28488 cat confdefs.h >>conftest.$ac_ext
28489 cat >>conftest.$ac_ext <<_ACEOF
28490 /* end confdefs.h. */
28492 /* Override any gcc2 internal prototype to avoid an error. */
28496 /* We use char because int might match the return type of a gcc2
28497 builtin and then its argument prototype would still apply. */
28507 rm -f conftest.$ac_objext conftest$ac_exeext
28508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28509 (eval $ac_link) 2>conftest.er1
28511 grep -v '^ *+' conftest.er1 >conftest.err
28513 cat conftest.err >&5
28514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28515 (exit $ac_status); } &&
28516 { ac_try='test -z "$ac_c_werror_flag"
28517 || test ! -s conftest.err'
28518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519 (eval $ac_try) 2>&5
28521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522 (exit $ac_status); }; } &&
28523 { ac_try='test -s conftest$ac_exeext'
28524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28525 (eval $ac_try) 2>&5
28527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28528 (exit $ac_status); }; }; then
28529 ac_cv_lib_m_tan=yes
28531 echo "$as_me: failed program was:" >&5
28532 sed 's/^/| /' conftest.$ac_ext >&5
28536 rm -f conftest.err conftest.$ac_objext \
28537 conftest$ac_exeext conftest.$ac_ext
28538 LIBS=$ac_check_lib_save_LIBS
28540 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28541 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28542 if test $ac_cv_lib_m_tan = yes; then
28544 cat >>confdefs.h <<\_ACEOF
28550 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28551 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28552 if test "${ac_cv_lib_m_tanl+set}" = set; then
28553 echo $ECHO_N "(cached) $ECHO_C" >&6
28555 ac_check_lib_save_LIBS=$LIBS
28557 if test x$gcc_no_link = xyes; then
28558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28560 { (exit 1); exit 1; }; }
28562 cat >conftest.$ac_ext <<_ACEOF
28565 cat confdefs.h >>conftest.$ac_ext
28566 cat >>conftest.$ac_ext <<_ACEOF
28567 /* end confdefs.h. */
28569 /* Override any gcc2 internal prototype to avoid an error. */
28573 /* We use char because int might match the return type of a gcc2
28574 builtin and then its argument prototype would still apply. */
28584 rm -f conftest.$ac_objext conftest$ac_exeext
28585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28586 (eval $ac_link) 2>conftest.er1
28588 grep -v '^ *+' conftest.er1 >conftest.err
28590 cat conftest.err >&5
28591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28592 (exit $ac_status); } &&
28593 { ac_try='test -z "$ac_c_werror_flag"
28594 || test ! -s conftest.err'
28595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28596 (eval $ac_try) 2>&5
28598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28599 (exit $ac_status); }; } &&
28600 { ac_try='test -s conftest$ac_exeext'
28601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28602 (eval $ac_try) 2>&5
28604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28605 (exit $ac_status); }; }; then
28606 ac_cv_lib_m_tanl=yes
28608 echo "$as_me: failed program was:" >&5
28609 sed 's/^/| /' conftest.$ac_ext >&5
28611 ac_cv_lib_m_tanl=no
28613 rm -f conftest.err conftest.$ac_objext \
28614 conftest$ac_exeext conftest.$ac_ext
28615 LIBS=$ac_check_lib_save_LIBS
28617 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28618 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28619 if test $ac_cv_lib_m_tanl = yes; then
28621 cat >>confdefs.h <<\_ACEOF
28622 #define HAVE_TANL 1
28627 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28628 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28629 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28632 ac_check_lib_save_LIBS=$LIBS
28634 if test x$gcc_no_link = xyes; then
28635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28637 { (exit 1); exit 1; }; }
28639 cat >conftest.$ac_ext <<_ACEOF
28642 cat confdefs.h >>conftest.$ac_ext
28643 cat >>conftest.$ac_ext <<_ACEOF
28644 /* end confdefs.h. */
28646 /* Override any gcc2 internal prototype to avoid an error. */
28650 /* We use char because int might match the return type of a gcc2
28651 builtin and then its argument prototype would still apply. */
28661 rm -f conftest.$ac_objext conftest$ac_exeext
28662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28663 (eval $ac_link) 2>conftest.er1
28665 grep -v '^ *+' conftest.er1 >conftest.err
28667 cat conftest.err >&5
28668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28669 (exit $ac_status); } &&
28670 { ac_try='test -z "$ac_c_werror_flag"
28671 || test ! -s conftest.err'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; } &&
28677 { ac_try='test -s conftest$ac_exeext'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28683 ac_cv_lib_m_ctanf=yes
28685 echo "$as_me: failed program was:" >&5
28686 sed 's/^/| /' conftest.$ac_ext >&5
28688 ac_cv_lib_m_ctanf=no
28690 rm -f conftest.err conftest.$ac_objext \
28691 conftest$ac_exeext conftest.$ac_ext
28692 LIBS=$ac_check_lib_save_LIBS
28694 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28695 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28696 if test $ac_cv_lib_m_ctanf = yes; then
28698 cat >>confdefs.h <<\_ACEOF
28699 #define HAVE_CTANF 1
28704 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28705 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28706 if test "${ac_cv_lib_m_ctan+set}" = set; then
28707 echo $ECHO_N "(cached) $ECHO_C" >&6
28709 ac_check_lib_save_LIBS=$LIBS
28711 if test x$gcc_no_link = xyes; then
28712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28714 { (exit 1); exit 1; }; }
28716 cat >conftest.$ac_ext <<_ACEOF
28719 cat confdefs.h >>conftest.$ac_ext
28720 cat >>conftest.$ac_ext <<_ACEOF
28721 /* end confdefs.h. */
28723 /* Override any gcc2 internal prototype to avoid an error. */
28727 /* We use char because int might match the return type of a gcc2
28728 builtin and then its argument prototype would still apply. */
28738 rm -f conftest.$ac_objext conftest$ac_exeext
28739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28740 (eval $ac_link) 2>conftest.er1
28742 grep -v '^ *+' conftest.er1 >conftest.err
28744 cat conftest.err >&5
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); } &&
28747 { ac_try='test -z "$ac_c_werror_flag"
28748 || test ! -s conftest.err'
28749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28750 (eval $ac_try) 2>&5
28752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28753 (exit $ac_status); }; } &&
28754 { ac_try='test -s conftest$ac_exeext'
28755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28756 (eval $ac_try) 2>&5
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 ac_cv_lib_m_ctan=yes
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28765 ac_cv_lib_m_ctan=no
28767 rm -f conftest.err conftest.$ac_objext \
28768 conftest$ac_exeext conftest.$ac_ext
28769 LIBS=$ac_check_lib_save_LIBS
28771 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28772 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28773 if test $ac_cv_lib_m_ctan = yes; then
28775 cat >>confdefs.h <<\_ACEOF
28776 #define HAVE_CTAN 1
28781 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28782 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28783 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28784 echo $ECHO_N "(cached) $ECHO_C" >&6
28786 ac_check_lib_save_LIBS=$LIBS
28788 if test x$gcc_no_link = xyes; then
28789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28791 { (exit 1); exit 1; }; }
28793 cat >conftest.$ac_ext <<_ACEOF
28796 cat confdefs.h >>conftest.$ac_ext
28797 cat >>conftest.$ac_ext <<_ACEOF
28798 /* end confdefs.h. */
28800 /* Override any gcc2 internal prototype to avoid an error. */
28804 /* We use char because int might match the return type of a gcc2
28805 builtin and then its argument prototype would still apply. */
28815 rm -f conftest.$ac_objext conftest$ac_exeext
28816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28817 (eval $ac_link) 2>conftest.er1
28819 grep -v '^ *+' conftest.er1 >conftest.err
28821 cat conftest.err >&5
28822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28823 (exit $ac_status); } &&
28824 { ac_try='test -z "$ac_c_werror_flag"
28825 || test ! -s conftest.err'
28826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28827 (eval $ac_try) 2>&5
28829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28830 (exit $ac_status); }; } &&
28831 { ac_try='test -s conftest$ac_exeext'
28832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28833 (eval $ac_try) 2>&5
28835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28836 (exit $ac_status); }; }; then
28837 ac_cv_lib_m_ctanl=yes
28839 echo "$as_me: failed program was:" >&5
28840 sed 's/^/| /' conftest.$ac_ext >&5
28842 ac_cv_lib_m_ctanl=no
28844 rm -f conftest.err conftest.$ac_objext \
28845 conftest$ac_exeext conftest.$ac_ext
28846 LIBS=$ac_check_lib_save_LIBS
28848 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
28849 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
28850 if test $ac_cv_lib_m_ctanl = yes; then
28852 cat >>confdefs.h <<\_ACEOF
28853 #define HAVE_CTANL 1
28858 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
28859 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
28860 if test "${ac_cv_lib_m_tanhf+set}" = set; then
28861 echo $ECHO_N "(cached) $ECHO_C" >&6
28863 ac_check_lib_save_LIBS=$LIBS
28865 if test x$gcc_no_link = xyes; then
28866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28868 { (exit 1); exit 1; }; }
28870 cat >conftest.$ac_ext <<_ACEOF
28873 cat confdefs.h >>conftest.$ac_ext
28874 cat >>conftest.$ac_ext <<_ACEOF
28875 /* end confdefs.h. */
28877 /* Override any gcc2 internal prototype to avoid an error. */
28881 /* We use char because int might match the return type of a gcc2
28882 builtin and then its argument prototype would still apply. */
28892 rm -f conftest.$ac_objext conftest$ac_exeext
28893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28894 (eval $ac_link) 2>conftest.er1
28896 grep -v '^ *+' conftest.er1 >conftest.err
28898 cat conftest.err >&5
28899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28900 (exit $ac_status); } &&
28901 { ac_try='test -z "$ac_c_werror_flag"
28902 || test ! -s conftest.err'
28903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28904 (eval $ac_try) 2>&5
28906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28907 (exit $ac_status); }; } &&
28908 { ac_try='test -s conftest$ac_exeext'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; }; then
28914 ac_cv_lib_m_tanhf=yes
28916 echo "$as_me: failed program was:" >&5
28917 sed 's/^/| /' conftest.$ac_ext >&5
28919 ac_cv_lib_m_tanhf=no
28921 rm -f conftest.err conftest.$ac_objext \
28922 conftest$ac_exeext conftest.$ac_ext
28923 LIBS=$ac_check_lib_save_LIBS
28925 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
28926 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
28927 if test $ac_cv_lib_m_tanhf = yes; then
28929 cat >>confdefs.h <<\_ACEOF
28930 #define HAVE_TANHF 1
28935 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
28936 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
28937 if test "${ac_cv_lib_m_tanh+set}" = set; then
28938 echo $ECHO_N "(cached) $ECHO_C" >&6
28940 ac_check_lib_save_LIBS=$LIBS
28942 if test x$gcc_no_link = xyes; then
28943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28945 { (exit 1); exit 1; }; }
28947 cat >conftest.$ac_ext <<_ACEOF
28950 cat confdefs.h >>conftest.$ac_ext
28951 cat >>conftest.$ac_ext <<_ACEOF
28952 /* end confdefs.h. */
28954 /* Override any gcc2 internal prototype to avoid an error. */
28958 /* We use char because int might match the return type of a gcc2
28959 builtin and then its argument prototype would still apply. */
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28971 (eval $ac_link) 2>conftest.er1
28973 grep -v '^ *+' conftest.er1 >conftest.err
28975 cat conftest.err >&5
28976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28977 (exit $ac_status); } &&
28978 { ac_try='test -z "$ac_c_werror_flag"
28979 || test ! -s conftest.err'
28980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28981 (eval $ac_try) 2>&5
28983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28984 (exit $ac_status); }; } &&
28985 { ac_try='test -s conftest$ac_exeext'
28986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28987 (eval $ac_try) 2>&5
28989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28990 (exit $ac_status); }; }; then
28991 ac_cv_lib_m_tanh=yes
28993 echo "$as_me: failed program was:" >&5
28994 sed 's/^/| /' conftest.$ac_ext >&5
28996 ac_cv_lib_m_tanh=no
28998 rm -f conftest.err conftest.$ac_objext \
28999 conftest$ac_exeext conftest.$ac_ext
29000 LIBS=$ac_check_lib_save_LIBS
29002 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29003 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29004 if test $ac_cv_lib_m_tanh = yes; then
29006 cat >>confdefs.h <<\_ACEOF
29007 #define HAVE_TANH 1
29012 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29013 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29014 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29015 echo $ECHO_N "(cached) $ECHO_C" >&6
29017 ac_check_lib_save_LIBS=$LIBS
29019 if test x$gcc_no_link = xyes; then
29020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29022 { (exit 1); exit 1; }; }
29024 cat >conftest.$ac_ext <<_ACEOF
29027 cat confdefs.h >>conftest.$ac_ext
29028 cat >>conftest.$ac_ext <<_ACEOF
29029 /* end confdefs.h. */
29031 /* Override any gcc2 internal prototype to avoid an error. */
29035 /* We use char because int might match the return type of a gcc2
29036 builtin and then its argument prototype would still apply. */
29046 rm -f conftest.$ac_objext conftest$ac_exeext
29047 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29048 (eval $ac_link) 2>conftest.er1
29050 grep -v '^ *+' conftest.er1 >conftest.err
29052 cat conftest.err >&5
29053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29054 (exit $ac_status); } &&
29055 { ac_try='test -z "$ac_c_werror_flag"
29056 || test ! -s conftest.err'
29057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29058 (eval $ac_try) 2>&5
29060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29061 (exit $ac_status); }; } &&
29062 { ac_try='test -s conftest$ac_exeext'
29063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29064 (eval $ac_try) 2>&5
29066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29067 (exit $ac_status); }; }; then
29068 ac_cv_lib_m_tanhl=yes
29070 echo "$as_me: failed program was:" >&5
29071 sed 's/^/| /' conftest.$ac_ext >&5
29073 ac_cv_lib_m_tanhl=no
29075 rm -f conftest.err conftest.$ac_objext \
29076 conftest$ac_exeext conftest.$ac_ext
29077 LIBS=$ac_check_lib_save_LIBS
29079 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29080 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29081 if test $ac_cv_lib_m_tanhl = yes; then
29083 cat >>confdefs.h <<\_ACEOF
29084 #define HAVE_TANHL 1
29089 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29090 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29091 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29092 echo $ECHO_N "(cached) $ECHO_C" >&6
29094 ac_check_lib_save_LIBS=$LIBS
29096 if test x$gcc_no_link = xyes; then
29097 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29099 { (exit 1); exit 1; }; }
29101 cat >conftest.$ac_ext <<_ACEOF
29104 cat confdefs.h >>conftest.$ac_ext
29105 cat >>conftest.$ac_ext <<_ACEOF
29106 /* end confdefs.h. */
29108 /* Override any gcc2 internal prototype to avoid an error. */
29112 /* We use char because int might match the return type of a gcc2
29113 builtin and then its argument prototype would still apply. */
29123 rm -f conftest.$ac_objext conftest$ac_exeext
29124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29125 (eval $ac_link) 2>conftest.er1
29127 grep -v '^ *+' conftest.er1 >conftest.err
29129 cat conftest.err >&5
29130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29131 (exit $ac_status); } &&
29132 { ac_try='test -z "$ac_c_werror_flag"
29133 || test ! -s conftest.err'
29134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29135 (eval $ac_try) 2>&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); }; } &&
29139 { ac_try='test -s conftest$ac_exeext'
29140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29141 (eval $ac_try) 2>&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); }; }; then
29145 ac_cv_lib_m_ctanhf=yes
29147 echo "$as_me: failed program was:" >&5
29148 sed 's/^/| /' conftest.$ac_ext >&5
29150 ac_cv_lib_m_ctanhf=no
29152 rm -f conftest.err conftest.$ac_objext \
29153 conftest$ac_exeext conftest.$ac_ext
29154 LIBS=$ac_check_lib_save_LIBS
29156 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29157 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29158 if test $ac_cv_lib_m_ctanhf = yes; then
29160 cat >>confdefs.h <<\_ACEOF
29161 #define HAVE_CTANHF 1
29166 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29167 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29168 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29169 echo $ECHO_N "(cached) $ECHO_C" >&6
29171 ac_check_lib_save_LIBS=$LIBS
29173 if test x$gcc_no_link = xyes; then
29174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29176 { (exit 1); exit 1; }; }
29178 cat >conftest.$ac_ext <<_ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29185 /* Override any gcc2 internal prototype to avoid an error. */
29189 /* We use char because int might match the return type of a gcc2
29190 builtin and then its argument prototype would still apply. */
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29202 (eval $ac_link) 2>conftest.er1
29204 grep -v '^ *+' conftest.er1 >conftest.err
29206 cat conftest.err >&5
29207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29208 (exit $ac_status); } &&
29209 { ac_try='test -z "$ac_c_werror_flag"
29210 || test ! -s conftest.err'
29211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29212 (eval $ac_try) 2>&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); }; } &&
29216 { ac_try='test -s conftest$ac_exeext'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; }; then
29222 ac_cv_lib_m_ctanh=yes
29224 echo "$as_me: failed program was:" >&5
29225 sed 's/^/| /' conftest.$ac_ext >&5
29227 ac_cv_lib_m_ctanh=no
29229 rm -f conftest.err conftest.$ac_objext \
29230 conftest$ac_exeext conftest.$ac_ext
29231 LIBS=$ac_check_lib_save_LIBS
29233 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29234 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29235 if test $ac_cv_lib_m_ctanh = yes; then
29237 cat >>confdefs.h <<\_ACEOF
29238 #define HAVE_CTANH 1
29243 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29244 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29245 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29246 echo $ECHO_N "(cached) $ECHO_C" >&6
29248 ac_check_lib_save_LIBS=$LIBS
29250 if test x$gcc_no_link = xyes; then
29251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29253 { (exit 1); exit 1; }; }
29255 cat >conftest.$ac_ext <<_ACEOF
29258 cat confdefs.h >>conftest.$ac_ext
29259 cat >>conftest.$ac_ext <<_ACEOF
29260 /* end confdefs.h. */
29262 /* Override any gcc2 internal prototype to avoid an error. */
29266 /* We use char because int might match the return type of a gcc2
29267 builtin and then its argument prototype would still apply. */
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279 (eval $ac_link) 2>conftest.er1
29281 grep -v '^ *+' conftest.er1 >conftest.err
29283 cat conftest.err >&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try='test -z "$ac_c_werror_flag"
29287 || test ! -s conftest.err'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; } &&
29293 { ac_try='test -s conftest$ac_exeext'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; }; then
29299 ac_cv_lib_m_ctanhl=yes
29301 echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29304 ac_cv_lib_m_ctanhl=no
29306 rm -f conftest.err conftest.$ac_objext \
29307 conftest$ac_exeext conftest.$ac_ext
29308 LIBS=$ac_check_lib_save_LIBS
29310 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29311 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29312 if test $ac_cv_lib_m_ctanhl = yes; then
29314 cat >>confdefs.h <<\_ACEOF
29315 #define HAVE_CTANHL 1
29320 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29321 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29322 if test "${ac_cv_lib_m_truncf+set}" = set; then
29323 echo $ECHO_N "(cached) $ECHO_C" >&6
29325 ac_check_lib_save_LIBS=$LIBS
29327 if test x$gcc_no_link = xyes; then
29328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29330 { (exit 1); exit 1; }; }
29332 cat >conftest.$ac_ext <<_ACEOF
29335 cat confdefs.h >>conftest.$ac_ext
29336 cat >>conftest.$ac_ext <<_ACEOF
29337 /* end confdefs.h. */
29339 /* Override any gcc2 internal prototype to avoid an error. */
29343 /* We use char because int might match the return type of a gcc2
29344 builtin and then its argument prototype would still apply. */
29354 rm -f conftest.$ac_objext conftest$ac_exeext
29355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29356 (eval $ac_link) 2>conftest.er1
29358 grep -v '^ *+' conftest.er1 >conftest.err
29360 cat conftest.err >&5
29361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29362 (exit $ac_status); } &&
29363 { ac_try='test -z "$ac_c_werror_flag"
29364 || test ! -s conftest.err'
29365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29366 (eval $ac_try) 2>&5
29368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29369 (exit $ac_status); }; } &&
29370 { ac_try='test -s conftest$ac_exeext'
29371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29372 (eval $ac_try) 2>&5
29374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29375 (exit $ac_status); }; }; then
29376 ac_cv_lib_m_truncf=yes
29378 echo "$as_me: failed program was:" >&5
29379 sed 's/^/| /' conftest.$ac_ext >&5
29381 ac_cv_lib_m_truncf=no
29383 rm -f conftest.err conftest.$ac_objext \
29384 conftest$ac_exeext conftest.$ac_ext
29385 LIBS=$ac_check_lib_save_LIBS
29387 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29388 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29389 if test $ac_cv_lib_m_truncf = yes; then
29391 cat >>confdefs.h <<\_ACEOF
29392 #define HAVE_TRUNCF 1
29397 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29398 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29399 if test "${ac_cv_lib_m_trunc+set}" = set; then
29400 echo $ECHO_N "(cached) $ECHO_C" >&6
29402 ac_check_lib_save_LIBS=$LIBS
29404 if test x$gcc_no_link = xyes; then
29405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29407 { (exit 1); exit 1; }; }
29409 cat >conftest.$ac_ext <<_ACEOF
29412 cat confdefs.h >>conftest.$ac_ext
29413 cat >>conftest.$ac_ext <<_ACEOF
29414 /* end confdefs.h. */
29416 /* Override any gcc2 internal prototype to avoid an error. */
29420 /* We use char because int might match the return type of a gcc2
29421 builtin and then its argument prototype would still apply. */
29431 rm -f conftest.$ac_objext conftest$ac_exeext
29432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29433 (eval $ac_link) 2>conftest.er1
29435 grep -v '^ *+' conftest.er1 >conftest.err
29437 cat conftest.err >&5
29438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29439 (exit $ac_status); } &&
29440 { ac_try='test -z "$ac_c_werror_flag"
29441 || test ! -s conftest.err'
29442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29443 (eval $ac_try) 2>&5
29445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29446 (exit $ac_status); }; } &&
29447 { ac_try='test -s conftest$ac_exeext'
29448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29449 (eval $ac_try) 2>&5
29451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29452 (exit $ac_status); }; }; then
29453 ac_cv_lib_m_trunc=yes
29455 echo "$as_me: failed program was:" >&5
29456 sed 's/^/| /' conftest.$ac_ext >&5
29458 ac_cv_lib_m_trunc=no
29460 rm -f conftest.err conftest.$ac_objext \
29461 conftest$ac_exeext conftest.$ac_ext
29462 LIBS=$ac_check_lib_save_LIBS
29464 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29465 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29466 if test $ac_cv_lib_m_trunc = yes; then
29468 cat >>confdefs.h <<\_ACEOF
29469 #define HAVE_TRUNC 1
29474 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29475 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29476 if test "${ac_cv_lib_m_truncl+set}" = set; then
29477 echo $ECHO_N "(cached) $ECHO_C" >&6
29479 ac_check_lib_save_LIBS=$LIBS
29481 if test x$gcc_no_link = xyes; then
29482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29484 { (exit 1); exit 1; }; }
29486 cat >conftest.$ac_ext <<_ACEOF
29489 cat confdefs.h >>conftest.$ac_ext
29490 cat >>conftest.$ac_ext <<_ACEOF
29491 /* end confdefs.h. */
29493 /* Override any gcc2 internal prototype to avoid an error. */
29497 /* We use char because int might match the return type of a gcc2
29498 builtin and then its argument prototype would still apply. */
29508 rm -f conftest.$ac_objext conftest$ac_exeext
29509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29510 (eval $ac_link) 2>conftest.er1
29512 grep -v '^ *+' conftest.er1 >conftest.err
29514 cat conftest.err >&5
29515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29516 (exit $ac_status); } &&
29517 { ac_try='test -z "$ac_c_werror_flag"
29518 || test ! -s conftest.err'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; } &&
29524 { ac_try='test -s conftest$ac_exeext'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; }; then
29530 ac_cv_lib_m_truncl=yes
29532 echo "$as_me: failed program was:" >&5
29533 sed 's/^/| /' conftest.$ac_ext >&5
29535 ac_cv_lib_m_truncl=no
29537 rm -f conftest.err conftest.$ac_objext \
29538 conftest$ac_exeext conftest.$ac_ext
29539 LIBS=$ac_check_lib_save_LIBS
29541 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29542 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29543 if test $ac_cv_lib_m_truncl = yes; then
29545 cat >>confdefs.h <<\_ACEOF
29546 #define HAVE_TRUNCL 1
29551 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29552 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29553 if test "${ac_cv_lib_m_erff+set}" = set; then
29554 echo $ECHO_N "(cached) $ECHO_C" >&6
29556 ac_check_lib_save_LIBS=$LIBS
29558 if test x$gcc_no_link = xyes; then
29559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29561 { (exit 1); exit 1; }; }
29563 cat >conftest.$ac_ext <<_ACEOF
29566 cat confdefs.h >>conftest.$ac_ext
29567 cat >>conftest.$ac_ext <<_ACEOF
29568 /* end confdefs.h. */
29570 /* Override any gcc2 internal prototype to avoid an error. */
29574 /* We use char because int might match the return type of a gcc2
29575 builtin and then its argument prototype would still apply. */
29585 rm -f conftest.$ac_objext conftest$ac_exeext
29586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29587 (eval $ac_link) 2>conftest.er1
29589 grep -v '^ *+' conftest.er1 >conftest.err
29591 cat conftest.err >&5
29592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29593 (exit $ac_status); } &&
29594 { ac_try='test -z "$ac_c_werror_flag"
29595 || test ! -s conftest.err'
29596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29597 (eval $ac_try) 2>&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); }; } &&
29601 { ac_try='test -s conftest$ac_exeext'
29602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29603 (eval $ac_try) 2>&5
29605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29606 (exit $ac_status); }; }; then
29607 ac_cv_lib_m_erff=yes
29609 echo "$as_me: failed program was:" >&5
29610 sed 's/^/| /' conftest.$ac_ext >&5
29612 ac_cv_lib_m_erff=no
29614 rm -f conftest.err conftest.$ac_objext \
29615 conftest$ac_exeext conftest.$ac_ext
29616 LIBS=$ac_check_lib_save_LIBS
29618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29619 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29620 if test $ac_cv_lib_m_erff = yes; then
29622 cat >>confdefs.h <<\_ACEOF
29623 #define HAVE_ERFF 1
29628 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29629 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29630 if test "${ac_cv_lib_m_erf+set}" = set; then
29631 echo $ECHO_N "(cached) $ECHO_C" >&6
29633 ac_check_lib_save_LIBS=$LIBS
29635 if test x$gcc_no_link = xyes; then
29636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29638 { (exit 1); exit 1; }; }
29640 cat >conftest.$ac_ext <<_ACEOF
29643 cat confdefs.h >>conftest.$ac_ext
29644 cat >>conftest.$ac_ext <<_ACEOF
29645 /* end confdefs.h. */
29647 /* Override any gcc2 internal prototype to avoid an error. */
29651 /* We use char because int might match the return type of a gcc2
29652 builtin and then its argument prototype would still apply. */
29662 rm -f conftest.$ac_objext conftest$ac_exeext
29663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29664 (eval $ac_link) 2>conftest.er1
29666 grep -v '^ *+' conftest.er1 >conftest.err
29668 cat conftest.err >&5
29669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29670 (exit $ac_status); } &&
29671 { ac_try='test -z "$ac_c_werror_flag"
29672 || test ! -s conftest.err'
29673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29674 (eval $ac_try) 2>&5
29676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29677 (exit $ac_status); }; } &&
29678 { ac_try='test -s conftest$ac_exeext'
29679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29680 (eval $ac_try) 2>&5
29682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29683 (exit $ac_status); }; }; then
29684 ac_cv_lib_m_erf=yes
29686 echo "$as_me: failed program was:" >&5
29687 sed 's/^/| /' conftest.$ac_ext >&5
29691 rm -f conftest.err conftest.$ac_objext \
29692 conftest$ac_exeext conftest.$ac_ext
29693 LIBS=$ac_check_lib_save_LIBS
29695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29696 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29697 if test $ac_cv_lib_m_erf = yes; then
29699 cat >>confdefs.h <<\_ACEOF
29705 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29706 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29707 if test "${ac_cv_lib_m_erfl+set}" = set; then
29708 echo $ECHO_N "(cached) $ECHO_C" >&6
29710 ac_check_lib_save_LIBS=$LIBS
29712 if test x$gcc_no_link = xyes; then
29713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29715 { (exit 1); exit 1; }; }
29717 cat >conftest.$ac_ext <<_ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29724 /* Override any gcc2 internal prototype to avoid an error. */
29728 /* We use char because int might match the return type of a gcc2
29729 builtin and then its argument prototype would still apply. */
29739 rm -f conftest.$ac_objext conftest$ac_exeext
29740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29741 (eval $ac_link) 2>conftest.er1
29743 grep -v '^ *+' conftest.er1 >conftest.err
29745 cat conftest.err >&5
29746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29747 (exit $ac_status); } &&
29748 { ac_try='test -z "$ac_c_werror_flag"
29749 || test ! -s conftest.err'
29750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29751 (eval $ac_try) 2>&5
29753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29754 (exit $ac_status); }; } &&
29755 { ac_try='test -s conftest$ac_exeext'
29756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29757 (eval $ac_try) 2>&5
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); }; }; then
29761 ac_cv_lib_m_erfl=yes
29763 echo "$as_me: failed program was:" >&5
29764 sed 's/^/| /' conftest.$ac_ext >&5
29766 ac_cv_lib_m_erfl=no
29768 rm -f conftest.err conftest.$ac_objext \
29769 conftest$ac_exeext conftest.$ac_ext
29770 LIBS=$ac_check_lib_save_LIBS
29772 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29773 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29774 if test $ac_cv_lib_m_erfl = yes; then
29776 cat >>confdefs.h <<\_ACEOF
29777 #define HAVE_ERFL 1
29782 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29783 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29784 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29785 echo $ECHO_N "(cached) $ECHO_C" >&6
29787 ac_check_lib_save_LIBS=$LIBS
29789 if test x$gcc_no_link = xyes; then
29790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29792 { (exit 1); exit 1; }; }
29794 cat >conftest.$ac_ext <<_ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29801 /* Override any gcc2 internal prototype to avoid an error. */
29805 /* We use char because int might match the return type of a gcc2
29806 builtin and then its argument prototype would still apply. */
29816 rm -f conftest.$ac_objext conftest$ac_exeext
29817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29818 (eval $ac_link) 2>conftest.er1
29820 grep -v '^ *+' conftest.er1 >conftest.err
29822 cat conftest.err >&5
29823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29824 (exit $ac_status); } &&
29825 { ac_try='test -z "$ac_c_werror_flag"
29826 || test ! -s conftest.err'
29827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29828 (eval $ac_try) 2>&5
29830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29831 (exit $ac_status); }; } &&
29832 { ac_try='test -s conftest$ac_exeext'
29833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29834 (eval $ac_try) 2>&5
29836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837 (exit $ac_status); }; }; then
29838 ac_cv_lib_m_erfcf=yes
29840 echo "$as_me: failed program was:" >&5
29841 sed 's/^/| /' conftest.$ac_ext >&5
29843 ac_cv_lib_m_erfcf=no
29845 rm -f conftest.err conftest.$ac_objext \
29846 conftest$ac_exeext conftest.$ac_ext
29847 LIBS=$ac_check_lib_save_LIBS
29849 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
29850 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
29851 if test $ac_cv_lib_m_erfcf = yes; then
29853 cat >>confdefs.h <<\_ACEOF
29854 #define HAVE_ERFCF 1
29859 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
29860 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
29861 if test "${ac_cv_lib_m_erfc+set}" = set; then
29862 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 ac_check_lib_save_LIBS=$LIBS
29866 if test x$gcc_no_link = xyes; then
29867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29869 { (exit 1); exit 1; }; }
29871 cat >conftest.$ac_ext <<_ACEOF
29874 cat confdefs.h >>conftest.$ac_ext
29875 cat >>conftest.$ac_ext <<_ACEOF
29876 /* end confdefs.h. */
29878 /* Override any gcc2 internal prototype to avoid an error. */
29882 /* We use char because int might match the return type of a gcc2
29883 builtin and then its argument prototype would still apply. */
29893 rm -f conftest.$ac_objext conftest$ac_exeext
29894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29895 (eval $ac_link) 2>conftest.er1
29897 grep -v '^ *+' conftest.er1 >conftest.err
29899 cat conftest.err >&5
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); } &&
29902 { ac_try='test -z "$ac_c_werror_flag"
29903 || test ! -s conftest.err'
29904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29905 (eval $ac_try) 2>&5
29907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29908 (exit $ac_status); }; } &&
29909 { ac_try='test -s conftest$ac_exeext'
29910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29911 (eval $ac_try) 2>&5
29913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29914 (exit $ac_status); }; }; then
29915 ac_cv_lib_m_erfc=yes
29917 echo "$as_me: failed program was:" >&5
29918 sed 's/^/| /' conftest.$ac_ext >&5
29920 ac_cv_lib_m_erfc=no
29922 rm -f conftest.err conftest.$ac_objext \
29923 conftest$ac_exeext conftest.$ac_ext
29924 LIBS=$ac_check_lib_save_LIBS
29926 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
29927 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
29928 if test $ac_cv_lib_m_erfc = yes; then
29930 cat >>confdefs.h <<\_ACEOF
29931 #define HAVE_ERFC 1
29936 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
29937 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
29938 if test "${ac_cv_lib_m_erfcl+set}" = set; then
29939 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 ac_check_lib_save_LIBS=$LIBS
29943 if test x$gcc_no_link = xyes; then
29944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29946 { (exit 1); exit 1; }; }
29948 cat >conftest.$ac_ext <<_ACEOF
29951 cat confdefs.h >>conftest.$ac_ext
29952 cat >>conftest.$ac_ext <<_ACEOF
29953 /* end confdefs.h. */
29955 /* Override any gcc2 internal prototype to avoid an error. */
29959 /* We use char because int might match the return type of a gcc2
29960 builtin and then its argument prototype would still apply. */
29970 rm -f conftest.$ac_objext conftest$ac_exeext
29971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29972 (eval $ac_link) 2>conftest.er1
29974 grep -v '^ *+' conftest.er1 >conftest.err
29976 cat conftest.err >&5
29977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29978 (exit $ac_status); } &&
29979 { ac_try='test -z "$ac_c_werror_flag"
29980 || test ! -s conftest.err'
29981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29982 (eval $ac_try) 2>&5
29984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29985 (exit $ac_status); }; } &&
29986 { ac_try='test -s conftest$ac_exeext'
29987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29988 (eval $ac_try) 2>&5
29990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29991 (exit $ac_status); }; }; then
29992 ac_cv_lib_m_erfcl=yes
29994 echo "$as_me: failed program was:" >&5
29995 sed 's/^/| /' conftest.$ac_ext >&5
29997 ac_cv_lib_m_erfcl=no
29999 rm -f conftest.err conftest.$ac_objext \
30000 conftest$ac_exeext conftest.$ac_ext
30001 LIBS=$ac_check_lib_save_LIBS
30003 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30004 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30005 if test $ac_cv_lib_m_erfcl = yes; then
30007 cat >>confdefs.h <<\_ACEOF
30008 #define HAVE_ERFCL 1
30013 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30014 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30015 if test "${ac_cv_lib_m_j0f+set}" = set; then
30016 echo $ECHO_N "(cached) $ECHO_C" >&6
30018 ac_check_lib_save_LIBS=$LIBS
30020 if test x$gcc_no_link = xyes; then
30021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30023 { (exit 1); exit 1; }; }
30025 cat >conftest.$ac_ext <<_ACEOF
30028 cat confdefs.h >>conftest.$ac_ext
30029 cat >>conftest.$ac_ext <<_ACEOF
30030 /* end confdefs.h. */
30032 /* Override any gcc2 internal prototype to avoid an error. */
30036 /* We use char because int might match the return type of a gcc2
30037 builtin and then its argument prototype would still apply. */
30047 rm -f conftest.$ac_objext conftest$ac_exeext
30048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30049 (eval $ac_link) 2>conftest.er1
30051 grep -v '^ *+' conftest.er1 >conftest.err
30053 cat conftest.err >&5
30054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30055 (exit $ac_status); } &&
30056 { ac_try='test -z "$ac_c_werror_flag"
30057 || test ! -s conftest.err'
30058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30059 (eval $ac_try) 2>&5
30061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30062 (exit $ac_status); }; } &&
30063 { ac_try='test -s conftest$ac_exeext'
30064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30065 (eval $ac_try) 2>&5
30067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30068 (exit $ac_status); }; }; then
30069 ac_cv_lib_m_j0f=yes
30071 echo "$as_me: failed program was:" >&5
30072 sed 's/^/| /' conftest.$ac_ext >&5
30076 rm -f conftest.err conftest.$ac_objext \
30077 conftest$ac_exeext conftest.$ac_ext
30078 LIBS=$ac_check_lib_save_LIBS
30080 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30081 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30082 if test $ac_cv_lib_m_j0f = yes; then
30084 cat >>confdefs.h <<\_ACEOF
30090 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30091 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30092 if test "${ac_cv_lib_m_j0+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30095 ac_check_lib_save_LIBS=$LIBS
30097 if test x$gcc_no_link = xyes; then
30098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30100 { (exit 1); exit 1; }; }
30102 cat >conftest.$ac_ext <<_ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30109 /* Override any gcc2 internal prototype to avoid an error. */
30113 /* We use char because int might match the return type of a gcc2
30114 builtin and then its argument prototype would still apply. */
30124 rm -f conftest.$ac_objext conftest$ac_exeext
30125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30126 (eval $ac_link) 2>conftest.er1
30128 grep -v '^ *+' conftest.er1 >conftest.err
30130 cat conftest.err >&5
30131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30132 (exit $ac_status); } &&
30133 { ac_try='test -z "$ac_c_werror_flag"
30134 || test ! -s conftest.err'
30135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30136 (eval $ac_try) 2>&5
30138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30139 (exit $ac_status); }; } &&
30140 { ac_try='test -s conftest$ac_exeext'
30141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30142 (eval $ac_try) 2>&5
30144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30145 (exit $ac_status); }; }; then
30148 echo "$as_me: failed program was:" >&5
30149 sed 's/^/| /' conftest.$ac_ext >&5
30153 rm -f conftest.err conftest.$ac_objext \
30154 conftest$ac_exeext conftest.$ac_ext
30155 LIBS=$ac_check_lib_save_LIBS
30157 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30158 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30159 if test $ac_cv_lib_m_j0 = yes; then
30161 cat >>confdefs.h <<\_ACEOF
30167 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30168 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30169 if test "${ac_cv_lib_m_j0l+set}" = set; then
30170 echo $ECHO_N "(cached) $ECHO_C" >&6
30172 ac_check_lib_save_LIBS=$LIBS
30174 if test x$gcc_no_link = xyes; then
30175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30177 { (exit 1); exit 1; }; }
30179 cat >conftest.$ac_ext <<_ACEOF
30182 cat confdefs.h >>conftest.$ac_ext
30183 cat >>conftest.$ac_ext <<_ACEOF
30184 /* end confdefs.h. */
30186 /* Override any gcc2 internal prototype to avoid an error. */
30190 /* We use char because int might match the return type of a gcc2
30191 builtin and then its argument prototype would still apply. */
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30203 (eval $ac_link) 2>conftest.er1
30205 grep -v '^ *+' conftest.er1 >conftest.err
30207 cat conftest.err >&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); } &&
30210 { ac_try='test -z "$ac_c_werror_flag"
30211 || test ! -s conftest.err'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; } &&
30217 { ac_try='test -s conftest$ac_exeext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 ac_cv_lib_m_j0l=yes
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30230 rm -f conftest.err conftest.$ac_objext \
30231 conftest$ac_exeext conftest.$ac_ext
30232 LIBS=$ac_check_lib_save_LIBS
30234 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30235 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30236 if test $ac_cv_lib_m_j0l = yes; then
30238 cat >>confdefs.h <<\_ACEOF
30244 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30245 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30246 if test "${ac_cv_lib_m_j1f+set}" = set; then
30247 echo $ECHO_N "(cached) $ECHO_C" >&6
30249 ac_check_lib_save_LIBS=$LIBS
30251 if test x$gcc_no_link = xyes; then
30252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30254 { (exit 1); exit 1; }; }
30256 cat >conftest.$ac_ext <<_ACEOF
30259 cat confdefs.h >>conftest.$ac_ext
30260 cat >>conftest.$ac_ext <<_ACEOF
30261 /* end confdefs.h. */
30263 /* Override any gcc2 internal prototype to avoid an error. */
30267 /* We use char because int might match the return type of a gcc2
30268 builtin and then its argument prototype would still apply. */
30278 rm -f conftest.$ac_objext conftest$ac_exeext
30279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30280 (eval $ac_link) 2>conftest.er1
30282 grep -v '^ *+' conftest.er1 >conftest.err
30284 cat conftest.err >&5
30285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30286 (exit $ac_status); } &&
30287 { ac_try='test -z "$ac_c_werror_flag"
30288 || test ! -s conftest.err'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; } &&
30294 { ac_try='test -s conftest$ac_exeext'
30295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30296 (eval $ac_try) 2>&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); }; }; then
30300 ac_cv_lib_m_j1f=yes
30302 echo "$as_me: failed program was:" >&5
30303 sed 's/^/| /' conftest.$ac_ext >&5
30307 rm -f conftest.err conftest.$ac_objext \
30308 conftest$ac_exeext conftest.$ac_ext
30309 LIBS=$ac_check_lib_save_LIBS
30311 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30312 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30313 if test $ac_cv_lib_m_j1f = yes; then
30315 cat >>confdefs.h <<\_ACEOF
30321 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30322 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30323 if test "${ac_cv_lib_m_j1+set}" = set; then
30324 echo $ECHO_N "(cached) $ECHO_C" >&6
30326 ac_check_lib_save_LIBS=$LIBS
30328 if test x$gcc_no_link = xyes; then
30329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30331 { (exit 1); exit 1; }; }
30333 cat >conftest.$ac_ext <<_ACEOF
30336 cat confdefs.h >>conftest.$ac_ext
30337 cat >>conftest.$ac_ext <<_ACEOF
30338 /* end confdefs.h. */
30340 /* Override any gcc2 internal prototype to avoid an error. */
30344 /* We use char because int might match the return type of a gcc2
30345 builtin and then its argument prototype would still apply. */
30355 rm -f conftest.$ac_objext conftest$ac_exeext
30356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30357 (eval $ac_link) 2>conftest.er1
30359 grep -v '^ *+' conftest.er1 >conftest.err
30361 cat conftest.err >&5
30362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30363 (exit $ac_status); } &&
30364 { ac_try='test -z "$ac_c_werror_flag"
30365 || test ! -s conftest.err'
30366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30367 (eval $ac_try) 2>&5
30369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30370 (exit $ac_status); }; } &&
30371 { ac_try='test -s conftest$ac_exeext'
30372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30373 (eval $ac_try) 2>&5
30375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30376 (exit $ac_status); }; }; then
30379 echo "$as_me: failed program was:" >&5
30380 sed 's/^/| /' conftest.$ac_ext >&5
30384 rm -f conftest.err conftest.$ac_objext \
30385 conftest$ac_exeext conftest.$ac_ext
30386 LIBS=$ac_check_lib_save_LIBS
30388 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30389 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30390 if test $ac_cv_lib_m_j1 = yes; then
30392 cat >>confdefs.h <<\_ACEOF
30398 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30399 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30400 if test "${ac_cv_lib_m_j1l+set}" = set; then
30401 echo $ECHO_N "(cached) $ECHO_C" >&6
30403 ac_check_lib_save_LIBS=$LIBS
30405 if test x$gcc_no_link = xyes; then
30406 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30408 { (exit 1); exit 1; }; }
30410 cat >conftest.$ac_ext <<_ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30417 /* Override any gcc2 internal prototype to avoid an error. */
30421 /* We use char because int might match the return type of a gcc2
30422 builtin and then its argument prototype would still apply. */
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30434 (eval $ac_link) 2>conftest.er1
30436 grep -v '^ *+' conftest.er1 >conftest.err
30438 cat conftest.err >&5
30439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30440 (exit $ac_status); } &&
30441 { ac_try='test -z "$ac_c_werror_flag"
30442 || test ! -s conftest.err'
30443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30444 (eval $ac_try) 2>&5
30446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30447 (exit $ac_status); }; } &&
30448 { ac_try='test -s conftest$ac_exeext'
30449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30450 (eval $ac_try) 2>&5
30452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30453 (exit $ac_status); }; }; then
30454 ac_cv_lib_m_j1l=yes
30456 echo "$as_me: failed program was:" >&5
30457 sed 's/^/| /' conftest.$ac_ext >&5
30461 rm -f conftest.err conftest.$ac_objext \
30462 conftest$ac_exeext conftest.$ac_ext
30463 LIBS=$ac_check_lib_save_LIBS
30465 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30466 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30467 if test $ac_cv_lib_m_j1l = yes; then
30469 cat >>confdefs.h <<\_ACEOF
30475 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30476 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30477 if test "${ac_cv_lib_m_jnf+set}" = set; then
30478 echo $ECHO_N "(cached) $ECHO_C" >&6
30480 ac_check_lib_save_LIBS=$LIBS
30482 if test x$gcc_no_link = xyes; then
30483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30485 { (exit 1); exit 1; }; }
30487 cat >conftest.$ac_ext <<_ACEOF
30490 cat confdefs.h >>conftest.$ac_ext
30491 cat >>conftest.$ac_ext <<_ACEOF
30492 /* end confdefs.h. */
30494 /* Override any gcc2 internal prototype to avoid an error. */
30498 /* We use char because int might match the return type of a gcc2
30499 builtin and then its argument prototype would still apply. */
30509 rm -f conftest.$ac_objext conftest$ac_exeext
30510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30511 (eval $ac_link) 2>conftest.er1
30513 grep -v '^ *+' conftest.er1 >conftest.err
30515 cat conftest.err >&5
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); } &&
30518 { ac_try='test -z "$ac_c_werror_flag"
30519 || test ! -s conftest.err'
30520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30521 (eval $ac_try) 2>&5
30523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30524 (exit $ac_status); }; } &&
30525 { ac_try='test -s conftest$ac_exeext'
30526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30527 (eval $ac_try) 2>&5
30529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30530 (exit $ac_status); }; }; then
30531 ac_cv_lib_m_jnf=yes
30533 echo "$as_me: failed program was:" >&5
30534 sed 's/^/| /' conftest.$ac_ext >&5
30538 rm -f conftest.err conftest.$ac_objext \
30539 conftest$ac_exeext conftest.$ac_ext
30540 LIBS=$ac_check_lib_save_LIBS
30542 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30543 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30544 if test $ac_cv_lib_m_jnf = yes; then
30546 cat >>confdefs.h <<\_ACEOF
30552 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30553 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30554 if test "${ac_cv_lib_m_jn+set}" = set; then
30555 echo $ECHO_N "(cached) $ECHO_C" >&6
30557 ac_check_lib_save_LIBS=$LIBS
30559 if test x$gcc_no_link = xyes; then
30560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30562 { (exit 1); exit 1; }; }
30564 cat >conftest.$ac_ext <<_ACEOF
30567 cat confdefs.h >>conftest.$ac_ext
30568 cat >>conftest.$ac_ext <<_ACEOF
30569 /* end confdefs.h. */
30571 /* Override any gcc2 internal prototype to avoid an error. */
30575 /* We use char because int might match the return type of a gcc2
30576 builtin and then its argument prototype would still apply. */
30586 rm -f conftest.$ac_objext conftest$ac_exeext
30587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30588 (eval $ac_link) 2>conftest.er1
30590 grep -v '^ *+' conftest.er1 >conftest.err
30592 cat conftest.err >&5
30593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30594 (exit $ac_status); } &&
30595 { ac_try='test -z "$ac_c_werror_flag"
30596 || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try='test -s conftest$ac_exeext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30615 rm -f conftest.err conftest.$ac_objext \
30616 conftest$ac_exeext conftest.$ac_ext
30617 LIBS=$ac_check_lib_save_LIBS
30619 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30620 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30621 if test $ac_cv_lib_m_jn = yes; then
30623 cat >>confdefs.h <<\_ACEOF
30629 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30630 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30631 if test "${ac_cv_lib_m_jnl+set}" = set; then
30632 echo $ECHO_N "(cached) $ECHO_C" >&6
30634 ac_check_lib_save_LIBS=$LIBS
30636 if test x$gcc_no_link = xyes; then
30637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30639 { (exit 1); exit 1; }; }
30641 cat >conftest.$ac_ext <<_ACEOF
30644 cat confdefs.h >>conftest.$ac_ext
30645 cat >>conftest.$ac_ext <<_ACEOF
30646 /* end confdefs.h. */
30648 /* Override any gcc2 internal prototype to avoid an error. */
30652 /* We use char because int might match the return type of a gcc2
30653 builtin and then its argument prototype would still apply. */
30663 rm -f conftest.$ac_objext conftest$ac_exeext
30664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30665 (eval $ac_link) 2>conftest.er1
30667 grep -v '^ *+' conftest.er1 >conftest.err
30669 cat conftest.err >&5
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); } &&
30672 { ac_try='test -z "$ac_c_werror_flag"
30673 || test ! -s conftest.err'
30674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30675 (eval $ac_try) 2>&5
30677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30678 (exit $ac_status); }; } &&
30679 { ac_try='test -s conftest$ac_exeext'
30680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30681 (eval $ac_try) 2>&5
30683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30684 (exit $ac_status); }; }; then
30685 ac_cv_lib_m_jnl=yes
30687 echo "$as_me: failed program was:" >&5
30688 sed 's/^/| /' conftest.$ac_ext >&5
30692 rm -f conftest.err conftest.$ac_objext \
30693 conftest$ac_exeext conftest.$ac_ext
30694 LIBS=$ac_check_lib_save_LIBS
30696 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30697 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30698 if test $ac_cv_lib_m_jnl = yes; then
30700 cat >>confdefs.h <<\_ACEOF
30706 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30707 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30708 if test "${ac_cv_lib_m_y0f+set}" = set; then
30709 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 ac_check_lib_save_LIBS=$LIBS
30713 if test x$gcc_no_link = xyes; then
30714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30716 { (exit 1); exit 1; }; }
30718 cat >conftest.$ac_ext <<_ACEOF
30721 cat confdefs.h >>conftest.$ac_ext
30722 cat >>conftest.$ac_ext <<_ACEOF
30723 /* end confdefs.h. */
30725 /* Override any gcc2 internal prototype to avoid an error. */
30729 /* We use char because int might match the return type of a gcc2
30730 builtin and then its argument prototype would still apply. */
30740 rm -f conftest.$ac_objext conftest$ac_exeext
30741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30742 (eval $ac_link) 2>conftest.er1
30744 grep -v '^ *+' conftest.er1 >conftest.err
30746 cat conftest.err >&5
30747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30748 (exit $ac_status); } &&
30749 { ac_try='test -z "$ac_c_werror_flag"
30750 || test ! -s conftest.err'
30751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30752 (eval $ac_try) 2>&5
30754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30755 (exit $ac_status); }; } &&
30756 { ac_try='test -s conftest$ac_exeext'
30757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30758 (eval $ac_try) 2>&5
30760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30761 (exit $ac_status); }; }; then
30762 ac_cv_lib_m_y0f=yes
30764 echo "$as_me: failed program was:" >&5
30765 sed 's/^/| /' conftest.$ac_ext >&5
30769 rm -f conftest.err conftest.$ac_objext \
30770 conftest$ac_exeext conftest.$ac_ext
30771 LIBS=$ac_check_lib_save_LIBS
30773 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30774 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30775 if test $ac_cv_lib_m_y0f = yes; then
30777 cat >>confdefs.h <<\_ACEOF
30783 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30784 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30785 if test "${ac_cv_lib_m_y0+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30788 ac_check_lib_save_LIBS=$LIBS
30790 if test x$gcc_no_link = xyes; then
30791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30793 { (exit 1); exit 1; }; }
30795 cat >conftest.$ac_ext <<_ACEOF
30798 cat confdefs.h >>conftest.$ac_ext
30799 cat >>conftest.$ac_ext <<_ACEOF
30800 /* end confdefs.h. */
30802 /* Override any gcc2 internal prototype to avoid an error. */
30806 /* We use char because int might match the return type of a gcc2
30807 builtin and then its argument prototype would still apply. */
30817 rm -f conftest.$ac_objext conftest$ac_exeext
30818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30819 (eval $ac_link) 2>conftest.er1
30821 grep -v '^ *+' conftest.er1 >conftest.err
30823 cat conftest.err >&5
30824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30825 (exit $ac_status); } &&
30826 { ac_try='test -z "$ac_c_werror_flag"
30827 || test ! -s conftest.err'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; } &&
30833 { ac_try='test -s conftest$ac_exeext'
30834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30835 (eval $ac_try) 2>&5
30837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30838 (exit $ac_status); }; }; then
30841 echo "$as_me: failed program was:" >&5
30842 sed 's/^/| /' conftest.$ac_ext >&5
30846 rm -f conftest.err conftest.$ac_objext \
30847 conftest$ac_exeext conftest.$ac_ext
30848 LIBS=$ac_check_lib_save_LIBS
30850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
30851 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
30852 if test $ac_cv_lib_m_y0 = yes; then
30854 cat >>confdefs.h <<\_ACEOF
30860 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
30861 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
30862 if test "${ac_cv_lib_m_y0l+set}" = set; then
30863 echo $ECHO_N "(cached) $ECHO_C" >&6
30865 ac_check_lib_save_LIBS=$LIBS
30867 if test x$gcc_no_link = xyes; then
30868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30870 { (exit 1); exit 1; }; }
30872 cat >conftest.$ac_ext <<_ACEOF
30875 cat confdefs.h >>conftest.$ac_ext
30876 cat >>conftest.$ac_ext <<_ACEOF
30877 /* end confdefs.h. */
30879 /* Override any gcc2 internal prototype to avoid an error. */
30883 /* We use char because int might match the return type of a gcc2
30884 builtin and then its argument prototype would still apply. */
30894 rm -f conftest.$ac_objext conftest$ac_exeext
30895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30896 (eval $ac_link) 2>conftest.er1
30898 grep -v '^ *+' conftest.er1 >conftest.err
30900 cat conftest.err >&5
30901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30902 (exit $ac_status); } &&
30903 { ac_try='test -z "$ac_c_werror_flag"
30904 || test ! -s conftest.err'
30905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30906 (eval $ac_try) 2>&5
30908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30909 (exit $ac_status); }; } &&
30910 { ac_try='test -s conftest$ac_exeext'
30911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30912 (eval $ac_try) 2>&5
30914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30915 (exit $ac_status); }; }; then
30916 ac_cv_lib_m_y0l=yes
30918 echo "$as_me: failed program was:" >&5
30919 sed 's/^/| /' conftest.$ac_ext >&5
30923 rm -f conftest.err conftest.$ac_objext \
30924 conftest$ac_exeext conftest.$ac_ext
30925 LIBS=$ac_check_lib_save_LIBS
30927 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
30928 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
30929 if test $ac_cv_lib_m_y0l = yes; then
30931 cat >>confdefs.h <<\_ACEOF
30937 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
30938 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
30939 if test "${ac_cv_lib_m_y1f+set}" = set; then
30940 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 ac_check_lib_save_LIBS=$LIBS
30944 if test x$gcc_no_link = xyes; then
30945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30947 { (exit 1); exit 1; }; }
30949 cat >conftest.$ac_ext <<_ACEOF
30952 cat confdefs.h >>conftest.$ac_ext
30953 cat >>conftest.$ac_ext <<_ACEOF
30954 /* end confdefs.h. */
30956 /* Override any gcc2 internal prototype to avoid an error. */
30960 /* We use char because int might match the return type of a gcc2
30961 builtin and then its argument prototype would still apply. */
30971 rm -f conftest.$ac_objext conftest$ac_exeext
30972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30973 (eval $ac_link) 2>conftest.er1
30975 grep -v '^ *+' conftest.er1 >conftest.err
30977 cat conftest.err >&5
30978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30979 (exit $ac_status); } &&
30980 { ac_try='test -z "$ac_c_werror_flag"
30981 || test ! -s conftest.err'
30982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30983 (eval $ac_try) 2>&5
30985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30986 (exit $ac_status); }; } &&
30987 { ac_try='test -s conftest$ac_exeext'
30988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30989 (eval $ac_try) 2>&5
30991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30992 (exit $ac_status); }; }; then
30993 ac_cv_lib_m_y1f=yes
30995 echo "$as_me: failed program was:" >&5
30996 sed 's/^/| /' conftest.$ac_ext >&5
31000 rm -f conftest.err conftest.$ac_objext \
31001 conftest$ac_exeext conftest.$ac_ext
31002 LIBS=$ac_check_lib_save_LIBS
31004 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31005 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31006 if test $ac_cv_lib_m_y1f = yes; then
31008 cat >>confdefs.h <<\_ACEOF
31014 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31015 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31016 if test "${ac_cv_lib_m_y1+set}" = set; then
31017 echo $ECHO_N "(cached) $ECHO_C" >&6
31019 ac_check_lib_save_LIBS=$LIBS
31021 if test x$gcc_no_link = xyes; then
31022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31024 { (exit 1); exit 1; }; }
31026 cat >conftest.$ac_ext <<_ACEOF
31029 cat confdefs.h >>conftest.$ac_ext
31030 cat >>conftest.$ac_ext <<_ACEOF
31031 /* end confdefs.h. */
31033 /* Override any gcc2 internal prototype to avoid an error. */
31037 /* We use char because int might match the return type of a gcc2
31038 builtin and then its argument prototype would still apply. */
31048 rm -f conftest.$ac_objext conftest$ac_exeext
31049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31050 (eval $ac_link) 2>conftest.er1
31052 grep -v '^ *+' conftest.er1 >conftest.err
31054 cat conftest.err >&5
31055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31056 (exit $ac_status); } &&
31057 { ac_try='test -z "$ac_c_werror_flag"
31058 || test ! -s conftest.err'
31059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31060 (eval $ac_try) 2>&5
31062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063 (exit $ac_status); }; } &&
31064 { ac_try='test -s conftest$ac_exeext'
31065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31066 (eval $ac_try) 2>&5
31068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31069 (exit $ac_status); }; }; then
31072 echo "$as_me: failed program was:" >&5
31073 sed 's/^/| /' conftest.$ac_ext >&5
31077 rm -f conftest.err conftest.$ac_objext \
31078 conftest$ac_exeext conftest.$ac_ext
31079 LIBS=$ac_check_lib_save_LIBS
31081 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31082 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31083 if test $ac_cv_lib_m_y1 = yes; then
31085 cat >>confdefs.h <<\_ACEOF
31091 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31092 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31093 if test "${ac_cv_lib_m_y1l+set}" = set; then
31094 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 ac_check_lib_save_LIBS=$LIBS
31098 if test x$gcc_no_link = xyes; then
31099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31101 { (exit 1); exit 1; }; }
31103 cat >conftest.$ac_ext <<_ACEOF
31106 cat confdefs.h >>conftest.$ac_ext
31107 cat >>conftest.$ac_ext <<_ACEOF
31108 /* end confdefs.h. */
31110 /* Override any gcc2 internal prototype to avoid an error. */
31114 /* We use char because int might match the return type of a gcc2
31115 builtin and then its argument prototype would still apply. */
31125 rm -f conftest.$ac_objext conftest$ac_exeext
31126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31127 (eval $ac_link) 2>conftest.er1
31129 grep -v '^ *+' conftest.er1 >conftest.err
31131 cat conftest.err >&5
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); } &&
31134 { ac_try='test -z "$ac_c_werror_flag"
31135 || test ! -s conftest.err'
31136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31137 (eval $ac_try) 2>&5
31139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31140 (exit $ac_status); }; } &&
31141 { ac_try='test -s conftest$ac_exeext'
31142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31143 (eval $ac_try) 2>&5
31145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31146 (exit $ac_status); }; }; then
31147 ac_cv_lib_m_y1l=yes
31149 echo "$as_me: failed program was:" >&5
31150 sed 's/^/| /' conftest.$ac_ext >&5
31154 rm -f conftest.err conftest.$ac_objext \
31155 conftest$ac_exeext conftest.$ac_ext
31156 LIBS=$ac_check_lib_save_LIBS
31158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31159 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31160 if test $ac_cv_lib_m_y1l = yes; then
31162 cat >>confdefs.h <<\_ACEOF
31168 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31169 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31170 if test "${ac_cv_lib_m_ynf+set}" = set; then
31171 echo $ECHO_N "(cached) $ECHO_C" >&6
31173 ac_check_lib_save_LIBS=$LIBS
31175 if test x$gcc_no_link = xyes; then
31176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31178 { (exit 1); exit 1; }; }
31180 cat >conftest.$ac_ext <<_ACEOF
31183 cat confdefs.h >>conftest.$ac_ext
31184 cat >>conftest.$ac_ext <<_ACEOF
31185 /* end confdefs.h. */
31187 /* Override any gcc2 internal prototype to avoid an error. */
31191 /* We use char because int might match the return type of a gcc2
31192 builtin and then its argument prototype would still apply. */
31202 rm -f conftest.$ac_objext conftest$ac_exeext
31203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31204 (eval $ac_link) 2>conftest.er1
31206 grep -v '^ *+' conftest.er1 >conftest.err
31208 cat conftest.err >&5
31209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31210 (exit $ac_status); } &&
31211 { ac_try='test -z "$ac_c_werror_flag"
31212 || test ! -s conftest.err'
31213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31214 (eval $ac_try) 2>&5
31216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31217 (exit $ac_status); }; } &&
31218 { ac_try='test -s conftest$ac_exeext'
31219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31220 (eval $ac_try) 2>&5
31222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31223 (exit $ac_status); }; }; then
31224 ac_cv_lib_m_ynf=yes
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31231 rm -f conftest.err conftest.$ac_objext \
31232 conftest$ac_exeext conftest.$ac_ext
31233 LIBS=$ac_check_lib_save_LIBS
31235 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31236 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31237 if test $ac_cv_lib_m_ynf = yes; then
31239 cat >>confdefs.h <<\_ACEOF
31245 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31246 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31247 if test "${ac_cv_lib_m_yn+set}" = set; then
31248 echo $ECHO_N "(cached) $ECHO_C" >&6
31250 ac_check_lib_save_LIBS=$LIBS
31252 if test x$gcc_no_link = xyes; then
31253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31255 { (exit 1); exit 1; }; }
31257 cat >conftest.$ac_ext <<_ACEOF
31260 cat confdefs.h >>conftest.$ac_ext
31261 cat >>conftest.$ac_ext <<_ACEOF
31262 /* end confdefs.h. */
31264 /* Override any gcc2 internal prototype to avoid an error. */
31268 /* We use char because int might match the return type of a gcc2
31269 builtin and then its argument prototype would still apply. */
31279 rm -f conftest.$ac_objext conftest$ac_exeext
31280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31281 (eval $ac_link) 2>conftest.er1
31283 grep -v '^ *+' conftest.er1 >conftest.err
31285 cat conftest.err >&5
31286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31287 (exit $ac_status); } &&
31288 { ac_try='test -z "$ac_c_werror_flag"
31289 || test ! -s conftest.err'
31290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31291 (eval $ac_try) 2>&5
31293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31294 (exit $ac_status); }; } &&
31295 { ac_try='test -s conftest$ac_exeext'
31296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31297 (eval $ac_try) 2>&5
31299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31300 (exit $ac_status); }; }; then
31303 echo "$as_me: failed program was:" >&5
31304 sed 's/^/| /' conftest.$ac_ext >&5
31308 rm -f conftest.err conftest.$ac_objext \
31309 conftest$ac_exeext conftest.$ac_ext
31310 LIBS=$ac_check_lib_save_LIBS
31312 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31313 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31314 if test $ac_cv_lib_m_yn = yes; then
31316 cat >>confdefs.h <<\_ACEOF
31322 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31323 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31324 if test "${ac_cv_lib_m_ynl+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31327 ac_check_lib_save_LIBS=$LIBS
31329 if test x$gcc_no_link = xyes; then
31330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31332 { (exit 1); exit 1; }; }
31334 cat >conftest.$ac_ext <<_ACEOF
31337 cat confdefs.h >>conftest.$ac_ext
31338 cat >>conftest.$ac_ext <<_ACEOF
31339 /* end confdefs.h. */
31341 /* Override any gcc2 internal prototype to avoid an error. */
31345 /* We use char because int might match the return type of a gcc2
31346 builtin and then its argument prototype would still apply. */
31356 rm -f conftest.$ac_objext conftest$ac_exeext
31357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31358 (eval $ac_link) 2>conftest.er1
31360 grep -v '^ *+' conftest.er1 >conftest.err
31362 cat conftest.err >&5
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); } &&
31365 { ac_try='test -z "$ac_c_werror_flag"
31366 || test ! -s conftest.err'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; } &&
31372 { ac_try='test -s conftest$ac_exeext'
31373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31374 (eval $ac_try) 2>&5
31376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31377 (exit $ac_status); }; }; then
31378 ac_cv_lib_m_ynl=yes
31380 echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31385 rm -f conftest.err conftest.$ac_objext \
31386 conftest$ac_exeext conftest.$ac_ext
31387 LIBS=$ac_check_lib_save_LIBS
31389 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31390 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31391 if test $ac_cv_lib_m_ynl = yes; then
31393 cat >>confdefs.h <<\_ACEOF
31400 # On AIX, clog is present in libm as __clog
31401 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
31402 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
31403 if test "${ac_cv_lib_m___clog+set}" = set; then
31404 echo $ECHO_N "(cached) $ECHO_C" >&6
31406 ac_check_lib_save_LIBS=$LIBS
31408 if test x$gcc_no_link = xyes; then
31409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31411 { (exit 1); exit 1; }; }
31413 cat >conftest.$ac_ext <<_ACEOF
31416 cat confdefs.h >>conftest.$ac_ext
31417 cat >>conftest.$ac_ext <<_ACEOF
31418 /* end confdefs.h. */
31420 /* Override any gcc2 internal prototype to avoid an error. */
31424 /* We use char because int might match the return type of a gcc2
31425 builtin and then its argument prototype would still apply. */
31435 rm -f conftest.$ac_objext conftest$ac_exeext
31436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31437 (eval $ac_link) 2>conftest.er1
31439 grep -v '^ *+' conftest.er1 >conftest.err
31441 cat conftest.err >&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); } &&
31444 { ac_try='test -z "$ac_c_werror_flag"
31445 || test ! -s conftest.err'
31446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31447 (eval $ac_try) 2>&5
31449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31450 (exit $ac_status); }; } &&
31451 { ac_try='test -s conftest$ac_exeext'
31452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31453 (eval $ac_try) 2>&5
31455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31456 (exit $ac_status); }; }; then
31457 ac_cv_lib_m___clog=yes
31459 echo "$as_me: failed program was:" >&5
31460 sed 's/^/| /' conftest.$ac_ext >&5
31462 ac_cv_lib_m___clog=no
31464 rm -f conftest.err conftest.$ac_objext \
31465 conftest$ac_exeext conftest.$ac_ext
31466 LIBS=$ac_check_lib_save_LIBS
31468 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
31469 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
31470 if test $ac_cv_lib_m___clog = yes; then
31472 cat >>confdefs.h <<\_ACEOF
31473 #define HAVE_CLOG 1
31479 # Check for a isfinite macro that works on long doubles.
31481 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
31482 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
31483 if test "${have_broken_isfinite+set}" = set; then
31484 echo $ECHO_N "(cached) $ECHO_C" >&6
31487 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
31489 if test "$cross_compiling" = yes; then
31491 case "${target}" in
31492 hppa*-*-hpux*) have_broken_isfinite=yes ;;
31493 *) have_broken_isfinite=no ;;
31496 cat >conftest.$ac_ext <<_ACEOF
31499 cat confdefs.h >>conftest.$ac_ext
31500 cat >>conftest.$ac_ext <<_ACEOF
31501 /* end confdefs.h. */
31511 if (!isfinite(LDBL_MAX)) return 1;
31514 if (!isfinite(DBL_MAX)) return 1;
31520 rm -f conftest$ac_exeext
31521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31522 (eval $ac_link) 2>&5
31524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31527 (eval $ac_try) 2>&5
31529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31530 (exit $ac_status); }; }; then
31531 have_broken_isfinite=no
31533 echo "$as_me: program exited with status $ac_status" >&5
31534 echo "$as_me: failed program was:" >&5
31535 sed 's/^/| /' conftest.$ac_ext >&5
31537 ( exit $ac_status )
31538 have_broken_isfinite=yes
31540 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31542 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
31544 echo "$as_me:$LINENO: result: $have_broken_isfinite" >&5
31545 echo "${ECHO_T}$have_broken_isfinite" >&6
31546 if test x"$have_broken_isfinite" = xyes; then
31548 cat >>confdefs.h <<\_ACEOF
31549 #define HAVE_BROKEN_ISFINITE 1
31554 # Check for a isnan macro that works on long doubles.
31556 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
31557 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
31558 if test "${have_broken_isnan+set}" = set; then
31559 echo $ECHO_N "(cached) $ECHO_C" >&6
31562 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
31564 if test "$cross_compiling" = yes; then
31566 case "${target}" in
31567 hppa*-*-hpux*) have_broken_isnan=yes ;;
31568 *) have_broken_isnan=no ;;
31571 cat >conftest.$ac_ext <<_ACEOF
31574 cat confdefs.h >>conftest.$ac_ext
31575 cat >>conftest.$ac_ext <<_ACEOF
31576 /* end confdefs.h. */
31588 x = __builtin_nanl ("");
31589 if (!isnan(x)) return 1;
31590 if (isnan(LDBL_MAX)) return 1;
31592 x = (long double) NAN;
31593 if (!isnan(x)) return 1;
31600 y = __builtin_nan ("");
31601 if (!isnan(y)) return 1;
31602 if (isnan(DBL_MAX)) return 1;
31605 if (!isnan(y)) return 1;
31613 rm -f conftest$ac_exeext
31614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31615 (eval $ac_link) 2>&5
31617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31620 (eval $ac_try) 2>&5
31622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31623 (exit $ac_status); }; }; then
31624 have_broken_isnan=no
31626 echo "$as_me: program exited with status $ac_status" >&5
31627 echo "$as_me: failed program was:" >&5
31628 sed 's/^/| /' conftest.$ac_ext >&5
31630 ( exit $ac_status )
31631 have_broken_isnan=yes
31633 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31635 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
31637 echo "$as_me:$LINENO: result: $have_broken_isnan" >&5
31638 echo "${ECHO_T}$have_broken_isnan" >&6
31639 if test x"$have_broken_isnan" = xyes; then
31641 cat >>confdefs.h <<\_ACEOF
31642 #define HAVE_BROKEN_ISNAN 1
31647 # Check for a fpclassify macro that works on long doubles.
31649 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
31650 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
31651 if test "${have_broken_fpclassify+set}" = set; then
31652 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
31657 if test "$cross_compiling" = yes; then
31659 case "${target}" in
31660 hppa*-*-hpux*) have_broken_fpclassify=yes ;;
31661 *) have_broken_fpclassify=no ;;
31664 cat >conftest.$ac_ext <<_ACEOF
31667 cat confdefs.h >>conftest.$ac_ext
31668 cat >>conftest.$ac_ext <<_ACEOF
31669 /* end confdefs.h. */
31679 if (fpclassify(LDBL_MAX) == FP_NAN
31680 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
31683 if (fpclassify(DBL_MAX) == FP_NAN
31684 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
31690 rm -f conftest$ac_exeext
31691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31692 (eval $ac_link) 2>&5
31694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31695 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; }; then
31701 have_broken_fpclassify=no
31703 echo "$as_me: program exited with status $ac_status" >&5
31704 echo "$as_me: failed program was:" >&5
31705 sed 's/^/| /' conftest.$ac_ext >&5
31707 ( exit $ac_status )
31708 have_broken_fpclassify=yes
31710 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31712 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
31714 echo "$as_me:$LINENO: result: $have_broken_fpclassify" >&5
31715 echo "${ECHO_T}$have_broken_fpclassify" >&6
31716 if test x"$have_broken_fpclassify" = xyes; then
31718 cat >>confdefs.h <<\_ACEOF
31719 #define HAVE_BROKEN_FPCLASSIFY 1
31724 # Check whether the system has a working stat()
31726 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
31727 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
31728 if test "${have_working_stat+set}" = set; then
31729 echo $ECHO_N "(cached) $ECHO_C" >&6
31732 if test "$cross_compiling" = yes; then
31734 case "${target}" in
31735 *mingw*) have_working_stat=no ;;
31736 *) have_working_stat=yes;;
31739 cat >conftest.$ac_ext <<_ACEOF
31742 cat confdefs.h >>conftest.$ac_ext
31743 cat >>conftest.$ac_ext <<_ACEOF
31744 /* end confdefs.h. */
31747 #include <sys/types.h>
31748 #include <sys/stat.h>
31749 #include <unistd.h>
31754 struct stat st1, st2;
31756 f = fopen ("foo", "w");
31757 g = fopen ("bar", "w");
31758 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
31760 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
31767 rm -f conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>&5
31771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31772 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; }; then
31778 have_working_stat=yes
31780 echo "$as_me: program exited with status $ac_status" >&5
31781 echo "$as_me: failed program was:" >&5
31782 sed 's/^/| /' conftest.$ac_ext >&5
31784 ( exit $ac_status )
31785 have_working_stat=no
31787 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
31790 echo "$as_me:$LINENO: result: $have_working_stat" >&5
31791 echo "${ECHO_T}$have_working_stat" >&6
31792 if test x"$have_working_stat" = xyes; then
31794 cat >>confdefs.h <<\_ACEOF
31795 #define HAVE_WORKING_STAT 1
31800 # Check for GNU libc feenableexcept
31801 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
31802 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
31803 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
31804 echo $ECHO_N "(cached) $ECHO_C" >&6
31806 ac_check_lib_save_LIBS=$LIBS
31808 if test x$gcc_no_link = xyes; then
31809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31811 { (exit 1); exit 1; }; }
31813 cat >conftest.$ac_ext <<_ACEOF
31816 cat confdefs.h >>conftest.$ac_ext
31817 cat >>conftest.$ac_ext <<_ACEOF
31818 /* end confdefs.h. */
31820 /* Override any gcc2 internal prototype to avoid an error. */
31824 /* We use char because int might match the return type of a gcc2
31825 builtin and then its argument prototype would still apply. */
31826 char feenableexcept ();
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 ac_cv_lib_m_feenableexcept=yes
31859 echo "$as_me: failed program was:" >&5
31860 sed 's/^/| /' conftest.$ac_ext >&5
31862 ac_cv_lib_m_feenableexcept=no
31864 rm -f conftest.err conftest.$ac_objext \
31865 conftest$ac_exeext conftest.$ac_ext
31866 LIBS=$ac_check_lib_save_LIBS
31868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
31869 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
31870 if test $ac_cv_lib_m_feenableexcept = yes; then
31871 have_feenableexcept=yes
31872 cat >>confdefs.h <<\_ACEOF
31873 #define HAVE_FEENABLEEXCEPT 1
31879 # Check for SysV fpsetmask
31881 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
31882 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
31883 if test "${have_fpsetmask+set}" = set; then
31884 echo $ECHO_N "(cached) $ECHO_C" >&6
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 #if HAVE_FLOATINGPOINT_H
31900 # include <floatingpoint.h>
31901 #endif /* HAVE_FLOATINGPOINT_H */
31903 # include <ieeefp.h>
31904 #endif /* HAVE_IEEEFP_H */
31913 rm -f conftest.$ac_objext conftest$ac_exeext
31914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31915 (eval $ac_link) 2>conftest.er1
31917 grep -v '^ *+' conftest.er1 >conftest.err
31919 cat conftest.err >&5
31920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31921 (exit $ac_status); } &&
31922 { ac_try='test -z "$ac_c_werror_flag"
31923 || test ! -s conftest.err'
31924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31925 (eval $ac_try) 2>&5
31927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31928 (exit $ac_status); }; } &&
31929 { ac_try='test -s conftest$ac_exeext'
31930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31931 (eval $ac_try) 2>&5
31933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31934 (exit $ac_status); }; }; then
31935 eval "have_fpsetmask=yes"
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31940 eval "have_fpsetmask=no"
31942 rm -f conftest.err conftest.$ac_objext \
31943 conftest$ac_exeext conftest.$ac_ext
31946 echo "$as_me:$LINENO: result: $have_fpsetmask" >&5
31947 echo "${ECHO_T}$have_fpsetmask" >&6
31948 if test x"$have_fpsetmask" = xyes; then
31950 cat >>confdefs.h <<\_ACEOF
31951 #define HAVE_FPSETMASK 1
31957 # Check for AIX fp_trap and fp_enable
31958 echo "$as_me:$LINENO: checking for fp_trap" >&5
31959 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
31960 if test "${ac_cv_func_fp_trap+set}" = set; then
31961 echo $ECHO_N "(cached) $ECHO_C" >&6
31963 if test x$gcc_no_link = xyes; then
31964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31966 { (exit 1); exit 1; }; }
31968 cat >conftest.$ac_ext <<_ACEOF
31971 cat confdefs.h >>conftest.$ac_ext
31972 cat >>conftest.$ac_ext <<_ACEOF
31973 /* end confdefs.h. */
31974 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
31975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31976 #define fp_trap innocuous_fp_trap
31978 /* System header to define __stub macros and hopefully few prototypes,
31979 which can conflict with char fp_trap (); below.
31980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31981 <limits.h> exists even on freestanding compilers. */
31984 # include <limits.h>
31986 # include <assert.h>
31991 /* Override any gcc2 internal prototype to avoid an error. */
31996 /* We use char because int might match the return type of a gcc2
31997 builtin and then its argument prototype would still apply. */
31999 /* The GNU C library defines this for functions which it implements
32000 to always fail with ENOSYS. Some functions are actually named
32001 something starting with __ and the normal name is an alias. */
32002 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32005 char (*f) () = fp_trap;
32014 return f != fp_trap;
32019 rm -f conftest.$ac_objext conftest$ac_exeext
32020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32021 (eval $ac_link) 2>conftest.er1
32023 grep -v '^ *+' conftest.er1 >conftest.err
32025 cat conftest.err >&5
32026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32027 (exit $ac_status); } &&
32028 { ac_try='test -z "$ac_c_werror_flag"
32029 || test ! -s conftest.err'
32030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32031 (eval $ac_try) 2>&5
32033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32034 (exit $ac_status); }; } &&
32035 { ac_try='test -s conftest$ac_exeext'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; }; then
32041 ac_cv_func_fp_trap=yes
32043 echo "$as_me: failed program was:" >&5
32044 sed 's/^/| /' conftest.$ac_ext >&5
32046 ac_cv_func_fp_trap=no
32048 rm -f conftest.err conftest.$ac_objext \
32049 conftest$ac_exeext conftest.$ac_ext
32051 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32052 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32053 if test $ac_cv_func_fp_trap = yes; then
32055 cat >>confdefs.h <<\_ACEOF
32056 #define HAVE_FP_TRAP 1
32061 echo "$as_me:$LINENO: checking for fp_enable" >&5
32062 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32063 if test "${ac_cv_func_fp_enable+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32066 if test x$gcc_no_link = xyes; then
32067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32069 { (exit 1); exit 1; }; }
32071 cat >conftest.$ac_ext <<_ACEOF
32074 cat confdefs.h >>conftest.$ac_ext
32075 cat >>conftest.$ac_ext <<_ACEOF
32076 /* end confdefs.h. */
32077 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32079 #define fp_enable innocuous_fp_enable
32081 /* System header to define __stub macros and hopefully few prototypes,
32082 which can conflict with char fp_enable (); below.
32083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32084 <limits.h> exists even on freestanding compilers. */
32087 # include <limits.h>
32089 # include <assert.h>
32094 /* Override any gcc2 internal prototype to avoid an error. */
32099 /* We use char because int might match the return type of a gcc2
32100 builtin and then its argument prototype would still apply. */
32102 /* The GNU C library defines this for functions which it implements
32103 to always fail with ENOSYS. Some functions are actually named
32104 something starting with __ and the normal name is an alias. */
32105 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32108 char (*f) () = fp_enable;
32117 return f != fp_enable;
32122 rm -f conftest.$ac_objext conftest$ac_exeext
32123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32124 (eval $ac_link) 2>conftest.er1
32126 grep -v '^ *+' conftest.er1 >conftest.err
32128 cat conftest.err >&5
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); } &&
32131 { ac_try='test -z "$ac_c_werror_flag"
32132 || test ! -s conftest.err'
32133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134 (eval $ac_try) 2>&5
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); }; } &&
32138 { ac_try='test -s conftest$ac_exeext'
32139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32140 (eval $ac_try) 2>&5
32142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32143 (exit $ac_status); }; }; then
32144 ac_cv_func_fp_enable=yes
32146 echo "$as_me: failed program was:" >&5
32147 sed 's/^/| /' conftest.$ac_ext >&5
32149 ac_cv_func_fp_enable=no
32151 rm -f conftest.err conftest.$ac_objext \
32152 conftest$ac_exeext conftest.$ac_ext
32154 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32155 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32156 if test $ac_cv_func_fp_enable = yes; then
32158 cat >>confdefs.h <<\_ACEOF
32159 #define HAVE_FP_ENABLE 1
32165 # Runs configure.host to set up necessary host-dependent shell variables.
32166 # We then display a message about it, and propagate them through the
32168 . ${srcdir}/configure.host
32169 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32170 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32171 FPU_HOST_HEADER=config/${fpu_host}.h
32174 # Attempt to assert that the target is of common type in case we don't
32175 # have C99 integer types at all.
32177 echo "$as_me:$LINENO: checking whether the target is ILP32" >&5
32178 echo $ECHO_N "checking whether the target is ILP32... $ECHO_C" >&6
32179 if test "${target_ilp32+set}" = set; then
32180 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 save_CFLAGS="$CFLAGS"
32185 if test x$gcc_no_link = xyes; then
32186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32188 { (exit 1); exit 1; }; }
32190 cat >conftest.$ac_ext <<_ACEOF
32193 cat confdefs.h >>conftest.$ac_ext
32194 cat >>conftest.$ac_ext <<_ACEOF
32195 /* end confdefs.h. */
32201 if (sizeof(int) == 4 && sizeof(long) == 4 && sizeof(void *) == 4)
32204 undefined_function ();
32210 rm -f conftest.$ac_objext conftest$ac_exeext
32211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32212 (eval $ac_link) 2>conftest.er1
32214 grep -v '^ *+' conftest.er1 >conftest.err
32216 cat conftest.err >&5
32217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32218 (exit $ac_status); } &&
32219 { ac_try='test -z "$ac_c_werror_flag"
32220 || test ! -s conftest.err'
32221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32222 (eval $ac_try) 2>&5
32224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32225 (exit $ac_status); }; } &&
32226 { ac_try='test -s conftest$ac_exeext'
32227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32228 (eval $ac_try) 2>&5
32230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32231 (exit $ac_status); }; }; then
32234 echo "$as_me: failed program was:" >&5
32235 sed 's/^/| /' conftest.$ac_ext >&5
32239 rm -f conftest.err conftest.$ac_objext \
32240 conftest$ac_exeext conftest.$ac_ext
32241 CFLAGS="$save_CFLAGS"
32243 echo "$as_me:$LINENO: result: $target_ilp32" >&5
32244 echo "${ECHO_T}$target_ilp32" >&6
32245 if test $target_ilp32 = yes; then
32247 cat >>confdefs.h <<\_ACEOF
32248 #define TARGET_ILP32 1
32254 # Check out attribute support.
32256 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32257 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32258 if test "${have_attribute_visibility+set}" = set; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32262 save_CFLAGS="$CFLAGS"
32263 CFLAGS="$CFLAGS -Werror"
32264 cat >conftest.$ac_ext <<_ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270 void __attribute__((visibility("hidden"))) foo(void) { }
32279 rm -f conftest.$ac_objext
32280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32281 (eval $ac_compile) 2>conftest.er1
32283 grep -v '^ *+' conftest.er1 >conftest.err
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } &&
32288 { ac_try='test -z "$ac_c_werror_flag"
32289 || test ! -s conftest.err'
32290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32291 (eval $ac_try) 2>&5
32293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32294 (exit $ac_status); }; } &&
32295 { ac_try='test -s conftest.$ac_objext'
32296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32297 (eval $ac_try) 2>&5
32299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32300 (exit $ac_status); }; }; then
32301 have_attribute_visibility=yes
32303 echo "$as_me: failed program was:" >&5
32304 sed 's/^/| /' conftest.$ac_ext >&5
32306 have_attribute_visibility=no
32308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32309 CFLAGS="$save_CFLAGS"
32311 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
32312 echo "${ECHO_T}$have_attribute_visibility" >&6
32313 if test $have_attribute_visibility = yes; then
32315 cat >>confdefs.h <<\_ACEOF
32316 #define HAVE_ATTRIBUTE_VISIBILITY 1
32321 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32322 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32323 if test "${have_attribute_dllexport+set}" = set; then
32324 echo $ECHO_N "(cached) $ECHO_C" >&6
32327 save_CFLAGS="$CFLAGS"
32328 CFLAGS="$CFLAGS -Werror"
32329 cat >conftest.$ac_ext <<_ACEOF
32332 cat confdefs.h >>conftest.$ac_ext
32333 cat >>conftest.$ac_ext <<_ACEOF
32334 /* end confdefs.h. */
32335 void __attribute__((dllexport)) foo(void) { }
32344 rm -f conftest.$ac_objext
32345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32346 (eval $ac_compile) 2>conftest.er1
32348 grep -v '^ *+' conftest.er1 >conftest.err
32350 cat conftest.err >&5
32351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32352 (exit $ac_status); } &&
32353 { ac_try='test -z "$ac_c_werror_flag"
32354 || test ! -s conftest.err'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; } &&
32360 { ac_try='test -s conftest.$ac_objext'
32361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32362 (eval $ac_try) 2>&5
32364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32365 (exit $ac_status); }; }; then
32366 have_attribute_dllexport=yes
32368 echo "$as_me: failed program was:" >&5
32369 sed 's/^/| /' conftest.$ac_ext >&5
32371 have_attribute_dllexport=no
32373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32374 CFLAGS="$save_CFLAGS"
32376 echo "$as_me:$LINENO: result: $have_attribute_dllexport" >&5
32377 echo "${ECHO_T}$have_attribute_dllexport" >&6
32378 if test $have_attribute_dllexport = yes; then
32380 cat >>confdefs.h <<\_ACEOF
32381 #define HAVE_ATTRIBUTE_DLLEXPORT 1
32386 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
32387 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
32388 if test "${have_attribute_alias+set}" = set; then
32389 echo $ECHO_N "(cached) $ECHO_C" >&6
32392 if test x$gcc_no_link = xyes; then
32393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32395 { (exit 1); exit 1; }; }
32397 cat >conftest.$ac_ext <<_ACEOF
32400 cat confdefs.h >>conftest.$ac_ext
32401 cat >>conftest.$ac_ext <<_ACEOF
32402 /* end confdefs.h. */
32405 extern void bar(void) __attribute__((alias("foo")));
32414 rm -f conftest.$ac_objext conftest$ac_exeext
32415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32416 (eval $ac_link) 2>conftest.er1
32418 grep -v '^ *+' conftest.er1 >conftest.err
32420 cat conftest.err >&5
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); } &&
32423 { ac_try='test -z "$ac_c_werror_flag"
32424 || test ! -s conftest.err'
32425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32426 (eval $ac_try) 2>&5
32428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32429 (exit $ac_status); }; } &&
32430 { ac_try='test -s conftest$ac_exeext'
32431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32432 (eval $ac_try) 2>&5
32434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32435 (exit $ac_status); }; }; then
32436 have_attribute_alias=yes
32438 echo "$as_me: failed program was:" >&5
32439 sed 's/^/| /' conftest.$ac_ext >&5
32441 have_attribute_alias=no
32443 rm -f conftest.err conftest.$ac_objext \
32444 conftest$ac_exeext conftest.$ac_ext
32446 echo "$as_me:$LINENO: result: $have_attribute_alias" >&5
32447 echo "${ECHO_T}$have_attribute_alias" >&6
32448 if test $have_attribute_alias = yes; then
32450 cat >>confdefs.h <<\_ACEOF
32451 #define HAVE_ATTRIBUTE_ALIAS 1
32456 # Check out sync builtins support.
32458 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
32459 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
32460 if test "${have_sync_fetch_and_add+set}" = set; then
32461 echo $ECHO_N "(cached) $ECHO_C" >&6
32464 if test x$gcc_no_link = xyes; then
32465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32467 { (exit 1); exit 1; }; }
32469 cat >conftest.$ac_ext <<_ACEOF
32472 cat confdefs.h >>conftest.$ac_ext
32473 cat >>conftest.$ac_ext <<_ACEOF
32474 /* end confdefs.h. */
32480 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
32481 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
32486 rm -f conftest.$ac_objext conftest$ac_exeext
32487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32488 (eval $ac_link) 2>conftest.er1
32490 grep -v '^ *+' conftest.er1 >conftest.err
32492 cat conftest.err >&5
32493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32494 (exit $ac_status); } &&
32495 { ac_try='test -z "$ac_c_werror_flag"
32496 || test ! -s conftest.err'
32497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32498 (eval $ac_try) 2>&5
32500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32501 (exit $ac_status); }; } &&
32502 { ac_try='test -s conftest$ac_exeext'
32503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32504 (eval $ac_try) 2>&5
32506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32507 (exit $ac_status); }; }; then
32508 have_sync_fetch_and_add=yes
32510 echo "$as_me: failed program was:" >&5
32511 sed 's/^/| /' conftest.$ac_ext >&5
32513 have_sync_fetch_and_add=no
32515 rm -f conftest.err conftest.$ac_objext \
32516 conftest$ac_exeext conftest.$ac_ext
32518 echo "$as_me:$LINENO: result: $have_sync_fetch_and_add" >&5
32519 echo "${ECHO_T}$have_sync_fetch_and_add" >&6
32520 if test $have_sync_fetch_and_add = yes; then
32522 cat >>confdefs.h <<\_ACEOF
32523 #define HAVE_SYNC_FETCH_AND_ADD 1
32528 # Check out thread support.
32530 echo "$as_me:$LINENO: checking configured target thread model" >&5
32531 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
32532 if test "${target_thread_file+set}" = set; then
32533 echo $ECHO_N "(cached) $ECHO_C" >&6
32536 target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
32538 echo "$as_me:$LINENO: result: $target_thread_file" >&5
32539 echo "${ECHO_T}$target_thread_file" >&6
32541 if test $target_thread_file != single; then
32543 cat >>confdefs.h <<\_ACEOF
32544 #define HAVE_GTHR_DEFAULT 1
32549 # Check out #pragma weak.
32551 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
32552 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
32553 if test "${have_pragma_weak+set}" = set; then
32554 echo $ECHO_N "(cached) $ECHO_C" >&6
32557 gfor_save_CFLAGS="$CFLAGS"
32558 CFLAGS="$CFLAGS -Wunknown-pragmas"
32559 cat >conftest.$ac_ext <<_ACEOF
32562 cat confdefs.h >>conftest.$ac_ext
32563 cat >>conftest.$ac_ext <<_ACEOF
32564 /* end confdefs.h. */
32575 rm -f conftest.$ac_objext
32576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32577 (eval $ac_compile) 2>conftest.er1
32579 grep -v '^ *+' conftest.er1 >conftest.err
32581 cat conftest.err >&5
32582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32583 (exit $ac_status); } &&
32584 { ac_try='test -z "$ac_c_werror_flag"
32585 || test ! -s conftest.err'
32586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32587 (eval $ac_try) 2>&5
32589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32590 (exit $ac_status); }; } &&
32591 { ac_try='test -s conftest.$ac_objext'
32592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32593 (eval $ac_try) 2>&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); }; }; then
32597 have_pragma_weak=yes
32599 echo "$as_me: failed program was:" >&5
32600 sed 's/^/| /' conftest.$ac_ext >&5
32602 have_pragma_weak=no
32604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32606 echo "$as_me:$LINENO: result: $have_pragma_weak" >&5
32607 echo "${ECHO_T}$have_pragma_weak" >&6
32608 if test $have_pragma_weak = yes; then
32610 cat >>confdefs.h <<\_ACEOF
32611 #define SUPPORTS_WEAK 1
32616 *-*-darwin* | *-*-hpux* | *-*-cygwin*)
32618 cat >>confdefs.h <<\_ACEOF
32619 #define GTHREAD_USE_WEAK 0
32625 # Various other checks on target
32627 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
32628 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
32629 if test "${have_unlink_open_file+set}" = set; then
32630 echo $ECHO_N "(cached) $ECHO_C" >&6
32633 if test "$cross_compiling" = yes; then
32635 case "${target}" in
32636 *mingw*) have_unlink_open_file=no ;;
32637 *) have_unlink_open_file=yes;;
32640 cat >conftest.$ac_ext <<_ACEOF
32643 cat confdefs.h >>conftest.$ac_ext
32644 cat >>conftest.$ac_ext <<_ACEOF
32645 /* end confdefs.h. */
32649 #include <unistd.h>
32650 #include <sys/stat.h>
32656 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
32659 if (unlink ("testfile") == -1)
32661 write (fd, "This is a test\n", 15);
32664 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
32670 rm -f conftest$ac_exeext
32671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32672 (eval $ac_link) 2>&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32677 (eval $ac_try) 2>&5
32679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32680 (exit $ac_status); }; }; then
32681 have_unlink_open_file=yes
32683 echo "$as_me: program exited with status $ac_status" >&5
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32687 ( exit $ac_status )
32688 have_unlink_open_file=no
32690 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32693 echo "$as_me:$LINENO: result: $have_unlink_open_file" >&5
32694 echo "${ECHO_T}$have_unlink_open_file" >&6
32695 if test x"$have_unlink_open_file" = xyes; then
32697 cat >>confdefs.h <<\_ACEOF
32698 #define HAVE_UNLINK_OPEN_FILE 1
32703 # Check whether line terminator is LF or CRLF
32705 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
32706 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
32707 if test "${have_crlf+set}" = set; then
32708 echo $ECHO_N "(cached) $ECHO_C" >&6
32711 if test "$cross_compiling" = yes; then
32713 case "${target}" in
32714 *mingw*) have_crlf=yes ;;
32718 cat >conftest.$ac_ext <<_ACEOF
32721 cat confdefs.h >>conftest.$ac_ext
32722 cat >>conftest.$ac_ext <<_ACEOF
32723 /* end confdefs.h. */
32725 /* This test program should exit with status 0 if system uses a CRLF as
32726 line terminator, and status 1 otherwise.
32727 Since it is used to check for mingw systems, and should return 0 in any
32728 other case, in case of a failure we will not use CRLF. */
32729 #include <sys/stat.h>
32730 #include <stdlib.h>
32742 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
32745 if (write (fd, "\n", 1) < 0)
32750 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
32752 bytes = read (fd, buff, 5);
32753 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
32760 rm -f conftest$ac_exeext
32761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32762 (eval $ac_link) 2>&5
32764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32765 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32767 (eval $ac_try) 2>&5
32769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32770 (exit $ac_status); }; }; then
32773 echo "$as_me: program exited with status $ac_status" >&5
32774 echo "$as_me: failed program was:" >&5
32775 sed 's/^/| /' conftest.$ac_ext >&5
32777 ( exit $ac_status )
32780 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32783 echo "$as_me:$LINENO: result: $have_crlf" >&5
32784 echo "${ECHO_T}$have_crlf" >&6
32785 if test x"$have_crlf" = xyes; then
32787 cat >>confdefs.h <<\_ACEOF
32788 #define HAVE_CRLF 1
32793 cat >confcache <<\_ACEOF
32794 # This file is a shell script that caches the results of configure
32795 # tests run on this system so they can be shared between configure
32796 # scripts and configure runs, see configure's option --config-cache.
32797 # It is not useful on other systems. If it contains results you don't
32798 # want to keep, you may remove or edit it.
32800 # config.status only pays attention to the cache file if you give it
32801 # the --recheck option to rerun configure.
32803 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32804 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32805 # following values.
32809 # The following way of writing the cache mishandles newlines in values,
32810 # but we know of no workaround that is simple, portable, and efficient.
32811 # So, don't put newlines in cache variables' values.
32812 # Ultrix sh set writes to stderr and can't be redirected directly,
32813 # and sets the high bit in the cache file unless we assign to the vars.
32816 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32818 # `set' does not quote correctly, so add quotes (double-quote
32819 # substitution turns \\\\ into \\, and sed turns \\ into \).
32822 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32825 # `set' quotes correctly as required by POSIX, so do not add quotes.
32827 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32834 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32836 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32838 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32839 if test -w $cache_file; then
32840 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32841 cat confcache >$cache_file
32843 echo "not updating unwritable cache $cache_file"
32848 if test ${multilib} = yes; then
32849 multilib_arg="--enable-multilib"
32854 # Write our Makefile.
32855 ac_config_files="$ac_config_files Makefile"
32857 cat >confcache <<\_ACEOF
32858 # This file is a shell script that caches the results of configure
32859 # tests run on this system so they can be shared between configure
32860 # scripts and configure runs, see configure's option --config-cache.
32861 # It is not useful on other systems. If it contains results you don't
32862 # want to keep, you may remove or edit it.
32864 # config.status only pays attention to the cache file if you give it
32865 # the --recheck option to rerun configure.
32867 # `ac_cv_env_foo' variables (set or unset) will be overridden when
32868 # loading this file, other *unset* `ac_cv_foo' will be assigned the
32869 # following values.
32873 # The following way of writing the cache mishandles newlines in values,
32874 # but we know of no workaround that is simple, portable, and efficient.
32875 # So, don't put newlines in cache variables' values.
32876 # Ultrix sh set writes to stderr and can't be redirected directly,
32877 # and sets the high bit in the cache file unless we assign to the vars.
32880 case `(ac_space=' '; set | grep ac_space) 2>&1` in
32882 # `set' does not quote correctly, so add quotes (double-quote
32883 # substitution turns \\\\ into \\, and sed turns \\ into \).
32886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
32889 # `set' quotes correctly as required by POSIX, so do not add quotes.
32891 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
32898 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
32900 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
32902 if diff $cache_file confcache >/dev/null 2>&1; then :; else
32903 if test -w $cache_file; then
32904 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
32905 cat confcache >$cache_file
32907 echo "not updating unwritable cache $cache_file"
32912 test "x$prefix" = xNONE && prefix=$ac_default_prefix
32913 # Let make expand exec_prefix.
32914 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
32916 # VPATH may cause trouble with some makes, so we remove $(srcdir),
32917 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
32918 # trailing colons and then remove the whole line if VPATH becomes empty
32919 # (actually we leave an empty line to preserve line numbers).
32920 if test "x$srcdir" = x.; then
32921 ac_vpsub='/^[ ]*VPATH[ ]*=/{
32922 s/:*\$(srcdir):*/:/;
32923 s/:*\${srcdir}:*/:/;
32925 s/^\([^=]*=[ ]*\):*/\1/;
32931 DEFS=-DHAVE_CONFIG_H
32935 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
32936 # 1. Remove the extension, and $U if already installed.
32937 ac_i=`echo "$ac_i" |
32938 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
32940 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
32941 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
32943 LIBOBJS=$ac_libobjs
32945 LTLIBOBJS=$ac_ltlibobjs
32948 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
32949 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
32950 Usually this means the macro was only invoked conditionally." >&5
32951 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
32952 Usually this means the macro was only invoked conditionally." >&2;}
32953 { (exit 1); exit 1; }; }
32955 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
32956 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
32957 Usually this means the macro was only invoked conditionally." >&5
32958 echo "$as_me: error: conditional \"AMDEP\" was never defined.
32959 Usually this means the macro was only invoked conditionally." >&2;}
32960 { (exit 1); exit 1; }; }
32962 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
32963 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
32964 Usually this means the macro was only invoked conditionally." >&5
32965 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
32966 Usually this means the macro was only invoked conditionally." >&2;}
32967 { (exit 1); exit 1; }; }
32969 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
32970 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32971 Usually this means the macro was only invoked conditionally." >&5
32972 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
32973 Usually this means the macro was only invoked conditionally." >&2;}
32974 { (exit 1); exit 1; }; }
32977 : ${CONFIG_STATUS=./config.status}
32978 ac_clean_files_save=$ac_clean_files
32979 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32980 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
32981 echo "$as_me: creating $CONFIG_STATUS" >&6;}
32982 cat >$CONFIG_STATUS <<_ACEOF
32984 # Generated by $as_me.
32985 # Run this file to recreate the current configuration.
32986 # Compiler output produced by configure, useful for debugging
32987 # configure, is in config.log if it exists.
32990 ac_cs_recheck=false
32992 SHELL=\${CONFIG_SHELL-$SHELL}
32995 cat >>$CONFIG_STATUS <<\_ACEOF
32996 ## --------------------- ##
32997 ## M4sh Initialization. ##
32998 ## --------------------- ##
33000 # Be Bourne compatible
33001 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33004 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33005 # is contrary to our usage. Disable this feature.
33006 alias -g '${1+"$@"}'='"$@"'
33007 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33010 DUALCASE=1; export DUALCASE # for MKS sh
33012 # Support unset when possible.
33013 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33020 # Work around bugs in pre-3.0 UWIN ksh.
33021 $as_unset ENV MAIL MAILPATH
33028 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33029 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33030 LC_TELEPHONE LC_TIME
33032 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33033 eval $as_var=C; export $as_var
33039 # Required to use basename.
33040 if expr a : '\(a\)' >/dev/null 2>&1; then
33046 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33047 as_basename=basename
33053 # Name of the executable.
33054 as_me=`$as_basename "$0" ||
33055 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33056 X"$0" : 'X\(//\)$' \| \
33057 X"$0" : 'X\(/\)$' \| \
33058 . : '\(.\)' 2>/dev/null ||
33060 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33061 /^X\/\(\/\/\)$/{ s//\1/; q; }
33062 /^X\/\(\/\).*/{ s//\1/; q; }
33066 # PATH needs CR, and LINENO needs CR and PATH.
33067 # Avoid depending upon Character Ranges.
33068 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33069 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33070 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33071 as_cr_digits='0123456789'
33072 as_cr_alnum=$as_cr_Letters$as_cr_digits
33074 # The user is always right.
33075 if test "${PATH_SEPARATOR+set}" != set; then
33076 echo "#! /bin/sh" >conf$$.sh
33077 echo "exit 0" >>conf$$.sh
33079 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33088 as_lineno_1=$LINENO
33089 as_lineno_2=$LINENO
33090 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33091 test "x$as_lineno_1" != "x$as_lineno_2" &&
33092 test "x$as_lineno_3" = "x$as_lineno_2" || {
33093 # Find who we are. Look in the path if we contain no path at all
33096 *[\\/]* ) as_myself=$0 ;;
33097 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33098 for as_dir in $PATH
33101 test -z "$as_dir" && as_dir=.
33102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33107 # We did not find ourselves, most probably we were run as `sh COMMAND'
33108 # in which case we are not to be found in the path.
33109 if test "x$as_myself" = x; then
33112 if test ! -f "$as_myself"; then
33113 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33114 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33115 { (exit 1); exit 1; }; }
33117 case $CONFIG_SHELL in
33119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33120 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33123 test -z "$as_dir" && as_dir=.
33124 for as_base in sh bash ksh sh5; do
33127 if ("$as_dir/$as_base" -c '
33128 as_lineno_1=$LINENO
33129 as_lineno_2=$LINENO
33130 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33131 test "x$as_lineno_1" != "x$as_lineno_2" &&
33132 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33133 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33134 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33135 CONFIG_SHELL=$as_dir/$as_base
33136 export CONFIG_SHELL
33137 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33145 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33146 # uniformly replaced by the line number. The first 'sed' inserts a
33147 # line-number line before each line; the second 'sed' does the real
33148 # work. The second script uses 'N' to pair each line-number line
33149 # with the numbered line, and appends trailing '-' during
33150 # substitution so that $LINENO is not a special case at line end.
33151 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33152 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33153 sed '=' <$as_myself |
33158 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33161 s,^['$as_cr_digits']*\n,,
33162 ' >$as_me.lineno &&
33163 chmod +x $as_me.lineno ||
33164 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33165 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33166 { (exit 1); exit 1; }; }
33168 # Don't try to exec as it changes $[0], causing all sort of problems
33169 # (the dirname of $[0] is not the place where we might find the
33170 # original and so on. Autoconf is especially sensible to this).
33172 # Exit status is that of the last command.
33177 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33178 *c*,-n*) ECHO_N= ECHO_C='
33180 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33181 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33184 if expr a : '\(a\)' >/dev/null 2>&1; then
33190 rm -f conf$$ conf$$.exe conf$$.file
33192 if ln -s conf$$.file conf$$ 2>/dev/null; then
33193 # We could just check for DJGPP; but this test a) works b) is more generic
33194 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33195 if test -f conf$$.exe; then
33196 # Don't use ln at all; we don't have any links
33201 elif ln conf$$.file conf$$ 2>/dev/null; then
33206 rm -f conf$$ conf$$.exe conf$$.file
33208 if mkdir -p . 2>/dev/null; then
33211 test -d ./-p && rmdir ./-p
33215 as_executable_p="test -f"
33217 # Sed expression to map a string onto a valid CPP name.
33218 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33220 # Sed expression to map a string onto a valid variable name.
33221 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33225 # We need space, tab and new line, in precisely that order.
33235 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33236 # report actual input values of CONFIG_FILES etc. instead of their
33237 # values after options handling. Logging --version etc. is OK.
33241 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33242 ## Running $as_me. ##
33247 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33248 generated by GNU Autoconf 2.59. Invocation command line was
33250 CONFIG_FILES = $CONFIG_FILES
33251 CONFIG_HEADERS = $CONFIG_HEADERS
33252 CONFIG_LINKS = $CONFIG_LINKS
33253 CONFIG_COMMANDS = $CONFIG_COMMANDS
33257 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33261 # Files that config.status was made for.
33262 if test -n "$ac_config_files"; then
33263 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33266 if test -n "$ac_config_headers"; then
33267 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33270 if test -n "$ac_config_links"; then
33271 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33274 if test -n "$ac_config_commands"; then
33275 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33278 cat >>$CONFIG_STATUS <<\_ACEOF
33281 \`$as_me' instantiates files from templates according to the
33282 current configuration.
33284 Usage: $0 [OPTIONS] [FILE]...
33286 -h, --help print this help, then exit
33287 -V, --version print version number, then exit
33288 -q, --quiet do not print progress messages
33289 -d, --debug don't remove temporary files
33290 --recheck update $as_me by reconfiguring in the same conditions
33291 --file=FILE[:TEMPLATE]
33292 instantiate the configuration file FILE
33293 --header=FILE[:TEMPLATE]
33294 instantiate the configuration header FILE
33296 Configuration files:
33299 Configuration headers:
33302 Configuration commands:
33305 Report bugs to <bug-autoconf@gnu.org>."
33308 cat >>$CONFIG_STATUS <<_ACEOF
33310 GNU Fortran Runtime Library config.status 0.3
33311 configured by $0, generated by GNU Autoconf 2.59,
33312 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33314 Copyright (C) 2003 Free Software Foundation, Inc.
33315 This config.status script is free software; the Free Software Foundation
33316 gives unlimited permission to copy, distribute and modify it."
33321 cat >>$CONFIG_STATUS <<\_ACEOF
33322 # If no file are specified by the user, then we need to provide default
33323 # value. By we need to know if files were specified by the user.
33329 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33330 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33338 *) # This is not an option, so the user has probably given explicit
33341 ac_need_defaults=false;;
33345 # Handling of the options.
33347 cat >>$CONFIG_STATUS <<\_ACEOF
33348 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33350 --version | --vers* | -V )
33351 echo "$ac_cs_version"; exit 0 ;;
33353 # Conflict between --help and --header
33354 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33355 Try \`$0 --help' for more information." >&5
33356 echo "$as_me: error: ambiguous option: $1
33357 Try \`$0 --help' for more information." >&2;}
33358 { (exit 1); exit 1; }; };;
33359 --help | --hel | -h )
33360 echo "$ac_cs_usage"; exit 0 ;;
33361 --debug | --d* | -d )
33363 --file | --fil | --fi | --f )
33365 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
33366 ac_need_defaults=false;;
33367 --header | --heade | --head | --hea )
33369 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
33370 ac_need_defaults=false;;
33371 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
33372 | -silent | --silent | --silen | --sile | --sil | --si | --s)
33375 # This is an error.
33376 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
33377 Try \`$0 --help' for more information." >&5
33378 echo "$as_me: error: unrecognized option: $1
33379 Try \`$0 --help' for more information." >&2;}
33380 { (exit 1); exit 1; }; } ;;
33382 *) ac_config_targets="$ac_config_targets $1" ;;
33388 ac_configure_extra_args=
33390 if $ac_cs_silent; then
33392 ac_configure_extra_args="$ac_configure_extra_args --silent"
33396 cat >>$CONFIG_STATUS <<_ACEOF
33397 if \$ac_cs_recheck; then
33398 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
33399 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
33404 cat >>$CONFIG_STATUS <<_ACEOF
33406 # INIT-COMMANDS section.
33413 with_multisubdir="$with_multisubdir"
33414 with_multisrctop="$with_multisrctop"
33415 with_target_subdir="$with_target_subdir"
33416 ac_configure_args="${multilib_arg} ${ac_configure_args}"
33417 multi_basedir="$multi_basedir"
33418 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
33420 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
33423 # The HP-UX ksh and POSIX shell print the target directory to stdout
33424 # if CDPATH is set.
33425 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
33427 sed_quote_subst='$sed_quote_subst'
33428 double_quote_subst='$double_quote_subst'
33429 delay_variable_subst='$delay_variable_subst'
33430 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
33431 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
33432 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
33433 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
33434 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
33435 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
33436 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
33437 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
33438 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
33439 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
33440 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
33441 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
33442 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
33443 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
33444 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
33445 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
33446 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
33447 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
33448 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
33449 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
33450 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
33451 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
33452 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
33453 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
33454 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
33455 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
33456 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
33457 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33458 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
33459 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
33460 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
33461 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33462 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
33463 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
33464 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33465 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33466 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33467 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
33468 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
33469 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
33470 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
33471 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
33472 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
33473 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"`'
33474 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
33475 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
33476 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
33477 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
33478 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
33479 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
33480 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
33481 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
33482 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
33483 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
33484 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
33485 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33486 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33487 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
33488 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
33489 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33490 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33491 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
33492 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33493 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33494 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33495 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33496 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33497 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33498 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
33499 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33500 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
33501 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
33502 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
33503 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
33504 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
33505 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
33506 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
33507 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33508 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
33509 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
33510 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
33511 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
33512 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
33513 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33514 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33515 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
33516 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33517 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
33518 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
33519 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
33520 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
33521 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
33522 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33523 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
33524 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
33525 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33526 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
33527 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
33528 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33529 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33530 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
33531 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
33532 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
33533 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33534 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
33535 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
33536 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
33537 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
33538 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
33539 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
33540 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
33541 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33542 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
33543 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
33544 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
33545 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
33546 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
33547 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33548 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
33549 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
33550 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33551 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
33552 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33553 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
33554 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
33555 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
33556 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
33557 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33558 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33559 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
33560 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33561 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33562 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33563 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33564 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33565 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33566 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33567 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33568 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
33569 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33570 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
33571 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
33572 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
33573 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
33574 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
33575 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
33576 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
33577 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
33578 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
33579 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33580 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
33581 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33582 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33583 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
33584 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
33585 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
33586 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
33587 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33588 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
33589 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33590 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
33591 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
33594 LTCFLAGS='$LTCFLAGS'
33595 compiler='$compiler_DEFAULT'
33597 # Quote evaled strings.
33608 deplibs_check_method \
33617 lt_cv_sys_global_symbol_pipe \
33618 lt_cv_sys_global_symbol_to_cdecl \
33619 lt_cv_sys_global_symbol_to_c_name_address \
33622 lt_prog_compiler_no_builtin_flag \
33623 lt_prog_compiler_wl \
33624 lt_prog_compiler_pic \
33625 lt_prog_compiler_static \
33626 lt_cv_prog_compiler_c_o \
33629 export_dynamic_flag_spec \
33630 whole_archive_flag_spec \
33631 compiler_needs_object \
33633 allow_undefined_flag \
33634 no_undefined_flag \
33635 hardcode_libdir_flag_spec \
33636 hardcode_libdir_flag_spec_ld \
33637 hardcode_libdir_separator \
33642 variables_saved_for_relink \
33644 library_names_spec \
33653 compiler_lib_search_path \
33656 lt_prog_compiler_no_builtin_flag_FC \
33657 lt_prog_compiler_wl_FC \
33658 lt_prog_compiler_pic_FC \
33659 lt_prog_compiler_static_FC \
33660 lt_cv_prog_compiler_c_o_FC \
33661 export_dynamic_flag_spec_FC \
33662 whole_archive_flag_spec_FC \
33663 compiler_needs_object_FC \
33665 allow_undefined_flag_FC \
33666 no_undefined_flag_FC \
33667 hardcode_libdir_flag_spec_FC \
33668 hardcode_libdir_flag_spec_ld_FC \
33669 hardcode_libdir_separator_FC \
33670 fix_srcfile_path_FC \
33671 exclude_expsyms_FC \
33672 include_expsyms_FC \
33673 file_list_spec_FC \
33674 predep_objects_FC \
33675 postdep_objects_FC \
33678 compiler_lib_search_path_FC; do
33679 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33680 *[\\\\\\\`\\"\\\$]*)
33681 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
33684 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33689 # Double-quote double-evaled strings.
33690 for var in reload_cmds \
33691 old_postinstall_cmds \
33692 old_postuninstall_cmds \
33694 extract_expsyms_cmds \
33695 old_archive_from_new_cmds \
33696 old_archive_from_expsyms_cmds \
33698 archive_expsym_cmds \
33700 module_expsym_cmds \
33701 export_symbols_cmds \
33704 postuninstall_cmds \
33706 sys_lib_search_path_spec \
33707 sys_lib_dlsearch_path_spec \
33708 old_archive_cmds_FC \
33709 old_archive_from_new_cmds_FC \
33710 old_archive_from_expsyms_cmds_FC \
33712 archive_expsym_cmds_FC \
33714 module_expsym_cmds_FC \
33715 export_symbols_cmds_FC \
33716 prelink_cmds_FC; do
33717 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
33718 *[\\\\\\\`\\"\\\$]*)
33719 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
33722 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
33727 # Fix-up fallback echo if it was mangled by the above quoting rules.
33729 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
33733 ac_aux_dir='$ac_aux_dir'
33734 xsi_shell='$xsi_shell'
33735 lt_shell_append='$lt_shell_append'
33737 # See if we are running on zsh, and set the options which allow our
33738 # commands through without removal of \ escapes INIT.
33739 if test -n "\${ZSH_VERSION+set}" ; then
33740 setopt NO_GLOB_SUBST
33746 TIMESTAMP='$TIMESTAMP'
33757 acx_cv_header_stdint="$acx_cv_header_stdint"
33758 acx_cv_type_int8_t="$acx_cv_type_int8_t"
33759 acx_cv_type_int16_t="$acx_cv_type_int16_t"
33760 acx_cv_type_int32_t="$acx_cv_type_int32_t"
33761 acx_cv_type_int64_t="$acx_cv_type_int64_t"
33762 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
33763 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
33764 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
33765 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
33766 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
33767 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
33768 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
33769 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
33770 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
33777 cat >>$CONFIG_STATUS <<\_ACEOF
33778 for ac_config_target in $ac_config_targets
33780 case "$ac_config_target" in
33781 # Handling of arguments.
33782 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
33783 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
33784 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
33785 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
33786 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
33787 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
33788 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
33789 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
33790 { (exit 1); exit 1; }; };;
33794 # If the user did not use the arguments to specify the items to instantiate,
33795 # then the envvar interface is used. Set only those that are not.
33796 # We use the long form for the default assignment because of an extremely
33797 # bizarre bug on SunOS 4.1.3.
33798 if $ac_need_defaults; then
33799 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
33800 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
33801 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
33804 # Have a temporary directory for convenience. Make it in the build tree
33805 # simply because there is no reason to put it here, and in addition,
33806 # creating and moving files from /tmp can sometimes cause problems.
33807 # Create a temporary directory, and hook for its removal unless debugging.
33810 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
33811 trap '{ (exit 1); exit 1; }' 1 2 13 15
33814 # Create a (secure) tmp directory for tmp files.
33817 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
33818 test -n "$tmp" && test -d "$tmp"
33821 tmp=./confstat$$-$RANDOM
33822 (umask 077 && mkdir $tmp)
33825 echo "$me: cannot create a temporary directory in ." >&2
33826 { (exit 1); exit 1; }
33831 cat >>$CONFIG_STATUS <<_ACEOF
33834 # CONFIG_FILES section.
33837 # No need to generate the scripts if there are no CONFIG_FILES.
33838 # This happens for instance when ./config.status config.h
33839 if test -n "\$CONFIG_FILES"; then
33840 # Protect against being on the right side of a sed subst in config.status.
33841 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
33842 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
33843 s,@SHELL@,$SHELL,;t t
33844 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
33845 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
33846 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
33847 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
33848 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
33849 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
33850 s,@exec_prefix@,$exec_prefix,;t t
33851 s,@prefix@,$prefix,;t t
33852 s,@program_transform_name@,$program_transform_name,;t t
33853 s,@bindir@,$bindir,;t t
33854 s,@sbindir@,$sbindir,;t t
33855 s,@libexecdir@,$libexecdir,;t t
33856 s,@datadir@,$datadir,;t t
33857 s,@sysconfdir@,$sysconfdir,;t t
33858 s,@sharedstatedir@,$sharedstatedir,;t t
33859 s,@localstatedir@,$localstatedir,;t t
33860 s,@libdir@,$libdir,;t t
33861 s,@includedir@,$includedir,;t t
33862 s,@oldincludedir@,$oldincludedir,;t t
33863 s,@infodir@,$infodir,;t t
33864 s,@mandir@,$mandir,;t t
33865 s,@build_alias@,$build_alias,;t t
33866 s,@host_alias@,$host_alias,;t t
33867 s,@target_alias@,$target_alias,;t t
33868 s,@DEFS@,$DEFS,;t t
33869 s,@ECHO_C@,$ECHO_C,;t t
33870 s,@ECHO_N@,$ECHO_N,;t t
33871 s,@ECHO_T@,$ECHO_T,;t t
33872 s,@LIBS@,$LIBS,;t t
33873 s,@build@,$build,;t t
33874 s,@build_cpu@,$build_cpu,;t t
33875 s,@build_vendor@,$build_vendor,;t t
33876 s,@build_os@,$build_os,;t t
33877 s,@build_libsubdir@,$build_libsubdir,;t t
33878 s,@build_subdir@,$build_subdir,;t t
33879 s,@host_subdir@,$host_subdir,;t t
33880 s,@target_subdir@,$target_subdir,;t t
33881 s,@host@,$host,;t t
33882 s,@host_cpu@,$host_cpu,;t t
33883 s,@host_vendor@,$host_vendor,;t t
33884 s,@host_os@,$host_os,;t t
33885 s,@target@,$target,;t t
33886 s,@target_cpu@,$target_cpu,;t t
33887 s,@target_vendor@,$target_vendor,;t t
33888 s,@target_os@,$target_os,;t t
33889 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
33890 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
33891 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
33892 s,@CYGPATH_W@,$CYGPATH_W,;t t
33893 s,@PACKAGE@,$PACKAGE,;t t
33894 s,@VERSION@,$VERSION,;t t
33895 s,@ACLOCAL@,$ACLOCAL,;t t
33896 s,@AUTOCONF@,$AUTOCONF,;t t
33897 s,@AUTOMAKE@,$AUTOMAKE,;t t
33898 s,@AUTOHEADER@,$AUTOHEADER,;t t
33899 s,@MAKEINFO@,$MAKEINFO,;t t
33900 s,@install_sh@,$install_sh,;t t
33901 s,@STRIP@,$STRIP,;t t
33902 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
33903 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
33904 s,@mkdir_p@,$mkdir_p,;t t
33906 s,@SET_MAKE@,$SET_MAKE,;t t
33907 s,@am__leading_dot@,$am__leading_dot,;t t
33908 s,@AMTAR@,$AMTAR,;t t
33909 s,@am__tar@,$am__tar,;t t
33910 s,@am__untar@,$am__untar,;t t
33911 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
33912 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
33913 s,@MAINT@,$MAINT,;t t
33914 s,@multi_basedir@,$multi_basedir,;t t
33915 s,@toolexecdir@,$toolexecdir,;t t
33916 s,@toolexeclibdir@,$toolexeclibdir,;t t
33918 s,@ac_ct_CC@,$ac_ct_CC,;t t
33919 s,@EXEEXT@,$EXEEXT,;t t
33920 s,@OBJEXT@,$OBJEXT,;t t
33921 s,@DEPDIR@,$DEPDIR,;t t
33922 s,@am__include@,$am__include,;t t
33923 s,@am__quote@,$am__quote,;t t
33924 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
33925 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
33926 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
33927 s,@CCDEPMODE@,$CCDEPMODE,;t t
33928 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
33929 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
33930 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
33931 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
33932 s,@CFLAGS@,$CFLAGS,;t t
33933 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
33934 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
33936 s,@ac_ct_AS@,$ac_ct_AS,;t t
33938 s,@ac_ct_AR@,$ac_ct_AR,;t t
33939 s,@RANLIB@,$RANLIB,;t t
33940 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
33941 s,@LIBTOOL@,$LIBTOOL,;t t
33943 s,@EGREP@,$EGREP,;t t
33944 s,@FGREP@,$FGREP,;t t
33945 s,@GREP@,$GREP,;t t
33947 s,@DUMPBIN@,$DUMPBIN,;t t
33948 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
33950 s,@LN_S@,$LN_S,;t t
33951 s,@lt_ECHO@,$lt_ECHO,;t t
33953 s,@CPPFLAGS@,$CPPFLAGS,;t t
33954 s,@enable_shared@,$enable_shared,;t t
33955 s,@enable_static@,$enable_static,;t t
33957 s,@FCFLAGS@,$FCFLAGS,;t t
33958 s,@LDFLAGS@,$LDFLAGS,;t t
33959 s,@ac_ct_FC@,$ac_ct_FC,;t t
33960 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
33961 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
33962 s,@LIBOBJS@,$LIBOBJS,;t t
33963 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
33968 cat >>$CONFIG_STATUS <<\_ACEOF
33969 # Split the substitutions into bite-sized pieces for seds with
33970 # small command number limits, like on Digital OSF/1 and HP-UX.
33971 ac_max_sed_lines=48
33972 ac_sed_frag=1 # Number of current file.
33973 ac_beg=1 # First line for current file.
33974 ac_end=$ac_max_sed_lines # Line after last line for current file.
33977 while $ac_more_lines; do
33978 if test $ac_beg -gt 1; then
33979 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33981 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
33983 if test ! -s $tmp/subs.frag; then
33984 ac_more_lines=false
33986 # The purpose of the label and of the branching condition is to
33987 # speed up the sed processing (if there are no `@' at all, there
33988 # is no need to browse any of the substitutions).
33989 # These are the two extra sed commands mentioned above.
33991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
33992 if test -z "$ac_sed_cmds"; then
33993 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
33995 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
33997 ac_sed_frag=`expr $ac_sed_frag + 1`
33999 ac_end=`expr $ac_end + $ac_max_sed_lines`
34002 if test -z "$ac_sed_cmds"; then
34005 fi # test -n "$CONFIG_FILES"
34008 cat >>$CONFIG_STATUS <<\_ACEOF
34009 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34010 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34012 - | *:- | *:-:* ) # input from stdin
34014 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34015 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34016 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34017 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34018 * ) ac_file_in=$ac_file.in ;;
34021 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34022 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34023 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34024 X"$ac_file" : 'X\(//\)[^/]' \| \
34025 X"$ac_file" : 'X\(//\)$' \| \
34026 X"$ac_file" : 'X\(/\)' \| \
34027 . : '\(.\)' 2>/dev/null ||
34029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34030 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34031 /^X\(\/\/\)$/{ s//\1/; q; }
34032 /^X\(\/\).*/{ s//\1/; q; }
34034 { if $as_mkdir_p; then
34039 while test ! -d "$as_dir"; do
34040 as_dirs="$as_dir $as_dirs"
34041 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34043 X"$as_dir" : 'X\(//\)[^/]' \| \
34044 X"$as_dir" : 'X\(//\)$' \| \
34045 X"$as_dir" : 'X\(/\)' \| \
34046 . : '\(.\)' 2>/dev/null ||
34048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34049 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34050 /^X\(\/\/\)$/{ s//\1/; q; }
34051 /^X\(\/\).*/{ s//\1/; q; }
34054 test ! -n "$as_dirs" || mkdir $as_dirs
34055 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34056 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34057 { (exit 1); exit 1; }; }; }
34061 if test "$ac_dir" != .; then
34062 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34063 # A "../" for each directory in $ac_dir_suffix.
34064 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34066 ac_dir_suffix= ac_top_builddir=
34070 .) # No --srcdir option. We are building in place.
34072 if test -z "$ac_top_builddir"; then
34075 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34077 [\\/]* | ?:[\\/]* ) # Absolute path.
34078 ac_srcdir=$srcdir$ac_dir_suffix;
34079 ac_top_srcdir=$srcdir ;;
34080 *) # Relative path.
34081 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34082 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34085 # Do not use `cd foo && pwd` to compute absolute paths, because
34086 # the directories may not exist.
34088 .) ac_abs_builddir="$ac_dir";;
34091 .) ac_abs_builddir=`pwd`;;
34092 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34093 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34096 case $ac_abs_builddir in
34097 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34099 case ${ac_top_builddir}. in
34100 .) ac_abs_top_builddir=$ac_abs_builddir;;
34101 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34102 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34105 case $ac_abs_builddir in
34106 .) ac_abs_srcdir=$ac_srcdir;;
34109 .) ac_abs_srcdir=$ac_abs_builddir;;
34110 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34111 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34114 case $ac_abs_builddir in
34115 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34117 case $ac_top_srcdir in
34118 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34119 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34120 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34126 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34127 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34130 if test x"$ac_file" != x-; then
34131 { echo "$as_me:$LINENO: creating $ac_file" >&5
34132 echo "$as_me: creating $ac_file" >&6;}
34135 # Let's still pretend it is `configure' which instantiates (i.e., don't
34136 # use $as_me), people would be surprised to read:
34137 # /* config.h. Generated by config.status. */
34138 if test x"$ac_file" = x-; then
34141 configure_input="$ac_file. "
34143 configure_input=$configure_input"Generated from `echo $ac_file_in |
34144 sed 's,.*/,,'` by configure."
34146 # First look for the input files in the build tree, otherwise in the
34148 ac_file_inputs=`IFS=:
34149 for f in $ac_file_in; do
34151 -) echo $tmp/stdin ;;
34153 # Absolute (can't be DOS-style, as IFS=:)
34154 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34155 echo "$as_me: error: cannot find input file: $f" >&2;}
34156 { (exit 1); exit 1; }; }
34159 if test -f "$f"; then
34162 elif test -f "$srcdir/$f"; then
34167 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34168 echo "$as_me: error: cannot find input file: $f" >&2;}
34169 { (exit 1); exit 1; }; }
34172 done` || { (exit 1); exit 1; }
34174 cat >>$CONFIG_STATUS <<_ACEOF
34178 cat >>$CONFIG_STATUS <<\_ACEOF
34180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34181 s,@configure_input@,$configure_input,;t t
34182 s,@srcdir@,$ac_srcdir,;t t
34183 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34184 s,@top_srcdir@,$ac_top_srcdir,;t t
34185 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34186 s,@builddir@,$ac_builddir,;t t
34187 s,@abs_builddir@,$ac_abs_builddir,;t t
34188 s,@top_builddir@,$ac_top_builddir,;t t
34189 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34190 s,@INSTALL@,$ac_INSTALL,;t t
34191 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34193 if test x"$ac_file" != x-; then
34194 mv $tmp/out $ac_file
34202 cat >>$CONFIG_STATUS <<\_ACEOF
34205 # CONFIG_HEADER section.
34208 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34209 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34211 # ac_d sets the value in "#define NAME VALUE" lines.
34212 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34213 ac_dB='[ ].*$,\1#\2'
34216 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34217 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34218 ac_uB='$,\1#\2define\3'
34222 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34223 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34225 - | *:- | *:-:* ) # input from stdin
34227 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34228 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34229 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34230 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34231 * ) ac_file_in=$ac_file.in ;;
34234 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34235 echo "$as_me: creating $ac_file" >&6;}
34237 # First look for the input files in the build tree, otherwise in the
34239 ac_file_inputs=`IFS=:
34240 for f in $ac_file_in; do
34242 -) echo $tmp/stdin ;;
34244 # Absolute (can't be DOS-style, as IFS=:)
34245 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34246 echo "$as_me: error: cannot find input file: $f" >&2;}
34247 { (exit 1); exit 1; }; }
34248 # Do quote $f, to prevent DOS paths from being IFS'd.
34251 if test -f "$f"; then
34254 elif test -f "$srcdir/$f"; then
34259 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34260 echo "$as_me: error: cannot find input file: $f" >&2;}
34261 { (exit 1); exit 1; }; }
34264 done` || { (exit 1); exit 1; }
34265 # Remove the trailing spaces.
34266 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34270 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34271 # `conftest.undefs', that substitutes the proper values into
34272 # config.h.in to produce config.h. The first handles `#define'
34273 # templates, and the second `#undef' templates.
34274 # And first: Protect against being on the right side of a sed subst in
34275 # config.status. Protect against being in an unquoted here document
34276 # in config.status.
34277 rm -f conftest.defines conftest.undefs
34278 # Using a here document instead of a string reduces the quoting nightmare.
34279 # Putting comments in sed scripts is not portable.
34281 # `end' is used to avoid that the second main sed command (meant for
34282 # 0-ary CPP macros) applies to n-ary macro definitions.
34283 # See the Autoconf documentation for `clear'.
34284 cat >confdef2sed.sed <<\_ACEOF
34289 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34291 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34294 # If some macros were called several times there might be several times
34295 # the same #defines, which is useless. Nevertheless, we may not want to
34296 # sort them, since we want the *last* AC-DEFINE to be honored.
34297 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34298 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34299 rm -f confdef2sed.sed
34301 # This sed command replaces #undef with comments. This is necessary, for
34302 # example, in the case of _POSIX_SOURCE, which is predefined and required
34303 # on some systems where configure will not decide to define it.
34304 cat >>conftest.undefs <<\_ACEOF
34305 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34308 # Break up conftest.defines because some shells have a limit on the size
34309 # of here documents, and old seds have small limits too (100 cmds).
34310 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34311 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34312 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34313 echo ' :' >>$CONFIG_STATUS
34314 rm -f conftest.tail
34315 while grep . conftest.defines >/dev/null
34317 # Write a limited-size here document to $tmp/defines.sed.
34318 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34319 # Speed up: don't consider the non `#define' lines.
34320 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34321 # Work around the forget-to-reset-the-flag bug.
34322 echo 't clr' >>$CONFIG_STATUS
34323 echo ': clr' >>$CONFIG_STATUS
34324 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34326 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34328 mv $tmp/out $tmp/in
34330 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34331 rm -f conftest.defines
34332 mv conftest.tail conftest.defines
34334 rm -f conftest.defines
34335 echo ' fi # grep' >>$CONFIG_STATUS
34336 echo >>$CONFIG_STATUS
34338 # Break up conftest.undefs because some shells have a limit on the size
34339 # of here documents, and old seds have small limits too (100 cmds).
34340 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34341 rm -f conftest.tail
34342 while grep . conftest.undefs >/dev/null
34344 # Write a limited-size here document to $tmp/undefs.sed.
34345 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34346 # Speed up: don't consider the non `#undef'
34347 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34348 # Work around the forget-to-reset-the-flag bug.
34349 echo 't clr' >>$CONFIG_STATUS
34350 echo ': clr' >>$CONFIG_STATUS
34351 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34353 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34355 mv $tmp/out $tmp/in
34357 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34358 rm -f conftest.undefs
34359 mv conftest.tail conftest.undefs
34361 rm -f conftest.undefs
34363 cat >>$CONFIG_STATUS <<\_ACEOF
34364 # Let's still pretend it is `configure' which instantiates (i.e., don't
34365 # use $as_me), people would be surprised to read:
34366 # /* config.h. Generated by config.status. */
34367 if test x"$ac_file" = x-; then
34368 echo "/* Generated by configure. */" >$tmp/config.h
34370 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
34372 cat $tmp/in >>$tmp/config.h
34374 if test x"$ac_file" != x-; then
34375 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
34376 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
34377 echo "$as_me: $ac_file is unchanged" >&6;}
34379 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34381 X"$ac_file" : 'X\(//\)[^/]' \| \
34382 X"$ac_file" : 'X\(//\)$' \| \
34383 X"$ac_file" : 'X\(/\)' \| \
34384 . : '\(.\)' 2>/dev/null ||
34386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34387 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34388 /^X\(\/\/\)$/{ s//\1/; q; }
34389 /^X\(\/\).*/{ s//\1/; q; }
34391 { if $as_mkdir_p; then
34396 while test ! -d "$as_dir"; do
34397 as_dirs="$as_dir $as_dirs"
34398 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34399 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34400 X"$as_dir" : 'X\(//\)[^/]' \| \
34401 X"$as_dir" : 'X\(//\)$' \| \
34402 X"$as_dir" : 'X\(/\)' \| \
34403 . : '\(.\)' 2>/dev/null ||
34405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34407 /^X\(\/\/\)$/{ s//\1/; q; }
34408 /^X\(\/\).*/{ s//\1/; q; }
34411 test ! -n "$as_dirs" || mkdir $as_dirs
34412 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34413 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34414 { (exit 1); exit 1; }; }; }
34417 mv $tmp/config.h $ac_file
34421 rm -f $tmp/config.h
34423 # Compute $ac_file's index in $config_headers.
34425 for _am_header in $config_headers :; do
34426 case $_am_header in
34427 $ac_file | $ac_file:* )
34430 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
34433 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
34434 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34435 X$ac_file : 'X\(//\)[^/]' \| \
34436 X$ac_file : 'X\(//\)$' \| \
34437 X$ac_file : 'X\(/\)' \| \
34438 . : '\(.\)' 2>/dev/null ||
34440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34442 /^X\(\/\/\)$/{ s//\1/; q; }
34443 /^X\(\/\).*/{ s//\1/; q; }
34444 s/.*/./; q'`/stamp-h$_am_stamp_count
34447 cat >>$CONFIG_STATUS <<\_ACEOF
34450 # CONFIG_COMMANDS section.
34452 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
34453 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
34454 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
34455 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
34456 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34457 X"$ac_dest" : 'X\(//\)[^/]' \| \
34458 X"$ac_dest" : 'X\(//\)$' \| \
34459 X"$ac_dest" : 'X\(/\)' \| \
34460 . : '\(.\)' 2>/dev/null ||
34462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34463 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34464 /^X\(\/\/\)$/{ s//\1/; q; }
34465 /^X\(\/\).*/{ s//\1/; q; }
34467 { if $as_mkdir_p; then
34472 while test ! -d "$as_dir"; do
34473 as_dirs="$as_dir $as_dirs"
34474 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34476 X"$as_dir" : 'X\(//\)[^/]' \| \
34477 X"$as_dir" : 'X\(//\)$' \| \
34478 X"$as_dir" : 'X\(/\)' \| \
34479 . : '\(.\)' 2>/dev/null ||
34481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34483 /^X\(\/\/\)$/{ s//\1/; q; }
34484 /^X\(\/\).*/{ s//\1/; q; }
34487 test ! -n "$as_dirs" || mkdir $as_dirs
34488 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34489 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34490 { (exit 1); exit 1; }; }; }
34494 if test "$ac_dir" != .; then
34495 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34496 # A "../" for each directory in $ac_dir_suffix.
34497 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34499 ac_dir_suffix= ac_top_builddir=
34503 .) # No --srcdir option. We are building in place.
34505 if test -z "$ac_top_builddir"; then
34508 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34510 [\\/]* | ?:[\\/]* ) # Absolute path.
34511 ac_srcdir=$srcdir$ac_dir_suffix;
34512 ac_top_srcdir=$srcdir ;;
34513 *) # Relative path.
34514 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34515 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34518 # Do not use `cd foo && pwd` to compute absolute paths, because
34519 # the directories may not exist.
34521 .) ac_abs_builddir="$ac_dir";;
34524 .) ac_abs_builddir=`pwd`;;
34525 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34526 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34529 case $ac_abs_builddir in
34530 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34532 case ${ac_top_builddir}. in
34533 .) ac_abs_top_builddir=$ac_abs_builddir;;
34534 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34535 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34538 case $ac_abs_builddir in
34539 .) ac_abs_srcdir=$ac_srcdir;;
34542 .) ac_abs_srcdir=$ac_abs_builddir;;
34543 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34544 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34547 case $ac_abs_builddir in
34548 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34550 case $ac_top_srcdir in
34551 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34552 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34553 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34558 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
34559 echo "$as_me: executing $ac_dest commands" >&6;}
34562 # Only add multilib support code if we just rebuilt the top-level
34564 case " $CONFIG_FILES " in
34566 ac_file=Makefile . ${multi_basedir}/config-ml.in
34569 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
34570 # Strip MF so we end up with the name of the file.
34571 mf=`echo "$mf" | sed -e 's/:.*$//'`
34572 # Check whether this is an Automake generated Makefile or not.
34573 # We used to match only the files named `Makefile.in', but
34574 # some people rename them; so instead we look at the file content.
34575 # Grep'ing the first line is not enough: some people post-process
34576 # each Makefile.in and add a new line on top of each file to say so.
34577 # So let's grep whole file.
34578 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
34579 dirpart=`(dirname "$mf") 2>/dev/null ||
34580 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34581 X"$mf" : 'X\(//\)[^/]' \| \
34582 X"$mf" : 'X\(//\)$' \| \
34583 X"$mf" : 'X\(/\)' \| \
34584 . : '\(.\)' 2>/dev/null ||
34586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34587 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34588 /^X\(\/\/\)$/{ s//\1/; q; }
34589 /^X\(\/\).*/{ s//\1/; q; }
34594 # Extract the definition of DEPDIR, am__include, and am__quote
34595 # from the Makefile without running `make'.
34596 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
34597 test -z "$DEPDIR" && continue
34598 am__include=`sed -n 's/^am__include = //p' < "$mf"`
34599 test -z "am__include" && continue
34600 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
34601 # When using ansi2knr, U may be empty or an underscore; expand it
34602 U=`sed -n 's/^U = //p' < "$mf"`
34603 # Find all dependency output files, they are included files with
34604 # $(DEPDIR) in their names. We invoke sed twice because it is the
34605 # simplest approach to changing $(DEPDIR) to its actual value in the
34607 for file in `sed -n "
34608 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
34609 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
34610 # Make sure the directory exists.
34611 test -f "$dirpart/$file" && continue
34612 fdir=`(dirname "$file") 2>/dev/null ||
34613 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34614 X"$file" : 'X\(//\)[^/]' \| \
34615 X"$file" : 'X\(//\)$' \| \
34616 X"$file" : 'X\(/\)' \| \
34617 . : '\(.\)' 2>/dev/null ||
34619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34620 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34621 /^X\(\/\/\)$/{ s//\1/; q; }
34622 /^X\(\/\).*/{ s//\1/; q; }
34624 { if $as_mkdir_p; then
34625 mkdir -p $dirpart/$fdir
34627 as_dir=$dirpart/$fdir
34629 while test ! -d "$as_dir"; do
34630 as_dirs="$as_dir $as_dirs"
34631 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34632 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34633 X"$as_dir" : 'X\(//\)[^/]' \| \
34634 X"$as_dir" : 'X\(//\)$' \| \
34635 X"$as_dir" : 'X\(/\)' \| \
34636 . : '\(.\)' 2>/dev/null ||
34638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34640 /^X\(\/\/\)$/{ s//\1/; q; }
34641 /^X\(\/\).*/{ s//\1/; q; }
34644 test ! -n "$as_dirs" || mkdir $as_dirs
34645 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
34646 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
34647 { (exit 1); exit 1; }; }; }
34649 # echo "creating $dirpart/$file"
34650 echo '# dummy' > "$dirpart/$file"
34656 # See if we are running on zsh, and set the options which allow our
34657 # commands through without removal of \ escapes.
34658 if test -n "${ZSH_VERSION+set}" ; then
34659 setopt NO_GLOB_SUBST
34662 cfgfile="${ofile}T"
34663 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
34666 cat <<_LT_EOF >> "$cfgfile"
34669 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
34670 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
34671 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
34672 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
34674 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
34675 # 2006, 2007 Free Software Foundation, Inc.
34677 # This file is part of GNU Libtool:
34678 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
34680 # This program is free software; you can redistribute it and/or modify
34681 # it under the terms of the GNU General Public License as published by
34682 # the Free Software Foundation; either version 2 of the License, or
34683 # (at your option) any later version.
34685 # This program is distributed in the hope that it will be useful, but
34686 # WITHOUT ANY WARRANTY; without even the implied warranty of
34687 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
34688 # General Public License for more details.
34690 # You should have received a copy of the GNU General Public License
34691 # along with this program; if not, a copy can be downloaded from
34692 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
34693 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
34694 # MA 02110-1301, USA.
34696 # As a special exception to the GNU General Public License, if you
34697 # distribute this file as part of a program that contains a
34698 # configuration script generated by Autoconf, you may include it under
34699 # the same distribution terms that you use for the rest of that program.
34702 # The names of the tagged configurations supported by this script.
34703 available_tags="FC "
34705 # ### BEGIN LIBTOOL CONFIG
34707 # Which release of libtool.m4 was used?
34708 macro_version=$macro_version
34709 macro_revision=$macro_revision
34711 # Whether or not to build shared libraries.
34712 build_libtool_libs=$enable_shared
34714 # Whether or not to build static libraries.
34715 build_old_libs=$enable_static
34717 # What type of objects to build.
34720 # Whether or not to optimize for fast installation.
34721 fast_install=$enable_fast_install
34724 host_alias=$host_alias
34728 # The build system.
34729 build_alias=$build_alias
34733 # A sed program that does not truncate output.
34736 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
34737 Xsed="\$SED -e 1s/^X//"
34739 # A grep program that handles long lines.
34745 # A literal string matcher.
34748 # A BSD- or MS-compatible name lister.
34751 # Whether we need soft or hard links.
34754 # What is the maximum length of a command?
34755 max_cmd_len=$max_cmd_len
34757 # Object file suffix (normally "o").
34760 # Executable file suffix (normally "").
34763 # whether the shell understands "unset".
34766 # turn spaces into newlines.
34769 # turn newlines into spaces.
34772 # How to create reloadable object files.
34773 reload_flag=$lt_reload_flag
34774 reload_cmds=$lt_reload_cmds
34776 # Method to check whether dependent libraries are shared objects.
34777 deplibs_check_method=$lt_deplibs_check_method
34779 # Command to use when deplibs_check_method == "file_magic".
34780 file_magic_cmd=$lt_file_magic_cmd
34784 AR_FLAGS=$lt_AR_FLAGS
34786 # A symbol stripping program.
34789 # Commands used to install an old-style archive.
34791 old_postinstall_cmds=$lt_old_postinstall_cmds
34792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
34797 # LTCC compiler flags.
34798 LTCFLAGS=$lt_CFLAGS
34800 # Take the output of nm and produce a listing of raw symbols and C names.
34801 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
34803 # Transform the output of nm in a proper C declaration.
34804 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
34806 # Transform the output of nm in a C name address pair.
34807 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
34809 # The name of the directory that contains temporary libtool files.
34812 # Shell to use when invoking shell scripts.
34815 # An echo program that does not interpret backslashes.
34818 # Used to examine libraries when file_magic_cmd begins with "file".
34819 MAGIC_CMD=$MAGIC_CMD
34821 # Must we lock files when doing compilation?
34822 need_locks=$lt_need_locks
34824 # Old archive suffix (normally "a").
34827 # Shared library suffix (normally ".so").
34828 shrext_cmds=$lt_shrext_cmds
34830 # The commands to extract the exported symbol list from a shared archive.
34831 extract_expsyms_cmds=$lt_extract_expsyms_cmds
34833 # Variables whose values should be saved in libtool wrapper scripts and
34834 # restored at link time.
34835 variables_saved_for_relink=$lt_variables_saved_for_relink
34837 # Do we need the "lib" prefix for modules?
34838 need_lib_prefix=$need_lib_prefix
34840 # Do we need a version for libraries?
34841 need_version=$need_version
34843 # Library versioning type.
34844 version_type=$version_type
34846 # Shared library runtime path variable.
34847 runpath_var=$runpath_var
34849 # Shared library path variable.
34850 shlibpath_var=$shlibpath_var
34852 # Is shlibpath searched before the hard-coded library search path?
34853 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
34855 # Format of library name prefix.
34856 libname_spec=$lt_libname_spec
34858 # List of archive names. First name is the real one, the rest are links.
34859 # The last name is the one that the linker finds with -lNAME
34860 library_names_spec=$lt_library_names_spec
34862 # The coded name of the library, if different from the real name.
34863 soname_spec=$lt_soname_spec
34865 # Command to use after installation of a shared archive.
34866 postinstall_cmds=$lt_postinstall_cmds
34868 # Command to use after uninstallation of a shared archive.
34869 postuninstall_cmds=$lt_postuninstall_cmds
34871 # Commands used to finish a libtool library installation in a directory.
34872 finish_cmds=$lt_finish_cmds
34874 # As "finish_cmds", except a single script fragment to be evaled but
34876 finish_eval=$lt_finish_eval
34878 # Whether we should hardcode library paths into libraries.
34879 hardcode_into_libs=$hardcode_into_libs
34881 # Compile-time system search path for libraries.
34882 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
34884 # Run-time system search path for libraries.
34885 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
34887 # Whether dlopen is supported.
34888 dlopen_support=$enable_dlopen
34890 # Whether dlopen of programs is supported.
34891 dlopen_self=$enable_dlopen_self
34893 # Whether dlopen of statically linked programs is supported.
34894 dlopen_self_static=$enable_dlopen_self_static
34896 # Commands to strip libraries.
34897 old_striplib=$lt_old_striplib
34898 striplib=$lt_striplib
34901 # The linker used to build libraries.
34904 # Commands used to build an old-style archive.
34905 old_archive_cmds=$lt_old_archive_cmds
34907 # A language specific compiler.
34910 # Is the compiler the GNU compiler?
34913 # Compiler flag to turn off builtin functions.
34914 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
34916 # How to pass a linker flag through the compiler.
34917 wl=$lt_lt_prog_compiler_wl
34919 # Additional compiler flags for building library objects.
34920 pic_flag=$lt_lt_prog_compiler_pic
34922 # Compiler flag to prevent dynamic linking.
34923 link_static_flag=$lt_lt_prog_compiler_static
34925 # Does compiler simultaneously support -c and -o options?
34926 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
34928 # Whether or not to add -lc for building shared libraries.
34929 build_libtool_need_lc=$archive_cmds_need_lc
34931 # Whether or not to disallow shared libs when runtime libs are static.
34932 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
34934 # Compiler flag to allow reflexive dlopens.
34935 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
34937 # Compiler flag to generate shared objects directly from archives.
34938 whole_archive_flag_spec=$lt_whole_archive_flag_spec
34940 # Whether the compiler copes with passing no objects directly.
34941 compiler_needs_object=$lt_compiler_needs_object
34943 # Create an old-style archive from a shared archive.
34944 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
34946 # Create a temporary old-style archive to link instead of a shared archive.
34947 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
34949 # Commands used to build a shared archive.
34950 archive_cmds=$lt_archive_cmds
34951 archive_expsym_cmds=$lt_archive_expsym_cmds
34953 # Commands used to build a loadable module if different from building
34954 # a shared archive.
34955 module_cmds=$lt_module_cmds
34956 module_expsym_cmds=$lt_module_expsym_cmds
34958 # Whether we are building with GNU ld or not.
34959 with_gnu_ld=$lt_with_gnu_ld
34961 # Flag that allows shared libraries with undefined symbols to be built.
34962 allow_undefined_flag=$lt_allow_undefined_flag
34964 # Flag that enforces no undefined symbols.
34965 no_undefined_flag=$lt_no_undefined_flag
34967 # Flag to hardcode \$libdir into a binary during linking.
34968 # This must work even if \$libdir does not exist
34969 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
34971 # If ld is used when linking, flag to hardcode \$libdir into a binary
34972 # during linking. This must work even if \$libdir does not exist.
34973 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
34975 # Whether we need a single "-rpath" flag with a separated argument.
34976 hardcode_libdir_separator=$lt_hardcode_libdir_separator
34978 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34979 # DIR into the resulting binary.
34980 hardcode_direct=$hardcode_direct
34982 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34983 # DIR into the resulting binary and the resulting library dependency is
34984 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34985 # library is relocated.
34986 hardcode_direct_absolute=$hardcode_direct_absolute
34988 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34989 # into the resulting binary.
34990 hardcode_minus_L=$hardcode_minus_L
34992 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34993 # into the resulting binary.
34994 hardcode_shlibpath_var=$hardcode_shlibpath_var
34996 # Set to "yes" if building a shared library automatically hardcodes DIR
34997 # into the library and all subsequent libraries and executables linked
34999 hardcode_automatic=$hardcode_automatic
35001 # Set to yes if linker adds runtime paths of dependent libraries
35002 # to runtime path list.
35003 inherit_rpath=$inherit_rpath
35005 # Whether libtool must link a program against all its dependency libraries.
35006 link_all_deplibs=$link_all_deplibs
35008 # Fix the shell variable \$srcfile for the compiler.
35009 fix_srcfile_path=$lt_fix_srcfile_path
35011 # Set to "yes" if exported symbols are required.
35012 always_export_symbols=$always_export_symbols
35014 # The commands to list exported symbols.
35015 export_symbols_cmds=$lt_export_symbols_cmds
35017 # Symbols that should not be listed in the preloaded symbols.
35018 exclude_expsyms=$lt_exclude_expsyms
35020 # Symbols that must always be exported.
35021 include_expsyms=$lt_include_expsyms
35023 # Commands necessary for linking programs (against libraries) with templates.
35024 prelink_cmds=$lt_prelink_cmds
35026 # Specify filename containing input files.
35027 file_list_spec=$lt_file_list_spec
35029 # How to hardcode a shared library path into an executable.
35030 hardcode_action=$hardcode_action
35032 # Dependencies to place before and after the objects being linked to
35033 # create a shared library.
35034 predep_objects=$lt_predep_objects
35035 postdep_objects=$lt_postdep_objects
35036 predeps=$lt_predeps
35037 postdeps=$lt_postdeps
35039 # The library search path used internally by the compiler when linking
35040 # a shared library.
35041 compiler_lib_search_path=$lt_compiler_lib_search_path
35043 # ### END LIBTOOL CONFIG
35049 cat <<\_LT_EOF >> "$cfgfile"
35050 # AIX sometimes has problems with the GCC collect2 program. For some
35051 # reason, if we set the COLLECT_NAMES environment variable, the problems
35052 # vanish in a puff of smoke.
35053 if test "X${COLLECT_NAMES+set}" != Xset; then
35055 export COLLECT_NAMES
35062 ltmain="$ac_aux_dir/ltmain.sh"
35065 # We use sed instead of cat because bash on DJGPP gets confused if
35066 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35067 # text mode, it properly converts lines to CR/LF. This bash problem
35068 # is reportedly fixed, but why not run on old versions too?
35069 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35070 || (rm -f "$cfgfile"; exit 1)
35074 cat << \_LT_EOF >> "$cfgfile"
35075 # func_dirname file append nondir_replacement
35076 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35077 # otherwise set result to NONDIR_REPLACEMENT.
35081 */*) func_dirname_result="${1%/*}${2}" ;;
35082 * ) func_dirname_result="${3}" ;;
35086 # func_basename file
35089 func_basename_result="${1##*/}"
35092 # func_stripname prefix suffix name
35093 # strip PREFIX and SUFFIX off of NAME.
35094 # PREFIX and SUFFIX must not contain globbing or regex special
35095 # characters, hashes, percent signs, but SUFFIX may contain a leading
35096 # dot (in which case that matches only a dot).
35099 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35100 # positional parameters, so assign one to ordinary parameter first.
35101 func_stripname_result=${3}
35102 func_stripname_result=${func_stripname_result#"${1}"}
35103 func_stripname_result=${func_stripname_result%"${2}"}
35109 func_opt_split_opt=${1%%=*}
35110 func_opt_split_arg=${1#*=}
35117 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35118 *) func_lo2o_result=${1} ;;
35123 *) # Bourne compatible functions.
35124 cat << \_LT_EOF >> "$cfgfile"
35125 # func_dirname file append nondir_replacement
35126 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35127 # otherwise set result to NONDIR_REPLACEMENT.
35130 # Extract subdirectory from the argument.
35131 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35132 if test "X$func_dirname_result" = "X${1}"; then
35133 func_dirname_result="${3}"
35135 func_dirname_result="$func_dirname_result${2}"
35139 # func_basename file
35142 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35145 # func_stripname prefix suffix name
35146 # strip PREFIX and SUFFIX off of NAME.
35147 # PREFIX and SUFFIX must not contain globbing or regex special
35148 # characters, hashes, percent signs, but SUFFIX may contain a leading
35149 # dot (in which case that matches only a dot).
35150 # func_strip_suffix prefix name
35154 .*) func_stripname_result=`$ECHO "X${3}" \
35155 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35156 *) func_stripname_result=`$ECHO "X${3}" \
35157 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35162 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35163 my_sed_long_arg='1s/^-[^=]*=//'
35168 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35169 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35175 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35180 case $lt_shell_append in
35182 cat << \_LT_EOF >> "$cfgfile"
35184 # func_append var value
35185 # Append VALUE to the end of shell variable VAR.
35193 cat << \_LT_EOF >> "$cfgfile"
35195 # func_append var value
35196 # Append VALUE to the end of shell variable VAR.
35206 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35207 || (rm -f "$cfgfile"; exit 1)
35209 mv -f "$cfgfile" "$ofile" ||
35210 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35214 cat <<_LT_EOF >> "$ofile"
35216 # ### BEGIN LIBTOOL TAG CONFIG: FC
35218 # The linker used to build libraries.
35221 # Commands used to build an old-style archive.
35222 old_archive_cmds=$lt_old_archive_cmds_FC
35224 # A language specific compiler.
35227 # Is the compiler the GNU compiler?
35230 # Compiler flag to turn off builtin functions.
35231 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35233 # How to pass a linker flag through the compiler.
35234 wl=$lt_lt_prog_compiler_wl_FC
35236 # Additional compiler flags for building library objects.
35237 pic_flag=$lt_lt_prog_compiler_pic_FC
35239 # Compiler flag to prevent dynamic linking.
35240 link_static_flag=$lt_lt_prog_compiler_static_FC
35242 # Does compiler simultaneously support -c and -o options?
35243 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35245 # Whether or not to add -lc for building shared libraries.
35246 build_libtool_need_lc=$archive_cmds_need_lc_FC
35248 # Whether or not to disallow shared libs when runtime libs are static.
35249 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35251 # Compiler flag to allow reflexive dlopens.
35252 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35254 # Compiler flag to generate shared objects directly from archives.
35255 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35257 # Whether the compiler copes with passing no objects directly.
35258 compiler_needs_object=$lt_compiler_needs_object_FC
35260 # Create an old-style archive from a shared archive.
35261 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35263 # Create a temporary old-style archive to link instead of a shared archive.
35264 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35266 # Commands used to build a shared archive.
35267 archive_cmds=$lt_archive_cmds_FC
35268 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35270 # Commands used to build a loadable module if different from building
35271 # a shared archive.
35272 module_cmds=$lt_module_cmds_FC
35273 module_expsym_cmds=$lt_module_expsym_cmds_FC
35275 # Whether we are building with GNU ld or not.
35276 with_gnu_ld=$lt_with_gnu_ld_FC
35278 # Flag that allows shared libraries with undefined symbols to be built.
35279 allow_undefined_flag=$lt_allow_undefined_flag_FC
35281 # Flag that enforces no undefined symbols.
35282 no_undefined_flag=$lt_no_undefined_flag_FC
35284 # Flag to hardcode \$libdir into a binary during linking.
35285 # This must work even if \$libdir does not exist
35286 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35288 # If ld is used when linking, flag to hardcode \$libdir into a binary
35289 # during linking. This must work even if \$libdir does not exist.
35290 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35292 # Whether we need a single "-rpath" flag with a separated argument.
35293 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35295 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35296 # DIR into the resulting binary.
35297 hardcode_direct=$hardcode_direct_FC
35299 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35300 # DIR into the resulting binary and the resulting library dependency is
35301 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35302 # library is relocated.
35303 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35306 # into the resulting binary.
35307 hardcode_minus_L=$hardcode_minus_L_FC
35309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35310 # into the resulting binary.
35311 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35313 # Set to "yes" if building a shared library automatically hardcodes DIR
35314 # into the library and all subsequent libraries and executables linked
35316 hardcode_automatic=$hardcode_automatic_FC
35318 # Set to yes if linker adds runtime paths of dependent libraries
35319 # to runtime path list.
35320 inherit_rpath=$inherit_rpath_FC
35322 # Whether libtool must link a program against all its dependency libraries.
35323 link_all_deplibs=$link_all_deplibs_FC
35325 # Fix the shell variable \$srcfile for the compiler.
35326 fix_srcfile_path=$lt_fix_srcfile_path_FC
35328 # Set to "yes" if exported symbols are required.
35329 always_export_symbols=$always_export_symbols_FC
35331 # The commands to list exported symbols.
35332 export_symbols_cmds=$lt_export_symbols_cmds_FC
35334 # Symbols that should not be listed in the preloaded symbols.
35335 exclude_expsyms=$lt_exclude_expsyms_FC
35337 # Symbols that must always be exported.
35338 include_expsyms=$lt_include_expsyms_FC
35340 # Commands necessary for linking programs (against libraries) with templates.
35341 prelink_cmds=$lt_prelink_cmds_FC
35343 # Specify filename containing input files.
35344 file_list_spec=$lt_file_list_spec_FC
35346 # How to hardcode a shared library path into an executable.
35347 hardcode_action=$hardcode_action_FC
35349 # Dependencies to place before and after the objects being linked to
35350 # create a shared library.
35351 predep_objects=$lt_predep_objects_FC
35352 postdep_objects=$lt_postdep_objects_FC
35353 predeps=$lt_predeps_FC
35354 postdeps=$lt_postdeps_FC
35356 # The library search path used internally by the compiler when linking
35357 # a shared library.
35358 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35360 # ### END LIBTOOL TAG CONFIG: FC
35365 if test "$GCC" = yes; then
35366 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
35368 echo "/* generated for $CC */" > tmp-stdint.h
35371 sed 's/^ *//' >> tmp-stdint.h <<EOF
35373 #ifndef GCC_GENERATED_STDINT_H
35374 #define GCC_GENERATED_STDINT_H 1
35376 #include <sys/types.h>
35379 if test "$acx_cv_header_stdint" != stdint.h; then
35380 echo "#include <stddef.h>" >> tmp-stdint.h
35382 if test "$acx_cv_header_stdint" != stddef.h; then
35383 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
35386 sed 's/^ *//' >> tmp-stdint.h <<EOF
35387 /* glibc uses these symbols as guards to prevent redefinitions. */
35388 #ifdef __int8_t_defined
35393 #ifdef __uint32_t_defined
35399 # ----------------- done header, emit basic int types -------------
35400 if test "$acx_cv_header_stdint" = stddef.h; then
35401 sed 's/^ *//' >> tmp-stdint.h <<EOF
35405 #ifndef __uint8_t_defined
35406 #define __uint8_t_defined
35407 typedef unsigned $acx_cv_type_int8_t uint8_t;
35413 #ifndef __uint16_t_defined
35414 #define __uint16_t_defined
35415 typedef unsigned $acx_cv_type_int16_t uint16_t;
35421 #ifndef __uint32_t_defined
35422 #define __uint32_t_defined
35423 typedef unsigned $acx_cv_type_int32_t uint32_t;
35429 #ifndef __int8_t_defined
35430 #define __int8_t_defined
35431 typedef $acx_cv_type_int8_t int8_t;
35437 #ifndef __int16_t_defined
35438 #define __int16_t_defined
35439 typedef $acx_cv_type_int16_t int16_t;
35445 #ifndef __int32_t_defined
35446 #define __int32_t_defined
35447 typedef $acx_cv_type_int32_t int32_t;
35451 elif test "$ac_cv_type_u_int32_t" = yes; then
35452 sed 's/^ *//' >> tmp-stdint.h <<EOF
35454 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
35467 #ifndef __uint8_t_defined
35468 #define __uint8_t_defined
35469 typedef u_int8_t uint8_t;
35475 #ifndef __uint16_t_defined
35476 #define __uint16_t_defined
35477 typedef u_int16_t uint16_t;
35483 #ifndef __uint32_t_defined
35484 #define __uint32_t_defined
35485 typedef u_int32_t uint32_t;
35490 sed 's/^ *//' >> tmp-stdint.h <<EOF
35492 /* Some systems have guard macros to prevent redefinitions, define them. */
35514 # ------------- done basic int types, emit int64_t types ------------
35515 if test "$ac_cv_type_uint64_t" = yes; then
35516 sed 's/^ *//' >> tmp-stdint.h <<EOF
35518 /* system headers have good uint64_t and int64_t */
35526 elif test "$ac_cv_type_u_int64_t" = yes; then
35527 sed 's/^ *//' >> tmp-stdint.h <<EOF
35529 /* system headers have an u_int64_t (and int64_t) */
35535 #ifndef __uint64_t_defined
35536 #define __uint64_t_defined
35537 typedef u_int64_t uint64_t;
35541 elif test -n "$acx_cv_type_int64_t"; then
35542 sed 's/^ *//' >> tmp-stdint.h <<EOF
35544 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
35547 typedef $acx_cv_type_int64_t int64_t;
35551 #ifndef __uint64_t_defined
35552 #define __uint64_t_defined
35553 typedef unsigned $acx_cv_type_int64_t uint64_t;
35558 sed 's/^ *//' >> tmp-stdint.h <<EOF
35560 /* some common heuristics for int64_t, using compiler-specific tests */
35561 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
35564 #ifndef __int64_t_defined
35565 typedef long long int64_t;
35570 typedef unsigned long long uint64_t;
35573 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
35574 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
35575 does not implement __extension__. But that compiler doesn't define
35577 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
35578 # define __extension__
35583 __extension__ typedef long long int64_t;
35587 __extension__ typedef unsigned long long uint64_t;
35590 #elif !defined __STRICT_ANSI__
35591 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
35595 typedef __int64 int64_t;
35599 typedef unsigned __int64 uint64_t;
35601 # endif /* compiler */
35603 #endif /* ANSI version */
35607 # ------------- done int64_t types, emit intptr types ------------
35608 if test "$ac_cv_type_uintptr_t" != yes; then
35609 sed 's/^ *//' >> tmp-stdint.h <<EOF
35611 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
35612 #ifndef __uintptr_t_defined
35613 typedef u$acx_cv_type_intptr_t uintptr_t;
35615 #ifndef __intptr_t_defined
35616 typedef $acx_cv_type_intptr_t intptr_t;
35621 # ------------- done intptr types, emit int_least types ------------
35622 if test "$ac_cv_type_int_least32_t" != yes; then
35623 sed 's/^ *//' >> tmp-stdint.h <<EOF
35625 /* Define int_least types */
35626 typedef int8_t int_least8_t;
35627 typedef int16_t int_least16_t;
35628 typedef int32_t int_least32_t;
35630 typedef int64_t int_least64_t;
35633 typedef uint8_t uint_least8_t;
35634 typedef uint16_t uint_least16_t;
35635 typedef uint32_t uint_least32_t;
35637 typedef uint64_t uint_least64_t;
35642 # ------------- done intptr types, emit int_fast types ------------
35643 if test "$ac_cv_type_int_fast32_t" != yes; then
35644 sed 's/^ *//' >> tmp-stdint.h <<EOF
35646 /* Define int_fast types. short is often slow */
35647 typedef int8_t int_fast8_t;
35648 typedef int int_fast16_t;
35649 typedef int32_t int_fast32_t;
35651 typedef int64_t int_fast64_t;
35654 typedef uint8_t uint_fast8_t;
35655 typedef unsigned int uint_fast16_t;
35656 typedef uint32_t uint_fast32_t;
35658 typedef uint64_t uint_fast64_t;
35663 if test "$ac_cv_type_uintmax_t" != yes; then
35664 sed 's/^ *//' >> tmp-stdint.h <<EOF
35666 /* Define intmax based on what we found */
35668 typedef int64_t intmax_t;
35670 typedef long intmax_t;
35673 typedef uint64_t uintmax_t;
35675 typedef unsigned long uintmax_t;
35680 sed 's/^ *//' >> tmp-stdint.h <<EOF
35682 #endif /* GCC_GENERATED_STDINT_H */
35685 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
35688 mv -f tmp-stdint.h gstdint.h
35696 cat >>$CONFIG_STATUS <<\_ACEOF
35698 { (exit 0); exit 0; }
35700 chmod +x $CONFIG_STATUS
35701 ac_clean_files=$ac_clean_files_save
35704 # configure is writing to config.log, and then calls config.status.
35705 # config.status does its own redirection, appending to config.log.
35706 # Unfortunately, on DOS this fails, as config.log is still kept open
35707 # by configure, so config.status won't be able to write to it; its
35708 # output is simply discarded. So we exec the FD to /dev/null,
35709 # effectively closing config.log, so it can be properly (re)opened and
35710 # appended to by config.status. When coming back to configure, we
35711 # need to make the FD available again.
35712 if test "$no_create" != yes; then
35714 ac_config_status_args=
35715 test "$silent" = yes &&
35716 ac_config_status_args="$ac_config_status_args --quiet"
35718 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
35720 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
35721 # would make configure fail if this is the last instruction.
35722 $ac_cs_success || { (exit 1); exit 1; }