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 onestep_TRUE onestep_FALSE onestep 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'
464 # Initialize some variables set by options.
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name=s,x,x,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
579 -help | --help | --hel | --he | -h)
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
630 # Obsolete; use --without-fp.
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
709 -site=* | --site=* | --sit=*)
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
732 -version | --version | --versio | --versi | --vers | -V)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_FC_set=${FC+set}
912 ac_cv_env_FC_set=${FC+set}
913 ac_cv_env_FC_value=$FC
914 ac_env_FCFLAGS_set=${FCFLAGS+set}
915 ac_env_FCFLAGS_value=$FCFLAGS
916 ac_cv_env_FCFLAGS_set=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value=$FCFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
989 --build=BUILD configure for building on BUILD [guessed]
990 --host=HOST cross-compile to build programs to run on HOST [BUILD]
991 --target=TARGET configure for building compilers for TARGET [HOST]
995 if test -n "$ac_init_help"; then
996 case $ac_init_help in
997 short | recursive ) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1002 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1003 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1004 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed in a compiler-specific directory
1005 --enable-intermodule build the library in one step
1006 --enable-maintainer-mode enable make rules and dependencies not useful
1007 (and sometimes confusing) to the casual installer
1008 --enable-multilib build many library versions (default)
1009 --disable-dependency-tracking speeds up one-time build
1010 --enable-dependency-tracking do not reject slow dependency extractors
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-largefile omit support for large files
1021 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1022 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1023 --with-build-libsubdir=DIR Directory where to find libraries for build system
1024 --with-pic try to use only PIC/non-PIC objects [default=use
1026 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1028 Some influential environment variables:
1029 CC C compiler command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1032 nonstandard directory <lib dir>
1033 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1034 headers in a nonstandard directory <include dir>
1036 FC Fortran compiler command
1037 FCFLAGS Fortran compiler flags
1039 Use these variables to override the choices made by `configure' or to help
1040 it to find libraries and programs with nonstandard names/locations.
1045 if test "$ac_init_help" = "recursive"; then
1046 # If there are subdirs, report their specific --help.
1048 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1049 test -d $ac_dir || continue
1052 if test "$ac_dir" != .; then
1053 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1054 # A "../" for each directory in $ac_dir_suffix.
1055 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1057 ac_dir_suffix= ac_top_builddir=
1061 .) # No --srcdir option. We are building in place.
1063 if test -z "$ac_top_builddir"; then
1066 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1068 [\\/]* | ?:[\\/]* ) # Absolute path.
1069 ac_srcdir=$srcdir$ac_dir_suffix;
1070 ac_top_srcdir=$srcdir ;;
1072 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1073 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1076 # Do not use `cd foo && pwd` to compute absolute paths, because
1077 # the directories may not exist.
1079 .) ac_abs_builddir="$ac_dir";;
1082 .) ac_abs_builddir=`pwd`;;
1083 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1084 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1087 case $ac_abs_builddir in
1088 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1090 case ${ac_top_builddir}. in
1091 .) ac_abs_top_builddir=$ac_abs_builddir;;
1092 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1093 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1096 case $ac_abs_builddir in
1097 .) ac_abs_srcdir=$ac_srcdir;;
1100 .) ac_abs_srcdir=$ac_abs_builddir;;
1101 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1102 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1108 case $ac_top_srcdir in
1109 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1111 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1116 # Check for guested configure; otherwise get Cygnus style configure.
1117 if test -f $ac_srcdir/configure.gnu; then
1119 $SHELL $ac_srcdir/configure.gnu --help=recursive
1120 elif test -f $ac_srcdir/configure; then
1122 $SHELL $ac_srcdir/configure --help=recursive
1123 elif test -f $ac_srcdir/configure.ac ||
1124 test -f $ac_srcdir/configure.in; then
1126 $ac_configure --help
1128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1137 GNU Fortran Runtime Library configure 0.3
1138 generated by GNU Autoconf 2.59
1140 Copyright (C) 2003 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1152 generated by GNU Autoconf 2.59. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 # differences in whitespace do not lead to failure.
1426 ac_old_val_w=`echo x $ac_old_val`
1427 ac_new_val_w=`echo x $ac_new_val`
1428 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1430 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1431 ac_cache_corrupted=:
1433 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1435 eval $ac_var=\$ac_old_val
1437 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1438 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1439 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1440 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1443 # Pass precious variables to config.status.
1444 if test "$ac_new_set" = set; then
1446 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1448 *) ac_arg=$ac_var=$ac_new_val ;;
1450 case " $ac_configure_args " in
1451 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1452 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1456 if $ac_cache_corrupted; then
1457 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1460 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1461 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501 ac_config_headers="$ac_config_headers config.h"
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505 if test -f $ac_dir/install-sh; then
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1509 elif test -f $ac_dir/install.sh; then
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1513 elif test -f $ac_dir/shtool; then
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541 ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545 { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1555 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1560 case ${build_alias} in
1561 "") build_noncanonical=${build} ;;
1562 *) build_noncanonical=${build_alias} ;;
1565 case ${host_alias} in
1566 "") host_noncanonical=${build_noncanonical} ;;
1567 *) host_noncanonical=${host_alias} ;;
1570 case ${target_alias} in
1571 "") target_noncanonical=${host_noncanonical} ;;
1572 *) target_noncanonical=${target_alias} ;;
1576 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1577 # have matching libraries, they should use host libraries: Makefile.tpl
1578 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1579 # However, they still use the build modules, because the corresponding
1580 # host modules (e.g. bison) are only built for the host when bootstrap
1582 # - build_subdir is where we find build modules, and never changes.
1583 # - build_libsubdir is where we find build libraries, and can be overridden.
1585 # Prefix 'build-' so this never conflicts with target_subdir.
1586 build_subdir="build-${build_noncanonical}"
1588 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1589 if test "${with_build_libsubdir+set}" = set; then
1590 withval="$with_build_libsubdir"
1591 build_libsubdir="$withval"
1593 build_libsubdir="$build_subdir"
1595 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1596 if ( test $srcdir = . && test -d gcc ) \
1597 || test -d $srcdir/../host-${host_noncanonical}; then
1598 host_subdir="host-${host_noncanonical}"
1603 target_subdir=${target_noncanonical}
1610 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1611 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1612 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1613 if test "${enable_version_specific_runtime_libs+set}" = set; then
1614 enableval="$enable_version_specific_runtime_libs"
1615 case "$enableval" in
1616 yes) version_specific_libs=yes ;;
1617 no) version_specific_libs=no ;;
1618 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1619 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1620 { (exit 1); exit 1; }; };;
1623 version_specific_libs=no
1625 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1626 echo "${ECHO_T}$version_specific_libs" >&6
1628 # Build with intermodule optimisations
1629 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1630 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1631 # Check whether --enable-intermodule or --disable-intermodule was given.
1632 if test "${enable_intermodule+set}" = set; then
1633 enableval="$enable_intermodule"
1634 case "$enable_intermodule" in
1635 yes) onestep="-onestep";;
1641 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1642 echo "${ECHO_T}$enable_intermodule" >&6
1645 if test x$onestep = x-onestep; then
1655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1657 # You will slowly go insane if you do not grok the following fact: when
1658 # building this library, the top-level /target/ becomes the library's /host/.
1660 # configure then causes --target to default to --host, exactly like any
1661 # other package using autoconf. Therefore, 'target' and 'host' will
1662 # always be the same. This makes sense both for native and cross compilers
1663 # just think about it for a little while. :-)
1665 # Also, if this library is being configured as part of a cross compiler, the
1666 # top-level configure script will pass the "real" host as $with_cross_host.
1668 # Do not delete or change the following two lines. For why, see
1669 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1670 echo "$as_me:$LINENO: checking host system type" >&5
1671 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1672 if test "${ac_cv_host+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 ac_cv_host_alias=$host_alias
1676 test -z "$ac_cv_host_alias" &&
1677 ac_cv_host_alias=$ac_cv_build_alias
1678 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1679 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1681 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1685 echo "${ECHO_T}$ac_cv_host" >&6
1687 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1692 echo "$as_me:$LINENO: checking target system type" >&5
1693 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1694 if test "${ac_cv_target+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 ac_cv_target_alias=$target_alias
1698 test "x$ac_cv_target_alias" = "x" &&
1699 ac_cv_target_alias=$ac_cv_host_alias
1700 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1701 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1703 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1707 echo "${ECHO_T}$ac_cv_target" >&6
1708 target=$ac_cv_target
1709 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714 # The aliases save the names the user supplied, while $host etc.
1715 # will get canonicalized.
1716 test -n "$target_alias" &&
1717 test "$program_prefix$program_suffix$program_transform_name" = \
1719 program_prefix=${target_alias}-
1720 target_alias=${target_alias-$host_alias}
1722 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1723 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1724 # 1.9.6: minimum required version
1725 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1726 # of other PACKAGE_* variables will, however, and there's nothing
1727 # we can do about that; they come from AC_INIT).
1728 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1729 # file in the top srcdir, etc, etc), so stop complaining.
1730 # -Wall: turns on all automake warnings...
1731 # -Wno-portability: ...except this one, since GNU make is required.
1732 am__api_version="1.9"
1733 # Find a good install program. We prefer a C program (faster),
1734 # so one script is as good as another. But avoid the broken or
1735 # incompatible versions:
1736 # SysV /etc/install, /usr/sbin/install
1737 # SunOS /usr/etc/install
1738 # IRIX /sbin/install
1740 # AmigaOS /C/install, which installs bootblocks on floppy discs
1741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1744 # OS/2's system install, which has a completely different semantic
1745 # ./install, which can be erroneously created by make from ./install.sh.
1746 # Reject install programs that cannot install multiple files.
1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1749 if test -z "$INSTALL"; then
1750 if test "${ac_cv_path_install+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir=.
1758 # Account for people who put trailing slashes in PATH elements.
1760 ./ | .// | /cC/* | \
1761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1765 # OSF1 and SCO ODT 3.0 have their own names for install.
1766 # Don't use installbsd from OSF since it installs stuff as root
1768 for ac_prog in ginstall scoinst install; do
1769 for ac_exec_ext in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1771 if test $ac_prog = install &&
1772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1773 # AIX install. It has an incompatible calling convention.
1775 elif test $ac_prog = install &&
1776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1777 # program-specific install script used by HP pwplus--don't use.
1780 rm -rf conftest.one conftest.two conftest.dir
1781 echo one > conftest.one
1782 echo two > conftest.two
1784 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1785 test -s conftest.one && test -s conftest.two &&
1786 test -s conftest.dir/conftest.one &&
1787 test -s conftest.dir/conftest.two
1789 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1800 rm -rf conftest.one conftest.two conftest.dir
1803 if test "${ac_cv_path_install+set}" = set; then
1804 INSTALL=$ac_cv_path_install
1806 # As a last resort, use the slow shell script. Don't cache a
1807 # value for INSTALL within a source directory, because that will
1808 # break other packages using the cache if that directory is
1809 # removed, or if the value is a relative name.
1810 INSTALL=$ac_install_sh
1813 echo "$as_me:$LINENO: result: $INSTALL" >&5
1814 echo "${ECHO_T}$INSTALL" >&6
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1824 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1825 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1828 echo timestamp > conftest.file
1829 # Do `set' in a subshell so we don't clobber the current shell's
1830 # arguments. Must try -L first in case configure is actually a
1831 # symlink; some systems play weird games with the mod time of symlinks
1832 # (eg FreeBSD returns the mod time of the symlink's containing
1835 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1836 if test "$*" = "X"; then
1838 set X `ls -t $srcdir/configure conftest.file`
1841 if test "$*" != "X $srcdir/configure conftest.file" \
1842 && test "$*" != "X conftest.file $srcdir/configure"; then
1844 # If neither matched, then we have a broken ls. This can happen
1845 # if, for instance, CONFIG_SHELL is bash and it inherits a
1846 # broken ls alias from the environment. This has actually
1847 # happened. Such a system could not be considered "sane".
1848 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1849 alias in your environment" >&5
1850 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1851 alias in your environment" >&2;}
1852 { (exit 1); exit 1; }; }
1855 test "$2" = conftest.file
1861 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1862 Check your system clock" >&5
1863 echo "$as_me: error: newly created file is older than distributed files!
1864 Check your system clock" >&2;}
1865 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1869 test "$program_prefix" != NONE &&
1870 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1871 # Use a double $ so make ignores it.
1872 test "$program_suffix" != NONE &&
1873 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1874 # Double any \ or $. echo might interpret backslashes.
1875 # By default was `s,x,x', remove it if useless.
1876 cat <<\_ACEOF >conftest.sed
1877 s/[\\$]/&&/g;s/;s,x,x,$//
1879 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1882 # expand $ac_aux_dir to an absolute path
1883 am_aux_dir=`cd $ac_aux_dir && pwd`
1885 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1886 # Use eval to expand $SHELL
1887 if eval "$MISSING --run true"; then
1888 am_missing_run="$MISSING --run "
1891 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1892 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1895 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1896 # We used to keeping the `.' as first argument, in order to
1897 # allow $(mkdir_p) to be used without argument. As in
1898 # $(mkdir_p) $(somedir)
1899 # where $(somedir) is conditionally defined. However this is wrong
1901 # 1. if the package is installed by a user who cannot write `.'
1902 # make install will fail,
1903 # 2. the above comment should most certainly read
1904 # $(mkdir_p) $(DESTDIR)$(somedir)
1905 # so it does not work when $(somedir) is undefined and
1906 # $(DESTDIR) is not.
1907 # To support the latter case, we have to write
1908 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1909 # so the `.' trick is pointless.
1910 mkdir_p='mkdir -p --'
1912 # On NextStep and OpenStep, the `mkdir' command does not
1913 # recognize any option. It will interpret all options as
1914 # directories to create, and then abort because `.' already
1916 for d in ./-p ./--version;
1918 test -d $d && rmdir $d
1920 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1921 if test -f "$ac_aux_dir/mkinstalldirs"; then
1922 mkdir_p='$(mkinstalldirs)'
1924 mkdir_p='$(install_sh) -d'
1928 for ac_prog in gawk mawk nawk awk
1930 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy $ac_prog; ac_word=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test -n "$AWK"; then
1938 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir=.
1945 for ac_exec_ext in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_AWK="$ac_prog"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$AWK"; then
1958 echo "$as_me:$LINENO: result: $AWK" >&5
1959 echo "${ECHO_T}$AWK" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1965 test -n "$AWK" && break
1968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1970 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.make <<\_ACEOF
1976 @echo 'ac_maketemp="$(MAKE)"'
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1980 if test -n "$ac_maketemp"; then
1981 eval ac_cv_prog_make_${ac_make}_set=yes
1983 eval ac_cv_prog_make_${ac_make}_set=no
1987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1988 echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994 SET_MAKE="MAKE=${MAKE-make}"
1997 rm -rf .tst 2>/dev/null
1998 mkdir .tst 2>/dev/null
1999 if test -d .tst; then
2004 rmdir .tst 2>/dev/null
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011 { (exit 1); exit 1; }; }
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016 if (cygpath --version) >/dev/null 2>/dev/null; then
2017 CYGPATH_W='cygpath -w'
2024 # Define the identity of the package.
2025 PACKAGE='libgfortran'
2029 # Some tools Automake needs.
2031 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2034 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2037 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2040 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2043 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2045 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2047 # Installed binaries are usually stripped using `strip' when the user
2048 # run `make install-strip'. However `strip' might not be the right
2049 # tool to use in cross-compilation environments, therefore Automake
2050 # will honor the `STRIP' environment variable to overrule this program.
2051 if test "$cross_compiling" != no; then
2052 if test -n "$ac_tool_prefix"; then
2053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054 set dummy ${ac_tool_prefix}strip; ac_word=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_STRIP+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$STRIP"; then
2061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir=.
2068 for ac_exec_ext in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 STRIP=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$ac_cv_prog_STRIP"; then
2091 # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip; ac_word=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_ac_ct_STRIP="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2118 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2129 STRIP="$ac_cv_prog_STRIP"
2133 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2135 # We need awk for the "check" target. The system "awk" is bad on
2137 # Always define AMTAR for backward compatibility.
2139 AMTAR=${AMTAR-"${am_missing_run}tar"}
2141 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2148 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2149 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2150 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2151 if test "${enable_maintainer_mode+set}" = set; then
2152 enableval="$enable_maintainer_mode"
2153 USE_MAINTAINER_MODE=$enableval
2155 USE_MAINTAINER_MODE=no
2157 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2158 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2161 if test $USE_MAINTAINER_MODE = yes; then
2162 MAINTAINER_MODE_TRUE=
2163 MAINTAINER_MODE_FALSE='#'
2165 MAINTAINER_MODE_TRUE='#'
2166 MAINTAINER_MODE_FALSE=
2169 MAINT=$MAINTAINER_MODE_TRUE
2172 # Default to --enable-multilib
2173 # Check whether --enable-multilib or --disable-multilib was given.
2174 if test "${enable_multilib+set}" = set; then
2175 enableval="$enable_multilib"
2176 case "$enableval" in
2177 yes) multilib=yes ;;
2179 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2180 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2181 { (exit 1); exit 1; }; } ;;
2187 # We may get other options which we leave undocumented:
2188 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2189 # See config-ml.in if you want the gory details.
2191 if test "$srcdir" = "."; then
2192 if test "$with_target_subdir" != "."; then
2193 multi_basedir="$srcdir/$with_multisrctop../.."
2195 multi_basedir="$srcdir/$with_multisrctop.."
2198 multi_basedir="$srcdir/.."
2202 # Even if the default multilib is not a cross compilation,
2203 # it may be that some of the other multilibs are.
2204 if test $cross_compiling = no && test $multilib = yes \
2205 && test "x${with_multisubdir}" != x ; then
2206 cross_compiling=maybe
2209 ac_config_commands="$ac_config_commands default-1"
2212 # Handy for debugging:
2213 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2215 # Are we being configured with some form of cross compiler?
2216 # NB: We don't actually need to know this just now, but when, say, a test
2217 # suite is included, we'll have to know.
2218 if test "$build" != "$host"; then
2219 LIBGFOR_IS_NATIVE=false
2222 LIBGFOR_IS_NATIVE=true
2225 # Calculate toolexeclibdir
2226 # Also toolexecdir, though it's only used in toolexeclibdir
2227 case ${version_specific_libs} in
2229 # Need the gcc compiler version to know where to install libraries
2230 # and header files if --enable-version-specific-runtime-libs option
2232 toolexecdir='$(libdir)/gcc/$(target_alias)'
2233 toolexeclibdir='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2236 if test -n "$with_cross_host" &&
2237 test x"$with_cross_host" != x"no"; then
2238 # Install a library built with a cross compiler in tooldir, not libdir.
2239 toolexecdir='$(exec_prefix)/$(target_alias)'
2240 toolexeclibdir='$(toolexecdir)/lib'
2242 toolexecdir='$(libdir)/gcc-lib/$(target_alias)'
2243 toolexeclibdir='$(libdir)'
2245 multi_os_directory=`$CC -print-multi-os-directory`
2246 case $multi_os_directory in
2247 .) ;; # Avoid trailing /.
2248 *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
2255 # Check the compiler.
2256 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2257 # We must force CC to /not/ be precious variables; otherwise
2258 # the wrong, non-multilib-adjusted value will be used in multilibs.
2259 # As a side effect, we have to subst CFLAGS ourselves.
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC="$CC" # Let the user override the test.
2279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir=.
2284 for ac_exec_ext in '' $ac_executable_extensions; do
2285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 if test -n "$CC"; then
2297 echo "$as_me:$LINENO: result: $CC" >&5
2298 echo "${ECHO_T}$CC" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2305 if test -z "$ac_cv_prog_CC"; then
2307 # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc; ac_word=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir=.
2322 for ac_exec_ext in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_CC="gcc"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC="${ac_tool_prefix}cc"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$CC"; then
2377 echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2385 if test -z "$ac_cv_prog_CC"; then
2387 # Extract the first word of "cc", so it can be a program name with args.
2388 set dummy cc; ac_word=$2
2389 echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if test -n "$ac_ct_CC"; then
2395 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir=.
2402 for ac_exec_ext in '' $ac_executable_extensions; do
2403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404 ac_cv_prog_ac_ct_CC="cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6
2418 echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc; ac_word=$2
2431 echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC="$CC" # Let the user override the test.
2440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir=.
2445 for ac_exec_ext in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected=yes
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test $ac_prog_rejected = yes; then
2459 # We found a bogon in the path, so make sure we never use it.
2460 set dummy $ac_cv_prog_CC
2462 if test $# != 0; then
2463 # We chose a different compiler from the bogus one.
2464 # However, it has the same basename, so the bogon will be chosen
2465 # first if we set CC to just the basename; use the full file name.
2467 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2473 if test -n "$CC"; then
2474 echo "$as_me:$LINENO: result: $CC" >&5
2475 echo "${ECHO_T}$CC" >&6
2477 echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2488 echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC="$CC" # Let the user override the test.
2496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir=.
2501 for ac_exec_ext in '' $ac_executable_extensions; do
2502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test -n "$CC"; then
2514 echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6
2517 echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2521 test -n "$CC" && break
2524 if test -z "$CC"; then
2528 # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy $ac_prog; ac_word=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 if test -n "$ac_ct_CC"; then
2536 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir=.
2543 for ac_exec_ext in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_ac_ct_CC="$ac_prog"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2563 test -n "$ac_ct_CC" && break
2572 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }; }
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO:" \
2582 "checking for C compiler version" >&5
2583 ac_compiler=`set X $ac_compile; echo $2`
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2585 (eval $ac_compiler --version </dev/null >&5) 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2590 (eval $ac_compiler -v </dev/null >&5) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2595 (eval $ac_compiler -V </dev/null >&5) 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }
2600 cat >conftest.$ac_ext <<_ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; then
2626 if test x$gcc_no_link = xyes; then
2627 # Setting cross_compile will disable run tests; it will
2628 # also disable AC_CHECK_FILE but that's generally
2629 # correct if we can't link.
2633 cat >conftest.$ac_ext <<_ACEOF
2636 cat confdefs.h >>conftest.$ac_ext
2637 cat >>conftest.$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2648 ac_clean_files_save=$ac_clean_files
2649 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2650 # Try to create an executable without -o first, disregard a.out.
2651 # It will help us diagnose broken compilers, and finding out an intuition
2653 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2654 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2655 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2657 (eval $ac_link_default) 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Find the output, starting from the most likely. This scheme is
2662 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2665 # Be careful to initialize this variable, since it used to be cached.
2666 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2668 # b.out is created by i960 compilers.
2669 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2671 test -f "$ac_file" || continue
2673 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2676 # This is the source file.
2679 # We found the default executable, but exeext='' is most
2683 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684 # FIXME: I believe we export ac_cv_exeext for Libtool,
2685 # but it would be cool to find out if it's true. Does anybody
2686 # maintain Libtool? --akim.
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.$ac_ext >&5
2697 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2700 See \`config.log' for more details." >&5
2701 echo "$as_me: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&2;}
2703 { (exit 77); exit 77; }; }; }
2706 ac_exeext=$ac_cv_exeext
2707 echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6
2710 # Check the compiler produces executables we can run. If not, either
2711 # the compiler is broken, or we cross compile.
2712 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717 if { ac_try='./$ac_file'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2725 if test "$cross_compiling" = maybe; then
2728 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2731 If you meant to cross compile, use \`--host'.
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot run C compiled programs.
2734 If you meant to cross compile, use \`--host'.
2735 See \`config.log' for more details." >&2;}
2736 { (exit 1); exit 1; }; }; }
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2743 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2744 ac_clean_files=$ac_clean_files_save
2745 # Check the compiler produces executables we can run. If not, either
2746 # the compiler is broken, or we cross compile.
2747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2750 echo "${ECHO_T}$cross_compiling" >&6
2752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755 (eval $ac_link) 2>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; then
2759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2763 for ac_file in conftest.exe conftest conftest.*; do
2764 test -f "$ac_file" || continue
2766 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2767 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2775 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }; }
2783 rm -f conftest$ac_cv_exeext
2784 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 echo "${ECHO_T}$ac_cv_exeext" >&6
2787 rm -f conftest.$ac_ext
2788 EXEEXT=$ac_cv_exeext
2791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2793 if test "${ac_cv_objext+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 cat >conftest.$ac_ext <<_ACEOF
2799 cat confdefs.h >>conftest.$ac_ext
2800 cat >>conftest.$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2811 rm -f conftest.o conftest.obj
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; then
2817 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2819 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2820 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.$ac_ext >&5
2828 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&5
2832 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833 See \`config.log' for more details." >&2;}
2834 { (exit 1); exit 1; }; }; }
2837 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2839 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840 echo "${ECHO_T}$ac_cv_objext" >&6
2841 OBJEXT=$ac_cv_objext
2843 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 cat >conftest.$ac_ext <<_ACEOF
2851 cat confdefs.h >>conftest.$ac_ext
2852 cat >>conftest.$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2866 rm -f conftest.$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2870 grep -v '^ *+' conftest.er1 >conftest.err
2872 cat conftest.err >&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try='test -z "$ac_c_werror_flag"
2876 || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.$ac_ext >&5
2895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2896 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2899 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2900 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2901 GCC=`test $ac_compiler_gnu = yes && echo yes`
2902 ac_test_CFLAGS=${CFLAGS+set}
2903 ac_save_CFLAGS=$CFLAGS
2905 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2906 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2907 if test "${ac_cv_prog_cc_g+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2913 cat confdefs.h >>conftest.$ac_ext
2914 cat >>conftest.$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2929 grep -v '^ *+' conftest.er1 >conftest.err
2931 cat conftest.err >&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.$ac_ext >&5
2954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2956 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2958 if test "$ac_test_CFLAGS" = set; then
2959 CFLAGS=$ac_save_CFLAGS
2960 elif test $ac_cv_prog_cc_g = yes; then
2961 if test "$GCC" = yes; then
2967 if test "$GCC" = yes; then
2973 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2974 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 ac_cv_prog_cc_stdc=no
2980 cat >conftest.$ac_ext <<_ACEOF
2983 cat confdefs.h >>conftest.$ac_ext
2984 cat >>conftest.$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2988 #include <sys/types.h>
2989 #include <sys/stat.h>
2990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2991 struct buf { int x; };
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2993 static char *e (p, i)
2999 static char *f (char * (*g) (char **, int), char **p, ...)
3004 s = g (p, va_arg (v,int));
3009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3010 function prototypes and stuff, but not '\xHH' hex character constants.
3011 These don't provoke an error unfortunately, instead are silently treated
3012 as 'x'. The following induces an error, until -std1 is added to get
3013 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3014 array size at least. It's necessary to write '\x00'==0 to get something
3015 that's true only with -std1. */
3016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3018 int test (int i, double x);
3019 struct s1 {int (*f) (int a);};
3020 struct s2 {int (*f) (double a);};
3021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3027 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3032 # Don't try gcc -ansi; that turns off useful extensions and
3033 # breaks some systems' header files.
3034 # AIX -qlanglvl=ansi
3035 # Ultrix and OSF/1 -std1
3036 # HP-UX 10.20 and later -Ae
3037 # HP-UX older versions -Aa -D_HPUX_SOURCE
3038 # SVR4 -Xc -D__EXTENSIONS__
3039 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3041 CC="$ac_save_CC $ac_arg"
3042 rm -f conftest.$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044 (eval $ac_compile) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1 >conftest.err
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try='test -z "$ac_c_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_prog_cc_stdc=$ac_arg
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3071 rm -f conftest.err conftest.$ac_objext
3073 rm -f conftest.$ac_ext conftest.$ac_objext
3078 case "x$ac_cv_prog_cc_stdc" in
3080 echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085 CC="$CC $ac_cv_prog_cc_stdc" ;;
3088 # Some people use a C++ compiler to compile C. Since we use `exit',
3089 # in C++ we need to declare it. In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.$ac_ext <<_ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>conftest.er1
3101 grep -v '^ *+' conftest.er1 >conftest.err
3103 cat conftest.err >&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try='test -z "$ac_c_werror_flag"
3107 || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 for ac_declaration in \
3121 'extern "C" void std::exit (int) throw (); using std::exit;' \
3122 'extern "C" void std::exit (int); using std::exit;' \
3123 'extern "C" void exit (int) throw ();' \
3124 'extern "C" void exit (int);' \
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3143 rm -f conftest.$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1 >conftest.err
3149 cat conftest.err >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try='test -z "$ac_c_werror_flag"
3153 || test ! -s conftest.err'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; } &&
3159 { ac_try='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3192 grep -v '^ *+' conftest.er1 >conftest.err
3194 cat conftest.err >&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try='test -z "$ac_c_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3219 if test -n "$ac_declaration"; then
3220 echo '#ifdef __cplusplus' >>confdefs.h
3221 echo $ac_declaration >>confdefs.h
3222 echo '#endif' >>confdefs.h
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.$ac_ext >&5
3230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3232 ac_cpp='$CPP $CPPFLAGS'
3233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 DEPDIR="${am__leading_dot}deps"
3238 ac_config_commands="$ac_config_commands depfiles"
3241 am_make=${MAKE-make}
3242 cat > confinc << 'END'
3247 # If we don't find an include directive, just comment out the code.
3248 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3249 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # We grep out `Entering directory' and `Leaving directory'
3256 # messages which can occur if `w' ends up in MAKEFLAGS.
3257 # In particular we don't look at `^make:' because GNU make might
3258 # be invoked under some other name (usually "gmake"), in which
3259 # case it prints its new name instead of `make'.
3260 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267 echo '.include "confinc"' > confmf
3268 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3269 am__include=.include
3276 echo "$as_me:$LINENO: result: $_am_result" >&5
3277 echo "${ECHO_T}$_am_result" >&6
3278 rm -f confinc confmf
3280 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282 enableval="$enable_dependency_tracking"
3285 if test "x$enable_dependency_tracking" != xno; then
3286 am_depcomp="$ac_aux_dir/depcomp"
3291 if test "x$enable_dependency_tracking" != xno; then
3302 depcc="$CC" am_compiler_list=
3304 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3306 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310 # We make a subdir and do the tests there. Otherwise we can end up
3311 # making bogus files that we don't know about and never remove. For
3312 # instance it was reported that on HP-UX the gcc test will end up
3313 # making a dummy file named `D' -- because `-MD' means `put the output
3316 # Copy depcomp to subdir because otherwise we won't find it if we're
3317 # using a relative directory.
3318 cp "$am_depcomp" conftest.dir
3320 # We will build objects and dependencies in a subdirectory because
3321 # it helps to detect inapplicable dependency modes. For instance
3322 # both Tru64's cc and ICC support -MD to output dependencies as a
3323 # side effect of compilation, but ICC will put the dependencies in
3324 # the current directory while Tru64 will put them in the object
3328 am_cv_CC_dependencies_compiler_type=none
3329 if test "$am_compiler_list" = ""; then
3330 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3332 for depmode in $am_compiler_list; do
3333 # Setup a source with many dependencies, because some compilers
3334 # like to wrap large dependency lists on column 80 (with \), and
3335 # we should not choose a depcomp mode which is confused by this.
3337 # We need to recreate these files for each test, as the compiler may
3338 # overwrite some of them when testing with obscure command lines.
3339 # This happens at least with the AIX C compiler.
3341 for i in 1 2 3 4 5 6; do
3342 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3343 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344 # Solaris 8's {/usr,}/bin/sh.
3345 touch sub/conftst$i.h
3347 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3351 # after this tag, mechanisms are not by side-effect, so they'll
3352 # only be used when explicitly requested
3353 if test "x$enable_dependency_tracking" = xyes; then
3361 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362 # mode. It turns out that the SunPro C++ compiler does not properly
3363 # handle `-M -o', and we need to detect this.
3364 if depmode=$depmode \
3365 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3366 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3367 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3368 >/dev/null 2>conftest.err &&
3369 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3370 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3371 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3372 # icc doesn't choke on unknown options, it will just issue warnings
3373 # or remarks (even with -Werror). So we grep stderr for any message
3374 # that says an option was ignored or not supported.
3375 # When given -MP, icc 7.0 and 7.1 complain thusly:
3376 # icc: Command line warning: ignoring option '-M'; no argument required
3377 # The diagnosis changed in icc 8.0:
3378 # icc: Command line remark: option '-MP' not supported
3379 if (grep 'ignoring option' conftest.err ||
3380 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3381 am_cv_CC_dependencies_compiler_type=$depmode
3390 am_cv_CC_dependencies_compiler_type=none
3394 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3395 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3396 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3401 test "x$enable_dependency_tracking" != xno \
3402 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3404 am__fastdepCC_FALSE='#'
3406 am__fastdepCC_TRUE='#'
3407 am__fastdepCC_FALSE=
3413 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3414 if test "x$GCC" = "xyes"; then
3415 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3416 ## We like to use C99 routines when available. This makes sure that
3417 ## __STDC_VERSION__ is set such that libc includes make them available.
3418 AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3419 ## Compile the following tests with the same system header contents
3420 ## that we'll encounter when compiling our own source files.
3421 CFLAGS="-std=gnu99 $CFLAGS"
3427 # Check for symbol versioning (copied from libssp).
3428 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3429 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3430 cat > conftest.map <<EOF
3432 global: *foo*; bar; local: *;
3435 save_LDFLAGS="$LDFLAGS"
3436 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3438 if test x$gcc_no_link = xyes; then
3439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3441 { (exit 1); exit 1; }; }
3443 cat >conftest.$ac_ext <<_ACEOF
3446 cat confdefs.h >>conftest.$ac_ext
3447 cat >>conftest.$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.$ac_objext conftest$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1 >conftest.err
3464 cat conftest.err >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try='test -s conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 gfortran_use_symver=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.$ac_ext >&5
3485 gfortran_use_symver=no
3487 rm -f conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3489 LDFLAGS="$save_LDFLAGS"
3490 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3491 echo "${ECHO_T}$gfortran_use_symver" >&6
3494 if test "x$gfortran_use_symver" = xyes; then
3495 LIBGFOR_USE_SYMVER_TRUE=
3496 LIBGFOR_USE_SYMVER_FALSE='#'
3498 LIBGFOR_USE_SYMVER_TRUE='#'
3499 LIBGFOR_USE_SYMVER_FALSE=
3503 # Find other programs we need.
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3506 set dummy ${ac_tool_prefix}as; ac_word=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_AS+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$AS"; then
3513 ac_cv_prog_AS="$AS" # Let the user override the test.
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_AS="${ac_tool_prefix}as"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 if test -n "$AS"; then
3533 echo "$as_me:$LINENO: result: $AS" >&5
3534 echo "${ECHO_T}$AS" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 if test -z "$ac_cv_prog_AS"; then
3543 # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as; ac_word=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 if test -n "$ac_ct_AS"; then
3551 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir=.
3558 for ac_exec_ext in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_AS="as"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3570 if test -n "$ac_ct_AS"; then
3571 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3572 echo "${ECHO_T}$ac_ct_AS" >&6
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3585 set dummy ${ac_tool_prefix}ar; ac_word=$2
3586 echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588 if test "${ac_cv_prog_AR+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 if test -n "$AR"; then
3592 ac_cv_prog_AR="$AR" # Let the user override the test.
3594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir=.
3599 for ac_exec_ext in '' $ac_executable_extensions; do
3600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_AR="${ac_tool_prefix}ar"
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 if test -n "$AR"; then
3612 echo "$as_me:$LINENO: result: $AR" >&5
3613 echo "${ECHO_T}$AR" >&6
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3620 if test -z "$ac_cv_prog_AR"; then
3622 # Extract the first word of "ar", so it can be a program name with args.
3623 set dummy ar; ac_word=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 if test -n "$ac_ct_AR"; then
3630 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir=.
3637 for ac_exec_ext in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_AR="ar"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3649 if test -n "$ac_ct_AR"; then
3650 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3651 echo "${ECHO_T}$ac_ct_AR" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3662 if test -n "$ac_tool_prefix"; then
3663 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3664 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3665 echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3667 if test "${ac_cv_prog_RANLIB+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 if test -n "$RANLIB"; then
3671 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir=.
3678 for ac_exec_ext in '' $ac_executable_extensions; do
3679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 RANLIB=$ac_cv_prog_RANLIB
3690 if test -n "$RANLIB"; then
3691 echo "$as_me:$LINENO: result: $RANLIB" >&5
3692 echo "${ECHO_T}$RANLIB" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700 ac_ct_RANLIB=$RANLIB
3701 # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib; ac_word=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -n "$ac_ct_RANLIB"; then
3709 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir=.
3716 for ac_exec_ext in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_ac_ct_RANLIB="ranlib"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3728 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3733 echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3737 RANLIB=$ac_ct_RANLIB
3739 RANLIB="$ac_cv_prog_RANLIB"
3742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 cat >conftest.make <<\_ACEOF
3750 @echo 'ac_maketemp="$(MAKE)"'
3752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3754 if test -n "$ac_maketemp"; then
3755 eval ac_cv_prog_make_${ac_make}_set=yes
3757 eval ac_cv_prog_make_${ac_make}_set=no
3761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3762 echo "$as_me:$LINENO: result: yes" >&5
3763 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 SET_MAKE="MAKE=${MAKE-make}"
3771 # Find a good install program. We prefer a C program (faster),
3772 # so one script is as good as another. But avoid the broken or
3773 # incompatible versions:
3774 # SysV /etc/install, /usr/sbin/install
3775 # SunOS /usr/etc/install
3776 # IRIX /sbin/install
3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3782 # OS/2's system install, which has a completely different semantic
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 # Reject install programs that cannot install multiple files.
3785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3787 if test -z "$INSTALL"; then
3788 if test "${ac_cv_path_install+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir=.
3796 # Account for people who put trailing slashes in PATH elements.
3798 ./ | .// | /cC/* | \
3799 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3800 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3803 # OSF1 and SCO ODT 3.0 have their own names for install.
3804 # Don't use installbsd from OSF since it installs stuff as root
3806 for ac_prog in ginstall scoinst install; do
3807 for ac_exec_ext in '' $ac_executable_extensions; do
3808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3809 if test $ac_prog = install &&
3810 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3811 # AIX install. It has an incompatible calling convention.
3813 elif test $ac_prog = install &&
3814 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3815 # program-specific install script used by HP pwplus--don't use.
3818 rm -rf conftest.one conftest.two conftest.dir
3819 echo one > conftest.one
3820 echo two > conftest.two
3822 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3823 test -s conftest.one && test -s conftest.two &&
3824 test -s conftest.dir/conftest.one &&
3825 test -s conftest.dir/conftest.two
3827 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3838 rm -rf conftest.one conftest.two conftest.dir
3841 if test "${ac_cv_path_install+set}" = set; then
3842 INSTALL=$ac_cv_path_install
3844 # As a last resort, use the slow shell script. Don't cache a
3845 # value for INSTALL within a source directory, because that will
3846 # break other packages using the cache if that directory is
3847 # removed, or if the value is a relative name.
3848 INSTALL=$ac_install_sh
3851 echo "$as_me:$LINENO: result: $INSTALL" >&5
3852 echo "${ECHO_T}$INSTALL" >&6
3854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3855 # It thinks the first close brace ends the variable substitution.
3856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3860 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3864 #AC_MSG_NOTICE([====== Starting libtool configuration])
3871 macro_version='2.1a'
3872 macro_revision='1.2435'
3885 ltmain="$ac_aux_dir/ltmain.sh"
3893 # Check whether --enable-shared or --disable-shared was given.
3894 if test "${enable_shared+set}" = set; then
3895 enableval="$enable_shared"
3896 p=${PACKAGE-default}
3898 yes) enable_shared=yes ;;
3899 no) enable_shared=no ;;
3902 # Look at the argument we got. We use all the common list separators.
3903 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3904 for pkg in $enableval; do
3906 if test "X$pkg" = "X$p"; then
3924 # Check whether --enable-static or --disable-static was given.
3925 if test "${enable_static+set}" = set; then
3926 enableval="$enable_static"
3927 p=${PACKAGE-default}
3929 yes) enable_static=yes ;;
3930 no) enable_static=no ;;
3933 # Look at the argument we got. We use all the common list separators.
3934 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3935 for pkg in $enableval; do
3937 if test "X$pkg" = "X$p"; then
3956 # Check whether --with-pic or --without-pic was given.
3957 if test "${with_pic+set}" = set; then
3964 test -z "$pic_mode" && pic_mode=default
3972 # Check whether --enable-fast-install or --disable-fast-install was given.
3973 if test "${enable_fast_install+set}" = set; then
3974 enableval="$enable_fast_install"
3975 p=${PACKAGE-default}
3977 yes) enable_fast_install=yes ;;
3978 no) enable_fast_install=no ;;
3980 enable_fast_install=no
3981 # Look at the argument we got. We use all the common list separators.
3982 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3983 for pkg in $enableval; do
3985 if test "X$pkg" = "X$p"; then
3986 enable_fast_install=yes
3993 enable_fast_install=yes
4003 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4004 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4005 if test "${lt_cv_path_SED+set}" = set; then
4006 echo $ECHO_N "(cached) $ECHO_C" >&6
4008 # Loop through the user's path and test for sed and gsed.
4009 # Then use that list of sed's as ones to test for truncation.
4010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4014 test -z "$as_dir" && as_dir=.
4015 for lt_ac_prog in sed gsed; do
4016 for ac_exec_ext in '' $ac_executable_extensions; do
4017 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4018 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4026 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4027 # along with /bin/sed that truncates output.
4028 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4029 test ! -f $lt_ac_sed && continue
4030 cat /dev/null > conftest.in
4032 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4033 # Check for GNU sed and select it if it is found.
4034 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4035 lt_cv_path_SED=$lt_ac_sed
4039 cat conftest.in conftest.in >conftest.tmp
4040 mv conftest.tmp conftest.in
4041 cp conftest.in conftest.nl
4043 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4044 cmp -s conftest.out conftest.nl || break
4045 # 10000 chars as input seems more than enough
4046 test $lt_ac_count -gt 10 && break
4047 lt_ac_count=`expr $lt_ac_count + 1`
4048 if test $lt_ac_count -gt $lt_ac_max; then
4049 lt_ac_max=$lt_ac_count
4050 lt_cv_path_SED=$lt_ac_sed
4059 echo "$as_me:$LINENO: result: $SED" >&5
4060 echo "${ECHO_T}$SED" >&6
4062 test -z "$SED" && SED=sed
4063 Xsed="$SED -e 1s/^X//"
4075 echo "$as_me:$LINENO: checking for egrep" >&5
4076 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4077 if test "${ac_cv_prog_egrep+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4081 then ac_cv_prog_egrep='grep -E'
4082 else ac_cv_prog_egrep='egrep'
4085 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4086 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4087 EGREP=$ac_cv_prog_egrep
4090 echo "$as_me:$LINENO: checking for fgrep" >&5
4091 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4092 if test "${ac_cv_prog_fgrep+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4096 then ac_cv_prog_fgrep='grep -F'
4097 else ac_cv_prog_fgrep='fgrep'
4100 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4101 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4102 FGREP=$ac_cv_prog_fgrep
4105 test -z "$GREP" && GREP=grep
4125 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4126 if test "${with_gnu_ld+set}" = set; then
4127 withval="$with_gnu_ld"
4128 test "$withval" = no || with_gnu_ld=yes
4133 if test "$GCC" = yes; then
4134 # Check if gcc -print-prog-name=ld gives a path.
4135 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4136 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4139 # gcc leaves a trailing carriage return which upsets mingw
4140 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4142 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4145 # Accept absolute paths.
4147 re_direlt='/[^/][^/]*/\.\./'
4148 # Canonicalize the pathname of ld
4149 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4150 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4151 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4153 test -z "$LD" && LD="$ac_prog"
4156 # If it fails, then pretend we aren't using GCC.
4160 # If it is relative, then search for the first ld in PATH.
4164 elif test "$with_gnu_ld" = yes; then
4165 echo "$as_me:$LINENO: checking for GNU ld" >&5
4166 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4168 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4169 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4171 if test "${lt_cv_path_LD+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 if test -z "$LD"; then
4175 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4176 for ac_dir in $PATH; do
4178 test -z "$ac_dir" && ac_dir=.
4179 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4180 lt_cv_path_LD="$ac_dir/$ac_prog"
4181 # Check to see if the program is GNU ld. I'd rather use --version,
4182 # but apparently some variants of GNU ld only accept -v.
4183 # Break only if it was the GNU/non-GNU ld that we prefer.
4184 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4185 *GNU* | *'with BFD'*)
4186 test "$with_gnu_ld" != no && break
4189 test "$with_gnu_ld" != yes && break
4196 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4201 if test -n "$LD"; then
4202 echo "$as_me:$LINENO: result: $LD" >&5
4203 echo "${ECHO_T}$LD" >&6
4205 echo "$as_me:$LINENO: result: no" >&5
4206 echo "${ECHO_T}no" >&6
4208 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4209 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4210 { (exit 1); exit 1; }; }
4211 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4212 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4213 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4214 echo $ECHO_N "(cached) $ECHO_C" >&6
4216 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4217 case `$LD -v 2>&1 </dev/null` in
4218 *GNU* | *'with BFD'*)
4219 lt_cv_prog_gnu_ld=yes
4222 lt_cv_prog_gnu_ld=no
4226 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4227 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4228 with_gnu_ld=$lt_cv_prog_gnu_ld
4239 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4240 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4241 if test "${lt_cv_path_NM+set}" = set; then
4242 echo $ECHO_N "(cached) $ECHO_C" >&6
4244 if test -n "$NM"; then
4245 # Let the user override the test.
4248 lt_nm_to_check="${ac_tool_prefix}nm"
4249 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4250 lt_nm_to_check="$lt_nm_to_check nm"
4252 for lt_tmp_nm in $lt_nm_to_check; do
4253 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4254 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4256 test -z "$ac_dir" && ac_dir=.
4257 tmp_nm="$ac_dir/$lt_tmp_nm"
4258 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4259 # Check to see if the nm accepts a BSD-compat flag.
4260 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4261 # nm: unknown option "B" ignored
4262 # Tru64's nm complains that /dev/null is an invalid object file
4263 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4264 */dev/null* | *'Invalid file or object type'*)
4265 lt_cv_path_NM="$tmp_nm -B"
4269 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4271 lt_cv_path_NM="$tmp_nm -p"
4275 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4276 continue # so that we can try to find one that supports BSD flags
4285 : ${lt_cv_path_NM=no}
4288 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4289 echo "${ECHO_T}$lt_cv_path_NM" >&6
4290 if test "$lt_cv_path_NM" != "no"; then
4293 # Didn't find any BSD compatible name lister, look for dumpbin.
4294 if test -n "$ac_tool_prefix"; then
4295 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4297 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4298 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4299 echo "$as_me:$LINENO: checking for $ac_word" >&5
4300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4301 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4302 echo $ECHO_N "(cached) $ECHO_C" >&6
4304 if test -n "$DUMPBIN"; then
4305 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir=.
4312 for ac_exec_ext in '' $ac_executable_extensions; do
4313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4323 DUMPBIN=$ac_cv_prog_DUMPBIN
4324 if test -n "$DUMPBIN"; then
4325 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4326 echo "${ECHO_T}$DUMPBIN" >&6
4328 echo "$as_me:$LINENO: result: no" >&5
4329 echo "${ECHO_T}no" >&6
4332 test -n "$DUMPBIN" && break
4335 if test -z "$DUMPBIN"; then
4336 ac_ct_DUMPBIN=$DUMPBIN
4337 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4339 # Extract the first word of "$ac_prog", so it can be a program name with args.
4340 set dummy $ac_prog; ac_word=$2
4341 echo "$as_me:$LINENO: checking for $ac_word" >&5
4342 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4343 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 if test -n "$ac_ct_DUMPBIN"; then
4347 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4353 test -z "$as_dir" && as_dir=.
4354 for ac_exec_ext in '' $ac_executable_extensions; do
4355 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4356 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4357 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4365 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4366 if test -n "$ac_ct_DUMPBIN"; then
4367 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4368 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4374 test -n "$ac_ct_DUMPBIN" && break
4376 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4378 DUMPBIN=$ac_ct_DUMPBIN
4382 if test "$DUMPBIN" != ":"; then
4386 test -z "$NM" && NM=nm
4393 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4394 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4395 if test "${lt_cv_nm_interface+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4398 lt_cv_nm_interface="BSD nm"
4399 echo "int some_variable = 0;" > conftest.$ac_ext
4400 (eval echo "\"\$as_me:4400: $ac_compile\"" >&5)
4401 (eval "$ac_compile" 2>conftest.err)
4402 cat conftest.err >&5
4403 (eval echo "\"\$as_me:4403: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4404 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4405 cat conftest.err >&5
4406 (eval echo "\"\$as_me:4406: output\"" >&5)
4407 cat conftest.out >&5
4408 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4409 lt_cv_nm_interface="MS dumpbin"
4413 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4414 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4416 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4417 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4419 if test "$LN_S" = "ln -s"; then
4420 echo "$as_me:$LINENO: result: yes" >&5
4421 echo "${ECHO_T}yes" >&6
4423 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4424 echo "${ECHO_T}no, using $LN_S" >&6
4427 # find the maximum length of command line arguments
4428 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4429 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4430 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4438 # On DJGPP, this test can blow up pretty badly due to problems in libc
4439 # (any single argument exceeding 2000 bytes causes a buffer overrun
4440 # during glob expansion). Even if it were fixed, the result of this
4441 # check would be larger than it should be.
4442 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4446 # Under GNU Hurd, this test is not required because there is
4447 # no limit to the length of command line arguments.
4448 # Libtool will interpret -1 as no limit whatsoever
4449 lt_cv_sys_max_cmd_len=-1;
4453 # On Win9x/ME, this test blows up -- it succeeds, but takes
4454 # about 5 minutes as the teststring grows exponentially.
4455 # Worse, since 9x/ME are not pre-emptively multitasking,
4456 # you end up with a "frozen" computer, even though with patience
4457 # the test eventually succeeds (with a max line length of 256k).
4458 # Instead, let's just punt: use the minimum linelength reported by
4459 # all of the supported platforms: 8192 (on NT/2K/XP).
4460 lt_cv_sys_max_cmd_len=8192;
4464 # On AmigaOS with pdksh, this test takes hours, literally.
4465 # So we just punt and use a minimum line length of 8192.
4466 lt_cv_sys_max_cmd_len=8192;
4469 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4470 # This has been around since 386BSD, at least. Likely further.
4471 if test -x /sbin/sysctl; then
4472 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4473 elif test -x /usr/sbin/sysctl; then
4474 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4476 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4478 # And add a safety zone
4479 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4480 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4484 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4485 lt_cv_sys_max_cmd_len=196608
4489 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4490 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4491 # nice to cause kernel panics so lets avoid the loop below.
4492 # First set a reasonable default.
4493 lt_cv_sys_max_cmd_len=16384
4495 if test -x /sbin/sysconfig; then
4496 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4497 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4502 lt_cv_sys_max_cmd_len=102400
4504 sysv5* | sco5v6* | sysv4.2uw2*)
4505 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4506 if test -n "$kargmax"; then
4507 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4509 lt_cv_sys_max_cmd_len=32768
4513 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4514 if test -n $lt_cv_sys_max_cmd_len; then
4515 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4516 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4518 # Make teststring a little bigger before we do anything with it.
4519 # a 1K string should be a reasonable start.
4520 for i in 1 2 3 4 5 6 7 8 ; do
4521 teststring=$teststring$teststring
4523 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4524 # If test is not a shell built-in, we'll probably end up computing a
4525 # maximum length that is only half of the actual maximum length, but
4527 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4528 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4529 test $i != 17 # 1/2 MB should be enough
4532 teststring=$teststring$teststring
4534 # Only check the string length outside the loop.
4535 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4537 # Add a significant safety factor because C++ compilers can tack on
4538 # massive amounts of additional arguments before passing them to the
4539 # linker. It appears as though 1/2 is a usable value.
4540 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4547 if test -n $lt_cv_sys_max_cmd_len ; then
4548 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4549 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4551 echo "$as_me:$LINENO: result: none" >&5
4552 echo "${ECHO_T}none" >&6
4554 max_cmd_len=$lt_cv_sys_max_cmd_len
4566 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4567 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4568 # Try some XSI features
4571 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4572 = c,a/b,, ) >/dev/null 2>&1 \
4574 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4575 echo "${ECHO_T}$xsi_shell" >&6
4578 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4579 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4581 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4583 && lt_shell_append=yes
4584 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4585 echo "${ECHO_T}$lt_shell_append" >&6
4588 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4598 # test EBCDIC or ASCII
4599 case `echo X|tr X '\101'` in
4600 A) # ASCII based system
4601 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4602 lt_SP2NL='tr \040 \012'
4603 lt_NL2SP='tr \015\012 \040\040'
4605 *) # EBCDIC based system
4606 lt_SP2NL='tr \100 \n'
4607 lt_NL2SP='tr \r\n \100\100'
4619 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4620 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4621 if test "${lt_cv_ld_reload_flag+set}" = set; then
4622 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 lt_cv_ld_reload_flag='-r'
4626 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4627 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4628 reload_flag=$lt_cv_ld_reload_flag
4629 case $reload_flag in
4631 *) reload_flag=" $reload_flag" ;;
4633 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4636 if test "$GCC" = yes; then
4637 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4639 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4653 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4654 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4655 if test "${lt_cv_deplibs_check_method+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 lt_cv_file_magic_cmd='$MAGIC_CMD'
4659 lt_cv_file_magic_test_file=
4660 lt_cv_deplibs_check_method='unknown'
4661 # Need to set the preceding variable on all platforms that support
4662 # interlibrary dependencies.
4663 # 'none' -- dependencies not supported.
4664 # `unknown' -- same as none, but documents that we really don't know.
4665 # 'pass_all' -- all dependencies passed with no checks.
4666 # 'test_compile' -- check by making test program.
4667 # 'file_magic [[regex]]' -- check by looking for files in library path
4668 # which responds to the $file_magic_cmd with a given extended regex.
4669 # If you have `file' or equivalent on your system and you're not sure
4670 # whether `pass_all' will *always* work, you probably want this one.
4674 lt_cv_deplibs_check_method=pass_all
4678 lt_cv_deplibs_check_method=pass_all
4682 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4683 lt_cv_file_magic_cmd='/usr/bin/file -L'
4684 lt_cv_file_magic_test_file=/shlib/libc.so
4688 # func_win32_libid is a shell function defined in ltmain.sh
4689 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4690 lt_cv_file_magic_cmd='func_win32_libid'
4694 # Base MSYS/MinGW do not provide the 'file' command needed by
4695 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4696 # unless we find 'file', for example because we are cross-compiling.
4697 if ( file / ) >/dev/null 2>&1; then
4698 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4699 lt_cv_file_magic_cmd='func_win32_libid'
4701 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4702 lt_cv_file_magic_cmd='$OBJDUMP -f'
4706 darwin* | rhapsody*)
4707 lt_cv_deplibs_check_method=pass_all
4710 freebsd* | dragonfly*)
4711 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4714 # Not sure whether the presence of OpenBSD here was a mistake.
4715 # Let's accept both of them until this is cleared up.
4716 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4717 lt_cv_file_magic_cmd=/usr/bin/file
4718 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4722 lt_cv_deplibs_check_method=pass_all
4727 lt_cv_deplibs_check_method=pass_all
4730 hpux10.20* | hpux11*)
4731 lt_cv_file_magic_cmd=/usr/bin/file
4734 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4735 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4738 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]'
4739 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4742 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4743 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4749 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4750 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4753 irix5* | irix6* | nonstopux*)
4755 *-32|*"-32 ") libmagic=32-bit;;
4756 *-n32|*"-n32 ") libmagic=N32;;
4757 *-64|*"-64 ") libmagic=64-bit;;
4758 *) libmagic=never-match;;
4760 lt_cv_deplibs_check_method=pass_all
4763 # This must be Linux ELF.
4764 linux* | k*bsd*-gnu)
4765 lt_cv_deplibs_check_method=pass_all
4769 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4770 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4772 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4777 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4778 lt_cv_file_magic_cmd=/usr/bin/file
4779 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4783 lt_cv_deplibs_check_method=pass_all
4787 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4788 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4790 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4794 osf3* | osf4* | osf5*)
4795 lt_cv_deplibs_check_method=pass_all
4799 lt_cv_deplibs_check_method=pass_all
4803 lt_cv_deplibs_check_method=pass_all
4806 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4807 lt_cv_deplibs_check_method=pass_all
4811 case $host_vendor in
4813 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]'
4814 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4817 lt_cv_deplibs_check_method=pass_all
4820 lt_cv_file_magic_cmd='/bin/file'
4821 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4824 lt_cv_file_magic_cmd='/bin/file'
4825 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4826 lt_cv_file_magic_test_file=/lib/libc.so
4829 lt_cv_deplibs_check_method=pass_all
4832 lt_cv_deplibs_check_method=pass_all
4838 lt_cv_deplibs_check_method=pass_all
4843 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4844 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4845 file_magic_cmd=$lt_cv_file_magic_cmd
4846 deplibs_check_method=$lt_cv_deplibs_check_method
4847 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4860 if test -n "$ac_tool_prefix"; then
4861 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4862 set dummy ${ac_tool_prefix}ar; ac_word=$2
4863 echo "$as_me:$LINENO: checking for $ac_word" >&5
4864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4865 if test "${ac_cv_prog_AR+set}" = set; then
4866 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 if test -n "$AR"; then
4869 ac_cv_prog_AR="$AR" # Let the user override the test.
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4875 test -z "$as_dir" && as_dir=.
4876 for ac_exec_ext in '' $ac_executable_extensions; do
4877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4878 ac_cv_prog_AR="${ac_tool_prefix}ar"
4879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 if test -n "$AR"; then
4889 echo "$as_me:$LINENO: result: $AR" >&5
4890 echo "${ECHO_T}$AR" >&6
4892 echo "$as_me:$LINENO: result: no" >&5
4893 echo "${ECHO_T}no" >&6
4897 if test -z "$ac_cv_prog_AR"; then
4899 # Extract the first word of "ar", so it can be a program name with args.
4900 set dummy ar; ac_word=$2
4901 echo "$as_me:$LINENO: checking for $ac_word" >&5
4902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4903 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4904 echo $ECHO_N "(cached) $ECHO_C" >&6
4906 if test -n "$ac_ct_AR"; then
4907 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir=.
4914 for ac_exec_ext in '' $ac_executable_extensions; do
4915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_ac_ct_AR="ar"
4917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4923 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4926 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4927 if test -n "$ac_ct_AR"; then
4928 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4929 echo "${ECHO_T}$ac_ct_AR" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4940 test -z "$AR" && AR=ar
4941 test -z "$AR_FLAGS" && AR_FLAGS=cru
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}strip; ac_word=$2
4956 echo "$as_me:$LINENO: checking for $ac_word" >&5
4957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4958 if test "${ac_cv_prog_STRIP+set}" = set; then
4959 echo $ECHO_N "(cached) $ECHO_C" >&6
4961 if test -n "$STRIP"; then
4962 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4971 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4980 STRIP=$ac_cv_prog_STRIP
4981 if test -n "$STRIP"; then
4982 echo "$as_me:$LINENO: result: $STRIP" >&5
4983 echo "${ECHO_T}$STRIP" >&6
4985 echo "$as_me:$LINENO: result: no" >&5
4986 echo "${ECHO_T}no" >&6
4990 if test -z "$ac_cv_prog_STRIP"; then
4992 # Extract the first word of "strip", so it can be a program name with args.
4993 set dummy strip; ac_word=$2
4994 echo "$as_me:$LINENO: checking for $ac_word" >&5
4995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4996 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4997 echo $ECHO_N "(cached) $ECHO_C" >&6
4999 if test -n "$ac_ct_STRIP"; then
5000 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5006 test -z "$as_dir" && as_dir=.
5007 for ac_exec_ext in '' $ac_executable_extensions; do
5008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5009 ac_cv_prog_ac_ct_STRIP="strip"
5010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5016 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5019 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5020 if test -n "$ac_ct_STRIP"; then
5021 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5022 echo "${ECHO_T}$ac_ct_STRIP" >&6
5024 echo "$as_me:$LINENO: result: no" >&5
5025 echo "${ECHO_T}no" >&6
5030 STRIP="$ac_cv_prog_STRIP"
5033 test -z "$STRIP" && STRIP=:
5040 if test -n "$ac_tool_prefix"; then
5041 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5042 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5043 echo "$as_me:$LINENO: checking for $ac_word" >&5
5044 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5045 if test "${ac_cv_prog_RANLIB+set}" = set; then
5046 echo $ECHO_N "(cached) $ECHO_C" >&6
5048 if test -n "$RANLIB"; then
5049 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir=.
5056 for ac_exec_ext in '' $ac_executable_extensions; do
5057 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5058 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5059 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5067 RANLIB=$ac_cv_prog_RANLIB
5068 if test -n "$RANLIB"; then
5069 echo "$as_me:$LINENO: result: $RANLIB" >&5
5070 echo "${ECHO_T}$RANLIB" >&6
5072 echo "$as_me:$LINENO: result: no" >&5
5073 echo "${ECHO_T}no" >&6
5077 if test -z "$ac_cv_prog_RANLIB"; then
5078 ac_ct_RANLIB=$RANLIB
5079 # Extract the first word of "ranlib", so it can be a program name with args.
5080 set dummy ranlib; ac_word=$2
5081 echo "$as_me:$LINENO: checking for $ac_word" >&5
5082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5083 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 if test -n "$ac_ct_RANLIB"; then
5087 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_ac_ct_RANLIB="ranlib"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5103 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5106 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5107 if test -n "$ac_ct_RANLIB"; then
5108 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5109 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5111 echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6
5115 RANLIB=$ac_ct_RANLIB
5117 RANLIB="$ac_cv_prog_RANLIB"
5120 test -z "$RANLIB" && RANLIB=:
5127 # Determine commands to create old-style static archives.
5128 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5129 old_postinstall_cmds='chmod 644 $oldlib'
5130 old_postuninstall_cmds=
5132 if test -n "$RANLIB"; then
5135 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5138 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5141 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5177 # If no C compiler was specified, use CC.
5180 # If no C compiler flags were specified, use CFLAGS.
5181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5183 # Allow CC to be a program name with arguments.
5187 # Check for command to grab the raw symbol name followed by C symbol from nm.
5188 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5189 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5190 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5191 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 # These are sane defaults that work on at least a few old systems.
5195 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5197 # Character class describing NM global symbol codes.
5198 symcode='[BCDEGRST]'
5200 # Regexp to match symbols that can be accessed directly from C.
5201 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5203 # Define system-specific variables.
5208 cygwin* | mingw* | pw32*)
5209 symcode='[ABCDGISTW]'
5212 if test "$host_cpu" = ia64; then
5213 symcode='[ABCDEGRST]'
5217 symcode='[BCDEGRST]'
5220 symcode='[BCDEGQRST]'
5231 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5239 # If we're using GNU nm, then use its standard symbol codes.
5240 case `$NM -V 2>&1` in
5241 *GNU* | *'with BFD'*)
5242 symcode='[ABCDGIRSTW]' ;;
5245 # Transform an extracted symbol line into a proper C declaration.
5246 # Some systems (esp. on ia64) link data and code symbols differently,
5247 # so use this general approach.
5248 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5250 # Transform an extracted symbol line into symbol name and symbol address
5251 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5253 # Handle CRLF in mingw tool chain
5257 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5261 # Try without a prefix underscore, then with it.
5262 for ac_symprfx in "" "_"; do
5264 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5265 symxfrm="\\1 $ac_symprfx\\2 \\2"
5267 # Write the raw and C identifiers.
5268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5269 # Fake it for dumpbin and say T for any non-static function
5270 # and D for any global variable.
5271 # Also find C++ and __fastcall symbols from MSVC++,
5272 # which start with @ or ?.
5273 lt_cv_sys_global_symbol_pipe="$AWK '"\
5274 " {last_section=section; section=\$ 3};"\
5275 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5276 " \$ 0!~/External *\|/{next};"\
5277 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5278 " {if(hide[section]) next};"\
5279 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5280 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5281 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5282 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5283 " ' prfx=^$ac_symprfx"
5285 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5288 # Check to see that the pipe works correctly.
5292 cat > conftest.$ac_ext <<_LT_EOF
5297 void nm_test_func(void);
5298 void nm_test_func(void){}
5302 int main(){nm_test_var='a';nm_test_func();return(0);}
5305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5306 (eval $ac_compile) 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; then
5310 # Now try to grab the symbols.
5312 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5313 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } && test -s "$nlist"; then
5317 # Try sorting and uniquifying the output.
5318 if sort "$nlist" | uniq > "$nlist"T; then
5319 mv -f "$nlist"T "$nlist"
5324 # Make sure that we snagged all the symbols we need.
5325 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5326 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5327 cat <<_LT_EOF > conftest.$ac_ext
5333 # Now generate the symbol file.
5334 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5336 cat <<_LT_EOF >> conftest.$ac_ext
5338 /* The mapping between symbol names and symbols. */
5343 lt__PROGRAM__LTX_preloaded_symbols[] =
5345 { "@PROGRAM@", (void *) 0 },
5347 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5348 cat <<\_LT_EOF >> conftest.$ac_ext
5352 /* This works around a problem in FreeBSD linker */
5353 #ifdef FREEBSD_WORKAROUND
5354 static const void *lt_preloaded_setup() {
5355 return lt__PROGRAM__LTX_preloaded_symbols;
5363 # Now try linking the two files.
5364 mv conftest.$ac_objext conftstm.$ac_objext
5365 lt_save_LIBS="$LIBS"
5366 lt_save_CFLAGS="$CFLAGS"
5367 LIBS="conftstm.$ac_objext"
5368 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5370 (eval $ac_link) 2>&5
5372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5373 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5376 LIBS="$lt_save_LIBS"
5377 CFLAGS="$lt_save_CFLAGS"
5379 echo "cannot find nm_test_func in $nlist" >&5
5382 echo "cannot find nm_test_var in $nlist" >&5
5385 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5388 echo "$progname: failed program was:" >&5
5389 cat conftest.$ac_ext >&5
5391 rm -f conftest* conftst*
5393 # Do not use the global_symbol_pipe unless it works.
5394 if test "$pipe_works" = yes; then
5397 lt_cv_sys_global_symbol_pipe=
5403 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5404 lt_cv_sys_global_symbol_to_cdecl=
5406 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5407 echo "$as_me:$LINENO: result: failed" >&5
5408 echo "${ECHO_T}failed" >&6
5410 echo "$as_me:$LINENO: result: ok" >&5
5411 echo "${ECHO_T}ok" >&6
5430 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5431 if test "${enable_libtool_lock+set}" = set; then
5432 enableval="$enable_libtool_lock"
5435 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5437 # Some flags need to be propagated to the compiler or linker for good
5441 # Find out which ABI we are using.
5442 echo 'int i;' > conftest.$ac_ext
5443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5444 (eval $ac_compile) 2>&5
5446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5447 (exit $ac_status); }; then
5448 case `/usr/bin/file conftest.$ac_objext` in
5460 # Find out which ABI we are using.
5461 echo '#line 5461 "configure"' > conftest.$ac_ext
5462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5463 (eval $ac_compile) 2>&5
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); }; then
5467 if test "$lt_cv_prog_gnu_ld" = yes; then
5468 case `/usr/bin/file conftest.$ac_objext` in
5470 LD="${LD-ld} -melf32bsmip"
5473 LD="${LD-ld} -melf32bmipn32"
5476 LD="${LD-ld} -melf64bmip"
5480 case `/usr/bin/file conftest.$ac_objext` in
5496 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5497 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5498 # Find out which ABI we are using.
5499 echo 'int i;' > conftest.$ac_ext
5500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5501 (eval $ac_compile) 2>&5
5503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5504 (exit $ac_status); }; then
5505 case `/usr/bin/file conftest.o` in
5508 x86_64-*kfreebsd*-gnu)
5509 LD="${LD-ld} -m elf_i386_fbsd"
5512 LD="${LD-ld} -m elf_i386"
5514 ppc64-*linux*|powerpc64-*linux*)
5515 LD="${LD-ld} -m elf32ppclinux"
5518 LD="${LD-ld} -m elf_s390"
5521 LD="${LD-ld} -m elf32_sparc"
5527 x86_64-*kfreebsd*-gnu)
5528 LD="${LD-ld} -m elf_x86_64_fbsd"
5531 LD="${LD-ld} -m elf_x86_64"
5533 ppc*-*linux*|powerpc*-*linux*)
5534 LD="${LD-ld} -m elf64ppc"
5536 s390*-*linux*|s390*-*tpf*)
5537 LD="${LD-ld} -m elf64_s390"
5540 LD="${LD-ld} -m elf64_sparc"
5550 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5551 SAVE_CFLAGS="$CFLAGS"
5552 CFLAGS="$CFLAGS -belf"
5553 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5554 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5555 if test "${lt_cv_cc_needs_belf+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 ac_cpp='$CPP $CPPFLAGS'
5560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5564 if test x$gcc_no_link = xyes; then
5565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5567 { (exit 1); exit 1; }; }
5569 cat >conftest.$ac_ext <<_ACEOF
5572 cat confdefs.h >>conftest.$ac_ext
5573 cat >>conftest.$ac_ext <<_ACEOF
5574 /* end confdefs.h. */
5584 rm -f conftest.$ac_objext conftest$ac_exeext
5585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5586 (eval $ac_link) 2>conftest.er1
5588 grep -v '^ *+' conftest.er1 >conftest.err
5590 cat conftest.err >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } &&
5593 { ac_try='test -z "$ac_c_werror_flag"
5594 || test ! -s conftest.err'
5595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5599 (exit $ac_status); }; } &&
5600 { ac_try='test -s conftest$ac_exeext'
5601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; }; then
5606 lt_cv_cc_needs_belf=yes
5608 echo "$as_me: failed program was:" >&5
5609 sed 's/^/| /' conftest.$ac_ext >&5
5611 lt_cv_cc_needs_belf=no
5613 rm -f conftest.err conftest.$ac_objext \
5614 conftest$ac_exeext conftest.$ac_ext
5616 ac_cpp='$CPP $CPPFLAGS'
5617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5622 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5623 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5624 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5625 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5626 CFLAGS="$SAVE_CFLAGS"
5630 # Find out which ABI we are using.
5631 echo 'int i;' > conftest.$ac_ext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); }; then
5637 case `/usr/bin/file conftest.o` in
5639 case $lt_cv_prog_gnu_ld in
5640 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5641 *) LD="${LD-ld} -64" ;;
5650 need_locks="$enable_libtool_lock"
5653 ac_cpp='$CPP $CPPFLAGS'
5654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5657 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5658 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5659 # On Suns, sometimes $CPP names a directory.
5660 if test -n "$CPP" && test -d "$CPP"; then
5663 if test -z "$CPP"; then
5664 if test "${ac_cv_prog_CPP+set}" = set; then
5665 echo $ECHO_N "(cached) $ECHO_C" >&6
5667 # Double quotes because CPP needs to be expanded
5668 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5671 for ac_c_preproc_warn_flag in '' yes
5673 # Use a header file that comes with gcc, so configuring glibc
5674 # with a fresh cross-compiler works.
5675 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5676 # <limits.h> exists even on freestanding compilers.
5677 # On the NeXT, cc -E runs the code through the compiler's parser,
5678 # not just through cpp. "Syntax error" is here to catch this case.
5679 cat >conftest.$ac_ext <<_ACEOF
5682 cat confdefs.h >>conftest.$ac_ext
5683 cat >>conftest.$ac_ext <<_ACEOF
5684 /* end confdefs.h. */
5686 # include <limits.h>
5688 # include <assert.h>
5692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5695 grep -v '^ *+' conftest.er1 >conftest.err
5697 cat conftest.err >&5
5698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5699 (exit $ac_status); } >/dev/null; then
5700 if test -s conftest.err; then
5701 ac_cpp_err=$ac_c_preproc_warn_flag
5702 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5709 if test -z "$ac_cpp_err"; then
5712 echo "$as_me: failed program was:" >&5
5713 sed 's/^/| /' conftest.$ac_ext >&5
5715 # Broken: fails on valid input.
5718 rm -f conftest.err conftest.$ac_ext
5720 # OK, works on sane cases. Now check whether non-existent headers
5721 # can be detected and how.
5722 cat >conftest.$ac_ext <<_ACEOF
5725 cat confdefs.h >>conftest.$ac_ext
5726 cat >>conftest.$ac_ext <<_ACEOF
5727 /* end confdefs.h. */
5728 #include <ac_nonexistent.h>
5730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5733 grep -v '^ *+' conftest.er1 >conftest.err
5735 cat conftest.err >&5
5736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5737 (exit $ac_status); } >/dev/null; then
5738 if test -s conftest.err; then
5739 ac_cpp_err=$ac_c_preproc_warn_flag
5740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5747 if test -z "$ac_cpp_err"; then
5748 # Broken: success on invalid input.
5751 echo "$as_me: failed program was:" >&5
5752 sed 's/^/| /' conftest.$ac_ext >&5
5754 # Passes both tests.
5758 rm -f conftest.err conftest.$ac_ext
5761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5762 rm -f conftest.err conftest.$ac_ext
5763 if $ac_preproc_ok; then
5775 echo "$as_me:$LINENO: result: $CPP" >&5
5776 echo "${ECHO_T}$CPP" >&6
5778 for ac_c_preproc_warn_flag in '' yes
5780 # Use a header file that comes with gcc, so configuring glibc
5781 # with a fresh cross-compiler works.
5782 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5783 # <limits.h> exists even on freestanding compilers.
5784 # On the NeXT, cc -E runs the code through the compiler's parser,
5785 # not just through cpp. "Syntax error" is here to catch this case.
5786 cat >conftest.$ac_ext <<_ACEOF
5789 cat confdefs.h >>conftest.$ac_ext
5790 cat >>conftest.$ac_ext <<_ACEOF
5791 /* end confdefs.h. */
5793 # include <limits.h>
5795 # include <assert.h>
5799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5802 grep -v '^ *+' conftest.er1 >conftest.err
5804 cat conftest.err >&5
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); } >/dev/null; then
5807 if test -s conftest.err; then
5808 ac_cpp_err=$ac_c_preproc_warn_flag
5809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5816 if test -z "$ac_cpp_err"; then
5819 echo "$as_me: failed program was:" >&5
5820 sed 's/^/| /' conftest.$ac_ext >&5
5822 # Broken: fails on valid input.
5825 rm -f conftest.err conftest.$ac_ext
5827 # OK, works on sane cases. Now check whether non-existent headers
5828 # can be detected and how.
5829 cat >conftest.$ac_ext <<_ACEOF
5832 cat confdefs.h >>conftest.$ac_ext
5833 cat >>conftest.$ac_ext <<_ACEOF
5834 /* end confdefs.h. */
5835 #include <ac_nonexistent.h>
5837 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5838 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5840 grep -v '^ *+' conftest.er1 >conftest.err
5842 cat conftest.err >&5
5843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5844 (exit $ac_status); } >/dev/null; then
5845 if test -s conftest.err; then
5846 ac_cpp_err=$ac_c_preproc_warn_flag
5847 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5854 if test -z "$ac_cpp_err"; then
5855 # Broken: success on invalid input.
5858 echo "$as_me: failed program was:" >&5
5859 sed 's/^/| /' conftest.$ac_ext >&5
5861 # Passes both tests.
5865 rm -f conftest.err conftest.$ac_ext
5868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5869 rm -f conftest.err conftest.$ac_ext
5870 if $ac_preproc_ok; then
5873 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
5874 echo "$as_me: error: in \`$ac_pwd':" >&2;}
5875 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5876 See \`config.log' for more details." >&5
5877 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5878 See \`config.log' for more details." >&2;}
5879 { (exit 1); exit 1; }; }; }
5883 ac_cpp='$CPP $CPPFLAGS'
5884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5889 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5890 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5891 if test "${ac_cv_header_stdc+set}" = set; then
5892 echo $ECHO_N "(cached) $ECHO_C" >&6
5894 cat >conftest.$ac_ext <<_ACEOF
5897 cat confdefs.h >>conftest.$ac_ext
5898 cat >>conftest.$ac_ext <<_ACEOF
5899 /* end confdefs.h. */
5913 rm -f conftest.$ac_objext
5914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5915 (eval $ac_compile) 2>conftest.er1
5917 grep -v '^ *+' conftest.er1 >conftest.err
5919 cat conftest.err >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); } &&
5922 { ac_try='test -z "$ac_c_werror_flag"
5923 || test ! -s conftest.err'
5924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5928 (exit $ac_status); }; } &&
5929 { ac_try='test -s conftest.$ac_objext'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; }; then
5935 ac_cv_header_stdc=yes
5937 echo "$as_me: failed program was:" >&5
5938 sed 's/^/| /' conftest.$ac_ext >&5
5940 ac_cv_header_stdc=no
5942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5944 if test $ac_cv_header_stdc = yes; then
5945 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5946 cat >conftest.$ac_ext <<_ACEOF
5949 cat confdefs.h >>conftest.$ac_ext
5950 cat >>conftest.$ac_ext <<_ACEOF
5951 /* end confdefs.h. */
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956 $EGREP "memchr" >/dev/null 2>&1; then
5959 ac_cv_header_stdc=no
5965 if test $ac_cv_header_stdc = yes; then
5966 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5967 cat >conftest.$ac_ext <<_ACEOF
5970 cat confdefs.h >>conftest.$ac_ext
5971 cat >>conftest.$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5977 $EGREP "free" >/dev/null 2>&1; then
5980 ac_cv_header_stdc=no
5986 if test $ac_cv_header_stdc = yes; then
5987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5988 if test "$cross_compiling" = yes; then
5991 cat >conftest.$ac_ext <<_ACEOF
5994 cat confdefs.h >>conftest.$ac_ext
5995 cat >>conftest.$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5998 #if ((' ' & 0x0FF) == 0x020)
5999 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6000 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6002 # define ISLOWER(c) \
6003 (('a' <= (c) && (c) <= 'i') \
6004 || ('j' <= (c) && (c) <= 'r') \
6005 || ('s' <= (c) && (c) <= 'z'))
6006 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6009 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6014 for (i = 0; i < 256; i++)
6015 if (XOR (islower (i), ISLOWER (i))
6016 || toupper (i) != TOUPPER (i))
6021 rm -f conftest$ac_exeext
6022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6023 (eval $ac_link) 2>&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6031 (exit $ac_status); }; }; then
6034 echo "$as_me: program exited with status $ac_status" >&5
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.$ac_ext >&5
6039 ac_cv_header_stdc=no
6041 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6045 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6046 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6047 if test $ac_cv_header_stdc = yes; then
6049 cat >>confdefs.h <<\_ACEOF
6050 #define STDC_HEADERS 1
6055 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6066 inttypes.h stdint.h unistd.h
6068 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6069 echo "$as_me:$LINENO: checking for $ac_header" >&5
6070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6072 echo $ECHO_N "(cached) $ECHO_C" >&6
6074 cat >conftest.$ac_ext <<_ACEOF
6077 cat confdefs.h >>conftest.$ac_ext
6078 cat >>conftest.$ac_ext <<_ACEOF
6079 /* end confdefs.h. */
6080 $ac_includes_default
6082 #include <$ac_header>
6084 rm -f conftest.$ac_objext
6085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6086 (eval $ac_compile) 2>conftest.er1
6088 grep -v '^ *+' conftest.er1 >conftest.err
6090 cat conftest.err >&5
6091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6092 (exit $ac_status); } &&
6093 { ac_try='test -z "$ac_c_werror_flag"
6094 || test ! -s conftest.err'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; } &&
6100 { ac_try='test -s conftest.$ac_objext'
6101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6105 (exit $ac_status); }; }; then
6106 eval "$as_ac_Header=yes"
6108 echo "$as_me: failed program was:" >&5
6109 sed 's/^/| /' conftest.$ac_ext >&5
6111 eval "$as_ac_Header=no"
6113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6116 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6118 cat >>confdefs.h <<_ACEOF
6119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6128 for ac_header in dlfcn.h
6130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6131 echo "$as_me:$LINENO: checking for $ac_header" >&5
6132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6134 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 cat >conftest.$ac_ext <<_ACEOF
6139 cat confdefs.h >>conftest.$ac_ext
6140 cat >>conftest.$ac_ext <<_ACEOF
6141 /* end confdefs.h. */
6142 $ac_includes_default
6144 #include <$ac_header>
6146 rm -f conftest.$ac_objext
6147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6148 (eval $ac_compile) 2>conftest.er1
6150 grep -v '^ *+' conftest.er1 >conftest.err
6152 cat conftest.err >&5
6153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154 (exit $ac_status); } &&
6155 { ac_try='test -z "$ac_c_werror_flag"
6156 || test ! -s conftest.err'
6157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6161 (exit $ac_status); }; } &&
6162 { ac_try='test -s conftest.$ac_objext'
6163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); }; }; then
6168 eval "$as_ac_Header=yes"
6170 echo "$as_me: failed program was:" >&5
6171 sed 's/^/| /' conftest.$ac_ext >&5
6173 eval "$as_ac_Header=no"
6175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6180 cat >>confdefs.h <<_ACEOF
6181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6190 # This can be used to rebuild libtool when needed
6191 LIBTOOL_DEPS="$ltmain"
6193 # Always use our own libtool.
6194 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6220 test -z "$LN_S" && LN_S="ln -s"
6235 if test -n "${ZSH_VERSION+set}" ; then
6236 setopt NO_GLOB_SUBST
6239 echo "$as_me:$LINENO: checking for objdir" >&5
6240 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6241 if test "${lt_cv_objdir+set}" = set; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6244 rm -f .libs 2>/dev/null
6245 mkdir .libs 2>/dev/null
6246 if test -d .libs; then
6249 # MS-DOS does not allow filenames that begin with a dot.
6252 rmdir .libs 2>/dev/null
6254 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6255 echo "${ECHO_T}$lt_cv_objdir" >&6
6256 objdir=$lt_cv_objdir
6262 cat >>confdefs.h <<_ACEOF
6263 #define LT_OBJDIR "$lt_cv_objdir/"
6284 # AIX sometimes has problems with the GCC collect2 program. For some
6285 # reason, if we set the COLLECT_NAMES environment variable, the problems
6286 # vanish in a puff of smoke.
6287 if test "X${COLLECT_NAMES+set}" != Xset; then
6289 export COLLECT_NAMES
6294 # Sed substitution that helps us do robust quoting. It backslashifies
6295 # metacharacters that are still active within double-quoted strings.
6296 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6298 # Same as above, but do not quote variable references.
6299 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6301 # Sed substitution to delay expansion of an escaped shell variable in a
6302 # double_quote_subst'ed string.
6303 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6305 # Sed substitution to delay expansion of an escaped single quote.
6306 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6308 # Sed substitution to avoid accidental globbing in evaled expressions
6309 no_glob_subst='s/\*/\\\*/g'
6313 can_build_shared=yes
6315 # All known linkers require a `.a' archive for static linking (except MSVC,
6316 # which needs '.lib').
6319 with_gnu_ld="$lt_cv_prog_gnu_ld"
6322 old_CFLAGS="$CFLAGS"
6324 # Set sane defaults for various variables
6325 test -z "$CC" && CC=cc
6326 test -z "$LTCC" && LTCC=$CC
6327 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6328 test -z "$LD" && LD=ld
6329 test -z "$ac_objext" && ac_objext=o
6331 for cc_temp in $compiler""; do
6333 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6334 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6339 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6342 # Only perform the check for file, if the check method requires it
6343 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6344 case $deplibs_check_method in
6346 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6347 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6348 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6349 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6350 echo $ECHO_N "(cached) $ECHO_C" >&6
6354 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6357 lt_save_MAGIC_CMD="$MAGIC_CMD"
6358 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6359 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6360 for ac_dir in $ac_dummy; do
6362 test -z "$ac_dir" && ac_dir=.
6363 if test -f $ac_dir/${ac_tool_prefix}file; then
6364 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6365 if test -n "$file_magic_test_file"; then
6366 case $deplibs_check_method in
6368 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6369 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6370 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6371 $EGREP "$file_magic_regex" > /dev/null; then
6376 *** Warning: the command libtool uses to detect shared libraries,
6377 *** $file_magic_cmd, produces output that libtool cannot recognize.
6378 *** The result is that libtool may fail to recognize shared libraries
6379 *** as such. This will affect the creation of libtool libraries that
6380 *** depend on shared libraries, but programs linked with such libtool
6381 *** libraries will work regardless of this problem. Nevertheless, you
6382 *** may want to report the problem to your system manager and/or to
6383 *** bug-libtool@gnu.org
6393 MAGIC_CMD="$lt_save_MAGIC_CMD"
6398 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6399 if test -n "$MAGIC_CMD"; then
6400 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6401 echo "${ECHO_T}$MAGIC_CMD" >&6
6403 echo "$as_me:$LINENO: result: no" >&5
6404 echo "${ECHO_T}no" >&6
6411 if test -z "$lt_cv_path_MAGIC_CMD"; then
6412 if test -n "$ac_tool_prefix"; then
6413 echo "$as_me:$LINENO: checking for file" >&5
6414 echo $ECHO_N "checking for file... $ECHO_C" >&6
6415 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6416 echo $ECHO_N "(cached) $ECHO_C" >&6
6420 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6423 lt_save_MAGIC_CMD="$MAGIC_CMD"
6424 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6425 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6426 for ac_dir in $ac_dummy; do
6428 test -z "$ac_dir" && ac_dir=.
6429 if test -f $ac_dir/file; then
6430 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6431 if test -n "$file_magic_test_file"; then
6432 case $deplibs_check_method in
6434 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6435 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6436 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6437 $EGREP "$file_magic_regex" > /dev/null; then
6442 *** Warning: the command libtool uses to detect shared libraries,
6443 *** $file_magic_cmd, produces output that libtool cannot recognize.
6444 *** The result is that libtool may fail to recognize shared libraries
6445 *** as such. This will affect the creation of libtool libraries that
6446 *** depend on shared libraries, but programs linked with such libtool
6447 *** libraries will work regardless of this problem. Nevertheless, you
6448 *** may want to report the problem to your system manager and/or to
6449 *** bug-libtool@gnu.org
6459 MAGIC_CMD="$lt_save_MAGIC_CMD"
6464 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6465 if test -n "$MAGIC_CMD"; then
6466 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6467 echo "${ECHO_T}$MAGIC_CMD" >&6
6469 echo "$as_me:$LINENO: result: no" >&5
6470 echo "${ECHO_T}no" >&6
6483 # Use C for the default configuration in the libtool script
6487 ac_cpp='$CPP $CPPFLAGS'
6488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6493 # Source file extension for C test sources.
6496 # Object file extension for compiled C test sources.
6500 # Code to be used in simple compile tests
6501 lt_simple_compile_test_code="int some_variable = 0;"
6503 # Code to be used in simple link tests
6504 lt_simple_link_test_code='int main(){return(0);}'
6512 # If no C compiler was specified, use CC.
6515 # If no C compiler flags were specified, use CFLAGS.
6516 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6518 # Allow CC to be a program name with arguments.
6521 # Save the default compiler, since it gets overwritten when the other
6522 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
6523 compiler_DEFAULT=$CC
6525 # save warnings/boilerplate of simple test code
6526 ac_outfile=conftest.$ac_objext
6527 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
6528 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6529 _lt_compiler_boilerplate=`cat conftest.err`
6532 ac_outfile=conftest.$ac_objext
6533 echo "$lt_simple_link_test_code" >conftest.$ac_ext
6534 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
6535 _lt_linker_boilerplate=`cat conftest.err`
6540 ## There is no encapsulation within the following macros, do not change
6541 ## the running order or otherwise move them around unless you know exactly
6542 ## what you are doing...
6543 if test -n "$compiler"; then
6545 lt_prog_compiler_no_builtin_flag=
6547 if test "$GCC" = yes; then
6548 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6550 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6551 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6552 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6553 echo $ECHO_N "(cached) $ECHO_C" >&6
6555 lt_cv_prog_compiler_rtti_exceptions=no
6556 ac_outfile=conftest.$ac_objext
6557 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6558 lt_compiler_flag="-fno-rtti -fno-exceptions"
6559 # Insert the option either (1) after the last *FLAGS variable, or
6560 # (2) before a word containing "conftest.", or (3) at the end.
6561 # Note that $ac_compile itself does not contain backslashes and begins
6562 # with a dollar sign (not a hyphen), so the echo should work correctly.
6563 # The option is referenced via a variable to avoid confusing sed.
6564 lt_compile=`echo "$ac_compile" | $SED \
6565 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6566 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6567 -e 's:$: $lt_compiler_flag:'`
6568 (eval echo "\"\$as_me:6568: $lt_compile\"" >&5)
6569 (eval "$lt_compile" 2>conftest.err)
6571 cat conftest.err >&5
6572 echo "$as_me:6572: \$? = $ac_status" >&5
6573 if (exit $ac_status) && test -s "$ac_outfile"; then
6574 # The compiler can only warn and ignore the option if not recognized
6575 # So say no if there are warnings other than the usual output.
6576 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6577 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6578 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6579 lt_cv_prog_compiler_rtti_exceptions=yes
6585 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6586 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6588 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6589 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6601 lt_prog_compiler_wl=
6602 lt_prog_compiler_pic=
6603 lt_prog_compiler_static=
6605 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6606 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6608 if test "$GCC" = yes; then
6609 lt_prog_compiler_wl='-Wl,'
6610 lt_prog_compiler_static='-static'
6614 # All AIX code is PIC.
6615 if test "$host_cpu" = ia64; then
6616 # AIX 5 now supports IA64 processor
6617 lt_prog_compiler_static='-Bstatic'
6622 if test "$host_cpu" = m68k; then
6623 # FIXME: we need at least 68020 code to build shared libraries, but
6624 # adding the `-m68020' flag to GCC prevents building anything better,
6626 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6630 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6631 # PIC is the default for these OSes.
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 # Although the cygwin gcc ignores -fPIC, still need this for old-style
6638 # (--disable-auto-import) libraries
6639 lt_prog_compiler_pic='-DDLL_EXPORT'
6642 darwin* | rhapsody*)
6643 # PIC is the default on this platform
6644 # Common symbols not allowed in MH_DYLIB files
6645 lt_prog_compiler_pic='-fno-common'
6649 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6656 lt_prog_compiler_pic='-fPIC'
6662 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
6663 # Instead, we relocate shared libraries at runtime.
6667 # Just because we use GCC doesn't mean we suddenly get shared libraries
6668 # on systems that don't support them.
6669 lt_prog_compiler_can_build_shared=no
6674 # QNX uses GNU C++, but need to define -shared option too, otherwise
6676 lt_prog_compiler_pic='-fPIC -shared'
6680 if test -d /usr/nec; then
6681 lt_prog_compiler_pic=-Kconform_pic
6686 lt_prog_compiler_pic='-fPIC'
6690 # PORTME Check for flag to pass linker flags through the system compiler.
6693 lt_prog_compiler_wl='-Wl,'
6694 if test "$host_cpu" = ia64; then
6695 # AIX 5 now supports IA64 processor
6696 lt_prog_compiler_static='-Bstatic'
6698 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6702 # PIC is the default on this platform
6703 # Common symbols not allowed in MH_DYLIB files
6704 case $cc_basename in
6706 lt_prog_compiler_pic='-qnocommon'
6707 lt_prog_compiler_wl='-Wl,'
6712 mingw* | cygwin* | pw32* | os2*)
6713 # This hack is so that the source file can tell whether it is being
6714 # built for inclusion in a dll (and should export symbols for example).
6715 lt_prog_compiler_pic='-DDLL_EXPORT'
6718 hpux9* | hpux10* | hpux11*)
6719 lt_prog_compiler_wl='-Wl,'
6720 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6727 lt_prog_compiler_pic='+Z'
6730 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6731 lt_prog_compiler_static='${wl}-a ${wl}archive'
6734 irix5* | irix6* | nonstopux*)
6735 lt_prog_compiler_wl='-Wl,'
6736 # PIC (with -KPIC) is the default.
6737 lt_prog_compiler_static='-non_shared'
6740 linux* | k*bsd*-gnu)
6741 case $cc_basename in
6743 lt_prog_compiler_wl='-Wl,'
6744 lt_prog_compiler_pic='-KPIC'
6745 lt_prog_compiler_static='-static'
6747 pgcc* | pgf77* | pgf90* | pgf95*)
6748 # Portland Group compilers (*not* the Pentium gcc compiler,
6749 # which looks to be a dead project)
6750 lt_prog_compiler_wl='-Wl,'
6751 lt_prog_compiler_pic='-fpic'
6752 lt_prog_compiler_static='-Bstatic'
6755 lt_prog_compiler_wl='-Wl,'
6756 # All Alpha code is PIC.
6757 lt_prog_compiler_static='-non_shared'
6760 case `$CC -V 2>&1 | sed 5q` in
6763 lt_prog_compiler_pic='-KPIC'
6764 lt_prog_compiler_static='-Bstatic'
6765 lt_prog_compiler_wl='-Wl,'
6768 # Sun Fortran 8.3 passes all unrecognized flags to the linker
6769 lt_prog_compiler_pic='-KPIC'
6770 lt_prog_compiler_static='-Bstatic'
6771 lt_prog_compiler_wl=''
6779 lt_prog_compiler_pic='-KPIC'
6780 lt_prog_compiler_static='-Bstatic'
6784 # QNX uses GNU C++, but need to define -shared option too, otherwise
6786 lt_prog_compiler_pic='-fPIC -shared'
6789 osf3* | osf4* | osf5*)
6790 lt_prog_compiler_wl='-Wl,'
6791 # All OSF/1 code is PIC.
6792 lt_prog_compiler_static='-non_shared'
6796 lt_prog_compiler_static='-non_shared'
6800 lt_prog_compiler_pic='-KPIC'
6801 lt_prog_compiler_static='-Bstatic'
6802 case $cc_basename in
6804 lt_prog_compiler_wl='-Qoption ld ';;
6806 lt_prog_compiler_wl='-Wl,';;
6811 lt_prog_compiler_wl='-Qoption ld '
6812 lt_prog_compiler_pic='-PIC'
6813 lt_prog_compiler_static='-Bstatic'
6816 sysv4 | sysv4.2uw2* | sysv4.3*)
6817 lt_prog_compiler_wl='-Wl,'
6818 lt_prog_compiler_pic='-KPIC'
6819 lt_prog_compiler_static='-Bstatic'
6823 if test -d /usr/nec ;then
6824 lt_prog_compiler_pic='-Kconform_pic'
6825 lt_prog_compiler_static='-Bstatic'
6829 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
6830 lt_prog_compiler_wl='-Wl,'
6831 lt_prog_compiler_pic='-KPIC'
6832 lt_prog_compiler_static='-Bstatic'
6836 lt_prog_compiler_wl='-Wl,'
6837 lt_prog_compiler_can_build_shared=no
6841 lt_prog_compiler_pic='-pic'
6842 lt_prog_compiler_static='-Bstatic'
6846 lt_prog_compiler_can_build_shared=no
6852 # For platforms which do not support PIC, -DPIC is meaningless:
6854 lt_prog_compiler_pic=
6857 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6860 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6861 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6869 # Check to make sure the PIC flag actually works.
6871 if test -n "$lt_prog_compiler_pic"; then
6872 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6873 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6874 if test "${lt_prog_compiler_pic_works+set}" = set; then
6875 echo $ECHO_N "(cached) $ECHO_C" >&6
6877 lt_prog_compiler_pic_works=no
6878 ac_outfile=conftest.$ac_objext
6879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6880 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6881 # Insert the option either (1) after the last *FLAGS variable, or
6882 # (2) before a word containing "conftest.", or (3) at the end.
6883 # Note that $ac_compile itself does not contain backslashes and begins
6884 # with a dollar sign (not a hyphen), so the echo should work correctly.
6885 # The option is referenced via a variable to avoid confusing sed.
6886 lt_compile=`echo "$ac_compile" | $SED \
6887 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6888 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6889 -e 's:$: $lt_compiler_flag:'`
6890 (eval echo "\"\$as_me:6890: $lt_compile\"" >&5)
6891 (eval "$lt_compile" 2>conftest.err)
6893 cat conftest.err >&5
6894 echo "$as_me:6894: \$? = $ac_status" >&5
6895 if (exit $ac_status) && test -s "$ac_outfile"; then
6896 # The compiler can only warn and ignore the option if not recognized
6897 # So say no if there are warnings other than the usual output.
6898 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
6899 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6900 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
6901 lt_prog_compiler_pic_works=yes
6907 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6908 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6910 if test x"$lt_prog_compiler_pic_works" = xyes; then
6911 case $lt_prog_compiler_pic in
6913 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6916 lt_prog_compiler_pic=
6917 lt_prog_compiler_can_build_shared=no
6928 # Check to make sure the static flag actually works.
6930 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
6931 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
6932 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
6933 if test "${lt_prog_compiler_static_works+set}" = set; then
6934 echo $ECHO_N "(cached) $ECHO_C" >&6
6936 lt_prog_compiler_static_works=no
6937 save_LDFLAGS="$LDFLAGS"
6938 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
6939 echo "$lt_simple_link_test_code" > conftest.$ac_ext
6940 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6941 # The linker can only warn and ignore the option if not recognized
6942 # So say no if there are warnings
6943 if test -s conftest.err; then
6944 # Append any errors to the config.log.
6945 cat conftest.err 1>&5
6946 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
6947 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
6948 if diff conftest.exp conftest.er2 >/dev/null; then
6949 lt_prog_compiler_static_works=yes
6952 lt_prog_compiler_static_works=yes
6956 LDFLAGS="$save_LDFLAGS"
6959 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6960 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6962 if test x"$lt_prog_compiler_static_works" = xyes; then
6965 lt_prog_compiler_static=
6974 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6975 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6976 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6977 echo $ECHO_N "(cached) $ECHO_C" >&6
6979 lt_cv_prog_compiler_c_o=no
6980 $RM -r conftest 2>/dev/null
6984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
6986 lt_compiler_flag="-o out/conftest2.$ac_objext"
6987 # Insert the option either (1) after the last *FLAGS variable, or
6988 # (2) before a word containing "conftest.", or (3) at the end.
6989 # Note that $ac_compile itself does not contain backslashes and begins
6990 # with a dollar sign (not a hyphen), so the echo should work correctly.
6991 lt_compile=`echo "$ac_compile" | $SED \
6992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6994 -e 's:$: $lt_compiler_flag:'`
6995 (eval echo "\"\$as_me:6995: $lt_compile\"" >&5)
6996 (eval "$lt_compile" 2>out/conftest.err)
6998 cat out/conftest.err >&5
6999 echo "$as_me:6999: \$? = $ac_status" >&5
7000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7002 # The compiler can only warn and ignore the option if not recognized
7003 # So say no if there are warnings
7004 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7007 lt_cv_prog_compiler_c_o=yes
7012 # SGI C++ compiler will create directory out/ii_files/ for
7013 # template instantiation
7014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7015 $RM out/* && rmdir out
7021 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7022 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7029 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7030 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7031 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7032 echo $ECHO_N "(cached) $ECHO_C" >&6
7034 lt_cv_prog_compiler_c_o=no
7035 $RM -r conftest 2>/dev/null
7039 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7041 lt_compiler_flag="-o out/conftest2.$ac_objext"
7042 # Insert the option either (1) after the last *FLAGS variable, or
7043 # (2) before a word containing "conftest.", or (3) at the end.
7044 # Note that $ac_compile itself does not contain backslashes and begins
7045 # with a dollar sign (not a hyphen), so the echo should work correctly.
7046 lt_compile=`echo "$ac_compile" | $SED \
7047 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7049 -e 's:$: $lt_compiler_flag:'`
7050 (eval echo "\"\$as_me:7050: $lt_compile\"" >&5)
7051 (eval "$lt_compile" 2>out/conftest.err)
7053 cat out/conftest.err >&5
7054 echo "$as_me:7054: \$? = $ac_status" >&5
7055 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7057 # The compiler can only warn and ignore the option if not recognized
7058 # So say no if there are warnings
7059 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7060 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7061 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7062 lt_cv_prog_compiler_c_o=yes
7067 # SGI C++ compiler will create directory out/ii_files/ for
7068 # template instantiation
7069 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7070 $RM out/* && rmdir out
7076 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7077 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7082 hard_links="nottested"
7083 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7084 # do not overwrite the value of need_locks provided by the user
7085 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7086 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7089 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7091 ln conftest.a conftest.b 2>&5 || hard_links=no
7092 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7093 echo "$as_me:$LINENO: result: $hard_links" >&5
7094 echo "${ECHO_T}$hard_links" >&6
7095 if test "$hard_links" = no; then
7096 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7097 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7109 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7110 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7113 allow_undefined_flag=
7114 always_export_symbols=no
7116 archive_expsym_cmds=
7117 compiler_needs_object=no
7118 enable_shared_with_static_runtimes=no
7119 export_dynamic_flag_spec=
7120 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7121 hardcode_automatic=no
7123 hardcode_direct_absolute=no
7124 hardcode_libdir_flag_spec=
7125 hardcode_libdir_flag_spec_ld=
7126 hardcode_libdir_separator=
7128 hardcode_shlibpath_var=unsupported
7130 link_all_deplibs=unknown
7133 old_archive_from_new_cmds=
7134 old_archive_from_expsyms_cmds=
7135 thread_safe_flag_spec=
7136 whole_archive_flag_spec=
7137 # include_expsyms should be a list of space-separated symbols to be *always*
7138 # included in the symbol list
7140 # exclude_expsyms can be an extended regexp of symbols to exclude
7141 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7142 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7143 # as well as any symbol that contains `d'.
7144 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7145 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7146 # platforms (ab)use it in PIC code, but their linkers get confused if
7147 # the symbol is explicitly referenced. Since portable code cannot
7148 # rely on this symbol name, it's probably fine to never include it in
7149 # preloaded symbol tables.
7150 extract_expsyms_cmds=
7153 cygwin* | mingw* | pw32*)
7154 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7155 # When not using gcc, we currently assume that we are using
7156 # Microsoft Visual C++.
7157 if test "$GCC" != yes; then
7162 # we just hope/assume this is gcc and not c89 (= MSVC++)
7171 if test "$with_gnu_ld" = yes; then
7172 # If archive_cmds runs LD, not CC, wlarc should be empty
7175 # Set some defaults for GNU ld with shared library support. These
7176 # are reset later if shared libraries are not supported. Putting them
7177 # here allows them to be overridden if necessary.
7178 runpath_var=LD_RUN_PATH
7179 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7180 export_dynamic_flag_spec='${wl}--export-dynamic'
7181 # ancient GNU ld didn't support --whole-archive et. al.
7182 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7183 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7185 whole_archive_flag_spec=
7187 supports_anon_versioning=no
7188 case `$LD -v 2>&1` in
7189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7192 *\ 2.11.*) ;; # other 2.11 versions
7193 *) supports_anon_versioning=yes ;;
7196 # See if GNU ld supports shared libraries.
7199 # On AIX/PPC, the GNU linker is very broken
7200 if test "$host_cpu" != ia64; then
7204 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7205 *** to be unable to reliably create shared libraries on AIX.
7206 *** Therefore, libtool is disabling shared libraries support. If you
7207 *** really care for shared libraries, you may want to modify your PATH
7208 *** so that a non-GNU linker is found, and then restart.
7215 if test "$host_cpu" = m68k; then
7216 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)'
7217 hardcode_libdir_flag_spec='-L$libdir'
7218 hardcode_minus_L=yes
7221 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7222 # that the semantics of dynamic libraries on AmigaOS, at least up
7223 # to version 4, is to share data among multiple programs linked
7224 # with the same dynamic library. Since this doesn't match the
7225 # behavior of shared libraries on other platforms, we can't use
7231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7232 allow_undefined_flag=unsupported
7233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7234 # support --undefined. This deserves some investigation. FIXME
7235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7241 cygwin* | mingw* | pw32*)
7242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7243 # as there is no search path for DLLs.
7244 hardcode_libdir_flag_spec='-L$libdir'
7245 allow_undefined_flag=unsupported
7246 always_export_symbols=no
7247 enable_shared_with_static_runtimes=yes
7248 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7250 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7252 # If the export-symbols file already is a .def file (1st line
7253 # is EXPORTS), use it as is; otherwise, prepend...
7254 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7255 cp $export_symbols $output_objdir/$soname.def;
7257 echo EXPORTS > $output_objdir/$soname.def;
7258 cat $export_symbols >> $output_objdir/$soname.def;
7260 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7268 hardcode_shlibpath_var=no
7269 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7270 export_dynamic_flag_spec='${wl}-E'
7271 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7272 # Instead, shared libraries are loaded at an image base (0x10000000 by
7273 # default) and relocated if they conflict, which is a slow very memory
7274 # consuming and fragmenting process. To avoid this, we pick a random,
7275 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7276 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7277 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7278 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'
7281 gnu* | linux* | tpf* | k*bsd*-gnu)
7283 if test "$host_os" = linux-dietlibc; then
7284 case $cc_basename in
7285 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7288 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7289 && test "$tmp_diet" = no
7292 case $cc_basename,$host_cpu in
7293 pgcc*) # Portland Group C compiler
7294 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'
7295 tmp_addflag=' $pic_flag'
7297 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7298 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'
7299 tmp_addflag=' $pic_flag -Mnomain' ;;
7300 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7301 tmp_addflag=' -i_dynamic' ;;
7302 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7303 tmp_addflag=' -i_dynamic -nofor_main' ;;
7304 ifc* | ifort*) # Intel Fortran compiler
7305 tmp_addflag=' -nofor_main' ;;
7307 case `$CC -V 2>&1 | sed 5q` in
7308 *Sun\ C*) # Sun C 5.9
7309 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'
7310 compiler_needs_object=yes
7311 tmp_sharedflag='-G' ;;
7312 *Sun\ F*) # Sun Fortran 8.3
7313 tmp_sharedflag='-G' ;;
7315 tmp_sharedflag='-shared' ;;
7317 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7319 if test "x$supports_anon_versioning" = xyes; then
7320 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7321 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7322 echo "local: *; };" >> $output_objdir/$libname.ver~
7323 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7331 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7332 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7335 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7336 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7341 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7345 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7346 *** create shared libraries on Solaris systems. Therefore, libtool
7347 *** is disabling shared libraries support. We urge you to upgrade GNU
7348 *** binutils to release 2.9.1 or newer. Another option is to modify
7349 *** your PATH or compiler configuration so that the native linker is
7350 *** used, and then restart.
7353 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7354 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7355 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7361 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7362 case `$LD -v 2>&1` in
7363 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7367 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7368 *** reliably create shared libraries on SCO systems. Therefore, libtool
7369 *** is disabling shared libraries support. We urge you to upgrade GNU
7370 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7371 *** your PATH or compiler configuration so that the native linker is
7372 *** used, and then restart.
7377 # For security reasons, it is highly recommended that you always
7378 # use absolute paths for naming shared libraries, and exclude the
7379 # DT_RUNPATH tag from executables and libraries. But doing so
7380 # requires that you compile everything twice, which is a pain.
7381 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7382 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7383 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7384 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7393 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7396 hardcode_shlibpath_var=no
7400 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7401 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7402 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7409 if test "$ld_shlibs" = no; then
7411 hardcode_libdir_flag_spec=
7412 export_dynamic_flag_spec=
7413 whole_archive_flag_spec=
7416 # PORTME fill in a description of your system's linker (not GNU ld)
7419 allow_undefined_flag=unsupported
7420 always_export_symbols=yes
7421 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'
7422 # Note: this linker hardcodes the directories in LIBPATH if there
7423 # are no directories specified by -L.
7424 hardcode_minus_L=yes
7425 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
7426 # Neither direct hardcoding nor static linking is supported with a
7428 hardcode_direct=unsupported
7433 if test "$host_cpu" = ia64; then
7434 # On IA64, the linker does run time linking by default, so we don't
7435 # have to do anything special.
7436 aix_use_runtimelinking=no
7437 exp_sym_flag='-Bexport'
7440 # If we're using GNU nm, then we don't want the "-C" option.
7441 # -C means demangle to AIX nm, but means don't demangle with GNU nm
7442 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
7443 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'
7445 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'
7447 aix_use_runtimelinking=no
7449 # Test if we are trying to use run time linking or normal
7450 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
7451 # need to do runtime linking.
7452 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
7453 for ld_flag in $LDFLAGS; do
7454 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
7455 aix_use_runtimelinking=yes
7462 exp_sym_flag='-bexport'
7463 no_entry_flag='-bnoentry'
7466 # When large executables or shared objects are built, AIX ld can
7467 # have problems creating the table of contents. If linking a library
7468 # or program results in "error TOC overflow" add -mminimal-toc to
7469 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
7470 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
7474 hardcode_direct_absolute=yes
7475 hardcode_libdir_separator=':'
7476 link_all_deplibs=yes
7477 file_list_spec='${wl}-f,'
7479 if test "$GCC" = yes; then
7480 case $host_os in aix4.[012]|aix4.[012].*)
7481 # We only want to do this on AIX 4.2 and lower, the check
7482 # below for broken collect2 doesn't work under 4.3+
7483 collect2name=`${CC} -print-prog-name=collect2`
7484 if test -f "$collect2name" &&
7485 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
7487 # We have reworked collect2
7490 # We have old collect2
7491 hardcode_direct=unsupported
7492 # It fails to find uninstalled libraries when the uninstalled
7493 # path is not listed in the libpath. Setting hardcode_minus_L
7494 # to unsupported forces relinking
7495 hardcode_minus_L=yes
7496 hardcode_libdir_flag_spec='-L$libdir'
7497 hardcode_libdir_separator=
7501 shared_flag='-shared'
7502 if test "$aix_use_runtimelinking" = yes; then
7503 shared_flag="$shared_flag "'${wl}-G'
7507 if test "$host_cpu" = ia64; then
7508 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
7509 # chokes on -Wl,-G. The following line is correct:
7512 if test "$aix_use_runtimelinking" = yes; then
7513 shared_flag='${wl}-G'
7515 shared_flag='${wl}-bM:SRE'
7520 # It seems that -bexpall does not export symbols beginning with
7521 # underscore (_), so it is better to generate a list of symbols to export.
7522 always_export_symbols=yes
7523 if test "$aix_use_runtimelinking" = yes; then
7524 # Warning - without using the other runtime loading flags (-brtl),
7525 # -berok will link without error, but may produce a broken library.
7526 allow_undefined_flag='-berok'
7527 # Determine the default libpath from the value encoded in an
7529 if test x$gcc_no_link = xyes; then
7530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7532 { (exit 1); exit 1; }; }
7534 cat >conftest.$ac_ext <<_ACEOF
7537 cat confdefs.h >>conftest.$ac_ext
7538 cat >>conftest.$ac_ext <<_ACEOF
7539 /* end confdefs.h. */
7549 rm -f conftest.$ac_objext conftest$ac_exeext
7550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7551 (eval $ac_link) 2>conftest.er1
7553 grep -v '^ *+' conftest.er1 >conftest.err
7555 cat conftest.err >&5
7556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7557 (exit $ac_status); } &&
7558 { ac_try='test -z "$ac_c_werror_flag"
7559 || test ! -s conftest.err'
7560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7564 (exit $ac_status); }; } &&
7565 { ac_try='test -s conftest$ac_exeext'
7566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7570 (exit $ac_status); }; }; then
7572 lt_aix_libpath_sed='
7573 /Import File Strings/,/^$/ {
7579 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7580 # Check for a 64-bit object if we didn't find anything.
7581 if test -z "$aix_libpath"; then
7582 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7585 echo "$as_me: failed program was:" >&5
7586 sed 's/^/| /' conftest.$ac_ext >&5
7589 rm -f conftest.err conftest.$ac_objext \
7590 conftest$ac_exeext conftest.$ac_ext
7591 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7593 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7594 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"
7596 if test "$host_cpu" = ia64; then
7597 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7598 allow_undefined_flag="-z nodefs"
7599 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"
7601 # Determine the default libpath from the value encoded in an
7603 if test x$gcc_no_link = xyes; then
7604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7606 { (exit 1); exit 1; }; }
7608 cat >conftest.$ac_ext <<_ACEOF
7611 cat confdefs.h >>conftest.$ac_ext
7612 cat >>conftest.$ac_ext <<_ACEOF
7613 /* end confdefs.h. */
7623 rm -f conftest.$ac_objext conftest$ac_exeext
7624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7625 (eval $ac_link) 2>conftest.er1
7627 grep -v '^ *+' conftest.er1 >conftest.err
7629 cat conftest.err >&5
7630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7631 (exit $ac_status); } &&
7632 { ac_try='test -z "$ac_c_werror_flag"
7633 || test ! -s conftest.err'
7634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7638 (exit $ac_status); }; } &&
7639 { ac_try='test -s conftest$ac_exeext'
7640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7644 (exit $ac_status); }; }; then
7646 lt_aix_libpath_sed='
7647 /Import File Strings/,/^$/ {
7653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7654 # Check for a 64-bit object if we didn't find anything.
7655 if test -z "$aix_libpath"; then
7656 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7663 rm -f conftest.err conftest.$ac_objext \
7664 conftest$ac_exeext conftest.$ac_ext
7665 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7667 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7668 # Warning - without using the other run time loading flags,
7669 # -berok will link without error, but may produce a broken library.
7670 no_undefined_flag=' ${wl}-bernotok'
7671 allow_undefined_flag=' ${wl}-berok'
7672 # Exported symbols can be pulled into shared objects from archives
7673 whole_archive_flag_spec='$convenience'
7674 archive_cmds_need_lc=yes
7675 # This is similar to how AIX traditionally builds its shared libraries.
7676 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'
7682 if test "$host_cpu" = m68k; then
7683 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)'
7684 hardcode_libdir_flag_spec='-L$libdir'
7685 hardcode_minus_L=yes
7687 # see comment about different semantics on the GNU ld section
7692 export_dynamic_flag_spec=-rdynamic
7695 cygwin* | mingw* | pw32*)
7696 # When not using gcc, we currently assume that we are using
7697 # Microsoft Visual C++.
7698 # hardcode_libdir_flag_spec is actually meaningless, as there is
7699 # no search path for DLLs.
7700 hardcode_libdir_flag_spec=' '
7701 allow_undefined_flag=unsupported
7702 # Tell ltmain to make .lib files, not .a files.
7704 # Tell ltmain to make .dll files, not .so files.
7706 # FIXME: Setting linknames here is a bad hack.
7707 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
7708 # The linker will automatically build a .lib file if we build a DLL.
7709 old_archive_from_new_cmds='true'
7710 # FIXME: Should let the user specify the lib program.
7711 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
7712 fix_srcfile_path='`cygpath -w "$srcfile"`'
7713 enable_shared_with_static_runtimes=yes
7716 darwin* | rhapsody*)
7718 rhapsody* | darwin1.[012])
7719 allow_undefined_flag='${wl}-undefined ${wl}suppress'
7722 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
7724 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
7727 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
7732 archive_cmds_need_lc=no
7734 hardcode_automatic=yes
7735 hardcode_shlibpath_var=unsupported
7736 whole_archive_flag_spec=''
7737 link_all_deplibs=yes
7738 if test "$GCC" = yes ; then
7739 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7740 echo $ECHO_N "(cached) $ECHO_C" >&6
7742 lt_cv_apple_cc_single_mod=no
7743 if test -z "${LT_MULTI_MODULE}"; then
7744 # By default we will add the -single_module flag. You can override
7745 # by either setting the environment variable LT_MULTI_MODULE
7746 # non-empty at configure time, or by adding -multi-module to the
7748 echo "int foo(void){return 1;}" > conftest.c
7749 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7750 -dynamiclib ${wl}-single_module conftest.c
7751 if test -f libconftest.dylib; then
7752 lt_cv_apple_cc_single_mod=yes
7753 rm libconftest.dylib
7759 output_verbose_link_cmd=echo
7760 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
7761 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7762 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}'
7764 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7765 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}'
7767 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7768 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}'
7770 case $cc_basename in
7772 output_verbose_link_cmd=echo
7773 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
7774 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7775 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
7776 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}'
7777 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}'
7787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7788 hardcode_libdir_flag_spec='-L$libdir'
7789 hardcode_shlibpath_var=no
7796 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7797 # support. Future versions do this automatically, but an explicit c++rt0.o
7798 # does not break anything, and helps significantly (at the cost of a little
7801 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7802 hardcode_libdir_flag_spec='-R$libdir'
7804 hardcode_shlibpath_var=no
7807 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7809 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7811 hardcode_minus_L=yes
7812 hardcode_shlibpath_var=no
7815 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7816 freebsd* | dragonfly*)
7817 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7818 hardcode_libdir_flag_spec='-R$libdir'
7820 hardcode_shlibpath_var=no
7824 if test "$GCC" = yes; then
7825 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'
7827 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'
7829 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7830 hardcode_libdir_separator=:
7833 # hardcode_minus_L: Not really in the search PATH,
7834 # but as the default location of the library.
7835 hardcode_minus_L=yes
7836 export_dynamic_flag_spec='${wl}-E'
7840 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7841 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7843 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7845 if test "$with_gnu_ld" = no; then
7846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7847 hardcode_libdir_flag_spec_ld='+b $libdir'
7848 hardcode_libdir_separator=:
7850 hardcode_direct_absolute=yes
7851 export_dynamic_flag_spec='${wl}-E'
7852 # hardcode_minus_L: Not really in the search PATH,
7853 # but as the default location of the library.
7854 hardcode_minus_L=yes
7859 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7862 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7874 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7877 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7884 if test "$with_gnu_ld" = no; then
7885 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7886 hardcode_libdir_separator=:
7891 hardcode_shlibpath_var=no
7895 hardcode_direct_absolute=yes
7896 export_dynamic_flag_spec='${wl}-E'
7898 # hardcode_minus_L: Not really in the search PATH,
7899 # but as the default location of the library.
7900 hardcode_minus_L=yes
7906 irix5* | irix6* | nonstopux*)
7907 if test "$GCC" = yes; then
7908 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'
7909 # Try to use the -exported_symbol ld option, if it does not
7910 # work, assume that -exports_file does not work either and
7911 # implicitly export all symbols.
7912 save_LDFLAGS="$LDFLAGS"
7913 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7914 if test x$gcc_no_link = xyes; then
7915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
7916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
7917 { (exit 1); exit 1; }; }
7919 cat >conftest.$ac_ext <<_ACEOF
7922 rm -f conftest.$ac_objext conftest$ac_exeext
7923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7924 (eval $ac_link) 2>conftest.er1
7926 grep -v '^ *+' conftest.er1 >conftest.err
7928 cat conftest.err >&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try='test -z "$ac_c_werror_flag"
7932 || test ! -s conftest.err'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; } &&
7938 { ac_try='test -s conftest$ac_exeext'
7939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944 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'
7947 echo "$as_me: failed program was:" >&5
7948 sed 's/^/| /' conftest.$ac_ext >&5
7951 rm -f conftest.err conftest.$ac_objext \
7952 conftest$ac_exeext conftest.$ac_ext
7953 LDFLAGS="$save_LDFLAGS"
7955 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'
7956 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'
7958 archive_cmds_need_lc='no'
7959 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7960 hardcode_libdir_separator=:
7962 link_all_deplibs=yes
7966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7969 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7971 hardcode_libdir_flag_spec='-R$libdir'
7973 hardcode_shlibpath_var=no
7977 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7980 hardcode_libdir_separator=:
7981 hardcode_shlibpath_var=no
7989 hardcode_shlibpath_var=no
7990 hardcode_direct_absolute=yes
7991 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7992 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7993 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7994 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7995 export_dynamic_flag_spec='${wl}-E'
7998 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7999 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8000 hardcode_libdir_flag_spec='-R$libdir'
8003 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8004 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8011 hardcode_libdir_flag_spec='-L$libdir'
8012 hardcode_minus_L=yes
8013 allow_undefined_flag=unsupported
8014 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'
8015 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8019 if test "$GCC" = yes; then
8020 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8021 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'
8023 allow_undefined_flag=' -expect_unresolved \*'
8024 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'
8026 archive_cmds_need_lc='no'
8027 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8028 hardcode_libdir_separator=:
8031 osf4* | osf5*) # as osf3* with the addition of -msym flag
8032 if test "$GCC" = yes; then
8033 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8034 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'
8035 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8037 allow_undefined_flag=' -expect_unresolved \*'
8038 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'
8039 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~
8040 $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'
8042 # Both c and cxx compiler support -rpath directly
8043 hardcode_libdir_flag_spec='-rpath $libdir'
8045 archive_cmds_need_lc='no'
8046 hardcode_libdir_separator=:
8050 no_undefined_flag=' -z defs'
8051 if test "$GCC" = yes; then
8053 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8054 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8055 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8057 case `$CC -V 2>&1` in
8060 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8061 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8062 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8066 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8067 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8068 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8072 hardcode_libdir_flag_spec='-R$libdir'
8073 hardcode_shlibpath_var=no
8075 solaris2.[0-5] | solaris2.[0-5].*) ;;
8077 # The compiler driver will combine and reorder linker options,
8078 # but understands `-z linker_flag'. GCC discards it without `$wl',
8079 # but is careful enough not to reorder.
8080 # Supported since Solaris 2.6 (maybe 2.5.1?)
8081 if test "$GCC" = yes; then
8082 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8084 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8088 link_all_deplibs=yes
8092 if test "x$host_vendor" = xsequent; then
8093 # Use $CC to link under sequent, because it throws in some extra .o
8094 # files that make .init and .fini sections work.
8095 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8097 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8099 hardcode_libdir_flag_spec='-L$libdir'
8101 hardcode_minus_L=yes
8102 hardcode_shlibpath_var=no
8106 case $host_vendor in
8108 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8109 hardcode_direct=yes # is this really true???
8112 ## LD is ld it makes a PLAMLIB
8113 ## CC just makes a GrossModule.
8114 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8115 reload_cmds='$CC -r -o $output$reload_objs'
8119 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8120 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8123 runpath_var='LD_RUN_PATH'
8124 hardcode_shlibpath_var=no
8128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8129 hardcode_shlibpath_var=no
8130 export_dynamic_flag_spec='-Bexport'
8134 if test -d /usr/nec; then
8135 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8136 hardcode_shlibpath_var=no
8137 runpath_var=LD_RUN_PATH
8138 hardcode_runpath_var=yes
8143 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8144 no_undefined_flag='${wl}-z,text'
8145 archive_cmds_need_lc=no
8146 hardcode_shlibpath_var=no
8147 runpath_var='LD_RUN_PATH'
8149 if test "$GCC" = yes; then
8150 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8151 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8153 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8154 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8158 sysv5* | sco3.2v5* | sco5v6*)
8159 # Note: We can NOT use -z defs as we might desire, because we do not
8160 # link with -lc, and that would cause any symbols used from libc to
8161 # always be unresolved, which means just about no library would
8162 # ever link correctly. If we're not using GNU ld we use -z text
8163 # though, which does catch some bad symbols but isn't as heavy-handed
8165 no_undefined_flag='${wl}-z,text'
8166 allow_undefined_flag='${wl}-z,nodefs'
8167 archive_cmds_need_lc=no
8168 hardcode_shlibpath_var=no
8169 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8170 hardcode_libdir_separator=':'
8171 link_all_deplibs=yes
8172 export_dynamic_flag_spec='${wl}-Bexport'
8173 runpath_var='LD_RUN_PATH'
8175 if test "$GCC" = yes; then
8176 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8177 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8179 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8180 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8185 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8186 hardcode_libdir_flag_spec='-L$libdir'
8187 hardcode_shlibpath_var=no
8195 if test x$host_vendor = xsni; then
8197 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8198 export_dynamic_flag_spec='${wl}-Blargedynsym'
8204 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8205 echo "${ECHO_T}$ld_shlibs" >&6
8206 test "$ld_shlibs" = no && can_build_shared=no
8208 with_gnu_ld=$with_gnu_ld
8225 # Do we need to explicitly link libc?
8227 case "x$archive_cmds_need_lc" in
8229 # Assume -lc should be added
8230 archive_cmds_need_lc=yes
8232 if test "$enable_shared" = yes && test "$GCC" = yes; then
8233 case $archive_cmds in
8235 # FIXME: we may have to deal with multi-command sequences.
8238 # Test whether the compiler implicitly links with -lc since on some
8239 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8240 # to ld, don't add -lc before -lgcc.
8241 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8242 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8244 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8247 (eval $ac_compile) 2>&5
8249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8250 (exit $ac_status); } 2>conftest.err; then
8253 libobjs=conftest.$ac_objext
8255 wl=$lt_prog_compiler_wl
8256 pic_flag=$lt_prog_compiler_pic
8262 lt_save_allow_undefined_flag=$allow_undefined_flag
8263 allow_undefined_flag=
8264 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8265 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }
8270 archive_cmds_need_lc=no
8272 archive_cmds_need_lc=yes
8274 allow_undefined_flag=$lt_save_allow_undefined_flag
8276 cat conftest.err 1>&5
8279 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8280 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8443 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
8444 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
8446 if test "$withGCC" = yes; then
8448 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
8449 *) lt_awk_arg="/^libraries:/" ;;
8451 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8452 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
8453 # if the path contains ";" then we assume it to be the separator
8454 # otherwise default to the standard path separator (i.e. ":") - it is
8455 # assumed that no part of a normal pathname contains ";" but that should
8456 # okay in the real world where ";" in dirpaths is itself problematic.
8457 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8459 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8461 # Ok, now we have the path, separated by spaces, we can step through it
8462 # and add multilib dir if necessary.
8463 lt_tmp_lt_search_path_spec=
8464 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
8465 for lt_sys_path in $lt_search_path_spec; do
8466 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
8467 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
8469 test -d "$lt_sys_path" && \
8470 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
8473 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
8474 BEGIN {RS=" "; FS="/|\n";} {
8477 for (lt_i = NF; lt_i > 0; lt_i--) {
8478 if ($lt_i != "" && $lt_i != ".") {
8479 if ($lt_i == "..") {
8482 if (lt_count == 0) {
8483 lt_foo="/" $lt_i lt_foo;
8490 if (lt_foo != "") { lt_freq[lt_foo]++; }
8491 if (lt_freq[lt_foo] == 1) { print lt_foo; }
8493 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
8495 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8498 libname_spec='lib$name'
8506 shlibpath_overrides_runpath=unknown
8508 dynamic_linker="$host_os ld.so"
8509 sys_lib_dlsearch_path_spec="/lib /usr/lib"
8510 need_lib_prefix=unknown
8511 hardcode_into_libs=no
8513 # when you set need_version to no, make sure it does not cause -set_version
8514 # flags to be left without arguments
8515 need_version=unknown
8520 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
8521 shlibpath_var=LIBPATH
8523 # AIX 3 has no versioning support, so we append a major version to the name.
8524 soname_spec='${libname}${release}${shared_ext}$major'
8531 hardcode_into_libs=yes
8532 if test "$host_cpu" = ia64; then
8533 # AIX 5 supports IA64
8534 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
8535 shlibpath_var=LD_LIBRARY_PATH
8537 # With GCC up to 2.95.x, collect2 would create an import file
8538 # for dependence libraries. The import file would start with
8539 # the line `#! .'. This would cause the generated library to
8540 # depend on `.', always an invalid library. This was fixed in
8541 # development snapshots of GCC prior to 3.0.
8543 aix4 | aix4.[01] | aix4.[01].*)
8544 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
8546 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
8553 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
8554 # soname into executable. Probably we can add versioning support to
8555 # collect2, so additional links can be useful in future.
8556 if test "$aix_use_runtimelinking" = yes; then
8557 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
8558 # instead of lib<name>.a to let people know that these are not
8559 # typical AIX shared libraries.
8560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8562 # We preserve .a as extension for shared libraries through AIX4.2
8563 # and later when we are not doing run time linking.
8564 library_names_spec='${libname}${release}.a $libname.a'
8565 soname_spec='${libname}${release}${shared_ext}$major'
8567 shlibpath_var=LIBPATH
8572 if test "$host_cpu" = m68k; then
8573 library_names_spec='$libname.ixlibrary $libname.a'
8574 # Create ${libname}_ixlibrary.a entries in /sys/libs.
8575 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'
8582 library_names_spec='${libname}${shared_ext}'
8583 dynamic_linker="$host_os ld.so"
8584 shlibpath_var=LIBRARY_PATH
8590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8591 soname_spec='${libname}${release}${shared_ext}$major'
8592 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
8593 shlibpath_var=LD_LIBRARY_PATH
8594 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
8595 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
8596 # the default ld.so.conf also contains /usr/contrib/lib and
8597 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
8598 # libtool to hard-code these into programs
8601 cygwin* | mingw* | pw32*)
8602 version_type=windows
8607 case $withGCC,$host_os in
8608 yes,cygwin* | yes,mingw* | yes,pw32*)
8609 library_names_spec='$libname.dll.a'
8610 # DLL is installed to $(libdir)/../bin by postinstall_cmds
8611 postinstall_cmds='base_file=`basename \${file}`~
8612 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
8613 dldir=$destdir/`dirname \$dlpath`~
8614 test -d \$dldir || mkdir -p \$dldir~
8615 $install_prog $dir/$dlname \$dldir/$dlname~
8616 chmod a+x \$dldir/$dlname~
8617 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
8618 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
8620 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
8621 dlpath=$dir/\$dldll~
8623 shlibpath_overrides_runpath=yes
8627 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
8628 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8629 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
8632 # MinGW DLLs use traditional 'lib' prefix
8633 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8634 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8635 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
8636 # It is most probably a Windows format PATH printed by
8637 # mingw gcc, but we are running on Cygwin. Gcc prints its search
8638 # path with ; separators, and with drive letters. We can handle the
8639 # drive letters (cygwin fileutils understands them), so leave them,
8640 # especially as we might pass files found there to a mingw objdump,
8641 # which wouldn't understand a cygwinified path. Ahh.
8642 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
8644 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
8648 # pw32 DLLs use 'pw' prefix rather than 'lib'
8649 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
8655 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
8658 dynamic_linker='Win32 ld.exe'
8659 # FIXME: first we should search . and the directory the executable is in
8663 darwin* | rhapsody*)
8664 dynamic_linker="$host_os dyld"
8668 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
8669 soname_spec='${libname}${release}${major}$shared_ext'
8670 shlibpath_overrides_runpath=yes
8671 shlibpath_var=DYLD_LIBRARY_PATH
8672 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
8674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
8675 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
8682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
8683 soname_spec='${libname}${release}${shared_ext}$major'
8684 shlibpath_var=LD_LIBRARY_PATH
8691 freebsd* | dragonfly*)
8692 # DragonFly does not have aout. When/if they implement a new
8693 # versioning mechanism, adjust this.
8694 if test -x /usr/bin/objformat; then
8695 objformat=`/usr/bin/objformat`
8698 freebsd[123]*) objformat=aout ;;
8702 version_type=freebsd-$objformat
8703 case $version_type in
8705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
8710 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
8714 shlibpath_var=LD_LIBRARY_PATH
8717 shlibpath_overrides_runpath=yes
8719 freebsd3.[01]* | freebsdelf3.[01]*)
8720 shlibpath_overrides_runpath=yes
8721 hardcode_into_libs=yes
8723 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
8724 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
8725 shlibpath_overrides_runpath=no
8726 hardcode_into_libs=yes
8728 *) # from 4.6 on, and DragonFly
8729 shlibpath_overrides_runpath=yes
8730 hardcode_into_libs=yes
8739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
8740 soname_spec='${libname}${release}${shared_ext}$major'
8741 shlibpath_var=LD_LIBRARY_PATH
8742 hardcode_into_libs=yes
8745 hpux9* | hpux10* | hpux11*)
8746 # Give a soname corresponding to the major version so that dld.sl refuses to
8747 # link against other versions.
8754 hardcode_into_libs=yes
8755 dynamic_linker="$host_os dld.so"
8756 shlibpath_var=LD_LIBRARY_PATH
8757 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8759 soname_spec='${libname}${release}${shared_ext}$major'
8760 if test "X$HPUX_IA64_MODE" = X32; then
8761 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
8763 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
8765 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8769 hardcode_into_libs=yes
8770 dynamic_linker="$host_os dld.sl"
8771 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
8772 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
8773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8774 soname_spec='${libname}${release}${shared_ext}$major'
8775 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
8776 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
8780 dynamic_linker="$host_os dld.sl"
8781 shlibpath_var=SHLIB_PATH
8782 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
8783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8784 soname_spec='${libname}${release}${shared_ext}$major'
8787 # HP-UX runs *really* slowly unless shared libraries are mode 555.
8788 postinstall_cmds='chmod 555 $lib'
8795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8796 soname_spec='${libname}${release}${shared_ext}$major'
8797 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
8798 shlibpath_var=LD_LIBRARY_PATH
8799 shlibpath_overrides_runpath=no
8800 hardcode_into_libs=yes
8803 irix5* | irix6* | nonstopux*)
8805 nonstopux*) version_type=nonstopux ;;
8807 if test "$lt_cv_prog_gnu_ld" = yes; then
8815 soname_spec='${libname}${release}${shared_ext}$major'
8816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
8818 irix5* | nonstopux*)
8822 case $LD in # libtool.m4 will add one of these switches to LD
8823 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
8824 libsuff= shlibsuff= libmagic=32-bit;;
8825 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
8826 libsuff=32 shlibsuff=N32 libmagic=N32;;
8827 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
8828 libsuff=64 shlibsuff=64 libmagic=64-bit;;
8829 *) libsuff= shlibsuff= libmagic=never-match;;
8833 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
8834 shlibpath_overrides_runpath=no
8835 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
8836 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
8837 hardcode_into_libs=yes
8840 # No shared lib support for Linux oldld, aout, or coff.
8841 linux*oldld* | linux*aout* | linux*coff*)
8845 # This must be Linux ELF.
8846 linux* | k*bsd*-gnu)
8850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8851 soname_spec='${libname}${release}${shared_ext}$major'
8852 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
8853 shlibpath_var=LD_LIBRARY_PATH
8854 shlibpath_overrides_runpath=no
8855 # Some binutils ld are patched to set DT_RUNPATH
8856 save_LDFLAGS=$LDFLAGS
8858 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
8859 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
8860 if test x$gcc_no_link = xyes; then
8861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8863 { (exit 1); exit 1; }; }
8865 cat >conftest.$ac_ext <<_ACEOF
8868 cat confdefs.h >>conftest.$ac_ext
8869 cat >>conftest.$ac_ext <<_ACEOF
8870 /* end confdefs.h. */
8880 rm -f conftest.$ac_objext conftest$ac_exeext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8882 (eval $ac_link) 2>conftest.er1
8884 grep -v '^ *+' conftest.er1 >conftest.err
8886 cat conftest.err >&5
8887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888 (exit $ac_status); } &&
8889 { ac_try='test -z "$ac_c_werror_flag"
8890 || test ! -s conftest.err'
8891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8895 (exit $ac_status); }; } &&
8896 { ac_try='test -s conftest$ac_exeext'
8897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8901 (exit $ac_status); }; }; then
8902 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
8903 shlibpath_overrides_runpath=yes
8907 echo "$as_me: failed program was:" >&5
8908 sed 's/^/| /' conftest.$ac_ext >&5
8911 rm -f conftest.err conftest.$ac_objext \
8912 conftest$ac_exeext conftest.$ac_ext
8913 LDFLAGS=$save_LDFLAGS
8916 # This implies no fast_install, which is unacceptable.
8917 # Some rework will be needed to allow for fast_install
8918 # before this can be enabled.
8919 hardcode_into_libs=yes
8921 # Append ld.so.conf contents to the search path
8922 if test -f /etc/ld.so.conf; then
8923 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' ' '`
8924 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
8927 # We used to test for /lib/ld.so.1 and disable shared libraries on
8928 # powerpc, because MkLinux only supported shared libraries with the
8929 # GNU dynamic linker. Since this was broken with cross compilers,
8930 # most powerpc-linux boxes support dynamic linking these days and
8931 # people can always --disable-shared, the test was removed, and we
8932 # assume the GNU/Linux dynamic linker is in use.
8933 dynamic_linker='GNU/Linux ld.so'
8940 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8942 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8943 dynamic_linker='NetBSD (a.out) ld.so'
8945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
8946 soname_spec='${libname}${release}${shared_ext}$major'
8947 dynamic_linker='NetBSD ld.elf_so'
8949 shlibpath_var=LD_LIBRARY_PATH
8950 shlibpath_overrides_runpath=yes
8951 hardcode_into_libs=yes
8956 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8957 shlibpath_var=LD_LIBRARY_PATH
8958 shlibpath_overrides_runpath=yes
8965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8966 soname_spec='${libname}${release}${shared_ext}$major'
8967 shlibpath_var=LD_LIBRARY_PATH
8968 shlibpath_overrides_runpath=no
8969 hardcode_into_libs=yes
8970 dynamic_linker='ldqnx.so'
8975 sys_lib_dlsearch_path_spec="/usr/lib"
8977 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
8979 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
8980 *) need_version=no ;;
8982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8983 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8984 shlibpath_var=LD_LIBRARY_PATH
8985 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8987 openbsd2.[89] | openbsd2.[89].*)
8988 shlibpath_overrides_runpath=no
8991 shlibpath_overrides_runpath=yes
8995 shlibpath_overrides_runpath=yes
9000 libname_spec='$name'
9003 library_names_spec='$libname${shared_ext} $libname.a'
9004 dynamic_linker='OS/2 ld.exe'
9005 shlibpath_var=LIBPATH
9008 osf3* | osf4* | osf5*)
9012 soname_spec='${libname}${release}${shared_ext}$major'
9013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9014 shlibpath_var=LD_LIBRARY_PATH
9015 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9016 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9028 soname_spec='${libname}${release}${shared_ext}$major'
9029 shlibpath_var=LD_LIBRARY_PATH
9030 shlibpath_overrides_runpath=yes
9031 hardcode_into_libs=yes
9032 # ldd complains unless libraries are executable
9033 postinstall_cmds='chmod +x $lib'
9038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9039 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9040 shlibpath_var=LD_LIBRARY_PATH
9041 shlibpath_overrides_runpath=yes
9042 if test "$with_gnu_ld" = yes; then
9050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9051 soname_spec='${libname}${release}${shared_ext}$major'
9052 shlibpath_var=LD_LIBRARY_PATH
9053 case $host_vendor in
9055 shlibpath_overrides_runpath=no
9057 runpath_var=LD_RUN_PATH
9065 shlibpath_overrides_runpath=no
9066 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9072 if test -d /usr/nec ;then
9074 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9075 soname_spec='$libname${shared_ext}.$major'
9076 shlibpath_var=LD_LIBRARY_PATH
9080 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9081 version_type=freebsd-elf
9084 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9085 soname_spec='${libname}${release}${shared_ext}$major'
9086 shlibpath_var=LD_LIBRARY_PATH
9087 shlibpath_overrides_runpath=yes
9088 hardcode_into_libs=yes
9089 if test "$with_gnu_ld" = yes; then
9090 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9092 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9095 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9099 sys_lib_dlsearch_path_spec='/usr/lib'
9103 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9107 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9108 shlibpath_var=LD_LIBRARY_PATH
9109 shlibpath_overrides_runpath=no
9110 hardcode_into_libs=yes
9115 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9116 soname_spec='${libname}${release}${shared_ext}$major'
9117 shlibpath_var=LD_LIBRARY_PATH
9124 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9125 echo "${ECHO_T}$dynamic_linker" >&6
9126 test "$dynamic_linker" = no && can_build_shared=no
9128 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9129 if test "$GCC" = yes; then
9130 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9219 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9220 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9222 if test -n "$hardcode_libdir_flag_spec" ||
9223 test -n "$runpath_var" ||
9224 test "X$hardcode_automatic" = "Xyes" ; then
9226 # We can hardcode non-existent directories.
9227 if test "$hardcode_direct" != no &&
9228 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9229 # have to relink, otherwise we might link with an installed library
9230 # when we should be linking with a yet-to-be-installed one
9231 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9232 test "$hardcode_minus_L" != no; then
9233 # Linking always hardcodes the temporary library directory.
9234 hardcode_action=relink
9236 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9237 hardcode_action=immediate
9240 # We cannot hardcode anything, or else we can only hardcode existing
9242 hardcode_action=unsupported
9244 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9245 echo "${ECHO_T}$hardcode_action" >&6
9247 if test "$hardcode_action" = relink ||
9248 test "$inherit_rpath" = yes; then
9249 # Fast installation is not supported
9250 enable_fast_install=no
9251 elif test "$shlibpath_overrides_runpath" = yes ||
9252 test "$enable_shared" = no; then
9253 # Fast installation is not necessary
9254 enable_fast_install=needless
9262 if test "x$enable_dlopen" != xyes; then
9263 enable_dlopen=unknown
9264 enable_dlopen_self=unknown
9265 enable_dlopen_self_static=unknown
9272 lt_cv_dlopen="load_add_on"
9274 lt_cv_dlopen_self=yes
9278 lt_cv_dlopen="LoadLibrary"
9283 lt_cv_dlopen="dlopen"
9288 # if libdl is installed we need to link against it
9289 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9290 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9291 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 ac_check_lib_save_LIBS=$LIBS
9296 if test x$gcc_no_link = xyes; then
9297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9299 { (exit 1); exit 1; }; }
9301 cat >conftest.$ac_ext <<_ACEOF
9304 cat confdefs.h >>conftest.$ac_ext
9305 cat >>conftest.$ac_ext <<_ACEOF
9306 /* end confdefs.h. */
9308 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9323 rm -f conftest.$ac_objext conftest$ac_exeext
9324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9325 (eval $ac_link) 2>conftest.er1
9327 grep -v '^ *+' conftest.er1 >conftest.err
9329 cat conftest.err >&5
9330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9331 (exit $ac_status); } &&
9332 { ac_try='test -z "$ac_c_werror_flag"
9333 || test ! -s conftest.err'
9334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); }; } &&
9339 { ac_try='test -s conftest$ac_exeext'
9340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); }; }; then
9345 ac_cv_lib_dl_dlopen=yes
9347 echo "$as_me: failed program was:" >&5
9348 sed 's/^/| /' conftest.$ac_ext >&5
9350 ac_cv_lib_dl_dlopen=no
9352 rm -f conftest.err conftest.$ac_objext \
9353 conftest$ac_exeext conftest.$ac_ext
9354 LIBS=$ac_check_lib_save_LIBS
9356 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9357 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9358 if test $ac_cv_lib_dl_dlopen = yes; then
9359 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9364 lt_cv_dlopen_self=yes
9371 echo "$as_me:$LINENO: checking for shl_load" >&5
9372 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9373 if test "${ac_cv_func_shl_load+set}" = set; then
9374 echo $ECHO_N "(cached) $ECHO_C" >&6
9376 if test x$gcc_no_link = xyes; then
9377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9379 { (exit 1); exit 1; }; }
9381 cat >conftest.$ac_ext <<_ACEOF
9384 cat confdefs.h >>conftest.$ac_ext
9385 cat >>conftest.$ac_ext <<_ACEOF
9386 /* end confdefs.h. */
9387 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9389 #define shl_load innocuous_shl_load
9391 /* System header to define __stub macros and hopefully few prototypes,
9392 which can conflict with char shl_load (); below.
9393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9394 <limits.h> exists even on freestanding compilers. */
9397 # include <limits.h>
9399 # include <assert.h>
9404 /* Override any gcc2 internal prototype to avoid an error. */
9409 /* We use char because int might match the return type of a gcc2
9410 builtin and then its argument prototype would still apply. */
9412 /* The GNU C library defines this for functions which it implements
9413 to always fail with ENOSYS. Some functions are actually named
9414 something starting with __ and the normal name is an alias. */
9415 #if defined (__stub_shl_load) || defined (__stub___shl_load)
9418 char (*f) () = shl_load;
9427 return f != shl_load;
9432 rm -f conftest.$ac_objext conftest$ac_exeext
9433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9434 (eval $ac_link) 2>conftest.er1
9436 grep -v '^ *+' conftest.er1 >conftest.err
9438 cat conftest.err >&5
9439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440 (exit $ac_status); } &&
9441 { ac_try='test -z "$ac_c_werror_flag"
9442 || test ! -s conftest.err'
9443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); }; } &&
9448 { ac_try='test -s conftest$ac_exeext'
9449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9453 (exit $ac_status); }; }; then
9454 ac_cv_func_shl_load=yes
9456 echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.$ac_ext >&5
9459 ac_cv_func_shl_load=no
9461 rm -f conftest.err conftest.$ac_objext \
9462 conftest$ac_exeext conftest.$ac_ext
9464 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
9465 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
9466 if test $ac_cv_func_shl_load = yes; then
9467 lt_cv_dlopen="shl_load"
9469 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
9470 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
9471 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 ac_check_lib_save_LIBS=$LIBS
9476 if test x$gcc_no_link = xyes; then
9477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9479 { (exit 1); exit 1; }; }
9481 cat >conftest.$ac_ext <<_ACEOF
9484 cat confdefs.h >>conftest.$ac_ext
9485 cat >>conftest.$ac_ext <<_ACEOF
9486 /* end confdefs.h. */
9488 /* Override any gcc2 internal prototype to avoid an error. */
9492 /* We use char because int might match the return type of a gcc2
9493 builtin and then its argument prototype would still apply. */
9503 rm -f conftest.$ac_objext conftest$ac_exeext
9504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9505 (eval $ac_link) 2>conftest.er1
9507 grep -v '^ *+' conftest.er1 >conftest.err
9509 cat conftest.err >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } &&
9512 { ac_try='test -z "$ac_c_werror_flag"
9513 || test ! -s conftest.err'
9514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9518 (exit $ac_status); }; } &&
9519 { ac_try='test -s conftest$ac_exeext'
9520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); }; }; then
9525 ac_cv_lib_dld_shl_load=yes
9527 echo "$as_me: failed program was:" >&5
9528 sed 's/^/| /' conftest.$ac_ext >&5
9530 ac_cv_lib_dld_shl_load=no
9532 rm -f conftest.err conftest.$ac_objext \
9533 conftest$ac_exeext conftest.$ac_ext
9534 LIBS=$ac_check_lib_save_LIBS
9536 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
9537 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
9538 if test $ac_cv_lib_dld_shl_load = yes; then
9539 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
9541 echo "$as_me:$LINENO: checking for dlopen" >&5
9542 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
9543 if test "${ac_cv_func_dlopen+set}" = set; then
9544 echo $ECHO_N "(cached) $ECHO_C" >&6
9546 if test x$gcc_no_link = xyes; then
9547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9549 { (exit 1); exit 1; }; }
9551 cat >conftest.$ac_ext <<_ACEOF
9554 cat confdefs.h >>conftest.$ac_ext
9555 cat >>conftest.$ac_ext <<_ACEOF
9556 /* end confdefs.h. */
9557 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
9558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9559 #define dlopen innocuous_dlopen
9561 /* System header to define __stub macros and hopefully few prototypes,
9562 which can conflict with char dlopen (); below.
9563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9564 <limits.h> exists even on freestanding compilers. */
9567 # include <limits.h>
9569 # include <assert.h>
9574 /* Override any gcc2 internal prototype to avoid an error. */
9579 /* We use char because int might match the return type of a gcc2
9580 builtin and then its argument prototype would still apply. */
9582 /* The GNU C library defines this for functions which it implements
9583 to always fail with ENOSYS. Some functions are actually named
9584 something starting with __ and the normal name is an alias. */
9585 #if defined (__stub_dlopen) || defined (__stub___dlopen)
9588 char (*f) () = dlopen;
9602 rm -f conftest.$ac_objext conftest$ac_exeext
9603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9604 (eval $ac_link) 2>conftest.er1
9606 grep -v '^ *+' conftest.er1 >conftest.err
9608 cat conftest.err >&5
9609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9610 (exit $ac_status); } &&
9611 { ac_try='test -z "$ac_c_werror_flag"
9612 || test ! -s conftest.err'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; } &&
9618 { ac_try='test -s conftest$ac_exeext'
9619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9623 (exit $ac_status); }; }; then
9624 ac_cv_func_dlopen=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_func_dlopen=no
9631 rm -f conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9634 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
9635 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
9636 if test $ac_cv_func_dlopen = yes; then
9637 lt_cv_dlopen="dlopen"
9639 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9640 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9641 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9642 echo $ECHO_N "(cached) $ECHO_C" >&6
9644 ac_check_lib_save_LIBS=$LIBS
9646 if test x$gcc_no_link = xyes; then
9647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9649 { (exit 1); exit 1; }; }
9651 cat >conftest.$ac_ext <<_ACEOF
9654 cat confdefs.h >>conftest.$ac_ext
9655 cat >>conftest.$ac_ext <<_ACEOF
9656 /* end confdefs.h. */
9658 /* Override any gcc2 internal prototype to avoid an error. */
9662 /* We use char because int might match the return type of a gcc2
9663 builtin and then its argument prototype would still apply. */
9673 rm -f conftest.$ac_objext conftest$ac_exeext
9674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9675 (eval $ac_link) 2>conftest.er1
9677 grep -v '^ *+' conftest.er1 >conftest.err
9679 cat conftest.err >&5
9680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9681 (exit $ac_status); } &&
9682 { ac_try='test -z "$ac_c_werror_flag"
9683 || test ! -s conftest.err'
9684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); }; } &&
9689 { ac_try='test -s conftest$ac_exeext'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; }; then
9695 ac_cv_lib_dl_dlopen=yes
9697 echo "$as_me: failed program was:" >&5
9698 sed 's/^/| /' conftest.$ac_ext >&5
9700 ac_cv_lib_dl_dlopen=no
9702 rm -f conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 LIBS=$ac_check_lib_save_LIBS
9706 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9707 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9708 if test $ac_cv_lib_dl_dlopen = yes; then
9709 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9711 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
9712 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
9713 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
9714 echo $ECHO_N "(cached) $ECHO_C" >&6
9716 ac_check_lib_save_LIBS=$LIBS
9718 if test x$gcc_no_link = xyes; then
9719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9721 { (exit 1); exit 1; }; }
9723 cat >conftest.$ac_ext <<_ACEOF
9726 cat confdefs.h >>conftest.$ac_ext
9727 cat >>conftest.$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9730 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9745 rm -f conftest.$ac_objext conftest$ac_exeext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747 (eval $ac_link) 2>conftest.er1
9749 grep -v '^ *+' conftest.er1 >conftest.err
9751 cat conftest.err >&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try='test -z "$ac_c_werror_flag"
9755 || test ! -s conftest.err'
9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; } &&
9761 { ac_try='test -s conftest$ac_exeext'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; }; then
9767 ac_cv_lib_svld_dlopen=yes
9769 echo "$as_me: failed program was:" >&5
9770 sed 's/^/| /' conftest.$ac_ext >&5
9772 ac_cv_lib_svld_dlopen=no
9774 rm -f conftest.err conftest.$ac_objext \
9775 conftest$ac_exeext conftest.$ac_ext
9776 LIBS=$ac_check_lib_save_LIBS
9778 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
9779 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
9780 if test $ac_cv_lib_svld_dlopen = yes; then
9781 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
9783 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
9784 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
9785 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
9786 echo $ECHO_N "(cached) $ECHO_C" >&6
9788 ac_check_lib_save_LIBS=$LIBS
9790 if test x$gcc_no_link = xyes; then
9791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9793 { (exit 1); exit 1; }; }
9795 cat >conftest.$ac_ext <<_ACEOF
9798 cat confdefs.h >>conftest.$ac_ext
9799 cat >>conftest.$ac_ext <<_ACEOF
9800 /* end confdefs.h. */
9802 /* Override any gcc2 internal prototype to avoid an error. */
9806 /* We use char because int might match the return type of a gcc2
9807 builtin and then its argument prototype would still apply. */
9817 rm -f conftest.$ac_objext conftest$ac_exeext
9818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9819 (eval $ac_link) 2>conftest.er1
9821 grep -v '^ *+' conftest.er1 >conftest.err
9823 cat conftest.err >&5
9824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9825 (exit $ac_status); } &&
9826 { ac_try='test -z "$ac_c_werror_flag"
9827 || test ! -s conftest.err'
9828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9832 (exit $ac_status); }; } &&
9833 { ac_try='test -s conftest$ac_exeext'
9834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); }; }; then
9839 ac_cv_lib_dld_dld_link=yes
9841 echo "$as_me: failed program was:" >&5
9842 sed 's/^/| /' conftest.$ac_ext >&5
9844 ac_cv_lib_dld_dld_link=no
9846 rm -f conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 LIBS=$ac_check_lib_save_LIBS
9850 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
9851 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
9852 if test $ac_cv_lib_dld_dld_link = yes; then
9853 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
9874 if test "x$lt_cv_dlopen" != xno; then
9880 case $lt_cv_dlopen in
9882 save_CPPFLAGS="$CPPFLAGS"
9883 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
9885 save_LDFLAGS="$LDFLAGS"
9886 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
9889 LIBS="$lt_cv_dlopen_libs $LIBS"
9891 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
9892 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
9893 if test "${lt_cv_dlopen_self+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 if test "$cross_compiling" = yes; then :
9897 lt_cv_dlopen_self=cross
9899 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
9900 lt_status=$lt_dlunknown
9901 cat > conftest.$ac_ext <<_LT_EOF
9902 #line 9902 "configure"
9903 #include "confdefs.h"
9912 # define LT_DLGLOBAL RTLD_GLOBAL
9915 # define LT_DLGLOBAL DL_GLOBAL
9917 # define LT_DLGLOBAL 0
9921 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
9922 find out it does not work in some platform. */
9923 #ifndef LT_DLLAZY_OR_NOW
9925 # define LT_DLLAZY_OR_NOW RTLD_LAZY
9928 # define LT_DLLAZY_OR_NOW DL_LAZY
9931 # define LT_DLLAZY_OR_NOW RTLD_NOW
9934 # define LT_DLLAZY_OR_NOW DL_NOW
9936 # define LT_DLLAZY_OR_NOW 0
9944 extern "C" void exit (int);
9947 void fnord() { int i=42;}
9950 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
9951 int status = $lt_dlunknown;
9955 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
9956 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
9957 /* dlclose (self); */
9965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9966 (eval $ac_link) 2>&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
9970 (./conftest; exit; ) >&5 2>/dev/null
9973 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
9974 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
9975 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
9978 # compilation failed
9979 lt_cv_dlopen_self=no
9986 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
9987 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
9989 if test "x$lt_cv_dlopen_self" = xyes; then
9990 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
9991 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
9992 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
9993 if test "${lt_cv_dlopen_self_static+set}" = set; then
9994 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 if test "$cross_compiling" = yes; then :
9997 lt_cv_dlopen_self_static=cross
9999 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10000 lt_status=$lt_dlunknown
10001 cat > conftest.$ac_ext <<_LT_EOF
10002 #line 10002 "configure"
10003 #include "confdefs.h"
10012 # define LT_DLGLOBAL RTLD_GLOBAL
10015 # define LT_DLGLOBAL DL_GLOBAL
10017 # define LT_DLGLOBAL 0
10021 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10022 find out it does not work in some platform. */
10023 #ifndef LT_DLLAZY_OR_NOW
10025 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10028 # define LT_DLLAZY_OR_NOW DL_LAZY
10031 # define LT_DLLAZY_OR_NOW RTLD_NOW
10034 # define LT_DLLAZY_OR_NOW DL_NOW
10036 # define LT_DLLAZY_OR_NOW 0
10044 extern "C" void exit (int);
10047 void fnord() { int i=42;}
10050 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10051 int status = $lt_dlunknown;
10055 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10056 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10057 /* dlclose (self); */
10065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10066 (eval $ac_link) 2>&5
10068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10069 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10070 (./conftest; exit; ) >&5 2>/dev/null
10072 case x$lt_status in
10073 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10074 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10075 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10078 # compilation failed
10079 lt_cv_dlopen_self_static=no
10086 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10087 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10090 CPPFLAGS="$save_CPPFLAGS"
10091 LDFLAGS="$save_LDFLAGS"
10096 case $lt_cv_dlopen_self in
10097 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10098 *) enable_dlopen_self=unknown ;;
10101 case $lt_cv_dlopen_self_static in
10102 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10103 *) enable_dlopen_self_static=unknown ;;
10125 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10126 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10127 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10128 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10129 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10130 echo "$as_me:$LINENO: result: yes" >&5
10131 echo "${ECHO_T}yes" >&6
10133 # FIXME - insert some real tests, host_os isn't really good enough
10136 if test -n "$STRIP" ; then
10137 striplib="$STRIP -x"
10138 old_striplib="$STRIP -S"
10139 echo "$as_me:$LINENO: result: yes" >&5
10140 echo "${ECHO_T}yes" >&6
10142 echo "$as_me:$LINENO: result: no" >&5
10143 echo "${ECHO_T}no" >&6
10147 echo "$as_me:$LINENO: result: no" >&5
10148 echo "${ECHO_T}no" >&6
10164 # Report which library types will actually be built
10165 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10166 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10167 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10168 echo "${ECHO_T}$can_build_shared" >&6
10170 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10171 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10172 test "$can_build_shared" = "no" && enable_shared=no
10174 # On AIX, shared libraries and static libraries use the same namespace, and
10175 # are all built from PIC.
10178 test "$enable_shared" = yes && enable_static=no
10179 if test -n "$RANLIB"; then
10180 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10181 postinstall_cmds='$RANLIB $lib'
10186 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10187 test "$enable_shared" = yes && enable_static=no
10191 echo "$as_me:$LINENO: result: $enable_shared" >&5
10192 echo "${ECHO_T}$enable_shared" >&6
10194 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10195 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10196 # Make sure either enable_shared or enable_static is yes.
10197 test "$enable_shared" = yes || enable_static=yes
10198 echo "$as_me:$LINENO: result: $enable_static" >&5
10199 echo "${ECHO_T}$enable_static" >&6
10206 ac_cpp='$CPP $CPPFLAGS'
10207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10225 ac_config_commands="$ac_config_commands libtool"
10230 # Only expand once:
10235 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10237 # We need gfortran to compile parts of the library
10238 #AC_PROG_FC(gfortran)
10240 ac_ext=${FC_SRCEXT-f}
10241 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10242 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10243 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10244 if test -n "$ac_tool_prefix"; then
10245 for ac_prog in gfortran
10247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10249 echo "$as_me:$LINENO: checking for $ac_word" >&5
10250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10251 if test "${ac_cv_prog_FC+set}" = set; then
10252 echo $ECHO_N "(cached) $ECHO_C" >&6
10254 if test -n "$FC"; then
10255 ac_cv_prog_FC="$FC" # Let the user override the test.
10257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10258 for as_dir in $PATH
10261 test -z "$as_dir" && as_dir=.
10262 for ac_exec_ext in '' $ac_executable_extensions; do
10263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10264 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10274 if test -n "$FC"; then
10275 echo "$as_me:$LINENO: result: $FC" >&5
10276 echo "${ECHO_T}$FC" >&6
10278 echo "$as_me:$LINENO: result: no" >&5
10279 echo "${ECHO_T}no" >&6
10282 test -n "$FC" && break
10285 if test -z "$FC"; then
10287 for ac_prog in gfortran
10289 # Extract the first word of "$ac_prog", so it can be a program name with args.
10290 set dummy $ac_prog; ac_word=$2
10291 echo "$as_me:$LINENO: checking for $ac_word" >&5
10292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10293 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10294 echo $ECHO_N "(cached) $ECHO_C" >&6
10296 if test -n "$ac_ct_FC"; then
10297 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10300 for as_dir in $PATH
10303 test -z "$as_dir" && as_dir=.
10304 for ac_exec_ext in '' $ac_executable_extensions; do
10305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10306 ac_cv_prog_ac_ct_FC="$ac_prog"
10307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10315 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10316 if test -n "$ac_ct_FC"; then
10317 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10318 echo "${ECHO_T}$ac_ct_FC" >&6
10320 echo "$as_me:$LINENO: result: no" >&5
10321 echo "${ECHO_T}no" >&6
10324 test -n "$ac_ct_FC" && break
10331 # Provide some information about the compiler.
10332 echo "$as_me:10332:" \
10333 "checking for Fortran compiler version" >&5
10334 ac_compiler=`set X $ac_compile; echo $2`
10335 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10336 (eval $ac_compiler --version </dev/null >&5) 2>&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); }
10340 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10341 (eval $ac_compiler -v </dev/null >&5) 2>&5
10343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10344 (exit $ac_status); }
10345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10346 (eval $ac_compiler -V </dev/null >&5) 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }
10352 # If we don't use `.F' as extension, the preprocessor is not run on the
10353 # input file. (Note that this only needs to work for GNU compilers.)
10354 ac_save_ext=$ac_ext
10356 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10357 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10358 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10359 echo $ECHO_N "(cached) $ECHO_C" >&6
10361 cat >conftest.$ac_ext <<_ACEOF
10369 rm -f conftest.$ac_objext
10370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10371 (eval $ac_compile) 2>conftest.er1
10373 grep -v '^ *+' conftest.er1 >conftest.err
10375 cat conftest.err >&5
10376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10377 (exit $ac_status); } &&
10378 { ac_try='test -z "$ac_fc_werror_flag"
10379 || test ! -s conftest.err'
10380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10381 (eval $ac_try) 2>&5
10383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); }; } &&
10385 { ac_try='test -s conftest.$ac_objext'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; }; then
10391 ac_compiler_gnu=yes
10393 echo "$as_me: failed program was:" >&5
10394 sed 's/^/| /' conftest.$ac_ext >&5
10398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10399 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10402 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10403 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10404 ac_ext=$ac_save_ext
10405 ac_test_FFLAGS=${FCFLAGS+set}
10406 ac_save_FFLAGS=$FCFLAGS
10408 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10409 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10410 if test "${ac_cv_prog_fc_g+set}" = set; then
10411 echo $ECHO_N "(cached) $ECHO_C" >&6
10414 cat >conftest.$ac_ext <<_ACEOF
10419 rm -f conftest.$ac_objext
10420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421 (eval $ac_compile) 2>conftest.er1
10423 grep -v '^ *+' conftest.er1 >conftest.err
10425 cat conftest.err >&5
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); } &&
10428 { ac_try='test -z "$ac_fc_werror_flag"
10429 || test ! -s conftest.err'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; } &&
10435 { ac_try='test -s conftest.$ac_objext'
10436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437 (eval $ac_try) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; }; then
10441 ac_cv_prog_fc_g=yes
10443 echo "$as_me: failed program was:" >&5
10444 sed 's/^/| /' conftest.$ac_ext >&5
10448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10451 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10452 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10453 if test "$ac_test_FFLAGS" = set; then
10454 FCFLAGS=$ac_save_FFLAGS
10455 elif test $ac_cv_prog_fc_g = yes; then
10456 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10462 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10470 ac_cpp='$CPP $CPPFLAGS'
10471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10476 ac_ext=${FC_SRCEXT-f}
10477 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10478 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10480 if test -n "$ac_tool_prefix"; then
10481 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10483 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10484 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10485 echo "$as_me:$LINENO: checking for $ac_word" >&5
10486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10487 if test "${ac_cv_prog_FC+set}" = set; then
10488 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 if test -n "$FC"; then
10491 ac_cv_prog_FC="$FC" # Let the user override the test.
10493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10494 for as_dir in $PATH
10497 test -z "$as_dir" && as_dir=.
10498 for ac_exec_ext in '' $ac_executable_extensions; do
10499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10500 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 if test -n "$FC"; then
10511 echo "$as_me:$LINENO: result: $FC" >&5
10512 echo "${ECHO_T}$FC" >&6
10514 echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6
10518 test -n "$FC" && break
10521 if test -z "$FC"; then
10523 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 echo "$as_me:$LINENO: checking for $ac_word" >&5
10528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10529 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10530 echo $ECHO_N "(cached) $ECHO_C" >&6
10532 if test -n "$ac_ct_FC"; then
10533 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10536 for as_dir in $PATH
10539 test -z "$as_dir" && as_dir=.
10540 for ac_exec_ext in '' $ac_executable_extensions; do
10541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10542 ac_cv_prog_ac_ct_FC="$ac_prog"
10543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10551 ac_ct_FC=$ac_cv_prog_ac_ct_FC
10552 if test -n "$ac_ct_FC"; then
10553 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
10554 echo "${ECHO_T}$ac_ct_FC" >&6
10556 echo "$as_me:$LINENO: result: no" >&5
10557 echo "${ECHO_T}no" >&6
10560 test -n "$ac_ct_FC" && break
10567 # Provide some information about the compiler.
10568 echo "$as_me:10568:" \
10569 "checking for Fortran compiler version" >&5
10570 ac_compiler=`set X $ac_compile; echo $2`
10571 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
10572 (eval $ac_compiler --version </dev/null >&5) 2>&5
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }
10576 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
10577 (eval $ac_compiler -v </dev/null >&5) 2>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); }
10581 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
10582 (eval $ac_compiler -V </dev/null >&5) 2>&5
10584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10585 (exit $ac_status); }
10588 # If we don't use `.F' as extension, the preprocessor is not run on the
10589 # input file. (Note that this only needs to work for GNU compilers.)
10590 ac_save_ext=$ac_ext
10592 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
10593 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
10594 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
10595 echo $ECHO_N "(cached) $ECHO_C" >&6
10597 cat >conftest.$ac_ext <<_ACEOF
10605 rm -f conftest.$ac_objext
10606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10607 (eval $ac_compile) 2>conftest.er1
10609 grep -v '^ *+' conftest.er1 >conftest.err
10611 cat conftest.err >&5
10612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10613 (exit $ac_status); } &&
10614 { ac_try='test -z "$ac_fc_werror_flag"
10615 || test ! -s conftest.err'
10616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10617 (eval $ac_try) 2>&5
10619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10620 (exit $ac_status); }; } &&
10621 { ac_try='test -s conftest.$ac_objext'
10622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10623 (eval $ac_try) 2>&5
10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10626 (exit $ac_status); }; }; then
10627 ac_compiler_gnu=yes
10629 echo "$as_me: failed program was:" >&5
10630 sed 's/^/| /' conftest.$ac_ext >&5
10634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10635 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
10638 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
10639 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
10640 ac_ext=$ac_save_ext
10641 ac_test_FFLAGS=${FCFLAGS+set}
10642 ac_save_FFLAGS=$FCFLAGS
10644 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
10645 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
10646 if test "${ac_cv_prog_fc_g+set}" = set; then
10647 echo $ECHO_N "(cached) $ECHO_C" >&6
10650 cat >conftest.$ac_ext <<_ACEOF
10655 rm -f conftest.$ac_objext
10656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10657 (eval $ac_compile) 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } &&
10664 { ac_try='test -z "$ac_fc_werror_flag"
10665 || test ! -s conftest.err'
10666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10667 (eval $ac_try) 2>&5
10669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10670 (exit $ac_status); }; } &&
10671 { ac_try='test -s conftest.$ac_objext'
10672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10673 (eval $ac_try) 2>&5
10675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10676 (exit $ac_status); }; }; then
10677 ac_cv_prog_fc_g=yes
10679 echo "$as_me: failed program was:" >&5
10680 sed 's/^/| /' conftest.$ac_ext >&5
10684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10687 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
10688 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
10689 if test "$ac_test_FFLAGS" = set; then
10690 FCFLAGS=$ac_save_FFLAGS
10691 elif test $ac_cv_prog_fc_g = yes; then
10692 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10698 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
10706 ac_cpp='$CPP $CPPFLAGS'
10707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10711 if test -z "$FC" || test "X$FC" = "Xno"; then
10717 ac_ext=${FC_SRCEXT-f}
10718 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10719 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10720 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10723 archive_cmds_need_lc_FC=no
10724 allow_undefined_flag_FC=
10725 always_export_symbols_FC=no
10726 archive_expsym_cmds_FC=
10727 export_dynamic_flag_spec_FC=
10728 hardcode_direct_FC=no
10729 hardcode_direct_absolute_FC=no
10730 hardcode_libdir_flag_spec_FC=
10731 hardcode_libdir_flag_spec_ld_FC=
10732 hardcode_libdir_separator_FC=
10733 hardcode_minus_L_FC=no
10734 hardcode_automatic_FC=no
10735 inherit_rpath_FC=no
10737 module_expsym_cmds_FC=
10738 link_all_deplibs_FC=unknown
10739 old_archive_cmds_FC=$old_archive_cmds
10740 no_undefined_flag_FC=
10741 whole_archive_flag_spec_FC=
10742 enable_shared_with_static_runtimes_FC=no
10744 # Source file extension for fc test sources.
10745 ac_ext=${ac_fc_srcext-f}
10747 # Object file extension for compiled fc test sources.
10751 # No sense in running all these tests if we already determined that
10752 # the FC compiler isn't working. Some variables (like enable_shared)
10753 # are currently assumed to apply to all compilers on this platform,
10754 # and will be corrupted by setting them based on a non-working compiler.
10755 if test "$_lt_disable_FC" != yes; then
10756 # Code to be used in simple compile tests
10757 lt_simple_compile_test_code="\
10763 # Code to be used in simple link tests
10764 lt_simple_link_test_code="\
10769 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10776 # If no C compiler was specified, use CC.
10779 # If no C compiler flags were specified, use CFLAGS.
10780 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10782 # Allow CC to be a program name with arguments.
10786 # save warnings/boilerplate of simple test code
10787 ac_outfile=conftest.$ac_objext
10788 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10789 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10790 _lt_compiler_boilerplate=`cat conftest.err`
10793 ac_outfile=conftest.$ac_objext
10794 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10795 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10796 _lt_linker_boilerplate=`cat conftest.err`
10800 # Allow CC to be a program name with arguments.
10805 for cc_temp in $compiler""; do
10807 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10808 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10813 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10816 if test -n "$compiler"; then
10817 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10818 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10819 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10820 echo "${ECHO_T}$can_build_shared" >&6
10822 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10823 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10824 test "$can_build_shared" = "no" && enable_shared=no
10826 # On AIX, shared libraries and static libraries use the same namespace, and
10827 # are all built from PIC.
10830 test "$enable_shared" = yes && enable_static=no
10831 if test -n "$RANLIB"; then
10832 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10833 postinstall_cmds='$RANLIB $lib'
10837 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10838 test "$enable_shared" = yes && enable_static=no
10842 echo "$as_me:$LINENO: result: $enable_shared" >&5
10843 echo "${ECHO_T}$enable_shared" >&6
10845 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10846 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10847 # Make sure either enable_shared or enable_static is yes.
10848 test "$enable_shared" = yes || enable_static=yes
10849 echo "$as_me:$LINENO: result: $enable_static" >&5
10850 echo "${ECHO_T}$enable_static" >&6
10852 GCC_FC="$ac_cv_fc_compiler_gnu"
10856 ## There is no encapsulation within the following macros, do not change
10857 ## the running order or otherwise move them around unless you know exactly
10858 ## what you are doing...
10859 # Dependencies to place before and after the object being linked:
10861 postdep_objects_FC=
10864 compiler_lib_search_path_FC=
10866 cat > conftest.$ac_ext <<_LT_EOF
10875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10876 (eval $ac_compile) 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; then
10880 # Parse the compiler output and extract the necessary
10881 # objects, libraries and library flags.
10883 # Sentinel used to keep track of whether or not we are before
10884 # the conftest object file.
10885 pre_test_object_deps_done=no
10887 # The `*' in the case matches for architectures that use `case' in
10888 # $output_verbose_cmd can trigger glob expansion during the loop
10889 # eval without this substitution.
10890 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10892 for p in `eval $output_verbose_link_cmd`; do
10896 # Some compilers place space between "-{L,R}" and the path.
10897 # Remove the space.
10898 if test $p = "-L" ||
10899 test $p = "-R"; then
10906 if test "$pre_test_object_deps_done" = no; then
10909 # Internal compiler library paths should come after those
10910 # provided the user. The postdeps already come after the
10911 # user supplied libs so there is no need to process them.
10912 if test -z "$compiler_lib_search_path_FC"; then
10913 compiler_lib_search_path_FC="${prev}${p}"
10915 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
10918 # The "-l" case would never come before the object being
10919 # linked, so don't bother handling this case.
10922 if test -z "$postdeps_FC"; then
10923 postdeps_FC="${prev}${p}"
10925 postdeps_FC="${postdeps_FC} ${prev}${p}"
10931 # This assumes that the test object file only shows up
10932 # once in the compiler output.
10933 if test "$p" = "conftest.$objext"; then
10934 pre_test_object_deps_done=yes
10938 if test "$pre_test_object_deps_done" = no; then
10939 if test -z "$predep_objects_FC"; then
10940 predep_objects_FC="$p"
10942 predep_objects_FC="$predep_objects_FC $p"
10945 if test -z "$postdep_objects_FC"; then
10946 postdep_objects_FC="$p"
10948 postdep_objects_FC="$postdep_objects_FC $p"
10953 *) ;; # Ignore the rest.
10961 echo "libtool.m4: error: problem compiling FC test program"
10964 $RM -f confest.$objext
10966 # PORTME: override above test on systems where it is broken
10969 case " $postdeps_FC " in
10970 *" -lc "*) archive_cmds_need_lc_FC=no ;;
10998 lt_prog_compiler_wl_FC=
10999 lt_prog_compiler_pic_FC=
11000 lt_prog_compiler_static_FC=
11002 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11003 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11005 if test "$GCC" = yes; then
11006 lt_prog_compiler_wl_FC='-Wl,'
11007 lt_prog_compiler_static_FC='-static'
11011 # All AIX code is PIC.
11012 if test "$host_cpu" = ia64; then
11013 # AIX 5 now supports IA64 processor
11014 lt_prog_compiler_static_FC='-Bstatic'
11019 if test "$host_cpu" = m68k; then
11020 # FIXME: we need at least 68020 code to build shared libraries, but
11021 # adding the `-m68020' flag to GCC prevents building anything better,
11023 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11027 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11028 # PIC is the default for these OSes.
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 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11035 # (--disable-auto-import) libraries
11036 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11039 darwin* | rhapsody*)
11040 # PIC is the default on this platform
11041 # Common symbols not allowed in MH_DYLIB files
11042 lt_prog_compiler_pic_FC='-fno-common'
11046 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11047 # not for PA HP-UX.
11053 lt_prog_compiler_pic_FC='-fPIC'
11059 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11060 # Instead, we relocate shared libraries at runtime.
11064 # Just because we use GCC doesn't mean we suddenly get shared libraries
11065 # on systems that don't support them.
11066 lt_prog_compiler_can_build_shared_FC=no
11071 # QNX uses GNU C++, but need to define -shared option too, otherwise
11072 # it will coredump.
11073 lt_prog_compiler_pic_FC='-fPIC -shared'
11077 if test -d /usr/nec; then
11078 lt_prog_compiler_pic_FC=-Kconform_pic
11083 lt_prog_compiler_pic_FC='-fPIC'
11087 # PORTME Check for flag to pass linker flags through the system compiler.
11090 lt_prog_compiler_wl_FC='-Wl,'
11091 if test "$host_cpu" = ia64; then
11092 # AIX 5 now supports IA64 processor
11093 lt_prog_compiler_static_FC='-Bstatic'
11095 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11099 # PIC is the default on this platform
11100 # Common symbols not allowed in MH_DYLIB files
11101 case $cc_basename in
11103 lt_prog_compiler_pic_FC='-qnocommon'
11104 lt_prog_compiler_wl_FC='-Wl,'
11109 mingw* | cygwin* | pw32* | os2*)
11110 # This hack is so that the source file can tell whether it is being
11111 # built for inclusion in a dll (and should export symbols for example).
11112 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11115 hpux9* | hpux10* | hpux11*)
11116 lt_prog_compiler_wl_FC='-Wl,'
11117 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11118 # not for PA HP-UX.
11124 lt_prog_compiler_pic_FC='+Z'
11127 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11128 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11131 irix5* | irix6* | nonstopux*)
11132 lt_prog_compiler_wl_FC='-Wl,'
11133 # PIC (with -KPIC) is the default.
11134 lt_prog_compiler_static_FC='-non_shared'
11137 linux* | k*bsd*-gnu)
11138 case $cc_basename in
11140 lt_prog_compiler_wl_FC='-Wl,'
11141 lt_prog_compiler_pic_FC='-KPIC'
11142 lt_prog_compiler_static_FC='-static'
11144 pgcc* | pgf77* | pgf90* | pgf95*)
11145 # Portland Group compilers (*not* the Pentium gcc compiler,
11146 # which looks to be a dead project)
11147 lt_prog_compiler_wl_FC='-Wl,'
11148 lt_prog_compiler_pic_FC='-fpic'
11149 lt_prog_compiler_static_FC='-Bstatic'
11152 lt_prog_compiler_wl_FC='-Wl,'
11153 # All Alpha code is PIC.
11154 lt_prog_compiler_static_FC='-non_shared'
11157 case `$CC -V 2>&1 | sed 5q` in
11160 lt_prog_compiler_pic_FC='-KPIC'
11161 lt_prog_compiler_static_FC='-Bstatic'
11162 lt_prog_compiler_wl_FC='-Wl,'
11165 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11166 lt_prog_compiler_pic_FC='-KPIC'
11167 lt_prog_compiler_static_FC='-Bstatic'
11168 lt_prog_compiler_wl_FC=''
11176 lt_prog_compiler_pic_FC='-KPIC'
11177 lt_prog_compiler_static_FC='-Bstatic'
11181 # QNX uses GNU C++, but need to define -shared option too, otherwise
11182 # it will coredump.
11183 lt_prog_compiler_pic_FC='-fPIC -shared'
11186 osf3* | osf4* | osf5*)
11187 lt_prog_compiler_wl_FC='-Wl,'
11188 # All OSF/1 code is PIC.
11189 lt_prog_compiler_static_FC='-non_shared'
11193 lt_prog_compiler_static_FC='-non_shared'
11197 lt_prog_compiler_pic_FC='-KPIC'
11198 lt_prog_compiler_static_FC='-Bstatic'
11199 case $cc_basename in
11200 f77* | f90* | f95*)
11201 lt_prog_compiler_wl_FC='-Qoption ld ';;
11203 lt_prog_compiler_wl_FC='-Wl,';;
11208 lt_prog_compiler_wl_FC='-Qoption ld '
11209 lt_prog_compiler_pic_FC='-PIC'
11210 lt_prog_compiler_static_FC='-Bstatic'
11213 sysv4 | sysv4.2uw2* | sysv4.3*)
11214 lt_prog_compiler_wl_FC='-Wl,'
11215 lt_prog_compiler_pic_FC='-KPIC'
11216 lt_prog_compiler_static_FC='-Bstatic'
11220 if test -d /usr/nec ;then
11221 lt_prog_compiler_pic_FC='-Kconform_pic'
11222 lt_prog_compiler_static_FC='-Bstatic'
11226 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11227 lt_prog_compiler_wl_FC='-Wl,'
11228 lt_prog_compiler_pic_FC='-KPIC'
11229 lt_prog_compiler_static_FC='-Bstatic'
11233 lt_prog_compiler_wl_FC='-Wl,'
11234 lt_prog_compiler_can_build_shared_FC=no
11238 lt_prog_compiler_pic_FC='-pic'
11239 lt_prog_compiler_static_FC='-Bstatic'
11243 lt_prog_compiler_can_build_shared_FC=no
11249 # For platforms which do not support PIC, -DPIC is meaningless:
11251 lt_prog_compiler_pic_FC=
11254 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11257 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11258 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11263 # Check to make sure the PIC flag actually works.
11265 if test -n "$lt_prog_compiler_pic_FC"; then
11266 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11267 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11268 if test "${lt_prog_compiler_pic_works_FC+set}" = set; then
11269 echo $ECHO_N "(cached) $ECHO_C" >&6
11271 lt_prog_compiler_pic_works_FC=no
11272 ac_outfile=conftest.$ac_objext
11273 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11274 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11275 # Insert the option either (1) after the last *FLAGS variable, or
11276 # (2) before a word containing "conftest.", or (3) at the end.
11277 # Note that $ac_compile itself does not contain backslashes and begins
11278 # with a dollar sign (not a hyphen), so the echo should work correctly.
11279 # The option is referenced via a variable to avoid confusing sed.
11280 lt_compile=`echo "$ac_compile" | $SED \
11281 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11282 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11283 -e 's:$: $lt_compiler_flag:'`
11284 (eval echo "\"\$as_me:11284: $lt_compile\"" >&5)
11285 (eval "$lt_compile" 2>conftest.err)
11287 cat conftest.err >&5
11288 echo "$as_me:11288: \$? = $ac_status" >&5
11289 if (exit $ac_status) && test -s "$ac_outfile"; then
11290 # The compiler can only warn and ignore the option if not recognized
11291 # So say no if there are warnings other than the usual output.
11292 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
11293 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11294 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11295 lt_prog_compiler_pic_works_FC=yes
11301 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_FC" >&5
11302 echo "${ECHO_T}$lt_prog_compiler_pic_works_FC" >&6
11304 if test x"$lt_prog_compiler_pic_works_FC" = xyes; then
11305 case $lt_prog_compiler_pic_FC in
11307 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
11310 lt_prog_compiler_pic_FC=
11311 lt_prog_compiler_can_build_shared_FC=no
11319 # Check to make sure the static flag actually works.
11321 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
11322 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11323 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
11324 if test "${lt_prog_compiler_static_works_FC+set}" = set; then
11325 echo $ECHO_N "(cached) $ECHO_C" >&6
11327 lt_prog_compiler_static_works_FC=no
11328 save_LDFLAGS="$LDFLAGS"
11329 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11330 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11331 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11332 # The linker can only warn and ignore the option if not recognized
11333 # So say no if there are warnings
11334 if test -s conftest.err; then
11335 # Append any errors to the config.log.
11336 cat conftest.err 1>&5
11337 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
11338 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11339 if diff conftest.exp conftest.er2 >/dev/null; then
11340 lt_prog_compiler_static_works_FC=yes
11343 lt_prog_compiler_static_works_FC=yes
11347 LDFLAGS="$save_LDFLAGS"
11350 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_FC" >&5
11351 echo "${ECHO_T}$lt_prog_compiler_static_works_FC" >&6
11353 if test x"$lt_prog_compiler_static_works_FC" = xyes; then
11356 lt_prog_compiler_static_FC=
11362 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11363 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11364 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11365 echo $ECHO_N "(cached) $ECHO_C" >&6
11367 lt_cv_prog_compiler_c_o_FC=no
11368 $RM -r conftest 2>/dev/null
11372 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11374 lt_compiler_flag="-o out/conftest2.$ac_objext"
11375 # Insert the option either (1) after the last *FLAGS variable, or
11376 # (2) before a word containing "conftest.", or (3) at the end.
11377 # Note that $ac_compile itself does not contain backslashes and begins
11378 # with a dollar sign (not a hyphen), so the echo should work correctly.
11379 lt_compile=`echo "$ac_compile" | $SED \
11380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11382 -e 's:$: $lt_compiler_flag:'`
11383 (eval echo "\"\$as_me:11383: $lt_compile\"" >&5)
11384 (eval "$lt_compile" 2>out/conftest.err)
11386 cat out/conftest.err >&5
11387 echo "$as_me:11387: \$? = $ac_status" >&5
11388 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11390 # The compiler can only warn and ignore the option if not recognized
11391 # So say no if there are warnings
11392 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11393 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11394 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11395 lt_cv_prog_compiler_c_o_FC=yes
11400 # SGI C++ compiler will create directory out/ii_files/ for
11401 # template instantiation
11402 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11403 $RM out/* && rmdir out
11409 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11410 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11414 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
11415 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
11416 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
11417 echo $ECHO_N "(cached) $ECHO_C" >&6
11419 lt_cv_prog_compiler_c_o_FC=no
11420 $RM -r conftest 2>/dev/null
11424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11426 lt_compiler_flag="-o out/conftest2.$ac_objext"
11427 # Insert the option either (1) after the last *FLAGS variable, or
11428 # (2) before a word containing "conftest.", or (3) at the end.
11429 # Note that $ac_compile itself does not contain backslashes and begins
11430 # with a dollar sign (not a hyphen), so the echo should work correctly.
11431 lt_compile=`echo "$ac_compile" | $SED \
11432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11434 -e 's:$: $lt_compiler_flag:'`
11435 (eval echo "\"\$as_me:11435: $lt_compile\"" >&5)
11436 (eval "$lt_compile" 2>out/conftest.err)
11438 cat out/conftest.err >&5
11439 echo "$as_me:11439: \$? = $ac_status" >&5
11440 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11442 # The compiler can only warn and ignore the option if not recognized
11443 # So say no if there are warnings
11444 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
11445 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11446 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11447 lt_cv_prog_compiler_c_o_FC=yes
11452 # SGI C++ compiler will create directory out/ii_files/ for
11453 # template instantiation
11454 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11455 $RM out/* && rmdir out
11461 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
11462 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
11467 hard_links="nottested"
11468 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
11469 # do not overwrite the value of need_locks provided by the user
11470 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
11471 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
11474 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11476 ln conftest.a conftest.b 2>&5 || hard_links=no
11477 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11478 echo "$as_me:$LINENO: result: $hard_links" >&5
11479 echo "${ECHO_T}$hard_links" >&6
11480 if test "$hard_links" = no; then
11481 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11482 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11491 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11492 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11495 allow_undefined_flag_FC=
11496 always_export_symbols_FC=no
11498 archive_expsym_cmds_FC=
11499 compiler_needs_object_FC=no
11500 enable_shared_with_static_runtimes_FC=no
11501 export_dynamic_flag_spec_FC=
11502 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11503 hardcode_automatic_FC=no
11504 hardcode_direct_FC=no
11505 hardcode_direct_absolute_FC=no
11506 hardcode_libdir_flag_spec_FC=
11507 hardcode_libdir_flag_spec_ld_FC=
11508 hardcode_libdir_separator_FC=
11509 hardcode_minus_L_FC=no
11510 hardcode_shlibpath_var_FC=unsupported
11511 inherit_rpath_FC=no
11512 link_all_deplibs_FC=unknown
11514 module_expsym_cmds_FC=
11515 old_archive_from_new_cmds_FC=
11516 old_archive_from_expsyms_cmds_FC=
11517 thread_safe_flag_spec_FC=
11518 whole_archive_flag_spec_FC=
11519 # include_expsyms should be a list of space-separated symbols to be *always*
11520 # included in the symbol list
11521 include_expsyms_FC=
11522 # exclude_expsyms can be an extended regexp of symbols to exclude
11523 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11524 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11525 # as well as any symbol that contains `d'.
11526 exclude_expsyms_FC="_GLOBAL_OFFSET_TABLE_"
11527 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11528 # platforms (ab)use it in PIC code, but their linkers get confused if
11529 # the symbol is explicitly referenced. Since portable code cannot
11530 # rely on this symbol name, it's probably fine to never include it in
11531 # preloaded symbol tables.
11532 extract_expsyms_cmds=
11535 cygwin* | mingw* | pw32*)
11536 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11537 # When not using gcc, we currently assume that we are using
11538 # Microsoft Visual C++.
11539 if test "$GCC" != yes; then
11544 # we just hope/assume this is gcc and not c89 (= MSVC++)
11553 if test "$with_gnu_ld" = yes; then
11554 # If archive_cmds runs LD, not CC, wlarc should be empty
11557 # Set some defaults for GNU ld with shared library support. These
11558 # are reset later if shared libraries are not supported. Putting them
11559 # here allows them to be overridden if necessary.
11560 runpath_var=LD_RUN_PATH
11561 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11562 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
11563 # ancient GNU ld didn't support --whole-archive et. al.
11564 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11565 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11567 whole_archive_flag_spec_FC=
11569 supports_anon_versioning=no
11570 case `$LD -v 2>&1` in
11571 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11572 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11573 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11574 *\ 2.11.*) ;; # other 2.11 versions
11575 *) supports_anon_versioning=yes ;;
11578 # See if GNU ld supports shared libraries.
11581 # On AIX/PPC, the GNU linker is very broken
11582 if test "$host_cpu" != ia64; then
11586 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
11587 *** to be unable to reliably create shared libraries on AIX.
11588 *** Therefore, libtool is disabling shared libraries support. If you
11589 *** really care for shared libraries, you may want to modify your PATH
11590 *** so that a non-GNU linker is found, and then restart.
11597 if test "$host_cpu" = m68k; then
11598 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)'
11599 hardcode_libdir_flag_spec_FC='-L$libdir'
11600 hardcode_minus_L_FC=yes
11603 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
11604 # that the semantics of dynamic libraries on AmigaOS, at least up
11605 # to version 4, is to share data among multiple programs linked
11606 # with the same dynamic library. Since this doesn't match the
11607 # behavior of shared libraries on other platforms, we can't use
11613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11614 allow_undefined_flag_FC=unsupported
11615 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11616 # support --undefined. This deserves some investigation. FIXME
11617 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11623 cygwin* | mingw* | pw32*)
11624 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
11625 # as there is no search path for DLLs.
11626 hardcode_libdir_flag_spec_FC='-L$libdir'
11627 allow_undefined_flag_FC=unsupported
11628 always_export_symbols_FC=no
11629 enable_shared_with_static_runtimes_FC=yes
11630 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11632 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11633 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11634 # If the export-symbols file already is a .def file (1st line
11635 # is EXPORTS), use it as is; otherwise, prepend...
11636 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11637 cp $export_symbols $output_objdir/$soname.def;
11639 echo EXPORTS > $output_objdir/$soname.def;
11640 cat $export_symbols >> $output_objdir/$soname.def;
11642 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11649 hardcode_direct_FC=no
11650 hardcode_shlibpath_var_FC=no
11651 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
11652 export_dynamic_flag_spec_FC='${wl}-E'
11653 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11654 # Instead, shared libraries are loaded at an image base (0x10000000 by
11655 # default) and relocated if they conflict, which is a slow very memory
11656 # consuming and fragmenting process. To avoid this, we pick a random,
11657 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11658 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11659 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'
11660 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'
11663 gnu* | linux* | tpf* | k*bsd*-gnu)
11665 if test "$host_os" = linux-dietlibc; then
11666 case $cc_basename in
11667 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11670 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11671 && test "$tmp_diet" = no
11674 case $cc_basename,$host_cpu in
11675 pgcc*) # Portland Group C compiler
11676 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'
11677 tmp_addflag=' $pic_flag'
11679 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
11680 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'
11681 tmp_addflag=' $pic_flag -Mnomain' ;;
11682 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11683 tmp_addflag=' -i_dynamic' ;;
11684 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11685 tmp_addflag=' -i_dynamic -nofor_main' ;;
11686 ifc* | ifort*) # Intel Fortran compiler
11687 tmp_addflag=' -nofor_main' ;;
11689 case `$CC -V 2>&1 | sed 5q` in
11690 *Sun\ C*) # Sun C 5.9
11691 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'
11692 compiler_needs_object_FC=yes
11693 tmp_sharedflag='-G' ;;
11694 *Sun\ F*) # Sun Fortran 8.3
11695 tmp_sharedflag='-G' ;;
11697 tmp_sharedflag='-shared' ;;
11699 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11701 if test "x$supports_anon_versioning" = xyes; then
11702 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
11703 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11704 echo "local: *; };" >> $output_objdir/$libname.ver~
11705 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11713 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11714 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11717 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11718 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11723 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11727 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11728 *** create shared libraries on Solaris systems. Therefore, libtool
11729 *** is disabling shared libraries support. We urge you to upgrade GNU
11730 *** binutils to release 2.9.1 or newer. Another option is to modify
11731 *** your PATH or compiler configuration so that the native linker is
11732 *** used, and then restart.
11735 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11736 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11737 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11743 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11744 case `$LD -v 2>&1` in
11745 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11749 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11750 *** reliably create shared libraries on SCO systems. Therefore, libtool
11751 *** is disabling shared libraries support. We urge you to upgrade GNU
11752 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11753 *** your PATH or compiler configuration so that the native linker is
11754 *** used, and then restart.
11759 # For security reasons, it is highly recommended that you always
11760 # use absolute paths for naming shared libraries, and exclude the
11761 # DT_RUNPATH tag from executables and libraries. But doing so
11762 # requires that you compile everything twice, which is a pain.
11763 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11764 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
11765 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11766 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11775 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11777 hardcode_direct_FC=yes
11778 hardcode_shlibpath_var_FC=no
11782 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11783 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11784 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11791 if test "$ld_shlibs_FC" = no; then
11793 hardcode_libdir_flag_spec_FC=
11794 export_dynamic_flag_spec_FC=
11795 whole_archive_flag_spec_FC=
11798 # PORTME fill in a description of your system's linker (not GNU ld)
11801 allow_undefined_flag_FC=unsupported
11802 always_export_symbols_FC=yes
11803 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'
11804 # Note: this linker hardcodes the directories in LIBPATH if there
11805 # are no directories specified by -L.
11806 hardcode_minus_L_FC=yes
11807 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11808 # Neither direct hardcoding nor static linking is supported with a
11810 hardcode_direct_FC=unsupported
11815 if test "$host_cpu" = ia64; then
11816 # On IA64, the linker does run time linking by default, so we don't
11817 # have to do anything special.
11818 aix_use_runtimelinking=no
11819 exp_sym_flag='-Bexport'
11822 # If we're using GNU nm, then we don't want the "-C" option.
11823 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11824 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11825 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'
11827 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'
11829 aix_use_runtimelinking=no
11831 # Test if we are trying to use run time linking or normal
11832 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11833 # need to do runtime linking.
11834 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11835 for ld_flag in $LDFLAGS; do
11836 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11837 aix_use_runtimelinking=yes
11844 exp_sym_flag='-bexport'
11845 no_entry_flag='-bnoentry'
11848 # When large executables or shared objects are built, AIX ld can
11849 # have problems creating the table of contents. If linking a library
11850 # or program results in "error TOC overflow" add -mminimal-toc to
11851 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11852 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11855 hardcode_direct_FC=yes
11856 hardcode_direct_absolute_FC=yes
11857 hardcode_libdir_separator_FC=':'
11858 link_all_deplibs_FC=yes
11859 file_list_spec_FC='${wl}-f,'
11861 if test "$GCC" = yes; then
11862 case $host_os in aix4.[012]|aix4.[012].*)
11863 # We only want to do this on AIX 4.2 and lower, the check
11864 # below for broken collect2 doesn't work under 4.3+
11865 collect2name=`${CC} -print-prog-name=collect2`
11866 if test -f "$collect2name" &&
11867 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11869 # We have reworked collect2
11872 # We have old collect2
11873 hardcode_direct_FC=unsupported
11874 # It fails to find uninstalled libraries when the uninstalled
11875 # path is not listed in the libpath. Setting hardcode_minus_L
11876 # to unsupported forces relinking
11877 hardcode_minus_L_FC=yes
11878 hardcode_libdir_flag_spec_FC='-L$libdir'
11879 hardcode_libdir_separator_FC=
11883 shared_flag='-shared'
11884 if test "$aix_use_runtimelinking" = yes; then
11885 shared_flag="$shared_flag "'${wl}-G'
11889 if test "$host_cpu" = ia64; then
11890 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11891 # chokes on -Wl,-G. The following line is correct:
11894 if test "$aix_use_runtimelinking" = yes; then
11895 shared_flag='${wl}-G'
11897 shared_flag='${wl}-bM:SRE'
11902 # It seems that -bexpall does not export symbols beginning with
11903 # underscore (_), so it is better to generate a list of symbols to export.
11904 always_export_symbols_FC=yes
11905 if test "$aix_use_runtimelinking" = yes; then
11906 # Warning - without using the other runtime loading flags (-brtl),
11907 # -berok will link without error, but may produce a broken library.
11908 allow_undefined_flag_FC='-berok'
11909 # Determine the default libpath from the value encoded in an
11910 # empty executable.
11911 if test x$gcc_no_link = xyes; then
11912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11914 { (exit 1); exit 1; }; }
11916 cat >conftest.$ac_ext <<_ACEOF
11921 rm -f conftest.$ac_objext conftest$ac_exeext
11922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11923 (eval $ac_link) 2>conftest.er1
11925 grep -v '^ *+' conftest.er1 >conftest.err
11927 cat conftest.err >&5
11928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11929 (exit $ac_status); } &&
11930 { ac_try='test -z "$ac_fc_werror_flag"
11931 || test ! -s conftest.err'
11932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11933 (eval $ac_try) 2>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); }; } &&
11937 { ac_try='test -s conftest$ac_exeext'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; }; then
11944 lt_aix_libpath_sed='
11945 /Import File Strings/,/^$/ {
11951 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11952 # Check for a 64-bit object if we didn't find anything.
11953 if test -z "$aix_libpath"; then
11954 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11957 echo "$as_me: failed program was:" >&5
11958 sed 's/^/| /' conftest.$ac_ext >&5
11961 rm -f conftest.err conftest.$ac_objext \
11962 conftest$ac_exeext conftest.$ac_ext
11963 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11965 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
11966 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"
11968 if test "$host_cpu" = ia64; then
11969 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
11970 allow_undefined_flag_FC="-z nodefs"
11971 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"
11973 # Determine the default libpath from the value encoded in an
11974 # empty executable.
11975 if test x$gcc_no_link = xyes; then
11976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11978 { (exit 1); exit 1; }; }
11980 cat >conftest.$ac_ext <<_ACEOF
11985 rm -f conftest.$ac_objext conftest$ac_exeext
11986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11987 (eval $ac_link) 2>conftest.er1
11989 grep -v '^ *+' conftest.er1 >conftest.err
11991 cat conftest.err >&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); } &&
11994 { ac_try='test -z "$ac_fc_werror_flag"
11995 || test ! -s conftest.err'
11996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11997 (eval $ac_try) 2>&5
11999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12000 (exit $ac_status); }; } &&
12001 { ac_try='test -s conftest$ac_exeext'
12002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12003 (eval $ac_try) 2>&5
12005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12006 (exit $ac_status); }; }; then
12008 lt_aix_libpath_sed='
12009 /Import File Strings/,/^$/ {
12015 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12016 # Check for a 64-bit object if we didn't find anything.
12017 if test -z "$aix_libpath"; then
12018 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12021 echo "$as_me: failed program was:" >&5
12022 sed 's/^/| /' conftest.$ac_ext >&5
12025 rm -f conftest.err conftest.$ac_objext \
12026 conftest$ac_exeext conftest.$ac_ext
12027 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12029 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12030 # Warning - without using the other run time loading flags,
12031 # -berok will link without error, but may produce a broken library.
12032 no_undefined_flag_FC=' ${wl}-bernotok'
12033 allow_undefined_flag_FC=' ${wl}-berok'
12034 # Exported symbols can be pulled into shared objects from archives
12035 whole_archive_flag_spec_FC='$convenience'
12036 archive_cmds_need_lc_FC=yes
12037 # This is similar to how AIX traditionally builds its shared libraries.
12038 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'
12044 if test "$host_cpu" = m68k; then
12045 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)'
12046 hardcode_libdir_flag_spec_FC='-L$libdir'
12047 hardcode_minus_L_FC=yes
12049 # see comment about different semantics on the GNU ld section
12054 export_dynamic_flag_spec_FC=-rdynamic
12057 cygwin* | mingw* | pw32*)
12058 # When not using gcc, we currently assume that we are using
12059 # Microsoft Visual C++.
12060 # hardcode_libdir_flag_spec is actually meaningless, as there is
12061 # no search path for DLLs.
12062 hardcode_libdir_flag_spec_FC=' '
12063 allow_undefined_flag_FC=unsupported
12064 # Tell ltmain to make .lib files, not .a files.
12066 # Tell ltmain to make .dll files, not .so files.
12068 # FIXME: Setting linknames here is a bad hack.
12069 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12070 # The linker will automatically build a .lib file if we build a DLL.
12071 old_archive_from_new_cmds_FC='true'
12072 # FIXME: Should let the user specify the lib program.
12073 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12074 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12075 enable_shared_with_static_runtimes_FC=yes
12078 darwin* | rhapsody*)
12080 rhapsody* | darwin1.[012])
12081 allow_undefined_flag_FC='${wl}-undefined ${wl}suppress'
12084 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
12086 allow_undefined_flag_FC='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
12089 allow_undefined_flag_FC='${wl}-undefined ${wl}dynamic_lookup'
12094 archive_cmds_need_lc_FC=no
12095 hardcode_direct_FC=no
12096 hardcode_automatic_FC=yes
12097 hardcode_shlibpath_var_FC=unsupported
12098 whole_archive_flag_spec_FC=''
12099 link_all_deplibs_FC=yes
12100 if test "$GCC" = yes ; then
12101 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 lt_cv_apple_cc_single_mod=no
12105 if test -z "${LT_MULTI_MODULE}"; then
12106 # By default we will add the -single_module flag. You can override
12107 # by either setting the environment variable LT_MULTI_MODULE
12108 # non-empty at configure time, or by adding -multi-module to the
12110 echo "int foo(void){return 1;}" > conftest.c
12111 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
12112 -dynamiclib ${wl}-single_module conftest.c
12113 if test -f libconftest.dylib; then
12114 lt_cv_apple_cc_single_mod=yes
12115 rm libconftest.dylib
12117 rm conftest.$ac_ext
12121 output_verbose_link_cmd=echo
12122 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
12123 archive_cmds_FC='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12124 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}'
12126 archive_cmds_FC='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
12127 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}'
12129 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12130 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}'
12132 case $cc_basename in
12134 output_verbose_link_cmd=echo
12135 archive_cmds_FC='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
12136 module_cmds_FC='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
12137 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
12138 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}'
12139 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}'
12149 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12150 hardcode_libdir_flag_spec_FC='-L$libdir'
12151 hardcode_shlibpath_var_FC=no
12158 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12159 # support. Future versions do this automatically, but an explicit c++rt0.o
12160 # does not break anything, and helps significantly (at the cost of a little
12163 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12164 hardcode_libdir_flag_spec_FC='-R$libdir'
12165 hardcode_direct_FC=yes
12166 hardcode_shlibpath_var_FC=no
12169 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12171 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12172 hardcode_direct_FC=yes
12173 hardcode_minus_L_FC=yes
12174 hardcode_shlibpath_var_FC=no
12177 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12178 freebsd* | dragonfly*)
12179 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12180 hardcode_libdir_flag_spec_FC='-R$libdir'
12181 hardcode_direct_FC=yes
12182 hardcode_shlibpath_var_FC=no
12186 if test "$GCC" = yes; then
12187 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'
12189 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'
12191 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12192 hardcode_libdir_separator_FC=:
12193 hardcode_direct_FC=yes
12195 # hardcode_minus_L: Not really in the search PATH,
12196 # but as the default location of the library.
12197 hardcode_minus_L_FC=yes
12198 export_dynamic_flag_spec_FC='${wl}-E'
12202 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12203 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12205 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12207 if test "$with_gnu_ld" = no; then
12208 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12209 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12210 hardcode_libdir_separator_FC=:
12211 hardcode_direct_FC=yes
12212 hardcode_direct_absolute_FC=yes
12213 export_dynamic_flag_spec_FC='${wl}-E'
12214 # hardcode_minus_L: Not really in the search PATH,
12215 # but as the default location of the library.
12216 hardcode_minus_L_FC=yes
12221 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12224 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12227 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12230 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12236 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12239 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12242 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12246 if test "$with_gnu_ld" = no; then
12247 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12248 hardcode_libdir_separator_FC=:
12252 hardcode_direct_FC=no
12253 hardcode_shlibpath_var_FC=no
12256 hardcode_direct_FC=yes
12257 hardcode_direct_absolute_FC=yes
12258 export_dynamic_flag_spec_FC='${wl}-E'
12260 # hardcode_minus_L: Not really in the search PATH,
12261 # but as the default location of the library.
12262 hardcode_minus_L_FC=yes
12268 irix5* | irix6* | nonstopux*)
12269 if test "$GCC" = yes; then
12270 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'
12271 # Try to use the -exported_symbol ld option, if it does not
12272 # work, assume that -exports_file does not work either and
12273 # implicitly export all symbols.
12274 save_LDFLAGS="$LDFLAGS"
12275 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12276 if test x$gcc_no_link = xyes; then
12277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12279 { (exit 1); exit 1; }; }
12281 cat >conftest.$ac_ext <<_ACEOF
12284 rm -f conftest.$ac_objext conftest$ac_exeext
12285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12286 (eval $ac_link) 2>conftest.er1
12288 grep -v '^ *+' conftest.er1 >conftest.err
12290 cat conftest.err >&5
12291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12292 (exit $ac_status); } &&
12293 { ac_try='test -z "$ac_fc_werror_flag"
12294 || test ! -s conftest.err'
12295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12296 (eval $ac_try) 2>&5
12298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12299 (exit $ac_status); }; } &&
12300 { ac_try='test -s conftest$ac_exeext'
12301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12302 (eval $ac_try) 2>&5
12304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12305 (exit $ac_status); }; }; then
12306 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'
12309 echo "$as_me: failed program was:" >&5
12310 sed 's/^/| /' conftest.$ac_ext >&5
12313 rm -f conftest.err conftest.$ac_objext \
12314 conftest$ac_exeext conftest.$ac_ext
12315 LDFLAGS="$save_LDFLAGS"
12317 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'
12318 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'
12320 archive_cmds_need_lc_FC='no'
12321 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12322 hardcode_libdir_separator_FC=:
12323 inherit_rpath_FC=yes
12324 link_all_deplibs_FC=yes
12328 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12329 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12331 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12333 hardcode_libdir_flag_spec_FC='-R$libdir'
12334 hardcode_direct_FC=yes
12335 hardcode_shlibpath_var_FC=no
12339 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12340 hardcode_direct_FC=yes
12341 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12342 hardcode_libdir_separator_FC=:
12343 hardcode_shlibpath_var_FC=no
12350 hardcode_direct_FC=yes
12351 hardcode_shlibpath_var_FC=no
12352 hardcode_direct_absolute_FC=yes
12353 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12354 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12355 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12356 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12357 export_dynamic_flag_spec_FC='${wl}-E'
12360 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12361 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12362 hardcode_libdir_flag_spec_FC='-R$libdir'
12365 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12366 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12373 hardcode_libdir_flag_spec_FC='-L$libdir'
12374 hardcode_minus_L_FC=yes
12375 allow_undefined_flag_FC=unsupported
12376 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'
12377 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12381 if test "$GCC" = yes; then
12382 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12383 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'
12385 allow_undefined_flag_FC=' -expect_unresolved \*'
12386 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'
12388 archive_cmds_need_lc_FC='no'
12389 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12390 hardcode_libdir_separator_FC=:
12393 osf4* | osf5*) # as osf3* with the addition of -msym flag
12394 if test "$GCC" = yes; then
12395 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
12396 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'
12397 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12399 allow_undefined_flag_FC=' -expect_unresolved \*'
12400 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'
12401 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~
12402 $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'
12404 # Both c and cxx compiler support -rpath directly
12405 hardcode_libdir_flag_spec_FC='-rpath $libdir'
12407 archive_cmds_need_lc_FC='no'
12408 hardcode_libdir_separator_FC=:
12412 no_undefined_flag_FC=' -z defs'
12413 if test "$GCC" = yes; then
12415 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12416 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12417 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12419 case `$CC -V 2>&1` in
12422 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12423 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12424 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12428 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12429 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12430 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12434 hardcode_libdir_flag_spec_FC='-R$libdir'
12435 hardcode_shlibpath_var_FC=no
12437 solaris2.[0-5] | solaris2.[0-5].*) ;;
12439 # The compiler driver will combine and reorder linker options,
12440 # but understands `-z linker_flag'. GCC discards it without `$wl',
12441 # but is careful enough not to reorder.
12442 # Supported since Solaris 2.6 (maybe 2.5.1?)
12443 if test "$GCC" = yes; then
12444 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12446 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
12450 link_all_deplibs_FC=yes
12454 if test "x$host_vendor" = xsequent; then
12455 # Use $CC to link under sequent, because it throws in some extra .o
12456 # files that make .init and .fini sections work.
12457 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12459 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12461 hardcode_libdir_flag_spec_FC='-L$libdir'
12462 hardcode_direct_FC=yes
12463 hardcode_minus_L_FC=yes
12464 hardcode_shlibpath_var_FC=no
12468 case $host_vendor in
12470 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12471 hardcode_direct_FC=yes # is this really true???
12474 ## LD is ld it makes a PLAMLIB
12475 ## CC just makes a GrossModule.
12476 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12477 reload_cmds_FC='$CC -r -o $output$reload_objs'
12478 hardcode_direct_FC=no
12481 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12482 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
12485 runpath_var='LD_RUN_PATH'
12486 hardcode_shlibpath_var_FC=no
12490 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12491 hardcode_shlibpath_var_FC=no
12492 export_dynamic_flag_spec_FC='-Bexport'
12496 if test -d /usr/nec; then
12497 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12498 hardcode_shlibpath_var_FC=no
12499 runpath_var=LD_RUN_PATH
12500 hardcode_runpath_var=yes
12505 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12506 no_undefined_flag_FC='${wl}-z,text'
12507 archive_cmds_need_lc_FC=no
12508 hardcode_shlibpath_var_FC=no
12509 runpath_var='LD_RUN_PATH'
12511 if test "$GCC" = yes; then
12512 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12513 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12515 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12516 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12520 sysv5* | sco3.2v5* | sco5v6*)
12521 # Note: We can NOT use -z defs as we might desire, because we do not
12522 # link with -lc, and that would cause any symbols used from libc to
12523 # always be unresolved, which means just about no library would
12524 # ever link correctly. If we're not using GNU ld we use -z text
12525 # though, which does catch some bad symbols but isn't as heavy-handed
12527 no_undefined_flag_FC='${wl}-z,text'
12528 allow_undefined_flag_FC='${wl}-z,nodefs'
12529 archive_cmds_need_lc_FC=no
12530 hardcode_shlibpath_var_FC=no
12531 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
12532 hardcode_libdir_separator_FC=':'
12533 link_all_deplibs_FC=yes
12534 export_dynamic_flag_spec_FC='${wl}-Bexport'
12535 runpath_var='LD_RUN_PATH'
12537 if test "$GCC" = yes; then
12538 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12539 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12541 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12542 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12547 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12548 hardcode_libdir_flag_spec_FC='-L$libdir'
12549 hardcode_shlibpath_var_FC=no
12557 if test x$host_vendor = xsni; then
12559 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12560 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
12566 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
12567 echo "${ECHO_T}$ld_shlibs_FC" >&6
12568 test "$ld_shlibs_FC" = no && can_build_shared=no
12570 with_gnu_ld_FC=$with_gnu_ld
12578 # Do we need to explicitly link libc?
12580 case "x$archive_cmds_need_lc_FC" in
12582 # Assume -lc should be added
12583 archive_cmds_need_lc_FC=yes
12585 if test "$enable_shared" = yes && test "$GCC" = yes; then
12586 case $archive_cmds_FC in
12588 # FIXME: we may have to deal with multi-command sequences.
12591 # Test whether the compiler implicitly links with -lc since on some
12592 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12593 # to ld, don't add -lc before -lgcc.
12594 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12595 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12597 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12600 (eval $ac_compile) 2>&5
12602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12603 (exit $ac_status); } 2>conftest.err; then
12606 libobjs=conftest.$ac_objext
12608 wl=$lt_prog_compiler_wl_FC
12609 pic_flag=$lt_prog_compiler_pic_FC
12615 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
12616 allow_undefined_flag_FC=
12617 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12618 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12621 (exit $ac_status); }
12623 archive_cmds_need_lc_FC=no
12625 archive_cmds_need_lc_FC=yes
12627 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
12629 cat conftest.err 1>&5
12632 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
12633 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
12703 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
12704 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
12705 withGCC=$ac_cv_fc_compiler_gnu
12706 library_names_spec=
12707 libname_spec='lib$name'
12711 postuninstall_cmds=
12715 shlibpath_overrides_runpath=unknown
12717 dynamic_linker="$host_os ld.so"
12718 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12719 need_lib_prefix=unknown
12720 hardcode_into_libs=no
12722 # when you set need_version to no, make sure it does not cause -set_version
12723 # flags to be left without arguments
12724 need_version=unknown
12729 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12730 shlibpath_var=LIBPATH
12732 # AIX 3 has no versioning support, so we append a major version to the name.
12733 soname_spec='${libname}${release}${shared_ext}$major'
12740 hardcode_into_libs=yes
12741 if test "$host_cpu" = ia64; then
12742 # AIX 5 supports IA64
12743 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12744 shlibpath_var=LD_LIBRARY_PATH
12746 # With GCC up to 2.95.x, collect2 would create an import file
12747 # for dependence libraries. The import file would start with
12748 # the line `#! .'. This would cause the generated library to
12749 # depend on `.', always an invalid library. This was fixed in
12750 # development snapshots of GCC prior to 3.0.
12752 aix4 | aix4.[01] | aix4.[01].*)
12753 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12755 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
12758 can_build_shared=no
12762 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
12763 # soname into executable. Probably we can add versioning support to
12764 # collect2, so additional links can be useful in future.
12765 if test "$aix_use_runtimelinking" = yes; then
12766 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12767 # instead of lib<name>.a to let people know that these are not
12768 # typical AIX shared libraries.
12769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12771 # We preserve .a as extension for shared libraries through AIX4.2
12772 # and later when we are not doing run time linking.
12773 library_names_spec='${libname}${release}.a $libname.a'
12774 soname_spec='${libname}${release}${shared_ext}$major'
12776 shlibpath_var=LIBPATH
12781 if test "$host_cpu" = m68k; then
12782 library_names_spec='$libname.ixlibrary $libname.a'
12783 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12784 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'
12791 library_names_spec='${libname}${shared_ext}'
12792 dynamic_linker="$host_os ld.so"
12793 shlibpath_var=LIBRARY_PATH
12799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12800 soname_spec='${libname}${release}${shared_ext}$major'
12801 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12802 shlibpath_var=LD_LIBRARY_PATH
12803 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12804 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12805 # the default ld.so.conf also contains /usr/contrib/lib and
12806 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12807 # libtool to hard-code these into programs
12810 cygwin* | mingw* | pw32*)
12811 version_type=windows
12816 case $withGCC,$host_os in
12817 yes,cygwin* | yes,mingw* | yes,pw32*)
12818 library_names_spec='$libname.dll.a'
12819 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12820 postinstall_cmds='base_file=`basename \${file}`~
12821 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
12822 dldir=$destdir/`dirname \$dlpath`~
12823 test -d \$dldir || mkdir -p \$dldir~
12824 $install_prog $dir/$dlname \$dldir/$dlname~
12825 chmod a+x \$dldir/$dlname~
12826 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12827 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12829 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12830 dlpath=$dir/\$dldll~
12832 shlibpath_overrides_runpath=yes
12836 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12837 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12838 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
12841 # MinGW DLLs use traditional 'lib' prefix
12842 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12843 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
12844 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
12845 # It is most probably a Windows format PATH printed by
12846 # mingw gcc, but we are running on Cygwin. Gcc prints its search
12847 # path with ; separators, and with drive letters. We can handle the
12848 # drive letters (cygwin fileutils understands them), so leave them,
12849 # especially as we might pass files found there to a mingw objdump,
12850 # which wouldn't understand a cygwinified path. Ahh.
12851 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
12853 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
12857 # pw32 DLLs use 'pw' prefix rather than 'lib'
12858 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
12864 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
12867 dynamic_linker='Win32 ld.exe'
12868 # FIXME: first we should search . and the directory the executable is in
12872 darwin* | rhapsody*)
12873 dynamic_linker="$host_os dyld"
12874 version_type=darwin
12877 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
12878 soname_spec='${libname}${release}${major}$shared_ext'
12879 shlibpath_overrides_runpath=yes
12880 shlibpath_var=DYLD_LIBRARY_PATH
12881 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
12883 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
12890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
12891 soname_spec='${libname}${release}${shared_ext}$major'
12892 shlibpath_var=LD_LIBRARY_PATH
12899 freebsd* | dragonfly*)
12900 # DragonFly does not have aout. When/if they implement a new
12901 # versioning mechanism, adjust this.
12902 if test -x /usr/bin/objformat; then
12903 objformat=`/usr/bin/objformat`
12906 freebsd[123]*) objformat=aout ;;
12907 *) objformat=elf ;;
12910 version_type=freebsd-$objformat
12911 case $version_type in
12913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12918 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
12922 shlibpath_var=LD_LIBRARY_PATH
12925 shlibpath_overrides_runpath=yes
12927 freebsd3.[01]* | freebsdelf3.[01]*)
12928 shlibpath_overrides_runpath=yes
12929 hardcode_into_libs=yes
12931 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
12932 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
12933 shlibpath_overrides_runpath=no
12934 hardcode_into_libs=yes
12936 *) # from 4.6 on, and DragonFly
12937 shlibpath_overrides_runpath=yes
12938 hardcode_into_libs=yes
12947 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
12948 soname_spec='${libname}${release}${shared_ext}$major'
12949 shlibpath_var=LD_LIBRARY_PATH
12950 hardcode_into_libs=yes
12953 hpux9* | hpux10* | hpux11*)
12954 # Give a soname corresponding to the major version so that dld.sl refuses to
12955 # link against other versions.
12962 hardcode_into_libs=yes
12963 dynamic_linker="$host_os dld.so"
12964 shlibpath_var=LD_LIBRARY_PATH
12965 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12967 soname_spec='${libname}${release}${shared_ext}$major'
12968 if test "X$HPUX_IA64_MODE" = X32; then
12969 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
12971 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
12973 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12977 hardcode_into_libs=yes
12978 dynamic_linker="$host_os dld.sl"
12979 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
12980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
12981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12982 soname_spec='${libname}${release}${shared_ext}$major'
12983 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
12984 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
12988 dynamic_linker="$host_os dld.sl"
12989 shlibpath_var=SHLIB_PATH
12990 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
12991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12992 soname_spec='${libname}${release}${shared_ext}$major'
12995 # HP-UX runs *really* slowly unless shared libraries are mode 555.
12996 postinstall_cmds='chmod 555 $lib'
13003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13004 soname_spec='${libname}${release}${shared_ext}$major'
13005 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13006 shlibpath_var=LD_LIBRARY_PATH
13007 shlibpath_overrides_runpath=no
13008 hardcode_into_libs=yes
13011 irix5* | irix6* | nonstopux*)
13013 nonstopux*) version_type=nonstopux ;;
13015 if test "$lt_cv_prog_gnu_ld" = yes; then
13023 soname_spec='${libname}${release}${shared_ext}$major'
13024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13026 irix5* | nonstopux*)
13027 libsuff= shlibsuff=
13030 case $LD in # libtool.m4 will add one of these switches to LD
13031 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13032 libsuff= shlibsuff= libmagic=32-bit;;
13033 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13034 libsuff=32 shlibsuff=N32 libmagic=N32;;
13035 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13036 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13037 *) libsuff= shlibsuff= libmagic=never-match;;
13041 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13042 shlibpath_overrides_runpath=no
13043 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13044 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13045 hardcode_into_libs=yes
13048 # No shared lib support for Linux oldld, aout, or coff.
13049 linux*oldld* | linux*aout* | linux*coff*)
13053 # This must be Linux ELF.
13054 linux* | k*bsd*-gnu)
13058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13059 soname_spec='${libname}${release}${shared_ext}$major'
13060 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13061 shlibpath_var=LD_LIBRARY_PATH
13062 shlibpath_overrides_runpath=no
13063 # Some binutils ld are patched to set DT_RUNPATH
13064 save_LDFLAGS=$LDFLAGS
13065 save_libdir=$libdir
13066 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13067 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13068 if test x$gcc_no_link = xyes; then
13069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13071 { (exit 1); exit 1; }; }
13073 cat >conftest.$ac_ext <<_ACEOF
13078 rm -f conftest.$ac_objext conftest$ac_exeext
13079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13080 (eval $ac_link) 2>conftest.er1
13082 grep -v '^ *+' conftest.er1 >conftest.err
13084 cat conftest.err >&5
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); } &&
13087 { ac_try='test -z "$ac_fc_werror_flag"
13088 || test ! -s conftest.err'
13089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13090 (eval $ac_try) 2>&5
13092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13093 (exit $ac_status); }; } &&
13094 { ac_try='test -s conftest$ac_exeext'
13095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13096 (eval $ac_try) 2>&5
13098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13099 (exit $ac_status); }; }; then
13100 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13101 shlibpath_overrides_runpath=yes
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.$ac_ext >&5
13109 rm -f conftest.err conftest.$ac_objext \
13110 conftest$ac_exeext conftest.$ac_ext
13111 LDFLAGS=$save_LDFLAGS
13112 libdir=$save_libdir
13114 # This implies no fast_install, which is unacceptable.
13115 # Some rework will be needed to allow for fast_install
13116 # before this can be enabled.
13117 hardcode_into_libs=yes
13119 # Append ld.so.conf contents to the search path
13120 if test -f /etc/ld.so.conf; then
13121 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' ' '`
13122 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13125 # We used to test for /lib/ld.so.1 and disable shared libraries on
13126 # powerpc, because MkLinux only supported shared libraries with the
13127 # GNU dynamic linker. Since this was broken with cross compilers,
13128 # most powerpc-linux boxes support dynamic linking these days and
13129 # people can always --disable-shared, the test was removed, and we
13130 # assume the GNU/Linux dynamic linker is in use.
13131 dynamic_linker='GNU/Linux ld.so'
13138 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13140 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13141 dynamic_linker='NetBSD (a.out) ld.so'
13143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13144 soname_spec='${libname}${release}${shared_ext}$major'
13145 dynamic_linker='NetBSD ld.elf_so'
13147 shlibpath_var=LD_LIBRARY_PATH
13148 shlibpath_overrides_runpath=yes
13149 hardcode_into_libs=yes
13154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13155 shlibpath_var=LD_LIBRARY_PATH
13156 shlibpath_overrides_runpath=yes
13163 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13164 soname_spec='${libname}${release}${shared_ext}$major'
13165 shlibpath_var=LD_LIBRARY_PATH
13166 shlibpath_overrides_runpath=no
13167 hardcode_into_libs=yes
13168 dynamic_linker='ldqnx.so'
13173 sys_lib_dlsearch_path_spec="/usr/lib"
13175 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13177 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13178 *) need_version=no ;;
13180 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13181 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13182 shlibpath_var=LD_LIBRARY_PATH
13183 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13185 openbsd2.[89] | openbsd2.[89].*)
13186 shlibpath_overrides_runpath=no
13189 shlibpath_overrides_runpath=yes
13193 shlibpath_overrides_runpath=yes
13198 libname_spec='$name'
13201 library_names_spec='$libname${shared_ext} $libname.a'
13202 dynamic_linker='OS/2 ld.exe'
13203 shlibpath_var=LIBPATH
13206 osf3* | osf4* | osf5*)
13210 soname_spec='${libname}${release}${shared_ext}$major'
13211 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13212 shlibpath_var=LD_LIBRARY_PATH
13213 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13214 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13226 soname_spec='${libname}${release}${shared_ext}$major'
13227 shlibpath_var=LD_LIBRARY_PATH
13228 shlibpath_overrides_runpath=yes
13229 hardcode_into_libs=yes
13230 # ldd complains unless libraries are executable
13231 postinstall_cmds='chmod +x $lib'
13236 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13237 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13238 shlibpath_var=LD_LIBRARY_PATH
13239 shlibpath_overrides_runpath=yes
13240 if test "$with_gnu_ld" = yes; then
13248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13249 soname_spec='${libname}${release}${shared_ext}$major'
13250 shlibpath_var=LD_LIBRARY_PATH
13251 case $host_vendor in
13253 shlibpath_overrides_runpath=no
13255 runpath_var=LD_RUN_PATH
13263 shlibpath_overrides_runpath=no
13264 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13270 if test -d /usr/nec ;then
13272 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13273 soname_spec='$libname${shared_ext}.$major'
13274 shlibpath_var=LD_LIBRARY_PATH
13278 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13279 version_type=freebsd-elf
13282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13283 soname_spec='${libname}${release}${shared_ext}$major'
13284 shlibpath_var=LD_LIBRARY_PATH
13285 shlibpath_overrides_runpath=yes
13286 hardcode_into_libs=yes
13287 if test "$with_gnu_ld" = yes; then
13288 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13290 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13293 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13297 sys_lib_dlsearch_path_spec='/usr/lib'
13301 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13305 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13306 shlibpath_var=LD_LIBRARY_PATH
13307 shlibpath_overrides_runpath=no
13308 hardcode_into_libs=yes
13313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13314 soname_spec='${libname}${release}${shared_ext}$major'
13315 shlibpath_var=LD_LIBRARY_PATH
13322 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13323 echo "${ECHO_T}$dynamic_linker" >&6
13324 test "$dynamic_linker" = no && can_build_shared=no
13326 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13327 if test "$GCC" = yes; then
13328 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13366 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13367 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13368 hardcode_action_FC=
13369 if test -n "$hardcode_libdir_flag_spec_FC" ||
13370 test -n "$runpath_var_FC" ||
13371 test "X$hardcode_automatic_FC" = "Xyes" ; then
13373 # We can hardcode non-existent directories.
13374 if test "$hardcode_direct_FC" != no &&
13375 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13376 # have to relink, otherwise we might link with an installed library
13377 # when we should be linking with a yet-to-be-installed one
13378 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
13379 test "$hardcode_minus_L_FC" != no; then
13380 # Linking always hardcodes the temporary library directory.
13381 hardcode_action_FC=relink
13383 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13384 hardcode_action_FC=immediate
13387 # We cannot hardcode anything, or else we can only hardcode existing
13389 hardcode_action_FC=unsupported
13391 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
13392 echo "${ECHO_T}$hardcode_action_FC" >&6
13394 if test "$hardcode_action_FC" = relink ||
13395 test "$inherit_rpath_FC" = yes; then
13396 # Fast installation is not supported
13397 enable_fast_install=no
13398 elif test "$shlibpath_overrides_runpath" = yes ||
13399 test "$enable_shared" = no; then
13400 # Fast installation is not necessary
13401 enable_fast_install=needless
13410 fi # test -n "$compiler"
13413 fi # test "$_lt_disable_FC" != yes
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13423 # extra LD Flags which are required for targets
13426 # Darwin needs -single_module when linking libgfortran
13427 extra_ldflags_libgfortran=-Wl,-single_module
13432 # We need a working compiler at that point, otherwise give a clear
13433 # error message and bail out.
13435 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
13436 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
13437 ac_ext=${FC_SRCEXT-f}
13438 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
13439 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13442 cat >conftest.$ac_ext <<_ACEOF
13445 real, parameter :: bar = sin (12.34 / 2.5)
13448 rm -f conftest.$ac_objext
13449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13450 (eval $ac_compile) 2>conftest.er1
13452 grep -v '^ *+' conftest.er1 >conftest.err
13454 cat conftest.err >&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); } &&
13457 { ac_try='test -z "$ac_fc_werror_flag"
13458 || test ! -s conftest.err'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; } &&
13464 { ac_try='test -s conftest.$ac_objext'
13465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13466 (eval $ac_try) 2>&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); }; }; then
13470 echo "$as_me:$LINENO: result: yes" >&5
13471 echo "${ECHO_T}yes" >&6
13473 echo "$as_me: failed program was:" >&5
13474 sed 's/^/| /' conftest.$ac_ext >&5
13476 echo "$as_me:$LINENO: result: no" >&5
13477 echo "${ECHO_T}no" >&6
13478 { { 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
13479 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
13480 { (exit 1); exit 1; }; }
13483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13485 ac_cpp='$CPP $CPPFLAGS'
13486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13492 # Check whether --enable-largefile or --disable-largefile was given.
13493 if test "${enable_largefile+set}" = set; then
13494 enableval="$enable_largefile"
13497 if test "$enable_largefile" != no; then
13499 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
13500 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
13501 if test "${ac_cv_sys_largefile_CC+set}" = set; then
13502 echo $ECHO_N "(cached) $ECHO_C" >&6
13504 ac_cv_sys_largefile_CC=no
13505 if test "$GCC" != yes; then
13508 # IRIX 6.2 and later do not support large files by default,
13509 # so use the C compiler's -n32 option if that helps.
13510 cat >conftest.$ac_ext <<_ACEOF
13513 cat confdefs.h >>conftest.$ac_ext
13514 cat >>conftest.$ac_ext <<_ACEOF
13515 /* end confdefs.h. */
13516 #include <sys/types.h>
13517 /* Check that off_t can represent 2**63 - 1 correctly.
13518 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13519 since some C++ compilers masquerading as C compilers
13520 incorrectly reject 9223372036854775807. */
13521 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13522 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13523 && LARGE_OFF_T % 2147483647 == 1)
13533 rm -f conftest.$ac_objext
13534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13535 (eval $ac_compile) 2>conftest.er1
13537 grep -v '^ *+' conftest.er1 >conftest.err
13539 cat conftest.err >&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); } &&
13542 { ac_try='test -z "$ac_c_werror_flag"
13543 || test ! -s conftest.err'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; } &&
13549 { ac_try='test -s conftest.$ac_objext'
13550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13551 (eval $ac_try) 2>&5
13553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13554 (exit $ac_status); }; }; then
13557 echo "$as_me: failed program was:" >&5
13558 sed 's/^/| /' conftest.$ac_ext >&5
13561 rm -f conftest.err conftest.$ac_objext
13563 rm -f conftest.$ac_objext
13564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13565 (eval $ac_compile) 2>conftest.er1
13567 grep -v '^ *+' conftest.er1 >conftest.err
13569 cat conftest.err >&5
13570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13571 (exit $ac_status); } &&
13572 { ac_try='test -z "$ac_c_werror_flag"
13573 || test ! -s conftest.err'
13574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13575 (eval $ac_try) 2>&5
13577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13578 (exit $ac_status); }; } &&
13579 { ac_try='test -s conftest.$ac_objext'
13580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13581 (eval $ac_try) 2>&5
13583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13584 (exit $ac_status); }; }; then
13585 ac_cv_sys_largefile_CC=' -n32'; break
13587 echo "$as_me: failed program was:" >&5
13588 sed 's/^/| /' conftest.$ac_ext >&5
13591 rm -f conftest.err conftest.$ac_objext
13595 rm -f conftest.$ac_ext
13598 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
13599 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
13600 if test "$ac_cv_sys_largefile_CC" != no; then
13601 CC=$CC$ac_cv_sys_largefile_CC
13604 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
13605 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
13606 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
13607 echo $ECHO_N "(cached) $ECHO_C" >&6
13610 ac_cv_sys_file_offset_bits=no
13611 cat >conftest.$ac_ext <<_ACEOF
13614 cat confdefs.h >>conftest.$ac_ext
13615 cat >>conftest.$ac_ext <<_ACEOF
13616 /* end confdefs.h. */
13617 #include <sys/types.h>
13618 /* Check that off_t can represent 2**63 - 1 correctly.
13619 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13620 since some C++ compilers masquerading as C compilers
13621 incorrectly reject 9223372036854775807. */
13622 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13623 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13624 && LARGE_OFF_T % 2147483647 == 1)
13634 rm -f conftest.$ac_objext
13635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13636 (eval $ac_compile) 2>conftest.er1
13638 grep -v '^ *+' conftest.er1 >conftest.err
13640 cat conftest.err >&5
13641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13642 (exit $ac_status); } &&
13643 { ac_try='test -z "$ac_c_werror_flag"
13644 || test ! -s conftest.err'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; } &&
13650 { ac_try='test -s conftest.$ac_objext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.$ac_ext >&5
13662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13663 cat >conftest.$ac_ext <<_ACEOF
13666 cat confdefs.h >>conftest.$ac_ext
13667 cat >>conftest.$ac_ext <<_ACEOF
13668 /* end confdefs.h. */
13669 #define _FILE_OFFSET_BITS 64
13670 #include <sys/types.h>
13671 /* Check that off_t can represent 2**63 - 1 correctly.
13672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13673 since some C++ compilers masquerading as C compilers
13674 incorrectly reject 9223372036854775807. */
13675 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13677 && LARGE_OFF_T % 2147483647 == 1)
13687 rm -f conftest.$ac_objext
13688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13689 (eval $ac_compile) 2>conftest.er1
13691 grep -v '^ *+' conftest.er1 >conftest.err
13693 cat conftest.err >&5
13694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13695 (exit $ac_status); } &&
13696 { ac_try='test -z "$ac_c_werror_flag"
13697 || test ! -s conftest.err'
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); }; } &&
13703 { ac_try='test -s conftest.$ac_objext'
13704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13705 (eval $ac_try) 2>&5
13707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13708 (exit $ac_status); }; }; then
13709 ac_cv_sys_file_offset_bits=64; break
13711 echo "$as_me: failed program was:" >&5
13712 sed 's/^/| /' conftest.$ac_ext >&5
13715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13719 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
13720 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
13721 if test "$ac_cv_sys_file_offset_bits" != no; then
13723 cat >>confdefs.h <<_ACEOF
13724 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
13729 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
13730 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
13731 if test "${ac_cv_sys_large_files+set}" = set; then
13732 echo $ECHO_N "(cached) $ECHO_C" >&6
13735 ac_cv_sys_large_files=no
13736 cat >conftest.$ac_ext <<_ACEOF
13739 cat confdefs.h >>conftest.$ac_ext
13740 cat >>conftest.$ac_ext <<_ACEOF
13741 /* end confdefs.h. */
13742 #include <sys/types.h>
13743 /* Check that off_t can represent 2**63 - 1 correctly.
13744 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13745 since some C++ compilers masquerading as C compilers
13746 incorrectly reject 9223372036854775807. */
13747 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13748 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13749 && LARGE_OFF_T % 2147483647 == 1)
13759 rm -f conftest.$ac_objext
13760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13761 (eval $ac_compile) 2>conftest.er1
13763 grep -v '^ *+' conftest.er1 >conftest.err
13765 cat conftest.err >&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); } &&
13768 { ac_try='test -z "$ac_c_werror_flag"
13769 || test ! -s conftest.err'
13770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13771 (eval $ac_try) 2>&5
13773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13774 (exit $ac_status); }; } &&
13775 { ac_try='test -s conftest.$ac_objext'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; }; then
13783 echo "$as_me: failed program was:" >&5
13784 sed 's/^/| /' conftest.$ac_ext >&5
13787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13788 cat >conftest.$ac_ext <<_ACEOF
13791 cat confdefs.h >>conftest.$ac_ext
13792 cat >>conftest.$ac_ext <<_ACEOF
13793 /* end confdefs.h. */
13794 #define _LARGE_FILES 1
13795 #include <sys/types.h>
13796 /* Check that off_t can represent 2**63 - 1 correctly.
13797 We can't simply define LARGE_OFF_T to be 9223372036854775807,
13798 since some C++ compilers masquerading as C compilers
13799 incorrectly reject 9223372036854775807. */
13800 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
13801 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
13802 && LARGE_OFF_T % 2147483647 == 1)
13812 rm -f conftest.$ac_objext
13813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13814 (eval $ac_compile) 2>conftest.er1
13816 grep -v '^ *+' conftest.er1 >conftest.err
13818 cat conftest.err >&5
13819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13820 (exit $ac_status); } &&
13821 { ac_try='test -z "$ac_c_werror_flag"
13822 || test ! -s conftest.err'
13823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13824 (eval $ac_try) 2>&5
13826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13827 (exit $ac_status); }; } &&
13828 { ac_try='test -s conftest.$ac_objext'
13829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13830 (eval $ac_try) 2>&5
13832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13833 (exit $ac_status); }; }; then
13834 ac_cv_sys_large_files=1; break
13836 echo "$as_me: failed program was:" >&5
13837 sed 's/^/| /' conftest.$ac_ext >&5
13840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13844 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
13845 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
13846 if test "$ac_cv_sys_large_files" != no; then
13848 cat >>confdefs.h <<_ACEOF
13849 #define _LARGE_FILES $ac_cv_sys_large_files
13856 echo "$as_me:$LINENO: checking for off_t" >&5
13857 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
13858 if test "${ac_cv_type_off_t+set}" = set; then
13859 echo $ECHO_N "(cached) $ECHO_C" >&6
13861 cat >conftest.$ac_ext <<_ACEOF
13864 cat confdefs.h >>conftest.$ac_ext
13865 cat >>conftest.$ac_ext <<_ACEOF
13866 /* end confdefs.h. */
13867 $ac_includes_default
13873 if (sizeof (off_t))
13879 rm -f conftest.$ac_objext
13880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13881 (eval $ac_compile) 2>conftest.er1
13883 grep -v '^ *+' conftest.er1 >conftest.err
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } &&
13888 { ac_try='test -z "$ac_c_werror_flag"
13889 || test ! -s conftest.err'
13890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13891 (eval $ac_try) 2>&5
13893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13894 (exit $ac_status); }; } &&
13895 { ac_try='test -s conftest.$ac_objext'
13896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13897 (eval $ac_try) 2>&5
13899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13900 (exit $ac_status); }; }; then
13901 ac_cv_type_off_t=yes
13903 echo "$as_me: failed program was:" >&5
13904 sed 's/^/| /' conftest.$ac_ext >&5
13906 ac_cv_type_off_t=no
13908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13910 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
13911 echo "${ECHO_T}$ac_cv_type_off_t" >&6
13912 if test $ac_cv_type_off_t = yes; then
13916 cat >>confdefs.h <<_ACEOF
13923 # check header files
13924 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
13925 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
13926 if test "${ac_cv_header_stdc+set}" = set; then
13927 echo $ECHO_N "(cached) $ECHO_C" >&6
13929 cat >conftest.$ac_ext <<_ACEOF
13932 cat confdefs.h >>conftest.$ac_ext
13933 cat >>conftest.$ac_ext <<_ACEOF
13934 /* end confdefs.h. */
13935 #include <stdlib.h>
13936 #include <stdarg.h>
13937 #include <string.h>
13948 rm -f conftest.$ac_objext
13949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13950 (eval $ac_compile) 2>conftest.er1
13952 grep -v '^ *+' conftest.er1 >conftest.err
13954 cat conftest.err >&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); } &&
13957 { ac_try='test -z "$ac_c_werror_flag"
13958 || test ! -s conftest.err'
13959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13960 (eval $ac_try) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); }; } &&
13964 { ac_try='test -s conftest.$ac_objext'
13965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13966 (eval $ac_try) 2>&5
13968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13969 (exit $ac_status); }; }; then
13970 ac_cv_header_stdc=yes
13972 echo "$as_me: failed program was:" >&5
13973 sed 's/^/| /' conftest.$ac_ext >&5
13975 ac_cv_header_stdc=no
13977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13979 if test $ac_cv_header_stdc = yes; then
13980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13981 cat >conftest.$ac_ext <<_ACEOF
13984 cat confdefs.h >>conftest.$ac_ext
13985 cat >>conftest.$ac_ext <<_ACEOF
13986 /* end confdefs.h. */
13987 #include <string.h>
13990 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13991 $EGREP "memchr" >/dev/null 2>&1; then
13994 ac_cv_header_stdc=no
14000 if test $ac_cv_header_stdc = yes; then
14001 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14002 cat >conftest.$ac_ext <<_ACEOF
14005 cat confdefs.h >>conftest.$ac_ext
14006 cat >>conftest.$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14008 #include <stdlib.h>
14011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14012 $EGREP "free" >/dev/null 2>&1; then
14015 ac_cv_header_stdc=no
14021 if test $ac_cv_header_stdc = yes; then
14022 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14023 if test "$cross_compiling" = yes; then
14026 cat >conftest.$ac_ext <<_ACEOF
14029 cat confdefs.h >>conftest.$ac_ext
14030 cat >>conftest.$ac_ext <<_ACEOF
14031 /* end confdefs.h. */
14033 #if ((' ' & 0x0FF) == 0x020)
14034 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14035 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14037 # define ISLOWER(c) \
14038 (('a' <= (c) && (c) <= 'i') \
14039 || ('j' <= (c) && (c) <= 'r') \
14040 || ('s' <= (c) && (c) <= 'z'))
14041 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14044 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14049 for (i = 0; i < 256; i++)
14050 if (XOR (islower (i), ISLOWER (i))
14051 || toupper (i) != TOUPPER (i))
14056 rm -f conftest$ac_exeext
14057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14058 (eval $ac_link) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14063 (eval $ac_try) 2>&5
14065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14066 (exit $ac_status); }; }; then
14069 echo "$as_me: program exited with status $ac_status" >&5
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.$ac_ext >&5
14073 ( exit $ac_status )
14074 ac_cv_header_stdc=no
14076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14080 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14081 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14082 if test $ac_cv_header_stdc = yes; then
14084 cat >>confdefs.h <<\_ACEOF
14085 #define STDC_HEADERS 1
14090 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14091 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14092 if test "${ac_cv_header_time+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14095 cat >conftest.$ac_ext <<_ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101 #include <sys/types.h>
14102 #include <sys/time.h>
14108 if ((struct tm *) 0)
14114 rm -f conftest.$ac_objext
14115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14116 (eval $ac_compile) 2>conftest.er1
14118 grep -v '^ *+' conftest.er1 >conftest.err
14120 cat conftest.err >&5
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); } &&
14123 { ac_try='test -z "$ac_c_werror_flag"
14124 || test ! -s conftest.err'
14125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14126 (eval $ac_try) 2>&5
14128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14129 (exit $ac_status); }; } &&
14130 { ac_try='test -s conftest.$ac_objext'
14131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14132 (eval $ac_try) 2>&5
14134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14135 (exit $ac_status); }; }; then
14136 ac_cv_header_time=yes
14138 echo "$as_me: failed program was:" >&5
14139 sed 's/^/| /' conftest.$ac_ext >&5
14141 ac_cv_header_time=no
14143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14145 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14146 echo "${ECHO_T}$ac_cv_header_time" >&6
14147 if test $ac_cv_header_time = yes; then
14149 cat >>confdefs.h <<\_ACEOF
14150 #define TIME_WITH_SYS_TIME 1
14161 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14165 echo "$as_me:$LINENO: checking for $ac_header" >&5
14166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14168 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14173 # Is the header compilable?
14174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14176 cat >conftest.$ac_ext <<_ACEOF
14179 cat confdefs.h >>conftest.$ac_ext
14180 cat >>conftest.$ac_ext <<_ACEOF
14181 /* end confdefs.h. */
14182 $ac_includes_default
14183 #include <$ac_header>
14185 rm -f conftest.$ac_objext
14186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14187 (eval $ac_compile) 2>conftest.er1
14189 grep -v '^ *+' conftest.er1 >conftest.err
14191 cat conftest.err >&5
14192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14193 (exit $ac_status); } &&
14194 { ac_try='test -z "$ac_c_werror_flag"
14195 || test ! -s conftest.err'
14196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14197 (eval $ac_try) 2>&5
14199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14200 (exit $ac_status); }; } &&
14201 { ac_try='test -s conftest.$ac_objext'
14202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14203 (eval $ac_try) 2>&5
14205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14206 (exit $ac_status); }; }; then
14207 ac_header_compiler=yes
14209 echo "$as_me: failed program was:" >&5
14210 sed 's/^/| /' conftest.$ac_ext >&5
14212 ac_header_compiler=no
14214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14216 echo "${ECHO_T}$ac_header_compiler" >&6
14218 # Is the header present?
14219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14221 cat >conftest.$ac_ext <<_ACEOF
14224 cat confdefs.h >>conftest.$ac_ext
14225 cat >>conftest.$ac_ext <<_ACEOF
14226 /* end confdefs.h. */
14227 #include <$ac_header>
14229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14232 grep -v '^ *+' conftest.er1 >conftest.err
14234 cat conftest.err >&5
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); } >/dev/null; then
14237 if test -s conftest.err; then
14238 ac_cpp_err=$ac_c_preproc_warn_flag
14239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14246 if test -z "$ac_cpp_err"; then
14247 ac_header_preproc=yes
14249 echo "$as_me: failed program was:" >&5
14250 sed 's/^/| /' conftest.$ac_ext >&5
14252 ac_header_preproc=no
14254 rm -f conftest.err conftest.$ac_ext
14255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14256 echo "${ECHO_T}$ac_header_preproc" >&6
14258 # So? What about this header?
14259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14265 ac_header_preproc=yes
14268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14282 ## ------------------------------------------------------ ##
14283 ## Report this to the GNU Fortran Runtime Library lists. ##
14284 ## ------------------------------------------------------ ##
14287 sed "s/^/$as_me: WARNING: /" >&2
14290 echo "$as_me:$LINENO: checking for $ac_header" >&5
14291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 eval "$as_ac_Header=\$ac_header_preproc"
14297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14302 cat >>confdefs.h <<_ACEOF
14303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14314 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
14316 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14318 echo "$as_me:$LINENO: checking for $ac_header" >&5
14319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14321 echo $ECHO_N "(cached) $ECHO_C" >&6
14323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14324 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14326 # Is the header compilable?
14327 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14328 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14329 cat >conftest.$ac_ext <<_ACEOF
14332 cat confdefs.h >>conftest.$ac_ext
14333 cat >>conftest.$ac_ext <<_ACEOF
14334 /* end confdefs.h. */
14335 $ac_includes_default
14336 #include <$ac_header>
14338 rm -f conftest.$ac_objext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14340 (eval $ac_compile) 2>conftest.er1
14342 grep -v '^ *+' conftest.er1 >conftest.err
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -z "$ac_c_werror_flag"
14348 || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14360 ac_header_compiler=yes
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14365 ac_header_compiler=no
14367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14369 echo "${ECHO_T}$ac_header_compiler" >&6
14371 # Is the header present?
14372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14374 cat >conftest.$ac_ext <<_ACEOF
14377 cat confdefs.h >>conftest.$ac_ext
14378 cat >>conftest.$ac_ext <<_ACEOF
14379 /* end confdefs.h. */
14380 #include <$ac_header>
14382 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14383 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14385 grep -v '^ *+' conftest.er1 >conftest.err
14387 cat conftest.err >&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); } >/dev/null; then
14390 if test -s conftest.err; then
14391 ac_cpp_err=$ac_c_preproc_warn_flag
14392 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14399 if test -z "$ac_cpp_err"; then
14400 ac_header_preproc=yes
14402 echo "$as_me: failed program was:" >&5
14403 sed 's/^/| /' conftest.$ac_ext >&5
14405 ac_header_preproc=no
14407 rm -f conftest.err conftest.$ac_ext
14408 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14409 echo "${ECHO_T}$ac_header_preproc" >&6
14411 # So? What about this header?
14412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14414 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14415 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14416 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14417 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14418 ac_header_preproc=yes
14421 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14422 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14423 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14424 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14425 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14426 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14427 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14428 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14429 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14430 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14431 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14432 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14435 ## ------------------------------------------------------ ##
14436 ## Report this to the GNU Fortran Runtime Library lists. ##
14437 ## ------------------------------------------------------ ##
14440 sed "s/^/$as_me: WARNING: /" >&2
14443 echo "$as_me:$LINENO: checking for $ac_header" >&5
14444 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14445 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14446 echo $ECHO_N "(cached) $ECHO_C" >&6
14448 eval "$as_ac_Header=\$ac_header_preproc"
14450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14454 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14455 cat >>confdefs.h <<_ACEOF
14456 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14468 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
14470 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14472 echo "$as_me:$LINENO: checking for $ac_header" >&5
14473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14475 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14480 # Is the header compilable?
14481 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14482 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14483 cat >conftest.$ac_ext <<_ACEOF
14486 cat confdefs.h >>conftest.$ac_ext
14487 cat >>conftest.$ac_ext <<_ACEOF
14488 /* end confdefs.h. */
14489 $ac_includes_default
14490 #include <$ac_header>
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>conftest.er1
14496 grep -v '^ *+' conftest.er1 >conftest.err
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag"
14502 || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_header_compiler=yes
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14519 ac_header_compiler=no
14521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14523 echo "${ECHO_T}$ac_header_compiler" >&6
14525 # Is the header present?
14526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14528 cat >conftest.$ac_ext <<_ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14534 #include <$ac_header>
14536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14539 grep -v '^ *+' conftest.er1 >conftest.err
14541 cat conftest.err >&5
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); } >/dev/null; then
14544 if test -s conftest.err; then
14545 ac_cpp_err=$ac_c_preproc_warn_flag
14546 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14553 if test -z "$ac_cpp_err"; then
14554 ac_header_preproc=yes
14556 echo "$as_me: failed program was:" >&5
14557 sed 's/^/| /' conftest.$ac_ext >&5
14559 ac_header_preproc=no
14561 rm -f conftest.err conftest.$ac_ext
14562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14563 echo "${ECHO_T}$ac_header_preproc" >&6
14565 # So? What about this header?
14566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14572 ac_header_preproc=yes
14575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14589 ## ------------------------------------------------------ ##
14590 ## Report this to the GNU Fortran Runtime Library lists. ##
14591 ## ------------------------------------------------------ ##
14594 sed "s/^/$as_me: WARNING: /" >&2
14597 echo "$as_me:$LINENO: checking for $ac_header" >&5
14598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 eval "$as_ac_Header=\$ac_header_preproc"
14604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14609 cat >>confdefs.h <<_ACEOF
14610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14622 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
14624 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14626 echo "$as_me:$LINENO: checking for $ac_header" >&5
14627 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14628 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14634 # Is the header compilable?
14635 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14636 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14637 cat >conftest.$ac_ext <<_ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 $ac_includes_default
14644 #include <$ac_header>
14646 rm -f conftest.$ac_objext
14647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14648 (eval $ac_compile) 2>conftest.er1
14650 grep -v '^ *+' conftest.er1 >conftest.err
14652 cat conftest.err >&5
14653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14654 (exit $ac_status); } &&
14655 { ac_try='test -z "$ac_c_werror_flag"
14656 || test ! -s conftest.err'
14657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658 (eval $ac_try) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; } &&
14662 { ac_try='test -s conftest.$ac_objext'
14663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14664 (eval $ac_try) 2>&5
14666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); }; }; then
14668 ac_header_compiler=yes
14670 echo "$as_me: failed program was:" >&5
14671 sed 's/^/| /' conftest.$ac_ext >&5
14673 ac_header_compiler=no
14675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14676 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14677 echo "${ECHO_T}$ac_header_compiler" >&6
14679 # Is the header present?
14680 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14681 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14682 cat >conftest.$ac_ext <<_ACEOF
14685 cat confdefs.h >>conftest.$ac_ext
14686 cat >>conftest.$ac_ext <<_ACEOF
14687 /* end confdefs.h. */
14688 #include <$ac_header>
14690 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14691 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14693 grep -v '^ *+' conftest.er1 >conftest.err
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } >/dev/null; then
14698 if test -s conftest.err; then
14699 ac_cpp_err=$ac_c_preproc_warn_flag
14700 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14707 if test -z "$ac_cpp_err"; then
14708 ac_header_preproc=yes
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14713 ac_header_preproc=no
14715 rm -f conftest.err conftest.$ac_ext
14716 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14717 echo "${ECHO_T}$ac_header_preproc" >&6
14719 # So? What about this header?
14720 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14722 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14723 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14724 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14725 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14726 ac_header_preproc=yes
14729 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14730 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14731 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14732 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14733 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14734 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14735 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14736 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14739 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14740 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14743 ## ------------------------------------------------------ ##
14744 ## Report this to the GNU Fortran Runtime Library lists. ##
14745 ## ------------------------------------------------------ ##
14748 sed "s/^/$as_me: WARNING: /" >&2
14751 echo "$as_me:$LINENO: checking for $ac_header" >&5
14752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14754 echo $ECHO_N "(cached) $ECHO_C" >&6
14756 eval "$as_ac_Header=\$ac_header_preproc"
14758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14762 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14763 cat >>confdefs.h <<_ACEOF
14764 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14771 if test "${ac_cv_header_complex_h+set}" = set; then
14772 echo "$as_me:$LINENO: checking for complex.h" >&5
14773 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14774 if test "${ac_cv_header_complex_h+set}" = set; then
14775 echo $ECHO_N "(cached) $ECHO_C" >&6
14777 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14778 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14780 # Is the header compilable?
14781 echo "$as_me:$LINENO: checking complex.h usability" >&5
14782 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
14783 cat >conftest.$ac_ext <<_ACEOF
14786 cat confdefs.h >>conftest.$ac_ext
14787 cat >>conftest.$ac_ext <<_ACEOF
14788 /* end confdefs.h. */
14789 $ac_includes_default
14790 #include <complex.h>
14792 rm -f conftest.$ac_objext
14793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14794 (eval $ac_compile) 2>conftest.er1
14796 grep -v '^ *+' conftest.er1 >conftest.err
14798 cat conftest.err >&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); } &&
14801 { ac_try='test -z "$ac_c_werror_flag"
14802 || test ! -s conftest.err'
14803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14804 (eval $ac_try) 2>&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); }; } &&
14808 { ac_try='test -s conftest.$ac_objext'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; }; then
14814 ac_header_compiler=yes
14816 echo "$as_me: failed program was:" >&5
14817 sed 's/^/| /' conftest.$ac_ext >&5
14819 ac_header_compiler=no
14821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14822 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14823 echo "${ECHO_T}$ac_header_compiler" >&6
14825 # Is the header present?
14826 echo "$as_me:$LINENO: checking complex.h presence" >&5
14827 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
14828 cat >conftest.$ac_ext <<_ACEOF
14831 cat confdefs.h >>conftest.$ac_ext
14832 cat >>conftest.$ac_ext <<_ACEOF
14833 /* end confdefs.h. */
14834 #include <complex.h>
14836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14839 grep -v '^ *+' conftest.er1 >conftest.err
14841 cat conftest.err >&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } >/dev/null; then
14844 if test -s conftest.err; then
14845 ac_cpp_err=$ac_c_preproc_warn_flag
14846 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14853 if test -z "$ac_cpp_err"; then
14854 ac_header_preproc=yes
14856 echo "$as_me: failed program was:" >&5
14857 sed 's/^/| /' conftest.$ac_ext >&5
14859 ac_header_preproc=no
14861 rm -f conftest.err conftest.$ac_ext
14862 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14863 echo "${ECHO_T}$ac_header_preproc" >&6
14865 # So? What about this header?
14866 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14868 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
14869 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14870 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
14871 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
14872 ac_header_preproc=yes
14875 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
14876 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
14877 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
14878 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
14879 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
14880 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
14881 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
14882 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
14883 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
14884 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
14885 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
14886 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
14889 ## ------------------------------------------------------ ##
14890 ## Report this to the GNU Fortran Runtime Library lists. ##
14891 ## ------------------------------------------------------ ##
14894 sed "s/^/$as_me: WARNING: /" >&2
14897 echo "$as_me:$LINENO: checking for complex.h" >&5
14898 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
14899 if test "${ac_cv_header_complex_h+set}" = set; then
14900 echo $ECHO_N "(cached) $ECHO_C" >&6
14902 ac_cv_header_complex_h=$ac_header_preproc
14904 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
14905 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
14908 if test $ac_cv_header_complex_h = yes; then
14910 cat >>confdefs.h <<\_ACEOF
14911 #define HAVE_COMPLEX_H 1
14919 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
14921 acx_cv_header_stdint=stddef.h
14922 acx_cv_header_stdint_kind="(already complete)"
14923 for i in stdint.h $inttype_headers; do
14924 unset ac_cv_type_uintptr_t
14925 unset ac_cv_type_uintmax_t
14926 unset ac_cv_type_int_least32_t
14927 unset ac_cv_type_int_fast32_t
14928 unset ac_cv_type_uint64_t
14929 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
14930 echo "$as_me:$LINENO: checking for uintmax_t" >&5
14931 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
14932 if test "${ac_cv_type_uintmax_t+set}" = set; then
14933 echo $ECHO_N "(cached) $ECHO_C" >&6
14935 cat >conftest.$ac_ext <<_ACEOF
14938 cat confdefs.h >>conftest.$ac_ext
14939 cat >>conftest.$ac_ext <<_ACEOF
14940 /* end confdefs.h. */
14941 #include <sys/types.h>
14947 if ((uintmax_t *) 0)
14949 if (sizeof (uintmax_t))
14955 rm -f conftest.$ac_objext
14956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14957 (eval $ac_compile) 2>conftest.er1
14959 grep -v '^ *+' conftest.er1 >conftest.err
14961 cat conftest.err >&5
14962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14963 (exit $ac_status); } &&
14964 { ac_try='test -z "$ac_c_werror_flag"
14965 || test ! -s conftest.err'
14966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14967 (eval $ac_try) 2>&5
14969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); }; } &&
14971 { ac_try='test -s conftest.$ac_objext'
14972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14973 (eval $ac_try) 2>&5
14975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14976 (exit $ac_status); }; }; then
14977 ac_cv_type_uintmax_t=yes
14979 echo "$as_me: failed program was:" >&5
14980 sed 's/^/| /' conftest.$ac_ext >&5
14982 ac_cv_type_uintmax_t=no
14984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14986 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
14987 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
14988 if test $ac_cv_type_uintmax_t = yes; then
14989 acx_cv_header_stdint=$i
14994 echo "$as_me:$LINENO: checking for uintptr_t" >&5
14995 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
14996 if test "${ac_cv_type_uintptr_t+set}" = set; then
14997 echo $ECHO_N "(cached) $ECHO_C" >&6
14999 cat >conftest.$ac_ext <<_ACEOF
15002 cat confdefs.h >>conftest.$ac_ext
15003 cat >>conftest.$ac_ext <<_ACEOF
15004 /* end confdefs.h. */
15005 #include <sys/types.h>
15011 if ((uintptr_t *) 0)
15013 if (sizeof (uintptr_t))
15019 rm -f conftest.$ac_objext
15020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15021 (eval $ac_compile) 2>conftest.er1
15023 grep -v '^ *+' conftest.er1 >conftest.err
15025 cat conftest.err >&5
15026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15027 (exit $ac_status); } &&
15028 { ac_try='test -z "$ac_c_werror_flag"
15029 || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest.$ac_objext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 ac_cv_type_uintptr_t=yes
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15046 ac_cv_type_uintptr_t=no
15048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15050 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15051 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15052 if test $ac_cv_type_uintptr_t = yes; then
15055 acx_cv_header_stdint_kind="(mostly complete)"
15058 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15059 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15060 if test "${ac_cv_type_int_least32_t+set}" = set; then
15061 echo $ECHO_N "(cached) $ECHO_C" >&6
15063 cat >conftest.$ac_ext <<_ACEOF
15066 cat confdefs.h >>conftest.$ac_ext
15067 cat >>conftest.$ac_ext <<_ACEOF
15068 /* end confdefs.h. */
15069 #include <sys/types.h>
15075 if ((int_least32_t *) 0)
15077 if (sizeof (int_least32_t))
15083 rm -f conftest.$ac_objext
15084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15085 (eval $ac_compile) 2>conftest.er1
15087 grep -v '^ *+' conftest.er1 >conftest.err
15089 cat conftest.err >&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); } &&
15092 { ac_try='test -z "$ac_c_werror_flag"
15093 || test ! -s conftest.err'
15094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15095 (eval $ac_try) 2>&5
15097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15098 (exit $ac_status); }; } &&
15099 { ac_try='test -s conftest.$ac_objext'
15100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15101 (eval $ac_try) 2>&5
15103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15104 (exit $ac_status); }; }; then
15105 ac_cv_type_int_least32_t=yes
15107 echo "$as_me: failed program was:" >&5
15108 sed 's/^/| /' conftest.$ac_ext >&5
15110 ac_cv_type_int_least32_t=no
15112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15114 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15115 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15116 if test $ac_cv_type_int_least32_t = yes; then
15119 acx_cv_header_stdint_kind="(mostly complete)"
15122 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15123 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15124 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15125 echo $ECHO_N "(cached) $ECHO_C" >&6
15127 cat >conftest.$ac_ext <<_ACEOF
15130 cat confdefs.h >>conftest.$ac_ext
15131 cat >>conftest.$ac_ext <<_ACEOF
15132 /* end confdefs.h. */
15133 #include <sys/types.h>
15139 if ((int_fast32_t *) 0)
15141 if (sizeof (int_fast32_t))
15147 rm -f conftest.$ac_objext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15149 (eval $ac_compile) 2>conftest.er1
15151 grep -v '^ *+' conftest.er1 >conftest.err
15153 cat conftest.err >&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try='test -z "$ac_c_werror_flag"
15157 || test ! -s conftest.err'
15158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15159 (eval $ac_try) 2>&5
15161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15162 (exit $ac_status); }; } &&
15163 { ac_try='test -s conftest.$ac_objext'
15164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15165 (eval $ac_try) 2>&5
15167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15168 (exit $ac_status); }; }; then
15169 ac_cv_type_int_fast32_t=yes
15171 echo "$as_me: failed program was:" >&5
15172 sed 's/^/| /' conftest.$ac_ext >&5
15174 ac_cv_type_int_fast32_t=no
15176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15178 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15179 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15180 if test $ac_cv_type_int_fast32_t = yes; then
15183 acx_cv_header_stdint_kind="(mostly complete)"
15186 echo "$as_me:$LINENO: checking for uint64_t" >&5
15187 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15188 if test "${ac_cv_type_uint64_t+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15191 cat >conftest.$ac_ext <<_ACEOF
15194 cat confdefs.h >>conftest.$ac_ext
15195 cat >>conftest.$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197 #include <sys/types.h>
15203 if ((uint64_t *) 0)
15205 if (sizeof (uint64_t))
15211 rm -f conftest.$ac_objext
15212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15213 (eval $ac_compile) 2>conftest.er1
15215 grep -v '^ *+' conftest.er1 >conftest.err
15217 cat conftest.err >&5
15218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15219 (exit $ac_status); } &&
15220 { ac_try='test -z "$ac_c_werror_flag"
15221 || test ! -s conftest.err'
15222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15223 (eval $ac_try) 2>&5
15225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15226 (exit $ac_status); }; } &&
15227 { ac_try='test -s conftest.$ac_objext'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; }; then
15233 ac_cv_type_uint64_t=yes
15235 echo "$as_me: failed program was:" >&5
15236 sed 's/^/| /' conftest.$ac_ext >&5
15238 ac_cv_type_uint64_t=no
15240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15242 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15243 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15244 if test $ac_cv_type_uint64_t = yes; then
15247 acx_cv_header_stdint_kind="(lacks uint64_t)"
15252 if test "$acx_cv_header_stdint" = stddef.h; then
15253 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15254 for i in stdint.h $inttype_headers; do
15255 unset ac_cv_type_uintptr_t
15256 unset ac_cv_type_uint32_t
15257 unset ac_cv_type_uint64_t
15258 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15259 echo "$as_me:$LINENO: checking for uint32_t" >&5
15260 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15261 if test "${ac_cv_type_uint32_t+set}" = set; then
15262 echo $ECHO_N "(cached) $ECHO_C" >&6
15264 cat >conftest.$ac_ext <<_ACEOF
15267 cat confdefs.h >>conftest.$ac_ext
15268 cat >>conftest.$ac_ext <<_ACEOF
15269 /* end confdefs.h. */
15270 #include <sys/types.h>
15276 if ((uint32_t *) 0)
15278 if (sizeof (uint32_t))
15284 rm -f conftest.$ac_objext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15286 (eval $ac_compile) 2>conftest.er1
15288 grep -v '^ *+' conftest.er1 >conftest.err
15290 cat conftest.err >&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } &&
15293 { ac_try='test -z "$ac_c_werror_flag"
15294 || test ! -s conftest.err'
15295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15296 (eval $ac_try) 2>&5
15298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15299 (exit $ac_status); }; } &&
15300 { ac_try='test -s conftest.$ac_objext'
15301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15302 (eval $ac_try) 2>&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); }; }; then
15306 ac_cv_type_uint32_t=yes
15308 echo "$as_me: failed program was:" >&5
15309 sed 's/^/| /' conftest.$ac_ext >&5
15311 ac_cv_type_uint32_t=no
15313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15315 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
15316 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
15317 if test $ac_cv_type_uint32_t = yes; then
15318 acx_cv_header_stdint=$i
15323 echo "$as_me:$LINENO: checking for uint64_t" >&5
15324 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15325 if test "${ac_cv_type_uint64_t+set}" = set; then
15326 echo $ECHO_N "(cached) $ECHO_C" >&6
15328 cat >conftest.$ac_ext <<_ACEOF
15331 cat confdefs.h >>conftest.$ac_ext
15332 cat >>conftest.$ac_ext <<_ACEOF
15333 /* end confdefs.h. */
15334 #include <sys/types.h>
15340 if ((uint64_t *) 0)
15342 if (sizeof (uint64_t))
15348 rm -f conftest.$ac_objext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15350 (eval $ac_compile) 2>conftest.er1
15352 grep -v '^ *+' conftest.er1 >conftest.err
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try='test -z "$ac_c_werror_flag"
15358 || test ! -s conftest.err'
15359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15360 (eval $ac_try) 2>&5
15362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15363 (exit $ac_status); }; } &&
15364 { ac_try='test -s conftest.$ac_objext'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; }; then
15370 ac_cv_type_uint64_t=yes
15372 echo "$as_me: failed program was:" >&5
15373 sed 's/^/| /' conftest.$ac_ext >&5
15375 ac_cv_type_uint64_t=no
15377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15379 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15380 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15382 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15383 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15384 if test "${ac_cv_type_uintptr_t+set}" = set; then
15385 echo $ECHO_N "(cached) $ECHO_C" >&6
15387 cat >conftest.$ac_ext <<_ACEOF
15390 cat confdefs.h >>conftest.$ac_ext
15391 cat >>conftest.$ac_ext <<_ACEOF
15392 /* end confdefs.h. */
15393 #include <sys/types.h>
15399 if ((uintptr_t *) 0)
15401 if (sizeof (uintptr_t))
15407 rm -f conftest.$ac_objext
15408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15409 (eval $ac_compile) 2>conftest.er1
15411 grep -v '^ *+' conftest.er1 >conftest.err
15413 cat conftest.err >&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); } &&
15416 { ac_try='test -z "$ac_c_werror_flag"
15417 || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try='test -s conftest.$ac_objext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_cv_type_uintptr_t=yes
15431 echo "$as_me: failed program was:" >&5
15432 sed 's/^/| /' conftest.$ac_ext >&5
15434 ac_cv_type_uintptr_t=no
15436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15438 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15439 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15444 if test "$acx_cv_header_stdint" = stddef.h; then
15445 acx_cv_header_stdint_kind="(u_intXX_t style)"
15446 for i in sys/types.h $inttype_headers; do
15447 unset ac_cv_type_u_int32_t
15448 unset ac_cv_type_u_int64_t
15449 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
15450 echo "$as_me:$LINENO: checking for u_int32_t" >&5
15451 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
15452 if test "${ac_cv_type_u_int32_t+set}" = set; then
15453 echo $ECHO_N "(cached) $ECHO_C" >&6
15455 cat >conftest.$ac_ext <<_ACEOF
15458 cat confdefs.h >>conftest.$ac_ext
15459 cat >>conftest.$ac_ext <<_ACEOF
15460 /* end confdefs.h. */
15461 #include <sys/types.h>
15467 if ((u_int32_t *) 0)
15469 if (sizeof (u_int32_t))
15475 rm -f conftest.$ac_objext
15476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15477 (eval $ac_compile) 2>conftest.er1
15479 grep -v '^ *+' conftest.er1 >conftest.err
15481 cat conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); } &&
15484 { ac_try='test -z "$ac_c_werror_flag"
15485 || test ! -s conftest.err'
15486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15487 (eval $ac_try) 2>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); }; } &&
15491 { ac_try='test -s conftest.$ac_objext'
15492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493 (eval $ac_try) 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }; }; then
15497 ac_cv_type_u_int32_t=yes
15499 echo "$as_me: failed program was:" >&5
15500 sed 's/^/| /' conftest.$ac_ext >&5
15502 ac_cv_type_u_int32_t=no
15504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15506 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
15507 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
15508 if test $ac_cv_type_u_int32_t = yes; then
15509 acx_cv_header_stdint=$i
15514 echo "$as_me:$LINENO: checking for u_int64_t" >&5
15515 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
15516 if test "${ac_cv_type_u_int64_t+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 cat >conftest.$ac_ext <<_ACEOF
15522 cat confdefs.h >>conftest.$ac_ext
15523 cat >>conftest.$ac_ext <<_ACEOF
15524 /* end confdefs.h. */
15525 #include <sys/types.h>
15531 if ((u_int64_t *) 0)
15533 if (sizeof (u_int64_t))
15539 rm -f conftest.$ac_objext
15540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15541 (eval $ac_compile) 2>conftest.er1
15543 grep -v '^ *+' conftest.er1 >conftest.err
15545 cat conftest.err >&5
15546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15547 (exit $ac_status); } &&
15548 { ac_try='test -z "$ac_c_werror_flag"
15549 || test ! -s conftest.err'
15550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15551 (eval $ac_try) 2>&5
15553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15554 (exit $ac_status); }; } &&
15555 { ac_try='test -s conftest.$ac_objext'
15556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15557 (eval $ac_try) 2>&5
15559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15560 (exit $ac_status); }; }; then
15561 ac_cv_type_u_int64_t=yes
15563 echo "$as_me: failed program was:" >&5
15564 sed 's/^/| /' conftest.$ac_ext >&5
15566 ac_cv_type_u_int64_t=no
15568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15570 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
15571 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
15576 if test "$acx_cv_header_stdint" = stddef.h; then
15577 acx_cv_header_stdint_kind="(using manual detection)"
15580 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
15581 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
15582 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
15583 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
15584 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
15586 # ----------------- Summarize what we found so far
15588 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
15589 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
15591 case `$as_basename gstdint.h ||
15592 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
15593 Xgstdint.h : 'X\(//\)$' \| \
15594 Xgstdint.h : 'X\(/\)$' \| \
15595 . : '\(.\)' 2>/dev/null ||
15597 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15598 /^X\/\(\/\/\)$/{ s//\1/; q; }
15599 /^X\/\(\/\).*/{ s//\1/; q; }
15601 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15602 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15603 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
15604 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
15608 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
15609 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
15611 # ----------------- done included file, check C basic types --------
15613 # Lacking an uintptr_t? Test size of void *
15614 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
15615 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
15616 echo $ECHO_N "checking for void *... $ECHO_C" >&6
15617 if test "${ac_cv_type_void_p+set}" = set; then
15618 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 cat >conftest.$ac_ext <<_ACEOF
15623 cat confdefs.h >>conftest.$ac_ext
15624 cat >>conftest.$ac_ext <<_ACEOF
15625 /* end confdefs.h. */
15626 $ac_includes_default
15632 if (sizeof (void *))
15638 rm -f conftest.$ac_objext
15639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15640 (eval $ac_compile) 2>conftest.er1
15642 grep -v '^ *+' conftest.er1 >conftest.err
15644 cat conftest.err >&5
15645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15646 (exit $ac_status); } &&
15647 { ac_try='test -z "$ac_c_werror_flag"
15648 || test ! -s conftest.err'
15649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15650 (eval $ac_try) 2>&5
15652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15653 (exit $ac_status); }; } &&
15654 { ac_try='test -s conftest.$ac_objext'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; }; then
15660 ac_cv_type_void_p=yes
15662 echo "$as_me: failed program was:" >&5
15663 sed 's/^/| /' conftest.$ac_ext >&5
15665 ac_cv_type_void_p=no
15667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15669 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
15670 echo "${ECHO_T}$ac_cv_type_void_p" >&6
15672 echo "$as_me:$LINENO: checking size of void *" >&5
15673 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
15674 if test "${ac_cv_sizeof_void_p+set}" = set; then
15675 echo $ECHO_N "(cached) $ECHO_C" >&6
15677 if test "$ac_cv_type_void_p" = yes; then
15678 # The cast to unsigned long works around a bug in the HP C Compiler
15679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
15680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
15681 # This bug is HP SR number 8606223364.
15682 if test "$cross_compiling" = yes; then
15683 # Depending upon the size, compute the lo and hi bounds.
15684 cat >conftest.$ac_ext <<_ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 $ac_includes_default
15694 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
15701 rm -f conftest.$ac_objext
15702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15703 (eval $ac_compile) 2>conftest.er1
15705 grep -v '^ *+' conftest.er1 >conftest.err
15707 cat conftest.err >&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } &&
15710 { ac_try='test -z "$ac_c_werror_flag"
15711 || test ! -s conftest.err'
15712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15713 (eval $ac_try) 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try='test -s conftest.$ac_objext'
15718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15719 (eval $ac_try) 2>&5
15721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15722 (exit $ac_status); }; }; then
15725 cat >conftest.$ac_ext <<_ACEOF
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15731 $ac_includes_default
15735 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15742 rm -f conftest.$ac_objext
15743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15744 (eval $ac_compile) 2>conftest.er1
15746 grep -v '^ *+' conftest.er1 >conftest.err
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } &&
15751 { ac_try='test -z "$ac_c_werror_flag"
15752 || test ! -s conftest.err'
15753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15754 (eval $ac_try) 2>&5
15756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15757 (exit $ac_status); }; } &&
15758 { ac_try='test -s conftest.$ac_objext'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; }; then
15764 ac_hi=$ac_mid; break
15766 echo "$as_me: failed program was:" >&5
15767 sed 's/^/| /' conftest.$ac_ext >&5
15769 ac_lo=`expr $ac_mid + 1`
15770 if test $ac_lo -le $ac_mid; then
15774 ac_mid=`expr 2 '*' $ac_mid + 1`
15776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15779 echo "$as_me: failed program was:" >&5
15780 sed 's/^/| /' conftest.$ac_ext >&5
15782 cat >conftest.$ac_ext <<_ACEOF
15785 cat confdefs.h >>conftest.$ac_ext
15786 cat >>conftest.$ac_ext <<_ACEOF
15787 /* end confdefs.h. */
15788 $ac_includes_default
15792 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
15799 rm -f conftest.$ac_objext
15800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15801 (eval $ac_compile) 2>conftest.er1
15803 grep -v '^ *+' conftest.er1 >conftest.err
15805 cat conftest.err >&5
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); } &&
15808 { ac_try='test -z "$ac_c_werror_flag"
15809 || test ! -s conftest.err'
15810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15811 (eval $ac_try) 2>&5
15813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15814 (exit $ac_status); }; } &&
15815 { ac_try='test -s conftest.$ac_objext'
15816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15817 (eval $ac_try) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); }; }; then
15823 cat >conftest.$ac_ext <<_ACEOF
15826 cat confdefs.h >>conftest.$ac_ext
15827 cat >>conftest.$ac_ext <<_ACEOF
15828 /* end confdefs.h. */
15829 $ac_includes_default
15833 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
15840 rm -f conftest.$ac_objext
15841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15842 (eval $ac_compile) 2>conftest.er1
15844 grep -v '^ *+' conftest.er1 >conftest.err
15846 cat conftest.err >&5
15847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15848 (exit $ac_status); } &&
15849 { ac_try='test -z "$ac_c_werror_flag"
15850 || test ! -s conftest.err'
15851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15852 (eval $ac_try) 2>&5
15854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; } &&
15856 { ac_try='test -s conftest.$ac_objext'
15857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15858 (eval $ac_try) 2>&5
15860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15861 (exit $ac_status); }; }; then
15862 ac_lo=$ac_mid; break
15864 echo "$as_me: failed program was:" >&5
15865 sed 's/^/| /' conftest.$ac_ext >&5
15867 ac_hi=`expr '(' $ac_mid ')' - 1`
15868 if test $ac_mid -le $ac_hi; then
15872 ac_mid=`expr 2 '*' $ac_mid`
15874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15877 echo "$as_me: failed program was:" >&5
15878 sed 's/^/| /' conftest.$ac_ext >&5
15882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15885 # Binary search between lo and hi bounds.
15886 while test "x$ac_lo" != "x$ac_hi"; do
15887 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
15888 cat >conftest.$ac_ext <<_ACEOF
15891 cat confdefs.h >>conftest.$ac_ext
15892 cat >>conftest.$ac_ext <<_ACEOF
15893 /* end confdefs.h. */
15894 $ac_includes_default
15898 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
15905 rm -f conftest.$ac_objext
15906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15907 (eval $ac_compile) 2>conftest.er1
15909 grep -v '^ *+' conftest.er1 >conftest.err
15911 cat conftest.err >&5
15912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15913 (exit $ac_status); } &&
15914 { ac_try='test -z "$ac_c_werror_flag"
15915 || test ! -s conftest.err'
15916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15917 (eval $ac_try) 2>&5
15919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15920 (exit $ac_status); }; } &&
15921 { ac_try='test -s conftest.$ac_objext'
15922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15923 (eval $ac_try) 2>&5
15925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15926 (exit $ac_status); }; }; then
15929 echo "$as_me: failed program was:" >&5
15930 sed 's/^/| /' conftest.$ac_ext >&5
15932 ac_lo=`expr '(' $ac_mid ')' + 1`
15934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15937 ?*) ac_cv_sizeof_void_p=$ac_lo;;
15938 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15939 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15940 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
15941 See \`config.log' for more details." >&5
15942 echo "$as_me: error: cannot compute sizeof (void *), 77
15943 See \`config.log' for more details." >&2;}
15944 { (exit 1); exit 1; }; }; } ;;
15947 if test "$cross_compiling" = yes; then
15948 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
15949 echo "$as_me: error: in \`$ac_pwd':" >&2;}
15950 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
15951 See \`config.log' for more details." >&5
15952 echo "$as_me: error: cannot run test program while cross compiling
15953 See \`config.log' for more details." >&2;}
15954 { (exit 1); exit 1; }; }; }
15956 cat >conftest.$ac_ext <<_ACEOF
15959 cat confdefs.h >>conftest.$ac_ext
15960 cat >>conftest.$ac_ext <<_ACEOF
15961 /* end confdefs.h. */
15962 $ac_includes_default
15963 long longval () { return (long) (sizeof (void *)); }
15964 unsigned long ulongval () { return (long) (sizeof (void *)); }
15966 #include <stdlib.h>
15971 FILE *f = fopen ("conftest.val", "w");
15974 if (((long) (sizeof (void *))) < 0)
15976 long i = longval ();
15977 if (i != ((long) (sizeof (void *))))
15979 fprintf (f, "%ld\n", i);
15983 unsigned long i = ulongval ();
15984 if (i != ((long) (sizeof (void *))))
15986 fprintf (f, "%lu\n", i);
15988 exit (ferror (f) || fclose (f) != 0);
15994 rm -f conftest$ac_exeext
15995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15996 (eval $ac_link) 2>&5
15998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15999 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16001 (eval $ac_try) 2>&5
16003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16004 (exit $ac_status); }; }; then
16005 ac_cv_sizeof_void_p=`cat conftest.val`
16007 echo "$as_me: program exited with status $ac_status" >&5
16008 echo "$as_me: failed program was:" >&5
16009 sed 's/^/| /' conftest.$ac_ext >&5
16011 ( exit $ac_status )
16012 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16013 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16014 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16015 See \`config.log' for more details." >&5
16016 echo "$as_me: error: cannot compute sizeof (void *), 77
16017 See \`config.log' for more details." >&2;}
16018 { (exit 1); exit 1; }; }; }
16020 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16025 ac_cv_sizeof_void_p=0
16028 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16029 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16030 cat >>confdefs.h <<_ACEOF
16031 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16037 # Lacking an uint64_t? Test size of long
16038 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16039 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16040 echo $ECHO_N "checking for long... $ECHO_C" >&6
16041 if test "${ac_cv_type_long+set}" = set; then
16042 echo $ECHO_N "(cached) $ECHO_C" >&6
16044 cat >conftest.$ac_ext <<_ACEOF
16047 cat confdefs.h >>conftest.$ac_ext
16048 cat >>conftest.$ac_ext <<_ACEOF
16049 /* end confdefs.h. */
16050 $ac_includes_default
16062 rm -f conftest.$ac_objext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16064 (eval $ac_compile) 2>conftest.er1
16066 grep -v '^ *+' conftest.er1 >conftest.err
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try='test -z "$ac_c_werror_flag"
16072 || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_cv_type_long=yes
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16094 echo "${ECHO_T}$ac_cv_type_long" >&6
16096 echo "$as_me:$LINENO: checking size of long" >&5
16097 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16098 if test "${ac_cv_sizeof_long+set}" = set; then
16099 echo $ECHO_N "(cached) $ECHO_C" >&6
16101 if test "$ac_cv_type_long" = yes; then
16102 # The cast to unsigned long works around a bug in the HP C Compiler
16103 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16104 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16105 # This bug is HP SR number 8606223364.
16106 if test "$cross_compiling" = yes; then
16107 # Depending upon the size, compute the lo and hi bounds.
16108 cat >conftest.$ac_ext <<_ACEOF
16111 cat confdefs.h >>conftest.$ac_ext
16112 cat >>conftest.$ac_ext <<_ACEOF
16113 /* end confdefs.h. */
16114 $ac_includes_default
16118 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16125 rm -f conftest.$ac_objext
16126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16127 (eval $ac_compile) 2>conftest.er1
16129 grep -v '^ *+' conftest.er1 >conftest.err
16131 cat conftest.err >&5
16132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16133 (exit $ac_status); } &&
16134 { ac_try='test -z "$ac_c_werror_flag"
16135 || test ! -s conftest.err'
16136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16137 (eval $ac_try) 2>&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); }; } &&
16141 { ac_try='test -s conftest.$ac_objext'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; }; then
16149 cat >conftest.$ac_ext <<_ACEOF
16152 cat confdefs.h >>conftest.$ac_ext
16153 cat >>conftest.$ac_ext <<_ACEOF
16154 /* end confdefs.h. */
16155 $ac_includes_default
16159 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16166 rm -f conftest.$ac_objext
16167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16168 (eval $ac_compile) 2>conftest.er1
16170 grep -v '^ *+' conftest.er1 >conftest.err
16172 cat conftest.err >&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); } &&
16175 { ac_try='test -z "$ac_c_werror_flag"
16176 || test ! -s conftest.err'
16177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16178 (eval $ac_try) 2>&5
16180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16181 (exit $ac_status); }; } &&
16182 { ac_try='test -s conftest.$ac_objext'
16183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16184 (eval $ac_try) 2>&5
16186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16187 (exit $ac_status); }; }; then
16188 ac_hi=$ac_mid; break
16190 echo "$as_me: failed program was:" >&5
16191 sed 's/^/| /' conftest.$ac_ext >&5
16193 ac_lo=`expr $ac_mid + 1`
16194 if test $ac_lo -le $ac_mid; then
16198 ac_mid=`expr 2 '*' $ac_mid + 1`
16200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16203 echo "$as_me: failed program was:" >&5
16204 sed 's/^/| /' conftest.$ac_ext >&5
16206 cat >conftest.$ac_ext <<_ACEOF
16209 cat confdefs.h >>conftest.$ac_ext
16210 cat >>conftest.$ac_ext <<_ACEOF
16211 /* end confdefs.h. */
16212 $ac_includes_default
16216 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16223 rm -f conftest.$ac_objext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>conftest.er1
16227 grep -v '^ *+' conftest.er1 >conftest.err
16229 cat conftest.err >&5
16230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16231 (exit $ac_status); } &&
16232 { ac_try='test -z "$ac_c_werror_flag"
16233 || test ! -s conftest.err'
16234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16235 (eval $ac_try) 2>&5
16237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16238 (exit $ac_status); }; } &&
16239 { ac_try='test -s conftest.$ac_objext'
16240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16241 (eval $ac_try) 2>&5
16243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16244 (exit $ac_status); }; }; then
16247 cat >conftest.$ac_ext <<_ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 $ac_includes_default
16257 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16264 rm -f conftest.$ac_objext
16265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16266 (eval $ac_compile) 2>conftest.er1
16268 grep -v '^ *+' conftest.er1 >conftest.err
16270 cat conftest.err >&5
16271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16272 (exit $ac_status); } &&
16273 { ac_try='test -z "$ac_c_werror_flag"
16274 || test ! -s conftest.err'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; } &&
16280 { ac_try='test -s conftest.$ac_objext'
16281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16282 (eval $ac_try) 2>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); }; }; then
16286 ac_lo=$ac_mid; break
16288 echo "$as_me: failed program was:" >&5
16289 sed 's/^/| /' conftest.$ac_ext >&5
16291 ac_hi=`expr '(' $ac_mid ')' - 1`
16292 if test $ac_mid -le $ac_hi; then
16296 ac_mid=`expr 2 '*' $ac_mid`
16298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16301 echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16309 # Binary search between lo and hi bounds.
16310 while test "x$ac_lo" != "x$ac_hi"; do
16311 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16312 cat >conftest.$ac_ext <<_ACEOF
16315 cat confdefs.h >>conftest.$ac_ext
16316 cat >>conftest.$ac_ext <<_ACEOF
16317 /* end confdefs.h. */
16318 $ac_includes_default
16322 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16329 rm -f conftest.$ac_objext
16330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16331 (eval $ac_compile) 2>conftest.er1
16333 grep -v '^ *+' conftest.er1 >conftest.err
16335 cat conftest.err >&5
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); } &&
16338 { ac_try='test -z "$ac_c_werror_flag"
16339 || test ! -s conftest.err'
16340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16341 (eval $ac_try) 2>&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); }; } &&
16345 { ac_try='test -s conftest.$ac_objext'
16346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16347 (eval $ac_try) 2>&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); }; }; then
16353 echo "$as_me: failed program was:" >&5
16354 sed 's/^/| /' conftest.$ac_ext >&5
16356 ac_lo=`expr '(' $ac_mid ')' + 1`
16358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16361 ?*) ac_cv_sizeof_long=$ac_lo;;
16362 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16364 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16365 See \`config.log' for more details." >&5
16366 echo "$as_me: error: cannot compute sizeof (long), 77
16367 See \`config.log' for more details." >&2;}
16368 { (exit 1); exit 1; }; }; } ;;
16371 if test "$cross_compiling" = yes; then
16372 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16373 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16374 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16375 See \`config.log' for more details." >&5
16376 echo "$as_me: error: cannot run test program while cross compiling
16377 See \`config.log' for more details." >&2;}
16378 { (exit 1); exit 1; }; }; }
16380 cat >conftest.$ac_ext <<_ACEOF
16383 cat confdefs.h >>conftest.$ac_ext
16384 cat >>conftest.$ac_ext <<_ACEOF
16385 /* end confdefs.h. */
16386 $ac_includes_default
16387 long longval () { return (long) (sizeof (long)); }
16388 unsigned long ulongval () { return (long) (sizeof (long)); }
16390 #include <stdlib.h>
16395 FILE *f = fopen ("conftest.val", "w");
16398 if (((long) (sizeof (long))) < 0)
16400 long i = longval ();
16401 if (i != ((long) (sizeof (long))))
16403 fprintf (f, "%ld\n", i);
16407 unsigned long i = ulongval ();
16408 if (i != ((long) (sizeof (long))))
16410 fprintf (f, "%lu\n", i);
16412 exit (ferror (f) || fclose (f) != 0);
16418 rm -f conftest$ac_exeext
16419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16420 (eval $ac_link) 2>&5
16422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16425 (eval $ac_try) 2>&5
16427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16428 (exit $ac_status); }; }; then
16429 ac_cv_sizeof_long=`cat conftest.val`
16431 echo "$as_me: program exited with status $ac_status" >&5
16432 echo "$as_me: failed program was:" >&5
16433 sed 's/^/| /' conftest.$ac_ext >&5
16435 ( exit $ac_status )
16436 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16437 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16438 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
16439 See \`config.log' for more details." >&5
16440 echo "$as_me: error: cannot compute sizeof (long), 77
16441 See \`config.log' for more details." >&2;}
16442 { (exit 1); exit 1; }; }; }
16444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16449 ac_cv_sizeof_long=0
16452 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
16453 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
16454 cat >>confdefs.h <<_ACEOF
16455 #define SIZEOF_LONG $ac_cv_sizeof_long
16461 if test $acx_cv_header_stdint = stddef.h; then
16462 # Lacking a good header? Test size of everything and deduce all types.
16463 echo "$as_me:$LINENO: checking for int" >&5
16464 echo $ECHO_N "checking for int... $ECHO_C" >&6
16465 if test "${ac_cv_type_int+set}" = set; then
16466 echo $ECHO_N "(cached) $ECHO_C" >&6
16468 cat >conftest.$ac_ext <<_ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474 $ac_includes_default
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>conftest.er1
16490 grep -v '^ *+' conftest.er1 >conftest.err
16492 cat conftest.err >&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -z "$ac_c_werror_flag"
16496 || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16517 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
16518 echo "${ECHO_T}$ac_cv_type_int" >&6
16520 echo "$as_me:$LINENO: checking size of int" >&5
16521 echo $ECHO_N "checking size of int... $ECHO_C" >&6
16522 if test "${ac_cv_sizeof_int+set}" = set; then
16523 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 if test "$ac_cv_type_int" = yes; then
16526 # The cast to unsigned long works around a bug in the HP C Compiler
16527 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16528 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16529 # This bug is HP SR number 8606223364.
16530 if test "$cross_compiling" = yes; then
16531 # Depending upon the size, compute the lo and hi bounds.
16532 cat >conftest.$ac_ext <<_ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 $ac_includes_default
16542 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
16549 rm -f conftest.$ac_objext
16550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16551 (eval $ac_compile) 2>conftest.er1
16553 grep -v '^ *+' conftest.er1 >conftest.err
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } &&
16558 { ac_try='test -z "$ac_c_werror_flag"
16559 || test ! -s conftest.err'
16560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16561 (eval $ac_try) 2>&5
16563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16564 (exit $ac_status); }; } &&
16565 { ac_try='test -s conftest.$ac_objext'
16566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16567 (eval $ac_try) 2>&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); }; }; then
16573 cat >conftest.$ac_ext <<_ACEOF
16576 cat confdefs.h >>conftest.$ac_ext
16577 cat >>conftest.$ac_ext <<_ACEOF
16578 /* end confdefs.h. */
16579 $ac_includes_default
16583 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16590 rm -f conftest.$ac_objext
16591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16592 (eval $ac_compile) 2>conftest.er1
16594 grep -v '^ *+' conftest.er1 >conftest.err
16596 cat conftest.err >&5
16597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16598 (exit $ac_status); } &&
16599 { ac_try='test -z "$ac_c_werror_flag"
16600 || test ! -s conftest.err'
16601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16602 (eval $ac_try) 2>&5
16604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16605 (exit $ac_status); }; } &&
16606 { ac_try='test -s conftest.$ac_objext'
16607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16608 (eval $ac_try) 2>&5
16610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16611 (exit $ac_status); }; }; then
16612 ac_hi=$ac_mid; break
16614 echo "$as_me: failed program was:" >&5
16615 sed 's/^/| /' conftest.$ac_ext >&5
16617 ac_lo=`expr $ac_mid + 1`
16618 if test $ac_lo -le $ac_mid; then
16622 ac_mid=`expr 2 '*' $ac_mid + 1`
16624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16627 echo "$as_me: failed program was:" >&5
16628 sed 's/^/| /' conftest.$ac_ext >&5
16630 cat >conftest.$ac_ext <<_ACEOF
16633 cat confdefs.h >>conftest.$ac_ext
16634 cat >>conftest.$ac_ext <<_ACEOF
16635 /* end confdefs.h. */
16636 $ac_includes_default
16640 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
16647 rm -f conftest.$ac_objext
16648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16649 (eval $ac_compile) 2>conftest.er1
16651 grep -v '^ *+' conftest.er1 >conftest.err
16653 cat conftest.err >&5
16654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16655 (exit $ac_status); } &&
16656 { ac_try='test -z "$ac_c_werror_flag"
16657 || test ! -s conftest.err'
16658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16659 (eval $ac_try) 2>&5
16661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16662 (exit $ac_status); }; } &&
16663 { ac_try='test -s conftest.$ac_objext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16671 cat >conftest.$ac_ext <<_ACEOF
16674 cat confdefs.h >>conftest.$ac_ext
16675 cat >>conftest.$ac_ext <<_ACEOF
16676 /* end confdefs.h. */
16677 $ac_includes_default
16681 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
16688 rm -f conftest.$ac_objext
16689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16690 (eval $ac_compile) 2>conftest.er1
16692 grep -v '^ *+' conftest.er1 >conftest.err
16694 cat conftest.err >&5
16695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16696 (exit $ac_status); } &&
16697 { ac_try='test -z "$ac_c_werror_flag"
16698 || test ! -s conftest.err'
16699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16700 (eval $ac_try) 2>&5
16702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16703 (exit $ac_status); }; } &&
16704 { ac_try='test -s conftest.$ac_objext'
16705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16706 (eval $ac_try) 2>&5
16708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16709 (exit $ac_status); }; }; then
16710 ac_lo=$ac_mid; break
16712 echo "$as_me: failed program was:" >&5
16713 sed 's/^/| /' conftest.$ac_ext >&5
16715 ac_hi=`expr '(' $ac_mid ')' - 1`
16716 if test $ac_mid -le $ac_hi; then
16720 ac_mid=`expr 2 '*' $ac_mid`
16722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16725 echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16733 # Binary search between lo and hi bounds.
16734 while test "x$ac_lo" != "x$ac_hi"; do
16735 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16736 cat >conftest.$ac_ext <<_ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 $ac_includes_default
16746 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
16753 rm -f conftest.$ac_objext
16754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16755 (eval $ac_compile) 2>conftest.er1
16757 grep -v '^ *+' conftest.er1 >conftest.err
16759 cat conftest.err >&5
16760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16761 (exit $ac_status); } &&
16762 { ac_try='test -z "$ac_c_werror_flag"
16763 || test ! -s conftest.err'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; } &&
16769 { ac_try='test -s conftest.$ac_objext'
16770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16771 (eval $ac_try) 2>&5
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); }; }; then
16777 echo "$as_me: failed program was:" >&5
16778 sed 's/^/| /' conftest.$ac_ext >&5
16780 ac_lo=`expr '(' $ac_mid ')' + 1`
16782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 ?*) ac_cv_sizeof_int=$ac_lo;;
16786 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16787 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16788 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16789 See \`config.log' for more details." >&5
16790 echo "$as_me: error: cannot compute sizeof (int), 77
16791 See \`config.log' for more details." >&2;}
16792 { (exit 1); exit 1; }; }; } ;;
16795 if test "$cross_compiling" = yes; then
16796 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16797 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16798 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16799 See \`config.log' for more details." >&5
16800 echo "$as_me: error: cannot run test program while cross compiling
16801 See \`config.log' for more details." >&2;}
16802 { (exit 1); exit 1; }; }; }
16804 cat >conftest.$ac_ext <<_ACEOF
16807 cat confdefs.h >>conftest.$ac_ext
16808 cat >>conftest.$ac_ext <<_ACEOF
16809 /* end confdefs.h. */
16810 $ac_includes_default
16811 long longval () { return (long) (sizeof (int)); }
16812 unsigned long ulongval () { return (long) (sizeof (int)); }
16814 #include <stdlib.h>
16819 FILE *f = fopen ("conftest.val", "w");
16822 if (((long) (sizeof (int))) < 0)
16824 long i = longval ();
16825 if (i != ((long) (sizeof (int))))
16827 fprintf (f, "%ld\n", i);
16831 unsigned long i = ulongval ();
16832 if (i != ((long) (sizeof (int))))
16834 fprintf (f, "%lu\n", i);
16836 exit (ferror (f) || fclose (f) != 0);
16842 rm -f conftest$ac_exeext
16843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16844 (eval $ac_link) 2>&5
16846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16847 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 ac_cv_sizeof_int=`cat conftest.val`
16855 echo "$as_me: program exited with status $ac_status" >&5
16856 echo "$as_me: failed program was:" >&5
16857 sed 's/^/| /' conftest.$ac_ext >&5
16859 ( exit $ac_status )
16860 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16861 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16862 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
16863 See \`config.log' for more details." >&5
16864 echo "$as_me: error: cannot compute sizeof (int), 77
16865 See \`config.log' for more details." >&2;}
16866 { (exit 1); exit 1; }; }; }
16868 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16876 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
16877 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
16878 cat >>confdefs.h <<_ACEOF
16879 #define SIZEOF_INT $ac_cv_sizeof_int
16883 echo "$as_me:$LINENO: checking for short" >&5
16884 echo $ECHO_N "checking for short... $ECHO_C" >&6
16885 if test "${ac_cv_type_short+set}" = set; then
16886 echo $ECHO_N "(cached) $ECHO_C" >&6
16888 cat >conftest.$ac_ext <<_ACEOF
16891 cat confdefs.h >>conftest.$ac_ext
16892 cat >>conftest.$ac_ext <<_ACEOF
16893 /* end confdefs.h. */
16894 $ac_includes_default
16900 if (sizeof (short))
16906 rm -f conftest.$ac_objext
16907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16908 (eval $ac_compile) 2>conftest.er1
16910 grep -v '^ *+' conftest.er1 >conftest.err
16912 cat conftest.err >&5
16913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16914 (exit $ac_status); } &&
16915 { ac_try='test -z "$ac_c_werror_flag"
16916 || test ! -s conftest.err'
16917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16918 (eval $ac_try) 2>&5
16920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16921 (exit $ac_status); }; } &&
16922 { ac_try='test -s conftest.$ac_objext'
16923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16924 (eval $ac_try) 2>&5
16926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16927 (exit $ac_status); }; }; then
16928 ac_cv_type_short=yes
16930 echo "$as_me: failed program was:" >&5
16931 sed 's/^/| /' conftest.$ac_ext >&5
16933 ac_cv_type_short=no
16935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16937 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
16938 echo "${ECHO_T}$ac_cv_type_short" >&6
16940 echo "$as_me:$LINENO: checking size of short" >&5
16941 echo $ECHO_N "checking size of short... $ECHO_C" >&6
16942 if test "${ac_cv_sizeof_short+set}" = set; then
16943 echo $ECHO_N "(cached) $ECHO_C" >&6
16945 if test "$ac_cv_type_short" = yes; then
16946 # The cast to unsigned long works around a bug in the HP C Compiler
16947 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16948 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16949 # This bug is HP SR number 8606223364.
16950 if test "$cross_compiling" = yes; then
16951 # Depending upon the size, compute the lo and hi bounds.
16952 cat >conftest.$ac_ext <<_ACEOF
16955 cat confdefs.h >>conftest.$ac_ext
16956 cat >>conftest.$ac_ext <<_ACEOF
16957 /* end confdefs.h. */
16958 $ac_includes_default
16962 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
16969 rm -f conftest.$ac_objext
16970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16971 (eval $ac_compile) 2>conftest.er1
16973 grep -v '^ *+' conftest.er1 >conftest.err
16975 cat conftest.err >&5
16976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16977 (exit $ac_status); } &&
16978 { ac_try='test -z "$ac_c_werror_flag"
16979 || test ! -s conftest.err'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; } &&
16985 { ac_try='test -s conftest.$ac_objext'
16986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16987 (eval $ac_try) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); }; }; then
16993 cat >conftest.$ac_ext <<_ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999 $ac_includes_default
17003 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17014 grep -v '^ *+' conftest.er1 >conftest.err
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag"
17020 || test ! -s conftest.err'
17021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17022 (eval $ac_try) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); }; } &&
17026 { ac_try='test -s conftest.$ac_objext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_hi=$ac_mid; break
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 ac_lo=`expr $ac_mid + 1`
17038 if test $ac_lo -le $ac_mid; then
17042 ac_mid=`expr 2 '*' $ac_mid + 1`
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 echo "$as_me: failed program was:" >&5
17048 sed 's/^/| /' conftest.$ac_ext >&5
17050 cat >conftest.$ac_ext <<_ACEOF
17053 cat confdefs.h >>conftest.$ac_ext
17054 cat >>conftest.$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17056 $ac_includes_default
17060 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17067 rm -f conftest.$ac_objext
17068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17069 (eval $ac_compile) 2>conftest.er1
17071 grep -v '^ *+' conftest.er1 >conftest.err
17073 cat conftest.err >&5
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); } &&
17076 { ac_try='test -z "$ac_c_werror_flag"
17077 || test ! -s conftest.err'
17078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17079 (eval $ac_try) 2>&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); }; } &&
17083 { ac_try='test -s conftest.$ac_objext'
17084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17085 (eval $ac_try) 2>&5
17087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17088 (exit $ac_status); }; }; then
17091 cat >conftest.$ac_ext <<_ACEOF
17094 cat confdefs.h >>conftest.$ac_ext
17095 cat >>conftest.$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 $ac_includes_default
17101 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17108 rm -f conftest.$ac_objext
17109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17110 (eval $ac_compile) 2>conftest.er1
17112 grep -v '^ *+' conftest.er1 >conftest.err
17114 cat conftest.err >&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); } &&
17117 { ac_try='test -z "$ac_c_werror_flag"
17118 || test ! -s conftest.err'
17119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17120 (eval $ac_try) 2>&5
17122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17123 (exit $ac_status); }; } &&
17124 { ac_try='test -s conftest.$ac_objext'
17125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17126 (eval $ac_try) 2>&5
17128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17129 (exit $ac_status); }; }; then
17130 ac_lo=$ac_mid; break
17132 echo "$as_me: failed program was:" >&5
17133 sed 's/^/| /' conftest.$ac_ext >&5
17135 ac_hi=`expr '(' $ac_mid ')' - 1`
17136 if test $ac_mid -le $ac_hi; then
17140 ac_mid=`expr 2 '*' $ac_mid`
17142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17145 echo "$as_me: failed program was:" >&5
17146 sed 's/^/| /' conftest.$ac_ext >&5
17150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17153 # Binary search between lo and hi bounds.
17154 while test "x$ac_lo" != "x$ac_hi"; do
17155 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17156 cat >conftest.$ac_ext <<_ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h. */
17162 $ac_includes_default
17166 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17173 rm -f conftest.$ac_objext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175 (eval $ac_compile) 2>conftest.er1
17177 grep -v '^ *+' conftest.er1 >conftest.err
17179 cat conftest.err >&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } &&
17182 { ac_try='test -z "$ac_c_werror_flag"
17183 || test ! -s conftest.err'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; } &&
17189 { ac_try='test -s conftest.$ac_objext'
17190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17191 (eval $ac_try) 2>&5
17193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17194 (exit $ac_status); }; }; then
17197 echo "$as_me: failed program was:" >&5
17198 sed 's/^/| /' conftest.$ac_ext >&5
17200 ac_lo=`expr '(' $ac_mid ')' + 1`
17202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17205 ?*) ac_cv_sizeof_short=$ac_lo;;
17206 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17207 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17208 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17209 See \`config.log' for more details." >&5
17210 echo "$as_me: error: cannot compute sizeof (short), 77
17211 See \`config.log' for more details." >&2;}
17212 { (exit 1); exit 1; }; }; } ;;
17215 if test "$cross_compiling" = yes; then
17216 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17217 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17218 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17219 See \`config.log' for more details." >&5
17220 echo "$as_me: error: cannot run test program while cross compiling
17221 See \`config.log' for more details." >&2;}
17222 { (exit 1); exit 1; }; }; }
17224 cat >conftest.$ac_ext <<_ACEOF
17227 cat confdefs.h >>conftest.$ac_ext
17228 cat >>conftest.$ac_ext <<_ACEOF
17229 /* end confdefs.h. */
17230 $ac_includes_default
17231 long longval () { return (long) (sizeof (short)); }
17232 unsigned long ulongval () { return (long) (sizeof (short)); }
17234 #include <stdlib.h>
17239 FILE *f = fopen ("conftest.val", "w");
17242 if (((long) (sizeof (short))) < 0)
17244 long i = longval ();
17245 if (i != ((long) (sizeof (short))))
17247 fprintf (f, "%ld\n", i);
17251 unsigned long i = ulongval ();
17252 if (i != ((long) (sizeof (short))))
17254 fprintf (f, "%lu\n", i);
17256 exit (ferror (f) || fclose (f) != 0);
17262 rm -f conftest$ac_exeext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17264 (eval $ac_link) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 ac_cv_sizeof_short=`cat conftest.val`
17275 echo "$as_me: program exited with status $ac_status" >&5
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 ( exit $ac_status )
17280 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17281 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17282 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17283 See \`config.log' for more details." >&5
17284 echo "$as_me: error: cannot compute sizeof (short), 77
17285 See \`config.log' for more details." >&2;}
17286 { (exit 1); exit 1; }; }; }
17288 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17293 ac_cv_sizeof_short=0
17296 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
17297 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
17298 cat >>confdefs.h <<_ACEOF
17299 #define SIZEOF_SHORT $ac_cv_sizeof_short
17303 echo "$as_me:$LINENO: checking for char" >&5
17304 echo $ECHO_N "checking for char... $ECHO_C" >&6
17305 if test "${ac_cv_type_char+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17308 cat >conftest.$ac_ext <<_ACEOF
17311 cat confdefs.h >>conftest.$ac_ext
17312 cat >>conftest.$ac_ext <<_ACEOF
17313 /* end confdefs.h. */
17314 $ac_includes_default
17326 rm -f conftest.$ac_objext
17327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17328 (eval $ac_compile) 2>conftest.er1
17330 grep -v '^ *+' conftest.er1 >conftest.err
17332 cat conftest.err >&5
17333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17334 (exit $ac_status); } &&
17335 { ac_try='test -z "$ac_c_werror_flag"
17336 || test ! -s conftest.err'
17337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17338 (eval $ac_try) 2>&5
17340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17341 (exit $ac_status); }; } &&
17342 { ac_try='test -s conftest.$ac_objext'
17343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17344 (eval $ac_try) 2>&5
17346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17347 (exit $ac_status); }; }; then
17348 ac_cv_type_char=yes
17350 echo "$as_me: failed program was:" >&5
17351 sed 's/^/| /' conftest.$ac_ext >&5
17355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17357 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17358 echo "${ECHO_T}$ac_cv_type_char" >&6
17360 echo "$as_me:$LINENO: checking size of char" >&5
17361 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17362 if test "${ac_cv_sizeof_char+set}" = set; then
17363 echo $ECHO_N "(cached) $ECHO_C" >&6
17365 if test "$ac_cv_type_char" = yes; then
17366 # The cast to unsigned long works around a bug in the HP C Compiler
17367 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17368 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17369 # This bug is HP SR number 8606223364.
17370 if test "$cross_compiling" = yes; then
17371 # Depending upon the size, compute the lo and hi bounds.
17372 cat >conftest.$ac_ext <<_ACEOF
17375 cat confdefs.h >>conftest.$ac_ext
17376 cat >>conftest.$ac_ext <<_ACEOF
17377 /* end confdefs.h. */
17378 $ac_includes_default
17382 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17389 rm -f conftest.$ac_objext
17390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17391 (eval $ac_compile) 2>conftest.er1
17393 grep -v '^ *+' conftest.er1 >conftest.err
17395 cat conftest.err >&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } &&
17398 { ac_try='test -z "$ac_c_werror_flag"
17399 || test ! -s conftest.err'
17400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17401 (eval $ac_try) 2>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); }; } &&
17405 { ac_try='test -s conftest.$ac_objext'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; }; then
17413 cat >conftest.$ac_ext <<_ACEOF
17416 cat confdefs.h >>conftest.$ac_ext
17417 cat >>conftest.$ac_ext <<_ACEOF
17418 /* end confdefs.h. */
17419 $ac_includes_default
17423 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17430 rm -f conftest.$ac_objext
17431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17432 (eval $ac_compile) 2>conftest.er1
17434 grep -v '^ *+' conftest.er1 >conftest.err
17436 cat conftest.err >&5
17437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17438 (exit $ac_status); } &&
17439 { ac_try='test -z "$ac_c_werror_flag"
17440 || test ! -s conftest.err'
17441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17442 (eval $ac_try) 2>&5
17444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17445 (exit $ac_status); }; } &&
17446 { ac_try='test -s conftest.$ac_objext'
17447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17448 (eval $ac_try) 2>&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); }; }; then
17452 ac_hi=$ac_mid; break
17454 echo "$as_me: failed program was:" >&5
17455 sed 's/^/| /' conftest.$ac_ext >&5
17457 ac_lo=`expr $ac_mid + 1`
17458 if test $ac_lo -le $ac_mid; then
17462 ac_mid=`expr 2 '*' $ac_mid + 1`
17464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17467 echo "$as_me: failed program was:" >&5
17468 sed 's/^/| /' conftest.$ac_ext >&5
17470 cat >conftest.$ac_ext <<_ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476 $ac_includes_default
17480 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
17487 rm -f conftest.$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>conftest.er1
17491 grep -v '^ *+' conftest.er1 >conftest.err
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try='test -z "$ac_c_werror_flag"
17497 || test ! -s conftest.err'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; } &&
17503 { ac_try='test -s conftest.$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17511 cat >conftest.$ac_ext <<_ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 $ac_includes_default
17521 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
17528 rm -f conftest.$ac_objext
17529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17530 (eval $ac_compile) 2>conftest.er1
17532 grep -v '^ *+' conftest.er1 >conftest.err
17534 cat conftest.err >&5
17535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17536 (exit $ac_status); } &&
17537 { ac_try='test -z "$ac_c_werror_flag"
17538 || test ! -s conftest.err'
17539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17540 (eval $ac_try) 2>&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); }; } &&
17544 { ac_try='test -s conftest.$ac_objext'
17545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17546 (eval $ac_try) 2>&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); }; }; then
17550 ac_lo=$ac_mid; break
17552 echo "$as_me: failed program was:" >&5
17553 sed 's/^/| /' conftest.$ac_ext >&5
17555 ac_hi=`expr '(' $ac_mid ')' - 1`
17556 if test $ac_mid -le $ac_hi; then
17560 ac_mid=`expr 2 '*' $ac_mid`
17562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17573 # Binary search between lo and hi bounds.
17574 while test "x$ac_lo" != "x$ac_hi"; do
17575 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17576 cat >conftest.$ac_ext <<_ACEOF
17579 cat confdefs.h >>conftest.$ac_ext
17580 cat >>conftest.$ac_ext <<_ACEOF
17581 /* end confdefs.h. */
17582 $ac_includes_default
17586 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
17593 rm -f conftest.$ac_objext
17594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17595 (eval $ac_compile) 2>conftest.er1
17597 grep -v '^ *+' conftest.er1 >conftest.err
17599 cat conftest.err >&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); } &&
17602 { ac_try='test -z "$ac_c_werror_flag"
17603 || test ! -s conftest.err'
17604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17605 (eval $ac_try) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); }; } &&
17609 { ac_try='test -s conftest.$ac_objext'
17610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17611 (eval $ac_try) 2>&5
17613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17614 (exit $ac_status); }; }; then
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17620 ac_lo=`expr '(' $ac_mid ')' + 1`
17622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17625 ?*) ac_cv_sizeof_char=$ac_lo;;
17626 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17627 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17628 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17629 See \`config.log' for more details." >&5
17630 echo "$as_me: error: cannot compute sizeof (char), 77
17631 See \`config.log' for more details." >&2;}
17632 { (exit 1); exit 1; }; }; } ;;
17635 if test "$cross_compiling" = yes; then
17636 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17637 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17638 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17639 See \`config.log' for more details." >&5
17640 echo "$as_me: error: cannot run test program while cross compiling
17641 See \`config.log' for more details." >&2;}
17642 { (exit 1); exit 1; }; }; }
17644 cat >conftest.$ac_ext <<_ACEOF
17647 cat confdefs.h >>conftest.$ac_ext
17648 cat >>conftest.$ac_ext <<_ACEOF
17649 /* end confdefs.h. */
17650 $ac_includes_default
17651 long longval () { return (long) (sizeof (char)); }
17652 unsigned long ulongval () { return (long) (sizeof (char)); }
17654 #include <stdlib.h>
17659 FILE *f = fopen ("conftest.val", "w");
17662 if (((long) (sizeof (char))) < 0)
17664 long i = longval ();
17665 if (i != ((long) (sizeof (char))))
17667 fprintf (f, "%ld\n", i);
17671 unsigned long i = ulongval ();
17672 if (i != ((long) (sizeof (char))))
17674 fprintf (f, "%lu\n", i);
17676 exit (ferror (f) || fclose (f) != 0);
17682 rm -f conftest$ac_exeext
17683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17684 (eval $ac_link) 2>&5
17686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17687 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; }; then
17693 ac_cv_sizeof_char=`cat conftest.val`
17695 echo "$as_me: program exited with status $ac_status" >&5
17696 echo "$as_me: failed program was:" >&5
17697 sed 's/^/| /' conftest.$ac_ext >&5
17699 ( exit $ac_status )
17700 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17701 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17702 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
17703 See \`config.log' for more details." >&5
17704 echo "$as_me: error: cannot compute sizeof (char), 77
17705 See \`config.log' for more details." >&2;}
17706 { (exit 1); exit 1; }; }; }
17708 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17713 ac_cv_sizeof_char=0
17716 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
17717 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
17718 cat >>confdefs.h <<_ACEOF
17719 #define SIZEOF_CHAR $ac_cv_sizeof_char
17724 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
17725 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
17726 case "$ac_cv_sizeof_char" in
17727 1) acx_cv_type_int8_t=char ;;
17728 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
17729 echo "$as_me: error: no 8-bit type" >&2;}
17730 { (exit please report a bug); exit please report a bug; }; }
17732 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
17733 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
17735 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
17736 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
17737 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
17738 2:*) acx_cv_type_int16_t=int ;;
17739 *:2) acx_cv_type_int16_t=short ;;
17740 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
17741 echo "$as_me: error: no 16-bit type" >&2;}
17742 { (exit please report a bug); exit please report a bug; }; }
17744 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
17745 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
17747 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
17748 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
17749 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
17750 4:*) acx_cv_type_int32_t=int ;;
17751 *:4) acx_cv_type_int32_t=long ;;
17752 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
17753 echo "$as_me: error: no 32-bit type" >&2;}
17754 { (exit please report a bug); exit please report a bug; }; }
17756 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
17757 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
17760 # These tests are here to make the output prettier
17762 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17763 case "$ac_cv_sizeof_long" in
17764 8) acx_cv_type_int64_t=long ;;
17766 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
17767 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
17768 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17769 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
17772 # Now we can use the above types
17774 if test "$ac_cv_type_uintptr_t" != yes; then
17775 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
17776 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
17777 case $ac_cv_sizeof_void_p in
17778 2) acx_cv_type_intptr_t=int16_t ;;
17779 4) acx_cv_type_intptr_t=int32_t ;;
17780 8) acx_cv_type_intptr_t=int64_t ;;
17781 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
17782 echo "$as_me: error: no equivalent for intptr_t" >&2;}
17783 { (exit please report a bug); exit please report a bug; }; }
17785 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
17786 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
17789 # ----------------- done all checks, emit header -------------
17790 ac_config_commands="$ac_config_commands gstdint.h"
17795 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
17796 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
17797 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.$ac_ext <<_ACEOF
17803 cat confdefs.h >>conftest.$ac_ext
17804 cat >>conftest.$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 $ac_includes_default
17810 static struct stat ac_aggr;
17811 if (ac_aggr.st_blksize)
17817 rm -f conftest.$ac_objext
17818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17819 (eval $ac_compile) 2>conftest.er1
17821 grep -v '^ *+' conftest.er1 >conftest.err
17823 cat conftest.err >&5
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); } &&
17826 { ac_try='test -z "$ac_c_werror_flag"
17827 || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 ac_cv_member_struct_stat_st_blksize=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.$ac_ext >&5
17844 cat >conftest.$ac_ext <<_ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 $ac_includes_default
17854 static struct stat ac_aggr;
17855 if (sizeof ac_aggr.st_blksize)
17861 rm -f conftest.$ac_objext
17862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17863 (eval $ac_compile) 2>conftest.er1
17865 grep -v '^ *+' conftest.er1 >conftest.err
17867 cat conftest.err >&5
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); } &&
17870 { ac_try='test -z "$ac_c_werror_flag"
17871 || test ! -s conftest.err'
17872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17873 (eval $ac_try) 2>&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); }; } &&
17877 { ac_try='test -s conftest.$ac_objext'
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879 (eval $ac_try) 2>&5
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }; }; then
17883 ac_cv_member_struct_stat_st_blksize=yes
17885 echo "$as_me: failed program was:" >&5
17886 sed 's/^/| /' conftest.$ac_ext >&5
17888 ac_cv_member_struct_stat_st_blksize=no
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17894 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
17895 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
17896 if test $ac_cv_member_struct_stat_st_blksize = yes; then
17898 cat >>confdefs.h <<_ACEOF
17899 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17905 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17906 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17907 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17908 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 cat >conftest.$ac_ext <<_ACEOF
17913 cat confdefs.h >>conftest.$ac_ext
17914 cat >>conftest.$ac_ext <<_ACEOF
17915 /* end confdefs.h. */
17916 $ac_includes_default
17920 static struct stat ac_aggr;
17921 if (ac_aggr.st_blocks)
17927 rm -f conftest.$ac_objext
17928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17929 (eval $ac_compile) 2>conftest.er1
17931 grep -v '^ *+' conftest.er1 >conftest.err
17933 cat conftest.err >&5
17934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17935 (exit $ac_status); } &&
17936 { ac_try='test -z "$ac_c_werror_flag"
17937 || test ! -s conftest.err'
17938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17939 (eval $ac_try) 2>&5
17941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17942 (exit $ac_status); }; } &&
17943 { ac_try='test -s conftest.$ac_objext'
17944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17945 (eval $ac_try) 2>&5
17947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17948 (exit $ac_status); }; }; then
17949 ac_cv_member_struct_stat_st_blocks=yes
17951 echo "$as_me: failed program was:" >&5
17952 sed 's/^/| /' conftest.$ac_ext >&5
17954 cat >conftest.$ac_ext <<_ACEOF
17957 cat confdefs.h >>conftest.$ac_ext
17958 cat >>conftest.$ac_ext <<_ACEOF
17959 /* end confdefs.h. */
17960 $ac_includes_default
17964 static struct stat ac_aggr;
17965 if (sizeof ac_aggr.st_blocks)
17971 rm -f conftest.$ac_objext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17973 (eval $ac_compile) 2>conftest.er1
17975 grep -v '^ *+' conftest.er1 >conftest.err
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_c_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try='test -s conftest.$ac_objext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 ac_cv_member_struct_stat_st_blocks=yes
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17998 ac_cv_member_struct_stat_st_blocks=no
18000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18004 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18005 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18006 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18008 cat >>confdefs.h <<_ACEOF
18009 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18015 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18016 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18017 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18018 echo $ECHO_N "(cached) $ECHO_C" >&6
18020 cat >conftest.$ac_ext <<_ACEOF
18023 cat confdefs.h >>conftest.$ac_ext
18024 cat >>conftest.$ac_ext <<_ACEOF
18025 /* end confdefs.h. */
18026 $ac_includes_default
18030 static struct stat ac_aggr;
18031 if (ac_aggr.st_rdev)
18037 rm -f conftest.$ac_objext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18039 (eval $ac_compile) 2>conftest.er1
18041 grep -v '^ *+' conftest.er1 >conftest.err
18043 cat conftest.err >&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try='test -z "$ac_c_werror_flag"
18047 || test ! -s conftest.err'
18048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18049 (eval $ac_try) 2>&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); }; } &&
18053 { ac_try='test -s conftest.$ac_objext'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; }; then
18059 ac_cv_member_struct_stat_st_rdev=yes
18061 echo "$as_me: failed program was:" >&5
18062 sed 's/^/| /' conftest.$ac_ext >&5
18064 cat >conftest.$ac_ext <<_ACEOF
18067 cat confdefs.h >>conftest.$ac_ext
18068 cat >>conftest.$ac_ext <<_ACEOF
18069 /* end confdefs.h. */
18070 $ac_includes_default
18074 static struct stat ac_aggr;
18075 if (sizeof ac_aggr.st_rdev)
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18085 grep -v '^ *+' conftest.er1 >conftest.err
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag"
18091 || test ! -s conftest.err'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; } &&
18097 { ac_try='test -s conftest.$ac_objext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 ac_cv_member_struct_stat_st_rdev=yes
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18108 ac_cv_member_struct_stat_st_rdev=no
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18114 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18115 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18116 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18118 cat >>confdefs.h <<_ACEOF
18119 #define HAVE_STRUCT_STAT_ST_RDEV 1
18126 # Check for library functions.
18135 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18138 echo "$as_me:$LINENO: checking for $ac_func" >&5
18139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18140 if eval "test \"\${$as_ac_var+set}\" = set"; then
18141 echo $ECHO_N "(cached) $ECHO_C" >&6
18143 if test x$gcc_no_link = xyes; then
18144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18146 { (exit 1); exit 1; }; }
18148 cat >conftest.$ac_ext <<_ACEOF
18151 cat confdefs.h >>conftest.$ac_ext
18152 cat >>conftest.$ac_ext <<_ACEOF
18153 /* end confdefs.h. */
18154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18156 #define $ac_func innocuous_$ac_func
18158 /* System header to define __stub macros and hopefully few prototypes,
18159 which can conflict with char $ac_func (); below.
18160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18161 <limits.h> exists even on freestanding compilers. */
18164 # include <limits.h>
18166 # include <assert.h>
18171 /* Override any gcc2 internal prototype to avoid an error. */
18176 /* We use char because int might match the return type of a gcc2
18177 builtin and then its argument prototype would still apply. */
18179 /* The GNU C library defines this for functions which it implements
18180 to always fail with ENOSYS. Some functions are actually named
18181 something starting with __ and the normal name is an alias. */
18182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18185 char (*f) () = $ac_func;
18194 return f != $ac_func;
18199 rm -f conftest.$ac_objext conftest$ac_exeext
18200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18201 (eval $ac_link) 2>conftest.er1
18203 grep -v '^ *+' conftest.er1 >conftest.err
18205 cat conftest.err >&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); } &&
18208 { ac_try='test -z "$ac_c_werror_flag"
18209 || test ! -s conftest.err'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; } &&
18215 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
18221 eval "$as_ac_var=yes"
18223 echo "$as_me: failed program was:" >&5
18224 sed 's/^/| /' conftest.$ac_ext >&5
18226 eval "$as_ac_var=no"
18228 rm -f conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext conftest.$ac_ext
18231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18233 if test `eval echo '${'$as_ac_var'}'` = yes; then
18234 cat >>confdefs.h <<_ACEOF
18235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18249 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18252 echo "$as_me:$LINENO: checking for $ac_func" >&5
18253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18254 if eval "test \"\${$as_ac_var+set}\" = set"; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18257 if test x$gcc_no_link = xyes; then
18258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18260 { (exit 1); exit 1; }; }
18262 cat >conftest.$ac_ext <<_ACEOF
18265 cat confdefs.h >>conftest.$ac_ext
18266 cat >>conftest.$ac_ext <<_ACEOF
18267 /* end confdefs.h. */
18268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18270 #define $ac_func innocuous_$ac_func
18272 /* System header to define __stub macros and hopefully few prototypes,
18273 which can conflict with char $ac_func (); below.
18274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18275 <limits.h> exists even on freestanding compilers. */
18278 # include <limits.h>
18280 # include <assert.h>
18285 /* Override any gcc2 internal prototype to avoid an error. */
18290 /* We use char because int might match the return type of a gcc2
18291 builtin and then its argument prototype would still apply. */
18293 /* The GNU C library defines this for functions which it implements
18294 to always fail with ENOSYS. Some functions are actually named
18295 something starting with __ and the normal name is an alias. */
18296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18299 char (*f) () = $ac_func;
18308 return f != $ac_func;
18313 rm -f conftest.$ac_objext conftest$ac_exeext
18314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18315 (eval $ac_link) 2>conftest.er1
18317 grep -v '^ *+' conftest.er1 >conftest.err
18319 cat conftest.err >&5
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); } &&
18322 { ac_try='test -z "$ac_c_werror_flag"
18323 || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try='test -s conftest$ac_exeext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 eval "$as_ac_var=yes"
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.$ac_ext >&5
18340 eval "$as_ac_var=no"
18342 rm -f conftest.err conftest.$ac_objext \
18343 conftest$ac_exeext conftest.$ac_ext
18345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18347 if test `eval echo '${'$as_ac_var'}'` = yes; then
18348 cat >>confdefs.h <<_ACEOF
18349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18365 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
18367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18368 echo "$as_me:$LINENO: checking for $ac_func" >&5
18369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18370 if eval "test \"\${$as_ac_var+set}\" = set"; then
18371 echo $ECHO_N "(cached) $ECHO_C" >&6
18373 if test x$gcc_no_link = xyes; then
18374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18376 { (exit 1); exit 1; }; }
18378 cat >conftest.$ac_ext <<_ACEOF
18381 cat confdefs.h >>conftest.$ac_ext
18382 cat >>conftest.$ac_ext <<_ACEOF
18383 /* end confdefs.h. */
18384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18386 #define $ac_func innocuous_$ac_func
18388 /* System header to define __stub macros and hopefully few prototypes,
18389 which can conflict with char $ac_func (); below.
18390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18391 <limits.h> exists even on freestanding compilers. */
18394 # include <limits.h>
18396 # include <assert.h>
18401 /* Override any gcc2 internal prototype to avoid an error. */
18406 /* We use char because int might match the return type of a gcc2
18407 builtin and then its argument prototype would still apply. */
18409 /* The GNU C library defines this for functions which it implements
18410 to always fail with ENOSYS. Some functions are actually named
18411 something starting with __ and the normal name is an alias. */
18412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18415 char (*f) () = $ac_func;
18424 return f != $ac_func;
18429 rm -f conftest.$ac_objext conftest$ac_exeext
18430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18431 (eval $ac_link) 2>conftest.er1
18433 grep -v '^ *+' conftest.er1 >conftest.err
18435 cat conftest.err >&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); } &&
18438 { ac_try='test -z "$ac_c_werror_flag"
18439 || test ! -s conftest.err'
18440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18441 (eval $ac_try) 2>&5
18443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18444 (exit $ac_status); }; } &&
18445 { ac_try='test -s conftest$ac_exeext'
18446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18447 (eval $ac_try) 2>&5
18449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18450 (exit $ac_status); }; }; then
18451 eval "$as_ac_var=yes"
18453 echo "$as_me: failed program was:" >&5
18454 sed 's/^/| /' conftest.$ac_ext >&5
18456 eval "$as_ac_var=no"
18458 rm -f conftest.err conftest.$ac_objext \
18459 conftest$ac_exeext conftest.$ac_ext
18461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18463 if test `eval echo '${'$as_ac_var'}'` = yes; then
18464 cat >>confdefs.h <<_ACEOF
18465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18480 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
18482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18483 echo "$as_me:$LINENO: checking for $ac_func" >&5
18484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18485 if eval "test \"\${$as_ac_var+set}\" = set"; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18488 if test x$gcc_no_link = xyes; then
18489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18491 { (exit 1); exit 1; }; }
18493 cat >conftest.$ac_ext <<_ACEOF
18496 cat confdefs.h >>conftest.$ac_ext
18497 cat >>conftest.$ac_ext <<_ACEOF
18498 /* end confdefs.h. */
18499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18501 #define $ac_func innocuous_$ac_func
18503 /* System header to define __stub macros and hopefully few prototypes,
18504 which can conflict with char $ac_func (); below.
18505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18506 <limits.h> exists even on freestanding compilers. */
18509 # include <limits.h>
18511 # include <assert.h>
18516 /* Override any gcc2 internal prototype to avoid an error. */
18521 /* We use char because int might match the return type of a gcc2
18522 builtin and then its argument prototype would still apply. */
18524 /* The GNU C library defines this for functions which it implements
18525 to always fail with ENOSYS. Some functions are actually named
18526 something starting with __ and the normal name is an alias. */
18527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18530 char (*f) () = $ac_func;
18539 return f != $ac_func;
18544 rm -f conftest.$ac_objext conftest$ac_exeext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18546 (eval $ac_link) 2>conftest.er1
18548 grep -v '^ *+' conftest.er1 >conftest.err
18550 cat conftest.err >&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } &&
18553 { ac_try='test -z "$ac_c_werror_flag"
18554 || test ! -s conftest.err'
18555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18556 (eval $ac_try) 2>&5
18558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18559 (exit $ac_status); }; } &&
18560 { ac_try='test -s conftest$ac_exeext'
18561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18562 (eval $ac_try) 2>&5
18564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18565 (exit $ac_status); }; }; then
18566 eval "$as_ac_var=yes"
18568 echo "$as_me: failed program was:" >&5
18569 sed 's/^/| /' conftest.$ac_ext >&5
18571 eval "$as_ac_var=no"
18573 rm -f conftest.err conftest.$ac_objext \
18574 conftest$ac_exeext conftest.$ac_ext
18576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18578 if test `eval echo '${'$as_ac_var'}'` = yes; then
18579 cat >>confdefs.h <<_ACEOF
18580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18594 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
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
18701 # Check for glibc backtrace functions
18704 for ac_func in backtrace backtrace_symbols
18706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18707 echo "$as_me:$LINENO: checking for $ac_func" >&5
18708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18709 if eval "test \"\${$as_ac_var+set}\" = set"; then
18710 echo $ECHO_N "(cached) $ECHO_C" >&6
18712 if test x$gcc_no_link = xyes; then
18713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18715 { (exit 1); exit 1; }; }
18717 cat >conftest.$ac_ext <<_ACEOF
18720 cat confdefs.h >>conftest.$ac_ext
18721 cat >>conftest.$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18725 #define $ac_func innocuous_$ac_func
18727 /* System header to define __stub macros and hopefully few prototypes,
18728 which can conflict with char $ac_func (); below.
18729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18730 <limits.h> exists even on freestanding compilers. */
18733 # include <limits.h>
18735 # include <assert.h>
18740 /* Override any gcc2 internal prototype to avoid an error. */
18745 /* We use char because int might match the return type of a gcc2
18746 builtin and then its argument prototype would still apply. */
18748 /* The GNU C library defines this for functions which it implements
18749 to always fail with ENOSYS. Some functions are actually named
18750 something starting with __ and the normal name is an alias. */
18751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18754 char (*f) () = $ac_func;
18763 return f != $ac_func;
18768 rm -f conftest.$ac_objext conftest$ac_exeext
18769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18770 (eval $ac_link) 2>conftest.er1
18772 grep -v '^ *+' conftest.er1 >conftest.err
18774 cat conftest.err >&5
18775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18776 (exit $ac_status); } &&
18777 { ac_try='test -z "$ac_c_werror_flag"
18778 || test ! -s conftest.err'
18779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18780 (eval $ac_try) 2>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; } &&
18784 { ac_try='test -s conftest$ac_exeext'
18785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18786 (eval $ac_try) 2>&5
18788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18789 (exit $ac_status); }; }; then
18790 eval "$as_ac_var=yes"
18792 echo "$as_me: failed program was:" >&5
18793 sed 's/^/| /' conftest.$ac_ext >&5
18795 eval "$as_ac_var=no"
18797 rm -f conftest.err conftest.$ac_objext \
18798 conftest$ac_exeext conftest.$ac_ext
18800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18802 if test `eval echo '${'$as_ac_var'}'` = yes; then
18803 cat >>confdefs.h <<_ACEOF
18804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18812 echo "$as_me:$LINENO: checking for intptr_t" >&5
18813 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
18814 if test "${ac_cv_type_intptr_t+set}" = set; then
18815 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 cat >conftest.$ac_ext <<_ACEOF
18820 cat confdefs.h >>conftest.$ac_ext
18821 cat >>conftest.$ac_ext <<_ACEOF
18822 /* end confdefs.h. */
18823 $ac_includes_default
18827 if ((intptr_t *) 0)
18829 if (sizeof (intptr_t))
18835 rm -f conftest.$ac_objext
18836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18837 (eval $ac_compile) 2>conftest.er1
18839 grep -v '^ *+' conftest.er1 >conftest.err
18841 cat conftest.err >&5
18842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18843 (exit $ac_status); } &&
18844 { ac_try='test -z "$ac_c_werror_flag"
18845 || test ! -s conftest.err'
18846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18847 (eval $ac_try) 2>&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); }; } &&
18851 { ac_try='test -s conftest.$ac_objext'
18852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18853 (eval $ac_try) 2>&5
18855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18856 (exit $ac_status); }; }; then
18857 ac_cv_type_intptr_t=yes
18859 echo "$as_me: failed program was:" >&5
18860 sed 's/^/| /' conftest.$ac_ext >&5
18862 ac_cv_type_intptr_t=no
18864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18866 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
18867 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
18868 if test $ac_cv_type_intptr_t = yes; then
18870 cat >>confdefs.h <<_ACEOF
18871 #define HAVE_INTPTR_T 1
18877 echo "$as_me:$LINENO: checking for uintptr_t" >&5
18878 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
18879 if test "${ac_cv_type_uintptr_t+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18882 cat >conftest.$ac_ext <<_ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 $ac_includes_default
18892 if ((uintptr_t *) 0)
18894 if (sizeof (uintptr_t))
18900 rm -f conftest.$ac_objext
18901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18902 (eval $ac_compile) 2>conftest.er1
18904 grep -v '^ *+' conftest.er1 >conftest.err
18906 cat conftest.err >&5
18907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18908 (exit $ac_status); } &&
18909 { ac_try='test -z "$ac_c_werror_flag"
18910 || test ! -s conftest.err'
18911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18912 (eval $ac_try) 2>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); }; } &&
18916 { ac_try='test -s conftest.$ac_objext'
18917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18918 (eval $ac_try) 2>&5
18920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18921 (exit $ac_status); }; }; then
18922 ac_cv_type_uintptr_t=yes
18924 echo "$as_me: failed program was:" >&5
18925 sed 's/^/| /' conftest.$ac_ext >&5
18927 ac_cv_type_uintptr_t=no
18929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18931 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
18932 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
18933 if test $ac_cv_type_uintptr_t = yes; then
18935 cat >>confdefs.h <<_ACEOF
18936 #define HAVE_UINTPTR_T 1
18943 # Check libc for getgid, getpid, getuid
18944 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
18945 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
18946 if test "${ac_cv_lib_c_getgid+set}" = set; then
18947 echo $ECHO_N "(cached) $ECHO_C" >&6
18949 ac_check_lib_save_LIBS=$LIBS
18951 if test x$gcc_no_link = xyes; then
18952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18954 { (exit 1); exit 1; }; }
18956 cat >conftest.$ac_ext <<_ACEOF
18959 cat confdefs.h >>conftest.$ac_ext
18960 cat >>conftest.$ac_ext <<_ACEOF
18961 /* end confdefs.h. */
18963 /* Override any gcc2 internal prototype to avoid an error. */
18967 /* We use char because int might match the return type of a gcc2
18968 builtin and then its argument prototype would still apply. */
18978 rm -f conftest.$ac_objext conftest$ac_exeext
18979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18980 (eval $ac_link) 2>conftest.er1
18982 grep -v '^ *+' conftest.er1 >conftest.err
18984 cat conftest.err >&5
18985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18986 (exit $ac_status); } &&
18987 { ac_try='test -z "$ac_c_werror_flag"
18988 || test ! -s conftest.err'
18989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18990 (eval $ac_try) 2>&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); }; } &&
18994 { ac_try='test -s conftest$ac_exeext'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; }; then
19000 ac_cv_lib_c_getgid=yes
19002 echo "$as_me: failed program was:" >&5
19003 sed 's/^/| /' conftest.$ac_ext >&5
19005 ac_cv_lib_c_getgid=no
19007 rm -f conftest.err conftest.$ac_objext \
19008 conftest$ac_exeext conftest.$ac_ext
19009 LIBS=$ac_check_lib_save_LIBS
19011 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19012 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19013 if test $ac_cv_lib_c_getgid = yes; then
19015 cat >>confdefs.h <<\_ACEOF
19016 #define HAVE_GETGID 1
19021 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19022 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19023 if test "${ac_cv_lib_c_getpid+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19026 ac_check_lib_save_LIBS=$LIBS
19028 if test x$gcc_no_link = xyes; then
19029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19031 { (exit 1); exit 1; }; }
19033 cat >conftest.$ac_ext <<_ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19040 /* Override any gcc2 internal prototype to avoid an error. */
19044 /* We use char because int might match the return type of a gcc2
19045 builtin and then its argument prototype would still apply. */
19055 rm -f conftest.$ac_objext conftest$ac_exeext
19056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19057 (eval $ac_link) 2>conftest.er1
19059 grep -v '^ *+' conftest.er1 >conftest.err
19061 cat conftest.err >&5
19062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19063 (exit $ac_status); } &&
19064 { ac_try='test -z "$ac_c_werror_flag"
19065 || test ! -s conftest.err'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; } &&
19071 { ac_try='test -s conftest$ac_exeext'
19072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19073 (eval $ac_try) 2>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); }; }; then
19077 ac_cv_lib_c_getpid=yes
19079 echo "$as_me: failed program was:" >&5
19080 sed 's/^/| /' conftest.$ac_ext >&5
19082 ac_cv_lib_c_getpid=no
19084 rm -f conftest.err conftest.$ac_objext \
19085 conftest$ac_exeext conftest.$ac_ext
19086 LIBS=$ac_check_lib_save_LIBS
19088 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19089 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19090 if test $ac_cv_lib_c_getpid = yes; then
19092 cat >>confdefs.h <<\_ACEOF
19093 #define HAVE_GETPID 1
19098 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19099 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19100 if test "${ac_cv_lib_c_getppid+set}" = set; then
19101 echo $ECHO_N "(cached) $ECHO_C" >&6
19103 ac_check_lib_save_LIBS=$LIBS
19105 if test x$gcc_no_link = xyes; then
19106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19108 { (exit 1); exit 1; }; }
19110 cat >conftest.$ac_ext <<_ACEOF
19113 cat confdefs.h >>conftest.$ac_ext
19114 cat >>conftest.$ac_ext <<_ACEOF
19115 /* end confdefs.h. */
19117 /* Override any gcc2 internal prototype to avoid an error. */
19121 /* We use char because int might match the return type of a gcc2
19122 builtin and then its argument prototype would still apply. */
19132 rm -f conftest.$ac_objext conftest$ac_exeext
19133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19134 (eval $ac_link) 2>conftest.er1
19136 grep -v '^ *+' conftest.er1 >conftest.err
19138 cat conftest.err >&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); } &&
19141 { ac_try='test -z "$ac_c_werror_flag"
19142 || test ! -s conftest.err'
19143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144 (eval $ac_try) 2>&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); }; } &&
19148 { ac_try='test -s conftest$ac_exeext'
19149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19150 (eval $ac_try) 2>&5
19152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153 (exit $ac_status); }; }; then
19154 ac_cv_lib_c_getppid=yes
19156 echo "$as_me: failed program was:" >&5
19157 sed 's/^/| /' conftest.$ac_ext >&5
19159 ac_cv_lib_c_getppid=no
19161 rm -f conftest.err conftest.$ac_objext \
19162 conftest$ac_exeext conftest.$ac_ext
19163 LIBS=$ac_check_lib_save_LIBS
19165 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19166 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19167 if test $ac_cv_lib_c_getppid = yes; then
19169 cat >>confdefs.h <<\_ACEOF
19170 #define HAVE_GETPPID 1
19175 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19176 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19177 if test "${ac_cv_lib_c_getuid+set}" = set; then
19178 echo $ECHO_N "(cached) $ECHO_C" >&6
19180 ac_check_lib_save_LIBS=$LIBS
19182 if test x$gcc_no_link = xyes; then
19183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19185 { (exit 1); exit 1; }; }
19187 cat >conftest.$ac_ext <<_ACEOF
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19194 /* Override any gcc2 internal prototype to avoid an error. */
19198 /* We use char because int might match the return type of a gcc2
19199 builtin and then its argument prototype would still apply. */
19209 rm -f conftest.$ac_objext conftest$ac_exeext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19211 (eval $ac_link) 2>conftest.er1
19213 grep -v '^ *+' conftest.er1 >conftest.err
19215 cat conftest.err >&5
19216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19217 (exit $ac_status); } &&
19218 { ac_try='test -z "$ac_c_werror_flag"
19219 || test ! -s conftest.err'
19220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19221 (eval $ac_try) 2>&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); }; } &&
19225 { ac_try='test -s conftest$ac_exeext'
19226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227 (eval $ac_try) 2>&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); }; }; then
19231 ac_cv_lib_c_getuid=yes
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19236 ac_cv_lib_c_getuid=no
19238 rm -f conftest.err conftest.$ac_objext \
19239 conftest$ac_exeext conftest.$ac_ext
19240 LIBS=$ac_check_lib_save_LIBS
19242 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19243 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19244 if test $ac_cv_lib_c_getuid = yes; then
19246 cat >>confdefs.h <<\_ACEOF
19247 #define HAVE_GETUID 1
19252 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19253 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19254 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19257 ac_check_lib_save_LIBS=$LIBS
19259 if test x$gcc_no_link = xyes; then
19260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19262 { (exit 1); exit 1; }; }
19264 cat >conftest.$ac_ext <<_ACEOF
19267 cat confdefs.h >>conftest.$ac_ext
19268 cat >>conftest.$ac_ext <<_ACEOF
19269 /* end confdefs.h. */
19271 /* Override any gcc2 internal prototype to avoid an error. */
19275 /* We use char because int might match the return type of a gcc2
19276 builtin and then its argument prototype would still apply. */
19286 rm -f conftest.$ac_objext conftest$ac_exeext
19287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19288 (eval $ac_link) 2>conftest.er1
19290 grep -v '^ *+' conftest.er1 >conftest.err
19292 cat conftest.err >&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try='test -z "$ac_c_werror_flag"
19296 || test ! -s conftest.err'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; } &&
19302 { ac_try='test -s conftest$ac_exeext'
19303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19304 (eval $ac_try) 2>&5
19306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19307 (exit $ac_status); }; }; then
19308 ac_cv_lib_c_geteuid=yes
19310 echo "$as_me: failed program was:" >&5
19311 sed 's/^/| /' conftest.$ac_ext >&5
19313 ac_cv_lib_c_geteuid=no
19315 rm -f conftest.err conftest.$ac_objext \
19316 conftest$ac_exeext conftest.$ac_ext
19317 LIBS=$ac_check_lib_save_LIBS
19319 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
19320 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
19321 if test $ac_cv_lib_c_geteuid = yes; then
19323 cat >>confdefs.h <<\_ACEOF
19324 #define HAVE_GETEUID 1
19330 # Check for C99 (and other IEEE) math functions
19331 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
19332 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
19333 if test "${ac_cv_lib_m_acosf+set}" = set; then
19334 echo $ECHO_N "(cached) $ECHO_C" >&6
19336 ac_check_lib_save_LIBS=$LIBS
19338 if test x$gcc_no_link = xyes; then
19339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19341 { (exit 1); exit 1; }; }
19343 cat >conftest.$ac_ext <<_ACEOF
19346 cat confdefs.h >>conftest.$ac_ext
19347 cat >>conftest.$ac_ext <<_ACEOF
19348 /* end confdefs.h. */
19350 /* Override any gcc2 internal prototype to avoid an error. */
19354 /* We use char because int might match the return type of a gcc2
19355 builtin and then its argument prototype would still apply. */
19365 rm -f conftest.$ac_objext conftest$ac_exeext
19366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19367 (eval $ac_link) 2>conftest.er1
19369 grep -v '^ *+' conftest.er1 >conftest.err
19371 cat conftest.err >&5
19372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19373 (exit $ac_status); } &&
19374 { ac_try='test -z "$ac_c_werror_flag"
19375 || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try='test -s conftest$ac_exeext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_lib_m_acosf=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19392 ac_cv_lib_m_acosf=no
19394 rm -f conftest.err conftest.$ac_objext \
19395 conftest$ac_exeext conftest.$ac_ext
19396 LIBS=$ac_check_lib_save_LIBS
19398 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
19399 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
19400 if test $ac_cv_lib_m_acosf = yes; then
19402 cat >>confdefs.h <<\_ACEOF
19403 #define HAVE_ACOSF 1
19408 echo "$as_me:$LINENO: checking for acos in -lm" >&5
19409 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
19410 if test "${ac_cv_lib_m_acos+set}" = set; then
19411 echo $ECHO_N "(cached) $ECHO_C" >&6
19413 ac_check_lib_save_LIBS=$LIBS
19415 if test x$gcc_no_link = xyes; then
19416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19418 { (exit 1); exit 1; }; }
19420 cat >conftest.$ac_ext <<_ACEOF
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19427 /* Override any gcc2 internal prototype to avoid an error. */
19431 /* We use char because int might match the return type of a gcc2
19432 builtin and then its argument prototype would still apply. */
19442 rm -f conftest.$ac_objext conftest$ac_exeext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19444 (eval $ac_link) 2>conftest.er1
19446 grep -v '^ *+' conftest.er1 >conftest.err
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_c_werror_flag"
19452 || test ! -s conftest.err'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try='test -s conftest$ac_exeext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 ac_cv_lib_m_acos=yes
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19469 ac_cv_lib_m_acos=no
19471 rm -f conftest.err conftest.$ac_objext \
19472 conftest$ac_exeext conftest.$ac_ext
19473 LIBS=$ac_check_lib_save_LIBS
19475 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
19476 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
19477 if test $ac_cv_lib_m_acos = yes; then
19479 cat >>confdefs.h <<\_ACEOF
19480 #define HAVE_ACOS 1
19485 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
19486 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
19487 if test "${ac_cv_lib_m_acosl+set}" = set; then
19488 echo $ECHO_N "(cached) $ECHO_C" >&6
19490 ac_check_lib_save_LIBS=$LIBS
19492 if test x$gcc_no_link = xyes; then
19493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19495 { (exit 1); exit 1; }; }
19497 cat >conftest.$ac_ext <<_ACEOF
19500 cat confdefs.h >>conftest.$ac_ext
19501 cat >>conftest.$ac_ext <<_ACEOF
19502 /* end confdefs.h. */
19504 /* Override any gcc2 internal prototype to avoid an error. */
19508 /* We use char because int might match the return type of a gcc2
19509 builtin and then its argument prototype would still apply. */
19519 rm -f conftest.$ac_objext conftest$ac_exeext
19520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19521 (eval $ac_link) 2>conftest.er1
19523 grep -v '^ *+' conftest.er1 >conftest.err
19525 cat conftest.err >&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); } &&
19528 { ac_try='test -z "$ac_c_werror_flag"
19529 || test ! -s conftest.err'
19530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19531 (eval $ac_try) 2>&5
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); }; } &&
19535 { ac_try='test -s conftest$ac_exeext'
19536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19537 (eval $ac_try) 2>&5
19539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19540 (exit $ac_status); }; }; then
19541 ac_cv_lib_m_acosl=yes
19543 echo "$as_me: failed program was:" >&5
19544 sed 's/^/| /' conftest.$ac_ext >&5
19546 ac_cv_lib_m_acosl=no
19548 rm -f conftest.err conftest.$ac_objext \
19549 conftest$ac_exeext conftest.$ac_ext
19550 LIBS=$ac_check_lib_save_LIBS
19552 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
19553 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
19554 if test $ac_cv_lib_m_acosl = yes; then
19556 cat >>confdefs.h <<\_ACEOF
19557 #define HAVE_ACOSL 1
19562 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
19563 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
19564 if test "${ac_cv_lib_m_acoshf+set}" = set; then
19565 echo $ECHO_N "(cached) $ECHO_C" >&6
19567 ac_check_lib_save_LIBS=$LIBS
19569 if test x$gcc_no_link = xyes; then
19570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19572 { (exit 1); exit 1; }; }
19574 cat >conftest.$ac_ext <<_ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19581 /* Override any gcc2 internal prototype to avoid an error. */
19585 /* We use char because int might match the return type of a gcc2
19586 builtin and then its argument prototype would still apply. */
19596 rm -f conftest.$ac_objext conftest$ac_exeext
19597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19598 (eval $ac_link) 2>conftest.er1
19600 grep -v '^ *+' conftest.er1 >conftest.err
19602 cat conftest.err >&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); } &&
19605 { ac_try='test -z "$ac_c_werror_flag"
19606 || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest$ac_exeext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_lib_m_acoshf=yes
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_lib_m_acoshf=no
19625 rm -f conftest.err conftest.$ac_objext \
19626 conftest$ac_exeext conftest.$ac_ext
19627 LIBS=$ac_check_lib_save_LIBS
19629 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
19630 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
19631 if test $ac_cv_lib_m_acoshf = yes; then
19633 cat >>confdefs.h <<\_ACEOF
19634 #define HAVE_ACOSHF 1
19639 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
19640 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
19641 if test "${ac_cv_lib_m_acosh+set}" = set; then
19642 echo $ECHO_N "(cached) $ECHO_C" >&6
19644 ac_check_lib_save_LIBS=$LIBS
19646 if test x$gcc_no_link = xyes; then
19647 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19649 { (exit 1); exit 1; }; }
19651 cat >conftest.$ac_ext <<_ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19658 /* Override any gcc2 internal prototype to avoid an error. */
19662 /* We use char because int might match the return type of a gcc2
19663 builtin and then its argument prototype would still apply. */
19673 rm -f conftest.$ac_objext conftest$ac_exeext
19674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19675 (eval $ac_link) 2>conftest.er1
19677 grep -v '^ *+' conftest.er1 >conftest.err
19679 cat conftest.err >&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); } &&
19682 { ac_try='test -z "$ac_c_werror_flag"
19683 || test ! -s conftest.err'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; } &&
19689 { ac_try='test -s conftest$ac_exeext'
19690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19691 (eval $ac_try) 2>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); }; }; then
19695 ac_cv_lib_m_acosh=yes
19697 echo "$as_me: failed program was:" >&5
19698 sed 's/^/| /' conftest.$ac_ext >&5
19700 ac_cv_lib_m_acosh=no
19702 rm -f conftest.err conftest.$ac_objext \
19703 conftest$ac_exeext conftest.$ac_ext
19704 LIBS=$ac_check_lib_save_LIBS
19706 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
19707 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
19708 if test $ac_cv_lib_m_acosh = yes; then
19710 cat >>confdefs.h <<\_ACEOF
19711 #define HAVE_ACOSH 1
19716 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
19717 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
19718 if test "${ac_cv_lib_m_acoshl+set}" = set; then
19719 echo $ECHO_N "(cached) $ECHO_C" >&6
19721 ac_check_lib_save_LIBS=$LIBS
19723 if test x$gcc_no_link = xyes; then
19724 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19725 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19726 { (exit 1); exit 1; }; }
19728 cat >conftest.$ac_ext <<_ACEOF
19731 cat confdefs.h >>conftest.$ac_ext
19732 cat >>conftest.$ac_ext <<_ACEOF
19733 /* end confdefs.h. */
19735 /* Override any gcc2 internal prototype to avoid an error. */
19739 /* We use char because int might match the return type of a gcc2
19740 builtin and then its argument prototype would still apply. */
19750 rm -f conftest.$ac_objext conftest$ac_exeext
19751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19752 (eval $ac_link) 2>conftest.er1
19754 grep -v '^ *+' conftest.er1 >conftest.err
19756 cat conftest.err >&5
19757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19758 (exit $ac_status); } &&
19759 { ac_try='test -z "$ac_c_werror_flag"
19760 || test ! -s conftest.err'
19761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19762 (eval $ac_try) 2>&5
19764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19765 (exit $ac_status); }; } &&
19766 { ac_try='test -s conftest$ac_exeext'
19767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19768 (eval $ac_try) 2>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); }; }; then
19772 ac_cv_lib_m_acoshl=yes
19774 echo "$as_me: failed program was:" >&5
19775 sed 's/^/| /' conftest.$ac_ext >&5
19777 ac_cv_lib_m_acoshl=no
19779 rm -f conftest.err conftest.$ac_objext \
19780 conftest$ac_exeext conftest.$ac_ext
19781 LIBS=$ac_check_lib_save_LIBS
19783 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
19784 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
19785 if test $ac_cv_lib_m_acoshl = yes; then
19787 cat >>confdefs.h <<\_ACEOF
19788 #define HAVE_ACOSHL 1
19793 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
19794 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
19795 if test "${ac_cv_lib_m_asinf+set}" = set; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 ac_check_lib_save_LIBS=$LIBS
19800 if test x$gcc_no_link = xyes; then
19801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19803 { (exit 1); exit 1; }; }
19805 cat >conftest.$ac_ext <<_ACEOF
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19812 /* Override any gcc2 internal prototype to avoid an error. */
19816 /* We use char because int might match the return type of a gcc2
19817 builtin and then its argument prototype would still apply. */
19827 rm -f conftest.$ac_objext conftest$ac_exeext
19828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19829 (eval $ac_link) 2>conftest.er1
19831 grep -v '^ *+' conftest.er1 >conftest.err
19833 cat conftest.err >&5
19834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19835 (exit $ac_status); } &&
19836 { ac_try='test -z "$ac_c_werror_flag"
19837 || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try='test -s conftest$ac_exeext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_cv_lib_m_asinf=yes
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19854 ac_cv_lib_m_asinf=no
19856 rm -f conftest.err conftest.$ac_objext \
19857 conftest$ac_exeext conftest.$ac_ext
19858 LIBS=$ac_check_lib_save_LIBS
19860 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
19861 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
19862 if test $ac_cv_lib_m_asinf = yes; then
19864 cat >>confdefs.h <<\_ACEOF
19865 #define HAVE_ASINF 1
19870 echo "$as_me:$LINENO: checking for asin in -lm" >&5
19871 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
19872 if test "${ac_cv_lib_m_asin+set}" = set; then
19873 echo $ECHO_N "(cached) $ECHO_C" >&6
19875 ac_check_lib_save_LIBS=$LIBS
19877 if test x$gcc_no_link = xyes; then
19878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19880 { (exit 1); exit 1; }; }
19882 cat >conftest.$ac_ext <<_ACEOF
19885 cat confdefs.h >>conftest.$ac_ext
19886 cat >>conftest.$ac_ext <<_ACEOF
19887 /* end confdefs.h. */
19889 /* Override any gcc2 internal prototype to avoid an error. */
19893 /* We use char because int might match the return type of a gcc2
19894 builtin and then its argument prototype would still apply. */
19904 rm -f conftest.$ac_objext conftest$ac_exeext
19905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19906 (eval $ac_link) 2>conftest.er1
19908 grep -v '^ *+' conftest.er1 >conftest.err
19910 cat conftest.err >&5
19911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19912 (exit $ac_status); } &&
19913 { ac_try='test -z "$ac_c_werror_flag"
19914 || test ! -s conftest.err'
19915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19916 (eval $ac_try) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); }; } &&
19920 { ac_try='test -s conftest$ac_exeext'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 ac_cv_lib_m_asin=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19931 ac_cv_lib_m_asin=no
19933 rm -f conftest.err conftest.$ac_objext \
19934 conftest$ac_exeext conftest.$ac_ext
19935 LIBS=$ac_check_lib_save_LIBS
19937 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
19938 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
19939 if test $ac_cv_lib_m_asin = yes; then
19941 cat >>confdefs.h <<\_ACEOF
19942 #define HAVE_ASIN 1
19947 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
19948 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
19949 if test "${ac_cv_lib_m_asinl+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 ac_check_lib_save_LIBS=$LIBS
19954 if test x$gcc_no_link = xyes; then
19955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19957 { (exit 1); exit 1; }; }
19959 cat >conftest.$ac_ext <<_ACEOF
19962 cat confdefs.h >>conftest.$ac_ext
19963 cat >>conftest.$ac_ext <<_ACEOF
19964 /* end confdefs.h. */
19966 /* Override any gcc2 internal prototype to avoid an error. */
19970 /* We use char because int might match the return type of a gcc2
19971 builtin and then its argument prototype would still apply. */
19981 rm -f conftest.$ac_objext conftest$ac_exeext
19982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19983 (eval $ac_link) 2>conftest.er1
19985 grep -v '^ *+' conftest.er1 >conftest.err
19987 cat conftest.err >&5
19988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989 (exit $ac_status); } &&
19990 { ac_try='test -z "$ac_c_werror_flag"
19991 || test ! -s conftest.err'
19992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19993 (eval $ac_try) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); }; } &&
19997 { ac_try='test -s conftest$ac_exeext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20003 ac_cv_lib_m_asinl=yes
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20008 ac_cv_lib_m_asinl=no
20010 rm -f conftest.err conftest.$ac_objext \
20011 conftest$ac_exeext conftest.$ac_ext
20012 LIBS=$ac_check_lib_save_LIBS
20014 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20015 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20016 if test $ac_cv_lib_m_asinl = yes; then
20018 cat >>confdefs.h <<\_ACEOF
20019 #define HAVE_ASINL 1
20024 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20025 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20026 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20027 echo $ECHO_N "(cached) $ECHO_C" >&6
20029 ac_check_lib_save_LIBS=$LIBS
20031 if test x$gcc_no_link = xyes; then
20032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20034 { (exit 1); exit 1; }; }
20036 cat >conftest.$ac_ext <<_ACEOF
20039 cat confdefs.h >>conftest.$ac_ext
20040 cat >>conftest.$ac_ext <<_ACEOF
20041 /* end confdefs.h. */
20043 /* Override any gcc2 internal prototype to avoid an error. */
20047 /* We use char because int might match the return type of a gcc2
20048 builtin and then its argument prototype would still apply. */
20058 rm -f conftest.$ac_objext conftest$ac_exeext
20059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20060 (eval $ac_link) 2>conftest.er1
20062 grep -v '^ *+' conftest.er1 >conftest.err
20064 cat conftest.err >&5
20065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20066 (exit $ac_status); } &&
20067 { ac_try='test -z "$ac_c_werror_flag"
20068 || test ! -s conftest.err'
20069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20070 (eval $ac_try) 2>&5
20072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20073 (exit $ac_status); }; } &&
20074 { ac_try='test -s conftest$ac_exeext'
20075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20076 (eval $ac_try) 2>&5
20078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20079 (exit $ac_status); }; }; then
20080 ac_cv_lib_m_asinhf=yes
20082 echo "$as_me: failed program was:" >&5
20083 sed 's/^/| /' conftest.$ac_ext >&5
20085 ac_cv_lib_m_asinhf=no
20087 rm -f conftest.err conftest.$ac_objext \
20088 conftest$ac_exeext conftest.$ac_ext
20089 LIBS=$ac_check_lib_save_LIBS
20091 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20092 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20093 if test $ac_cv_lib_m_asinhf = yes; then
20095 cat >>confdefs.h <<\_ACEOF
20096 #define HAVE_ASINHF 1
20101 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20102 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20103 if test "${ac_cv_lib_m_asinh+set}" = set; then
20104 echo $ECHO_N "(cached) $ECHO_C" >&6
20106 ac_check_lib_save_LIBS=$LIBS
20108 if test x$gcc_no_link = xyes; then
20109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20111 { (exit 1); exit 1; }; }
20113 cat >conftest.$ac_ext <<_ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20120 /* Override any gcc2 internal prototype to avoid an error. */
20124 /* We use char because int might match the return type of a gcc2
20125 builtin and then its argument prototype would still apply. */
20135 rm -f conftest.$ac_objext conftest$ac_exeext
20136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20137 (eval $ac_link) 2>conftest.er1
20139 grep -v '^ *+' conftest.er1 >conftest.err
20141 cat conftest.err >&5
20142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20143 (exit $ac_status); } &&
20144 { ac_try='test -z "$ac_c_werror_flag"
20145 || test ! -s conftest.err'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; } &&
20151 { ac_try='test -s conftest$ac_exeext'
20152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20153 (eval $ac_try) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); }; }; then
20157 ac_cv_lib_m_asinh=yes
20159 echo "$as_me: failed program was:" >&5
20160 sed 's/^/| /' conftest.$ac_ext >&5
20162 ac_cv_lib_m_asinh=no
20164 rm -f conftest.err conftest.$ac_objext \
20165 conftest$ac_exeext conftest.$ac_ext
20166 LIBS=$ac_check_lib_save_LIBS
20168 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20169 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20170 if test $ac_cv_lib_m_asinh = yes; then
20172 cat >>confdefs.h <<\_ACEOF
20173 #define HAVE_ASINH 1
20178 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20179 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20180 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20181 echo $ECHO_N "(cached) $ECHO_C" >&6
20183 ac_check_lib_save_LIBS=$LIBS
20185 if test x$gcc_no_link = xyes; then
20186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20188 { (exit 1); exit 1; }; }
20190 cat >conftest.$ac_ext <<_ACEOF
20193 cat confdefs.h >>conftest.$ac_ext
20194 cat >>conftest.$ac_ext <<_ACEOF
20195 /* end confdefs.h. */
20197 /* Override any gcc2 internal prototype to avoid an error. */
20201 /* We use char because int might match the return type of a gcc2
20202 builtin and then its argument prototype would still apply. */
20212 rm -f conftest.$ac_objext conftest$ac_exeext
20213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20214 (eval $ac_link) 2>conftest.er1
20216 grep -v '^ *+' conftest.er1 >conftest.err
20218 cat conftest.err >&5
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); } &&
20221 { ac_try='test -z "$ac_c_werror_flag"
20222 || test ! -s conftest.err'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; } &&
20228 { ac_try='test -s conftest$ac_exeext'
20229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20230 (eval $ac_try) 2>&5
20232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20233 (exit $ac_status); }; }; then
20234 ac_cv_lib_m_asinhl=yes
20236 echo "$as_me: failed program was:" >&5
20237 sed 's/^/| /' conftest.$ac_ext >&5
20239 ac_cv_lib_m_asinhl=no
20241 rm -f conftest.err conftest.$ac_objext \
20242 conftest$ac_exeext conftest.$ac_ext
20243 LIBS=$ac_check_lib_save_LIBS
20245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20246 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20247 if test $ac_cv_lib_m_asinhl = yes; then
20249 cat >>confdefs.h <<\_ACEOF
20250 #define HAVE_ASINHL 1
20255 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20256 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20257 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20258 echo $ECHO_N "(cached) $ECHO_C" >&6
20260 ac_check_lib_save_LIBS=$LIBS
20262 if test x$gcc_no_link = xyes; then
20263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20265 { (exit 1); exit 1; }; }
20267 cat >conftest.$ac_ext <<_ACEOF
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20274 /* Override any gcc2 internal prototype to avoid an error. */
20278 /* We use char because int might match the return type of a gcc2
20279 builtin and then its argument prototype would still apply. */
20289 rm -f conftest.$ac_objext conftest$ac_exeext
20290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20291 (eval $ac_link) 2>conftest.er1
20293 grep -v '^ *+' conftest.er1 >conftest.err
20295 cat conftest.err >&5
20296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20297 (exit $ac_status); } &&
20298 { ac_try='test -z "$ac_c_werror_flag"
20299 || test ! -s conftest.err'
20300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20301 (eval $ac_try) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); }; } &&
20305 { ac_try='test -s conftest$ac_exeext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 ac_cv_lib_m_atan2f=yes
20313 echo "$as_me: failed program was:" >&5
20314 sed 's/^/| /' conftest.$ac_ext >&5
20316 ac_cv_lib_m_atan2f=no
20318 rm -f conftest.err conftest.$ac_objext \
20319 conftest$ac_exeext conftest.$ac_ext
20320 LIBS=$ac_check_lib_save_LIBS
20322 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
20323 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
20324 if test $ac_cv_lib_m_atan2f = yes; then
20326 cat >>confdefs.h <<\_ACEOF
20327 #define HAVE_ATAN2F 1
20332 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
20333 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
20334 if test "${ac_cv_lib_m_atan2+set}" = set; then
20335 echo $ECHO_N "(cached) $ECHO_C" >&6
20337 ac_check_lib_save_LIBS=$LIBS
20339 if test x$gcc_no_link = xyes; then
20340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20342 { (exit 1); exit 1; }; }
20344 cat >conftest.$ac_ext <<_ACEOF
20347 cat confdefs.h >>conftest.$ac_ext
20348 cat >>conftest.$ac_ext <<_ACEOF
20349 /* end confdefs.h. */
20351 /* Override any gcc2 internal prototype to avoid an error. */
20355 /* We use char because int might match the return type of a gcc2
20356 builtin and then its argument prototype would still apply. */
20366 rm -f conftest.$ac_objext conftest$ac_exeext
20367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20368 (eval $ac_link) 2>conftest.er1
20370 grep -v '^ *+' conftest.er1 >conftest.err
20372 cat conftest.err >&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } &&
20375 { ac_try='test -z "$ac_c_werror_flag"
20376 || test ! -s conftest.err'
20377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20378 (eval $ac_try) 2>&5
20380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20381 (exit $ac_status); }; } &&
20382 { ac_try='test -s conftest$ac_exeext'
20383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20384 (eval $ac_try) 2>&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); }; }; then
20388 ac_cv_lib_m_atan2=yes
20390 echo "$as_me: failed program was:" >&5
20391 sed 's/^/| /' conftest.$ac_ext >&5
20393 ac_cv_lib_m_atan2=no
20395 rm -f conftest.err conftest.$ac_objext \
20396 conftest$ac_exeext conftest.$ac_ext
20397 LIBS=$ac_check_lib_save_LIBS
20399 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
20400 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
20401 if test $ac_cv_lib_m_atan2 = yes; then
20403 cat >>confdefs.h <<\_ACEOF
20404 #define HAVE_ATAN2 1
20409 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
20410 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
20411 if test "${ac_cv_lib_m_atan2l+set}" = set; then
20412 echo $ECHO_N "(cached) $ECHO_C" >&6
20414 ac_check_lib_save_LIBS=$LIBS
20416 if test x$gcc_no_link = xyes; then
20417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20419 { (exit 1); exit 1; }; }
20421 cat >conftest.$ac_ext <<_ACEOF
20424 cat confdefs.h >>conftest.$ac_ext
20425 cat >>conftest.$ac_ext <<_ACEOF
20426 /* end confdefs.h. */
20428 /* Override any gcc2 internal prototype to avoid an error. */
20432 /* We use char because int might match the return type of a gcc2
20433 builtin and then its argument prototype would still apply. */
20443 rm -f conftest.$ac_objext conftest$ac_exeext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20445 (eval $ac_link) 2>conftest.er1
20447 grep -v '^ *+' conftest.er1 >conftest.err
20449 cat conftest.err >&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } &&
20452 { ac_try='test -z "$ac_c_werror_flag"
20453 || test ! -s conftest.err'
20454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20455 (eval $ac_try) 2>&5
20457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20458 (exit $ac_status); }; } &&
20459 { ac_try='test -s conftest$ac_exeext'
20460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20461 (eval $ac_try) 2>&5
20463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464 (exit $ac_status); }; }; then
20465 ac_cv_lib_m_atan2l=yes
20467 echo "$as_me: failed program was:" >&5
20468 sed 's/^/| /' conftest.$ac_ext >&5
20470 ac_cv_lib_m_atan2l=no
20472 rm -f conftest.err conftest.$ac_objext \
20473 conftest$ac_exeext conftest.$ac_ext
20474 LIBS=$ac_check_lib_save_LIBS
20476 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
20477 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
20478 if test $ac_cv_lib_m_atan2l = yes; then
20480 cat >>confdefs.h <<\_ACEOF
20481 #define HAVE_ATAN2L 1
20486 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
20487 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
20488 if test "${ac_cv_lib_m_atanf+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20491 ac_check_lib_save_LIBS=$LIBS
20493 if test x$gcc_no_link = xyes; then
20494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20496 { (exit 1); exit 1; }; }
20498 cat >conftest.$ac_ext <<_ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20505 /* Override any gcc2 internal prototype to avoid an error. */
20509 /* We use char because int might match the return type of a gcc2
20510 builtin and then its argument prototype would still apply. */
20520 rm -f conftest.$ac_objext conftest$ac_exeext
20521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20522 (eval $ac_link) 2>conftest.er1
20524 grep -v '^ *+' conftest.er1 >conftest.err
20526 cat conftest.err >&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } &&
20529 { ac_try='test -z "$ac_c_werror_flag"
20530 || test ! -s conftest.err'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; } &&
20536 { ac_try='test -s conftest$ac_exeext'
20537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20538 (eval $ac_try) 2>&5
20540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20541 (exit $ac_status); }; }; then
20542 ac_cv_lib_m_atanf=yes
20544 echo "$as_me: failed program was:" >&5
20545 sed 's/^/| /' conftest.$ac_ext >&5
20547 ac_cv_lib_m_atanf=no
20549 rm -f conftest.err conftest.$ac_objext \
20550 conftest$ac_exeext conftest.$ac_ext
20551 LIBS=$ac_check_lib_save_LIBS
20553 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
20554 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
20555 if test $ac_cv_lib_m_atanf = yes; then
20557 cat >>confdefs.h <<\_ACEOF
20558 #define HAVE_ATANF 1
20563 echo "$as_me:$LINENO: checking for atan in -lm" >&5
20564 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
20565 if test "${ac_cv_lib_m_atan+set}" = set; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20568 ac_check_lib_save_LIBS=$LIBS
20570 if test x$gcc_no_link = xyes; then
20571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20573 { (exit 1); exit 1; }; }
20575 cat >conftest.$ac_ext <<_ACEOF
20578 cat confdefs.h >>conftest.$ac_ext
20579 cat >>conftest.$ac_ext <<_ACEOF
20580 /* end confdefs.h. */
20582 /* Override any gcc2 internal prototype to avoid an error. */
20586 /* We use char because int might match the return type of a gcc2
20587 builtin and then its argument prototype would still apply. */
20597 rm -f conftest.$ac_objext conftest$ac_exeext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20599 (eval $ac_link) 2>conftest.er1
20601 grep -v '^ *+' conftest.er1 >conftest.err
20603 cat conftest.err >&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); } &&
20606 { ac_try='test -z "$ac_c_werror_flag"
20607 || test ! -s conftest.err'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; } &&
20613 { ac_try='test -s conftest$ac_exeext'
20614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20615 (eval $ac_try) 2>&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); }; }; then
20619 ac_cv_lib_m_atan=yes
20621 echo "$as_me: failed program was:" >&5
20622 sed 's/^/| /' conftest.$ac_ext >&5
20624 ac_cv_lib_m_atan=no
20626 rm -f conftest.err conftest.$ac_objext \
20627 conftest$ac_exeext conftest.$ac_ext
20628 LIBS=$ac_check_lib_save_LIBS
20630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
20631 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
20632 if test $ac_cv_lib_m_atan = yes; then
20634 cat >>confdefs.h <<\_ACEOF
20635 #define HAVE_ATAN 1
20640 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
20641 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
20642 if test "${ac_cv_lib_m_atanl+set}" = set; then
20643 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 ac_check_lib_save_LIBS=$LIBS
20647 if test x$gcc_no_link = xyes; then
20648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20650 { (exit 1); exit 1; }; }
20652 cat >conftest.$ac_ext <<_ACEOF
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20659 /* Override any gcc2 internal prototype to avoid an error. */
20663 /* We use char because int might match the return type of a gcc2
20664 builtin and then its argument prototype would still apply. */
20674 rm -f conftest.$ac_objext conftest$ac_exeext
20675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20676 (eval $ac_link) 2>conftest.er1
20678 grep -v '^ *+' conftest.er1 >conftest.err
20680 cat conftest.err >&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -z "$ac_c_werror_flag"
20684 || test ! -s conftest.err'
20685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20686 (eval $ac_try) 2>&5
20688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20689 (exit $ac_status); }; } &&
20690 { ac_try='test -s conftest$ac_exeext'
20691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20692 (eval $ac_try) 2>&5
20694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20695 (exit $ac_status); }; }; then
20696 ac_cv_lib_m_atanl=yes
20698 echo "$as_me: failed program was:" >&5
20699 sed 's/^/| /' conftest.$ac_ext >&5
20701 ac_cv_lib_m_atanl=no
20703 rm -f conftest.err conftest.$ac_objext \
20704 conftest$ac_exeext conftest.$ac_ext
20705 LIBS=$ac_check_lib_save_LIBS
20707 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
20708 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
20709 if test $ac_cv_lib_m_atanl = yes; then
20711 cat >>confdefs.h <<\_ACEOF
20712 #define HAVE_ATANL 1
20717 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
20718 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
20719 if test "${ac_cv_lib_m_atanhf+set}" = set; then
20720 echo $ECHO_N "(cached) $ECHO_C" >&6
20722 ac_check_lib_save_LIBS=$LIBS
20724 if test x$gcc_no_link = xyes; then
20725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20727 { (exit 1); exit 1; }; }
20729 cat >conftest.$ac_ext <<_ACEOF
20732 cat confdefs.h >>conftest.$ac_ext
20733 cat >>conftest.$ac_ext <<_ACEOF
20734 /* end confdefs.h. */
20736 /* Override any gcc2 internal prototype to avoid an error. */
20740 /* We use char because int might match the return type of a gcc2
20741 builtin and then its argument prototype would still apply. */
20751 rm -f conftest.$ac_objext conftest$ac_exeext
20752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20753 (eval $ac_link) 2>conftest.er1
20755 grep -v '^ *+' conftest.er1 >conftest.err
20757 cat conftest.err >&5
20758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20759 (exit $ac_status); } &&
20760 { ac_try='test -z "$ac_c_werror_flag"
20761 || test ! -s conftest.err'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; } &&
20767 { ac_try='test -s conftest$ac_exeext'
20768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20769 (eval $ac_try) 2>&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); }; }; then
20773 ac_cv_lib_m_atanhf=yes
20775 echo "$as_me: failed program was:" >&5
20776 sed 's/^/| /' conftest.$ac_ext >&5
20778 ac_cv_lib_m_atanhf=no
20780 rm -f conftest.err conftest.$ac_objext \
20781 conftest$ac_exeext conftest.$ac_ext
20782 LIBS=$ac_check_lib_save_LIBS
20784 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
20785 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
20786 if test $ac_cv_lib_m_atanhf = yes; then
20788 cat >>confdefs.h <<\_ACEOF
20789 #define HAVE_ATANHF 1
20794 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
20795 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
20796 if test "${ac_cv_lib_m_atanh+set}" = set; then
20797 echo $ECHO_N "(cached) $ECHO_C" >&6
20799 ac_check_lib_save_LIBS=$LIBS
20801 if test x$gcc_no_link = xyes; then
20802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20804 { (exit 1); exit 1; }; }
20806 cat >conftest.$ac_ext <<_ACEOF
20809 cat confdefs.h >>conftest.$ac_ext
20810 cat >>conftest.$ac_ext <<_ACEOF
20811 /* end confdefs.h. */
20813 /* Override any gcc2 internal prototype to avoid an error. */
20817 /* We use char because int might match the return type of a gcc2
20818 builtin and then its argument prototype would still apply. */
20828 rm -f conftest.$ac_objext conftest$ac_exeext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20830 (eval $ac_link) 2>conftest.er1
20832 grep -v '^ *+' conftest.er1 >conftest.err
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try='test -z "$ac_c_werror_flag"
20838 || test ! -s conftest.err'
20839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20840 (eval $ac_try) 2>&5
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); }; } &&
20844 { ac_try='test -s conftest$ac_exeext'
20845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20846 (eval $ac_try) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); }; }; then
20850 ac_cv_lib_m_atanh=yes
20852 echo "$as_me: failed program was:" >&5
20853 sed 's/^/| /' conftest.$ac_ext >&5
20855 ac_cv_lib_m_atanh=no
20857 rm -f conftest.err conftest.$ac_objext \
20858 conftest$ac_exeext conftest.$ac_ext
20859 LIBS=$ac_check_lib_save_LIBS
20861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
20862 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
20863 if test $ac_cv_lib_m_atanh = yes; then
20865 cat >>confdefs.h <<\_ACEOF
20866 #define HAVE_ATANH 1
20871 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
20872 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
20873 if test "${ac_cv_lib_m_atanhl+set}" = set; then
20874 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 ac_check_lib_save_LIBS=$LIBS
20878 if test x$gcc_no_link = xyes; then
20879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20881 { (exit 1); exit 1; }; }
20883 cat >conftest.$ac_ext <<_ACEOF
20886 cat confdefs.h >>conftest.$ac_ext
20887 cat >>conftest.$ac_ext <<_ACEOF
20888 /* end confdefs.h. */
20890 /* Override any gcc2 internal prototype to avoid an error. */
20894 /* We use char because int might match the return type of a gcc2
20895 builtin and then its argument prototype would still apply. */
20905 rm -f conftest.$ac_objext conftest$ac_exeext
20906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20907 (eval $ac_link) 2>conftest.er1
20909 grep -v '^ *+' conftest.er1 >conftest.err
20911 cat conftest.err >&5
20912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20913 (exit $ac_status); } &&
20914 { ac_try='test -z "$ac_c_werror_flag"
20915 || test ! -s conftest.err'
20916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20917 (eval $ac_try) 2>&5
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); }; } &&
20921 { ac_try='test -s conftest$ac_exeext'
20922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20923 (eval $ac_try) 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_lib_m_atanhl=yes
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20932 ac_cv_lib_m_atanhl=no
20934 rm -f conftest.err conftest.$ac_objext \
20935 conftest$ac_exeext conftest.$ac_ext
20936 LIBS=$ac_check_lib_save_LIBS
20938 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
20939 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
20940 if test $ac_cv_lib_m_atanhl = yes; then
20942 cat >>confdefs.h <<\_ACEOF
20943 #define HAVE_ATANHL 1
20948 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
20949 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
20950 if test "${ac_cv_lib_m_cargf+set}" = set; then
20951 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 ac_check_lib_save_LIBS=$LIBS
20955 if test x$gcc_no_link = xyes; then
20956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20958 { (exit 1); exit 1; }; }
20960 cat >conftest.$ac_ext <<_ACEOF
20963 cat confdefs.h >>conftest.$ac_ext
20964 cat >>conftest.$ac_ext <<_ACEOF
20965 /* end confdefs.h. */
20967 /* Override any gcc2 internal prototype to avoid an error. */
20971 /* We use char because int might match the return type of a gcc2
20972 builtin and then its argument prototype would still apply. */
20982 rm -f conftest.$ac_objext conftest$ac_exeext
20983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20984 (eval $ac_link) 2>conftest.er1
20986 grep -v '^ *+' conftest.er1 >conftest.err
20988 cat conftest.err >&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } &&
20991 { ac_try='test -z "$ac_c_werror_flag"
20992 || test ! -s conftest.err'
20993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20994 (eval $ac_try) 2>&5
20996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20997 (exit $ac_status); }; } &&
20998 { ac_try='test -s conftest$ac_exeext'
20999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21000 (eval $ac_try) 2>&5
21002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21003 (exit $ac_status); }; }; then
21004 ac_cv_lib_m_cargf=yes
21006 echo "$as_me: failed program was:" >&5
21007 sed 's/^/| /' conftest.$ac_ext >&5
21009 ac_cv_lib_m_cargf=no
21011 rm -f conftest.err conftest.$ac_objext \
21012 conftest$ac_exeext conftest.$ac_ext
21013 LIBS=$ac_check_lib_save_LIBS
21015 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21016 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21017 if test $ac_cv_lib_m_cargf = yes; then
21019 cat >>confdefs.h <<\_ACEOF
21020 #define HAVE_CARGF 1
21025 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21026 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21027 if test "${ac_cv_lib_m_carg+set}" = set; then
21028 echo $ECHO_N "(cached) $ECHO_C" >&6
21030 ac_check_lib_save_LIBS=$LIBS
21032 if test x$gcc_no_link = xyes; then
21033 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21035 { (exit 1); exit 1; }; }
21037 cat >conftest.$ac_ext <<_ACEOF
21040 cat confdefs.h >>conftest.$ac_ext
21041 cat >>conftest.$ac_ext <<_ACEOF
21042 /* end confdefs.h. */
21044 /* Override any gcc2 internal prototype to avoid an error. */
21048 /* We use char because int might match the return type of a gcc2
21049 builtin and then its argument prototype would still apply. */
21059 rm -f conftest.$ac_objext conftest$ac_exeext
21060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21061 (eval $ac_link) 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try='test -z "$ac_c_werror_flag"
21069 || test ! -s conftest.err'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; } &&
21075 { ac_try='test -s conftest$ac_exeext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_cv_lib_m_carg=yes
21083 echo "$as_me: failed program was:" >&5
21084 sed 's/^/| /' conftest.$ac_ext >&5
21086 ac_cv_lib_m_carg=no
21088 rm -f conftest.err conftest.$ac_objext \
21089 conftest$ac_exeext conftest.$ac_ext
21090 LIBS=$ac_check_lib_save_LIBS
21092 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21093 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21094 if test $ac_cv_lib_m_carg = yes; then
21096 cat >>confdefs.h <<\_ACEOF
21097 #define HAVE_CARG 1
21102 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21103 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21104 if test "${ac_cv_lib_m_cargl+set}" = set; then
21105 echo $ECHO_N "(cached) $ECHO_C" >&6
21107 ac_check_lib_save_LIBS=$LIBS
21109 if test x$gcc_no_link = xyes; then
21110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21112 { (exit 1); exit 1; }; }
21114 cat >conftest.$ac_ext <<_ACEOF
21117 cat confdefs.h >>conftest.$ac_ext
21118 cat >>conftest.$ac_ext <<_ACEOF
21119 /* end confdefs.h. */
21121 /* Override any gcc2 internal prototype to avoid an error. */
21125 /* We use char because int might match the return type of a gcc2
21126 builtin and then its argument prototype would still apply. */
21136 rm -f conftest.$ac_objext conftest$ac_exeext
21137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21138 (eval $ac_link) 2>conftest.er1
21140 grep -v '^ *+' conftest.er1 >conftest.err
21142 cat conftest.err >&5
21143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21144 (exit $ac_status); } &&
21145 { ac_try='test -z "$ac_c_werror_flag"
21146 || test ! -s conftest.err'
21147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21148 (eval $ac_try) 2>&5
21150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21151 (exit $ac_status); }; } &&
21152 { ac_try='test -s conftest$ac_exeext'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21158 ac_cv_lib_m_cargl=yes
21160 echo "$as_me: failed program was:" >&5
21161 sed 's/^/| /' conftest.$ac_ext >&5
21163 ac_cv_lib_m_cargl=no
21165 rm -f conftest.err conftest.$ac_objext \
21166 conftest$ac_exeext conftest.$ac_ext
21167 LIBS=$ac_check_lib_save_LIBS
21169 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21170 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21171 if test $ac_cv_lib_m_cargl = yes; then
21173 cat >>confdefs.h <<\_ACEOF
21174 #define HAVE_CARGL 1
21179 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21180 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21181 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21182 echo $ECHO_N "(cached) $ECHO_C" >&6
21184 ac_check_lib_save_LIBS=$LIBS
21186 if test x$gcc_no_link = xyes; then
21187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21189 { (exit 1); exit 1; }; }
21191 cat >conftest.$ac_ext <<_ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21198 /* Override any gcc2 internal prototype to avoid an error. */
21202 /* We use char because int might match the return type of a gcc2
21203 builtin and then its argument prototype would still apply. */
21213 rm -f conftest.$ac_objext conftest$ac_exeext
21214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21215 (eval $ac_link) 2>conftest.er1
21217 grep -v '^ *+' conftest.er1 >conftest.err
21219 cat conftest.err >&5
21220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21221 (exit $ac_status); } &&
21222 { ac_try='test -z "$ac_c_werror_flag"
21223 || test ! -s conftest.err'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; } &&
21229 { ac_try='test -s conftest$ac_exeext'
21230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21231 (eval $ac_try) 2>&5
21233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21234 (exit $ac_status); }; }; then
21235 ac_cv_lib_m_ceilf=yes
21237 echo "$as_me: failed program was:" >&5
21238 sed 's/^/| /' conftest.$ac_ext >&5
21240 ac_cv_lib_m_ceilf=no
21242 rm -f conftest.err conftest.$ac_objext \
21243 conftest$ac_exeext conftest.$ac_ext
21244 LIBS=$ac_check_lib_save_LIBS
21246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21247 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21248 if test $ac_cv_lib_m_ceilf = yes; then
21250 cat >>confdefs.h <<\_ACEOF
21251 #define HAVE_CEILF 1
21256 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21257 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21258 if test "${ac_cv_lib_m_ceil+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21261 ac_check_lib_save_LIBS=$LIBS
21263 if test x$gcc_no_link = xyes; then
21264 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21265 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21266 { (exit 1); exit 1; }; }
21268 cat >conftest.$ac_ext <<_ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21275 /* Override any gcc2 internal prototype to avoid an error. */
21279 /* We use char because int might match the return type of a gcc2
21280 builtin and then its argument prototype would still apply. */
21290 rm -f conftest.$ac_objext conftest$ac_exeext
21291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21292 (eval $ac_link) 2>conftest.er1
21294 grep -v '^ *+' conftest.er1 >conftest.err
21296 cat conftest.err >&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -z "$ac_c_werror_flag"
21300 || test ! -s conftest.err'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; } &&
21306 { ac_try='test -s conftest$ac_exeext'
21307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21308 (eval $ac_try) 2>&5
21310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21311 (exit $ac_status); }; }; then
21312 ac_cv_lib_m_ceil=yes
21314 echo "$as_me: failed program was:" >&5
21315 sed 's/^/| /' conftest.$ac_ext >&5
21317 ac_cv_lib_m_ceil=no
21319 rm -f conftest.err conftest.$ac_objext \
21320 conftest$ac_exeext conftest.$ac_ext
21321 LIBS=$ac_check_lib_save_LIBS
21323 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
21324 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
21325 if test $ac_cv_lib_m_ceil = yes; then
21327 cat >>confdefs.h <<\_ACEOF
21328 #define HAVE_CEIL 1
21333 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
21334 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
21335 if test "${ac_cv_lib_m_ceill+set}" = set; then
21336 echo $ECHO_N "(cached) $ECHO_C" >&6
21338 ac_check_lib_save_LIBS=$LIBS
21340 if test x$gcc_no_link = xyes; then
21341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21343 { (exit 1); exit 1; }; }
21345 cat >conftest.$ac_ext <<_ACEOF
21348 cat confdefs.h >>conftest.$ac_ext
21349 cat >>conftest.$ac_ext <<_ACEOF
21350 /* end confdefs.h. */
21352 /* Override any gcc2 internal prototype to avoid an error. */
21356 /* We use char because int might match the return type of a gcc2
21357 builtin and then its argument prototype would still apply. */
21367 rm -f conftest.$ac_objext conftest$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>conftest.er1
21371 grep -v '^ *+' conftest.er1 >conftest.err
21373 cat conftest.err >&5
21374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21375 (exit $ac_status); } &&
21376 { ac_try='test -z "$ac_c_werror_flag"
21377 || test ! -s conftest.err'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; } &&
21383 { ac_try='test -s conftest$ac_exeext'
21384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21385 (eval $ac_try) 2>&5
21387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21388 (exit $ac_status); }; }; then
21389 ac_cv_lib_m_ceill=yes
21391 echo "$as_me: failed program was:" >&5
21392 sed 's/^/| /' conftest.$ac_ext >&5
21394 ac_cv_lib_m_ceill=no
21396 rm -f conftest.err conftest.$ac_objext \
21397 conftest$ac_exeext conftest.$ac_ext
21398 LIBS=$ac_check_lib_save_LIBS
21400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
21401 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
21402 if test $ac_cv_lib_m_ceill = yes; then
21404 cat >>confdefs.h <<\_ACEOF
21405 #define HAVE_CEILL 1
21410 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
21411 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
21412 if test "${ac_cv_lib_m_copysignf+set}" = set; then
21413 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 ac_check_lib_save_LIBS=$LIBS
21417 if test x$gcc_no_link = xyes; then
21418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21420 { (exit 1); exit 1; }; }
21422 cat >conftest.$ac_ext <<_ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21429 /* Override any gcc2 internal prototype to avoid an error. */
21433 /* We use char because int might match the return type of a gcc2
21434 builtin and then its argument prototype would still apply. */
21444 rm -f conftest.$ac_objext conftest$ac_exeext
21445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21446 (eval $ac_link) 2>conftest.er1
21448 grep -v '^ *+' conftest.er1 >conftest.err
21450 cat conftest.err >&5
21451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21452 (exit $ac_status); } &&
21453 { ac_try='test -z "$ac_c_werror_flag"
21454 || test ! -s conftest.err'
21455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21456 (eval $ac_try) 2>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); }; } &&
21460 { ac_try='test -s conftest$ac_exeext'
21461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21462 (eval $ac_try) 2>&5
21464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21465 (exit $ac_status); }; }; then
21466 ac_cv_lib_m_copysignf=yes
21468 echo "$as_me: failed program was:" >&5
21469 sed 's/^/| /' conftest.$ac_ext >&5
21471 ac_cv_lib_m_copysignf=no
21473 rm -f conftest.err conftest.$ac_objext \
21474 conftest$ac_exeext conftest.$ac_ext
21475 LIBS=$ac_check_lib_save_LIBS
21477 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
21478 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
21479 if test $ac_cv_lib_m_copysignf = yes; then
21481 cat >>confdefs.h <<\_ACEOF
21482 #define HAVE_COPYSIGNF 1
21487 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
21488 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
21489 if test "${ac_cv_lib_m_copysign+set}" = set; then
21490 echo $ECHO_N "(cached) $ECHO_C" >&6
21492 ac_check_lib_save_LIBS=$LIBS
21494 if test x$gcc_no_link = xyes; then
21495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21497 { (exit 1); exit 1; }; }
21499 cat >conftest.$ac_ext <<_ACEOF
21502 cat confdefs.h >>conftest.$ac_ext
21503 cat >>conftest.$ac_ext <<_ACEOF
21504 /* end confdefs.h. */
21506 /* Override any gcc2 internal prototype to avoid an error. */
21510 /* We use char because int might match the return type of a gcc2
21511 builtin and then its argument prototype would still apply. */
21521 rm -f conftest.$ac_objext conftest$ac_exeext
21522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21523 (eval $ac_link) 2>conftest.er1
21525 grep -v '^ *+' conftest.er1 >conftest.err
21527 cat conftest.err >&5
21528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21529 (exit $ac_status); } &&
21530 { ac_try='test -z "$ac_c_werror_flag"
21531 || test ! -s conftest.err'
21532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21533 (eval $ac_try) 2>&5
21535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21536 (exit $ac_status); }; } &&
21537 { ac_try='test -s conftest$ac_exeext'
21538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21539 (eval $ac_try) 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_cv_lib_m_copysign=yes
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 ac_cv_lib_m_copysign=no
21550 rm -f conftest.err conftest.$ac_objext \
21551 conftest$ac_exeext conftest.$ac_ext
21552 LIBS=$ac_check_lib_save_LIBS
21554 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
21555 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
21556 if test $ac_cv_lib_m_copysign = yes; then
21558 cat >>confdefs.h <<\_ACEOF
21559 #define HAVE_COPYSIGN 1
21564 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
21565 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
21566 if test "${ac_cv_lib_m_copysignl+set}" = set; then
21567 echo $ECHO_N "(cached) $ECHO_C" >&6
21569 ac_check_lib_save_LIBS=$LIBS
21571 if test x$gcc_no_link = xyes; then
21572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21574 { (exit 1); exit 1; }; }
21576 cat >conftest.$ac_ext <<_ACEOF
21579 cat confdefs.h >>conftest.$ac_ext
21580 cat >>conftest.$ac_ext <<_ACEOF
21581 /* end confdefs.h. */
21583 /* Override any gcc2 internal prototype to avoid an error. */
21587 /* We use char because int might match the return type of a gcc2
21588 builtin and then its argument prototype would still apply. */
21598 rm -f conftest.$ac_objext conftest$ac_exeext
21599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21600 (eval $ac_link) 2>conftest.er1
21602 grep -v '^ *+' conftest.er1 >conftest.err
21604 cat conftest.err >&5
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); } &&
21607 { ac_try='test -z "$ac_c_werror_flag"
21608 || test ! -s conftest.err'
21609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21610 (eval $ac_try) 2>&5
21612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21613 (exit $ac_status); }; } &&
21614 { ac_try='test -s conftest$ac_exeext'
21615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21616 (eval $ac_try) 2>&5
21618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21619 (exit $ac_status); }; }; then
21620 ac_cv_lib_m_copysignl=yes
21622 echo "$as_me: failed program was:" >&5
21623 sed 's/^/| /' conftest.$ac_ext >&5
21625 ac_cv_lib_m_copysignl=no
21627 rm -f conftest.err conftest.$ac_objext \
21628 conftest$ac_exeext conftest.$ac_ext
21629 LIBS=$ac_check_lib_save_LIBS
21631 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
21632 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
21633 if test $ac_cv_lib_m_copysignl = yes; then
21635 cat >>confdefs.h <<\_ACEOF
21636 #define HAVE_COPYSIGNL 1
21641 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
21642 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
21643 if test "${ac_cv_lib_m_cosf+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 ac_check_lib_save_LIBS=$LIBS
21648 if test x$gcc_no_link = xyes; then
21649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21651 { (exit 1); exit 1; }; }
21653 cat >conftest.$ac_ext <<_ACEOF
21656 cat confdefs.h >>conftest.$ac_ext
21657 cat >>conftest.$ac_ext <<_ACEOF
21658 /* end confdefs.h. */
21660 /* Override any gcc2 internal prototype to avoid an error. */
21664 /* We use char because int might match the return type of a gcc2
21665 builtin and then its argument prototype would still apply. */
21675 rm -f conftest.$ac_objext conftest$ac_exeext
21676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21677 (eval $ac_link) 2>conftest.er1
21679 grep -v '^ *+' conftest.er1 >conftest.err
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } &&
21684 { ac_try='test -z "$ac_c_werror_flag"
21685 || test ! -s conftest.err'
21686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21687 (eval $ac_try) 2>&5
21689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21690 (exit $ac_status); }; } &&
21691 { ac_try='test -s conftest$ac_exeext'
21692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21693 (eval $ac_try) 2>&5
21695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21696 (exit $ac_status); }; }; then
21697 ac_cv_lib_m_cosf=yes
21699 echo "$as_me: failed program was:" >&5
21700 sed 's/^/| /' conftest.$ac_ext >&5
21702 ac_cv_lib_m_cosf=no
21704 rm -f conftest.err conftest.$ac_objext \
21705 conftest$ac_exeext conftest.$ac_ext
21706 LIBS=$ac_check_lib_save_LIBS
21708 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
21709 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
21710 if test $ac_cv_lib_m_cosf = yes; then
21712 cat >>confdefs.h <<\_ACEOF
21713 #define HAVE_COSF 1
21718 echo "$as_me:$LINENO: checking for cos in -lm" >&5
21719 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
21720 if test "${ac_cv_lib_m_cos+set}" = set; then
21721 echo $ECHO_N "(cached) $ECHO_C" >&6
21723 ac_check_lib_save_LIBS=$LIBS
21725 if test x$gcc_no_link = xyes; then
21726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21728 { (exit 1); exit 1; }; }
21730 cat >conftest.$ac_ext <<_ACEOF
21733 cat confdefs.h >>conftest.$ac_ext
21734 cat >>conftest.$ac_ext <<_ACEOF
21735 /* end confdefs.h. */
21737 /* Override any gcc2 internal prototype to avoid an error. */
21741 /* We use char because int might match the return type of a gcc2
21742 builtin and then its argument prototype would still apply. */
21752 rm -f conftest.$ac_objext conftest$ac_exeext
21753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21754 (eval $ac_link) 2>conftest.er1
21756 grep -v '^ *+' conftest.er1 >conftest.err
21758 cat conftest.err >&5
21759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21760 (exit $ac_status); } &&
21761 { ac_try='test -z "$ac_c_werror_flag"
21762 || test ! -s conftest.err'
21763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21764 (eval $ac_try) 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; } &&
21768 { ac_try='test -s conftest$ac_exeext'
21769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21770 (eval $ac_try) 2>&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); }; }; then
21774 ac_cv_lib_m_cos=yes
21776 echo "$as_me: failed program was:" >&5
21777 sed 's/^/| /' conftest.$ac_ext >&5
21781 rm -f conftest.err conftest.$ac_objext \
21782 conftest$ac_exeext conftest.$ac_ext
21783 LIBS=$ac_check_lib_save_LIBS
21785 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
21786 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
21787 if test $ac_cv_lib_m_cos = yes; then
21789 cat >>confdefs.h <<\_ACEOF
21795 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
21796 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
21797 if test "${ac_cv_lib_m_cosl+set}" = set; then
21798 echo $ECHO_N "(cached) $ECHO_C" >&6
21800 ac_check_lib_save_LIBS=$LIBS
21802 if test x$gcc_no_link = xyes; then
21803 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21804 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21805 { (exit 1); exit 1; }; }
21807 cat >conftest.$ac_ext <<_ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21814 /* Override any gcc2 internal prototype to avoid an error. */
21818 /* We use char because int might match the return type of a gcc2
21819 builtin and then its argument prototype would still apply. */
21829 rm -f conftest.$ac_objext conftest$ac_exeext
21830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21831 (eval $ac_link) 2>conftest.er1
21833 grep -v '^ *+' conftest.er1 >conftest.err
21835 cat conftest.err >&5
21836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21837 (exit $ac_status); } &&
21838 { ac_try='test -z "$ac_c_werror_flag"
21839 || test ! -s conftest.err'
21840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21841 (eval $ac_try) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); }; } &&
21845 { ac_try='test -s conftest$ac_exeext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_cv_lib_m_cosl=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21856 ac_cv_lib_m_cosl=no
21858 rm -f conftest.err conftest.$ac_objext \
21859 conftest$ac_exeext conftest.$ac_ext
21860 LIBS=$ac_check_lib_save_LIBS
21862 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
21863 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
21864 if test $ac_cv_lib_m_cosl = yes; then
21866 cat >>confdefs.h <<\_ACEOF
21867 #define HAVE_COSL 1
21872 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
21873 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
21874 if test "${ac_cv_lib_m_ccosf+set}" = set; then
21875 echo $ECHO_N "(cached) $ECHO_C" >&6
21877 ac_check_lib_save_LIBS=$LIBS
21879 if test x$gcc_no_link = xyes; then
21880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21882 { (exit 1); exit 1; }; }
21884 cat >conftest.$ac_ext <<_ACEOF
21887 cat confdefs.h >>conftest.$ac_ext
21888 cat >>conftest.$ac_ext <<_ACEOF
21889 /* end confdefs.h. */
21891 /* Override any gcc2 internal prototype to avoid an error. */
21895 /* We use char because int might match the return type of a gcc2
21896 builtin and then its argument prototype would still apply. */
21906 rm -f conftest.$ac_objext conftest$ac_exeext
21907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21908 (eval $ac_link) 2>conftest.er1
21910 grep -v '^ *+' conftest.er1 >conftest.err
21912 cat conftest.err >&5
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } &&
21915 { ac_try='test -z "$ac_c_werror_flag"
21916 || test ! -s conftest.err'
21917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21918 (eval $ac_try) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); }; } &&
21922 { ac_try='test -s conftest$ac_exeext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 ac_cv_lib_m_ccosf=yes
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 ac_cv_lib_m_ccosf=no
21935 rm -f conftest.err conftest.$ac_objext \
21936 conftest$ac_exeext conftest.$ac_ext
21937 LIBS=$ac_check_lib_save_LIBS
21939 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
21940 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
21941 if test $ac_cv_lib_m_ccosf = yes; then
21943 cat >>confdefs.h <<\_ACEOF
21944 #define HAVE_CCOSF 1
21949 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
21950 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
21951 if test "${ac_cv_lib_m_ccos+set}" = set; then
21952 echo $ECHO_N "(cached) $ECHO_C" >&6
21954 ac_check_lib_save_LIBS=$LIBS
21956 if test x$gcc_no_link = xyes; then
21957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21959 { (exit 1); exit 1; }; }
21961 cat >conftest.$ac_ext <<_ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21968 /* Override any gcc2 internal prototype to avoid an error. */
21972 /* We use char because int might match the return type of a gcc2
21973 builtin and then its argument prototype would still apply. */
21983 rm -f conftest.$ac_objext conftest$ac_exeext
21984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21985 (eval $ac_link) 2>conftest.er1
21987 grep -v '^ *+' conftest.er1 >conftest.err
21989 cat conftest.err >&5
21990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21991 (exit $ac_status); } &&
21992 { ac_try='test -z "$ac_c_werror_flag"
21993 || test ! -s conftest.err'
21994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21995 (eval $ac_try) 2>&5
21997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21998 (exit $ac_status); }; } &&
21999 { ac_try='test -s conftest$ac_exeext'
22000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22001 (eval $ac_try) 2>&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); }; }; then
22005 ac_cv_lib_m_ccos=yes
22007 echo "$as_me: failed program was:" >&5
22008 sed 's/^/| /' conftest.$ac_ext >&5
22010 ac_cv_lib_m_ccos=no
22012 rm -f conftest.err conftest.$ac_objext \
22013 conftest$ac_exeext conftest.$ac_ext
22014 LIBS=$ac_check_lib_save_LIBS
22016 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22017 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22018 if test $ac_cv_lib_m_ccos = yes; then
22020 cat >>confdefs.h <<\_ACEOF
22021 #define HAVE_CCOS 1
22026 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22027 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22028 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 ac_check_lib_save_LIBS=$LIBS
22033 if test x$gcc_no_link = xyes; then
22034 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22036 { (exit 1); exit 1; }; }
22038 cat >conftest.$ac_ext <<_ACEOF
22041 cat confdefs.h >>conftest.$ac_ext
22042 cat >>conftest.$ac_ext <<_ACEOF
22043 /* end confdefs.h. */
22045 /* Override any gcc2 internal prototype to avoid an error. */
22049 /* We use char because int might match the return type of a gcc2
22050 builtin and then its argument prototype would still apply. */
22060 rm -f conftest.$ac_objext conftest$ac_exeext
22061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22062 (eval $ac_link) 2>conftest.er1
22064 grep -v '^ *+' conftest.er1 >conftest.err
22066 cat conftest.err >&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); } &&
22069 { ac_try='test -z "$ac_c_werror_flag"
22070 || test ! -s conftest.err'
22071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22072 (eval $ac_try) 2>&5
22074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22075 (exit $ac_status); }; } &&
22076 { ac_try='test -s conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 ac_cv_lib_m_ccosl=yes
22084 echo "$as_me: failed program was:" >&5
22085 sed 's/^/| /' conftest.$ac_ext >&5
22087 ac_cv_lib_m_ccosl=no
22089 rm -f conftest.err conftest.$ac_objext \
22090 conftest$ac_exeext conftest.$ac_ext
22091 LIBS=$ac_check_lib_save_LIBS
22093 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22094 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22095 if test $ac_cv_lib_m_ccosl = yes; then
22097 cat >>confdefs.h <<\_ACEOF
22098 #define HAVE_CCOSL 1
22103 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22104 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22105 if test "${ac_cv_lib_m_coshf+set}" = set; then
22106 echo $ECHO_N "(cached) $ECHO_C" >&6
22108 ac_check_lib_save_LIBS=$LIBS
22110 if test x$gcc_no_link = xyes; then
22111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22113 { (exit 1); exit 1; }; }
22115 cat >conftest.$ac_ext <<_ACEOF
22118 cat confdefs.h >>conftest.$ac_ext
22119 cat >>conftest.$ac_ext <<_ACEOF
22120 /* end confdefs.h. */
22122 /* Override any gcc2 internal prototype to avoid an error. */
22126 /* We use char because int might match the return type of a gcc2
22127 builtin and then its argument prototype would still apply. */
22137 rm -f conftest.$ac_objext conftest$ac_exeext
22138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22139 (eval $ac_link) 2>conftest.er1
22141 grep -v '^ *+' conftest.er1 >conftest.err
22143 cat conftest.err >&5
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); } &&
22146 { ac_try='test -z "$ac_c_werror_flag"
22147 || test ! -s conftest.err'
22148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22149 (eval $ac_try) 2>&5
22151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22152 (exit $ac_status); }; } &&
22153 { ac_try='test -s conftest$ac_exeext'
22154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22155 (eval $ac_try) 2>&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); }; }; then
22159 ac_cv_lib_m_coshf=yes
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22164 ac_cv_lib_m_coshf=no
22166 rm -f conftest.err conftest.$ac_objext \
22167 conftest$ac_exeext conftest.$ac_ext
22168 LIBS=$ac_check_lib_save_LIBS
22170 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22171 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22172 if test $ac_cv_lib_m_coshf = yes; then
22174 cat >>confdefs.h <<\_ACEOF
22175 #define HAVE_COSHF 1
22180 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22181 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22182 if test "${ac_cv_lib_m_cosh+set}" = set; then
22183 echo $ECHO_N "(cached) $ECHO_C" >&6
22185 ac_check_lib_save_LIBS=$LIBS
22187 if test x$gcc_no_link = xyes; then
22188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22190 { (exit 1); exit 1; }; }
22192 cat >conftest.$ac_ext <<_ACEOF
22195 cat confdefs.h >>conftest.$ac_ext
22196 cat >>conftest.$ac_ext <<_ACEOF
22197 /* end confdefs.h. */
22199 /* Override any gcc2 internal prototype to avoid an error. */
22203 /* We use char because int might match the return type of a gcc2
22204 builtin and then its argument prototype would still apply. */
22214 rm -f conftest.$ac_objext conftest$ac_exeext
22215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22216 (eval $ac_link) 2>conftest.er1
22218 grep -v '^ *+' conftest.er1 >conftest.err
22220 cat conftest.err >&5
22221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22222 (exit $ac_status); } &&
22223 { ac_try='test -z "$ac_c_werror_flag"
22224 || test ! -s conftest.err'
22225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22226 (eval $ac_try) 2>&5
22228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22229 (exit $ac_status); }; } &&
22230 { ac_try='test -s conftest$ac_exeext'
22231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22232 (eval $ac_try) 2>&5
22234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22235 (exit $ac_status); }; }; then
22236 ac_cv_lib_m_cosh=yes
22238 echo "$as_me: failed program was:" >&5
22239 sed 's/^/| /' conftest.$ac_ext >&5
22241 ac_cv_lib_m_cosh=no
22243 rm -f conftest.err conftest.$ac_objext \
22244 conftest$ac_exeext conftest.$ac_ext
22245 LIBS=$ac_check_lib_save_LIBS
22247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22248 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22249 if test $ac_cv_lib_m_cosh = yes; then
22251 cat >>confdefs.h <<\_ACEOF
22252 #define HAVE_COSH 1
22257 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22258 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22259 if test "${ac_cv_lib_m_coshl+set}" = set; then
22260 echo $ECHO_N "(cached) $ECHO_C" >&6
22262 ac_check_lib_save_LIBS=$LIBS
22264 if test x$gcc_no_link = xyes; then
22265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22267 { (exit 1); exit 1; }; }
22269 cat >conftest.$ac_ext <<_ACEOF
22272 cat confdefs.h >>conftest.$ac_ext
22273 cat >>conftest.$ac_ext <<_ACEOF
22274 /* end confdefs.h. */
22276 /* Override any gcc2 internal prototype to avoid an error. */
22280 /* We use char because int might match the return type of a gcc2
22281 builtin and then its argument prototype would still apply. */
22291 rm -f conftest.$ac_objext conftest$ac_exeext
22292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22293 (eval $ac_link) 2>conftest.er1
22295 grep -v '^ *+' conftest.er1 >conftest.err
22297 cat conftest.err >&5
22298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22299 (exit $ac_status); } &&
22300 { ac_try='test -z "$ac_c_werror_flag"
22301 || test ! -s conftest.err'
22302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22303 (eval $ac_try) 2>&5
22305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22306 (exit $ac_status); }; } &&
22307 { ac_try='test -s conftest$ac_exeext'
22308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22309 (eval $ac_try) 2>&5
22311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22312 (exit $ac_status); }; }; then
22313 ac_cv_lib_m_coshl=yes
22315 echo "$as_me: failed program was:" >&5
22316 sed 's/^/| /' conftest.$ac_ext >&5
22318 ac_cv_lib_m_coshl=no
22320 rm -f conftest.err conftest.$ac_objext \
22321 conftest$ac_exeext conftest.$ac_ext
22322 LIBS=$ac_check_lib_save_LIBS
22324 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
22325 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
22326 if test $ac_cv_lib_m_coshl = yes; then
22328 cat >>confdefs.h <<\_ACEOF
22329 #define HAVE_COSHL 1
22334 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
22335 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
22336 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
22337 echo $ECHO_N "(cached) $ECHO_C" >&6
22339 ac_check_lib_save_LIBS=$LIBS
22341 if test x$gcc_no_link = xyes; then
22342 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22343 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22344 { (exit 1); exit 1; }; }
22346 cat >conftest.$ac_ext <<_ACEOF
22349 cat confdefs.h >>conftest.$ac_ext
22350 cat >>conftest.$ac_ext <<_ACEOF
22351 /* end confdefs.h. */
22353 /* Override any gcc2 internal prototype to avoid an error. */
22357 /* We use char because int might match the return type of a gcc2
22358 builtin and then its argument prototype would still apply. */
22368 rm -f conftest.$ac_objext conftest$ac_exeext
22369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22370 (eval $ac_link) 2>conftest.er1
22372 grep -v '^ *+' conftest.er1 >conftest.err
22374 cat conftest.err >&5
22375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22376 (exit $ac_status); } &&
22377 { ac_try='test -z "$ac_c_werror_flag"
22378 || test ! -s conftest.err'
22379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22380 (eval $ac_try) 2>&5
22382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22383 (exit $ac_status); }; } &&
22384 { ac_try='test -s conftest$ac_exeext'
22385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22386 (eval $ac_try) 2>&5
22388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22389 (exit $ac_status); }; }; then
22390 ac_cv_lib_m_ccoshf=yes
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22395 ac_cv_lib_m_ccoshf=no
22397 rm -f conftest.err conftest.$ac_objext \
22398 conftest$ac_exeext conftest.$ac_ext
22399 LIBS=$ac_check_lib_save_LIBS
22401 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
22402 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
22403 if test $ac_cv_lib_m_ccoshf = yes; then
22405 cat >>confdefs.h <<\_ACEOF
22406 #define HAVE_CCOSHF 1
22411 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
22412 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
22413 if test "${ac_cv_lib_m_ccosh+set}" = set; then
22414 echo $ECHO_N "(cached) $ECHO_C" >&6
22416 ac_check_lib_save_LIBS=$LIBS
22418 if test x$gcc_no_link = xyes; then
22419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22421 { (exit 1); exit 1; }; }
22423 cat >conftest.$ac_ext <<_ACEOF
22426 cat confdefs.h >>conftest.$ac_ext
22427 cat >>conftest.$ac_ext <<_ACEOF
22428 /* end confdefs.h. */
22430 /* Override any gcc2 internal prototype to avoid an error. */
22434 /* We use char because int might match the return type of a gcc2
22435 builtin and then its argument prototype would still apply. */
22445 rm -f conftest.$ac_objext conftest$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447 (eval $ac_link) 2>conftest.er1
22449 grep -v '^ *+' conftest.er1 >conftest.err
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } &&
22454 { ac_try='test -z "$ac_c_werror_flag"
22455 || test ! -s conftest.err'
22456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22457 (eval $ac_try) 2>&5
22459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22460 (exit $ac_status); }; } &&
22461 { ac_try='test -s conftest$ac_exeext'
22462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22463 (eval $ac_try) 2>&5
22465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22466 (exit $ac_status); }; }; then
22467 ac_cv_lib_m_ccosh=yes
22469 echo "$as_me: failed program was:" >&5
22470 sed 's/^/| /' conftest.$ac_ext >&5
22472 ac_cv_lib_m_ccosh=no
22474 rm -f conftest.err conftest.$ac_objext \
22475 conftest$ac_exeext conftest.$ac_ext
22476 LIBS=$ac_check_lib_save_LIBS
22478 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
22479 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
22480 if test $ac_cv_lib_m_ccosh = yes; then
22482 cat >>confdefs.h <<\_ACEOF
22483 #define HAVE_CCOSH 1
22488 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
22489 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
22490 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
22491 echo $ECHO_N "(cached) $ECHO_C" >&6
22493 ac_check_lib_save_LIBS=$LIBS
22495 if test x$gcc_no_link = xyes; then
22496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22498 { (exit 1); exit 1; }; }
22500 cat >conftest.$ac_ext <<_ACEOF
22503 cat confdefs.h >>conftest.$ac_ext
22504 cat >>conftest.$ac_ext <<_ACEOF
22505 /* end confdefs.h. */
22507 /* Override any gcc2 internal prototype to avoid an error. */
22511 /* We use char because int might match the return type of a gcc2
22512 builtin and then its argument prototype would still apply. */
22522 rm -f conftest.$ac_objext conftest$ac_exeext
22523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22524 (eval $ac_link) 2>conftest.er1
22526 grep -v '^ *+' conftest.er1 >conftest.err
22528 cat conftest.err >&5
22529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22530 (exit $ac_status); } &&
22531 { ac_try='test -z "$ac_c_werror_flag"
22532 || test ! -s conftest.err'
22533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22534 (eval $ac_try) 2>&5
22536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22537 (exit $ac_status); }; } &&
22538 { ac_try='test -s conftest$ac_exeext'
22539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22540 (eval $ac_try) 2>&5
22542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22543 (exit $ac_status); }; }; then
22544 ac_cv_lib_m_ccoshl=yes
22546 echo "$as_me: failed program was:" >&5
22547 sed 's/^/| /' conftest.$ac_ext >&5
22549 ac_cv_lib_m_ccoshl=no
22551 rm -f conftest.err conftest.$ac_objext \
22552 conftest$ac_exeext conftest.$ac_ext
22553 LIBS=$ac_check_lib_save_LIBS
22555 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
22556 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
22557 if test $ac_cv_lib_m_ccoshl = yes; then
22559 cat >>confdefs.h <<\_ACEOF
22560 #define HAVE_CCOSHL 1
22565 echo "$as_me:$LINENO: checking for expf in -lm" >&5
22566 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
22567 if test "${ac_cv_lib_m_expf+set}" = set; then
22568 echo $ECHO_N "(cached) $ECHO_C" >&6
22570 ac_check_lib_save_LIBS=$LIBS
22572 if test x$gcc_no_link = xyes; then
22573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22575 { (exit 1); exit 1; }; }
22577 cat >conftest.$ac_ext <<_ACEOF
22580 cat confdefs.h >>conftest.$ac_ext
22581 cat >>conftest.$ac_ext <<_ACEOF
22582 /* end confdefs.h. */
22584 /* Override any gcc2 internal prototype to avoid an error. */
22588 /* We use char because int might match the return type of a gcc2
22589 builtin and then its argument prototype would still apply. */
22599 rm -f conftest.$ac_objext conftest$ac_exeext
22600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22601 (eval $ac_link) 2>conftest.er1
22603 grep -v '^ *+' conftest.er1 >conftest.err
22605 cat conftest.err >&5
22606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22607 (exit $ac_status); } &&
22608 { ac_try='test -z "$ac_c_werror_flag"
22609 || test ! -s conftest.err'
22610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22611 (eval $ac_try) 2>&5
22613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22614 (exit $ac_status); }; } &&
22615 { ac_try='test -s conftest$ac_exeext'
22616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22617 (eval $ac_try) 2>&5
22619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22620 (exit $ac_status); }; }; then
22621 ac_cv_lib_m_expf=yes
22623 echo "$as_me: failed program was:" >&5
22624 sed 's/^/| /' conftest.$ac_ext >&5
22626 ac_cv_lib_m_expf=no
22628 rm -f conftest.err conftest.$ac_objext \
22629 conftest$ac_exeext conftest.$ac_ext
22630 LIBS=$ac_check_lib_save_LIBS
22632 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
22633 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
22634 if test $ac_cv_lib_m_expf = yes; then
22636 cat >>confdefs.h <<\_ACEOF
22637 #define HAVE_EXPF 1
22642 echo "$as_me:$LINENO: checking for exp in -lm" >&5
22643 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
22644 if test "${ac_cv_lib_m_exp+set}" = set; then
22645 echo $ECHO_N "(cached) $ECHO_C" >&6
22647 ac_check_lib_save_LIBS=$LIBS
22649 if test x$gcc_no_link = xyes; then
22650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22652 { (exit 1); exit 1; }; }
22654 cat >conftest.$ac_ext <<_ACEOF
22657 cat confdefs.h >>conftest.$ac_ext
22658 cat >>conftest.$ac_ext <<_ACEOF
22659 /* end confdefs.h. */
22661 /* Override any gcc2 internal prototype to avoid an error. */
22665 /* We use char because int might match the return type of a gcc2
22666 builtin and then its argument prototype would still apply. */
22676 rm -f conftest.$ac_objext conftest$ac_exeext
22677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22678 (eval $ac_link) 2>conftest.er1
22680 grep -v '^ *+' conftest.er1 >conftest.err
22682 cat conftest.err >&5
22683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22684 (exit $ac_status); } &&
22685 { ac_try='test -z "$ac_c_werror_flag"
22686 || test ! -s conftest.err'
22687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22688 (eval $ac_try) 2>&5
22690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22691 (exit $ac_status); }; } &&
22692 { ac_try='test -s conftest$ac_exeext'
22693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22694 (eval $ac_try) 2>&5
22696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22697 (exit $ac_status); }; }; then
22698 ac_cv_lib_m_exp=yes
22700 echo "$as_me: failed program was:" >&5
22701 sed 's/^/| /' conftest.$ac_ext >&5
22705 rm -f conftest.err conftest.$ac_objext \
22706 conftest$ac_exeext conftest.$ac_ext
22707 LIBS=$ac_check_lib_save_LIBS
22709 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
22710 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
22711 if test $ac_cv_lib_m_exp = yes; then
22713 cat >>confdefs.h <<\_ACEOF
22719 echo "$as_me:$LINENO: checking for expl in -lm" >&5
22720 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
22721 if test "${ac_cv_lib_m_expl+set}" = set; then
22722 echo $ECHO_N "(cached) $ECHO_C" >&6
22724 ac_check_lib_save_LIBS=$LIBS
22726 if test x$gcc_no_link = xyes; then
22727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22729 { (exit 1); exit 1; }; }
22731 cat >conftest.$ac_ext <<_ACEOF
22734 cat confdefs.h >>conftest.$ac_ext
22735 cat >>conftest.$ac_ext <<_ACEOF
22736 /* end confdefs.h. */
22738 /* Override any gcc2 internal prototype to avoid an error. */
22742 /* We use char because int might match the return type of a gcc2
22743 builtin and then its argument prototype would still apply. */
22753 rm -f conftest.$ac_objext conftest$ac_exeext
22754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22755 (eval $ac_link) 2>conftest.er1
22757 grep -v '^ *+' conftest.er1 >conftest.err
22759 cat conftest.err >&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } &&
22762 { ac_try='test -z "$ac_c_werror_flag"
22763 || test ! -s conftest.err'
22764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22765 (eval $ac_try) 2>&5
22767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22768 (exit $ac_status); }; } &&
22769 { ac_try='test -s conftest$ac_exeext'
22770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22771 (eval $ac_try) 2>&5
22773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774 (exit $ac_status); }; }; then
22775 ac_cv_lib_m_expl=yes
22777 echo "$as_me: failed program was:" >&5
22778 sed 's/^/| /' conftest.$ac_ext >&5
22780 ac_cv_lib_m_expl=no
22782 rm -f conftest.err conftest.$ac_objext \
22783 conftest$ac_exeext conftest.$ac_ext
22784 LIBS=$ac_check_lib_save_LIBS
22786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
22787 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
22788 if test $ac_cv_lib_m_expl = yes; then
22790 cat >>confdefs.h <<\_ACEOF
22791 #define HAVE_EXPL 1
22796 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
22797 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
22798 if test "${ac_cv_lib_m_cexpf+set}" = set; then
22799 echo $ECHO_N "(cached) $ECHO_C" >&6
22801 ac_check_lib_save_LIBS=$LIBS
22803 if test x$gcc_no_link = xyes; then
22804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22806 { (exit 1); exit 1; }; }
22808 cat >conftest.$ac_ext <<_ACEOF
22811 cat confdefs.h >>conftest.$ac_ext
22812 cat >>conftest.$ac_ext <<_ACEOF
22813 /* end confdefs.h. */
22815 /* Override any gcc2 internal prototype to avoid an error. */
22819 /* We use char because int might match the return type of a gcc2
22820 builtin and then its argument prototype would still apply. */
22830 rm -f conftest.$ac_objext conftest$ac_exeext
22831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22832 (eval $ac_link) 2>conftest.er1
22834 grep -v '^ *+' conftest.er1 >conftest.err
22836 cat conftest.err >&5
22837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22838 (exit $ac_status); } &&
22839 { ac_try='test -z "$ac_c_werror_flag"
22840 || test ! -s conftest.err'
22841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22842 (eval $ac_try) 2>&5
22844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22845 (exit $ac_status); }; } &&
22846 { ac_try='test -s conftest$ac_exeext'
22847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22848 (eval $ac_try) 2>&5
22850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22851 (exit $ac_status); }; }; then
22852 ac_cv_lib_m_cexpf=yes
22854 echo "$as_me: failed program was:" >&5
22855 sed 's/^/| /' conftest.$ac_ext >&5
22857 ac_cv_lib_m_cexpf=no
22859 rm -f conftest.err conftest.$ac_objext \
22860 conftest$ac_exeext conftest.$ac_ext
22861 LIBS=$ac_check_lib_save_LIBS
22863 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
22864 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
22865 if test $ac_cv_lib_m_cexpf = yes; then
22867 cat >>confdefs.h <<\_ACEOF
22868 #define HAVE_CEXPF 1
22873 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
22874 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
22875 if test "${ac_cv_lib_m_cexp+set}" = set; then
22876 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 ac_check_lib_save_LIBS=$LIBS
22880 if test x$gcc_no_link = xyes; then
22881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22883 { (exit 1); exit 1; }; }
22885 cat >conftest.$ac_ext <<_ACEOF
22888 cat confdefs.h >>conftest.$ac_ext
22889 cat >>conftest.$ac_ext <<_ACEOF
22890 /* end confdefs.h. */
22892 /* Override any gcc2 internal prototype to avoid an error. */
22896 /* We use char because int might match the return type of a gcc2
22897 builtin and then its argument prototype would still apply. */
22907 rm -f conftest.$ac_objext conftest$ac_exeext
22908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22909 (eval $ac_link) 2>conftest.er1
22911 grep -v '^ *+' conftest.er1 >conftest.err
22913 cat conftest.err >&5
22914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22915 (exit $ac_status); } &&
22916 { ac_try='test -z "$ac_c_werror_flag"
22917 || test ! -s conftest.err'
22918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22919 (eval $ac_try) 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; } &&
22923 { ac_try='test -s conftest$ac_exeext'
22924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22925 (eval $ac_try) 2>&5
22927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22928 (exit $ac_status); }; }; then
22929 ac_cv_lib_m_cexp=yes
22931 echo "$as_me: failed program was:" >&5
22932 sed 's/^/| /' conftest.$ac_ext >&5
22934 ac_cv_lib_m_cexp=no
22936 rm -f conftest.err conftest.$ac_objext \
22937 conftest$ac_exeext conftest.$ac_ext
22938 LIBS=$ac_check_lib_save_LIBS
22940 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
22941 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
22942 if test $ac_cv_lib_m_cexp = yes; then
22944 cat >>confdefs.h <<\_ACEOF
22945 #define HAVE_CEXP 1
22950 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
22951 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
22952 if test "${ac_cv_lib_m_cexpl+set}" = set; then
22953 echo $ECHO_N "(cached) $ECHO_C" >&6
22955 ac_check_lib_save_LIBS=$LIBS
22957 if test x$gcc_no_link = xyes; then
22958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22960 { (exit 1); exit 1; }; }
22962 cat >conftest.$ac_ext <<_ACEOF
22965 cat confdefs.h >>conftest.$ac_ext
22966 cat >>conftest.$ac_ext <<_ACEOF
22967 /* end confdefs.h. */
22969 /* Override any gcc2 internal prototype to avoid an error. */
22973 /* We use char because int might match the return type of a gcc2
22974 builtin and then its argument prototype would still apply. */
22984 rm -f conftest.$ac_objext conftest$ac_exeext
22985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22986 (eval $ac_link) 2>conftest.er1
22988 grep -v '^ *+' conftest.er1 >conftest.err
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } &&
22993 { ac_try='test -z "$ac_c_werror_flag"
22994 || test ! -s conftest.err'
22995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22996 (eval $ac_try) 2>&5
22998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22999 (exit $ac_status); }; } &&
23000 { ac_try='test -s conftest$ac_exeext'
23001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23002 (eval $ac_try) 2>&5
23004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23005 (exit $ac_status); }; }; then
23006 ac_cv_lib_m_cexpl=yes
23008 echo "$as_me: failed program was:" >&5
23009 sed 's/^/| /' conftest.$ac_ext >&5
23011 ac_cv_lib_m_cexpl=no
23013 rm -f conftest.err conftest.$ac_objext \
23014 conftest$ac_exeext conftest.$ac_ext
23015 LIBS=$ac_check_lib_save_LIBS
23017 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23018 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23019 if test $ac_cv_lib_m_cexpl = yes; then
23021 cat >>confdefs.h <<\_ACEOF
23022 #define HAVE_CEXPL 1
23027 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23028 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23029 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 ac_check_lib_save_LIBS=$LIBS
23034 if test x$gcc_no_link = xyes; then
23035 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23037 { (exit 1); exit 1; }; }
23039 cat >conftest.$ac_ext <<_ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23046 /* Override any gcc2 internal prototype to avoid an error. */
23050 /* We use char because int might match the return type of a gcc2
23051 builtin and then its argument prototype would still apply. */
23061 rm -f conftest.$ac_objext conftest$ac_exeext
23062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23063 (eval $ac_link) 2>conftest.er1
23065 grep -v '^ *+' conftest.er1 >conftest.err
23067 cat conftest.err >&5
23068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23069 (exit $ac_status); } &&
23070 { ac_try='test -z "$ac_c_werror_flag"
23071 || test ! -s conftest.err'
23072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23073 (eval $ac_try) 2>&5
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; } &&
23077 { ac_try='test -s conftest$ac_exeext'
23078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23079 (eval $ac_try) 2>&5
23081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23082 (exit $ac_status); }; }; then
23083 ac_cv_lib_m_fabsf=yes
23085 echo "$as_me: failed program was:" >&5
23086 sed 's/^/| /' conftest.$ac_ext >&5
23088 ac_cv_lib_m_fabsf=no
23090 rm -f conftest.err conftest.$ac_objext \
23091 conftest$ac_exeext conftest.$ac_ext
23092 LIBS=$ac_check_lib_save_LIBS
23094 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23095 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23096 if test $ac_cv_lib_m_fabsf = yes; then
23098 cat >>confdefs.h <<\_ACEOF
23099 #define HAVE_FABSF 1
23104 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23105 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23106 if test "${ac_cv_lib_m_fabs+set}" = set; then
23107 echo $ECHO_N "(cached) $ECHO_C" >&6
23109 ac_check_lib_save_LIBS=$LIBS
23111 if test x$gcc_no_link = xyes; then
23112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23114 { (exit 1); exit 1; }; }
23116 cat >conftest.$ac_ext <<_ACEOF
23119 cat confdefs.h >>conftest.$ac_ext
23120 cat >>conftest.$ac_ext <<_ACEOF
23121 /* end confdefs.h. */
23123 /* Override any gcc2 internal prototype to avoid an error. */
23127 /* We use char because int might match the return type of a gcc2
23128 builtin and then its argument prototype would still apply. */
23138 rm -f conftest.$ac_objext conftest$ac_exeext
23139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23140 (eval $ac_link) 2>conftest.er1
23142 grep -v '^ *+' conftest.er1 >conftest.err
23144 cat conftest.err >&5
23145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23146 (exit $ac_status); } &&
23147 { ac_try='test -z "$ac_c_werror_flag"
23148 || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest$ac_exeext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_lib_m_fabs=yes
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23165 ac_cv_lib_m_fabs=no
23167 rm -f conftest.err conftest.$ac_objext \
23168 conftest$ac_exeext conftest.$ac_ext
23169 LIBS=$ac_check_lib_save_LIBS
23171 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23172 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23173 if test $ac_cv_lib_m_fabs = yes; then
23175 cat >>confdefs.h <<\_ACEOF
23176 #define HAVE_FABS 1
23181 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23182 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23183 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23184 echo $ECHO_N "(cached) $ECHO_C" >&6
23186 ac_check_lib_save_LIBS=$LIBS
23188 if test x$gcc_no_link = xyes; then
23189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23191 { (exit 1); exit 1; }; }
23193 cat >conftest.$ac_ext <<_ACEOF
23196 cat confdefs.h >>conftest.$ac_ext
23197 cat >>conftest.$ac_ext <<_ACEOF
23198 /* end confdefs.h. */
23200 /* Override any gcc2 internal prototype to avoid an error. */
23204 /* We use char because int might match the return type of a gcc2
23205 builtin and then its argument prototype would still apply. */
23215 rm -f conftest.$ac_objext conftest$ac_exeext
23216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23217 (eval $ac_link) 2>conftest.er1
23219 grep -v '^ *+' conftest.er1 >conftest.err
23221 cat conftest.err >&5
23222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23223 (exit $ac_status); } &&
23224 { ac_try='test -z "$ac_c_werror_flag"
23225 || test ! -s conftest.err'
23226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23227 (eval $ac_try) 2>&5
23229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23230 (exit $ac_status); }; } &&
23231 { ac_try='test -s conftest$ac_exeext'
23232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23233 (eval $ac_try) 2>&5
23235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23236 (exit $ac_status); }; }; then
23237 ac_cv_lib_m_fabsl=yes
23239 echo "$as_me: failed program was:" >&5
23240 sed 's/^/| /' conftest.$ac_ext >&5
23242 ac_cv_lib_m_fabsl=no
23244 rm -f conftest.err conftest.$ac_objext \
23245 conftest$ac_exeext conftest.$ac_ext
23246 LIBS=$ac_check_lib_save_LIBS
23248 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23249 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23250 if test $ac_cv_lib_m_fabsl = yes; then
23252 cat >>confdefs.h <<\_ACEOF
23253 #define HAVE_FABSL 1
23258 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23259 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23260 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23261 echo $ECHO_N "(cached) $ECHO_C" >&6
23263 ac_check_lib_save_LIBS=$LIBS
23265 if test x$gcc_no_link = xyes; then
23266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23268 { (exit 1); exit 1; }; }
23270 cat >conftest.$ac_ext <<_ACEOF
23273 cat confdefs.h >>conftest.$ac_ext
23274 cat >>conftest.$ac_ext <<_ACEOF
23275 /* end confdefs.h. */
23277 /* Override any gcc2 internal prototype to avoid an error. */
23281 /* We use char because int might match the return type of a gcc2
23282 builtin and then its argument prototype would still apply. */
23292 rm -f conftest.$ac_objext conftest$ac_exeext
23293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23294 (eval $ac_link) 2>conftest.er1
23296 grep -v '^ *+' conftest.er1 >conftest.err
23298 cat conftest.err >&5
23299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23300 (exit $ac_status); } &&
23301 { ac_try='test -z "$ac_c_werror_flag"
23302 || test ! -s conftest.err'
23303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23304 (eval $ac_try) 2>&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); }; } &&
23308 { ac_try='test -s conftest$ac_exeext'
23309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23310 (eval $ac_try) 2>&5
23312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23313 (exit $ac_status); }; }; then
23314 ac_cv_lib_m_cabsf=yes
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23319 ac_cv_lib_m_cabsf=no
23321 rm -f conftest.err conftest.$ac_objext \
23322 conftest$ac_exeext conftest.$ac_ext
23323 LIBS=$ac_check_lib_save_LIBS
23325 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
23326 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
23327 if test $ac_cv_lib_m_cabsf = yes; then
23329 cat >>confdefs.h <<\_ACEOF
23330 #define HAVE_CABSF 1
23335 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
23336 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
23337 if test "${ac_cv_lib_m_cabs+set}" = set; then
23338 echo $ECHO_N "(cached) $ECHO_C" >&6
23340 ac_check_lib_save_LIBS=$LIBS
23342 if test x$gcc_no_link = xyes; then
23343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23345 { (exit 1); exit 1; }; }
23347 cat >conftest.$ac_ext <<_ACEOF
23350 cat confdefs.h >>conftest.$ac_ext
23351 cat >>conftest.$ac_ext <<_ACEOF
23352 /* end confdefs.h. */
23354 /* Override any gcc2 internal prototype to avoid an error. */
23358 /* We use char because int might match the return type of a gcc2
23359 builtin and then its argument prototype would still apply. */
23369 rm -f conftest.$ac_objext conftest$ac_exeext
23370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23371 (eval $ac_link) 2>conftest.er1
23373 grep -v '^ *+' conftest.er1 >conftest.err
23375 cat conftest.err >&5
23376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23377 (exit $ac_status); } &&
23378 { ac_try='test -z "$ac_c_werror_flag"
23379 || test ! -s conftest.err'
23380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23381 (eval $ac_try) 2>&5
23383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23384 (exit $ac_status); }; } &&
23385 { ac_try='test -s conftest$ac_exeext'
23386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23387 (eval $ac_try) 2>&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); }; }; then
23391 ac_cv_lib_m_cabs=yes
23393 echo "$as_me: failed program was:" >&5
23394 sed 's/^/| /' conftest.$ac_ext >&5
23396 ac_cv_lib_m_cabs=no
23398 rm -f conftest.err conftest.$ac_objext \
23399 conftest$ac_exeext conftest.$ac_ext
23400 LIBS=$ac_check_lib_save_LIBS
23402 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
23403 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
23404 if test $ac_cv_lib_m_cabs = yes; then
23406 cat >>confdefs.h <<\_ACEOF
23407 #define HAVE_CABS 1
23412 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
23413 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
23414 if test "${ac_cv_lib_m_cabsl+set}" = set; then
23415 echo $ECHO_N "(cached) $ECHO_C" >&6
23417 ac_check_lib_save_LIBS=$LIBS
23419 if test x$gcc_no_link = xyes; then
23420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23422 { (exit 1); exit 1; }; }
23424 cat >conftest.$ac_ext <<_ACEOF
23427 cat confdefs.h >>conftest.$ac_ext
23428 cat >>conftest.$ac_ext <<_ACEOF
23429 /* end confdefs.h. */
23431 /* Override any gcc2 internal prototype to avoid an error. */
23435 /* We use char because int might match the return type of a gcc2
23436 builtin and then its argument prototype would still apply. */
23446 rm -f conftest.$ac_objext conftest$ac_exeext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23448 (eval $ac_link) 2>conftest.er1
23450 grep -v '^ *+' conftest.er1 >conftest.err
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try='test -z "$ac_c_werror_flag"
23456 || test ! -s conftest.err'
23457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23458 (eval $ac_try) 2>&5
23460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23461 (exit $ac_status); }; } &&
23462 { ac_try='test -s conftest$ac_exeext'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; }; then
23468 ac_cv_lib_m_cabsl=yes
23470 echo "$as_me: failed program was:" >&5
23471 sed 's/^/| /' conftest.$ac_ext >&5
23473 ac_cv_lib_m_cabsl=no
23475 rm -f conftest.err conftest.$ac_objext \
23476 conftest$ac_exeext conftest.$ac_ext
23477 LIBS=$ac_check_lib_save_LIBS
23479 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
23480 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
23481 if test $ac_cv_lib_m_cabsl = yes; then
23483 cat >>confdefs.h <<\_ACEOF
23484 #define HAVE_CABSL 1
23489 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
23490 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
23491 if test "${ac_cv_lib_m_floorf+set}" = set; then
23492 echo $ECHO_N "(cached) $ECHO_C" >&6
23494 ac_check_lib_save_LIBS=$LIBS
23496 if test x$gcc_no_link = xyes; then
23497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23499 { (exit 1); exit 1; }; }
23501 cat >conftest.$ac_ext <<_ACEOF
23504 cat confdefs.h >>conftest.$ac_ext
23505 cat >>conftest.$ac_ext <<_ACEOF
23506 /* end confdefs.h. */
23508 /* Override any gcc2 internal prototype to avoid an error. */
23512 /* We use char because int might match the return type of a gcc2
23513 builtin and then its argument prototype would still apply. */
23523 rm -f conftest.$ac_objext conftest$ac_exeext
23524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23525 (eval $ac_link) 2>conftest.er1
23527 grep -v '^ *+' conftest.er1 >conftest.err
23529 cat conftest.err >&5
23530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23531 (exit $ac_status); } &&
23532 { ac_try='test -z "$ac_c_werror_flag"
23533 || test ! -s conftest.err'
23534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23535 (eval $ac_try) 2>&5
23537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23538 (exit $ac_status); }; } &&
23539 { ac_try='test -s conftest$ac_exeext'
23540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23541 (eval $ac_try) 2>&5
23543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23544 (exit $ac_status); }; }; then
23545 ac_cv_lib_m_floorf=yes
23547 echo "$as_me: failed program was:" >&5
23548 sed 's/^/| /' conftest.$ac_ext >&5
23550 ac_cv_lib_m_floorf=no
23552 rm -f conftest.err conftest.$ac_objext \
23553 conftest$ac_exeext conftest.$ac_ext
23554 LIBS=$ac_check_lib_save_LIBS
23556 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
23557 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
23558 if test $ac_cv_lib_m_floorf = yes; then
23560 cat >>confdefs.h <<\_ACEOF
23561 #define HAVE_FLOORF 1
23566 echo "$as_me:$LINENO: checking for floor in -lm" >&5
23567 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
23568 if test "${ac_cv_lib_m_floor+set}" = set; then
23569 echo $ECHO_N "(cached) $ECHO_C" >&6
23571 ac_check_lib_save_LIBS=$LIBS
23573 if test x$gcc_no_link = xyes; then
23574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23576 { (exit 1); exit 1; }; }
23578 cat >conftest.$ac_ext <<_ACEOF
23581 cat confdefs.h >>conftest.$ac_ext
23582 cat >>conftest.$ac_ext <<_ACEOF
23583 /* end confdefs.h. */
23585 /* Override any gcc2 internal prototype to avoid an error. */
23589 /* We use char because int might match the return type of a gcc2
23590 builtin and then its argument prototype would still apply. */
23600 rm -f conftest.$ac_objext conftest$ac_exeext
23601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23602 (eval $ac_link) 2>conftest.er1
23604 grep -v '^ *+' conftest.er1 >conftest.err
23606 cat conftest.err >&5
23607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23608 (exit $ac_status); } &&
23609 { ac_try='test -z "$ac_c_werror_flag"
23610 || test ! -s conftest.err'
23611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23612 (eval $ac_try) 2>&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); }; } &&
23616 { ac_try='test -s conftest$ac_exeext'
23617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23618 (eval $ac_try) 2>&5
23620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23621 (exit $ac_status); }; }; then
23622 ac_cv_lib_m_floor=yes
23624 echo "$as_me: failed program was:" >&5
23625 sed 's/^/| /' conftest.$ac_ext >&5
23627 ac_cv_lib_m_floor=no
23629 rm -f conftest.err conftest.$ac_objext \
23630 conftest$ac_exeext conftest.$ac_ext
23631 LIBS=$ac_check_lib_save_LIBS
23633 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
23634 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
23635 if test $ac_cv_lib_m_floor = yes; then
23637 cat >>confdefs.h <<\_ACEOF
23638 #define HAVE_FLOOR 1
23643 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
23644 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
23645 if test "${ac_cv_lib_m_floorl+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23648 ac_check_lib_save_LIBS=$LIBS
23650 if test x$gcc_no_link = xyes; then
23651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23653 { (exit 1); exit 1; }; }
23655 cat >conftest.$ac_ext <<_ACEOF
23658 cat confdefs.h >>conftest.$ac_ext
23659 cat >>conftest.$ac_ext <<_ACEOF
23660 /* end confdefs.h. */
23662 /* Override any gcc2 internal prototype to avoid an error. */
23666 /* We use char because int might match the return type of a gcc2
23667 builtin and then its argument prototype would still apply. */
23677 rm -f conftest.$ac_objext conftest$ac_exeext
23678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23679 (eval $ac_link) 2>conftest.er1
23681 grep -v '^ *+' conftest.er1 >conftest.err
23683 cat conftest.err >&5
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); } &&
23686 { ac_try='test -z "$ac_c_werror_flag"
23687 || test ! -s conftest.err'
23688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23689 (eval $ac_try) 2>&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); }; } &&
23693 { ac_try='test -s conftest$ac_exeext'
23694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23695 (eval $ac_try) 2>&5
23697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23698 (exit $ac_status); }; }; then
23699 ac_cv_lib_m_floorl=yes
23701 echo "$as_me: failed program was:" >&5
23702 sed 's/^/| /' conftest.$ac_ext >&5
23704 ac_cv_lib_m_floorl=no
23706 rm -f conftest.err conftest.$ac_objext \
23707 conftest$ac_exeext conftest.$ac_ext
23708 LIBS=$ac_check_lib_save_LIBS
23710 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
23711 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
23712 if test $ac_cv_lib_m_floorl = yes; then
23714 cat >>confdefs.h <<\_ACEOF
23715 #define HAVE_FLOORL 1
23720 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
23721 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
23722 if test "${ac_cv_lib_m_fmodf+set}" = set; then
23723 echo $ECHO_N "(cached) $ECHO_C" >&6
23725 ac_check_lib_save_LIBS=$LIBS
23727 if test x$gcc_no_link = xyes; then
23728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23730 { (exit 1); exit 1; }; }
23732 cat >conftest.$ac_ext <<_ACEOF
23735 cat confdefs.h >>conftest.$ac_ext
23736 cat >>conftest.$ac_ext <<_ACEOF
23737 /* end confdefs.h. */
23739 /* Override any gcc2 internal prototype to avoid an error. */
23743 /* We use char because int might match the return type of a gcc2
23744 builtin and then its argument prototype would still apply. */
23754 rm -f conftest.$ac_objext conftest$ac_exeext
23755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23756 (eval $ac_link) 2>conftest.er1
23758 grep -v '^ *+' conftest.er1 >conftest.err
23760 cat conftest.err >&5
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); } &&
23763 { ac_try='test -z "$ac_c_werror_flag"
23764 || test ! -s conftest.err'
23765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23766 (eval $ac_try) 2>&5
23768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23769 (exit $ac_status); }; } &&
23770 { ac_try='test -s conftest$ac_exeext'
23771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23772 (eval $ac_try) 2>&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); }; }; then
23776 ac_cv_lib_m_fmodf=yes
23778 echo "$as_me: failed program was:" >&5
23779 sed 's/^/| /' conftest.$ac_ext >&5
23781 ac_cv_lib_m_fmodf=no
23783 rm -f conftest.err conftest.$ac_objext \
23784 conftest$ac_exeext conftest.$ac_ext
23785 LIBS=$ac_check_lib_save_LIBS
23787 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
23788 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
23789 if test $ac_cv_lib_m_fmodf = yes; then
23791 cat >>confdefs.h <<\_ACEOF
23792 #define HAVE_FMODF 1
23797 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
23798 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
23799 if test "${ac_cv_lib_m_fmod+set}" = set; then
23800 echo $ECHO_N "(cached) $ECHO_C" >&6
23802 ac_check_lib_save_LIBS=$LIBS
23804 if test x$gcc_no_link = xyes; then
23805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23807 { (exit 1); exit 1; }; }
23809 cat >conftest.$ac_ext <<_ACEOF
23812 cat confdefs.h >>conftest.$ac_ext
23813 cat >>conftest.$ac_ext <<_ACEOF
23814 /* end confdefs.h. */
23816 /* Override any gcc2 internal prototype to avoid an error. */
23820 /* We use char because int might match the return type of a gcc2
23821 builtin and then its argument prototype would still apply. */
23831 rm -f conftest.$ac_objext conftest$ac_exeext
23832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23833 (eval $ac_link) 2>conftest.er1
23835 grep -v '^ *+' conftest.er1 >conftest.err
23837 cat conftest.err >&5
23838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23839 (exit $ac_status); } &&
23840 { ac_try='test -z "$ac_c_werror_flag"
23841 || test ! -s conftest.err'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; } &&
23847 { ac_try='test -s conftest$ac_exeext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 ac_cv_lib_m_fmod=yes
23855 echo "$as_me: failed program was:" >&5
23856 sed 's/^/| /' conftest.$ac_ext >&5
23858 ac_cv_lib_m_fmod=no
23860 rm -f conftest.err conftest.$ac_objext \
23861 conftest$ac_exeext conftest.$ac_ext
23862 LIBS=$ac_check_lib_save_LIBS
23864 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
23865 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
23866 if test $ac_cv_lib_m_fmod = yes; then
23868 cat >>confdefs.h <<\_ACEOF
23869 #define HAVE_FMOD 1
23874 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
23875 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
23876 if test "${ac_cv_lib_m_fmodl+set}" = set; then
23877 echo $ECHO_N "(cached) $ECHO_C" >&6
23879 ac_check_lib_save_LIBS=$LIBS
23881 if test x$gcc_no_link = xyes; then
23882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23884 { (exit 1); exit 1; }; }
23886 cat >conftest.$ac_ext <<_ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23893 /* Override any gcc2 internal prototype to avoid an error. */
23897 /* We use char because int might match the return type of a gcc2
23898 builtin and then its argument prototype would still apply. */
23908 rm -f conftest.$ac_objext conftest$ac_exeext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23910 (eval $ac_link) 2>conftest.er1
23912 grep -v '^ *+' conftest.er1 >conftest.err
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } &&
23917 { ac_try='test -z "$ac_c_werror_flag"
23918 || test ! -s conftest.err'
23919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23920 (eval $ac_try) 2>&5
23922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23923 (exit $ac_status); }; } &&
23924 { ac_try='test -s conftest$ac_exeext'
23925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23926 (eval $ac_try) 2>&5
23928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23929 (exit $ac_status); }; }; then
23930 ac_cv_lib_m_fmodl=yes
23932 echo "$as_me: failed program was:" >&5
23933 sed 's/^/| /' conftest.$ac_ext >&5
23935 ac_cv_lib_m_fmodl=no
23937 rm -f conftest.err conftest.$ac_objext \
23938 conftest$ac_exeext conftest.$ac_ext
23939 LIBS=$ac_check_lib_save_LIBS
23941 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
23942 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
23943 if test $ac_cv_lib_m_fmodl = yes; then
23945 cat >>confdefs.h <<\_ACEOF
23946 #define HAVE_FMODL 1
23951 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
23952 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
23953 if test "${ac_cv_lib_m_frexpf+set}" = set; then
23954 echo $ECHO_N "(cached) $ECHO_C" >&6
23956 ac_check_lib_save_LIBS=$LIBS
23958 if test x$gcc_no_link = xyes; then
23959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23961 { (exit 1); exit 1; }; }
23963 cat >conftest.$ac_ext <<_ACEOF
23966 cat confdefs.h >>conftest.$ac_ext
23967 cat >>conftest.$ac_ext <<_ACEOF
23968 /* end confdefs.h. */
23970 /* Override any gcc2 internal prototype to avoid an error. */
23974 /* We use char because int might match the return type of a gcc2
23975 builtin and then its argument prototype would still apply. */
23985 rm -f conftest.$ac_objext conftest$ac_exeext
23986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23987 (eval $ac_link) 2>conftest.er1
23989 grep -v '^ *+' conftest.er1 >conftest.err
23991 cat conftest.err >&5
23992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23993 (exit $ac_status); } &&
23994 { ac_try='test -z "$ac_c_werror_flag"
23995 || test ! -s conftest.err'
23996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23997 (eval $ac_try) 2>&5
23999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24000 (exit $ac_status); }; } &&
24001 { ac_try='test -s conftest$ac_exeext'
24002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24003 (eval $ac_try) 2>&5
24005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24006 (exit $ac_status); }; }; then
24007 ac_cv_lib_m_frexpf=yes
24009 echo "$as_me: failed program was:" >&5
24010 sed 's/^/| /' conftest.$ac_ext >&5
24012 ac_cv_lib_m_frexpf=no
24014 rm -f conftest.err conftest.$ac_objext \
24015 conftest$ac_exeext conftest.$ac_ext
24016 LIBS=$ac_check_lib_save_LIBS
24018 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24019 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24020 if test $ac_cv_lib_m_frexpf = yes; then
24022 cat >>confdefs.h <<\_ACEOF
24023 #define HAVE_FREXPF 1
24028 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24029 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24030 if test "${ac_cv_lib_m_frexp+set}" = set; then
24031 echo $ECHO_N "(cached) $ECHO_C" >&6
24033 ac_check_lib_save_LIBS=$LIBS
24035 if test x$gcc_no_link = xyes; then
24036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24038 { (exit 1); exit 1; }; }
24040 cat >conftest.$ac_ext <<_ACEOF
24043 cat confdefs.h >>conftest.$ac_ext
24044 cat >>conftest.$ac_ext <<_ACEOF
24045 /* end confdefs.h. */
24047 /* Override any gcc2 internal prototype to avoid an error. */
24051 /* We use char because int might match the return type of a gcc2
24052 builtin and then its argument prototype would still apply. */
24062 rm -f conftest.$ac_objext conftest$ac_exeext
24063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24064 (eval $ac_link) 2>conftest.er1
24066 grep -v '^ *+' conftest.er1 >conftest.err
24068 cat conftest.err >&5
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); } &&
24071 { ac_try='test -z "$ac_c_werror_flag"
24072 || test ! -s conftest.err'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; } &&
24078 { ac_try='test -s conftest$ac_exeext'
24079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080 (eval $ac_try) 2>&5
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); }; }; then
24084 ac_cv_lib_m_frexp=yes
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24089 ac_cv_lib_m_frexp=no
24091 rm -f conftest.err conftest.$ac_objext \
24092 conftest$ac_exeext conftest.$ac_ext
24093 LIBS=$ac_check_lib_save_LIBS
24095 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24096 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24097 if test $ac_cv_lib_m_frexp = yes; then
24099 cat >>confdefs.h <<\_ACEOF
24100 #define HAVE_FREXP 1
24105 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24106 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24107 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24110 ac_check_lib_save_LIBS=$LIBS
24112 if test x$gcc_no_link = xyes; then
24113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24115 { (exit 1); exit 1; }; }
24117 cat >conftest.$ac_ext <<_ACEOF
24120 cat confdefs.h >>conftest.$ac_ext
24121 cat >>conftest.$ac_ext <<_ACEOF
24122 /* end confdefs.h. */
24124 /* Override any gcc2 internal prototype to avoid an error. */
24128 /* We use char because int might match the return type of a gcc2
24129 builtin and then its argument prototype would still apply. */
24139 rm -f conftest.$ac_objext conftest$ac_exeext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24141 (eval $ac_link) 2>conftest.er1
24143 grep -v '^ *+' conftest.er1 >conftest.err
24145 cat conftest.err >&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try='test -z "$ac_c_werror_flag"
24149 || test ! -s conftest.err'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; } &&
24155 { ac_try='test -s conftest$ac_exeext'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; }; then
24161 ac_cv_lib_m_frexpl=yes
24163 echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.$ac_ext >&5
24166 ac_cv_lib_m_frexpl=no
24168 rm -f conftest.err conftest.$ac_objext \
24169 conftest$ac_exeext conftest.$ac_ext
24170 LIBS=$ac_check_lib_save_LIBS
24172 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24173 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24174 if test $ac_cv_lib_m_frexpl = yes; then
24176 cat >>confdefs.h <<\_ACEOF
24177 #define HAVE_FREXPL 1
24182 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24183 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24184 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24185 echo $ECHO_N "(cached) $ECHO_C" >&6
24187 ac_check_lib_save_LIBS=$LIBS
24189 if test x$gcc_no_link = xyes; then
24190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24192 { (exit 1); exit 1; }; }
24194 cat >conftest.$ac_ext <<_ACEOF
24197 cat confdefs.h >>conftest.$ac_ext
24198 cat >>conftest.$ac_ext <<_ACEOF
24199 /* end confdefs.h. */
24201 /* Override any gcc2 internal prototype to avoid an error. */
24205 /* We use char because int might match the return type of a gcc2
24206 builtin and then its argument prototype would still apply. */
24216 rm -f conftest.$ac_objext conftest$ac_exeext
24217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24218 (eval $ac_link) 2>conftest.er1
24220 grep -v '^ *+' conftest.er1 >conftest.err
24222 cat conftest.err >&5
24223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24224 (exit $ac_status); } &&
24225 { ac_try='test -z "$ac_c_werror_flag"
24226 || test ! -s conftest.err'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; } &&
24232 { ac_try='test -s conftest$ac_exeext'
24233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24234 (eval $ac_try) 2>&5
24236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24237 (exit $ac_status); }; }; then
24238 ac_cv_lib_m_hypotf=yes
24240 echo "$as_me: failed program was:" >&5
24241 sed 's/^/| /' conftest.$ac_ext >&5
24243 ac_cv_lib_m_hypotf=no
24245 rm -f conftest.err conftest.$ac_objext \
24246 conftest$ac_exeext conftest.$ac_ext
24247 LIBS=$ac_check_lib_save_LIBS
24249 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24250 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24251 if test $ac_cv_lib_m_hypotf = yes; then
24253 cat >>confdefs.h <<\_ACEOF
24254 #define HAVE_HYPOTF 1
24259 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24260 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24261 if test "${ac_cv_lib_m_hypot+set}" = set; then
24262 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 ac_check_lib_save_LIBS=$LIBS
24266 if test x$gcc_no_link = xyes; then
24267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24269 { (exit 1); exit 1; }; }
24271 cat >conftest.$ac_ext <<_ACEOF
24274 cat confdefs.h >>conftest.$ac_ext
24275 cat >>conftest.$ac_ext <<_ACEOF
24276 /* end confdefs.h. */
24278 /* Override any gcc2 internal prototype to avoid an error. */
24282 /* We use char because int might match the return type of a gcc2
24283 builtin and then its argument prototype would still apply. */
24293 rm -f conftest.$ac_objext conftest$ac_exeext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24295 (eval $ac_link) 2>conftest.er1
24297 grep -v '^ *+' conftest.er1 >conftest.err
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } &&
24302 { ac_try='test -z "$ac_c_werror_flag"
24303 || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try='test -s conftest$ac_exeext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 ac_cv_lib_m_hypot=yes
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24320 ac_cv_lib_m_hypot=no
24322 rm -f conftest.err conftest.$ac_objext \
24323 conftest$ac_exeext conftest.$ac_ext
24324 LIBS=$ac_check_lib_save_LIBS
24326 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
24327 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
24328 if test $ac_cv_lib_m_hypot = yes; then
24330 cat >>confdefs.h <<\_ACEOF
24331 #define HAVE_HYPOT 1
24336 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
24337 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
24338 if test "${ac_cv_lib_m_hypotl+set}" = set; then
24339 echo $ECHO_N "(cached) $ECHO_C" >&6
24341 ac_check_lib_save_LIBS=$LIBS
24343 if test x$gcc_no_link = xyes; then
24344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24346 { (exit 1); exit 1; }; }
24348 cat >conftest.$ac_ext <<_ACEOF
24351 cat confdefs.h >>conftest.$ac_ext
24352 cat >>conftest.$ac_ext <<_ACEOF
24353 /* end confdefs.h. */
24355 /* Override any gcc2 internal prototype to avoid an error. */
24359 /* We use char because int might match the return type of a gcc2
24360 builtin and then its argument prototype would still apply. */
24370 rm -f conftest.$ac_objext conftest$ac_exeext
24371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24372 (eval $ac_link) 2>conftest.er1
24374 grep -v '^ *+' conftest.er1 >conftest.err
24376 cat conftest.err >&5
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); } &&
24379 { ac_try='test -z "$ac_c_werror_flag"
24380 || test ! -s conftest.err'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; } &&
24386 { ac_try='test -s conftest$ac_exeext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_cv_lib_m_hypotl=yes
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24397 ac_cv_lib_m_hypotl=no
24399 rm -f conftest.err conftest.$ac_objext \
24400 conftest$ac_exeext conftest.$ac_ext
24401 LIBS=$ac_check_lib_save_LIBS
24403 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
24404 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
24405 if test $ac_cv_lib_m_hypotl = yes; then
24407 cat >>confdefs.h <<\_ACEOF
24408 #define HAVE_HYPOTL 1
24413 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
24414 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
24415 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
24416 echo $ECHO_N "(cached) $ECHO_C" >&6
24418 ac_check_lib_save_LIBS=$LIBS
24420 if test x$gcc_no_link = xyes; then
24421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24423 { (exit 1); exit 1; }; }
24425 cat >conftest.$ac_ext <<_ACEOF
24428 cat confdefs.h >>conftest.$ac_ext
24429 cat >>conftest.$ac_ext <<_ACEOF
24430 /* end confdefs.h. */
24432 /* Override any gcc2 internal prototype to avoid an error. */
24436 /* We use char because int might match the return type of a gcc2
24437 builtin and then its argument prototype would still apply. */
24447 rm -f conftest.$ac_objext conftest$ac_exeext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24449 (eval $ac_link) 2>conftest.er1
24451 grep -v '^ *+' conftest.er1 >conftest.err
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } &&
24456 { ac_try='test -z "$ac_c_werror_flag"
24457 || test ! -s conftest.err'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; } &&
24463 { ac_try='test -s conftest$ac_exeext'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 ac_cv_lib_m_ldexpf=yes
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24474 ac_cv_lib_m_ldexpf=no
24476 rm -f conftest.err conftest.$ac_objext \
24477 conftest$ac_exeext conftest.$ac_ext
24478 LIBS=$ac_check_lib_save_LIBS
24480 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
24481 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
24482 if test $ac_cv_lib_m_ldexpf = yes; then
24484 cat >>confdefs.h <<\_ACEOF
24485 #define HAVE_LDEXPF 1
24490 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
24491 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
24492 if test "${ac_cv_lib_m_ldexp+set}" = set; then
24493 echo $ECHO_N "(cached) $ECHO_C" >&6
24495 ac_check_lib_save_LIBS=$LIBS
24497 if test x$gcc_no_link = xyes; then
24498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24500 { (exit 1); exit 1; }; }
24502 cat >conftest.$ac_ext <<_ACEOF
24505 cat confdefs.h >>conftest.$ac_ext
24506 cat >>conftest.$ac_ext <<_ACEOF
24507 /* end confdefs.h. */
24509 /* Override any gcc2 internal prototype to avoid an error. */
24513 /* We use char because int might match the return type of a gcc2
24514 builtin and then its argument prototype would still apply. */
24524 rm -f conftest.$ac_objext conftest$ac_exeext
24525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24526 (eval $ac_link) 2>conftest.er1
24528 grep -v '^ *+' conftest.er1 >conftest.err
24530 cat conftest.err >&5
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); } &&
24533 { ac_try='test -z "$ac_c_werror_flag"
24534 || test ! -s conftest.err'
24535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24536 (eval $ac_try) 2>&5
24538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24539 (exit $ac_status); }; } &&
24540 { ac_try='test -s conftest$ac_exeext'
24541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24542 (eval $ac_try) 2>&5
24544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24545 (exit $ac_status); }; }; then
24546 ac_cv_lib_m_ldexp=yes
24548 echo "$as_me: failed program was:" >&5
24549 sed 's/^/| /' conftest.$ac_ext >&5
24551 ac_cv_lib_m_ldexp=no
24553 rm -f conftest.err conftest.$ac_objext \
24554 conftest$ac_exeext conftest.$ac_ext
24555 LIBS=$ac_check_lib_save_LIBS
24557 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
24558 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
24559 if test $ac_cv_lib_m_ldexp = yes; then
24561 cat >>confdefs.h <<\_ACEOF
24562 #define HAVE_LDEXP 1
24567 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
24568 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
24569 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
24570 echo $ECHO_N "(cached) $ECHO_C" >&6
24572 ac_check_lib_save_LIBS=$LIBS
24574 if test x$gcc_no_link = xyes; then
24575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24577 { (exit 1); exit 1; }; }
24579 cat >conftest.$ac_ext <<_ACEOF
24582 cat confdefs.h >>conftest.$ac_ext
24583 cat >>conftest.$ac_ext <<_ACEOF
24584 /* end confdefs.h. */
24586 /* Override any gcc2 internal prototype to avoid an error. */
24590 /* We use char because int might match the return type of a gcc2
24591 builtin and then its argument prototype would still apply. */
24601 rm -f conftest.$ac_objext conftest$ac_exeext
24602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24603 (eval $ac_link) 2>conftest.er1
24605 grep -v '^ *+' conftest.er1 >conftest.err
24607 cat conftest.err >&5
24608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24609 (exit $ac_status); } &&
24610 { ac_try='test -z "$ac_c_werror_flag"
24611 || test ! -s conftest.err'
24612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24613 (eval $ac_try) 2>&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); }; } &&
24617 { ac_try='test -s conftest$ac_exeext'
24618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24619 (eval $ac_try) 2>&5
24621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24622 (exit $ac_status); }; }; then
24623 ac_cv_lib_m_ldexpl=yes
24625 echo "$as_me: failed program was:" >&5
24626 sed 's/^/| /' conftest.$ac_ext >&5
24628 ac_cv_lib_m_ldexpl=no
24630 rm -f conftest.err conftest.$ac_objext \
24631 conftest$ac_exeext conftest.$ac_ext
24632 LIBS=$ac_check_lib_save_LIBS
24634 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
24635 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
24636 if test $ac_cv_lib_m_ldexpl = yes; then
24638 cat >>confdefs.h <<\_ACEOF
24639 #define HAVE_LDEXPL 1
24644 echo "$as_me:$LINENO: checking for logf in -lm" >&5
24645 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
24646 if test "${ac_cv_lib_m_logf+set}" = set; then
24647 echo $ECHO_N "(cached) $ECHO_C" >&6
24649 ac_check_lib_save_LIBS=$LIBS
24651 if test x$gcc_no_link = xyes; then
24652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24654 { (exit 1); exit 1; }; }
24656 cat >conftest.$ac_ext <<_ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24663 /* Override any gcc2 internal prototype to avoid an error. */
24667 /* We use char because int might match the return type of a gcc2
24668 builtin and then its argument prototype would still apply. */
24678 rm -f conftest.$ac_objext conftest$ac_exeext
24679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24680 (eval $ac_link) 2>conftest.er1
24682 grep -v '^ *+' conftest.er1 >conftest.err
24684 cat conftest.err >&5
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); } &&
24687 { ac_try='test -z "$ac_c_werror_flag"
24688 || test ! -s conftest.err'
24689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24690 (eval $ac_try) 2>&5
24692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24693 (exit $ac_status); }; } &&
24694 { ac_try='test -s conftest$ac_exeext'
24695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24696 (eval $ac_try) 2>&5
24698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24699 (exit $ac_status); }; }; then
24700 ac_cv_lib_m_logf=yes
24702 echo "$as_me: failed program was:" >&5
24703 sed 's/^/| /' conftest.$ac_ext >&5
24705 ac_cv_lib_m_logf=no
24707 rm -f conftest.err conftest.$ac_objext \
24708 conftest$ac_exeext conftest.$ac_ext
24709 LIBS=$ac_check_lib_save_LIBS
24711 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
24712 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
24713 if test $ac_cv_lib_m_logf = yes; then
24715 cat >>confdefs.h <<\_ACEOF
24716 #define HAVE_LOGF 1
24721 echo "$as_me:$LINENO: checking for log in -lm" >&5
24722 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
24723 if test "${ac_cv_lib_m_log+set}" = set; then
24724 echo $ECHO_N "(cached) $ECHO_C" >&6
24726 ac_check_lib_save_LIBS=$LIBS
24728 if test x$gcc_no_link = xyes; then
24729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24731 { (exit 1); exit 1; }; }
24733 cat >conftest.$ac_ext <<_ACEOF
24736 cat confdefs.h >>conftest.$ac_ext
24737 cat >>conftest.$ac_ext <<_ACEOF
24738 /* end confdefs.h. */
24740 /* Override any gcc2 internal prototype to avoid an error. */
24744 /* We use char because int might match the return type of a gcc2
24745 builtin and then its argument prototype would still apply. */
24755 rm -f conftest.$ac_objext conftest$ac_exeext
24756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24757 (eval $ac_link) 2>conftest.er1
24759 grep -v '^ *+' conftest.er1 >conftest.err
24761 cat conftest.err >&5
24762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24763 (exit $ac_status); } &&
24764 { ac_try='test -z "$ac_c_werror_flag"
24765 || test ! -s conftest.err'
24766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24767 (eval $ac_try) 2>&5
24769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24770 (exit $ac_status); }; } &&
24771 { ac_try='test -s conftest$ac_exeext'
24772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24773 (eval $ac_try) 2>&5
24775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24776 (exit $ac_status); }; }; then
24777 ac_cv_lib_m_log=yes
24779 echo "$as_me: failed program was:" >&5
24780 sed 's/^/| /' conftest.$ac_ext >&5
24784 rm -f conftest.err conftest.$ac_objext \
24785 conftest$ac_exeext conftest.$ac_ext
24786 LIBS=$ac_check_lib_save_LIBS
24788 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
24789 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
24790 if test $ac_cv_lib_m_log = yes; then
24792 cat >>confdefs.h <<\_ACEOF
24798 echo "$as_me:$LINENO: checking for logl in -lm" >&5
24799 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
24800 if test "${ac_cv_lib_m_logl+set}" = set; then
24801 echo $ECHO_N "(cached) $ECHO_C" >&6
24803 ac_check_lib_save_LIBS=$LIBS
24805 if test x$gcc_no_link = xyes; then
24806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24808 { (exit 1); exit 1; }; }
24810 cat >conftest.$ac_ext <<_ACEOF
24813 cat confdefs.h >>conftest.$ac_ext
24814 cat >>conftest.$ac_ext <<_ACEOF
24815 /* end confdefs.h. */
24817 /* Override any gcc2 internal prototype to avoid an error. */
24821 /* We use char because int might match the return type of a gcc2
24822 builtin and then its argument prototype would still apply. */
24832 rm -f conftest.$ac_objext conftest$ac_exeext
24833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24834 (eval $ac_link) 2>conftest.er1
24836 grep -v '^ *+' conftest.er1 >conftest.err
24838 cat conftest.err >&5
24839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24840 (exit $ac_status); } &&
24841 { ac_try='test -z "$ac_c_werror_flag"
24842 || test ! -s conftest.err'
24843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24844 (eval $ac_try) 2>&5
24846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24847 (exit $ac_status); }; } &&
24848 { ac_try='test -s conftest$ac_exeext'
24849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24850 (eval $ac_try) 2>&5
24852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24853 (exit $ac_status); }; }; then
24854 ac_cv_lib_m_logl=yes
24856 echo "$as_me: failed program was:" >&5
24857 sed 's/^/| /' conftest.$ac_ext >&5
24859 ac_cv_lib_m_logl=no
24861 rm -f conftest.err conftest.$ac_objext \
24862 conftest$ac_exeext conftest.$ac_ext
24863 LIBS=$ac_check_lib_save_LIBS
24865 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
24866 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
24867 if test $ac_cv_lib_m_logl = yes; then
24869 cat >>confdefs.h <<\_ACEOF
24870 #define HAVE_LOGL 1
24875 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
24876 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
24877 if test "${ac_cv_lib_m_clogf+set}" = set; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 ac_check_lib_save_LIBS=$LIBS
24882 if test x$gcc_no_link = xyes; then
24883 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24885 { (exit 1); exit 1; }; }
24887 cat >conftest.$ac_ext <<_ACEOF
24890 cat confdefs.h >>conftest.$ac_ext
24891 cat >>conftest.$ac_ext <<_ACEOF
24892 /* end confdefs.h. */
24894 /* Override any gcc2 internal prototype to avoid an error. */
24898 /* We use char because int might match the return type of a gcc2
24899 builtin and then its argument prototype would still apply. */
24909 rm -f conftest.$ac_objext conftest$ac_exeext
24910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24911 (eval $ac_link) 2>conftest.er1
24913 grep -v '^ *+' conftest.er1 >conftest.err
24915 cat conftest.err >&5
24916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24917 (exit $ac_status); } &&
24918 { ac_try='test -z "$ac_c_werror_flag"
24919 || test ! -s conftest.err'
24920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24921 (eval $ac_try) 2>&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); }; } &&
24925 { ac_try='test -s conftest$ac_exeext'
24926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24927 (eval $ac_try) 2>&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); }; }; then
24931 ac_cv_lib_m_clogf=yes
24933 echo "$as_me: failed program was:" >&5
24934 sed 's/^/| /' conftest.$ac_ext >&5
24936 ac_cv_lib_m_clogf=no
24938 rm -f conftest.err conftest.$ac_objext \
24939 conftest$ac_exeext conftest.$ac_ext
24940 LIBS=$ac_check_lib_save_LIBS
24942 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
24943 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
24944 if test $ac_cv_lib_m_clogf = yes; then
24946 cat >>confdefs.h <<\_ACEOF
24947 #define HAVE_CLOGF 1
24952 echo "$as_me:$LINENO: checking for clog in -lm" >&5
24953 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
24954 if test "${ac_cv_lib_m_clog+set}" = set; then
24955 echo $ECHO_N "(cached) $ECHO_C" >&6
24957 ac_check_lib_save_LIBS=$LIBS
24959 if test x$gcc_no_link = xyes; then
24960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24962 { (exit 1); exit 1; }; }
24964 cat >conftest.$ac_ext <<_ACEOF
24967 cat confdefs.h >>conftest.$ac_ext
24968 cat >>conftest.$ac_ext <<_ACEOF
24969 /* end confdefs.h. */
24971 /* Override any gcc2 internal prototype to avoid an error. */
24975 /* We use char because int might match the return type of a gcc2
24976 builtin and then its argument prototype would still apply. */
24986 rm -f conftest.$ac_objext conftest$ac_exeext
24987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24988 (eval $ac_link) 2>conftest.er1
24990 grep -v '^ *+' conftest.er1 >conftest.err
24992 cat conftest.err >&5
24993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24994 (exit $ac_status); } &&
24995 { ac_try='test -z "$ac_c_werror_flag"
24996 || test ! -s conftest.err'
24997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24998 (eval $ac_try) 2>&5
25000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25001 (exit $ac_status); }; } &&
25002 { ac_try='test -s conftest$ac_exeext'
25003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25004 (eval $ac_try) 2>&5
25006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25007 (exit $ac_status); }; }; then
25008 ac_cv_lib_m_clog=yes
25010 echo "$as_me: failed program was:" >&5
25011 sed 's/^/| /' conftest.$ac_ext >&5
25013 ac_cv_lib_m_clog=no
25015 rm -f conftest.err conftest.$ac_objext \
25016 conftest$ac_exeext conftest.$ac_ext
25017 LIBS=$ac_check_lib_save_LIBS
25019 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25020 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25021 if test $ac_cv_lib_m_clog = yes; then
25023 cat >>confdefs.h <<\_ACEOF
25024 #define HAVE_CLOG 1
25029 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25030 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25031 if test "${ac_cv_lib_m_clogl+set}" = set; then
25032 echo $ECHO_N "(cached) $ECHO_C" >&6
25034 ac_check_lib_save_LIBS=$LIBS
25036 if test x$gcc_no_link = xyes; then
25037 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25039 { (exit 1); exit 1; }; }
25041 cat >conftest.$ac_ext <<_ACEOF
25044 cat confdefs.h >>conftest.$ac_ext
25045 cat >>conftest.$ac_ext <<_ACEOF
25046 /* end confdefs.h. */
25048 /* Override any gcc2 internal prototype to avoid an error. */
25052 /* We use char because int might match the return type of a gcc2
25053 builtin and then its argument prototype would still apply. */
25063 rm -f conftest.$ac_objext conftest$ac_exeext
25064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25065 (eval $ac_link) 2>conftest.er1
25067 grep -v '^ *+' conftest.er1 >conftest.err
25069 cat conftest.err >&5
25070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25071 (exit $ac_status); } &&
25072 { ac_try='test -z "$ac_c_werror_flag"
25073 || test ! -s conftest.err'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; } &&
25079 { ac_try='test -s conftest$ac_exeext'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; }; then
25085 ac_cv_lib_m_clogl=yes
25087 echo "$as_me: failed program was:" >&5
25088 sed 's/^/| /' conftest.$ac_ext >&5
25090 ac_cv_lib_m_clogl=no
25092 rm -f conftest.err conftest.$ac_objext \
25093 conftest$ac_exeext conftest.$ac_ext
25094 LIBS=$ac_check_lib_save_LIBS
25096 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25097 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25098 if test $ac_cv_lib_m_clogl = yes; then
25100 cat >>confdefs.h <<\_ACEOF
25101 #define HAVE_CLOGL 1
25106 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25107 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25108 if test "${ac_cv_lib_m_log10f+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25111 ac_check_lib_save_LIBS=$LIBS
25113 if test x$gcc_no_link = xyes; then
25114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25116 { (exit 1); exit 1; }; }
25118 cat >conftest.$ac_ext <<_ACEOF
25121 cat confdefs.h >>conftest.$ac_ext
25122 cat >>conftest.$ac_ext <<_ACEOF
25123 /* end confdefs.h. */
25125 /* Override any gcc2 internal prototype to avoid an error. */
25129 /* We use char because int might match the return type of a gcc2
25130 builtin and then its argument prototype would still apply. */
25140 rm -f conftest.$ac_objext conftest$ac_exeext
25141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25142 (eval $ac_link) 2>conftest.er1
25144 grep -v '^ *+' conftest.er1 >conftest.err
25146 cat conftest.err >&5
25147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25148 (exit $ac_status); } &&
25149 { ac_try='test -z "$ac_c_werror_flag"
25150 || test ! -s conftest.err'
25151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25152 (eval $ac_try) 2>&5
25154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25155 (exit $ac_status); }; } &&
25156 { ac_try='test -s conftest$ac_exeext'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; }; then
25162 ac_cv_lib_m_log10f=yes
25164 echo "$as_me: failed program was:" >&5
25165 sed 's/^/| /' conftest.$ac_ext >&5
25167 ac_cv_lib_m_log10f=no
25169 rm -f conftest.err conftest.$ac_objext \
25170 conftest$ac_exeext conftest.$ac_ext
25171 LIBS=$ac_check_lib_save_LIBS
25173 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25174 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25175 if test $ac_cv_lib_m_log10f = yes; then
25177 cat >>confdefs.h <<\_ACEOF
25178 #define HAVE_LOG10F 1
25183 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25184 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25185 if test "${ac_cv_lib_m_log10+set}" = set; then
25186 echo $ECHO_N "(cached) $ECHO_C" >&6
25188 ac_check_lib_save_LIBS=$LIBS
25190 if test x$gcc_no_link = xyes; then
25191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25193 { (exit 1); exit 1; }; }
25195 cat >conftest.$ac_ext <<_ACEOF
25198 cat confdefs.h >>conftest.$ac_ext
25199 cat >>conftest.$ac_ext <<_ACEOF
25200 /* end confdefs.h. */
25202 /* Override any gcc2 internal prototype to avoid an error. */
25206 /* We use char because int might match the return type of a gcc2
25207 builtin and then its argument prototype would still apply. */
25217 rm -f conftest.$ac_objext conftest$ac_exeext
25218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25219 (eval $ac_link) 2>conftest.er1
25221 grep -v '^ *+' conftest.er1 >conftest.err
25223 cat conftest.err >&5
25224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25225 (exit $ac_status); } &&
25226 { ac_try='test -z "$ac_c_werror_flag"
25227 || test ! -s conftest.err'
25228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25229 (eval $ac_try) 2>&5
25231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25232 (exit $ac_status); }; } &&
25233 { ac_try='test -s conftest$ac_exeext'
25234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25235 (eval $ac_try) 2>&5
25237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25238 (exit $ac_status); }; }; then
25239 ac_cv_lib_m_log10=yes
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25244 ac_cv_lib_m_log10=no
25246 rm -f conftest.err conftest.$ac_objext \
25247 conftest$ac_exeext conftest.$ac_ext
25248 LIBS=$ac_check_lib_save_LIBS
25250 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25251 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25252 if test $ac_cv_lib_m_log10 = yes; then
25254 cat >>confdefs.h <<\_ACEOF
25255 #define HAVE_LOG10 1
25260 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25261 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25262 if test "${ac_cv_lib_m_log10l+set}" = set; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25265 ac_check_lib_save_LIBS=$LIBS
25267 if test x$gcc_no_link = xyes; then
25268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25270 { (exit 1); exit 1; }; }
25272 cat >conftest.$ac_ext <<_ACEOF
25275 cat confdefs.h >>conftest.$ac_ext
25276 cat >>conftest.$ac_ext <<_ACEOF
25277 /* end confdefs.h. */
25279 /* Override any gcc2 internal prototype to avoid an error. */
25283 /* We use char because int might match the return type of a gcc2
25284 builtin and then its argument prototype would still apply. */
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25298 grep -v '^ *+' conftest.er1 >conftest.err
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try='test -z "$ac_c_werror_flag"
25304 || test ! -s conftest.err'
25305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25306 (eval $ac_try) 2>&5
25308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25309 (exit $ac_status); }; } &&
25310 { ac_try='test -s conftest$ac_exeext'
25311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25312 (eval $ac_try) 2>&5
25314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25315 (exit $ac_status); }; }; then
25316 ac_cv_lib_m_log10l=yes
25318 echo "$as_me: failed program was:" >&5
25319 sed 's/^/| /' conftest.$ac_ext >&5
25321 ac_cv_lib_m_log10l=no
25323 rm -f conftest.err conftest.$ac_objext \
25324 conftest$ac_exeext conftest.$ac_ext
25325 LIBS=$ac_check_lib_save_LIBS
25327 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
25328 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
25329 if test $ac_cv_lib_m_log10l = yes; then
25331 cat >>confdefs.h <<\_ACEOF
25332 #define HAVE_LOG10L 1
25337 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
25338 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
25339 if test "${ac_cv_lib_m_clog10f+set}" = set; then
25340 echo $ECHO_N "(cached) $ECHO_C" >&6
25342 ac_check_lib_save_LIBS=$LIBS
25344 if test x$gcc_no_link = xyes; then
25345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25347 { (exit 1); exit 1; }; }
25349 cat >conftest.$ac_ext <<_ACEOF
25352 cat confdefs.h >>conftest.$ac_ext
25353 cat >>conftest.$ac_ext <<_ACEOF
25354 /* end confdefs.h. */
25356 /* Override any gcc2 internal prototype to avoid an error. */
25360 /* We use char because int might match the return type of a gcc2
25361 builtin and then its argument prototype would still apply. */
25371 rm -f conftest.$ac_objext conftest$ac_exeext
25372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25373 (eval $ac_link) 2>conftest.er1
25375 grep -v '^ *+' conftest.er1 >conftest.err
25377 cat conftest.err >&5
25378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25379 (exit $ac_status); } &&
25380 { ac_try='test -z "$ac_c_werror_flag"
25381 || test ! -s conftest.err'
25382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25383 (eval $ac_try) 2>&5
25385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25386 (exit $ac_status); }; } &&
25387 { ac_try='test -s conftest$ac_exeext'
25388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25389 (eval $ac_try) 2>&5
25391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25392 (exit $ac_status); }; }; then
25393 ac_cv_lib_m_clog10f=yes
25395 echo "$as_me: failed program was:" >&5
25396 sed 's/^/| /' conftest.$ac_ext >&5
25398 ac_cv_lib_m_clog10f=no
25400 rm -f conftest.err conftest.$ac_objext \
25401 conftest$ac_exeext conftest.$ac_ext
25402 LIBS=$ac_check_lib_save_LIBS
25404 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
25405 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
25406 if test $ac_cv_lib_m_clog10f = yes; then
25408 cat >>confdefs.h <<\_ACEOF
25409 #define HAVE_CLOG10F 1
25414 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
25415 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
25416 if test "${ac_cv_lib_m_clog10+set}" = set; then
25417 echo $ECHO_N "(cached) $ECHO_C" >&6
25419 ac_check_lib_save_LIBS=$LIBS
25421 if test x$gcc_no_link = xyes; then
25422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25424 { (exit 1); exit 1; }; }
25426 cat >conftest.$ac_ext <<_ACEOF
25429 cat confdefs.h >>conftest.$ac_ext
25430 cat >>conftest.$ac_ext <<_ACEOF
25431 /* end confdefs.h. */
25433 /* Override any gcc2 internal prototype to avoid an error. */
25437 /* We use char because int might match the return type of a gcc2
25438 builtin and then its argument prototype would still apply. */
25448 rm -f conftest.$ac_objext conftest$ac_exeext
25449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25450 (eval $ac_link) 2>conftest.er1
25452 grep -v '^ *+' conftest.er1 >conftest.err
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } &&
25457 { ac_try='test -z "$ac_c_werror_flag"
25458 || test ! -s conftest.err'
25459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25460 (eval $ac_try) 2>&5
25462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25463 (exit $ac_status); }; } &&
25464 { ac_try='test -s conftest$ac_exeext'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; }; then
25470 ac_cv_lib_m_clog10=yes
25472 echo "$as_me: failed program was:" >&5
25473 sed 's/^/| /' conftest.$ac_ext >&5
25475 ac_cv_lib_m_clog10=no
25477 rm -f conftest.err conftest.$ac_objext \
25478 conftest$ac_exeext conftest.$ac_ext
25479 LIBS=$ac_check_lib_save_LIBS
25481 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
25482 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
25483 if test $ac_cv_lib_m_clog10 = yes; then
25485 cat >>confdefs.h <<\_ACEOF
25486 #define HAVE_CLOG10 1
25491 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
25492 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
25493 if test "${ac_cv_lib_m_clog10l+set}" = set; then
25494 echo $ECHO_N "(cached) $ECHO_C" >&6
25496 ac_check_lib_save_LIBS=$LIBS
25498 if test x$gcc_no_link = xyes; then
25499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25501 { (exit 1); exit 1; }; }
25503 cat >conftest.$ac_ext <<_ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25510 /* Override any gcc2 internal prototype to avoid an error. */
25514 /* We use char because int might match the return type of a gcc2
25515 builtin and then its argument prototype would still apply. */
25525 rm -f conftest.$ac_objext conftest$ac_exeext
25526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25527 (eval $ac_link) 2>conftest.er1
25529 grep -v '^ *+' conftest.er1 >conftest.err
25531 cat conftest.err >&5
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); } &&
25534 { ac_try='test -z "$ac_c_werror_flag"
25535 || test ! -s conftest.err'
25536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25537 (eval $ac_try) 2>&5
25539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25540 (exit $ac_status); }; } &&
25541 { ac_try='test -s conftest$ac_exeext'
25542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25543 (eval $ac_try) 2>&5
25545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25546 (exit $ac_status); }; }; then
25547 ac_cv_lib_m_clog10l=yes
25549 echo "$as_me: failed program was:" >&5
25550 sed 's/^/| /' conftest.$ac_ext >&5
25552 ac_cv_lib_m_clog10l=no
25554 rm -f conftest.err conftest.$ac_objext \
25555 conftest$ac_exeext conftest.$ac_ext
25556 LIBS=$ac_check_lib_save_LIBS
25558 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
25559 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
25560 if test $ac_cv_lib_m_clog10l = yes; then
25562 cat >>confdefs.h <<\_ACEOF
25563 #define HAVE_CLOG10L 1
25568 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
25569 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
25570 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
25571 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 ac_check_lib_save_LIBS=$LIBS
25575 if test x$gcc_no_link = xyes; then
25576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25578 { (exit 1); exit 1; }; }
25580 cat >conftest.$ac_ext <<_ACEOF
25583 cat confdefs.h >>conftest.$ac_ext
25584 cat >>conftest.$ac_ext <<_ACEOF
25585 /* end confdefs.h. */
25587 /* Override any gcc2 internal prototype to avoid an error. */
25591 /* We use char because int might match the return type of a gcc2
25592 builtin and then its argument prototype would still apply. */
25593 char nextafterf ();
25602 rm -f conftest.$ac_objext conftest$ac_exeext
25603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25604 (eval $ac_link) 2>conftest.er1
25606 grep -v '^ *+' conftest.er1 >conftest.err
25608 cat conftest.err >&5
25609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25610 (exit $ac_status); } &&
25611 { ac_try='test -z "$ac_c_werror_flag"
25612 || test ! -s conftest.err'
25613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25614 (eval $ac_try) 2>&5
25616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25617 (exit $ac_status); }; } &&
25618 { ac_try='test -s conftest$ac_exeext'
25619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25620 (eval $ac_try) 2>&5
25622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25623 (exit $ac_status); }; }; then
25624 ac_cv_lib_m_nextafterf=yes
25626 echo "$as_me: failed program was:" >&5
25627 sed 's/^/| /' conftest.$ac_ext >&5
25629 ac_cv_lib_m_nextafterf=no
25631 rm -f conftest.err conftest.$ac_objext \
25632 conftest$ac_exeext conftest.$ac_ext
25633 LIBS=$ac_check_lib_save_LIBS
25635 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
25636 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
25637 if test $ac_cv_lib_m_nextafterf = yes; then
25639 cat >>confdefs.h <<\_ACEOF
25640 #define HAVE_NEXTAFTERF 1
25645 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
25646 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
25647 if test "${ac_cv_lib_m_nextafter+set}" = set; then
25648 echo $ECHO_N "(cached) $ECHO_C" >&6
25650 ac_check_lib_save_LIBS=$LIBS
25652 if test x$gcc_no_link = xyes; then
25653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25655 { (exit 1); exit 1; }; }
25657 cat >conftest.$ac_ext <<_ACEOF
25660 cat confdefs.h >>conftest.$ac_ext
25661 cat >>conftest.$ac_ext <<_ACEOF
25662 /* end confdefs.h. */
25664 /* Override any gcc2 internal prototype to avoid an error. */
25668 /* We use char because int might match the return type of a gcc2
25669 builtin and then its argument prototype would still apply. */
25679 rm -f conftest.$ac_objext conftest$ac_exeext
25680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25681 (eval $ac_link) 2>conftest.er1
25683 grep -v '^ *+' conftest.er1 >conftest.err
25685 cat conftest.err >&5
25686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687 (exit $ac_status); } &&
25688 { ac_try='test -z "$ac_c_werror_flag"
25689 || test ! -s conftest.err'
25690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25691 (eval $ac_try) 2>&5
25693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25694 (exit $ac_status); }; } &&
25695 { ac_try='test -s conftest$ac_exeext'
25696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25697 (eval $ac_try) 2>&5
25699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25700 (exit $ac_status); }; }; then
25701 ac_cv_lib_m_nextafter=yes
25703 echo "$as_me: failed program was:" >&5
25704 sed 's/^/| /' conftest.$ac_ext >&5
25706 ac_cv_lib_m_nextafter=no
25708 rm -f conftest.err conftest.$ac_objext \
25709 conftest$ac_exeext conftest.$ac_ext
25710 LIBS=$ac_check_lib_save_LIBS
25712 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
25713 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
25714 if test $ac_cv_lib_m_nextafter = yes; then
25716 cat >>confdefs.h <<\_ACEOF
25717 #define HAVE_NEXTAFTER 1
25722 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
25723 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
25724 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
25725 echo $ECHO_N "(cached) $ECHO_C" >&6
25727 ac_check_lib_save_LIBS=$LIBS
25729 if test x$gcc_no_link = xyes; then
25730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25732 { (exit 1); exit 1; }; }
25734 cat >conftest.$ac_ext <<_ACEOF
25737 cat confdefs.h >>conftest.$ac_ext
25738 cat >>conftest.$ac_ext <<_ACEOF
25739 /* end confdefs.h. */
25741 /* Override any gcc2 internal prototype to avoid an error. */
25745 /* We use char because int might match the return type of a gcc2
25746 builtin and then its argument prototype would still apply. */
25747 char nextafterl ();
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758 (eval $ac_link) 2>conftest.er1
25760 grep -v '^ *+' conftest.er1 >conftest.err
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -z "$ac_c_werror_flag"
25766 || test ! -s conftest.err'
25767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25768 (eval $ac_try) 2>&5
25770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25771 (exit $ac_status); }; } &&
25772 { ac_try='test -s conftest$ac_exeext'
25773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25774 (eval $ac_try) 2>&5
25776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25777 (exit $ac_status); }; }; then
25778 ac_cv_lib_m_nextafterl=yes
25780 echo "$as_me: failed program was:" >&5
25781 sed 's/^/| /' conftest.$ac_ext >&5
25783 ac_cv_lib_m_nextafterl=no
25785 rm -f conftest.err conftest.$ac_objext \
25786 conftest$ac_exeext conftest.$ac_ext
25787 LIBS=$ac_check_lib_save_LIBS
25789 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
25790 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
25791 if test $ac_cv_lib_m_nextafterl = yes; then
25793 cat >>confdefs.h <<\_ACEOF
25794 #define HAVE_NEXTAFTERL 1
25799 echo "$as_me:$LINENO: checking for powf in -lm" >&5
25800 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
25801 if test "${ac_cv_lib_m_powf+set}" = set; then
25802 echo $ECHO_N "(cached) $ECHO_C" >&6
25804 ac_check_lib_save_LIBS=$LIBS
25806 if test x$gcc_no_link = xyes; then
25807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25809 { (exit 1); exit 1; }; }
25811 cat >conftest.$ac_ext <<_ACEOF
25814 cat confdefs.h >>conftest.$ac_ext
25815 cat >>conftest.$ac_ext <<_ACEOF
25816 /* end confdefs.h. */
25818 /* Override any gcc2 internal prototype to avoid an error. */
25822 /* We use char because int might match the return type of a gcc2
25823 builtin and then its argument prototype would still apply. */
25833 rm -f conftest.$ac_objext conftest$ac_exeext
25834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25835 (eval $ac_link) 2>conftest.er1
25837 grep -v '^ *+' conftest.er1 >conftest.err
25839 cat conftest.err >&5
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); } &&
25842 { ac_try='test -z "$ac_c_werror_flag"
25843 || test ! -s conftest.err'
25844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25845 (eval $ac_try) 2>&5
25847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25848 (exit $ac_status); }; } &&
25849 { ac_try='test -s conftest$ac_exeext'
25850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25851 (eval $ac_try) 2>&5
25853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25854 (exit $ac_status); }; }; then
25855 ac_cv_lib_m_powf=yes
25857 echo "$as_me: failed program was:" >&5
25858 sed 's/^/| /' conftest.$ac_ext >&5
25860 ac_cv_lib_m_powf=no
25862 rm -f conftest.err conftest.$ac_objext \
25863 conftest$ac_exeext conftest.$ac_ext
25864 LIBS=$ac_check_lib_save_LIBS
25866 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
25867 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
25868 if test $ac_cv_lib_m_powf = yes; then
25870 cat >>confdefs.h <<\_ACEOF
25871 #define HAVE_POWF 1
25876 echo "$as_me:$LINENO: checking for pow in -lm" >&5
25877 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
25878 if test "${ac_cv_lib_m_pow+set}" = set; then
25879 echo $ECHO_N "(cached) $ECHO_C" >&6
25881 ac_check_lib_save_LIBS=$LIBS
25883 if test x$gcc_no_link = xyes; then
25884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25886 { (exit 1); exit 1; }; }
25888 cat >conftest.$ac_ext <<_ACEOF
25891 cat confdefs.h >>conftest.$ac_ext
25892 cat >>conftest.$ac_ext <<_ACEOF
25893 /* end confdefs.h. */
25895 /* Override any gcc2 internal prototype to avoid an error. */
25899 /* We use char because int might match the return type of a gcc2
25900 builtin and then its argument prototype would still apply. */
25910 rm -f conftest.$ac_objext conftest$ac_exeext
25911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25912 (eval $ac_link) 2>conftest.er1
25914 grep -v '^ *+' conftest.er1 >conftest.err
25916 cat conftest.err >&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } &&
25919 { ac_try='test -z "$ac_c_werror_flag"
25920 || test ! -s conftest.err'
25921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25922 (eval $ac_try) 2>&5
25924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25925 (exit $ac_status); }; } &&
25926 { ac_try='test -s conftest$ac_exeext'
25927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25928 (eval $ac_try) 2>&5
25930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25931 (exit $ac_status); }; }; then
25932 ac_cv_lib_m_pow=yes
25934 echo "$as_me: failed program was:" >&5
25935 sed 's/^/| /' conftest.$ac_ext >&5
25939 rm -f conftest.err conftest.$ac_objext \
25940 conftest$ac_exeext conftest.$ac_ext
25941 LIBS=$ac_check_lib_save_LIBS
25943 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
25944 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
25945 if test $ac_cv_lib_m_pow = yes; then
25947 cat >>confdefs.h <<\_ACEOF
25953 echo "$as_me:$LINENO: checking for powl in -lm" >&5
25954 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
25955 if test "${ac_cv_lib_m_powl+set}" = set; then
25956 echo $ECHO_N "(cached) $ECHO_C" >&6
25958 ac_check_lib_save_LIBS=$LIBS
25960 if test x$gcc_no_link = xyes; then
25961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25963 { (exit 1); exit 1; }; }
25965 cat >conftest.$ac_ext <<_ACEOF
25968 cat confdefs.h >>conftest.$ac_ext
25969 cat >>conftest.$ac_ext <<_ACEOF
25970 /* end confdefs.h. */
25972 /* Override any gcc2 internal prototype to avoid an error. */
25976 /* We use char because int might match the return type of a gcc2
25977 builtin and then its argument prototype would still apply. */
25987 rm -f conftest.$ac_objext conftest$ac_exeext
25988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25989 (eval $ac_link) 2>conftest.er1
25991 grep -v '^ *+' conftest.er1 >conftest.err
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } &&
25996 { ac_try='test -z "$ac_c_werror_flag"
25997 || test ! -s conftest.err'
25998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25999 (eval $ac_try) 2>&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); }; } &&
26003 { ac_try='test -s conftest$ac_exeext'
26004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26005 (eval $ac_try) 2>&5
26007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26008 (exit $ac_status); }; }; then
26009 ac_cv_lib_m_powl=yes
26011 echo "$as_me: failed program was:" >&5
26012 sed 's/^/| /' conftest.$ac_ext >&5
26014 ac_cv_lib_m_powl=no
26016 rm -f conftest.err conftest.$ac_objext \
26017 conftest$ac_exeext conftest.$ac_ext
26018 LIBS=$ac_check_lib_save_LIBS
26020 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26021 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26022 if test $ac_cv_lib_m_powl = yes; then
26024 cat >>confdefs.h <<\_ACEOF
26025 #define HAVE_POWL 1
26030 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26031 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26032 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26033 echo $ECHO_N "(cached) $ECHO_C" >&6
26035 ac_check_lib_save_LIBS=$LIBS
26037 if test x$gcc_no_link = xyes; then
26038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26040 { (exit 1); exit 1; }; }
26042 cat >conftest.$ac_ext <<_ACEOF
26045 cat confdefs.h >>conftest.$ac_ext
26046 cat >>conftest.$ac_ext <<_ACEOF
26047 /* end confdefs.h. */
26049 /* Override any gcc2 internal prototype to avoid an error. */
26053 /* We use char because int might match the return type of a gcc2
26054 builtin and then its argument prototype would still apply. */
26064 rm -f conftest.$ac_objext conftest$ac_exeext
26065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26066 (eval $ac_link) 2>conftest.er1
26068 grep -v '^ *+' conftest.er1 >conftest.err
26070 cat conftest.err >&5
26071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26072 (exit $ac_status); } &&
26073 { ac_try='test -z "$ac_c_werror_flag"
26074 || test ! -s conftest.err'
26075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26076 (eval $ac_try) 2>&5
26078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26079 (exit $ac_status); }; } &&
26080 { ac_try='test -s conftest$ac_exeext'
26081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26082 (eval $ac_try) 2>&5
26084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26085 (exit $ac_status); }; }; then
26086 ac_cv_lib_m_cpowf=yes
26088 echo "$as_me: failed program was:" >&5
26089 sed 's/^/| /' conftest.$ac_ext >&5
26091 ac_cv_lib_m_cpowf=no
26093 rm -f conftest.err conftest.$ac_objext \
26094 conftest$ac_exeext conftest.$ac_ext
26095 LIBS=$ac_check_lib_save_LIBS
26097 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26098 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26099 if test $ac_cv_lib_m_cpowf = yes; then
26101 cat >>confdefs.h <<\_ACEOF
26102 #define HAVE_CPOWF 1
26107 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26108 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26109 if test "${ac_cv_lib_m_cpow+set}" = set; then
26110 echo $ECHO_N "(cached) $ECHO_C" >&6
26112 ac_check_lib_save_LIBS=$LIBS
26114 if test x$gcc_no_link = xyes; then
26115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26117 { (exit 1); exit 1; }; }
26119 cat >conftest.$ac_ext <<_ACEOF
26122 cat confdefs.h >>conftest.$ac_ext
26123 cat >>conftest.$ac_ext <<_ACEOF
26124 /* end confdefs.h. */
26126 /* Override any gcc2 internal prototype to avoid an error. */
26130 /* We use char because int might match the return type of a gcc2
26131 builtin and then its argument prototype would still apply. */
26141 rm -f conftest.$ac_objext conftest$ac_exeext
26142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26143 (eval $ac_link) 2>conftest.er1
26145 grep -v '^ *+' conftest.er1 >conftest.err
26147 cat conftest.err >&5
26148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26149 (exit $ac_status); } &&
26150 { ac_try='test -z "$ac_c_werror_flag"
26151 || test ! -s conftest.err'
26152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26153 (eval $ac_try) 2>&5
26155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26156 (exit $ac_status); }; } &&
26157 { ac_try='test -s conftest$ac_exeext'
26158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26159 (eval $ac_try) 2>&5
26161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26162 (exit $ac_status); }; }; then
26163 ac_cv_lib_m_cpow=yes
26165 echo "$as_me: failed program was:" >&5
26166 sed 's/^/| /' conftest.$ac_ext >&5
26168 ac_cv_lib_m_cpow=no
26170 rm -f conftest.err conftest.$ac_objext \
26171 conftest$ac_exeext conftest.$ac_ext
26172 LIBS=$ac_check_lib_save_LIBS
26174 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26175 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26176 if test $ac_cv_lib_m_cpow = yes; then
26178 cat >>confdefs.h <<\_ACEOF
26179 #define HAVE_CPOW 1
26184 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26185 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26186 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26187 echo $ECHO_N "(cached) $ECHO_C" >&6
26189 ac_check_lib_save_LIBS=$LIBS
26191 if test x$gcc_no_link = xyes; then
26192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26194 { (exit 1); exit 1; }; }
26196 cat >conftest.$ac_ext <<_ACEOF
26199 cat confdefs.h >>conftest.$ac_ext
26200 cat >>conftest.$ac_ext <<_ACEOF
26201 /* end confdefs.h. */
26203 /* Override any gcc2 internal prototype to avoid an error. */
26207 /* We use char because int might match the return type of a gcc2
26208 builtin and then its argument prototype would still apply. */
26218 rm -f conftest.$ac_objext conftest$ac_exeext
26219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26220 (eval $ac_link) 2>conftest.er1
26222 grep -v '^ *+' conftest.er1 >conftest.err
26224 cat conftest.err >&5
26225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26226 (exit $ac_status); } &&
26227 { ac_try='test -z "$ac_c_werror_flag"
26228 || test ! -s conftest.err'
26229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26230 (eval $ac_try) 2>&5
26232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26233 (exit $ac_status); }; } &&
26234 { ac_try='test -s conftest$ac_exeext'
26235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26236 (eval $ac_try) 2>&5
26238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26239 (exit $ac_status); }; }; then
26240 ac_cv_lib_m_cpowl=yes
26242 echo "$as_me: failed program was:" >&5
26243 sed 's/^/| /' conftest.$ac_ext >&5
26245 ac_cv_lib_m_cpowl=no
26247 rm -f conftest.err conftest.$ac_objext \
26248 conftest$ac_exeext conftest.$ac_ext
26249 LIBS=$ac_check_lib_save_LIBS
26251 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26252 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26253 if test $ac_cv_lib_m_cpowl = yes; then
26255 cat >>confdefs.h <<\_ACEOF
26256 #define HAVE_CPOWL 1
26261 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26262 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26263 if test "${ac_cv_lib_m_roundf+set}" = set; then
26264 echo $ECHO_N "(cached) $ECHO_C" >&6
26266 ac_check_lib_save_LIBS=$LIBS
26268 if test x$gcc_no_link = xyes; then
26269 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26271 { (exit 1); exit 1; }; }
26273 cat >conftest.$ac_ext <<_ACEOF
26276 cat confdefs.h >>conftest.$ac_ext
26277 cat >>conftest.$ac_ext <<_ACEOF
26278 /* end confdefs.h. */
26280 /* Override any gcc2 internal prototype to avoid an error. */
26284 /* We use char because int might match the return type of a gcc2
26285 builtin and then its argument prototype would still apply. */
26295 rm -f conftest.$ac_objext conftest$ac_exeext
26296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26297 (eval $ac_link) 2>conftest.er1
26299 grep -v '^ *+' conftest.er1 >conftest.err
26301 cat conftest.err >&5
26302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26303 (exit $ac_status); } &&
26304 { ac_try='test -z "$ac_c_werror_flag"
26305 || test ! -s conftest.err'
26306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26307 (eval $ac_try) 2>&5
26309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26310 (exit $ac_status); }; } &&
26311 { ac_try='test -s conftest$ac_exeext'
26312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26313 (eval $ac_try) 2>&5
26315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26316 (exit $ac_status); }; }; then
26317 ac_cv_lib_m_roundf=yes
26319 echo "$as_me: failed program was:" >&5
26320 sed 's/^/| /' conftest.$ac_ext >&5
26322 ac_cv_lib_m_roundf=no
26324 rm -f conftest.err conftest.$ac_objext \
26325 conftest$ac_exeext conftest.$ac_ext
26326 LIBS=$ac_check_lib_save_LIBS
26328 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
26329 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
26330 if test $ac_cv_lib_m_roundf = yes; then
26332 cat >>confdefs.h <<\_ACEOF
26333 #define HAVE_ROUNDF 1
26338 echo "$as_me:$LINENO: checking for round in -lm" >&5
26339 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
26340 if test "${ac_cv_lib_m_round+set}" = set; then
26341 echo $ECHO_N "(cached) $ECHO_C" >&6
26343 ac_check_lib_save_LIBS=$LIBS
26345 if test x$gcc_no_link = xyes; then
26346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26348 { (exit 1); exit 1; }; }
26350 cat >conftest.$ac_ext <<_ACEOF
26353 cat confdefs.h >>conftest.$ac_ext
26354 cat >>conftest.$ac_ext <<_ACEOF
26355 /* end confdefs.h. */
26357 /* Override any gcc2 internal prototype to avoid an error. */
26361 /* We use char because int might match the return type of a gcc2
26362 builtin and then its argument prototype would still apply. */
26372 rm -f conftest.$ac_objext conftest$ac_exeext
26373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26374 (eval $ac_link) 2>conftest.er1
26376 grep -v '^ *+' conftest.er1 >conftest.err
26378 cat conftest.err >&5
26379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26380 (exit $ac_status); } &&
26381 { ac_try='test -z "$ac_c_werror_flag"
26382 || test ! -s conftest.err'
26383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26384 (eval $ac_try) 2>&5
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); }; } &&
26388 { ac_try='test -s conftest$ac_exeext'
26389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26390 (eval $ac_try) 2>&5
26392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26393 (exit $ac_status); }; }; then
26394 ac_cv_lib_m_round=yes
26396 echo "$as_me: failed program was:" >&5
26397 sed 's/^/| /' conftest.$ac_ext >&5
26399 ac_cv_lib_m_round=no
26401 rm -f conftest.err conftest.$ac_objext \
26402 conftest$ac_exeext conftest.$ac_ext
26403 LIBS=$ac_check_lib_save_LIBS
26405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
26406 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
26407 if test $ac_cv_lib_m_round = yes; then
26409 cat >>confdefs.h <<\_ACEOF
26410 #define HAVE_ROUND 1
26415 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
26416 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
26417 if test "${ac_cv_lib_m_roundl+set}" = set; then
26418 echo $ECHO_N "(cached) $ECHO_C" >&6
26420 ac_check_lib_save_LIBS=$LIBS
26422 if test x$gcc_no_link = xyes; then
26423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26425 { (exit 1); exit 1; }; }
26427 cat >conftest.$ac_ext <<_ACEOF
26430 cat confdefs.h >>conftest.$ac_ext
26431 cat >>conftest.$ac_ext <<_ACEOF
26432 /* end confdefs.h. */
26434 /* Override any gcc2 internal prototype to avoid an error. */
26438 /* We use char because int might match the return type of a gcc2
26439 builtin and then its argument prototype would still apply. */
26449 rm -f conftest.$ac_objext conftest$ac_exeext
26450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26451 (eval $ac_link) 2>conftest.er1
26453 grep -v '^ *+' conftest.er1 >conftest.err
26455 cat conftest.err >&5
26456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26457 (exit $ac_status); } &&
26458 { ac_try='test -z "$ac_c_werror_flag"
26459 || test ! -s conftest.err'
26460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26461 (eval $ac_try) 2>&5
26463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26464 (exit $ac_status); }; } &&
26465 { ac_try='test -s conftest$ac_exeext'
26466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26467 (eval $ac_try) 2>&5
26469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26470 (exit $ac_status); }; }; then
26471 ac_cv_lib_m_roundl=yes
26473 echo "$as_me: failed program was:" >&5
26474 sed 's/^/| /' conftest.$ac_ext >&5
26476 ac_cv_lib_m_roundl=no
26478 rm -f conftest.err conftest.$ac_objext \
26479 conftest$ac_exeext conftest.$ac_ext
26480 LIBS=$ac_check_lib_save_LIBS
26482 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
26483 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
26484 if test $ac_cv_lib_m_roundl = yes; then
26486 cat >>confdefs.h <<\_ACEOF
26487 #define HAVE_ROUNDL 1
26492 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
26493 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
26494 if test "${ac_cv_lib_m_lroundf+set}" = set; then
26495 echo $ECHO_N "(cached) $ECHO_C" >&6
26497 ac_check_lib_save_LIBS=$LIBS
26499 if test x$gcc_no_link = xyes; then
26500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26502 { (exit 1); exit 1; }; }
26504 cat >conftest.$ac_ext <<_ACEOF
26507 cat confdefs.h >>conftest.$ac_ext
26508 cat >>conftest.$ac_ext <<_ACEOF
26509 /* end confdefs.h. */
26511 /* Override any gcc2 internal prototype to avoid an error. */
26515 /* We use char because int might match the return type of a gcc2
26516 builtin and then its argument prototype would still apply. */
26526 rm -f conftest.$ac_objext conftest$ac_exeext
26527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26528 (eval $ac_link) 2>conftest.er1
26530 grep -v '^ *+' conftest.er1 >conftest.err
26532 cat conftest.err >&5
26533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26534 (exit $ac_status); } &&
26535 { ac_try='test -z "$ac_c_werror_flag"
26536 || test ! -s conftest.err'
26537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26538 (eval $ac_try) 2>&5
26540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26541 (exit $ac_status); }; } &&
26542 { ac_try='test -s conftest$ac_exeext'
26543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26544 (eval $ac_try) 2>&5
26546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26547 (exit $ac_status); }; }; then
26548 ac_cv_lib_m_lroundf=yes
26550 echo "$as_me: failed program was:" >&5
26551 sed 's/^/| /' conftest.$ac_ext >&5
26553 ac_cv_lib_m_lroundf=no
26555 rm -f conftest.err conftest.$ac_objext \
26556 conftest$ac_exeext conftest.$ac_ext
26557 LIBS=$ac_check_lib_save_LIBS
26559 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
26560 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
26561 if test $ac_cv_lib_m_lroundf = yes; then
26563 cat >>confdefs.h <<\_ACEOF
26564 #define HAVE_LROUNDF 1
26569 echo "$as_me:$LINENO: checking for lround in -lm" >&5
26570 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
26571 if test "${ac_cv_lib_m_lround+set}" = set; then
26572 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 ac_check_lib_save_LIBS=$LIBS
26576 if test x$gcc_no_link = xyes; then
26577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26579 { (exit 1); exit 1; }; }
26581 cat >conftest.$ac_ext <<_ACEOF
26584 cat confdefs.h >>conftest.$ac_ext
26585 cat >>conftest.$ac_ext <<_ACEOF
26586 /* end confdefs.h. */
26588 /* Override any gcc2 internal prototype to avoid an error. */
26592 /* We use char because int might match the return type of a gcc2
26593 builtin and then its argument prototype would still apply. */
26603 rm -f conftest.$ac_objext conftest$ac_exeext
26604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26605 (eval $ac_link) 2>conftest.er1
26607 grep -v '^ *+' conftest.er1 >conftest.err
26609 cat conftest.err >&5
26610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26611 (exit $ac_status); } &&
26612 { ac_try='test -z "$ac_c_werror_flag"
26613 || test ! -s conftest.err'
26614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26615 (eval $ac_try) 2>&5
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; } &&
26619 { ac_try='test -s conftest$ac_exeext'
26620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26621 (eval $ac_try) 2>&5
26623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26624 (exit $ac_status); }; }; then
26625 ac_cv_lib_m_lround=yes
26627 echo "$as_me: failed program was:" >&5
26628 sed 's/^/| /' conftest.$ac_ext >&5
26630 ac_cv_lib_m_lround=no
26632 rm -f conftest.err conftest.$ac_objext \
26633 conftest$ac_exeext conftest.$ac_ext
26634 LIBS=$ac_check_lib_save_LIBS
26636 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
26637 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
26638 if test $ac_cv_lib_m_lround = yes; then
26640 cat >>confdefs.h <<\_ACEOF
26641 #define HAVE_LROUND 1
26646 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
26647 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
26648 if test "${ac_cv_lib_m_lroundl+set}" = set; then
26649 echo $ECHO_N "(cached) $ECHO_C" >&6
26651 ac_check_lib_save_LIBS=$LIBS
26653 if test x$gcc_no_link = xyes; then
26654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26656 { (exit 1); exit 1; }; }
26658 cat >conftest.$ac_ext <<_ACEOF
26661 cat confdefs.h >>conftest.$ac_ext
26662 cat >>conftest.$ac_ext <<_ACEOF
26663 /* end confdefs.h. */
26665 /* Override any gcc2 internal prototype to avoid an error. */
26669 /* We use char because int might match the return type of a gcc2
26670 builtin and then its argument prototype would still apply. */
26680 rm -f conftest.$ac_objext conftest$ac_exeext
26681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26682 (eval $ac_link) 2>conftest.er1
26684 grep -v '^ *+' conftest.er1 >conftest.err
26686 cat conftest.err >&5
26687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26688 (exit $ac_status); } &&
26689 { ac_try='test -z "$ac_c_werror_flag"
26690 || test ! -s conftest.err'
26691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26692 (eval $ac_try) 2>&5
26694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26695 (exit $ac_status); }; } &&
26696 { ac_try='test -s conftest$ac_exeext'
26697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698 (eval $ac_try) 2>&5
26700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701 (exit $ac_status); }; }; then
26702 ac_cv_lib_m_lroundl=yes
26704 echo "$as_me: failed program was:" >&5
26705 sed 's/^/| /' conftest.$ac_ext >&5
26707 ac_cv_lib_m_lroundl=no
26709 rm -f conftest.err conftest.$ac_objext \
26710 conftest$ac_exeext conftest.$ac_ext
26711 LIBS=$ac_check_lib_save_LIBS
26713 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
26714 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
26715 if test $ac_cv_lib_m_lroundl = yes; then
26717 cat >>confdefs.h <<\_ACEOF
26718 #define HAVE_LROUNDL 1
26723 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
26724 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
26725 if test "${ac_cv_lib_m_llroundf+set}" = set; then
26726 echo $ECHO_N "(cached) $ECHO_C" >&6
26728 ac_check_lib_save_LIBS=$LIBS
26730 if test x$gcc_no_link = xyes; then
26731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26733 { (exit 1); exit 1; }; }
26735 cat >conftest.$ac_ext <<_ACEOF
26738 cat confdefs.h >>conftest.$ac_ext
26739 cat >>conftest.$ac_ext <<_ACEOF
26740 /* end confdefs.h. */
26742 /* Override any gcc2 internal prototype to avoid an error. */
26746 /* We use char because int might match the return type of a gcc2
26747 builtin and then its argument prototype would still apply. */
26757 rm -f conftest.$ac_objext conftest$ac_exeext
26758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26759 (eval $ac_link) 2>conftest.er1
26761 grep -v '^ *+' conftest.er1 >conftest.err
26763 cat conftest.err >&5
26764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26765 (exit $ac_status); } &&
26766 { ac_try='test -z "$ac_c_werror_flag"
26767 || test ! -s conftest.err'
26768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26769 (eval $ac_try) 2>&5
26771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26772 (exit $ac_status); }; } &&
26773 { ac_try='test -s conftest$ac_exeext'
26774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775 (eval $ac_try) 2>&5
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); }; }; then
26779 ac_cv_lib_m_llroundf=yes
26781 echo "$as_me: failed program was:" >&5
26782 sed 's/^/| /' conftest.$ac_ext >&5
26784 ac_cv_lib_m_llroundf=no
26786 rm -f conftest.err conftest.$ac_objext \
26787 conftest$ac_exeext conftest.$ac_ext
26788 LIBS=$ac_check_lib_save_LIBS
26790 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
26791 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
26792 if test $ac_cv_lib_m_llroundf = yes; then
26794 cat >>confdefs.h <<\_ACEOF
26795 #define HAVE_LLROUNDF 1
26800 echo "$as_me:$LINENO: checking for llround in -lm" >&5
26801 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
26802 if test "${ac_cv_lib_m_llround+set}" = set; then
26803 echo $ECHO_N "(cached) $ECHO_C" >&6
26805 ac_check_lib_save_LIBS=$LIBS
26807 if test x$gcc_no_link = xyes; then
26808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26810 { (exit 1); exit 1; }; }
26812 cat >conftest.$ac_ext <<_ACEOF
26815 cat confdefs.h >>conftest.$ac_ext
26816 cat >>conftest.$ac_ext <<_ACEOF
26817 /* end confdefs.h. */
26819 /* Override any gcc2 internal prototype to avoid an error. */
26823 /* We use char because int might match the return type of a gcc2
26824 builtin and then its argument prototype would still apply. */
26834 rm -f conftest.$ac_objext conftest$ac_exeext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26836 (eval $ac_link) 2>conftest.er1
26838 grep -v '^ *+' conftest.er1 >conftest.err
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try='test -z "$ac_c_werror_flag"
26844 || test ! -s conftest.err'
26845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26846 (eval $ac_try) 2>&5
26848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26849 (exit $ac_status); }; } &&
26850 { ac_try='test -s conftest$ac_exeext'
26851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26852 (eval $ac_try) 2>&5
26854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26855 (exit $ac_status); }; }; then
26856 ac_cv_lib_m_llround=yes
26858 echo "$as_me: failed program was:" >&5
26859 sed 's/^/| /' conftest.$ac_ext >&5
26861 ac_cv_lib_m_llround=no
26863 rm -f conftest.err conftest.$ac_objext \
26864 conftest$ac_exeext conftest.$ac_ext
26865 LIBS=$ac_check_lib_save_LIBS
26867 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
26868 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
26869 if test $ac_cv_lib_m_llround = yes; then
26871 cat >>confdefs.h <<\_ACEOF
26872 #define HAVE_LLROUND 1
26877 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
26878 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
26879 if test "${ac_cv_lib_m_llroundl+set}" = set; then
26880 echo $ECHO_N "(cached) $ECHO_C" >&6
26882 ac_check_lib_save_LIBS=$LIBS
26884 if test x$gcc_no_link = xyes; then
26885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26887 { (exit 1); exit 1; }; }
26889 cat >conftest.$ac_ext <<_ACEOF
26892 cat confdefs.h >>conftest.$ac_ext
26893 cat >>conftest.$ac_ext <<_ACEOF
26894 /* end confdefs.h. */
26896 /* Override any gcc2 internal prototype to avoid an error. */
26900 /* We use char because int might match the return type of a gcc2
26901 builtin and then its argument prototype would still apply. */
26911 rm -f conftest.$ac_objext conftest$ac_exeext
26912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26913 (eval $ac_link) 2>conftest.er1
26915 grep -v '^ *+' conftest.er1 >conftest.err
26917 cat conftest.err >&5
26918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26919 (exit $ac_status); } &&
26920 { ac_try='test -z "$ac_c_werror_flag"
26921 || test ! -s conftest.err'
26922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26923 (eval $ac_try) 2>&5
26925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26926 (exit $ac_status); }; } &&
26927 { ac_try='test -s conftest$ac_exeext'
26928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26929 (eval $ac_try) 2>&5
26931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26932 (exit $ac_status); }; }; then
26933 ac_cv_lib_m_llroundl=yes
26935 echo "$as_me: failed program was:" >&5
26936 sed 's/^/| /' conftest.$ac_ext >&5
26938 ac_cv_lib_m_llroundl=no
26940 rm -f conftest.err conftest.$ac_objext \
26941 conftest$ac_exeext conftest.$ac_ext
26942 LIBS=$ac_check_lib_save_LIBS
26944 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
26945 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
26946 if test $ac_cv_lib_m_llroundl = yes; then
26948 cat >>confdefs.h <<\_ACEOF
26949 #define HAVE_LLROUNDL 1
26954 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
26955 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
26956 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
26957 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 ac_check_lib_save_LIBS=$LIBS
26961 if test x$gcc_no_link = xyes; then
26962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26964 { (exit 1); exit 1; }; }
26966 cat >conftest.$ac_ext <<_ACEOF
26969 cat confdefs.h >>conftest.$ac_ext
26970 cat >>conftest.$ac_ext <<_ACEOF
26971 /* end confdefs.h. */
26973 /* Override any gcc2 internal prototype to avoid an error. */
26977 /* We use char because int might match the return type of a gcc2
26978 builtin and then its argument prototype would still apply. */
26988 rm -f conftest.$ac_objext conftest$ac_exeext
26989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26990 (eval $ac_link) 2>conftest.er1
26992 grep -v '^ *+' conftest.er1 >conftest.err
26994 cat conftest.err >&5
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); } &&
26997 { ac_try='test -z "$ac_c_werror_flag"
26998 || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try='test -s conftest$ac_exeext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_cv_lib_m_scalbnf=yes
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27015 ac_cv_lib_m_scalbnf=no
27017 rm -f conftest.err conftest.$ac_objext \
27018 conftest$ac_exeext conftest.$ac_ext
27019 LIBS=$ac_check_lib_save_LIBS
27021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27022 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27023 if test $ac_cv_lib_m_scalbnf = yes; then
27025 cat >>confdefs.h <<\_ACEOF
27026 #define HAVE_SCALBNF 1
27031 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27032 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27033 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27034 echo $ECHO_N "(cached) $ECHO_C" >&6
27036 ac_check_lib_save_LIBS=$LIBS
27038 if test x$gcc_no_link = xyes; then
27039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27041 { (exit 1); exit 1; }; }
27043 cat >conftest.$ac_ext <<_ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27050 /* Override any gcc2 internal prototype to avoid an error. */
27054 /* We use char because int might match the return type of a gcc2
27055 builtin and then its argument prototype would still apply. */
27065 rm -f conftest.$ac_objext conftest$ac_exeext
27066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27067 (eval $ac_link) 2>conftest.er1
27069 grep -v '^ *+' conftest.er1 >conftest.err
27071 cat conftest.err >&5
27072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27073 (exit $ac_status); } &&
27074 { ac_try='test -z "$ac_c_werror_flag"
27075 || test ! -s conftest.err'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; } &&
27081 { ac_try='test -s conftest$ac_exeext'
27082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27083 (eval $ac_try) 2>&5
27085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27086 (exit $ac_status); }; }; then
27087 ac_cv_lib_m_scalbn=yes
27089 echo "$as_me: failed program was:" >&5
27090 sed 's/^/| /' conftest.$ac_ext >&5
27092 ac_cv_lib_m_scalbn=no
27094 rm -f conftest.err conftest.$ac_objext \
27095 conftest$ac_exeext conftest.$ac_ext
27096 LIBS=$ac_check_lib_save_LIBS
27098 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27099 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27100 if test $ac_cv_lib_m_scalbn = yes; then
27102 cat >>confdefs.h <<\_ACEOF
27103 #define HAVE_SCALBN 1
27108 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27109 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27110 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27113 ac_check_lib_save_LIBS=$LIBS
27115 if test x$gcc_no_link = xyes; then
27116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27118 { (exit 1); exit 1; }; }
27120 cat >conftest.$ac_ext <<_ACEOF
27123 cat confdefs.h >>conftest.$ac_ext
27124 cat >>conftest.$ac_ext <<_ACEOF
27125 /* end confdefs.h. */
27127 /* Override any gcc2 internal prototype to avoid an error. */
27131 /* We use char because int might match the return type of a gcc2
27132 builtin and then its argument prototype would still apply. */
27142 rm -f conftest.$ac_objext conftest$ac_exeext
27143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27144 (eval $ac_link) 2>conftest.er1
27146 grep -v '^ *+' conftest.er1 >conftest.err
27148 cat conftest.err >&5
27149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27150 (exit $ac_status); } &&
27151 { ac_try='test -z "$ac_c_werror_flag"
27152 || test ! -s conftest.err'
27153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27154 (eval $ac_try) 2>&5
27156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27157 (exit $ac_status); }; } &&
27158 { ac_try='test -s conftest$ac_exeext'
27159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27160 (eval $ac_try) 2>&5
27162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27163 (exit $ac_status); }; }; then
27164 ac_cv_lib_m_scalbnl=yes
27166 echo "$as_me: failed program was:" >&5
27167 sed 's/^/| /' conftest.$ac_ext >&5
27169 ac_cv_lib_m_scalbnl=no
27171 rm -f conftest.err conftest.$ac_objext \
27172 conftest$ac_exeext conftest.$ac_ext
27173 LIBS=$ac_check_lib_save_LIBS
27175 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27176 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27177 if test $ac_cv_lib_m_scalbnl = yes; then
27179 cat >>confdefs.h <<\_ACEOF
27180 #define HAVE_SCALBNL 1
27185 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27186 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27187 if test "${ac_cv_lib_m_sinf+set}" = set; then
27188 echo $ECHO_N "(cached) $ECHO_C" >&6
27190 ac_check_lib_save_LIBS=$LIBS
27192 if test x$gcc_no_link = xyes; then
27193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27195 { (exit 1); exit 1; }; }
27197 cat >conftest.$ac_ext <<_ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27204 /* Override any gcc2 internal prototype to avoid an error. */
27208 /* We use char because int might match the return type of a gcc2
27209 builtin and then its argument prototype would still apply. */
27219 rm -f conftest.$ac_objext conftest$ac_exeext
27220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27221 (eval $ac_link) 2>conftest.er1
27223 grep -v '^ *+' conftest.er1 >conftest.err
27225 cat conftest.err >&5
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); } &&
27228 { ac_try='test -z "$ac_c_werror_flag"
27229 || test ! -s conftest.err'
27230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27231 (eval $ac_try) 2>&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); }; } &&
27235 { ac_try='test -s conftest$ac_exeext'
27236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27237 (eval $ac_try) 2>&5
27239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27240 (exit $ac_status); }; }; then
27241 ac_cv_lib_m_sinf=yes
27243 echo "$as_me: failed program was:" >&5
27244 sed 's/^/| /' conftest.$ac_ext >&5
27246 ac_cv_lib_m_sinf=no
27248 rm -f conftest.err conftest.$ac_objext \
27249 conftest$ac_exeext conftest.$ac_ext
27250 LIBS=$ac_check_lib_save_LIBS
27252 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27253 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27254 if test $ac_cv_lib_m_sinf = yes; then
27256 cat >>confdefs.h <<\_ACEOF
27257 #define HAVE_SINF 1
27262 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27263 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27264 if test "${ac_cv_lib_m_sin+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27267 ac_check_lib_save_LIBS=$LIBS
27269 if test x$gcc_no_link = xyes; then
27270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27272 { (exit 1); exit 1; }; }
27274 cat >conftest.$ac_ext <<_ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27281 /* Override any gcc2 internal prototype to avoid an error. */
27285 /* We use char because int might match the return type of a gcc2
27286 builtin and then its argument prototype would still apply. */
27296 rm -f conftest.$ac_objext conftest$ac_exeext
27297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27298 (eval $ac_link) 2>conftest.er1
27300 grep -v '^ *+' conftest.er1 >conftest.err
27302 cat conftest.err >&5
27303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27304 (exit $ac_status); } &&
27305 { ac_try='test -z "$ac_c_werror_flag"
27306 || test ! -s conftest.err'
27307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27308 (eval $ac_try) 2>&5
27310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27311 (exit $ac_status); }; } &&
27312 { ac_try='test -s conftest$ac_exeext'
27313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27314 (eval $ac_try) 2>&5
27316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27317 (exit $ac_status); }; }; then
27318 ac_cv_lib_m_sin=yes
27320 echo "$as_me: failed program was:" >&5
27321 sed 's/^/| /' conftest.$ac_ext >&5
27325 rm -f conftest.err conftest.$ac_objext \
27326 conftest$ac_exeext conftest.$ac_ext
27327 LIBS=$ac_check_lib_save_LIBS
27329 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
27330 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
27331 if test $ac_cv_lib_m_sin = yes; then
27333 cat >>confdefs.h <<\_ACEOF
27339 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
27340 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
27341 if test "${ac_cv_lib_m_sinl+set}" = set; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27344 ac_check_lib_save_LIBS=$LIBS
27346 if test x$gcc_no_link = xyes; then
27347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27349 { (exit 1); exit 1; }; }
27351 cat >conftest.$ac_ext <<_ACEOF
27354 cat confdefs.h >>conftest.$ac_ext
27355 cat >>conftest.$ac_ext <<_ACEOF
27356 /* end confdefs.h. */
27358 /* Override any gcc2 internal prototype to avoid an error. */
27362 /* We use char because int might match the return type of a gcc2
27363 builtin and then its argument prototype would still apply. */
27373 rm -f conftest.$ac_objext conftest$ac_exeext
27374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27375 (eval $ac_link) 2>conftest.er1
27377 grep -v '^ *+' conftest.er1 >conftest.err
27379 cat conftest.err >&5
27380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27381 (exit $ac_status); } &&
27382 { ac_try='test -z "$ac_c_werror_flag"
27383 || test ! -s conftest.err'
27384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27385 (eval $ac_try) 2>&5
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); }; } &&
27389 { ac_try='test -s conftest$ac_exeext'
27390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27391 (eval $ac_try) 2>&5
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); }; }; then
27395 ac_cv_lib_m_sinl=yes
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27400 ac_cv_lib_m_sinl=no
27402 rm -f conftest.err conftest.$ac_objext \
27403 conftest$ac_exeext conftest.$ac_ext
27404 LIBS=$ac_check_lib_save_LIBS
27406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
27407 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
27408 if test $ac_cv_lib_m_sinl = yes; then
27410 cat >>confdefs.h <<\_ACEOF
27411 #define HAVE_SINL 1
27416 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
27417 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
27418 if test "${ac_cv_lib_m_csinf+set}" = set; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27421 ac_check_lib_save_LIBS=$LIBS
27423 if test x$gcc_no_link = xyes; then
27424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27426 { (exit 1); exit 1; }; }
27428 cat >conftest.$ac_ext <<_ACEOF
27431 cat confdefs.h >>conftest.$ac_ext
27432 cat >>conftest.$ac_ext <<_ACEOF
27433 /* end confdefs.h. */
27435 /* Override any gcc2 internal prototype to avoid an error. */
27439 /* We use char because int might match the return type of a gcc2
27440 builtin and then its argument prototype would still apply. */
27450 rm -f conftest.$ac_objext conftest$ac_exeext
27451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27452 (eval $ac_link) 2>conftest.er1
27454 grep -v '^ *+' conftest.er1 >conftest.err
27456 cat conftest.err >&5
27457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27458 (exit $ac_status); } &&
27459 { ac_try='test -z "$ac_c_werror_flag"
27460 || test ! -s conftest.err'
27461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27462 (eval $ac_try) 2>&5
27464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27465 (exit $ac_status); }; } &&
27466 { ac_try='test -s conftest$ac_exeext'
27467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27468 (eval $ac_try) 2>&5
27470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27471 (exit $ac_status); }; }; then
27472 ac_cv_lib_m_csinf=yes
27474 echo "$as_me: failed program was:" >&5
27475 sed 's/^/| /' conftest.$ac_ext >&5
27477 ac_cv_lib_m_csinf=no
27479 rm -f conftest.err conftest.$ac_objext \
27480 conftest$ac_exeext conftest.$ac_ext
27481 LIBS=$ac_check_lib_save_LIBS
27483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
27484 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
27485 if test $ac_cv_lib_m_csinf = yes; then
27487 cat >>confdefs.h <<\_ACEOF
27488 #define HAVE_CSINF 1
27493 echo "$as_me:$LINENO: checking for csin in -lm" >&5
27494 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
27495 if test "${ac_cv_lib_m_csin+set}" = set; then
27496 echo $ECHO_N "(cached) $ECHO_C" >&6
27498 ac_check_lib_save_LIBS=$LIBS
27500 if test x$gcc_no_link = xyes; then
27501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27503 { (exit 1); exit 1; }; }
27505 cat >conftest.$ac_ext <<_ACEOF
27508 cat confdefs.h >>conftest.$ac_ext
27509 cat >>conftest.$ac_ext <<_ACEOF
27510 /* end confdefs.h. */
27512 /* Override any gcc2 internal prototype to avoid an error. */
27516 /* We use char because int might match the return type of a gcc2
27517 builtin and then its argument prototype would still apply. */
27527 rm -f conftest.$ac_objext conftest$ac_exeext
27528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27529 (eval $ac_link) 2>conftest.er1
27531 grep -v '^ *+' conftest.er1 >conftest.err
27533 cat conftest.err >&5
27534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27535 (exit $ac_status); } &&
27536 { ac_try='test -z "$ac_c_werror_flag"
27537 || test ! -s conftest.err'
27538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27539 (eval $ac_try) 2>&5
27541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27542 (exit $ac_status); }; } &&
27543 { ac_try='test -s conftest$ac_exeext'
27544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27545 (eval $ac_try) 2>&5
27547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27548 (exit $ac_status); }; }; then
27549 ac_cv_lib_m_csin=yes
27551 echo "$as_me: failed program was:" >&5
27552 sed 's/^/| /' conftest.$ac_ext >&5
27554 ac_cv_lib_m_csin=no
27556 rm -f conftest.err conftest.$ac_objext \
27557 conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
27561 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
27562 if test $ac_cv_lib_m_csin = yes; then
27564 cat >>confdefs.h <<\_ACEOF
27565 #define HAVE_CSIN 1
27570 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
27571 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
27572 if test "${ac_cv_lib_m_csinl+set}" = set; then
27573 echo $ECHO_N "(cached) $ECHO_C" >&6
27575 ac_check_lib_save_LIBS=$LIBS
27577 if test x$gcc_no_link = xyes; then
27578 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27579 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27580 { (exit 1); exit 1; }; }
27582 cat >conftest.$ac_ext <<_ACEOF
27585 cat confdefs.h >>conftest.$ac_ext
27586 cat >>conftest.$ac_ext <<_ACEOF
27587 /* end confdefs.h. */
27589 /* Override any gcc2 internal prototype to avoid an error. */
27593 /* We use char because int might match the return type of a gcc2
27594 builtin and then its argument prototype would still apply. */
27604 rm -f conftest.$ac_objext conftest$ac_exeext
27605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27606 (eval $ac_link) 2>conftest.er1
27608 grep -v '^ *+' conftest.er1 >conftest.err
27610 cat conftest.err >&5
27611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27612 (exit $ac_status); } &&
27613 { ac_try='test -z "$ac_c_werror_flag"
27614 || test ! -s conftest.err'
27615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27616 (eval $ac_try) 2>&5
27618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27619 (exit $ac_status); }; } &&
27620 { ac_try='test -s conftest$ac_exeext'
27621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27622 (eval $ac_try) 2>&5
27624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27625 (exit $ac_status); }; }; then
27626 ac_cv_lib_m_csinl=yes
27628 echo "$as_me: failed program was:" >&5
27629 sed 's/^/| /' conftest.$ac_ext >&5
27631 ac_cv_lib_m_csinl=no
27633 rm -f conftest.err conftest.$ac_objext \
27634 conftest$ac_exeext conftest.$ac_ext
27635 LIBS=$ac_check_lib_save_LIBS
27637 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
27638 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
27639 if test $ac_cv_lib_m_csinl = yes; then
27641 cat >>confdefs.h <<\_ACEOF
27642 #define HAVE_CSINL 1
27647 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
27648 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
27649 if test "${ac_cv_lib_m_sinhf+set}" = set; then
27650 echo $ECHO_N "(cached) $ECHO_C" >&6
27652 ac_check_lib_save_LIBS=$LIBS
27654 if test x$gcc_no_link = xyes; then
27655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27657 { (exit 1); exit 1; }; }
27659 cat >conftest.$ac_ext <<_ACEOF
27662 cat confdefs.h >>conftest.$ac_ext
27663 cat >>conftest.$ac_ext <<_ACEOF
27664 /* end confdefs.h. */
27666 /* Override any gcc2 internal prototype to avoid an error. */
27670 /* We use char because int might match the return type of a gcc2
27671 builtin and then its argument prototype would still apply. */
27681 rm -f conftest.$ac_objext conftest$ac_exeext
27682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27683 (eval $ac_link) 2>conftest.er1
27685 grep -v '^ *+' conftest.er1 >conftest.err
27687 cat conftest.err >&5
27688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27689 (exit $ac_status); } &&
27690 { ac_try='test -z "$ac_c_werror_flag"
27691 || test ! -s conftest.err'
27692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27693 (eval $ac_try) 2>&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); }; } &&
27697 { ac_try='test -s conftest$ac_exeext'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; }; then
27703 ac_cv_lib_m_sinhf=yes
27705 echo "$as_me: failed program was:" >&5
27706 sed 's/^/| /' conftest.$ac_ext >&5
27708 ac_cv_lib_m_sinhf=no
27710 rm -f conftest.err conftest.$ac_objext \
27711 conftest$ac_exeext conftest.$ac_ext
27712 LIBS=$ac_check_lib_save_LIBS
27714 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
27715 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
27716 if test $ac_cv_lib_m_sinhf = yes; then
27718 cat >>confdefs.h <<\_ACEOF
27719 #define HAVE_SINHF 1
27724 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
27725 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
27726 if test "${ac_cv_lib_m_sinh+set}" = set; then
27727 echo $ECHO_N "(cached) $ECHO_C" >&6
27729 ac_check_lib_save_LIBS=$LIBS
27731 if test x$gcc_no_link = xyes; then
27732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27734 { (exit 1); exit 1; }; }
27736 cat >conftest.$ac_ext <<_ACEOF
27739 cat confdefs.h >>conftest.$ac_ext
27740 cat >>conftest.$ac_ext <<_ACEOF
27741 /* end confdefs.h. */
27743 /* Override any gcc2 internal prototype to avoid an error. */
27747 /* We use char because int might match the return type of a gcc2
27748 builtin and then its argument prototype would still apply. */
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27760 (eval $ac_link) 2>conftest.er1
27762 grep -v '^ *+' conftest.er1 >conftest.err
27764 cat conftest.err >&5
27765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27766 (exit $ac_status); } &&
27767 { ac_try='test -z "$ac_c_werror_flag"
27768 || test ! -s conftest.err'
27769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27770 (eval $ac_try) 2>&5
27772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27773 (exit $ac_status); }; } &&
27774 { ac_try='test -s conftest$ac_exeext'
27775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27776 (eval $ac_try) 2>&5
27778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27779 (exit $ac_status); }; }; then
27780 ac_cv_lib_m_sinh=yes
27782 echo "$as_me: failed program was:" >&5
27783 sed 's/^/| /' conftest.$ac_ext >&5
27785 ac_cv_lib_m_sinh=no
27787 rm -f conftest.err conftest.$ac_objext \
27788 conftest$ac_exeext conftest.$ac_ext
27789 LIBS=$ac_check_lib_save_LIBS
27791 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
27792 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
27793 if test $ac_cv_lib_m_sinh = yes; then
27795 cat >>confdefs.h <<\_ACEOF
27796 #define HAVE_SINH 1
27801 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
27802 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
27803 if test "${ac_cv_lib_m_sinhl+set}" = set; then
27804 echo $ECHO_N "(cached) $ECHO_C" >&6
27806 ac_check_lib_save_LIBS=$LIBS
27808 if test x$gcc_no_link = xyes; then
27809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27811 { (exit 1); exit 1; }; }
27813 cat >conftest.$ac_ext <<_ACEOF
27816 cat confdefs.h >>conftest.$ac_ext
27817 cat >>conftest.$ac_ext <<_ACEOF
27818 /* end confdefs.h. */
27820 /* Override any gcc2 internal prototype to avoid an error. */
27824 /* We use char because int might match the return type of a gcc2
27825 builtin and then its argument prototype would still apply. */
27835 rm -f conftest.$ac_objext conftest$ac_exeext
27836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27837 (eval $ac_link) 2>conftest.er1
27839 grep -v '^ *+' conftest.er1 >conftest.err
27841 cat conftest.err >&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); } &&
27844 { ac_try='test -z "$ac_c_werror_flag"
27845 || test ! -s conftest.err'
27846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847 (eval $ac_try) 2>&5
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; } &&
27851 { ac_try='test -s conftest$ac_exeext'
27852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853 (eval $ac_try) 2>&5
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); }; }; then
27857 ac_cv_lib_m_sinhl=yes
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27862 ac_cv_lib_m_sinhl=no
27864 rm -f conftest.err conftest.$ac_objext \
27865 conftest$ac_exeext conftest.$ac_ext
27866 LIBS=$ac_check_lib_save_LIBS
27868 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
27869 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
27870 if test $ac_cv_lib_m_sinhl = yes; then
27872 cat >>confdefs.h <<\_ACEOF
27873 #define HAVE_SINHL 1
27878 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
27879 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
27880 if test "${ac_cv_lib_m_csinhf+set}" = set; then
27881 echo $ECHO_N "(cached) $ECHO_C" >&6
27883 ac_check_lib_save_LIBS=$LIBS
27885 if test x$gcc_no_link = xyes; then
27886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27888 { (exit 1); exit 1; }; }
27890 cat >conftest.$ac_ext <<_ACEOF
27893 cat confdefs.h >>conftest.$ac_ext
27894 cat >>conftest.$ac_ext <<_ACEOF
27895 /* end confdefs.h. */
27897 /* Override any gcc2 internal prototype to avoid an error. */
27901 /* We use char because int might match the return type of a gcc2
27902 builtin and then its argument prototype would still apply. */
27912 rm -f conftest.$ac_objext conftest$ac_exeext
27913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27914 (eval $ac_link) 2>conftest.er1
27916 grep -v '^ *+' conftest.er1 >conftest.err
27918 cat conftest.err >&5
27919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27920 (exit $ac_status); } &&
27921 { ac_try='test -z "$ac_c_werror_flag"
27922 || test ! -s conftest.err'
27923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27924 (eval $ac_try) 2>&5
27926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27927 (exit $ac_status); }; } &&
27928 { ac_try='test -s conftest$ac_exeext'
27929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27930 (eval $ac_try) 2>&5
27932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27933 (exit $ac_status); }; }; then
27934 ac_cv_lib_m_csinhf=yes
27936 echo "$as_me: failed program was:" >&5
27937 sed 's/^/| /' conftest.$ac_ext >&5
27939 ac_cv_lib_m_csinhf=no
27941 rm -f conftest.err conftest.$ac_objext \
27942 conftest$ac_exeext conftest.$ac_ext
27943 LIBS=$ac_check_lib_save_LIBS
27945 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
27946 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
27947 if test $ac_cv_lib_m_csinhf = yes; then
27949 cat >>confdefs.h <<\_ACEOF
27950 #define HAVE_CSINHF 1
27955 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
27956 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
27957 if test "${ac_cv_lib_m_csinh+set}" = set; then
27958 echo $ECHO_N "(cached) $ECHO_C" >&6
27960 ac_check_lib_save_LIBS=$LIBS
27962 if test x$gcc_no_link = xyes; then
27963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27965 { (exit 1); exit 1; }; }
27967 cat >conftest.$ac_ext <<_ACEOF
27970 cat confdefs.h >>conftest.$ac_ext
27971 cat >>conftest.$ac_ext <<_ACEOF
27972 /* end confdefs.h. */
27974 /* Override any gcc2 internal prototype to avoid an error. */
27978 /* We use char because int might match the return type of a gcc2
27979 builtin and then its argument prototype would still apply. */
27989 rm -f conftest.$ac_objext conftest$ac_exeext
27990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27991 (eval $ac_link) 2>conftest.er1
27993 grep -v '^ *+' conftest.er1 >conftest.err
27995 cat conftest.err >&5
27996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27997 (exit $ac_status); } &&
27998 { ac_try='test -z "$ac_c_werror_flag"
27999 || test ! -s conftest.err'
28000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28001 (eval $ac_try) 2>&5
28003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28004 (exit $ac_status); }; } &&
28005 { ac_try='test -s conftest$ac_exeext'
28006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28007 (eval $ac_try) 2>&5
28009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28010 (exit $ac_status); }; }; then
28011 ac_cv_lib_m_csinh=yes
28013 echo "$as_me: failed program was:" >&5
28014 sed 's/^/| /' conftest.$ac_ext >&5
28016 ac_cv_lib_m_csinh=no
28018 rm -f conftest.err conftest.$ac_objext \
28019 conftest$ac_exeext conftest.$ac_ext
28020 LIBS=$ac_check_lib_save_LIBS
28022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28023 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28024 if test $ac_cv_lib_m_csinh = yes; then
28026 cat >>confdefs.h <<\_ACEOF
28027 #define HAVE_CSINH 1
28032 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28033 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28034 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28035 echo $ECHO_N "(cached) $ECHO_C" >&6
28037 ac_check_lib_save_LIBS=$LIBS
28039 if test x$gcc_no_link = xyes; then
28040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28042 { (exit 1); exit 1; }; }
28044 cat >conftest.$ac_ext <<_ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h. */
28051 /* Override any gcc2 internal prototype to avoid an error. */
28055 /* We use char because int might match the return type of a gcc2
28056 builtin and then its argument prototype would still apply. */
28066 rm -f conftest.$ac_objext conftest$ac_exeext
28067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28068 (eval $ac_link) 2>conftest.er1
28070 grep -v '^ *+' conftest.er1 >conftest.err
28072 cat conftest.err >&5
28073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074 (exit $ac_status); } &&
28075 { ac_try='test -z "$ac_c_werror_flag"
28076 || test ! -s conftest.err'
28077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28078 (eval $ac_try) 2>&5
28080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28081 (exit $ac_status); }; } &&
28082 { ac_try='test -s conftest$ac_exeext'
28083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28084 (eval $ac_try) 2>&5
28086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28087 (exit $ac_status); }; }; then
28088 ac_cv_lib_m_csinhl=yes
28090 echo "$as_me: failed program was:" >&5
28091 sed 's/^/| /' conftest.$ac_ext >&5
28093 ac_cv_lib_m_csinhl=no
28095 rm -f conftest.err conftest.$ac_objext \
28096 conftest$ac_exeext conftest.$ac_ext
28097 LIBS=$ac_check_lib_save_LIBS
28099 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28100 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28101 if test $ac_cv_lib_m_csinhl = yes; then
28103 cat >>confdefs.h <<\_ACEOF
28104 #define HAVE_CSINHL 1
28109 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28110 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28111 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28112 echo $ECHO_N "(cached) $ECHO_C" >&6
28114 ac_check_lib_save_LIBS=$LIBS
28116 if test x$gcc_no_link = xyes; then
28117 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28118 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28119 { (exit 1); exit 1; }; }
28121 cat >conftest.$ac_ext <<_ACEOF
28124 cat confdefs.h >>conftest.$ac_ext
28125 cat >>conftest.$ac_ext <<_ACEOF
28126 /* end confdefs.h. */
28128 /* Override any gcc2 internal prototype to avoid an error. */
28132 /* We use char because int might match the return type of a gcc2
28133 builtin and then its argument prototype would still apply. */
28143 rm -f conftest.$ac_objext conftest$ac_exeext
28144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28145 (eval $ac_link) 2>conftest.er1
28147 grep -v '^ *+' conftest.er1 >conftest.err
28149 cat conftest.err >&5
28150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28151 (exit $ac_status); } &&
28152 { ac_try='test -z "$ac_c_werror_flag"
28153 || test ! -s conftest.err'
28154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28155 (eval $ac_try) 2>&5
28157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28158 (exit $ac_status); }; } &&
28159 { ac_try='test -s conftest$ac_exeext'
28160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28161 (eval $ac_try) 2>&5
28163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28164 (exit $ac_status); }; }; then
28165 ac_cv_lib_m_sqrtf=yes
28167 echo "$as_me: failed program was:" >&5
28168 sed 's/^/| /' conftest.$ac_ext >&5
28170 ac_cv_lib_m_sqrtf=no
28172 rm -f conftest.err conftest.$ac_objext \
28173 conftest$ac_exeext conftest.$ac_ext
28174 LIBS=$ac_check_lib_save_LIBS
28176 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28177 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28178 if test $ac_cv_lib_m_sqrtf = yes; then
28180 cat >>confdefs.h <<\_ACEOF
28181 #define HAVE_SQRTF 1
28186 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28187 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28188 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28189 echo $ECHO_N "(cached) $ECHO_C" >&6
28191 ac_check_lib_save_LIBS=$LIBS
28193 if test x$gcc_no_link = xyes; then
28194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28196 { (exit 1); exit 1; }; }
28198 cat >conftest.$ac_ext <<_ACEOF
28201 cat confdefs.h >>conftest.$ac_ext
28202 cat >>conftest.$ac_ext <<_ACEOF
28203 /* end confdefs.h. */
28205 /* Override any gcc2 internal prototype to avoid an error. */
28209 /* We use char because int might match the return type of a gcc2
28210 builtin and then its argument prototype would still apply. */
28220 rm -f conftest.$ac_objext conftest$ac_exeext
28221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28222 (eval $ac_link) 2>conftest.er1
28224 grep -v '^ *+' conftest.er1 >conftest.err
28226 cat conftest.err >&5
28227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228 (exit $ac_status); } &&
28229 { ac_try='test -z "$ac_c_werror_flag"
28230 || test ! -s conftest.err'
28231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28232 (eval $ac_try) 2>&5
28234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28235 (exit $ac_status); }; } &&
28236 { ac_try='test -s conftest$ac_exeext'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; }; then
28242 ac_cv_lib_m_sqrt=yes
28244 echo "$as_me: failed program was:" >&5
28245 sed 's/^/| /' conftest.$ac_ext >&5
28247 ac_cv_lib_m_sqrt=no
28249 rm -f conftest.err conftest.$ac_objext \
28250 conftest$ac_exeext conftest.$ac_ext
28251 LIBS=$ac_check_lib_save_LIBS
28253 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28254 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28255 if test $ac_cv_lib_m_sqrt = yes; then
28257 cat >>confdefs.h <<\_ACEOF
28258 #define HAVE_SQRT 1
28263 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28264 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28265 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28266 echo $ECHO_N "(cached) $ECHO_C" >&6
28268 ac_check_lib_save_LIBS=$LIBS
28270 if test x$gcc_no_link = xyes; then
28271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28273 { (exit 1); exit 1; }; }
28275 cat >conftest.$ac_ext <<_ACEOF
28278 cat confdefs.h >>conftest.$ac_ext
28279 cat >>conftest.$ac_ext <<_ACEOF
28280 /* end confdefs.h. */
28282 /* Override any gcc2 internal prototype to avoid an error. */
28286 /* We use char because int might match the return type of a gcc2
28287 builtin and then its argument prototype would still apply. */
28297 rm -f conftest.$ac_objext conftest$ac_exeext
28298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28299 (eval $ac_link) 2>conftest.er1
28301 grep -v '^ *+' conftest.er1 >conftest.err
28303 cat conftest.err >&5
28304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28305 (exit $ac_status); } &&
28306 { ac_try='test -z "$ac_c_werror_flag"
28307 || test ! -s conftest.err'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; } &&
28313 { ac_try='test -s conftest$ac_exeext'
28314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28315 (eval $ac_try) 2>&5
28317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28318 (exit $ac_status); }; }; then
28319 ac_cv_lib_m_sqrtl=yes
28321 echo "$as_me: failed program was:" >&5
28322 sed 's/^/| /' conftest.$ac_ext >&5
28324 ac_cv_lib_m_sqrtl=no
28326 rm -f conftest.err conftest.$ac_objext \
28327 conftest$ac_exeext conftest.$ac_ext
28328 LIBS=$ac_check_lib_save_LIBS
28330 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
28331 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
28332 if test $ac_cv_lib_m_sqrtl = yes; then
28334 cat >>confdefs.h <<\_ACEOF
28335 #define HAVE_SQRTL 1
28340 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
28341 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
28342 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
28343 echo $ECHO_N "(cached) $ECHO_C" >&6
28345 ac_check_lib_save_LIBS=$LIBS
28347 if test x$gcc_no_link = xyes; then
28348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28350 { (exit 1); exit 1; }; }
28352 cat >conftest.$ac_ext <<_ACEOF
28355 cat confdefs.h >>conftest.$ac_ext
28356 cat >>conftest.$ac_ext <<_ACEOF
28357 /* end confdefs.h. */
28359 /* Override any gcc2 internal prototype to avoid an error. */
28363 /* We use char because int might match the return type of a gcc2
28364 builtin and then its argument prototype would still apply. */
28374 rm -f conftest.$ac_objext conftest$ac_exeext
28375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28376 (eval $ac_link) 2>conftest.er1
28378 grep -v '^ *+' conftest.er1 >conftest.err
28380 cat conftest.err >&5
28381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28382 (exit $ac_status); } &&
28383 { ac_try='test -z "$ac_c_werror_flag"
28384 || test ! -s conftest.err'
28385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28386 (eval $ac_try) 2>&5
28388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28389 (exit $ac_status); }; } &&
28390 { ac_try='test -s conftest$ac_exeext'
28391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28392 (eval $ac_try) 2>&5
28394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28395 (exit $ac_status); }; }; then
28396 ac_cv_lib_m_csqrtf=yes
28398 echo "$as_me: failed program was:" >&5
28399 sed 's/^/| /' conftest.$ac_ext >&5
28401 ac_cv_lib_m_csqrtf=no
28403 rm -f conftest.err conftest.$ac_objext \
28404 conftest$ac_exeext conftest.$ac_ext
28405 LIBS=$ac_check_lib_save_LIBS
28407 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
28408 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
28409 if test $ac_cv_lib_m_csqrtf = yes; then
28411 cat >>confdefs.h <<\_ACEOF
28412 #define HAVE_CSQRTF 1
28417 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
28418 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
28419 if test "${ac_cv_lib_m_csqrt+set}" = set; then
28420 echo $ECHO_N "(cached) $ECHO_C" >&6
28422 ac_check_lib_save_LIBS=$LIBS
28424 if test x$gcc_no_link = xyes; then
28425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28427 { (exit 1); exit 1; }; }
28429 cat >conftest.$ac_ext <<_ACEOF
28432 cat confdefs.h >>conftest.$ac_ext
28433 cat >>conftest.$ac_ext <<_ACEOF
28434 /* end confdefs.h. */
28436 /* Override any gcc2 internal prototype to avoid an error. */
28440 /* We use char because int might match the return type of a gcc2
28441 builtin and then its argument prototype would still apply. */
28451 rm -f conftest.$ac_objext conftest$ac_exeext
28452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28453 (eval $ac_link) 2>conftest.er1
28455 grep -v '^ *+' conftest.er1 >conftest.err
28457 cat conftest.err >&5
28458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28459 (exit $ac_status); } &&
28460 { ac_try='test -z "$ac_c_werror_flag"
28461 || test ! -s conftest.err'
28462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28463 (eval $ac_try) 2>&5
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; } &&
28467 { ac_try='test -s conftest$ac_exeext'
28468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28469 (eval $ac_try) 2>&5
28471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28472 (exit $ac_status); }; }; then
28473 ac_cv_lib_m_csqrt=yes
28475 echo "$as_me: failed program was:" >&5
28476 sed 's/^/| /' conftest.$ac_ext >&5
28478 ac_cv_lib_m_csqrt=no
28480 rm -f conftest.err conftest.$ac_objext \
28481 conftest$ac_exeext conftest.$ac_ext
28482 LIBS=$ac_check_lib_save_LIBS
28484 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
28485 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
28486 if test $ac_cv_lib_m_csqrt = yes; then
28488 cat >>confdefs.h <<\_ACEOF
28489 #define HAVE_CSQRT 1
28494 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
28495 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
28496 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
28497 echo $ECHO_N "(cached) $ECHO_C" >&6
28499 ac_check_lib_save_LIBS=$LIBS
28501 if test x$gcc_no_link = xyes; then
28502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28504 { (exit 1); exit 1; }; }
28506 cat >conftest.$ac_ext <<_ACEOF
28509 cat confdefs.h >>conftest.$ac_ext
28510 cat >>conftest.$ac_ext <<_ACEOF
28511 /* end confdefs.h. */
28513 /* Override any gcc2 internal prototype to avoid an error. */
28517 /* We use char because int might match the return type of a gcc2
28518 builtin and then its argument prototype would still apply. */
28528 rm -f conftest.$ac_objext conftest$ac_exeext
28529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28530 (eval $ac_link) 2>conftest.er1
28532 grep -v '^ *+' conftest.er1 >conftest.err
28534 cat conftest.err >&5
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); } &&
28537 { ac_try='test -z "$ac_c_werror_flag"
28538 || test ! -s conftest.err'
28539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28540 (eval $ac_try) 2>&5
28542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28543 (exit $ac_status); }; } &&
28544 { ac_try='test -s conftest$ac_exeext'
28545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28546 (eval $ac_try) 2>&5
28548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28549 (exit $ac_status); }; }; then
28550 ac_cv_lib_m_csqrtl=yes
28552 echo "$as_me: failed program was:" >&5
28553 sed 's/^/| /' conftest.$ac_ext >&5
28555 ac_cv_lib_m_csqrtl=no
28557 rm -f conftest.err conftest.$ac_objext \
28558 conftest$ac_exeext conftest.$ac_ext
28559 LIBS=$ac_check_lib_save_LIBS
28561 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
28562 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
28563 if test $ac_cv_lib_m_csqrtl = yes; then
28565 cat >>confdefs.h <<\_ACEOF
28566 #define HAVE_CSQRTL 1
28571 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
28572 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
28573 if test "${ac_cv_lib_m_tanf+set}" = set; then
28574 echo $ECHO_N "(cached) $ECHO_C" >&6
28576 ac_check_lib_save_LIBS=$LIBS
28578 if test x$gcc_no_link = xyes; then
28579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28581 { (exit 1); exit 1; }; }
28583 cat >conftest.$ac_ext <<_ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h. */
28590 /* Override any gcc2 internal prototype to avoid an error. */
28594 /* We use char because int might match the return type of a gcc2
28595 builtin and then its argument prototype would still apply. */
28605 rm -f conftest.$ac_objext conftest$ac_exeext
28606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28607 (eval $ac_link) 2>conftest.er1
28609 grep -v '^ *+' conftest.er1 >conftest.err
28611 cat conftest.err >&5
28612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28613 (exit $ac_status); } &&
28614 { ac_try='test -z "$ac_c_werror_flag"
28615 || test ! -s conftest.err'
28616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28617 (eval $ac_try) 2>&5
28619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28620 (exit $ac_status); }; } &&
28621 { ac_try='test -s conftest$ac_exeext'
28622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28623 (eval $ac_try) 2>&5
28625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28626 (exit $ac_status); }; }; then
28627 ac_cv_lib_m_tanf=yes
28629 echo "$as_me: failed program was:" >&5
28630 sed 's/^/| /' conftest.$ac_ext >&5
28632 ac_cv_lib_m_tanf=no
28634 rm -f conftest.err conftest.$ac_objext \
28635 conftest$ac_exeext conftest.$ac_ext
28636 LIBS=$ac_check_lib_save_LIBS
28638 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
28639 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
28640 if test $ac_cv_lib_m_tanf = yes; then
28642 cat >>confdefs.h <<\_ACEOF
28643 #define HAVE_TANF 1
28648 echo "$as_me:$LINENO: checking for tan in -lm" >&5
28649 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
28650 if test "${ac_cv_lib_m_tan+set}" = set; then
28651 echo $ECHO_N "(cached) $ECHO_C" >&6
28653 ac_check_lib_save_LIBS=$LIBS
28655 if test x$gcc_no_link = xyes; then
28656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28658 { (exit 1); exit 1; }; }
28660 cat >conftest.$ac_ext <<_ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28667 /* Override any gcc2 internal prototype to avoid an error. */
28671 /* We use char because int might match the return type of a gcc2
28672 builtin and then its argument prototype would still apply. */
28682 rm -f conftest.$ac_objext conftest$ac_exeext
28683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28684 (eval $ac_link) 2>conftest.er1
28686 grep -v '^ *+' conftest.er1 >conftest.err
28688 cat conftest.err >&5
28689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28690 (exit $ac_status); } &&
28691 { ac_try='test -z "$ac_c_werror_flag"
28692 || test ! -s conftest.err'
28693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28694 (eval $ac_try) 2>&5
28696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28697 (exit $ac_status); }; } &&
28698 { ac_try='test -s conftest$ac_exeext'
28699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28700 (eval $ac_try) 2>&5
28702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28703 (exit $ac_status); }; }; then
28704 ac_cv_lib_m_tan=yes
28706 echo "$as_me: failed program was:" >&5
28707 sed 's/^/| /' conftest.$ac_ext >&5
28711 rm -f conftest.err conftest.$ac_objext \
28712 conftest$ac_exeext conftest.$ac_ext
28713 LIBS=$ac_check_lib_save_LIBS
28715 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
28716 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
28717 if test $ac_cv_lib_m_tan = yes; then
28719 cat >>confdefs.h <<\_ACEOF
28725 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
28726 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
28727 if test "${ac_cv_lib_m_tanl+set}" = set; then
28728 echo $ECHO_N "(cached) $ECHO_C" >&6
28730 ac_check_lib_save_LIBS=$LIBS
28732 if test x$gcc_no_link = xyes; then
28733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28735 { (exit 1); exit 1; }; }
28737 cat >conftest.$ac_ext <<_ACEOF
28740 cat confdefs.h >>conftest.$ac_ext
28741 cat >>conftest.$ac_ext <<_ACEOF
28742 /* end confdefs.h. */
28744 /* Override any gcc2 internal prototype to avoid an error. */
28748 /* We use char because int might match the return type of a gcc2
28749 builtin and then its argument prototype would still apply. */
28759 rm -f conftest.$ac_objext conftest$ac_exeext
28760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28761 (eval $ac_link) 2>conftest.er1
28763 grep -v '^ *+' conftest.er1 >conftest.err
28765 cat conftest.err >&5
28766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28767 (exit $ac_status); } &&
28768 { ac_try='test -z "$ac_c_werror_flag"
28769 || test ! -s conftest.err'
28770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 (eval $ac_try) 2>&5
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; } &&
28775 { ac_try='test -s conftest$ac_exeext'
28776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28777 (eval $ac_try) 2>&5
28779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28780 (exit $ac_status); }; }; then
28781 ac_cv_lib_m_tanl=yes
28783 echo "$as_me: failed program was:" >&5
28784 sed 's/^/| /' conftest.$ac_ext >&5
28786 ac_cv_lib_m_tanl=no
28788 rm -f conftest.err conftest.$ac_objext \
28789 conftest$ac_exeext conftest.$ac_ext
28790 LIBS=$ac_check_lib_save_LIBS
28792 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
28793 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
28794 if test $ac_cv_lib_m_tanl = yes; then
28796 cat >>confdefs.h <<\_ACEOF
28797 #define HAVE_TANL 1
28802 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
28803 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
28804 if test "${ac_cv_lib_m_ctanf+set}" = set; then
28805 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 ac_check_lib_save_LIBS=$LIBS
28809 if test x$gcc_no_link = xyes; then
28810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28812 { (exit 1); exit 1; }; }
28814 cat >conftest.$ac_ext <<_ACEOF
28817 cat confdefs.h >>conftest.$ac_ext
28818 cat >>conftest.$ac_ext <<_ACEOF
28819 /* end confdefs.h. */
28821 /* Override any gcc2 internal prototype to avoid an error. */
28825 /* We use char because int might match the return type of a gcc2
28826 builtin and then its argument prototype would still apply. */
28836 rm -f conftest.$ac_objext conftest$ac_exeext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28838 (eval $ac_link) 2>conftest.er1
28840 grep -v '^ *+' conftest.er1 >conftest.err
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_c_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest$ac_exeext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 ac_cv_lib_m_ctanf=yes
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28863 ac_cv_lib_m_ctanf=no
28865 rm -f conftest.err conftest.$ac_objext \
28866 conftest$ac_exeext conftest.$ac_ext
28867 LIBS=$ac_check_lib_save_LIBS
28869 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
28870 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
28871 if test $ac_cv_lib_m_ctanf = yes; then
28873 cat >>confdefs.h <<\_ACEOF
28874 #define HAVE_CTANF 1
28879 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
28880 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
28881 if test "${ac_cv_lib_m_ctan+set}" = set; then
28882 echo $ECHO_N "(cached) $ECHO_C" >&6
28884 ac_check_lib_save_LIBS=$LIBS
28886 if test x$gcc_no_link = xyes; then
28887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28889 { (exit 1); exit 1; }; }
28891 cat >conftest.$ac_ext <<_ACEOF
28894 cat confdefs.h >>conftest.$ac_ext
28895 cat >>conftest.$ac_ext <<_ACEOF
28896 /* end confdefs.h. */
28898 /* Override any gcc2 internal prototype to avoid an error. */
28902 /* We use char because int might match the return type of a gcc2
28903 builtin and then its argument prototype would still apply. */
28913 rm -f conftest.$ac_objext conftest$ac_exeext
28914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28915 (eval $ac_link) 2>conftest.er1
28917 grep -v '^ *+' conftest.er1 >conftest.err
28919 cat conftest.err >&5
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); } &&
28922 { ac_try='test -z "$ac_c_werror_flag"
28923 || test ! -s conftest.err'
28924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28925 (eval $ac_try) 2>&5
28927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28928 (exit $ac_status); }; } &&
28929 { ac_try='test -s conftest$ac_exeext'
28930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28931 (eval $ac_try) 2>&5
28933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28934 (exit $ac_status); }; }; then
28935 ac_cv_lib_m_ctan=yes
28937 echo "$as_me: failed program was:" >&5
28938 sed 's/^/| /' conftest.$ac_ext >&5
28940 ac_cv_lib_m_ctan=no
28942 rm -f conftest.err conftest.$ac_objext \
28943 conftest$ac_exeext conftest.$ac_ext
28944 LIBS=$ac_check_lib_save_LIBS
28946 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
28947 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
28948 if test $ac_cv_lib_m_ctan = yes; then
28950 cat >>confdefs.h <<\_ACEOF
28951 #define HAVE_CTAN 1
28956 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
28957 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
28958 if test "${ac_cv_lib_m_ctanl+set}" = set; then
28959 echo $ECHO_N "(cached) $ECHO_C" >&6
28961 ac_check_lib_save_LIBS=$LIBS
28963 if test x$gcc_no_link = xyes; then
28964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28966 { (exit 1); exit 1; }; }
28968 cat >conftest.$ac_ext <<_ACEOF
28971 cat confdefs.h >>conftest.$ac_ext
28972 cat >>conftest.$ac_ext <<_ACEOF
28973 /* end confdefs.h. */
28975 /* Override any gcc2 internal prototype to avoid an error. */
28979 /* We use char because int might match the return type of a gcc2
28980 builtin and then its argument prototype would still apply. */
28990 rm -f conftest.$ac_objext conftest$ac_exeext
28991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28992 (eval $ac_link) 2>conftest.er1
28994 grep -v '^ *+' conftest.er1 >conftest.err
28996 cat conftest.err >&5
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); } &&
28999 { ac_try='test -z "$ac_c_werror_flag"
29000 || test ! -s conftest.err'
29001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29002 (eval $ac_try) 2>&5
29004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29005 (exit $ac_status); }; } &&
29006 { ac_try='test -s conftest$ac_exeext'
29007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29008 (eval $ac_try) 2>&5
29010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29011 (exit $ac_status); }; }; then
29012 ac_cv_lib_m_ctanl=yes
29014 echo "$as_me: failed program was:" >&5
29015 sed 's/^/| /' conftest.$ac_ext >&5
29017 ac_cv_lib_m_ctanl=no
29019 rm -f conftest.err conftest.$ac_objext \
29020 conftest$ac_exeext conftest.$ac_ext
29021 LIBS=$ac_check_lib_save_LIBS
29023 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29024 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29025 if test $ac_cv_lib_m_ctanl = yes; then
29027 cat >>confdefs.h <<\_ACEOF
29028 #define HAVE_CTANL 1
29033 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29034 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29035 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29036 echo $ECHO_N "(cached) $ECHO_C" >&6
29038 ac_check_lib_save_LIBS=$LIBS
29040 if test x$gcc_no_link = xyes; then
29041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29043 { (exit 1); exit 1; }; }
29045 cat >conftest.$ac_ext <<_ACEOF
29048 cat confdefs.h >>conftest.$ac_ext
29049 cat >>conftest.$ac_ext <<_ACEOF
29050 /* end confdefs.h. */
29052 /* Override any gcc2 internal prototype to avoid an error. */
29056 /* We use char because int might match the return type of a gcc2
29057 builtin and then its argument prototype would still apply. */
29067 rm -f conftest.$ac_objext conftest$ac_exeext
29068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29069 (eval $ac_link) 2>conftest.er1
29071 grep -v '^ *+' conftest.er1 >conftest.err
29073 cat conftest.err >&5
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); } &&
29076 { ac_try='test -z "$ac_c_werror_flag"
29077 || test ! -s conftest.err'
29078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29079 (eval $ac_try) 2>&5
29081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29082 (exit $ac_status); }; } &&
29083 { ac_try='test -s conftest$ac_exeext'
29084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29085 (eval $ac_try) 2>&5
29087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29088 (exit $ac_status); }; }; then
29089 ac_cv_lib_m_tanhf=yes
29091 echo "$as_me: failed program was:" >&5
29092 sed 's/^/| /' conftest.$ac_ext >&5
29094 ac_cv_lib_m_tanhf=no
29096 rm -f conftest.err conftest.$ac_objext \
29097 conftest$ac_exeext conftest.$ac_ext
29098 LIBS=$ac_check_lib_save_LIBS
29100 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29101 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29102 if test $ac_cv_lib_m_tanhf = yes; then
29104 cat >>confdefs.h <<\_ACEOF
29105 #define HAVE_TANHF 1
29110 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29111 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29112 if test "${ac_cv_lib_m_tanh+set}" = set; then
29113 echo $ECHO_N "(cached) $ECHO_C" >&6
29115 ac_check_lib_save_LIBS=$LIBS
29117 if test x$gcc_no_link = xyes; then
29118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29120 { (exit 1); exit 1; }; }
29122 cat >conftest.$ac_ext <<_ACEOF
29125 cat confdefs.h >>conftest.$ac_ext
29126 cat >>conftest.$ac_ext <<_ACEOF
29127 /* end confdefs.h. */
29129 /* Override any gcc2 internal prototype to avoid an error. */
29133 /* We use char because int might match the return type of a gcc2
29134 builtin and then its argument prototype would still apply. */
29144 rm -f conftest.$ac_objext conftest$ac_exeext
29145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29146 (eval $ac_link) 2>conftest.er1
29148 grep -v '^ *+' conftest.er1 >conftest.err
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } &&
29153 { ac_try='test -z "$ac_c_werror_flag"
29154 || test ! -s conftest.err'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; } &&
29160 { ac_try='test -s conftest$ac_exeext'
29161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29162 (eval $ac_try) 2>&5
29164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29165 (exit $ac_status); }; }; then
29166 ac_cv_lib_m_tanh=yes
29168 echo "$as_me: failed program was:" >&5
29169 sed 's/^/| /' conftest.$ac_ext >&5
29171 ac_cv_lib_m_tanh=no
29173 rm -f conftest.err conftest.$ac_objext \
29174 conftest$ac_exeext conftest.$ac_ext
29175 LIBS=$ac_check_lib_save_LIBS
29177 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29178 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29179 if test $ac_cv_lib_m_tanh = yes; then
29181 cat >>confdefs.h <<\_ACEOF
29182 #define HAVE_TANH 1
29187 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29188 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29189 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29190 echo $ECHO_N "(cached) $ECHO_C" >&6
29192 ac_check_lib_save_LIBS=$LIBS
29194 if test x$gcc_no_link = xyes; then
29195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29197 { (exit 1); exit 1; }; }
29199 cat >conftest.$ac_ext <<_ACEOF
29202 cat confdefs.h >>conftest.$ac_ext
29203 cat >>conftest.$ac_ext <<_ACEOF
29204 /* end confdefs.h. */
29206 /* Override any gcc2 internal prototype to avoid an error. */
29210 /* We use char because int might match the return type of a gcc2
29211 builtin and then its argument prototype would still apply. */
29221 rm -f conftest.$ac_objext conftest$ac_exeext
29222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29223 (eval $ac_link) 2>conftest.er1
29225 grep -v '^ *+' conftest.er1 >conftest.err
29227 cat conftest.err >&5
29228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29229 (exit $ac_status); } &&
29230 { ac_try='test -z "$ac_c_werror_flag"
29231 || test ! -s conftest.err'
29232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29233 (eval $ac_try) 2>&5
29235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29236 (exit $ac_status); }; } &&
29237 { ac_try='test -s conftest$ac_exeext'
29238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29239 (eval $ac_try) 2>&5
29241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29242 (exit $ac_status); }; }; then
29243 ac_cv_lib_m_tanhl=yes
29245 echo "$as_me: failed program was:" >&5
29246 sed 's/^/| /' conftest.$ac_ext >&5
29248 ac_cv_lib_m_tanhl=no
29250 rm -f conftest.err conftest.$ac_objext \
29251 conftest$ac_exeext conftest.$ac_ext
29252 LIBS=$ac_check_lib_save_LIBS
29254 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29255 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29256 if test $ac_cv_lib_m_tanhl = yes; then
29258 cat >>confdefs.h <<\_ACEOF
29259 #define HAVE_TANHL 1
29264 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29265 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29266 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29269 ac_check_lib_save_LIBS=$LIBS
29271 if test x$gcc_no_link = xyes; then
29272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29274 { (exit 1); exit 1; }; }
29276 cat >conftest.$ac_ext <<_ACEOF
29279 cat confdefs.h >>conftest.$ac_ext
29280 cat >>conftest.$ac_ext <<_ACEOF
29281 /* end confdefs.h. */
29283 /* Override any gcc2 internal prototype to avoid an error. */
29287 /* We use char because int might match the return type of a gcc2
29288 builtin and then its argument prototype would still apply. */
29298 rm -f conftest.$ac_objext conftest$ac_exeext
29299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29300 (eval $ac_link) 2>conftest.er1
29302 grep -v '^ *+' conftest.er1 >conftest.err
29304 cat conftest.err >&5
29305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29306 (exit $ac_status); } &&
29307 { ac_try='test -z "$ac_c_werror_flag"
29308 || test ! -s conftest.err'
29309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29310 (eval $ac_try) 2>&5
29312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29313 (exit $ac_status); }; } &&
29314 { ac_try='test -s conftest$ac_exeext'
29315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29316 (eval $ac_try) 2>&5
29318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29319 (exit $ac_status); }; }; then
29320 ac_cv_lib_m_ctanhf=yes
29322 echo "$as_me: failed program was:" >&5
29323 sed 's/^/| /' conftest.$ac_ext >&5
29325 ac_cv_lib_m_ctanhf=no
29327 rm -f conftest.err conftest.$ac_objext \
29328 conftest$ac_exeext conftest.$ac_ext
29329 LIBS=$ac_check_lib_save_LIBS
29331 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
29332 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
29333 if test $ac_cv_lib_m_ctanhf = yes; then
29335 cat >>confdefs.h <<\_ACEOF
29336 #define HAVE_CTANHF 1
29341 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
29342 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
29343 if test "${ac_cv_lib_m_ctanh+set}" = set; then
29344 echo $ECHO_N "(cached) $ECHO_C" >&6
29346 ac_check_lib_save_LIBS=$LIBS
29348 if test x$gcc_no_link = xyes; then
29349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29351 { (exit 1); exit 1; }; }
29353 cat >conftest.$ac_ext <<_ACEOF
29356 cat confdefs.h >>conftest.$ac_ext
29357 cat >>conftest.$ac_ext <<_ACEOF
29358 /* end confdefs.h. */
29360 /* Override any gcc2 internal prototype to avoid an error. */
29364 /* We use char because int might match the return type of a gcc2
29365 builtin and then its argument prototype would still apply. */
29375 rm -f conftest.$ac_objext conftest$ac_exeext
29376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29377 (eval $ac_link) 2>conftest.er1
29379 grep -v '^ *+' conftest.er1 >conftest.err
29381 cat conftest.err >&5
29382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29383 (exit $ac_status); } &&
29384 { ac_try='test -z "$ac_c_werror_flag"
29385 || test ! -s conftest.err'
29386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29387 (eval $ac_try) 2>&5
29389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29390 (exit $ac_status); }; } &&
29391 { ac_try='test -s conftest$ac_exeext'
29392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29393 (eval $ac_try) 2>&5
29395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396 (exit $ac_status); }; }; then
29397 ac_cv_lib_m_ctanh=yes
29399 echo "$as_me: failed program was:" >&5
29400 sed 's/^/| /' conftest.$ac_ext >&5
29402 ac_cv_lib_m_ctanh=no
29404 rm -f conftest.err conftest.$ac_objext \
29405 conftest$ac_exeext conftest.$ac_ext
29406 LIBS=$ac_check_lib_save_LIBS
29408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
29409 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
29410 if test $ac_cv_lib_m_ctanh = yes; then
29412 cat >>confdefs.h <<\_ACEOF
29413 #define HAVE_CTANH 1
29418 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
29419 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
29420 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
29421 echo $ECHO_N "(cached) $ECHO_C" >&6
29423 ac_check_lib_save_LIBS=$LIBS
29425 if test x$gcc_no_link = xyes; then
29426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29428 { (exit 1); exit 1; }; }
29430 cat >conftest.$ac_ext <<_ACEOF
29433 cat confdefs.h >>conftest.$ac_ext
29434 cat >>conftest.$ac_ext <<_ACEOF
29435 /* end confdefs.h. */
29437 /* Override any gcc2 internal prototype to avoid an error. */
29441 /* We use char because int might match the return type of a gcc2
29442 builtin and then its argument prototype would still apply. */
29452 rm -f conftest.$ac_objext conftest$ac_exeext
29453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29454 (eval $ac_link) 2>conftest.er1
29456 grep -v '^ *+' conftest.er1 >conftest.err
29458 cat conftest.err >&5
29459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29460 (exit $ac_status); } &&
29461 { ac_try='test -z "$ac_c_werror_flag"
29462 || test ! -s conftest.err'
29463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29464 (eval $ac_try) 2>&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); }; } &&
29468 { ac_try='test -s conftest$ac_exeext'
29469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29470 (eval $ac_try) 2>&5
29472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29473 (exit $ac_status); }; }; then
29474 ac_cv_lib_m_ctanhl=yes
29476 echo "$as_me: failed program was:" >&5
29477 sed 's/^/| /' conftest.$ac_ext >&5
29479 ac_cv_lib_m_ctanhl=no
29481 rm -f conftest.err conftest.$ac_objext \
29482 conftest$ac_exeext conftest.$ac_ext
29483 LIBS=$ac_check_lib_save_LIBS
29485 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
29486 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
29487 if test $ac_cv_lib_m_ctanhl = yes; then
29489 cat >>confdefs.h <<\_ACEOF
29490 #define HAVE_CTANHL 1
29495 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
29496 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
29497 if test "${ac_cv_lib_m_truncf+set}" = set; then
29498 echo $ECHO_N "(cached) $ECHO_C" >&6
29500 ac_check_lib_save_LIBS=$LIBS
29502 if test x$gcc_no_link = xyes; then
29503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29505 { (exit 1); exit 1; }; }
29507 cat >conftest.$ac_ext <<_ACEOF
29510 cat confdefs.h >>conftest.$ac_ext
29511 cat >>conftest.$ac_ext <<_ACEOF
29512 /* end confdefs.h. */
29514 /* Override any gcc2 internal prototype to avoid an error. */
29518 /* We use char because int might match the return type of a gcc2
29519 builtin and then its argument prototype would still apply. */
29529 rm -f conftest.$ac_objext conftest$ac_exeext
29530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29531 (eval $ac_link) 2>conftest.er1
29533 grep -v '^ *+' conftest.er1 >conftest.err
29535 cat conftest.err >&5
29536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29537 (exit $ac_status); } &&
29538 { ac_try='test -z "$ac_c_werror_flag"
29539 || test ! -s conftest.err'
29540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29541 (eval $ac_try) 2>&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); }; } &&
29545 { ac_try='test -s conftest$ac_exeext'
29546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29547 (eval $ac_try) 2>&5
29549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29550 (exit $ac_status); }; }; then
29551 ac_cv_lib_m_truncf=yes
29553 echo "$as_me: failed program was:" >&5
29554 sed 's/^/| /' conftest.$ac_ext >&5
29556 ac_cv_lib_m_truncf=no
29558 rm -f conftest.err conftest.$ac_objext \
29559 conftest$ac_exeext conftest.$ac_ext
29560 LIBS=$ac_check_lib_save_LIBS
29562 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
29563 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
29564 if test $ac_cv_lib_m_truncf = yes; then
29566 cat >>confdefs.h <<\_ACEOF
29567 #define HAVE_TRUNCF 1
29572 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
29573 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
29574 if test "${ac_cv_lib_m_trunc+set}" = set; then
29575 echo $ECHO_N "(cached) $ECHO_C" >&6
29577 ac_check_lib_save_LIBS=$LIBS
29579 if test x$gcc_no_link = xyes; then
29580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29582 { (exit 1); exit 1; }; }
29584 cat >conftest.$ac_ext <<_ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29591 /* Override any gcc2 internal prototype to avoid an error. */
29595 /* We use char because int might match the return type of a gcc2
29596 builtin and then its argument prototype would still apply. */
29606 rm -f conftest.$ac_objext conftest$ac_exeext
29607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29608 (eval $ac_link) 2>conftest.er1
29610 grep -v '^ *+' conftest.er1 >conftest.err
29612 cat conftest.err >&5
29613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29614 (exit $ac_status); } &&
29615 { ac_try='test -z "$ac_c_werror_flag"
29616 || test ! -s conftest.err'
29617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29618 (eval $ac_try) 2>&5
29620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29621 (exit $ac_status); }; } &&
29622 { ac_try='test -s conftest$ac_exeext'
29623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29624 (eval $ac_try) 2>&5
29626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29627 (exit $ac_status); }; }; then
29628 ac_cv_lib_m_trunc=yes
29630 echo "$as_me: failed program was:" >&5
29631 sed 's/^/| /' conftest.$ac_ext >&5
29633 ac_cv_lib_m_trunc=no
29635 rm -f conftest.err conftest.$ac_objext \
29636 conftest$ac_exeext conftest.$ac_ext
29637 LIBS=$ac_check_lib_save_LIBS
29639 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
29640 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
29641 if test $ac_cv_lib_m_trunc = yes; then
29643 cat >>confdefs.h <<\_ACEOF
29644 #define HAVE_TRUNC 1
29649 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
29650 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
29651 if test "${ac_cv_lib_m_truncl+set}" = set; then
29652 echo $ECHO_N "(cached) $ECHO_C" >&6
29654 ac_check_lib_save_LIBS=$LIBS
29656 if test x$gcc_no_link = xyes; then
29657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29659 { (exit 1); exit 1; }; }
29661 cat >conftest.$ac_ext <<_ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29668 /* Override any gcc2 internal prototype to avoid an error. */
29672 /* We use char because int might match the return type of a gcc2
29673 builtin and then its argument prototype would still apply. */
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29685 (eval $ac_link) 2>conftest.er1
29687 grep -v '^ *+' conftest.er1 >conftest.err
29689 cat conftest.err >&5
29690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29691 (exit $ac_status); } &&
29692 { ac_try='test -z "$ac_c_werror_flag"
29693 || test ! -s conftest.err'
29694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695 (eval $ac_try) 2>&5
29697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698 (exit $ac_status); }; } &&
29699 { ac_try='test -s conftest$ac_exeext'
29700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29701 (eval $ac_try) 2>&5
29703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29704 (exit $ac_status); }; }; then
29705 ac_cv_lib_m_truncl=yes
29707 echo "$as_me: failed program was:" >&5
29708 sed 's/^/| /' conftest.$ac_ext >&5
29710 ac_cv_lib_m_truncl=no
29712 rm -f conftest.err conftest.$ac_objext \
29713 conftest$ac_exeext conftest.$ac_ext
29714 LIBS=$ac_check_lib_save_LIBS
29716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
29717 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
29718 if test $ac_cv_lib_m_truncl = yes; then
29720 cat >>confdefs.h <<\_ACEOF
29721 #define HAVE_TRUNCL 1
29726 echo "$as_me:$LINENO: checking for erff in -lm" >&5
29727 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
29728 if test "${ac_cv_lib_m_erff+set}" = set; then
29729 echo $ECHO_N "(cached) $ECHO_C" >&6
29731 ac_check_lib_save_LIBS=$LIBS
29733 if test x$gcc_no_link = xyes; then
29734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29736 { (exit 1); exit 1; }; }
29738 cat >conftest.$ac_ext <<_ACEOF
29741 cat confdefs.h >>conftest.$ac_ext
29742 cat >>conftest.$ac_ext <<_ACEOF
29743 /* end confdefs.h. */
29745 /* Override any gcc2 internal prototype to avoid an error. */
29749 /* We use char because int might match the return type of a gcc2
29750 builtin and then its argument prototype would still apply. */
29760 rm -f conftest.$ac_objext conftest$ac_exeext
29761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29762 (eval $ac_link) 2>conftest.er1
29764 grep -v '^ *+' conftest.er1 >conftest.err
29766 cat conftest.err >&5
29767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29768 (exit $ac_status); } &&
29769 { ac_try='test -z "$ac_c_werror_flag"
29770 || test ! -s conftest.err'
29771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29772 (eval $ac_try) 2>&5
29774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29775 (exit $ac_status); }; } &&
29776 { ac_try='test -s conftest$ac_exeext'
29777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29778 (eval $ac_try) 2>&5
29780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29781 (exit $ac_status); }; }; then
29782 ac_cv_lib_m_erff=yes
29784 echo "$as_me: failed program was:" >&5
29785 sed 's/^/| /' conftest.$ac_ext >&5
29787 ac_cv_lib_m_erff=no
29789 rm -f conftest.err conftest.$ac_objext \
29790 conftest$ac_exeext conftest.$ac_ext
29791 LIBS=$ac_check_lib_save_LIBS
29793 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
29794 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
29795 if test $ac_cv_lib_m_erff = yes; then
29797 cat >>confdefs.h <<\_ACEOF
29798 #define HAVE_ERFF 1
29803 echo "$as_me:$LINENO: checking for erf in -lm" >&5
29804 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
29805 if test "${ac_cv_lib_m_erf+set}" = set; then
29806 echo $ECHO_N "(cached) $ECHO_C" >&6
29808 ac_check_lib_save_LIBS=$LIBS
29810 if test x$gcc_no_link = xyes; then
29811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29813 { (exit 1); exit 1; }; }
29815 cat >conftest.$ac_ext <<_ACEOF
29818 cat confdefs.h >>conftest.$ac_ext
29819 cat >>conftest.$ac_ext <<_ACEOF
29820 /* end confdefs.h. */
29822 /* Override any gcc2 internal prototype to avoid an error. */
29826 /* We use char because int might match the return type of a gcc2
29827 builtin and then its argument prototype would still apply. */
29837 rm -f conftest.$ac_objext conftest$ac_exeext
29838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29839 (eval $ac_link) 2>conftest.er1
29841 grep -v '^ *+' conftest.er1 >conftest.err
29843 cat conftest.err >&5
29844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29845 (exit $ac_status); } &&
29846 { ac_try='test -z "$ac_c_werror_flag"
29847 || test ! -s conftest.err'
29848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29849 (eval $ac_try) 2>&5
29851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29852 (exit $ac_status); }; } &&
29853 { ac_try='test -s conftest$ac_exeext'
29854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29855 (eval $ac_try) 2>&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); }; }; then
29859 ac_cv_lib_m_erf=yes
29861 echo "$as_me: failed program was:" >&5
29862 sed 's/^/| /' conftest.$ac_ext >&5
29866 rm -f conftest.err conftest.$ac_objext \
29867 conftest$ac_exeext conftest.$ac_ext
29868 LIBS=$ac_check_lib_save_LIBS
29870 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
29871 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
29872 if test $ac_cv_lib_m_erf = yes; then
29874 cat >>confdefs.h <<\_ACEOF
29880 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
29881 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
29882 if test "${ac_cv_lib_m_erfl+set}" = set; then
29883 echo $ECHO_N "(cached) $ECHO_C" >&6
29885 ac_check_lib_save_LIBS=$LIBS
29887 if test x$gcc_no_link = xyes; then
29888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29890 { (exit 1); exit 1; }; }
29892 cat >conftest.$ac_ext <<_ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29899 /* Override any gcc2 internal prototype to avoid an error. */
29903 /* We use char because int might match the return type of a gcc2
29904 builtin and then its argument prototype would still apply. */
29914 rm -f conftest.$ac_objext conftest$ac_exeext
29915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29916 (eval $ac_link) 2>conftest.er1
29918 grep -v '^ *+' conftest.er1 >conftest.err
29920 cat conftest.err >&5
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); } &&
29923 { ac_try='test -z "$ac_c_werror_flag"
29924 || test ! -s conftest.err'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; } &&
29930 { ac_try='test -s conftest$ac_exeext'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; }; then
29936 ac_cv_lib_m_erfl=yes
29938 echo "$as_me: failed program was:" >&5
29939 sed 's/^/| /' conftest.$ac_ext >&5
29941 ac_cv_lib_m_erfl=no
29943 rm -f conftest.err conftest.$ac_objext \
29944 conftest$ac_exeext conftest.$ac_ext
29945 LIBS=$ac_check_lib_save_LIBS
29947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
29948 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
29949 if test $ac_cv_lib_m_erfl = yes; then
29951 cat >>confdefs.h <<\_ACEOF
29952 #define HAVE_ERFL 1
29957 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
29958 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
29959 if test "${ac_cv_lib_m_erfcf+set}" = set; then
29960 echo $ECHO_N "(cached) $ECHO_C" >&6
29962 ac_check_lib_save_LIBS=$LIBS
29964 if test x$gcc_no_link = xyes; then
29965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29967 { (exit 1); exit 1; }; }
29969 cat >conftest.$ac_ext <<_ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29976 /* Override any gcc2 internal prototype to avoid an error. */
29980 /* We use char because int might match the return type of a gcc2
29981 builtin and then its argument prototype would still apply. */
29991 rm -f conftest.$ac_objext conftest$ac_exeext
29992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29993 (eval $ac_link) 2>conftest.er1
29995 grep -v '^ *+' conftest.er1 >conftest.err
29997 cat conftest.err >&5
29998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29999 (exit $ac_status); } &&
30000 { ac_try='test -z "$ac_c_werror_flag"
30001 || test ! -s conftest.err'
30002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30003 (eval $ac_try) 2>&5
30005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30006 (exit $ac_status); }; } &&
30007 { ac_try='test -s conftest$ac_exeext'
30008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30009 (eval $ac_try) 2>&5
30011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30012 (exit $ac_status); }; }; then
30013 ac_cv_lib_m_erfcf=yes
30015 echo "$as_me: failed program was:" >&5
30016 sed 's/^/| /' conftest.$ac_ext >&5
30018 ac_cv_lib_m_erfcf=no
30020 rm -f conftest.err conftest.$ac_objext \
30021 conftest$ac_exeext conftest.$ac_ext
30022 LIBS=$ac_check_lib_save_LIBS
30024 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30025 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30026 if test $ac_cv_lib_m_erfcf = yes; then
30028 cat >>confdefs.h <<\_ACEOF
30029 #define HAVE_ERFCF 1
30034 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30035 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30036 if test "${ac_cv_lib_m_erfc+set}" = set; then
30037 echo $ECHO_N "(cached) $ECHO_C" >&6
30039 ac_check_lib_save_LIBS=$LIBS
30041 if test x$gcc_no_link = xyes; then
30042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30044 { (exit 1); exit 1; }; }
30046 cat >conftest.$ac_ext <<_ACEOF
30049 cat confdefs.h >>conftest.$ac_ext
30050 cat >>conftest.$ac_ext <<_ACEOF
30051 /* end confdefs.h. */
30053 /* Override any gcc2 internal prototype to avoid an error. */
30057 /* We use char because int might match the return type of a gcc2
30058 builtin and then its argument prototype would still apply. */
30068 rm -f conftest.$ac_objext conftest$ac_exeext
30069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30070 (eval $ac_link) 2>conftest.er1
30072 grep -v '^ *+' conftest.er1 >conftest.err
30074 cat conftest.err >&5
30075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30076 (exit $ac_status); } &&
30077 { ac_try='test -z "$ac_c_werror_flag"
30078 || test ! -s conftest.err'
30079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30080 (eval $ac_try) 2>&5
30082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30083 (exit $ac_status); }; } &&
30084 { ac_try='test -s conftest$ac_exeext'
30085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30086 (eval $ac_try) 2>&5
30088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30089 (exit $ac_status); }; }; then
30090 ac_cv_lib_m_erfc=yes
30092 echo "$as_me: failed program was:" >&5
30093 sed 's/^/| /' conftest.$ac_ext >&5
30095 ac_cv_lib_m_erfc=no
30097 rm -f conftest.err conftest.$ac_objext \
30098 conftest$ac_exeext conftest.$ac_ext
30099 LIBS=$ac_check_lib_save_LIBS
30101 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30102 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30103 if test $ac_cv_lib_m_erfc = yes; then
30105 cat >>confdefs.h <<\_ACEOF
30106 #define HAVE_ERFC 1
30111 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30112 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30113 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30114 echo $ECHO_N "(cached) $ECHO_C" >&6
30116 ac_check_lib_save_LIBS=$LIBS
30118 if test x$gcc_no_link = xyes; then
30119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30121 { (exit 1); exit 1; }; }
30123 cat >conftest.$ac_ext <<_ACEOF
30126 cat confdefs.h >>conftest.$ac_ext
30127 cat >>conftest.$ac_ext <<_ACEOF
30128 /* end confdefs.h. */
30130 /* Override any gcc2 internal prototype to avoid an error. */
30134 /* We use char because int might match the return type of a gcc2
30135 builtin and then its argument prototype would still apply. */
30145 rm -f conftest.$ac_objext conftest$ac_exeext
30146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30147 (eval $ac_link) 2>conftest.er1
30149 grep -v '^ *+' conftest.er1 >conftest.err
30151 cat conftest.err >&5
30152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30153 (exit $ac_status); } &&
30154 { ac_try='test -z "$ac_c_werror_flag"
30155 || test ! -s conftest.err'
30156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30157 (eval $ac_try) 2>&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); }; } &&
30161 { ac_try='test -s conftest$ac_exeext'
30162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30163 (eval $ac_try) 2>&5
30165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30166 (exit $ac_status); }; }; then
30167 ac_cv_lib_m_erfcl=yes
30169 echo "$as_me: failed program was:" >&5
30170 sed 's/^/| /' conftest.$ac_ext >&5
30172 ac_cv_lib_m_erfcl=no
30174 rm -f conftest.err conftest.$ac_objext \
30175 conftest$ac_exeext conftest.$ac_ext
30176 LIBS=$ac_check_lib_save_LIBS
30178 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30179 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30180 if test $ac_cv_lib_m_erfcl = yes; then
30182 cat >>confdefs.h <<\_ACEOF
30183 #define HAVE_ERFCL 1
30188 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30189 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30190 if test "${ac_cv_lib_m_j0f+set}" = set; then
30191 echo $ECHO_N "(cached) $ECHO_C" >&6
30193 ac_check_lib_save_LIBS=$LIBS
30195 if test x$gcc_no_link = xyes; then
30196 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30197 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30198 { (exit 1); exit 1; }; }
30200 cat >conftest.$ac_ext <<_ACEOF
30203 cat confdefs.h >>conftest.$ac_ext
30204 cat >>conftest.$ac_ext <<_ACEOF
30205 /* end confdefs.h. */
30207 /* Override any gcc2 internal prototype to avoid an error. */
30211 /* We use char because int might match the return type of a gcc2
30212 builtin and then its argument prototype would still apply. */
30222 rm -f conftest.$ac_objext conftest$ac_exeext
30223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30224 (eval $ac_link) 2>conftest.er1
30226 grep -v '^ *+' conftest.er1 >conftest.err
30228 cat conftest.err >&5
30229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30230 (exit $ac_status); } &&
30231 { ac_try='test -z "$ac_c_werror_flag"
30232 || test ! -s conftest.err'
30233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30234 (eval $ac_try) 2>&5
30236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30237 (exit $ac_status); }; } &&
30238 { ac_try='test -s conftest$ac_exeext'
30239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30240 (eval $ac_try) 2>&5
30242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30243 (exit $ac_status); }; }; then
30244 ac_cv_lib_m_j0f=yes
30246 echo "$as_me: failed program was:" >&5
30247 sed 's/^/| /' conftest.$ac_ext >&5
30251 rm -f conftest.err conftest.$ac_objext \
30252 conftest$ac_exeext conftest.$ac_ext
30253 LIBS=$ac_check_lib_save_LIBS
30255 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30256 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30257 if test $ac_cv_lib_m_j0f = yes; then
30259 cat >>confdefs.h <<\_ACEOF
30265 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30266 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30267 if test "${ac_cv_lib_m_j0+set}" = set; then
30268 echo $ECHO_N "(cached) $ECHO_C" >&6
30270 ac_check_lib_save_LIBS=$LIBS
30272 if test x$gcc_no_link = xyes; then
30273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30275 { (exit 1); exit 1; }; }
30277 cat >conftest.$ac_ext <<_ACEOF
30280 cat confdefs.h >>conftest.$ac_ext
30281 cat >>conftest.$ac_ext <<_ACEOF
30282 /* end confdefs.h. */
30284 /* Override any gcc2 internal prototype to avoid an error. */
30288 /* We use char because int might match the return type of a gcc2
30289 builtin and then its argument prototype would still apply. */
30299 rm -f conftest.$ac_objext conftest$ac_exeext
30300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30301 (eval $ac_link) 2>conftest.er1
30303 grep -v '^ *+' conftest.er1 >conftest.err
30305 cat conftest.err >&5
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); } &&
30308 { ac_try='test -z "$ac_c_werror_flag"
30309 || test ! -s conftest.err'
30310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30311 (eval $ac_try) 2>&5
30313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30314 (exit $ac_status); }; } &&
30315 { ac_try='test -s conftest$ac_exeext'
30316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30317 (eval $ac_try) 2>&5
30319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30320 (exit $ac_status); }; }; then
30323 echo "$as_me: failed program was:" >&5
30324 sed 's/^/| /' conftest.$ac_ext >&5
30328 rm -f conftest.err conftest.$ac_objext \
30329 conftest$ac_exeext conftest.$ac_ext
30330 LIBS=$ac_check_lib_save_LIBS
30332 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
30333 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
30334 if test $ac_cv_lib_m_j0 = yes; then
30336 cat >>confdefs.h <<\_ACEOF
30342 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
30343 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
30344 if test "${ac_cv_lib_m_j0l+set}" = set; then
30345 echo $ECHO_N "(cached) $ECHO_C" >&6
30347 ac_check_lib_save_LIBS=$LIBS
30349 if test x$gcc_no_link = xyes; then
30350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30352 { (exit 1); exit 1; }; }
30354 cat >conftest.$ac_ext <<_ACEOF
30357 cat confdefs.h >>conftest.$ac_ext
30358 cat >>conftest.$ac_ext <<_ACEOF
30359 /* end confdefs.h. */
30361 /* Override any gcc2 internal prototype to avoid an error. */
30365 /* We use char because int might match the return type of a gcc2
30366 builtin and then its argument prototype would still apply. */
30376 rm -f conftest.$ac_objext conftest$ac_exeext
30377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30378 (eval $ac_link) 2>conftest.er1
30380 grep -v '^ *+' conftest.er1 >conftest.err
30382 cat conftest.err >&5
30383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30384 (exit $ac_status); } &&
30385 { ac_try='test -z "$ac_c_werror_flag"
30386 || test ! -s conftest.err'
30387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30388 (eval $ac_try) 2>&5
30390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30391 (exit $ac_status); }; } &&
30392 { ac_try='test -s conftest$ac_exeext'
30393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30394 (eval $ac_try) 2>&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); }; }; then
30398 ac_cv_lib_m_j0l=yes
30400 echo "$as_me: failed program was:" >&5
30401 sed 's/^/| /' conftest.$ac_ext >&5
30405 rm -f conftest.err conftest.$ac_objext \
30406 conftest$ac_exeext conftest.$ac_ext
30407 LIBS=$ac_check_lib_save_LIBS
30409 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
30410 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
30411 if test $ac_cv_lib_m_j0l = yes; then
30413 cat >>confdefs.h <<\_ACEOF
30419 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
30420 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
30421 if test "${ac_cv_lib_m_j1f+set}" = set; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30424 ac_check_lib_save_LIBS=$LIBS
30426 if test x$gcc_no_link = xyes; then
30427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30429 { (exit 1); exit 1; }; }
30431 cat >conftest.$ac_ext <<_ACEOF
30434 cat confdefs.h >>conftest.$ac_ext
30435 cat >>conftest.$ac_ext <<_ACEOF
30436 /* end confdefs.h. */
30438 /* Override any gcc2 internal prototype to avoid an error. */
30442 /* We use char because int might match the return type of a gcc2
30443 builtin and then its argument prototype would still apply. */
30453 rm -f conftest.$ac_objext conftest$ac_exeext
30454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30455 (eval $ac_link) 2>conftest.er1
30457 grep -v '^ *+' conftest.er1 >conftest.err
30459 cat conftest.err >&5
30460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30461 (exit $ac_status); } &&
30462 { ac_try='test -z "$ac_c_werror_flag"
30463 || test ! -s conftest.err'
30464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30465 (eval $ac_try) 2>&5
30467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30468 (exit $ac_status); }; } &&
30469 { ac_try='test -s conftest$ac_exeext'
30470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30471 (eval $ac_try) 2>&5
30473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30474 (exit $ac_status); }; }; then
30475 ac_cv_lib_m_j1f=yes
30477 echo "$as_me: failed program was:" >&5
30478 sed 's/^/| /' conftest.$ac_ext >&5
30482 rm -f conftest.err conftest.$ac_objext \
30483 conftest$ac_exeext conftest.$ac_ext
30484 LIBS=$ac_check_lib_save_LIBS
30486 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
30487 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
30488 if test $ac_cv_lib_m_j1f = yes; then
30490 cat >>confdefs.h <<\_ACEOF
30496 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
30497 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
30498 if test "${ac_cv_lib_m_j1+set}" = set; then
30499 echo $ECHO_N "(cached) $ECHO_C" >&6
30501 ac_check_lib_save_LIBS=$LIBS
30503 if test x$gcc_no_link = xyes; then
30504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30506 { (exit 1); exit 1; }; }
30508 cat >conftest.$ac_ext <<_ACEOF
30511 cat confdefs.h >>conftest.$ac_ext
30512 cat >>conftest.$ac_ext <<_ACEOF
30513 /* end confdefs.h. */
30515 /* Override any gcc2 internal prototype to avoid an error. */
30519 /* We use char because int might match the return type of a gcc2
30520 builtin and then its argument prototype would still apply. */
30530 rm -f conftest.$ac_objext conftest$ac_exeext
30531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30532 (eval $ac_link) 2>conftest.er1
30534 grep -v '^ *+' conftest.er1 >conftest.err
30536 cat conftest.err >&5
30537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30538 (exit $ac_status); } &&
30539 { ac_try='test -z "$ac_c_werror_flag"
30540 || test ! -s conftest.err'
30541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30542 (eval $ac_try) 2>&5
30544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30545 (exit $ac_status); }; } &&
30546 { ac_try='test -s conftest$ac_exeext'
30547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30548 (eval $ac_try) 2>&5
30550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30551 (exit $ac_status); }; }; then
30554 echo "$as_me: failed program was:" >&5
30555 sed 's/^/| /' conftest.$ac_ext >&5
30559 rm -f conftest.err conftest.$ac_objext \
30560 conftest$ac_exeext conftest.$ac_ext
30561 LIBS=$ac_check_lib_save_LIBS
30563 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
30564 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
30565 if test $ac_cv_lib_m_j1 = yes; then
30567 cat >>confdefs.h <<\_ACEOF
30573 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
30574 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
30575 if test "${ac_cv_lib_m_j1l+set}" = set; then
30576 echo $ECHO_N "(cached) $ECHO_C" >&6
30578 ac_check_lib_save_LIBS=$LIBS
30580 if test x$gcc_no_link = xyes; then
30581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30583 { (exit 1); exit 1; }; }
30585 cat >conftest.$ac_ext <<_ACEOF
30588 cat confdefs.h >>conftest.$ac_ext
30589 cat >>conftest.$ac_ext <<_ACEOF
30590 /* end confdefs.h. */
30592 /* Override any gcc2 internal prototype to avoid an error. */
30596 /* We use char because int might match the return type of a gcc2
30597 builtin and then its argument prototype would still apply. */
30607 rm -f conftest.$ac_objext conftest$ac_exeext
30608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30609 (eval $ac_link) 2>conftest.er1
30611 grep -v '^ *+' conftest.er1 >conftest.err
30613 cat conftest.err >&5
30614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30615 (exit $ac_status); } &&
30616 { ac_try='test -z "$ac_c_werror_flag"
30617 || test ! -s conftest.err'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; } &&
30623 { ac_try='test -s conftest$ac_exeext'
30624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30625 (eval $ac_try) 2>&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); }; }; then
30629 ac_cv_lib_m_j1l=yes
30631 echo "$as_me: failed program was:" >&5
30632 sed 's/^/| /' conftest.$ac_ext >&5
30636 rm -f conftest.err conftest.$ac_objext \
30637 conftest$ac_exeext conftest.$ac_ext
30638 LIBS=$ac_check_lib_save_LIBS
30640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
30641 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
30642 if test $ac_cv_lib_m_j1l = yes; then
30644 cat >>confdefs.h <<\_ACEOF
30650 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
30651 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
30652 if test "${ac_cv_lib_m_jnf+set}" = set; then
30653 echo $ECHO_N "(cached) $ECHO_C" >&6
30655 ac_check_lib_save_LIBS=$LIBS
30657 if test x$gcc_no_link = xyes; then
30658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30660 { (exit 1); exit 1; }; }
30662 cat >conftest.$ac_ext <<_ACEOF
30665 cat confdefs.h >>conftest.$ac_ext
30666 cat >>conftest.$ac_ext <<_ACEOF
30667 /* end confdefs.h. */
30669 /* Override any gcc2 internal prototype to avoid an error. */
30673 /* We use char because int might match the return type of a gcc2
30674 builtin and then its argument prototype would still apply. */
30684 rm -f conftest.$ac_objext conftest$ac_exeext
30685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30686 (eval $ac_link) 2>conftest.er1
30688 grep -v '^ *+' conftest.er1 >conftest.err
30690 cat conftest.err >&5
30691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30692 (exit $ac_status); } &&
30693 { ac_try='test -z "$ac_c_werror_flag"
30694 || test ! -s conftest.err'
30695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30696 (eval $ac_try) 2>&5
30698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30699 (exit $ac_status); }; } &&
30700 { ac_try='test -s conftest$ac_exeext'
30701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30702 (eval $ac_try) 2>&5
30704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30705 (exit $ac_status); }; }; then
30706 ac_cv_lib_m_jnf=yes
30708 echo "$as_me: failed program was:" >&5
30709 sed 's/^/| /' conftest.$ac_ext >&5
30713 rm -f conftest.err conftest.$ac_objext \
30714 conftest$ac_exeext conftest.$ac_ext
30715 LIBS=$ac_check_lib_save_LIBS
30717 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
30718 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
30719 if test $ac_cv_lib_m_jnf = yes; then
30721 cat >>confdefs.h <<\_ACEOF
30727 echo "$as_me:$LINENO: checking for jn in -lm" >&5
30728 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
30729 if test "${ac_cv_lib_m_jn+set}" = set; then
30730 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 ac_check_lib_save_LIBS=$LIBS
30734 if test x$gcc_no_link = xyes; then
30735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30737 { (exit 1); exit 1; }; }
30739 cat >conftest.$ac_ext <<_ACEOF
30742 cat confdefs.h >>conftest.$ac_ext
30743 cat >>conftest.$ac_ext <<_ACEOF
30744 /* end confdefs.h. */
30746 /* Override any gcc2 internal prototype to avoid an error. */
30750 /* We use char because int might match the return type of a gcc2
30751 builtin and then its argument prototype would still apply. */
30761 rm -f conftest.$ac_objext conftest$ac_exeext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30763 (eval $ac_link) 2>conftest.er1
30765 grep -v '^ *+' conftest.er1 >conftest.err
30767 cat conftest.err >&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); } &&
30770 { ac_try='test -z "$ac_c_werror_flag"
30771 || test ! -s conftest.err'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; } &&
30777 { ac_try='test -s conftest$ac_exeext'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; }; then
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30790 rm -f conftest.err conftest.$ac_objext \
30791 conftest$ac_exeext conftest.$ac_ext
30792 LIBS=$ac_check_lib_save_LIBS
30794 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
30795 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
30796 if test $ac_cv_lib_m_jn = yes; then
30798 cat >>confdefs.h <<\_ACEOF
30804 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
30805 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
30806 if test "${ac_cv_lib_m_jnl+set}" = set; then
30807 echo $ECHO_N "(cached) $ECHO_C" >&6
30809 ac_check_lib_save_LIBS=$LIBS
30811 if test x$gcc_no_link = xyes; then
30812 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30814 { (exit 1); exit 1; }; }
30816 cat >conftest.$ac_ext <<_ACEOF
30819 cat confdefs.h >>conftest.$ac_ext
30820 cat >>conftest.$ac_ext <<_ACEOF
30821 /* end confdefs.h. */
30823 /* Override any gcc2 internal prototype to avoid an error. */
30827 /* We use char because int might match the return type of a gcc2
30828 builtin and then its argument prototype would still apply. */
30838 rm -f conftest.$ac_objext conftest$ac_exeext
30839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30840 (eval $ac_link) 2>conftest.er1
30842 grep -v '^ *+' conftest.er1 >conftest.err
30844 cat conftest.err >&5
30845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30846 (exit $ac_status); } &&
30847 { ac_try='test -z "$ac_c_werror_flag"
30848 || test ! -s conftest.err'
30849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30850 (eval $ac_try) 2>&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); }; } &&
30854 { ac_try='test -s conftest$ac_exeext'
30855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30856 (eval $ac_try) 2>&5
30858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30859 (exit $ac_status); }; }; then
30860 ac_cv_lib_m_jnl=yes
30862 echo "$as_me: failed program was:" >&5
30863 sed 's/^/| /' conftest.$ac_ext >&5
30867 rm -f conftest.err conftest.$ac_objext \
30868 conftest$ac_exeext conftest.$ac_ext
30869 LIBS=$ac_check_lib_save_LIBS
30871 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
30872 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
30873 if test $ac_cv_lib_m_jnl = yes; then
30875 cat >>confdefs.h <<\_ACEOF
30881 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
30882 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
30883 if test "${ac_cv_lib_m_y0f+set}" = set; then
30884 echo $ECHO_N "(cached) $ECHO_C" >&6
30886 ac_check_lib_save_LIBS=$LIBS
30888 if test x$gcc_no_link = xyes; then
30889 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30890 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30891 { (exit 1); exit 1; }; }
30893 cat >conftest.$ac_ext <<_ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30900 /* Override any gcc2 internal prototype to avoid an error. */
30904 /* We use char because int might match the return type of a gcc2
30905 builtin and then its argument prototype would still apply. */
30915 rm -f conftest.$ac_objext conftest$ac_exeext
30916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30917 (eval $ac_link) 2>conftest.er1
30919 grep -v '^ *+' conftest.er1 >conftest.err
30921 cat conftest.err >&5
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } &&
30924 { ac_try='test -z "$ac_c_werror_flag"
30925 || test ! -s conftest.err'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; } &&
30931 { ac_try='test -s conftest$ac_exeext'
30932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30933 (eval $ac_try) 2>&5
30935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30936 (exit $ac_status); }; }; then
30937 ac_cv_lib_m_y0f=yes
30939 echo "$as_me: failed program was:" >&5
30940 sed 's/^/| /' conftest.$ac_ext >&5
30944 rm -f conftest.err conftest.$ac_objext \
30945 conftest$ac_exeext conftest.$ac_ext
30946 LIBS=$ac_check_lib_save_LIBS
30948 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
30949 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
30950 if test $ac_cv_lib_m_y0f = yes; then
30952 cat >>confdefs.h <<\_ACEOF
30958 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
30959 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
30960 if test "${ac_cv_lib_m_y0+set}" = set; then
30961 echo $ECHO_N "(cached) $ECHO_C" >&6
30963 ac_check_lib_save_LIBS=$LIBS
30965 if test x$gcc_no_link = xyes; then
30966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30968 { (exit 1); exit 1; }; }
30970 cat >conftest.$ac_ext <<_ACEOF
30973 cat confdefs.h >>conftest.$ac_ext
30974 cat >>conftest.$ac_ext <<_ACEOF
30975 /* end confdefs.h. */
30977 /* Override any gcc2 internal prototype to avoid an error. */
30981 /* We use char because int might match the return type of a gcc2
30982 builtin and then its argument prototype would still apply. */
30992 rm -f conftest.$ac_objext conftest$ac_exeext
30993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30994 (eval $ac_link) 2>conftest.er1
30996 grep -v '^ *+' conftest.er1 >conftest.err
30998 cat conftest.err >&5
30999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31000 (exit $ac_status); } &&
31001 { ac_try='test -z "$ac_c_werror_flag"
31002 || test ! -s conftest.err'
31003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31004 (eval $ac_try) 2>&5
31006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31007 (exit $ac_status); }; } &&
31008 { ac_try='test -s conftest$ac_exeext'
31009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31010 (eval $ac_try) 2>&5
31012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31013 (exit $ac_status); }; }; then
31016 echo "$as_me: failed program was:" >&5
31017 sed 's/^/| /' conftest.$ac_ext >&5
31021 rm -f conftest.err conftest.$ac_objext \
31022 conftest$ac_exeext conftest.$ac_ext
31023 LIBS=$ac_check_lib_save_LIBS
31025 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31026 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31027 if test $ac_cv_lib_m_y0 = yes; then
31029 cat >>confdefs.h <<\_ACEOF
31035 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31036 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31037 if test "${ac_cv_lib_m_y0l+set}" = set; then
31038 echo $ECHO_N "(cached) $ECHO_C" >&6
31040 ac_check_lib_save_LIBS=$LIBS
31042 if test x$gcc_no_link = xyes; then
31043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31045 { (exit 1); exit 1; }; }
31047 cat >conftest.$ac_ext <<_ACEOF
31050 cat confdefs.h >>conftest.$ac_ext
31051 cat >>conftest.$ac_ext <<_ACEOF
31052 /* end confdefs.h. */
31054 /* Override any gcc2 internal prototype to avoid an error. */
31058 /* We use char because int might match the return type of a gcc2
31059 builtin and then its argument prototype would still apply. */
31069 rm -f conftest.$ac_objext conftest$ac_exeext
31070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31071 (eval $ac_link) 2>conftest.er1
31073 grep -v '^ *+' conftest.er1 >conftest.err
31075 cat conftest.err >&5
31076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31077 (exit $ac_status); } &&
31078 { ac_try='test -z "$ac_c_werror_flag"
31079 || test ! -s conftest.err'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; } &&
31085 { ac_try='test -s conftest$ac_exeext'
31086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31087 (eval $ac_try) 2>&5
31089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31090 (exit $ac_status); }; }; then
31091 ac_cv_lib_m_y0l=yes
31093 echo "$as_me: failed program was:" >&5
31094 sed 's/^/| /' conftest.$ac_ext >&5
31098 rm -f conftest.err conftest.$ac_objext \
31099 conftest$ac_exeext conftest.$ac_ext
31100 LIBS=$ac_check_lib_save_LIBS
31102 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31103 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31104 if test $ac_cv_lib_m_y0l = yes; then
31106 cat >>confdefs.h <<\_ACEOF
31112 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31113 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31114 if test "${ac_cv_lib_m_y1f+set}" = set; then
31115 echo $ECHO_N "(cached) $ECHO_C" >&6
31117 ac_check_lib_save_LIBS=$LIBS
31119 if test x$gcc_no_link = xyes; then
31120 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31121 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31122 { (exit 1); exit 1; }; }
31124 cat >conftest.$ac_ext <<_ACEOF
31127 cat confdefs.h >>conftest.$ac_ext
31128 cat >>conftest.$ac_ext <<_ACEOF
31129 /* end confdefs.h. */
31131 /* Override any gcc2 internal prototype to avoid an error. */
31135 /* We use char because int might match the return type of a gcc2
31136 builtin and then its argument prototype would still apply. */
31146 rm -f conftest.$ac_objext conftest$ac_exeext
31147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31148 (eval $ac_link) 2>conftest.er1
31150 grep -v '^ *+' conftest.er1 >conftest.err
31152 cat conftest.err >&5
31153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31154 (exit $ac_status); } &&
31155 { ac_try='test -z "$ac_c_werror_flag"
31156 || test ! -s conftest.err'
31157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31158 (eval $ac_try) 2>&5
31160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31161 (exit $ac_status); }; } &&
31162 { ac_try='test -s conftest$ac_exeext'
31163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31164 (eval $ac_try) 2>&5
31166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31167 (exit $ac_status); }; }; then
31168 ac_cv_lib_m_y1f=yes
31170 echo "$as_me: failed program was:" >&5
31171 sed 's/^/| /' conftest.$ac_ext >&5
31175 rm -f conftest.err conftest.$ac_objext \
31176 conftest$ac_exeext conftest.$ac_ext
31177 LIBS=$ac_check_lib_save_LIBS
31179 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31180 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31181 if test $ac_cv_lib_m_y1f = yes; then
31183 cat >>confdefs.h <<\_ACEOF
31189 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31190 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31191 if test "${ac_cv_lib_m_y1+set}" = set; then
31192 echo $ECHO_N "(cached) $ECHO_C" >&6
31194 ac_check_lib_save_LIBS=$LIBS
31196 if test x$gcc_no_link = xyes; then
31197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31199 { (exit 1); exit 1; }; }
31201 cat >conftest.$ac_ext <<_ACEOF
31204 cat confdefs.h >>conftest.$ac_ext
31205 cat >>conftest.$ac_ext <<_ACEOF
31206 /* end confdefs.h. */
31208 /* Override any gcc2 internal prototype to avoid an error. */
31212 /* We use char because int might match the return type of a gcc2
31213 builtin and then its argument prototype would still apply. */
31223 rm -f conftest.$ac_objext conftest$ac_exeext
31224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31225 (eval $ac_link) 2>conftest.er1
31227 grep -v '^ *+' conftest.er1 >conftest.err
31229 cat conftest.err >&5
31230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31231 (exit $ac_status); } &&
31232 { ac_try='test -z "$ac_c_werror_flag"
31233 || test ! -s conftest.err'
31234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31235 (eval $ac_try) 2>&5
31237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31238 (exit $ac_status); }; } &&
31239 { ac_try='test -s conftest$ac_exeext'
31240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31241 (eval $ac_try) 2>&5
31243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31244 (exit $ac_status); }; }; then
31247 echo "$as_me: failed program was:" >&5
31248 sed 's/^/| /' conftest.$ac_ext >&5
31252 rm -f conftest.err conftest.$ac_objext \
31253 conftest$ac_exeext conftest.$ac_ext
31254 LIBS=$ac_check_lib_save_LIBS
31256 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31257 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31258 if test $ac_cv_lib_m_y1 = yes; then
31260 cat >>confdefs.h <<\_ACEOF
31266 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31267 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31268 if test "${ac_cv_lib_m_y1l+set}" = set; then
31269 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 ac_check_lib_save_LIBS=$LIBS
31273 if test x$gcc_no_link = xyes; then
31274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31276 { (exit 1); exit 1; }; }
31278 cat >conftest.$ac_ext <<_ACEOF
31281 cat confdefs.h >>conftest.$ac_ext
31282 cat >>conftest.$ac_ext <<_ACEOF
31283 /* end confdefs.h. */
31285 /* Override any gcc2 internal prototype to avoid an error. */
31289 /* We use char because int might match the return type of a gcc2
31290 builtin and then its argument prototype would still apply. */
31300 rm -f conftest.$ac_objext conftest$ac_exeext
31301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31302 (eval $ac_link) 2>conftest.er1
31304 grep -v '^ *+' conftest.er1 >conftest.err
31306 cat conftest.err >&5
31307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31308 (exit $ac_status); } &&
31309 { ac_try='test -z "$ac_c_werror_flag"
31310 || test ! -s conftest.err'
31311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31312 (eval $ac_try) 2>&5
31314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31315 (exit $ac_status); }; } &&
31316 { ac_try='test -s conftest$ac_exeext'
31317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31318 (eval $ac_try) 2>&5
31320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31321 (exit $ac_status); }; }; then
31322 ac_cv_lib_m_y1l=yes
31324 echo "$as_me: failed program was:" >&5
31325 sed 's/^/| /' conftest.$ac_ext >&5
31329 rm -f conftest.err conftest.$ac_objext \
31330 conftest$ac_exeext conftest.$ac_ext
31331 LIBS=$ac_check_lib_save_LIBS
31333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
31334 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
31335 if test $ac_cv_lib_m_y1l = yes; then
31337 cat >>confdefs.h <<\_ACEOF
31343 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
31344 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
31345 if test "${ac_cv_lib_m_ynf+set}" = set; then
31346 echo $ECHO_N "(cached) $ECHO_C" >&6
31348 ac_check_lib_save_LIBS=$LIBS
31350 if test x$gcc_no_link = xyes; then
31351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31353 { (exit 1); exit 1; }; }
31355 cat >conftest.$ac_ext <<_ACEOF
31358 cat confdefs.h >>conftest.$ac_ext
31359 cat >>conftest.$ac_ext <<_ACEOF
31360 /* end confdefs.h. */
31362 /* Override any gcc2 internal prototype to avoid an error. */
31366 /* We use char because int might match the return type of a gcc2
31367 builtin and then its argument prototype would still apply. */
31377 rm -f conftest.$ac_objext conftest$ac_exeext
31378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31379 (eval $ac_link) 2>conftest.er1
31381 grep -v '^ *+' conftest.er1 >conftest.err
31383 cat conftest.err >&5
31384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31385 (exit $ac_status); } &&
31386 { ac_try='test -z "$ac_c_werror_flag"
31387 || test ! -s conftest.err'
31388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31389 (eval $ac_try) 2>&5
31391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31392 (exit $ac_status); }; } &&
31393 { ac_try='test -s conftest$ac_exeext'
31394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31395 (eval $ac_try) 2>&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); }; }; then
31399 ac_cv_lib_m_ynf=yes
31401 echo "$as_me: failed program was:" >&5
31402 sed 's/^/| /' conftest.$ac_ext >&5
31406 rm -f conftest.err conftest.$ac_objext \
31407 conftest$ac_exeext conftest.$ac_ext
31408 LIBS=$ac_check_lib_save_LIBS
31410 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
31411 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
31412 if test $ac_cv_lib_m_ynf = yes; then
31414 cat >>confdefs.h <<\_ACEOF
31420 echo "$as_me:$LINENO: checking for yn in -lm" >&5
31421 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
31422 if test "${ac_cv_lib_m_yn+set}" = set; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31425 ac_check_lib_save_LIBS=$LIBS
31427 if test x$gcc_no_link = xyes; then
31428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31430 { (exit 1); exit 1; }; }
31432 cat >conftest.$ac_ext <<_ACEOF
31435 cat confdefs.h >>conftest.$ac_ext
31436 cat >>conftest.$ac_ext <<_ACEOF
31437 /* end confdefs.h. */
31439 /* Override any gcc2 internal prototype to avoid an error. */
31443 /* We use char because int might match the return type of a gcc2
31444 builtin and then its argument prototype would still apply. */
31454 rm -f conftest.$ac_objext conftest$ac_exeext
31455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31456 (eval $ac_link) 2>conftest.er1
31458 grep -v '^ *+' conftest.er1 >conftest.err
31460 cat conftest.err >&5
31461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31462 (exit $ac_status); } &&
31463 { ac_try='test -z "$ac_c_werror_flag"
31464 || test ! -s conftest.err'
31465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31466 (eval $ac_try) 2>&5
31468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31469 (exit $ac_status); }; } &&
31470 { ac_try='test -s conftest$ac_exeext'
31471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31472 (eval $ac_try) 2>&5
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); }; }; then
31478 echo "$as_me: failed program was:" >&5
31479 sed 's/^/| /' conftest.$ac_ext >&5
31483 rm -f conftest.err conftest.$ac_objext \
31484 conftest$ac_exeext conftest.$ac_ext
31485 LIBS=$ac_check_lib_save_LIBS
31487 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
31488 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
31489 if test $ac_cv_lib_m_yn = yes; then
31491 cat >>confdefs.h <<\_ACEOF
31497 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
31498 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
31499 if test "${ac_cv_lib_m_ynl+set}" = set; then
31500 echo $ECHO_N "(cached) $ECHO_C" >&6
31502 ac_check_lib_save_LIBS=$LIBS
31504 if test x$gcc_no_link = xyes; then
31505 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31507 { (exit 1); exit 1; }; }
31509 cat >conftest.$ac_ext <<_ACEOF
31512 cat confdefs.h >>conftest.$ac_ext
31513 cat >>conftest.$ac_ext <<_ACEOF
31514 /* end confdefs.h. */
31516 /* Override any gcc2 internal prototype to avoid an error. */
31520 /* We use char because int might match the return type of a gcc2
31521 builtin and then its argument prototype would still apply. */
31531 rm -f conftest.$ac_objext conftest$ac_exeext
31532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31533 (eval $ac_link) 2>conftest.er1
31535 grep -v '^ *+' conftest.er1 >conftest.err
31537 cat conftest.err >&5
31538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539 (exit $ac_status); } &&
31540 { ac_try='test -z "$ac_c_werror_flag"
31541 || test ! -s conftest.err'
31542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31543 (eval $ac_try) 2>&5
31545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31546 (exit $ac_status); }; } &&
31547 { ac_try='test -s conftest$ac_exeext'
31548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31549 (eval $ac_try) 2>&5
31551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31552 (exit $ac_status); }; }; then
31553 ac_cv_lib_m_ynl=yes
31555 echo "$as_me: failed program was:" >&5
31556 sed 's/^/| /' conftest.$ac_ext >&5
31560 rm -f conftest.err conftest.$ac_objext \
31561 conftest$ac_exeext conftest.$ac_ext
31562 LIBS=$ac_check_lib_save_LIBS
31564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
31565 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
31566 if test $ac_cv_lib_m_ynl = yes; then
31568 cat >>confdefs.h <<\_ACEOF
31574 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
31575 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
31576 if test "${ac_cv_lib_m_tgamma+set}" = set; then
31577 echo $ECHO_N "(cached) $ECHO_C" >&6
31579 ac_check_lib_save_LIBS=$LIBS
31581 if test x$gcc_no_link = xyes; then
31582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31584 { (exit 1); exit 1; }; }
31586 cat >conftest.$ac_ext <<_ACEOF
31589 cat confdefs.h >>conftest.$ac_ext
31590 cat >>conftest.$ac_ext <<_ACEOF
31591 /* end confdefs.h. */
31593 /* Override any gcc2 internal prototype to avoid an error. */
31597 /* We use char because int might match the return type of a gcc2
31598 builtin and then its argument prototype would still apply. */
31608 rm -f conftest.$ac_objext conftest$ac_exeext
31609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31610 (eval $ac_link) 2>conftest.er1
31612 grep -v '^ *+' conftest.er1 >conftest.err
31614 cat conftest.err >&5
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); } &&
31617 { ac_try='test -z "$ac_c_werror_flag"
31618 || test ! -s conftest.err'
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); }; } &&
31624 { ac_try='test -s conftest$ac_exeext'
31625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31626 (eval $ac_try) 2>&5
31628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31629 (exit $ac_status); }; }; then
31630 ac_cv_lib_m_tgamma=yes
31632 echo "$as_me: failed program was:" >&5
31633 sed 's/^/| /' conftest.$ac_ext >&5
31635 ac_cv_lib_m_tgamma=no
31637 rm -f conftest.err conftest.$ac_objext \
31638 conftest$ac_exeext conftest.$ac_ext
31639 LIBS=$ac_check_lib_save_LIBS
31641 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
31642 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
31643 if test $ac_cv_lib_m_tgamma = yes; then
31645 cat >>confdefs.h <<\_ACEOF
31646 #define HAVE_TGAMMA 1
31651 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
31652 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
31653 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 ac_check_lib_save_LIBS=$LIBS
31658 if test x$gcc_no_link = xyes; then
31659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31661 { (exit 1); exit 1; }; }
31663 cat >conftest.$ac_ext <<_ACEOF
31666 cat confdefs.h >>conftest.$ac_ext
31667 cat >>conftest.$ac_ext <<_ACEOF
31668 /* end confdefs.h. */
31670 /* Override any gcc2 internal prototype to avoid an error. */
31674 /* We use char because int might match the return type of a gcc2
31675 builtin and then its argument prototype would still apply. */
31685 rm -f conftest.$ac_objext conftest$ac_exeext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31687 (eval $ac_link) 2>conftest.er1
31689 grep -v '^ *+' conftest.er1 >conftest.err
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_c_werror_flag"
31695 || test ! -s conftest.err'
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); }; } &&
31701 { ac_try='test -s conftest$ac_exeext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 ac_cv_lib_m_tgammaf=yes
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31712 ac_cv_lib_m_tgammaf=no
31714 rm -f conftest.err conftest.$ac_objext \
31715 conftest$ac_exeext conftest.$ac_ext
31716 LIBS=$ac_check_lib_save_LIBS
31718 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
31719 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
31720 if test $ac_cv_lib_m_tgammaf = yes; then
31722 cat >>confdefs.h <<\_ACEOF
31723 #define HAVE_TGAMMAF 1
31728 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
31729 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
31730 if test "${ac_cv_lib_m_tgammal+set}" = set; then
31731 echo $ECHO_N "(cached) $ECHO_C" >&6
31733 ac_check_lib_save_LIBS=$LIBS
31735 if test x$gcc_no_link = xyes; then
31736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31738 { (exit 1); exit 1; }; }
31740 cat >conftest.$ac_ext <<_ACEOF
31743 cat confdefs.h >>conftest.$ac_ext
31744 cat >>conftest.$ac_ext <<_ACEOF
31745 /* end confdefs.h. */
31747 /* Override any gcc2 internal prototype to avoid an error. */
31751 /* We use char because int might match the return type of a gcc2
31752 builtin and then its argument prototype would still apply. */
31762 rm -f conftest.$ac_objext conftest$ac_exeext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31764 (eval $ac_link) 2>conftest.er1
31766 grep -v '^ *+' conftest.er1 >conftest.err
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -z "$ac_c_werror_flag"
31772 || test ! -s conftest.err'
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); }; } &&
31778 { ac_try='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 ac_cv_lib_m_tgammal=yes
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31789 ac_cv_lib_m_tgammal=no
31791 rm -f conftest.err conftest.$ac_objext \
31792 conftest$ac_exeext conftest.$ac_ext
31793 LIBS=$ac_check_lib_save_LIBS
31795 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
31796 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
31797 if test $ac_cv_lib_m_tgammal = yes; then
31799 cat >>confdefs.h <<\_ACEOF
31800 #define HAVE_TGAMMAL 1
31805 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
31806 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
31807 if test "${ac_cv_lib_m_lgamma+set}" = set; then
31808 echo $ECHO_N "(cached) $ECHO_C" >&6
31810 ac_check_lib_save_LIBS=$LIBS
31812 if test x$gcc_no_link = xyes; then
31813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31815 { (exit 1); exit 1; }; }
31817 cat >conftest.$ac_ext <<_ACEOF
31820 cat confdefs.h >>conftest.$ac_ext
31821 cat >>conftest.$ac_ext <<_ACEOF
31822 /* end confdefs.h. */
31824 /* Override any gcc2 internal prototype to avoid an error. */
31828 /* We use char because int might match the return type of a gcc2
31829 builtin and then its argument prototype would still apply. */
31839 rm -f conftest.$ac_objext conftest$ac_exeext
31840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31841 (eval $ac_link) 2>conftest.er1
31843 grep -v '^ *+' conftest.er1 >conftest.err
31845 cat conftest.err >&5
31846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31847 (exit $ac_status); } &&
31848 { ac_try='test -z "$ac_c_werror_flag"
31849 || test ! -s conftest.err'
31850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31851 (eval $ac_try) 2>&5
31853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31854 (exit $ac_status); }; } &&
31855 { ac_try='test -s conftest$ac_exeext'
31856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31857 (eval $ac_try) 2>&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); }; }; then
31861 ac_cv_lib_m_lgamma=yes
31863 echo "$as_me: failed program was:" >&5
31864 sed 's/^/| /' conftest.$ac_ext >&5
31866 ac_cv_lib_m_lgamma=no
31868 rm -f conftest.err conftest.$ac_objext \
31869 conftest$ac_exeext conftest.$ac_ext
31870 LIBS=$ac_check_lib_save_LIBS
31872 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
31873 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
31874 if test $ac_cv_lib_m_lgamma = yes; then
31876 cat >>confdefs.h <<\_ACEOF
31877 #define HAVE_LGAMMA 1
31882 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
31883 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
31884 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
31885 echo $ECHO_N "(cached) $ECHO_C" >&6
31887 ac_check_lib_save_LIBS=$LIBS
31889 if test x$gcc_no_link = xyes; then
31890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31892 { (exit 1); exit 1; }; }
31894 cat >conftest.$ac_ext <<_ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31901 /* Override any gcc2 internal prototype to avoid an error. */
31905 /* We use char because int might match the return type of a gcc2
31906 builtin and then its argument prototype would still apply. */
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31918 (eval $ac_link) 2>conftest.er1
31920 grep -v '^ *+' conftest.er1 >conftest.err
31922 cat conftest.err >&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); } &&
31925 { ac_try='test -z "$ac_c_werror_flag"
31926 || test ! -s conftest.err'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; } &&
31932 { ac_try='test -s conftest$ac_exeext'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; }; then
31938 ac_cv_lib_m_lgammaf=yes
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31943 ac_cv_lib_m_lgammaf=no
31945 rm -f conftest.err conftest.$ac_objext \
31946 conftest$ac_exeext conftest.$ac_ext
31947 LIBS=$ac_check_lib_save_LIBS
31949 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
31950 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
31951 if test $ac_cv_lib_m_lgammaf = yes; then
31953 cat >>confdefs.h <<\_ACEOF
31954 #define HAVE_LGAMMAF 1
31959 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
31960 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
31961 if test "${ac_cv_lib_m_lgammal+set}" = set; then
31962 echo $ECHO_N "(cached) $ECHO_C" >&6
31964 ac_check_lib_save_LIBS=$LIBS
31966 if test x$gcc_no_link = xyes; then
31967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31969 { (exit 1); exit 1; }; }
31971 cat >conftest.$ac_ext <<_ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31978 /* Override any gcc2 internal prototype to avoid an error. */
31982 /* We use char because int might match the return type of a gcc2
31983 builtin and then its argument prototype would still apply. */
31993 rm -f conftest.$ac_objext conftest$ac_exeext
31994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31995 (eval $ac_link) 2>conftest.er1
31997 grep -v '^ *+' conftest.er1 >conftest.err
31999 cat conftest.err >&5
32000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32001 (exit $ac_status); } &&
32002 { ac_try='test -z "$ac_c_werror_flag"
32003 || test ! -s conftest.err'
32004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32005 (eval $ac_try) 2>&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); }; } &&
32009 { ac_try='test -s conftest$ac_exeext'
32010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32011 (eval $ac_try) 2>&5
32013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32014 (exit $ac_status); }; }; then
32015 ac_cv_lib_m_lgammal=yes
32017 echo "$as_me: failed program was:" >&5
32018 sed 's/^/| /' conftest.$ac_ext >&5
32020 ac_cv_lib_m_lgammal=no
32022 rm -f conftest.err conftest.$ac_objext \
32023 conftest$ac_exeext conftest.$ac_ext
32024 LIBS=$ac_check_lib_save_LIBS
32026 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32027 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32028 if test $ac_cv_lib_m_lgammal = yes; then
32030 cat >>confdefs.h <<\_ACEOF
32031 #define HAVE_LGAMMAL 1
32037 # On AIX, clog is present in libm as __clog
32038 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32039 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32040 if test "${ac_cv_lib_m___clog+set}" = set; then
32041 echo $ECHO_N "(cached) $ECHO_C" >&6
32043 ac_check_lib_save_LIBS=$LIBS
32045 if test x$gcc_no_link = xyes; then
32046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32048 { (exit 1); exit 1; }; }
32050 cat >conftest.$ac_ext <<_ACEOF
32053 cat confdefs.h >>conftest.$ac_ext
32054 cat >>conftest.$ac_ext <<_ACEOF
32055 /* end confdefs.h. */
32057 /* Override any gcc2 internal prototype to avoid an error. */
32061 /* We use char because int might match the return type of a gcc2
32062 builtin and then its argument prototype would still apply. */
32072 rm -f conftest.$ac_objext conftest$ac_exeext
32073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32074 (eval $ac_link) 2>conftest.er1
32076 grep -v '^ *+' conftest.er1 >conftest.err
32078 cat conftest.err >&5
32079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32080 (exit $ac_status); } &&
32081 { ac_try='test -z "$ac_c_werror_flag"
32082 || test ! -s conftest.err'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; } &&
32088 { ac_try='test -s conftest$ac_exeext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 ac_cv_lib_m___clog=yes
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32099 ac_cv_lib_m___clog=no
32101 rm -f conftest.err conftest.$ac_objext \
32102 conftest$ac_exeext conftest.$ac_ext
32103 LIBS=$ac_check_lib_save_LIBS
32105 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32106 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32107 if test $ac_cv_lib_m___clog = yes; then
32109 cat >>confdefs.h <<\_ACEOF
32110 #define HAVE_CLOG 1
32116 # Check for a isfinite macro that works on long doubles.
32118 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32119 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32120 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32124 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32126 if test "$cross_compiling" = yes; then
32128 case "${target}" in
32129 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32130 *) libgfor_cv_have_broken_isfinite=no ;;
32133 cat >conftest.$ac_ext <<_ACEOF
32136 cat confdefs.h >>conftest.$ac_ext
32137 cat >>conftest.$ac_ext <<_ACEOF
32138 /* end confdefs.h. */
32146 if (!isfinite(LDBL_MAX)) return 1;
32149 if (!isfinite(DBL_MAX)) return 1;
32155 rm -f conftest$ac_exeext
32156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32157 (eval $ac_link) 2>&5
32159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32160 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32162 (eval $ac_try) 2>&5
32164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32165 (exit $ac_status); }; }; then
32166 libgfor_cv_have_broken_isfinite=no
32168 echo "$as_me: program exited with status $ac_status" >&5
32169 echo "$as_me: failed program was:" >&5
32170 sed 's/^/| /' conftest.$ac_ext >&5
32172 ( exit $ac_status )
32173 libgfor_cv_have_broken_isfinite=yes
32175 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32177 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32179 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32180 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32181 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32183 cat >>confdefs.h <<\_ACEOF
32184 #define HAVE_BROKEN_ISFINITE 1
32189 # Check for a isnan macro that works on long doubles.
32191 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32192 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32193 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32197 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32199 if test "$cross_compiling" = yes; then
32201 case "${target}" in
32202 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32203 *) libgfor_cv_have_broken_isnan=no ;;
32206 cat >conftest.$ac_ext <<_ACEOF
32209 cat confdefs.h >>conftest.$ac_ext
32210 cat >>conftest.$ac_ext <<_ACEOF
32211 /* end confdefs.h. */
32221 x = __builtin_nanl ("");
32222 if (!isnan(x)) return 1;
32223 if (isnan(LDBL_MAX)) return 1;
32225 x = (long double) NAN;
32226 if (!isnan(x)) return 1;
32233 y = __builtin_nan ("");
32234 if (!isnan(y)) return 1;
32235 if (isnan(DBL_MAX)) return 1;
32238 if (!isnan(y)) return 1;
32246 rm -f conftest$ac_exeext
32247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32248 (eval $ac_link) 2>&5
32250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32253 (eval $ac_try) 2>&5
32255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256 (exit $ac_status); }; }; then
32257 libgfor_cv_have_broken_isnan=no
32259 echo "$as_me: program exited with status $ac_status" >&5
32260 echo "$as_me: failed program was:" >&5
32261 sed 's/^/| /' conftest.$ac_ext >&5
32263 ( exit $ac_status )
32264 libgfor_cv_have_broken_isnan=yes
32266 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32268 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
32270 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
32271 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
32272 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
32274 cat >>confdefs.h <<\_ACEOF
32275 #define HAVE_BROKEN_ISNAN 1
32280 # Check for a fpclassify macro that works on long doubles.
32282 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32283 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32284 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
32290 if test "$cross_compiling" = yes; then
32292 case "${target}" in
32293 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
32294 *) libgfor_cv_have_broken_fpclassify=no ;;
32297 cat >conftest.$ac_ext <<_ACEOF
32300 cat confdefs.h >>conftest.$ac_ext
32301 cat >>conftest.$ac_ext <<_ACEOF
32302 /* end confdefs.h. */
32310 if (fpclassify(LDBL_MAX) == FP_NAN
32311 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
32314 if (fpclassify(DBL_MAX) == FP_NAN
32315 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
32321 rm -f conftest$ac_exeext
32322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32323 (eval $ac_link) 2>&5
32325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32326 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; }; then
32332 libgfor_cv_have_broken_fpclassify=no
32334 echo "$as_me: program exited with status $ac_status" >&5
32335 echo "$as_me: failed program was:" >&5
32336 sed 's/^/| /' conftest.$ac_ext >&5
32338 ( exit $ac_status )
32339 libgfor_cv_have_broken_fpclassify=yes
32341 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32343 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
32345 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
32346 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
32347 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
32349 cat >>confdefs.h <<\_ACEOF
32350 #define HAVE_BROKEN_FPCLASSIFY 1
32355 # Check whether the system has a working stat()
32357 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
32358 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
32359 if test "${libgfor_cv_have_working_stat+set}" = set; then
32360 echo $ECHO_N "(cached) $ECHO_C" >&6
32363 if test "$cross_compiling" = yes; then
32365 case "${target}" in
32366 *mingw*) libgfor_cv_have_working_stat=no ;;
32367 *) libgfor_cv_have_working_stat=yes;;
32370 cat >conftest.$ac_ext <<_ACEOF
32373 cat confdefs.h >>conftest.$ac_ext
32374 cat >>conftest.$ac_ext <<_ACEOF
32375 /* end confdefs.h. */
32378 #include <sys/types.h>
32379 #include <sys/stat.h>
32380 #include <unistd.h>
32385 struct stat st1, st2;
32387 f = fopen ("foo", "w");
32388 g = fopen ("bar", "w");
32389 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
32391 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
32398 rm -f conftest$ac_exeext
32399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32400 (eval $ac_link) 2>&5
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; }; then
32409 libgfor_cv_have_working_stat=yes
32411 echo "$as_me: program exited with status $ac_status" >&5
32412 echo "$as_me: failed program was:" >&5
32413 sed 's/^/| /' conftest.$ac_ext >&5
32415 ( exit $ac_status )
32416 libgfor_cv_have_working_stat=no
32418 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32421 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
32422 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
32423 if test x"$libgfor_cv_have_working_stat" = xyes; then
32425 cat >>confdefs.h <<\_ACEOF
32426 #define HAVE_WORKING_STAT 1
32431 # Check whether __mingw_snprintf() is present
32433 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
32434 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
32435 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
32436 echo $ECHO_N "(cached) $ECHO_C" >&6
32439 if test x$gcc_no_link = xyes; then
32440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32442 { (exit 1); exit 1; }; }
32444 cat >conftest.$ac_ext <<_ACEOF
32447 cat confdefs.h >>conftest.$ac_ext
32448 cat >>conftest.$ac_ext <<_ACEOF
32449 /* end confdefs.h. */
32452 extern int __mingw_snprintf (char *, size_t, const char *, ...);
32458 __mingw_snprintf (NULL, 0, "%d\n", 1);
32464 rm -f conftest.$ac_objext conftest$ac_exeext
32465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32466 (eval $ac_link) 2>conftest.er1
32468 grep -v '^ *+' conftest.er1 >conftest.err
32470 cat conftest.err >&5
32471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32472 (exit $ac_status); } &&
32473 { ac_try='test -z "$ac_c_werror_flag"
32474 || test ! -s conftest.err'
32475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32476 (eval $ac_try) 2>&5
32478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32479 (exit $ac_status); }; } &&
32480 { ac_try='test -s conftest$ac_exeext'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; }; then
32486 eval "libgfor_cv_have_mingw_snprintf=yes"
32488 echo "$as_me: failed program was:" >&5
32489 sed 's/^/| /' conftest.$ac_ext >&5
32491 eval "libgfor_cv_have_mingw_snprintf=no"
32493 rm -f conftest.err conftest.$ac_objext \
32494 conftest$ac_exeext conftest.$ac_ext
32497 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
32498 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
32499 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
32501 cat >>confdefs.h <<\_ACEOF
32502 #define HAVE_MINGW_SNPRINTF 1
32508 # Check for GNU libc feenableexcept
32509 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
32510 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
32511 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
32512 echo $ECHO_N "(cached) $ECHO_C" >&6
32514 ac_check_lib_save_LIBS=$LIBS
32516 if test x$gcc_no_link = xyes; then
32517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32519 { (exit 1); exit 1; }; }
32521 cat >conftest.$ac_ext <<_ACEOF
32524 cat confdefs.h >>conftest.$ac_ext
32525 cat >>conftest.$ac_ext <<_ACEOF
32526 /* end confdefs.h. */
32528 /* Override any gcc2 internal prototype to avoid an error. */
32532 /* We use char because int might match the return type of a gcc2
32533 builtin and then its argument prototype would still apply. */
32534 char feenableexcept ();
32543 rm -f conftest.$ac_objext conftest$ac_exeext
32544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32545 (eval $ac_link) 2>conftest.er1
32547 grep -v '^ *+' conftest.er1 >conftest.err
32549 cat conftest.err >&5
32550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32551 (exit $ac_status); } &&
32552 { ac_try='test -z "$ac_c_werror_flag"
32553 || test ! -s conftest.err'
32554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32555 (eval $ac_try) 2>&5
32557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32558 (exit $ac_status); }; } &&
32559 { ac_try='test -s conftest$ac_exeext'
32560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32561 (eval $ac_try) 2>&5
32563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32564 (exit $ac_status); }; }; then
32565 ac_cv_lib_m_feenableexcept=yes
32567 echo "$as_me: failed program was:" >&5
32568 sed 's/^/| /' conftest.$ac_ext >&5
32570 ac_cv_lib_m_feenableexcept=no
32572 rm -f conftest.err conftest.$ac_objext \
32573 conftest$ac_exeext conftest.$ac_ext
32574 LIBS=$ac_check_lib_save_LIBS
32576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
32577 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
32578 if test $ac_cv_lib_m_feenableexcept = yes; then
32579 have_feenableexcept=yes
32580 cat >>confdefs.h <<\_ACEOF
32581 #define HAVE_FEENABLEEXCEPT 1
32587 # Check for SysV fpsetmask
32589 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
32590 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
32591 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
32592 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 if test x$gcc_no_link = xyes; then
32596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32598 { (exit 1); exit 1; }; }
32600 cat >conftest.$ac_ext <<_ACEOF
32603 cat confdefs.h >>conftest.$ac_ext
32604 cat >>conftest.$ac_ext <<_ACEOF
32605 /* end confdefs.h. */
32607 #if HAVE_FLOATINGPOINT_H
32608 # include <floatingpoint.h>
32609 #endif /* HAVE_FLOATINGPOINT_H */
32611 # include <ieeefp.h>
32612 #endif /* HAVE_IEEEFP_H */
32621 rm -f conftest.$ac_objext conftest$ac_exeext
32622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32623 (eval $ac_link) 2>conftest.er1
32625 grep -v '^ *+' conftest.er1 >conftest.err
32627 cat conftest.err >&5
32628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32629 (exit $ac_status); } &&
32630 { ac_try='test -z "$ac_c_werror_flag"
32631 || test ! -s conftest.err'
32632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32633 (eval $ac_try) 2>&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); }; } &&
32637 { ac_try='test -s conftest$ac_exeext'
32638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32639 (eval $ac_try) 2>&5
32641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32642 (exit $ac_status); }; }; then
32643 eval "libgfor_cv_have_fpsetmask=yes"
32645 echo "$as_me: failed program was:" >&5
32646 sed 's/^/| /' conftest.$ac_ext >&5
32648 eval "libgfor_cv_have_fpsetmask=no"
32650 rm -f conftest.err conftest.$ac_objext \
32651 conftest$ac_exeext conftest.$ac_ext
32654 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
32655 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
32656 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
32658 cat >>confdefs.h <<\_ACEOF
32659 #define HAVE_FPSETMASK 1
32665 # Check for AIX fp_trap and fp_enable
32666 echo "$as_me:$LINENO: checking for fp_trap" >&5
32667 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
32668 if test "${ac_cv_func_fp_trap+set}" = set; then
32669 echo $ECHO_N "(cached) $ECHO_C" >&6
32671 if test x$gcc_no_link = xyes; then
32672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32674 { (exit 1); exit 1; }; }
32676 cat >conftest.$ac_ext <<_ACEOF
32679 cat confdefs.h >>conftest.$ac_ext
32680 cat >>conftest.$ac_ext <<_ACEOF
32681 /* end confdefs.h. */
32682 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
32683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32684 #define fp_trap innocuous_fp_trap
32686 /* System header to define __stub macros and hopefully few prototypes,
32687 which can conflict with char fp_trap (); below.
32688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32689 <limits.h> exists even on freestanding compilers. */
32692 # include <limits.h>
32694 # include <assert.h>
32699 /* Override any gcc2 internal prototype to avoid an error. */
32704 /* We use char because int might match the return type of a gcc2
32705 builtin and then its argument prototype would still apply. */
32707 /* The GNU C library defines this for functions which it implements
32708 to always fail with ENOSYS. Some functions are actually named
32709 something starting with __ and the normal name is an alias. */
32710 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
32713 char (*f) () = fp_trap;
32722 return f != fp_trap;
32727 rm -f conftest.$ac_objext conftest$ac_exeext
32728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32729 (eval $ac_link) 2>conftest.er1
32731 grep -v '^ *+' conftest.er1 >conftest.err
32733 cat conftest.err >&5
32734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32735 (exit $ac_status); } &&
32736 { ac_try='test -z "$ac_c_werror_flag"
32737 || test ! -s conftest.err'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; } &&
32743 { ac_try='test -s conftest$ac_exeext'
32744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32745 (eval $ac_try) 2>&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); }; }; then
32749 ac_cv_func_fp_trap=yes
32751 echo "$as_me: failed program was:" >&5
32752 sed 's/^/| /' conftest.$ac_ext >&5
32754 ac_cv_func_fp_trap=no
32756 rm -f conftest.err conftest.$ac_objext \
32757 conftest$ac_exeext conftest.$ac_ext
32759 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
32760 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
32761 if test $ac_cv_func_fp_trap = yes; then
32763 cat >>confdefs.h <<\_ACEOF
32764 #define HAVE_FP_TRAP 1
32769 echo "$as_me:$LINENO: checking for fp_enable" >&5
32770 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
32771 if test "${ac_cv_func_fp_enable+set}" = set; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32774 if test x$gcc_no_link = xyes; then
32775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32777 { (exit 1); exit 1; }; }
32779 cat >conftest.$ac_ext <<_ACEOF
32782 cat confdefs.h >>conftest.$ac_ext
32783 cat >>conftest.$ac_ext <<_ACEOF
32784 /* end confdefs.h. */
32785 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
32786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32787 #define fp_enable innocuous_fp_enable
32789 /* System header to define __stub macros and hopefully few prototypes,
32790 which can conflict with char fp_enable (); below.
32791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32792 <limits.h> exists even on freestanding compilers. */
32795 # include <limits.h>
32797 # include <assert.h>
32802 /* Override any gcc2 internal prototype to avoid an error. */
32807 /* We use char because int might match the return type of a gcc2
32808 builtin and then its argument prototype would still apply. */
32810 /* The GNU C library defines this for functions which it implements
32811 to always fail with ENOSYS. Some functions are actually named
32812 something starting with __ and the normal name is an alias. */
32813 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
32816 char (*f) () = fp_enable;
32825 return f != fp_enable;
32830 rm -f conftest.$ac_objext conftest$ac_exeext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32832 (eval $ac_link) 2>conftest.er1
32834 grep -v '^ *+' conftest.er1 >conftest.err
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_c_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest$ac_exeext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 ac_cv_func_fp_enable=yes
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 ac_cv_func_fp_enable=no
32859 rm -f conftest.err conftest.$ac_objext \
32860 conftest$ac_exeext conftest.$ac_ext
32862 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
32863 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
32864 if test $ac_cv_func_fp_enable = yes; then
32866 cat >>confdefs.h <<\_ACEOF
32867 #define HAVE_FP_ENABLE 1
32873 # Runs configure.host to set up necessary host-dependent shell variables.
32874 # We then display a message about it, and propagate them through the
32876 . ${srcdir}/configure.host
32877 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
32878 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
32879 FPU_HOST_HEADER=config/${fpu_host}.h
32882 # Check out attribute support.
32884 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
32885 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
32886 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32890 save_CFLAGS="$CFLAGS"
32891 CFLAGS="$CFLAGS -Werror"
32892 cat >conftest.$ac_ext <<_ACEOF
32895 cat confdefs.h >>conftest.$ac_ext
32896 cat >>conftest.$ac_ext <<_ACEOF
32897 /* end confdefs.h. */
32898 void __attribute__((visibility("hidden"))) foo(void) { }
32907 rm -f conftest.$ac_objext
32908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32909 (eval $ac_compile) 2>conftest.er1
32911 grep -v '^ *+' conftest.er1 >conftest.err
32913 cat conftest.err >&5
32914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32915 (exit $ac_status); } &&
32916 { ac_try='test -z "$ac_c_werror_flag"
32917 || test ! -s conftest.err'
32918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32919 (eval $ac_try) 2>&5
32921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32922 (exit $ac_status); }; } &&
32923 { ac_try='test -s conftest.$ac_objext'
32924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32925 (eval $ac_try) 2>&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); }; }; then
32929 libgfor_cv_have_attribute_visibility=yes
32931 echo "$as_me: failed program was:" >&5
32932 sed 's/^/| /' conftest.$ac_ext >&5
32934 libgfor_cv_have_attribute_visibility=no
32936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32937 CFLAGS="$save_CFLAGS"
32939 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
32940 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
32941 if test $libgfor_cv_have_attribute_visibility = yes; then
32943 cat >>confdefs.h <<\_ACEOF
32944 #define HAVE_ATTRIBUTE_VISIBILITY 1
32949 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
32950 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
32951 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
32952 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 save_CFLAGS="$CFLAGS"
32956 CFLAGS="$CFLAGS -Werror"
32957 cat >conftest.$ac_ext <<_ACEOF
32960 cat confdefs.h >>conftest.$ac_ext
32961 cat >>conftest.$ac_ext <<_ACEOF
32962 /* end confdefs.h. */
32963 void __attribute__((dllexport)) foo(void) { }
32972 rm -f conftest.$ac_objext
32973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32974 (eval $ac_compile) 2>conftest.er1
32976 grep -v '^ *+' conftest.er1 >conftest.err
32978 cat conftest.err >&5
32979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32980 (exit $ac_status); } &&
32981 { ac_try='test -z "$ac_c_werror_flag"
32982 || test ! -s conftest.err'
32983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32984 (eval $ac_try) 2>&5
32986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32987 (exit $ac_status); }; } &&
32988 { ac_try='test -s conftest.$ac_objext'
32989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32990 (eval $ac_try) 2>&5
32992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32993 (exit $ac_status); }; }; then
32994 libgfor_cv_have_attribute_dllexport=yes
32996 echo "$as_me: failed program was:" >&5
32997 sed 's/^/| /' conftest.$ac_ext >&5
32999 libgfor_cv_have_attribute_dllexport=no
33001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33002 CFLAGS="$save_CFLAGS"
33004 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33005 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33006 if test $libgfor_cv_have_attribute_dllexport = yes; then
33008 cat >>confdefs.h <<\_ACEOF
33009 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33014 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33015 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33016 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33017 echo $ECHO_N "(cached) $ECHO_C" >&6
33020 if test x$gcc_no_link = xyes; then
33021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33023 { (exit 1); exit 1; }; }
33025 cat >conftest.$ac_ext <<_ACEOF
33028 cat confdefs.h >>conftest.$ac_ext
33029 cat >>conftest.$ac_ext <<_ACEOF
33030 /* end confdefs.h. */
33033 extern void bar(void) __attribute__((alias("foo")));
33042 rm -f conftest.$ac_objext conftest$ac_exeext
33043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33044 (eval $ac_link) 2>conftest.er1
33046 grep -v '^ *+' conftest.er1 >conftest.err
33048 cat conftest.err >&5
33049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33050 (exit $ac_status); } &&
33051 { ac_try='test -z "$ac_c_werror_flag"
33052 || test ! -s conftest.err'
33053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33054 (eval $ac_try) 2>&5
33056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33057 (exit $ac_status); }; } &&
33058 { ac_try='test -s conftest$ac_exeext'
33059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33060 (eval $ac_try) 2>&5
33062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33063 (exit $ac_status); }; }; then
33064 libgfor_cv_have_attribute_alias=yes
33066 echo "$as_me: failed program was:" >&5
33067 sed 's/^/| /' conftest.$ac_ext >&5
33069 libgfor_cv_have_attribute_alias=no
33071 rm -f conftest.err conftest.$ac_objext \
33072 conftest$ac_exeext conftest.$ac_ext
33074 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33075 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33076 if test $libgfor_cv_have_attribute_alias = yes; then
33078 cat >>confdefs.h <<\_ACEOF
33079 #define HAVE_ATTRIBUTE_ALIAS 1
33084 # Check out sync builtins support.
33086 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33087 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33088 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33089 echo $ECHO_N "(cached) $ECHO_C" >&6
33092 if test x$gcc_no_link = xyes; then
33093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33095 { (exit 1); exit 1; }; }
33097 cat >conftest.$ac_ext <<_ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33108 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33109 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33114 rm -f conftest.$ac_objext conftest$ac_exeext
33115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33116 (eval $ac_link) 2>conftest.er1
33118 grep -v '^ *+' conftest.er1 >conftest.err
33120 cat conftest.err >&5
33121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33122 (exit $ac_status); } &&
33123 { ac_try='test -z "$ac_c_werror_flag"
33124 || test ! -s conftest.err'
33125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33126 (eval $ac_try) 2>&5
33128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33129 (exit $ac_status); }; } &&
33130 { ac_try='test -s conftest$ac_exeext'
33131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33132 (eval $ac_try) 2>&5
33134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33135 (exit $ac_status); }; }; then
33136 libgfor_cv_have_sync_fetch_and_add=yes
33138 echo "$as_me: failed program was:" >&5
33139 sed 's/^/| /' conftest.$ac_ext >&5
33141 libgfor_cv_have_sync_fetch_and_add=no
33143 rm -f conftest.err conftest.$ac_objext \
33144 conftest$ac_exeext conftest.$ac_ext
33146 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33147 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33148 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33150 cat >>confdefs.h <<\_ACEOF
33151 #define HAVE_SYNC_FETCH_AND_ADD 1
33156 # Check out thread support.
33158 echo "$as_me:$LINENO: checking configured target thread model" >&5
33159 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33160 if test "${libgfor_cv_target_thread_file+set}" = set; then
33161 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33166 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33167 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33169 if test $libgfor_cv_target_thread_file != single; then
33171 cat >>confdefs.h <<\_ACEOF
33172 #define HAVE_GTHR_DEFAULT 1
33177 # Check out #pragma weak.
33179 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33180 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33181 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33182 echo $ECHO_N "(cached) $ECHO_C" >&6
33185 gfor_save_CFLAGS="$CFLAGS"
33186 CFLAGS="$CFLAGS -Wunknown-pragmas"
33187 cat >conftest.$ac_ext <<_ACEOF
33190 cat confdefs.h >>conftest.$ac_ext
33191 cat >>conftest.$ac_ext <<_ACEOF
33192 /* end confdefs.h. */
33203 rm -f conftest.$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33207 grep -v '^ *+' conftest.er1 >conftest.err
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try='test -z "$ac_c_werror_flag"
33213 || test ! -s conftest.err'
33214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33215 (eval $ac_try) 2>&5
33217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33218 (exit $ac_status); }; } &&
33219 { ac_try='test -s conftest.$ac_objext'
33220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33221 (eval $ac_try) 2>&5
33223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33224 (exit $ac_status); }; }; then
33225 libgfor_cv_have_pragma_weak=yes
33227 echo "$as_me: failed program was:" >&5
33228 sed 's/^/| /' conftest.$ac_ext >&5
33230 libgfor_cv_have_pragma_weak=no
33232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33234 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33235 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33236 if test $libgfor_cv_have_pragma_weak = yes; then
33238 cat >>confdefs.h <<\_ACEOF
33239 #define SUPPORTS_WEAK 1
33244 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33246 cat >>confdefs.h <<\_ACEOF
33247 #define GTHREAD_USE_WEAK 0
33253 # Various other checks on target
33255 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33256 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33257 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33258 echo $ECHO_N "(cached) $ECHO_C" >&6
33261 if test "$cross_compiling" = yes; then
33263 case "${target}" in
33264 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
33265 *) libgfor_cv_have_unlink_open_file=yes;;
33268 cat >conftest.$ac_ext <<_ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33277 #include <unistd.h>
33278 #include <sys/stat.h>
33284 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33287 if (unlink ("testfile") == -1)
33289 write (fd, "This is a test\n", 15);
33292 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
33298 rm -f conftest$ac_exeext
33299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33300 (eval $ac_link) 2>&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33305 (eval $ac_try) 2>&5
33307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33308 (exit $ac_status); }; }; then
33309 libgfor_cv_have_unlink_open_file=yes
33311 echo "$as_me: program exited with status $ac_status" >&5
33312 echo "$as_me: failed program was:" >&5
33313 sed 's/^/| /' conftest.$ac_ext >&5
33315 ( exit $ac_status )
33316 libgfor_cv_have_unlink_open_file=no
33318 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33321 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
33322 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
33323 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
33325 cat >>confdefs.h <<\_ACEOF
33326 #define HAVE_UNLINK_OPEN_FILE 1
33331 # Check whether line terminator is LF or CRLF
33333 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
33334 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
33335 if test "${libgfor_cv_have_crlf+set}" = set; then
33336 echo $ECHO_N "(cached) $ECHO_C" >&6
33339 if test "$cross_compiling" = yes; then
33341 case "${target}" in
33342 *mingw*) libgfor_cv_have_crlf=yes ;;
33343 *) libgfor_cv_have_crlf=no;;
33346 cat >conftest.$ac_ext <<_ACEOF
33349 cat confdefs.h >>conftest.$ac_ext
33350 cat >>conftest.$ac_ext <<_ACEOF
33351 /* end confdefs.h. */
33353 /* This test program should exit with status 0 if system uses a CRLF as
33354 line terminator, and status 1 otherwise.
33355 Since it is used to check for mingw systems, and should return 0 in any
33356 other case, in case of a failure we will not use CRLF. */
33357 #include <sys/stat.h>
33358 #include <stdlib.h>
33370 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
33373 if (write (fd, "\n", 1) < 0)
33378 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
33380 bytes = read (fd, buff, 5);
33381 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
33388 rm -f conftest$ac_exeext
33389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33390 (eval $ac_link) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33395 (eval $ac_try) 2>&5
33397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33398 (exit $ac_status); }; }; then
33399 libgfor_cv_have_crlf=yes
33401 echo "$as_me: program exited with status $ac_status" >&5
33402 echo "$as_me: failed program was:" >&5
33403 sed 's/^/| /' conftest.$ac_ext >&5
33405 ( exit $ac_status )
33406 libgfor_cv_have_crlf=no
33408 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33411 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
33412 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
33413 if test x"$libgfor_cv_have_crlf" = xyes; then
33415 cat >>confdefs.h <<\_ACEOF
33416 #define HAVE_CRLF 1
33421 cat >confcache <<\_ACEOF
33422 # This file is a shell script that caches the results of configure
33423 # tests run on this system so they can be shared between configure
33424 # scripts and configure runs, see configure's option --config-cache.
33425 # It is not useful on other systems. If it contains results you don't
33426 # want to keep, you may remove or edit it.
33428 # config.status only pays attention to the cache file if you give it
33429 # the --recheck option to rerun configure.
33431 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33432 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33433 # following values.
33437 # The following way of writing the cache mishandles newlines in values,
33438 # but we know of no workaround that is simple, portable, and efficient.
33439 # So, don't put newlines in cache variables' values.
33440 # Ultrix sh set writes to stderr and can't be redirected directly,
33441 # and sets the high bit in the cache file unless we assign to the vars.
33444 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33446 # `set' does not quote correctly, so add quotes (double-quote
33447 # substitution turns \\\\ into \\, and sed turns \\ into \).
33450 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33453 # `set' quotes correctly as required by POSIX, so do not add quotes.
33455 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33462 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33464 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33466 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33467 if test -w $cache_file; then
33468 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33469 cat confcache >$cache_file
33471 echo "not updating unwritable cache $cache_file"
33476 if test ${multilib} = yes; then
33477 multilib_arg="--enable-multilib"
33482 # Write our Makefile.
33483 ac_config_files="$ac_config_files Makefile"
33485 cat >confcache <<\_ACEOF
33486 # This file is a shell script that caches the results of configure
33487 # tests run on this system so they can be shared between configure
33488 # scripts and configure runs, see configure's option --config-cache.
33489 # It is not useful on other systems. If it contains results you don't
33490 # want to keep, you may remove or edit it.
33492 # config.status only pays attention to the cache file if you give it
33493 # the --recheck option to rerun configure.
33495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
33496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
33497 # following values.
33501 # The following way of writing the cache mishandles newlines in values,
33502 # but we know of no workaround that is simple, portable, and efficient.
33503 # So, don't put newlines in cache variables' values.
33504 # Ultrix sh set writes to stderr and can't be redirected directly,
33505 # and sets the high bit in the cache file unless we assign to the vars.
33508 case `(ac_space=' '; set | grep ac_space) 2>&1` in
33510 # `set' does not quote correctly, so add quotes (double-quote
33511 # substitution turns \\\\ into \\, and sed turns \\ into \).
33514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
33517 # `set' quotes correctly as required by POSIX, so do not add quotes.
33519 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
33526 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
33528 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
33530 if diff $cache_file confcache >/dev/null 2>&1; then :; else
33531 if test -w $cache_file; then
33532 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
33533 cat confcache >$cache_file
33535 echo "not updating unwritable cache $cache_file"
33540 test "x$prefix" = xNONE && prefix=$ac_default_prefix
33541 # Let make expand exec_prefix.
33542 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
33544 # VPATH may cause trouble with some makes, so we remove $(srcdir),
33545 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
33546 # trailing colons and then remove the whole line if VPATH becomes empty
33547 # (actually we leave an empty line to preserve line numbers).
33548 if test "x$srcdir" = x.; then
33549 ac_vpsub='/^[ ]*VPATH[ ]*=/{
33550 s/:*\$(srcdir):*/:/;
33551 s/:*\${srcdir}:*/:/;
33553 s/^\([^=]*=[ ]*\):*/\1/;
33559 DEFS=-DHAVE_CONFIG_H
33563 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
33564 # 1. Remove the extension, and $U if already installed.
33565 ac_i=`echo "$ac_i" |
33566 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
33568 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
33569 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
33571 LIBOBJS=$ac_libobjs
33573 LTLIBOBJS=$ac_ltlibobjs
33576 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
33577 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
33578 Usually this means the macro was only invoked conditionally." >&5
33579 echo "$as_me: error: conditional \"onestep\" was never defined.
33580 Usually this means the macro was only invoked conditionally." >&2;}
33581 { (exit 1); exit 1; }; }
33583 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
33584 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
33585 Usually this means the macro was only invoked conditionally." >&5
33586 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
33587 Usually this means the macro was only invoked conditionally." >&2;}
33588 { (exit 1); exit 1; }; }
33590 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
33591 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
33592 Usually this means the macro was only invoked conditionally." >&5
33593 echo "$as_me: error: conditional \"AMDEP\" was never defined.
33594 Usually this means the macro was only invoked conditionally." >&2;}
33595 { (exit 1); exit 1; }; }
33597 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
33598 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
33599 Usually this means the macro was only invoked conditionally." >&5
33600 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
33601 Usually this means the macro was only invoked conditionally." >&2;}
33602 { (exit 1); exit 1; }; }
33604 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
33605 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33606 Usually this means the macro was only invoked conditionally." >&5
33607 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
33608 Usually this means the macro was only invoked conditionally." >&2;}
33609 { (exit 1); exit 1; }; }
33612 : ${CONFIG_STATUS=./config.status}
33613 ac_clean_files_save=$ac_clean_files
33614 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
33615 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
33616 echo "$as_me: creating $CONFIG_STATUS" >&6;}
33617 cat >$CONFIG_STATUS <<_ACEOF
33619 # Generated by $as_me.
33620 # Run this file to recreate the current configuration.
33621 # Compiler output produced by configure, useful for debugging
33622 # configure, is in config.log if it exists.
33625 ac_cs_recheck=false
33627 SHELL=\${CONFIG_SHELL-$SHELL}
33630 cat >>$CONFIG_STATUS <<\_ACEOF
33631 ## --------------------- ##
33632 ## M4sh Initialization. ##
33633 ## --------------------- ##
33635 # Be Bourne compatible
33636 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
33639 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
33640 # is contrary to our usage. Disable this feature.
33641 alias -g '${1+"$@"}'='"$@"'
33642 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
33645 DUALCASE=1; export DUALCASE # for MKS sh
33647 # Support unset when possible.
33648 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33655 # Work around bugs in pre-3.0 UWIN ksh.
33656 $as_unset ENV MAIL MAILPATH
33663 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
33664 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
33665 LC_TELEPHONE LC_TIME
33667 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
33668 eval $as_var=C; export $as_var
33674 # Required to use basename.
33675 if expr a : '\(a\)' >/dev/null 2>&1; then
33681 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
33682 as_basename=basename
33688 # Name of the executable.
33689 as_me=`$as_basename "$0" ||
33690 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
33691 X"$0" : 'X\(//\)$' \| \
33692 X"$0" : 'X\(/\)$' \| \
33693 . : '\(.\)' 2>/dev/null ||
33695 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
33696 /^X\/\(\/\/\)$/{ s//\1/; q; }
33697 /^X\/\(\/\).*/{ s//\1/; q; }
33701 # PATH needs CR, and LINENO needs CR and PATH.
33702 # Avoid depending upon Character Ranges.
33703 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33704 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
33705 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
33706 as_cr_digits='0123456789'
33707 as_cr_alnum=$as_cr_Letters$as_cr_digits
33709 # The user is always right.
33710 if test "${PATH_SEPARATOR+set}" != set; then
33711 echo "#! /bin/sh" >conf$$.sh
33712 echo "exit 0" >>conf$$.sh
33714 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
33723 as_lineno_1=$LINENO
33724 as_lineno_2=$LINENO
33725 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33726 test "x$as_lineno_1" != "x$as_lineno_2" &&
33727 test "x$as_lineno_3" = "x$as_lineno_2" || {
33728 # Find who we are. Look in the path if we contain no path at all
33731 *[\\/]* ) as_myself=$0 ;;
33732 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33733 for as_dir in $PATH
33736 test -z "$as_dir" && as_dir=.
33737 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
33742 # We did not find ourselves, most probably we were run as `sh COMMAND'
33743 # in which case we are not to be found in the path.
33744 if test "x$as_myself" = x; then
33747 if test ! -f "$as_myself"; then
33748 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
33749 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
33750 { (exit 1); exit 1; }; }
33752 case $CONFIG_SHELL in
33754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33755 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
33758 test -z "$as_dir" && as_dir=.
33759 for as_base in sh bash ksh sh5; do
33762 if ("$as_dir/$as_base" -c '
33763 as_lineno_1=$LINENO
33764 as_lineno_2=$LINENO
33765 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
33766 test "x$as_lineno_1" != "x$as_lineno_2" &&
33767 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
33768 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
33769 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
33770 CONFIG_SHELL=$as_dir/$as_base
33771 export CONFIG_SHELL
33772 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
33780 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
33781 # uniformly replaced by the line number. The first 'sed' inserts a
33782 # line-number line before each line; the second 'sed' does the real
33783 # work. The second script uses 'N' to pair each line-number line
33784 # with the numbered line, and appends trailing '-' during
33785 # substitution so that $LINENO is not a special case at line end.
33786 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
33787 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
33788 sed '=' <$as_myself |
33793 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
33796 s,^['$as_cr_digits']*\n,,
33797 ' >$as_me.lineno &&
33798 chmod +x $as_me.lineno ||
33799 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
33800 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
33801 { (exit 1); exit 1; }; }
33803 # Don't try to exec as it changes $[0], causing all sort of problems
33804 # (the dirname of $[0] is not the place where we might find the
33805 # original and so on. Autoconf is especially sensible to this).
33807 # Exit status is that of the last command.
33812 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
33813 *c*,-n*) ECHO_N= ECHO_C='
33815 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
33816 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
33819 if expr a : '\(a\)' >/dev/null 2>&1; then
33825 rm -f conf$$ conf$$.exe conf$$.file
33827 if ln -s conf$$.file conf$$ 2>/dev/null; then
33828 # We could just check for DJGPP; but this test a) works b) is more generic
33829 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
33830 if test -f conf$$.exe; then
33831 # Don't use ln at all; we don't have any links
33836 elif ln conf$$.file conf$$ 2>/dev/null; then
33841 rm -f conf$$ conf$$.exe conf$$.file
33843 if mkdir -p . 2>/dev/null; then
33846 test -d ./-p && rmdir ./-p
33850 as_executable_p="test -f"
33852 # Sed expression to map a string onto a valid CPP name.
33853 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
33855 # Sed expression to map a string onto a valid variable name.
33856 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
33860 # We need space, tab and new line, in precisely that order.
33870 # Open the log real soon, to keep \$[0] and so on meaningful, and to
33871 # report actual input values of CONFIG_FILES etc. instead of their
33872 # values after options handling. Logging --version etc. is OK.
33876 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
33877 ## Running $as_me. ##
33882 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
33883 generated by GNU Autoconf 2.59. Invocation command line was
33885 CONFIG_FILES = $CONFIG_FILES
33886 CONFIG_HEADERS = $CONFIG_HEADERS
33887 CONFIG_LINKS = $CONFIG_LINKS
33888 CONFIG_COMMANDS = $CONFIG_COMMANDS
33892 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
33896 # Files that config.status was made for.
33897 if test -n "$ac_config_files"; then
33898 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
33901 if test -n "$ac_config_headers"; then
33902 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
33905 if test -n "$ac_config_links"; then
33906 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
33909 if test -n "$ac_config_commands"; then
33910 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
33913 cat >>$CONFIG_STATUS <<\_ACEOF
33916 \`$as_me' instantiates files from templates according to the
33917 current configuration.
33919 Usage: $0 [OPTIONS] [FILE]...
33921 -h, --help print this help, then exit
33922 -V, --version print version number, then exit
33923 -q, --quiet do not print progress messages
33924 -d, --debug don't remove temporary files
33925 --recheck update $as_me by reconfiguring in the same conditions
33926 --file=FILE[:TEMPLATE]
33927 instantiate the configuration file FILE
33928 --header=FILE[:TEMPLATE]
33929 instantiate the configuration header FILE
33931 Configuration files:
33934 Configuration headers:
33937 Configuration commands:
33940 Report bugs to <bug-autoconf@gnu.org>."
33943 cat >>$CONFIG_STATUS <<_ACEOF
33945 GNU Fortran Runtime Library config.status 0.3
33946 configured by $0, generated by GNU Autoconf 2.59,
33947 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
33949 Copyright (C) 2003 Free Software Foundation, Inc.
33950 This config.status script is free software; the Free Software Foundation
33951 gives unlimited permission to copy, distribute and modify it."
33956 cat >>$CONFIG_STATUS <<\_ACEOF
33957 # If no file are specified by the user, then we need to provide default
33958 # value. By we need to know if files were specified by the user.
33964 ac_option=`expr "x$1" : 'x\([^=]*\)='`
33965 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
33973 *) # This is not an option, so the user has probably given explicit
33976 ac_need_defaults=false;;
33980 # Handling of the options.
33982 cat >>$CONFIG_STATUS <<\_ACEOF
33983 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
33985 --version | --vers* | -V )
33986 echo "$ac_cs_version"; exit 0 ;;
33988 # Conflict between --help and --header
33989 { { echo "$as_me:$LINENO: error: ambiguous option: $1
33990 Try \`$0 --help' for more information." >&5
33991 echo "$as_me: error: ambiguous option: $1
33992 Try \`$0 --help' for more information." >&2;}
33993 { (exit 1); exit 1; }; };;
33994 --help | --hel | -h )
33995 echo "$ac_cs_usage"; exit 0 ;;
33996 --debug | --d* | -d )
33998 --file | --fil | --fi | --f )
34000 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34001 ac_need_defaults=false;;
34002 --header | --heade | --head | --hea )
34004 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34005 ac_need_defaults=false;;
34006 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34007 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34010 # This is an error.
34011 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34012 Try \`$0 --help' for more information." >&5
34013 echo "$as_me: error: unrecognized option: $1
34014 Try \`$0 --help' for more information." >&2;}
34015 { (exit 1); exit 1; }; } ;;
34017 *) ac_config_targets="$ac_config_targets $1" ;;
34023 ac_configure_extra_args=
34025 if $ac_cs_silent; then
34027 ac_configure_extra_args="$ac_configure_extra_args --silent"
34031 cat >>$CONFIG_STATUS <<_ACEOF
34032 if \$ac_cs_recheck; then
34033 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34034 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34039 cat >>$CONFIG_STATUS <<_ACEOF
34041 # INIT-COMMANDS section.
34048 with_multisubdir="$with_multisubdir"
34049 with_multisrctop="$with_multisrctop"
34050 with_target_subdir="$with_target_subdir"
34051 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34052 multi_basedir="$multi_basedir"
34053 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34055 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34058 # The HP-UX ksh and POSIX shell print the target directory to stdout
34059 # if CDPATH is set.
34060 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34062 sed_quote_subst='$sed_quote_subst'
34063 double_quote_subst='$double_quote_subst'
34064 delay_variable_subst='$delay_variable_subst'
34065 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34066 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34067 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34068 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34069 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34070 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34071 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34072 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34073 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34074 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34075 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34076 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34077 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34078 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34079 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34080 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34081 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34082 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34083 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34084 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34085 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34086 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34087 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34088 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34089 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34090 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34091 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34092 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34093 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34094 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34095 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34096 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34097 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34098 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34099 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34100 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34101 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34102 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34103 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34104 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34105 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34106 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34107 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34108 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"`'
34109 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34110 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34111 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34112 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34113 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34114 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34115 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34116 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34117 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34118 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34119 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34120 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34121 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34122 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34123 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34124 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34125 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34126 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34127 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34128 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34129 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34130 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34131 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34132 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34133 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34134 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34135 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34136 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34137 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34138 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34139 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34140 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34141 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34142 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34143 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34144 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34145 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34146 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34147 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34148 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34149 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34150 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34151 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34152 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34153 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34154 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34155 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34156 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34157 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34158 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34159 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34160 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34161 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34162 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34163 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34164 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34165 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34166 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34167 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34168 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34169 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34170 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34171 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34172 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34173 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34174 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34175 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34176 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34177 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34178 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34179 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34180 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34181 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34182 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34183 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34184 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34185 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34186 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34187 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34188 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34189 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34190 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34191 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34192 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34193 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34194 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34195 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34196 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34197 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34198 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34199 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34200 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34201 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34202 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34203 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34204 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34205 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34206 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34207 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34208 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34209 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34210 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34211 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34212 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34213 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34214 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34215 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34216 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34217 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34218 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34219 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34220 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34221 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34222 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34223 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34224 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34225 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34226 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34229 LTCFLAGS='$LTCFLAGS'
34230 compiler='$compiler_DEFAULT'
34232 # Quote evaled strings.
34243 deplibs_check_method \
34252 lt_cv_sys_global_symbol_pipe \
34253 lt_cv_sys_global_symbol_to_cdecl \
34254 lt_cv_sys_global_symbol_to_c_name_address \
34257 lt_prog_compiler_no_builtin_flag \
34258 lt_prog_compiler_wl \
34259 lt_prog_compiler_pic \
34260 lt_prog_compiler_static \
34261 lt_cv_prog_compiler_c_o \
34264 export_dynamic_flag_spec \
34265 whole_archive_flag_spec \
34266 compiler_needs_object \
34268 allow_undefined_flag \
34269 no_undefined_flag \
34270 hardcode_libdir_flag_spec \
34271 hardcode_libdir_flag_spec_ld \
34272 hardcode_libdir_separator \
34277 variables_saved_for_relink \
34279 library_names_spec \
34288 compiler_lib_search_path \
34291 lt_prog_compiler_no_builtin_flag_FC \
34292 lt_prog_compiler_wl_FC \
34293 lt_prog_compiler_pic_FC \
34294 lt_prog_compiler_static_FC \
34295 lt_cv_prog_compiler_c_o_FC \
34296 export_dynamic_flag_spec_FC \
34297 whole_archive_flag_spec_FC \
34298 compiler_needs_object_FC \
34300 allow_undefined_flag_FC \
34301 no_undefined_flag_FC \
34302 hardcode_libdir_flag_spec_FC \
34303 hardcode_libdir_flag_spec_ld_FC \
34304 hardcode_libdir_separator_FC \
34305 fix_srcfile_path_FC \
34306 exclude_expsyms_FC \
34307 include_expsyms_FC \
34308 file_list_spec_FC \
34309 predep_objects_FC \
34310 postdep_objects_FC \
34313 compiler_lib_search_path_FC; do
34314 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34315 *[\\\\\\\`\\"\\\$]*)
34316 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
34319 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34324 # Double-quote double-evaled strings.
34325 for var in reload_cmds \
34326 old_postinstall_cmds \
34327 old_postuninstall_cmds \
34329 extract_expsyms_cmds \
34330 old_archive_from_new_cmds \
34331 old_archive_from_expsyms_cmds \
34333 archive_expsym_cmds \
34335 module_expsym_cmds \
34336 export_symbols_cmds \
34339 postuninstall_cmds \
34341 sys_lib_search_path_spec \
34342 sys_lib_dlsearch_path_spec \
34343 old_archive_cmds_FC \
34344 old_archive_from_new_cmds_FC \
34345 old_archive_from_expsyms_cmds_FC \
34347 archive_expsym_cmds_FC \
34349 module_expsym_cmds_FC \
34350 export_symbols_cmds_FC \
34351 prelink_cmds_FC; do
34352 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
34353 *[\\\\\\\`\\"\\\$]*)
34354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
34357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
34362 # Fix-up fallback echo if it was mangled by the above quoting rules.
34364 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
34368 ac_aux_dir='$ac_aux_dir'
34369 xsi_shell='$xsi_shell'
34370 lt_shell_append='$lt_shell_append'
34372 # See if we are running on zsh, and set the options which allow our
34373 # commands through without removal of \ escapes INIT.
34374 if test -n "\${ZSH_VERSION+set}" ; then
34375 setopt NO_GLOB_SUBST
34381 TIMESTAMP='$TIMESTAMP'
34392 acx_cv_header_stdint="$acx_cv_header_stdint"
34393 acx_cv_type_int8_t="$acx_cv_type_int8_t"
34394 acx_cv_type_int16_t="$acx_cv_type_int16_t"
34395 acx_cv_type_int32_t="$acx_cv_type_int32_t"
34396 acx_cv_type_int64_t="$acx_cv_type_int64_t"
34397 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
34398 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
34399 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
34400 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
34401 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
34402 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
34403 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
34404 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
34405 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
34412 cat >>$CONFIG_STATUS <<\_ACEOF
34413 for ac_config_target in $ac_config_targets
34415 case "$ac_config_target" in
34416 # Handling of arguments.
34417 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
34418 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
34419 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
34420 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
34421 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
34422 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
34423 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
34424 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
34425 { (exit 1); exit 1; }; };;
34429 # If the user did not use the arguments to specify the items to instantiate,
34430 # then the envvar interface is used. Set only those that are not.
34431 # We use the long form for the default assignment because of an extremely
34432 # bizarre bug on SunOS 4.1.3.
34433 if $ac_need_defaults; then
34434 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
34435 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
34436 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
34439 # Have a temporary directory for convenience. Make it in the build tree
34440 # simply because there is no reason to put it here, and in addition,
34441 # creating and moving files from /tmp can sometimes cause problems.
34442 # Create a temporary directory, and hook for its removal unless debugging.
34445 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
34446 trap '{ (exit 1); exit 1; }' 1 2 13 15
34449 # Create a (secure) tmp directory for tmp files.
34452 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
34453 test -n "$tmp" && test -d "$tmp"
34456 tmp=./confstat$$-$RANDOM
34457 (umask 077 && mkdir $tmp)
34460 echo "$me: cannot create a temporary directory in ." >&2
34461 { (exit 1); exit 1; }
34466 cat >>$CONFIG_STATUS <<_ACEOF
34469 # CONFIG_FILES section.
34472 # No need to generate the scripts if there are no CONFIG_FILES.
34473 # This happens for instance when ./config.status config.h
34474 if test -n "\$CONFIG_FILES"; then
34475 # Protect against being on the right side of a sed subst in config.status.
34476 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
34477 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
34478 s,@SHELL@,$SHELL,;t t
34479 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
34480 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
34481 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
34482 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
34483 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
34484 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
34485 s,@exec_prefix@,$exec_prefix,;t t
34486 s,@prefix@,$prefix,;t t
34487 s,@program_transform_name@,$program_transform_name,;t t
34488 s,@bindir@,$bindir,;t t
34489 s,@sbindir@,$sbindir,;t t
34490 s,@libexecdir@,$libexecdir,;t t
34491 s,@datadir@,$datadir,;t t
34492 s,@sysconfdir@,$sysconfdir,;t t
34493 s,@sharedstatedir@,$sharedstatedir,;t t
34494 s,@localstatedir@,$localstatedir,;t t
34495 s,@libdir@,$libdir,;t t
34496 s,@includedir@,$includedir,;t t
34497 s,@oldincludedir@,$oldincludedir,;t t
34498 s,@infodir@,$infodir,;t t
34499 s,@mandir@,$mandir,;t t
34500 s,@build_alias@,$build_alias,;t t
34501 s,@host_alias@,$host_alias,;t t
34502 s,@target_alias@,$target_alias,;t t
34503 s,@DEFS@,$DEFS,;t t
34504 s,@ECHO_C@,$ECHO_C,;t t
34505 s,@ECHO_N@,$ECHO_N,;t t
34506 s,@ECHO_T@,$ECHO_T,;t t
34507 s,@LIBS@,$LIBS,;t t
34508 s,@build@,$build,;t t
34509 s,@build_cpu@,$build_cpu,;t t
34510 s,@build_vendor@,$build_vendor,;t t
34511 s,@build_os@,$build_os,;t t
34512 s,@build_libsubdir@,$build_libsubdir,;t t
34513 s,@build_subdir@,$build_subdir,;t t
34514 s,@host_subdir@,$host_subdir,;t t
34515 s,@target_subdir@,$target_subdir,;t t
34516 s,@onestep_TRUE@,$onestep_TRUE,;t t
34517 s,@onestep_FALSE@,$onestep_FALSE,;t t
34518 s,@onestep@,$onestep,;t t
34519 s,@host@,$host,;t t
34520 s,@host_cpu@,$host_cpu,;t t
34521 s,@host_vendor@,$host_vendor,;t t
34522 s,@host_os@,$host_os,;t t
34523 s,@target@,$target,;t t
34524 s,@target_cpu@,$target_cpu,;t t
34525 s,@target_vendor@,$target_vendor,;t t
34526 s,@target_os@,$target_os,;t t
34527 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
34528 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
34529 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
34530 s,@CYGPATH_W@,$CYGPATH_W,;t t
34531 s,@PACKAGE@,$PACKAGE,;t t
34532 s,@VERSION@,$VERSION,;t t
34533 s,@ACLOCAL@,$ACLOCAL,;t t
34534 s,@AUTOCONF@,$AUTOCONF,;t t
34535 s,@AUTOMAKE@,$AUTOMAKE,;t t
34536 s,@AUTOHEADER@,$AUTOHEADER,;t t
34537 s,@MAKEINFO@,$MAKEINFO,;t t
34538 s,@install_sh@,$install_sh,;t t
34539 s,@STRIP@,$STRIP,;t t
34540 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
34541 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
34542 s,@mkdir_p@,$mkdir_p,;t t
34544 s,@SET_MAKE@,$SET_MAKE,;t t
34545 s,@am__leading_dot@,$am__leading_dot,;t t
34546 s,@AMTAR@,$AMTAR,;t t
34547 s,@am__tar@,$am__tar,;t t
34548 s,@am__untar@,$am__untar,;t t
34549 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
34550 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
34551 s,@MAINT@,$MAINT,;t t
34552 s,@multi_basedir@,$multi_basedir,;t t
34553 s,@toolexecdir@,$toolexecdir,;t t
34554 s,@toolexeclibdir@,$toolexeclibdir,;t t
34556 s,@ac_ct_CC@,$ac_ct_CC,;t t
34557 s,@EXEEXT@,$EXEEXT,;t t
34558 s,@OBJEXT@,$OBJEXT,;t t
34559 s,@DEPDIR@,$DEPDIR,;t t
34560 s,@am__include@,$am__include,;t t
34561 s,@am__quote@,$am__quote,;t t
34562 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
34563 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
34564 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
34565 s,@CCDEPMODE@,$CCDEPMODE,;t t
34566 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
34567 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
34568 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
34569 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
34570 s,@CFLAGS@,$CFLAGS,;t t
34571 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
34572 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
34574 s,@ac_ct_AS@,$ac_ct_AS,;t t
34576 s,@ac_ct_AR@,$ac_ct_AR,;t t
34577 s,@RANLIB@,$RANLIB,;t t
34578 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
34579 s,@LIBTOOL@,$LIBTOOL,;t t
34581 s,@EGREP@,$EGREP,;t t
34582 s,@FGREP@,$FGREP,;t t
34583 s,@GREP@,$GREP,;t t
34585 s,@DUMPBIN@,$DUMPBIN,;t t
34586 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
34588 s,@LN_S@,$LN_S,;t t
34589 s,@lt_ECHO@,$lt_ECHO,;t t
34591 s,@CPPFLAGS@,$CPPFLAGS,;t t
34592 s,@enable_shared@,$enable_shared,;t t
34593 s,@enable_static@,$enable_static,;t t
34595 s,@FCFLAGS@,$FCFLAGS,;t t
34596 s,@LDFLAGS@,$LDFLAGS,;t t
34597 s,@ac_ct_FC@,$ac_ct_FC,;t t
34598 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
34599 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
34600 s,@LIBOBJS@,$LIBOBJS,;t t
34601 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
34606 cat >>$CONFIG_STATUS <<\_ACEOF
34607 # Split the substitutions into bite-sized pieces for seds with
34608 # small command number limits, like on Digital OSF/1 and HP-UX.
34609 ac_max_sed_lines=48
34610 ac_sed_frag=1 # Number of current file.
34611 ac_beg=1 # First line for current file.
34612 ac_end=$ac_max_sed_lines # Line after last line for current file.
34615 while $ac_more_lines; do
34616 if test $ac_beg -gt 1; then
34617 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34619 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
34621 if test ! -s $tmp/subs.frag; then
34622 ac_more_lines=false
34624 # The purpose of the label and of the branching condition is to
34625 # speed up the sed processing (if there are no `@' at all, there
34626 # is no need to browse any of the substitutions).
34627 # These are the two extra sed commands mentioned above.
34629 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
34630 if test -z "$ac_sed_cmds"; then
34631 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
34633 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
34635 ac_sed_frag=`expr $ac_sed_frag + 1`
34637 ac_end=`expr $ac_end + $ac_max_sed_lines`
34640 if test -z "$ac_sed_cmds"; then
34643 fi # test -n "$CONFIG_FILES"
34646 cat >>$CONFIG_STATUS <<\_ACEOF
34647 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
34648 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34650 - | *:- | *:-:* ) # input from stdin
34652 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34653 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34654 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34655 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34656 * ) ac_file_in=$ac_file.in ;;
34659 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
34660 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
34661 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34662 X"$ac_file" : 'X\(//\)[^/]' \| \
34663 X"$ac_file" : 'X\(//\)$' \| \
34664 X"$ac_file" : 'X\(/\)' \| \
34665 . : '\(.\)' 2>/dev/null ||
34667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34669 /^X\(\/\/\)$/{ s//\1/; q; }
34670 /^X\(\/\).*/{ s//\1/; q; }
34672 { if $as_mkdir_p; then
34677 while test ! -d "$as_dir"; do
34678 as_dirs="$as_dir $as_dirs"
34679 as_dir=`(dirname "$as_dir") 2>/dev/null ||
34680 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
34681 X"$as_dir" : 'X\(//\)[^/]' \| \
34682 X"$as_dir" : 'X\(//\)$' \| \
34683 X"$as_dir" : 'X\(/\)' \| \
34684 . : '\(.\)' 2>/dev/null ||
34686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
34687 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
34688 /^X\(\/\/\)$/{ s//\1/; q; }
34689 /^X\(\/\).*/{ s//\1/; q; }
34692 test ! -n "$as_dirs" || mkdir $as_dirs
34693 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
34694 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
34695 { (exit 1); exit 1; }; }; }
34699 if test "$ac_dir" != .; then
34700 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
34701 # A "../" for each directory in $ac_dir_suffix.
34702 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
34704 ac_dir_suffix= ac_top_builddir=
34708 .) # No --srcdir option. We are building in place.
34710 if test -z "$ac_top_builddir"; then
34713 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
34715 [\\/]* | ?:[\\/]* ) # Absolute path.
34716 ac_srcdir=$srcdir$ac_dir_suffix;
34717 ac_top_srcdir=$srcdir ;;
34718 *) # Relative path.
34719 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
34720 ac_top_srcdir=$ac_top_builddir$srcdir ;;
34723 # Do not use `cd foo && pwd` to compute absolute paths, because
34724 # the directories may not exist.
34726 .) ac_abs_builddir="$ac_dir";;
34729 .) ac_abs_builddir=`pwd`;;
34730 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
34731 *) ac_abs_builddir=`pwd`/"$ac_dir";;
34734 case $ac_abs_builddir in
34735 .) ac_abs_top_builddir=${ac_top_builddir}.;;
34737 case ${ac_top_builddir}. in
34738 .) ac_abs_top_builddir=$ac_abs_builddir;;
34739 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
34740 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
34743 case $ac_abs_builddir in
34744 .) ac_abs_srcdir=$ac_srcdir;;
34747 .) ac_abs_srcdir=$ac_abs_builddir;;
34748 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
34749 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
34752 case $ac_abs_builddir in
34753 .) ac_abs_top_srcdir=$ac_top_srcdir;;
34755 case $ac_top_srcdir in
34756 .) ac_abs_top_srcdir=$ac_abs_builddir;;
34757 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
34758 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
34764 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
34765 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
34768 if test x"$ac_file" != x-; then
34769 { echo "$as_me:$LINENO: creating $ac_file" >&5
34770 echo "$as_me: creating $ac_file" >&6;}
34773 # Let's still pretend it is `configure' which instantiates (i.e., don't
34774 # use $as_me), people would be surprised to read:
34775 # /* config.h. Generated by config.status. */
34776 if test x"$ac_file" = x-; then
34779 configure_input="$ac_file. "
34781 configure_input=$configure_input"Generated from `echo $ac_file_in |
34782 sed 's,.*/,,'` by configure."
34784 # First look for the input files in the build tree, otherwise in the
34786 ac_file_inputs=`IFS=:
34787 for f in $ac_file_in; do
34789 -) echo $tmp/stdin ;;
34791 # Absolute (can't be DOS-style, as IFS=:)
34792 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34793 echo "$as_me: error: cannot find input file: $f" >&2;}
34794 { (exit 1); exit 1; }; }
34797 if test -f "$f"; then
34800 elif test -f "$srcdir/$f"; then
34805 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34806 echo "$as_me: error: cannot find input file: $f" >&2;}
34807 { (exit 1); exit 1; }; }
34810 done` || { (exit 1); exit 1; }
34812 cat >>$CONFIG_STATUS <<_ACEOF
34816 cat >>$CONFIG_STATUS <<\_ACEOF
34818 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
34819 s,@configure_input@,$configure_input,;t t
34820 s,@srcdir@,$ac_srcdir,;t t
34821 s,@abs_srcdir@,$ac_abs_srcdir,;t t
34822 s,@top_srcdir@,$ac_top_srcdir,;t t
34823 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
34824 s,@builddir@,$ac_builddir,;t t
34825 s,@abs_builddir@,$ac_abs_builddir,;t t
34826 s,@top_builddir@,$ac_top_builddir,;t t
34827 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
34828 s,@INSTALL@,$ac_INSTALL,;t t
34829 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
34831 if test x"$ac_file" != x-; then
34832 mv $tmp/out $ac_file
34840 cat >>$CONFIG_STATUS <<\_ACEOF
34843 # CONFIG_HEADER section.
34846 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
34847 # NAME is the cpp macro being defined and VALUE is the value it is being given.
34849 # ac_d sets the value in "#define NAME VALUE" lines.
34850 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
34851 ac_dB='[ ].*$,\1#\2'
34854 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
34855 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
34856 ac_uB='$,\1#\2define\3'
34860 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
34861 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
34863 - | *:- | *:-:* ) # input from stdin
34865 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34866 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34867 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
34868 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
34869 * ) ac_file_in=$ac_file.in ;;
34872 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
34873 echo "$as_me: creating $ac_file" >&6;}
34875 # First look for the input files in the build tree, otherwise in the
34877 ac_file_inputs=`IFS=:
34878 for f in $ac_file_in; do
34880 -) echo $tmp/stdin ;;
34882 # Absolute (can't be DOS-style, as IFS=:)
34883 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34884 echo "$as_me: error: cannot find input file: $f" >&2;}
34885 { (exit 1); exit 1; }; }
34886 # Do quote $f, to prevent DOS paths from being IFS'd.
34889 if test -f "$f"; then
34892 elif test -f "$srcdir/$f"; then
34897 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
34898 echo "$as_me: error: cannot find input file: $f" >&2;}
34899 { (exit 1); exit 1; }; }
34902 done` || { (exit 1); exit 1; }
34903 # Remove the trailing spaces.
34904 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
34908 # Transform confdefs.h into two sed scripts, `conftest.defines' and
34909 # `conftest.undefs', that substitutes the proper values into
34910 # config.h.in to produce config.h. The first handles `#define'
34911 # templates, and the second `#undef' templates.
34912 # And first: Protect against being on the right side of a sed subst in
34913 # config.status. Protect against being in an unquoted here document
34914 # in config.status.
34915 rm -f conftest.defines conftest.undefs
34916 # Using a here document instead of a string reduces the quoting nightmare.
34917 # Putting comments in sed scripts is not portable.
34919 # `end' is used to avoid that the second main sed command (meant for
34920 # 0-ary CPP macros) applies to n-ary macro definitions.
34921 # See the Autoconf documentation for `clear'.
34922 cat >confdef2sed.sed <<\_ACEOF
34927 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
34929 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
34932 # If some macros were called several times there might be several times
34933 # the same #defines, which is useless. Nevertheless, we may not want to
34934 # sort them, since we want the *last* AC-DEFINE to be honored.
34935 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
34936 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
34937 rm -f confdef2sed.sed
34939 # This sed command replaces #undef with comments. This is necessary, for
34940 # example, in the case of _POSIX_SOURCE, which is predefined and required
34941 # on some systems where configure will not decide to define it.
34942 cat >>conftest.undefs <<\_ACEOF
34943 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
34946 # Break up conftest.defines because some shells have a limit on the size
34947 # of here documents, and old seds have small limits too (100 cmds).
34948 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
34949 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
34950 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
34951 echo ' :' >>$CONFIG_STATUS
34952 rm -f conftest.tail
34953 while grep . conftest.defines >/dev/null
34955 # Write a limited-size here document to $tmp/defines.sed.
34956 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
34957 # Speed up: don't consider the non `#define' lines.
34958 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
34959 # Work around the forget-to-reset-the-flag bug.
34960 echo 't clr' >>$CONFIG_STATUS
34961 echo ': clr' >>$CONFIG_STATUS
34962 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
34964 sed -f $tmp/defines.sed $tmp/in >$tmp/out
34966 mv $tmp/out $tmp/in
34968 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
34969 rm -f conftest.defines
34970 mv conftest.tail conftest.defines
34972 rm -f conftest.defines
34973 echo ' fi # grep' >>$CONFIG_STATUS
34974 echo >>$CONFIG_STATUS
34976 # Break up conftest.undefs because some shells have a limit on the size
34977 # of here documents, and old seds have small limits too (100 cmds).
34978 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
34979 rm -f conftest.tail
34980 while grep . conftest.undefs >/dev/null
34982 # Write a limited-size here document to $tmp/undefs.sed.
34983 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
34984 # Speed up: don't consider the non `#undef'
34985 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
34986 # Work around the forget-to-reset-the-flag bug.
34987 echo 't clr' >>$CONFIG_STATUS
34988 echo ': clr' >>$CONFIG_STATUS
34989 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
34991 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
34993 mv $tmp/out $tmp/in
34995 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
34996 rm -f conftest.undefs
34997 mv conftest.tail conftest.undefs
34999 rm -f conftest.undefs
35001 cat >>$CONFIG_STATUS <<\_ACEOF
35002 # Let's still pretend it is `configure' which instantiates (i.e., don't
35003 # use $as_me), people would be surprised to read:
35004 # /* config.h. Generated by config.status. */
35005 if test x"$ac_file" = x-; then
35006 echo "/* Generated by configure. */" >$tmp/config.h
35008 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35010 cat $tmp/in >>$tmp/config.h
35012 if test x"$ac_file" != x-; then
35013 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35014 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35015 echo "$as_me: $ac_file is unchanged" >&6;}
35017 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35018 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35019 X"$ac_file" : 'X\(//\)[^/]' \| \
35020 X"$ac_file" : 'X\(//\)$' \| \
35021 X"$ac_file" : 'X\(/\)' \| \
35022 . : '\(.\)' 2>/dev/null ||
35024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35026 /^X\(\/\/\)$/{ s//\1/; q; }
35027 /^X\(\/\).*/{ s//\1/; q; }
35029 { if $as_mkdir_p; then
35034 while test ! -d "$as_dir"; do
35035 as_dirs="$as_dir $as_dirs"
35036 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35037 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35038 X"$as_dir" : 'X\(//\)[^/]' \| \
35039 X"$as_dir" : 'X\(//\)$' \| \
35040 X"$as_dir" : 'X\(/\)' \| \
35041 . : '\(.\)' 2>/dev/null ||
35043 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35044 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35045 /^X\(\/\/\)$/{ s//\1/; q; }
35046 /^X\(\/\).*/{ s//\1/; q; }
35049 test ! -n "$as_dirs" || mkdir $as_dirs
35050 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35051 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35052 { (exit 1); exit 1; }; }; }
35055 mv $tmp/config.h $ac_file
35059 rm -f $tmp/config.h
35061 # Compute $ac_file's index in $config_headers.
35063 for _am_header in $config_headers :; do
35064 case $_am_header in
35065 $ac_file | $ac_file:* )
35068 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35071 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35072 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35073 X$ac_file : 'X\(//\)[^/]' \| \
35074 X$ac_file : 'X\(//\)$' \| \
35075 X$ac_file : 'X\(/\)' \| \
35076 . : '\(.\)' 2>/dev/null ||
35078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35079 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35080 /^X\(\/\/\)$/{ s//\1/; q; }
35081 /^X\(\/\).*/{ s//\1/; q; }
35082 s/.*/./; q'`/stamp-h$_am_stamp_count
35085 cat >>$CONFIG_STATUS <<\_ACEOF
35088 # CONFIG_COMMANDS section.
35090 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35091 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35092 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35093 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35094 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35095 X"$ac_dest" : 'X\(//\)[^/]' \| \
35096 X"$ac_dest" : 'X\(//\)$' \| \
35097 X"$ac_dest" : 'X\(/\)' \| \
35098 . : '\(.\)' 2>/dev/null ||
35100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35101 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35102 /^X\(\/\/\)$/{ s//\1/; q; }
35103 /^X\(\/\).*/{ s//\1/; q; }
35105 { if $as_mkdir_p; then
35110 while test ! -d "$as_dir"; do
35111 as_dirs="$as_dir $as_dirs"
35112 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35113 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35114 X"$as_dir" : 'X\(//\)[^/]' \| \
35115 X"$as_dir" : 'X\(//\)$' \| \
35116 X"$as_dir" : 'X\(/\)' \| \
35117 . : '\(.\)' 2>/dev/null ||
35119 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35120 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35121 /^X\(\/\/\)$/{ s//\1/; q; }
35122 /^X\(\/\).*/{ s//\1/; q; }
35125 test ! -n "$as_dirs" || mkdir $as_dirs
35126 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35127 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35128 { (exit 1); exit 1; }; }; }
35132 if test "$ac_dir" != .; then
35133 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35134 # A "../" for each directory in $ac_dir_suffix.
35135 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35137 ac_dir_suffix= ac_top_builddir=
35141 .) # No --srcdir option. We are building in place.
35143 if test -z "$ac_top_builddir"; then
35146 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35148 [\\/]* | ?:[\\/]* ) # Absolute path.
35149 ac_srcdir=$srcdir$ac_dir_suffix;
35150 ac_top_srcdir=$srcdir ;;
35151 *) # Relative path.
35152 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35153 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35156 # Do not use `cd foo && pwd` to compute absolute paths, because
35157 # the directories may not exist.
35159 .) ac_abs_builddir="$ac_dir";;
35162 .) ac_abs_builddir=`pwd`;;
35163 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35164 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35167 case $ac_abs_builddir in
35168 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35170 case ${ac_top_builddir}. in
35171 .) ac_abs_top_builddir=$ac_abs_builddir;;
35172 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35173 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35176 case $ac_abs_builddir in
35177 .) ac_abs_srcdir=$ac_srcdir;;
35180 .) ac_abs_srcdir=$ac_abs_builddir;;
35181 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35182 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35185 case $ac_abs_builddir in
35186 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35188 case $ac_top_srcdir in
35189 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35190 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35191 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35196 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35197 echo "$as_me: executing $ac_dest commands" >&6;}
35200 # Only add multilib support code if we just rebuilt the top-level
35202 case " $CONFIG_FILES " in
35204 ac_file=Makefile . ${multi_basedir}/config-ml.in
35207 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35208 # Strip MF so we end up with the name of the file.
35209 mf=`echo "$mf" | sed -e 's/:.*$//'`
35210 # Check whether this is an Automake generated Makefile or not.
35211 # We used to match only the files named `Makefile.in', but
35212 # some people rename them; so instead we look at the file content.
35213 # Grep'ing the first line is not enough: some people post-process
35214 # each Makefile.in and add a new line on top of each file to say so.
35215 # So let's grep whole file.
35216 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35217 dirpart=`(dirname "$mf") 2>/dev/null ||
35218 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35219 X"$mf" : 'X\(//\)[^/]' \| \
35220 X"$mf" : 'X\(//\)$' \| \
35221 X"$mf" : 'X\(/\)' \| \
35222 . : '\(.\)' 2>/dev/null ||
35224 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35225 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35226 /^X\(\/\/\)$/{ s//\1/; q; }
35227 /^X\(\/\).*/{ s//\1/; q; }
35232 # Extract the definition of DEPDIR, am__include, and am__quote
35233 # from the Makefile without running `make'.
35234 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
35235 test -z "$DEPDIR" && continue
35236 am__include=`sed -n 's/^am__include = //p' < "$mf"`
35237 test -z "am__include" && continue
35238 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
35239 # When using ansi2knr, U may be empty or an underscore; expand it
35240 U=`sed -n 's/^U = //p' < "$mf"`
35241 # Find all dependency output files, they are included files with
35242 # $(DEPDIR) in their names. We invoke sed twice because it is the
35243 # simplest approach to changing $(DEPDIR) to its actual value in the
35245 for file in `sed -n "
35246 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35247 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35248 # Make sure the directory exists.
35249 test -f "$dirpart/$file" && continue
35250 fdir=`(dirname "$file") 2>/dev/null ||
35251 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35252 X"$file" : 'X\(//\)[^/]' \| \
35253 X"$file" : 'X\(//\)$' \| \
35254 X"$file" : 'X\(/\)' \| \
35255 . : '\(.\)' 2>/dev/null ||
35257 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35258 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35259 /^X\(\/\/\)$/{ s//\1/; q; }
35260 /^X\(\/\).*/{ s//\1/; q; }
35262 { if $as_mkdir_p; then
35263 mkdir -p $dirpart/$fdir
35265 as_dir=$dirpart/$fdir
35267 while test ! -d "$as_dir"; do
35268 as_dirs="$as_dir $as_dirs"
35269 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35270 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35271 X"$as_dir" : 'X\(//\)[^/]' \| \
35272 X"$as_dir" : 'X\(//\)$' \| \
35273 X"$as_dir" : 'X\(/\)' \| \
35274 . : '\(.\)' 2>/dev/null ||
35276 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35277 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35278 /^X\(\/\/\)$/{ s//\1/; q; }
35279 /^X\(\/\).*/{ s//\1/; q; }
35282 test ! -n "$as_dirs" || mkdir $as_dirs
35283 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
35284 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
35285 { (exit 1); exit 1; }; }; }
35287 # echo "creating $dirpart/$file"
35288 echo '# dummy' > "$dirpart/$file"
35294 # See if we are running on zsh, and set the options which allow our
35295 # commands through without removal of \ escapes.
35296 if test -n "${ZSH_VERSION+set}" ; then
35297 setopt NO_GLOB_SUBST
35300 cfgfile="${ofile}T"
35301 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
35304 cat <<_LT_EOF >> "$cfgfile"
35307 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
35308 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
35309 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
35310 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
35312 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
35313 # 2006, 2007 Free Software Foundation, Inc.
35315 # This file is part of GNU Libtool:
35316 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
35318 # This program is free software; you can redistribute it and/or modify
35319 # it under the terms of the GNU General Public License as published by
35320 # the Free Software Foundation; either version 2 of the License, or
35321 # (at your option) any later version.
35323 # This program is distributed in the hope that it will be useful, but
35324 # WITHOUT ANY WARRANTY; without even the implied warranty of
35325 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
35326 # General Public License for more details.
35328 # You should have received a copy of the GNU General Public License
35329 # along with this program; if not, a copy can be downloaded from
35330 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
35331 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
35332 # MA 02110-1301, USA.
35334 # As a special exception to the GNU General Public License, if you
35335 # distribute this file as part of a program that contains a
35336 # configuration script generated by Autoconf, you may include it under
35337 # the same distribution terms that you use for the rest of that program.
35340 # The names of the tagged configurations supported by this script.
35341 available_tags="FC "
35343 # ### BEGIN LIBTOOL CONFIG
35345 # Which release of libtool.m4 was used?
35346 macro_version=$macro_version
35347 macro_revision=$macro_revision
35349 # Whether or not to build shared libraries.
35350 build_libtool_libs=$enable_shared
35352 # Whether or not to build static libraries.
35353 build_old_libs=$enable_static
35355 # What type of objects to build.
35358 # Whether or not to optimize for fast installation.
35359 fast_install=$enable_fast_install
35362 host_alias=$host_alias
35366 # The build system.
35367 build_alias=$build_alias
35371 # A sed program that does not truncate output.
35374 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
35375 Xsed="\$SED -e 1s/^X//"
35377 # A grep program that handles long lines.
35383 # A literal string matcher.
35386 # A BSD- or MS-compatible name lister.
35389 # Whether we need soft or hard links.
35392 # What is the maximum length of a command?
35393 max_cmd_len=$max_cmd_len
35395 # Object file suffix (normally "o").
35398 # Executable file suffix (normally "").
35401 # whether the shell understands "unset".
35404 # turn spaces into newlines.
35407 # turn newlines into spaces.
35410 # How to create reloadable object files.
35411 reload_flag=$lt_reload_flag
35412 reload_cmds=$lt_reload_cmds
35414 # Method to check whether dependent libraries are shared objects.
35415 deplibs_check_method=$lt_deplibs_check_method
35417 # Command to use when deplibs_check_method == "file_magic".
35418 file_magic_cmd=$lt_file_magic_cmd
35422 AR_FLAGS=$lt_AR_FLAGS
35424 # A symbol stripping program.
35427 # Commands used to install an old-style archive.
35429 old_postinstall_cmds=$lt_old_postinstall_cmds
35430 old_postuninstall_cmds=$lt_old_postuninstall_cmds
35435 # LTCC compiler flags.
35436 LTCFLAGS=$lt_CFLAGS
35438 # Take the output of nm and produce a listing of raw symbols and C names.
35439 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
35441 # Transform the output of nm in a proper C declaration.
35442 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
35444 # Transform the output of nm in a C name address pair.
35445 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
35447 # The name of the directory that contains temporary libtool files.
35450 # Shell to use when invoking shell scripts.
35453 # An echo program that does not interpret backslashes.
35456 # Used to examine libraries when file_magic_cmd begins with "file".
35457 MAGIC_CMD=$MAGIC_CMD
35459 # Must we lock files when doing compilation?
35460 need_locks=$lt_need_locks
35462 # Old archive suffix (normally "a").
35465 # Shared library suffix (normally ".so").
35466 shrext_cmds=$lt_shrext_cmds
35468 # The commands to extract the exported symbol list from a shared archive.
35469 extract_expsyms_cmds=$lt_extract_expsyms_cmds
35471 # Variables whose values should be saved in libtool wrapper scripts and
35472 # restored at link time.
35473 variables_saved_for_relink=$lt_variables_saved_for_relink
35475 # Do we need the "lib" prefix for modules?
35476 need_lib_prefix=$need_lib_prefix
35478 # Do we need a version for libraries?
35479 need_version=$need_version
35481 # Library versioning type.
35482 version_type=$version_type
35484 # Shared library runtime path variable.
35485 runpath_var=$runpath_var
35487 # Shared library path variable.
35488 shlibpath_var=$shlibpath_var
35490 # Is shlibpath searched before the hard-coded library search path?
35491 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
35493 # Format of library name prefix.
35494 libname_spec=$lt_libname_spec
35496 # List of archive names. First name is the real one, the rest are links.
35497 # The last name is the one that the linker finds with -lNAME
35498 library_names_spec=$lt_library_names_spec
35500 # The coded name of the library, if different from the real name.
35501 soname_spec=$lt_soname_spec
35503 # Command to use after installation of a shared archive.
35504 postinstall_cmds=$lt_postinstall_cmds
35506 # Command to use after uninstallation of a shared archive.
35507 postuninstall_cmds=$lt_postuninstall_cmds
35509 # Commands used to finish a libtool library installation in a directory.
35510 finish_cmds=$lt_finish_cmds
35512 # As "finish_cmds", except a single script fragment to be evaled but
35514 finish_eval=$lt_finish_eval
35516 # Whether we should hardcode library paths into libraries.
35517 hardcode_into_libs=$hardcode_into_libs
35519 # Compile-time system search path for libraries.
35520 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
35522 # Run-time system search path for libraries.
35523 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
35525 # Whether dlopen is supported.
35526 dlopen_support=$enable_dlopen
35528 # Whether dlopen of programs is supported.
35529 dlopen_self=$enable_dlopen_self
35531 # Whether dlopen of statically linked programs is supported.
35532 dlopen_self_static=$enable_dlopen_self_static
35534 # Commands to strip libraries.
35535 old_striplib=$lt_old_striplib
35536 striplib=$lt_striplib
35539 # The linker used to build libraries.
35542 # Commands used to build an old-style archive.
35543 old_archive_cmds=$lt_old_archive_cmds
35545 # A language specific compiler.
35548 # Is the compiler the GNU compiler?
35551 # Compiler flag to turn off builtin functions.
35552 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
35554 # How to pass a linker flag through the compiler.
35555 wl=$lt_lt_prog_compiler_wl
35557 # Additional compiler flags for building library objects.
35558 pic_flag=$lt_lt_prog_compiler_pic
35560 # Compiler flag to prevent dynamic linking.
35561 link_static_flag=$lt_lt_prog_compiler_static
35563 # Does compiler simultaneously support -c and -o options?
35564 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
35566 # Whether or not to add -lc for building shared libraries.
35567 build_libtool_need_lc=$archive_cmds_need_lc
35569 # Whether or not to disallow shared libs when runtime libs are static.
35570 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
35572 # Compiler flag to allow reflexive dlopens.
35573 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
35575 # Compiler flag to generate shared objects directly from archives.
35576 whole_archive_flag_spec=$lt_whole_archive_flag_spec
35578 # Whether the compiler copes with passing no objects directly.
35579 compiler_needs_object=$lt_compiler_needs_object
35581 # Create an old-style archive from a shared archive.
35582 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
35584 # Create a temporary old-style archive to link instead of a shared archive.
35585 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
35587 # Commands used to build a shared archive.
35588 archive_cmds=$lt_archive_cmds
35589 archive_expsym_cmds=$lt_archive_expsym_cmds
35591 # Commands used to build a loadable module if different from building
35592 # a shared archive.
35593 module_cmds=$lt_module_cmds
35594 module_expsym_cmds=$lt_module_expsym_cmds
35596 # Whether we are building with GNU ld or not.
35597 with_gnu_ld=$lt_with_gnu_ld
35599 # Flag that allows shared libraries with undefined symbols to be built.
35600 allow_undefined_flag=$lt_allow_undefined_flag
35602 # Flag that enforces no undefined symbols.
35603 no_undefined_flag=$lt_no_undefined_flag
35605 # Flag to hardcode \$libdir into a binary during linking.
35606 # This must work even if \$libdir does not exist
35607 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
35609 # If ld is used when linking, flag to hardcode \$libdir into a binary
35610 # during linking. This must work even if \$libdir does not exist.
35611 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
35613 # Whether we need a single "-rpath" flag with a separated argument.
35614 hardcode_libdir_separator=$lt_hardcode_libdir_separator
35616 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35617 # DIR into the resulting binary.
35618 hardcode_direct=$hardcode_direct
35620 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35621 # DIR into the resulting binary and the resulting library dependency is
35622 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35623 # library is relocated.
35624 hardcode_direct_absolute=$hardcode_direct_absolute
35626 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35627 # into the resulting binary.
35628 hardcode_minus_L=$hardcode_minus_L
35630 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35631 # into the resulting binary.
35632 hardcode_shlibpath_var=$hardcode_shlibpath_var
35634 # Set to "yes" if building a shared library automatically hardcodes DIR
35635 # into the library and all subsequent libraries and executables linked
35637 hardcode_automatic=$hardcode_automatic
35639 # Set to yes if linker adds runtime paths of dependent libraries
35640 # to runtime path list.
35641 inherit_rpath=$inherit_rpath
35643 # Whether libtool must link a program against all its dependency libraries.
35644 link_all_deplibs=$link_all_deplibs
35646 # Fix the shell variable \$srcfile for the compiler.
35647 fix_srcfile_path=$lt_fix_srcfile_path
35649 # Set to "yes" if exported symbols are required.
35650 always_export_symbols=$always_export_symbols
35652 # The commands to list exported symbols.
35653 export_symbols_cmds=$lt_export_symbols_cmds
35655 # Symbols that should not be listed in the preloaded symbols.
35656 exclude_expsyms=$lt_exclude_expsyms
35658 # Symbols that must always be exported.
35659 include_expsyms=$lt_include_expsyms
35661 # Commands necessary for linking programs (against libraries) with templates.
35662 prelink_cmds=$lt_prelink_cmds
35664 # Specify filename containing input files.
35665 file_list_spec=$lt_file_list_spec
35667 # How to hardcode a shared library path into an executable.
35668 hardcode_action=$hardcode_action
35670 # Dependencies to place before and after the objects being linked to
35671 # create a shared library.
35672 predep_objects=$lt_predep_objects
35673 postdep_objects=$lt_postdep_objects
35674 predeps=$lt_predeps
35675 postdeps=$lt_postdeps
35677 # The library search path used internally by the compiler when linking
35678 # a shared library.
35679 compiler_lib_search_path=$lt_compiler_lib_search_path
35681 # ### END LIBTOOL CONFIG
35687 cat <<\_LT_EOF >> "$cfgfile"
35688 # AIX sometimes has problems with the GCC collect2 program. For some
35689 # reason, if we set the COLLECT_NAMES environment variable, the problems
35690 # vanish in a puff of smoke.
35691 if test "X${COLLECT_NAMES+set}" != Xset; then
35693 export COLLECT_NAMES
35700 ltmain="$ac_aux_dir/ltmain.sh"
35703 # We use sed instead of cat because bash on DJGPP gets confused if
35704 # if finds mixed CR/LF and LF-only lines. Since sed operates in
35705 # text mode, it properly converts lines to CR/LF. This bash problem
35706 # is reportedly fixed, but why not run on old versions too?
35707 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
35708 || (rm -f "$cfgfile"; exit 1)
35712 cat << \_LT_EOF >> "$cfgfile"
35713 # func_dirname file append nondir_replacement
35714 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35715 # otherwise set result to NONDIR_REPLACEMENT.
35719 */*) func_dirname_result="${1%/*}${2}" ;;
35720 * ) func_dirname_result="${3}" ;;
35724 # func_basename file
35727 func_basename_result="${1##*/}"
35730 # func_stripname prefix suffix name
35731 # strip PREFIX and SUFFIX off of NAME.
35732 # PREFIX and SUFFIX must not contain globbing or regex special
35733 # characters, hashes, percent signs, but SUFFIX may contain a leading
35734 # dot (in which case that matches only a dot).
35737 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
35738 # positional parameters, so assign one to ordinary parameter first.
35739 func_stripname_result=${3}
35740 func_stripname_result=${func_stripname_result#"${1}"}
35741 func_stripname_result=${func_stripname_result%"${2}"}
35747 func_opt_split_opt=${1%%=*}
35748 func_opt_split_arg=${1#*=}
35755 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
35756 *) func_lo2o_result=${1} ;;
35761 *) # Bourne compatible functions.
35762 cat << \_LT_EOF >> "$cfgfile"
35763 # func_dirname file append nondir_replacement
35764 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
35765 # otherwise set result to NONDIR_REPLACEMENT.
35768 # Extract subdirectory from the argument.
35769 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
35770 if test "X$func_dirname_result" = "X${1}"; then
35771 func_dirname_result="${3}"
35773 func_dirname_result="$func_dirname_result${2}"
35777 # func_basename file
35780 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
35783 # func_stripname prefix suffix name
35784 # strip PREFIX and SUFFIX off of NAME.
35785 # PREFIX and SUFFIX must not contain globbing or regex special
35786 # characters, hashes, percent signs, but SUFFIX may contain a leading
35787 # dot (in which case that matches only a dot).
35788 # func_strip_suffix prefix name
35792 .*) func_stripname_result=`$ECHO "X${3}" \
35793 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
35794 *) func_stripname_result=`$ECHO "X${3}" \
35795 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
35800 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
35801 my_sed_long_arg='1s/^-[^=]*=//'
35806 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
35807 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
35813 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
35818 case $lt_shell_append in
35820 cat << \_LT_EOF >> "$cfgfile"
35822 # func_append var value
35823 # Append VALUE to the end of shell variable VAR.
35831 cat << \_LT_EOF >> "$cfgfile"
35833 # func_append var value
35834 # Append VALUE to the end of shell variable VAR.
35844 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
35845 || (rm -f "$cfgfile"; exit 1)
35847 mv -f "$cfgfile" "$ofile" ||
35848 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
35852 cat <<_LT_EOF >> "$ofile"
35854 # ### BEGIN LIBTOOL TAG CONFIG: FC
35856 # The linker used to build libraries.
35859 # Commands used to build an old-style archive.
35860 old_archive_cmds=$lt_old_archive_cmds_FC
35862 # A language specific compiler.
35865 # Is the compiler the GNU compiler?
35868 # Compiler flag to turn off builtin functions.
35869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
35871 # How to pass a linker flag through the compiler.
35872 wl=$lt_lt_prog_compiler_wl_FC
35874 # Additional compiler flags for building library objects.
35875 pic_flag=$lt_lt_prog_compiler_pic_FC
35877 # Compiler flag to prevent dynamic linking.
35878 link_static_flag=$lt_lt_prog_compiler_static_FC
35880 # Does compiler simultaneously support -c and -o options?
35881 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
35883 # Whether or not to add -lc for building shared libraries.
35884 build_libtool_need_lc=$archive_cmds_need_lc_FC
35886 # Whether or not to disallow shared libs when runtime libs are static.
35887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
35889 # Compiler flag to allow reflexive dlopens.
35890 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
35892 # Compiler flag to generate shared objects directly from archives.
35893 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
35895 # Whether the compiler copes with passing no objects directly.
35896 compiler_needs_object=$lt_compiler_needs_object_FC
35898 # Create an old-style archive from a shared archive.
35899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
35901 # Create a temporary old-style archive to link instead of a shared archive.
35902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
35904 # Commands used to build a shared archive.
35905 archive_cmds=$lt_archive_cmds_FC
35906 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
35908 # Commands used to build a loadable module if different from building
35909 # a shared archive.
35910 module_cmds=$lt_module_cmds_FC
35911 module_expsym_cmds=$lt_module_expsym_cmds_FC
35913 # Whether we are building with GNU ld or not.
35914 with_gnu_ld=$lt_with_gnu_ld_FC
35916 # Flag that allows shared libraries with undefined symbols to be built.
35917 allow_undefined_flag=$lt_allow_undefined_flag_FC
35919 # Flag that enforces no undefined symbols.
35920 no_undefined_flag=$lt_no_undefined_flag_FC
35922 # Flag to hardcode \$libdir into a binary during linking.
35923 # This must work even if \$libdir does not exist
35924 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
35926 # If ld is used when linking, flag to hardcode \$libdir into a binary
35927 # during linking. This must work even if \$libdir does not exist.
35928 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
35930 # Whether we need a single "-rpath" flag with a separated argument.
35931 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
35933 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35934 # DIR into the resulting binary.
35935 hardcode_direct=$hardcode_direct_FC
35937 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
35938 # DIR into the resulting binary and the resulting library dependency is
35939 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
35940 # library is relocated.
35941 hardcode_direct_absolute=$hardcode_direct_absolute_FC
35943 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
35944 # into the resulting binary.
35945 hardcode_minus_L=$hardcode_minus_L_FC
35947 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
35948 # into the resulting binary.
35949 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
35951 # Set to "yes" if building a shared library automatically hardcodes DIR
35952 # into the library and all subsequent libraries and executables linked
35954 hardcode_automatic=$hardcode_automatic_FC
35956 # Set to yes if linker adds runtime paths of dependent libraries
35957 # to runtime path list.
35958 inherit_rpath=$inherit_rpath_FC
35960 # Whether libtool must link a program against all its dependency libraries.
35961 link_all_deplibs=$link_all_deplibs_FC
35963 # Fix the shell variable \$srcfile for the compiler.
35964 fix_srcfile_path=$lt_fix_srcfile_path_FC
35966 # Set to "yes" if exported symbols are required.
35967 always_export_symbols=$always_export_symbols_FC
35969 # The commands to list exported symbols.
35970 export_symbols_cmds=$lt_export_symbols_cmds_FC
35972 # Symbols that should not be listed in the preloaded symbols.
35973 exclude_expsyms=$lt_exclude_expsyms_FC
35975 # Symbols that must always be exported.
35976 include_expsyms=$lt_include_expsyms_FC
35978 # Commands necessary for linking programs (against libraries) with templates.
35979 prelink_cmds=$lt_prelink_cmds_FC
35981 # Specify filename containing input files.
35982 file_list_spec=$lt_file_list_spec_FC
35984 # How to hardcode a shared library path into an executable.
35985 hardcode_action=$hardcode_action_FC
35987 # Dependencies to place before and after the objects being linked to
35988 # create a shared library.
35989 predep_objects=$lt_predep_objects_FC
35990 postdep_objects=$lt_postdep_objects_FC
35991 predeps=$lt_predeps_FC
35992 postdeps=$lt_postdeps_FC
35994 # The library search path used internally by the compiler when linking
35995 # a shared library.
35996 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
35998 # ### END LIBTOOL TAG CONFIG: FC
36003 if test "$GCC" = yes; then
36004 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36006 echo "/* generated for $CC */" > tmp-stdint.h
36009 sed 's/^ *//' >> tmp-stdint.h <<EOF
36011 #ifndef GCC_GENERATED_STDINT_H
36012 #define GCC_GENERATED_STDINT_H 1
36014 #include <sys/types.h>
36017 if test "$acx_cv_header_stdint" != stdint.h; then
36018 echo "#include <stddef.h>" >> tmp-stdint.h
36020 if test "$acx_cv_header_stdint" != stddef.h; then
36021 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36024 sed 's/^ *//' >> tmp-stdint.h <<EOF
36025 /* glibc uses these symbols as guards to prevent redefinitions. */
36026 #ifdef __int8_t_defined
36031 #ifdef __uint32_t_defined
36037 # ----------------- done header, emit basic int types -------------
36038 if test "$acx_cv_header_stdint" = stddef.h; then
36039 sed 's/^ *//' >> tmp-stdint.h <<EOF
36043 #ifndef __uint8_t_defined
36044 #define __uint8_t_defined
36045 typedef unsigned $acx_cv_type_int8_t uint8_t;
36051 #ifndef __uint16_t_defined
36052 #define __uint16_t_defined
36053 typedef unsigned $acx_cv_type_int16_t uint16_t;
36059 #ifndef __uint32_t_defined
36060 #define __uint32_t_defined
36061 typedef unsigned $acx_cv_type_int32_t uint32_t;
36067 #ifndef __int8_t_defined
36068 #define __int8_t_defined
36069 typedef $acx_cv_type_int8_t int8_t;
36075 #ifndef __int16_t_defined
36076 #define __int16_t_defined
36077 typedef $acx_cv_type_int16_t int16_t;
36083 #ifndef __int32_t_defined
36084 #define __int32_t_defined
36085 typedef $acx_cv_type_int32_t int32_t;
36089 elif test "$ac_cv_type_u_int32_t" = yes; then
36090 sed 's/^ *//' >> tmp-stdint.h <<EOF
36092 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36105 #ifndef __uint8_t_defined
36106 #define __uint8_t_defined
36107 typedef u_int8_t uint8_t;
36113 #ifndef __uint16_t_defined
36114 #define __uint16_t_defined
36115 typedef u_int16_t uint16_t;
36121 #ifndef __uint32_t_defined
36122 #define __uint32_t_defined
36123 typedef u_int32_t uint32_t;
36128 sed 's/^ *//' >> tmp-stdint.h <<EOF
36130 /* Some systems have guard macros to prevent redefinitions, define them. */
36152 # ------------- done basic int types, emit int64_t types ------------
36153 if test "$ac_cv_type_uint64_t" = yes; then
36154 sed 's/^ *//' >> tmp-stdint.h <<EOF
36156 /* system headers have good uint64_t and int64_t */
36164 elif test "$ac_cv_type_u_int64_t" = yes; then
36165 sed 's/^ *//' >> tmp-stdint.h <<EOF
36167 /* system headers have an u_int64_t (and int64_t) */
36173 #ifndef __uint64_t_defined
36174 #define __uint64_t_defined
36175 typedef u_int64_t uint64_t;
36179 elif test -n "$acx_cv_type_int64_t"; then
36180 sed 's/^ *//' >> tmp-stdint.h <<EOF
36182 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
36185 typedef $acx_cv_type_int64_t int64_t;
36189 #ifndef __uint64_t_defined
36190 #define __uint64_t_defined
36191 typedef unsigned $acx_cv_type_int64_t uint64_t;
36196 sed 's/^ *//' >> tmp-stdint.h <<EOF
36198 /* some common heuristics for int64_t, using compiler-specific tests */
36199 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
36202 #ifndef __int64_t_defined
36203 typedef long long int64_t;
36208 typedef unsigned long long uint64_t;
36211 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
36212 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
36213 does not implement __extension__. But that compiler doesn't define
36215 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
36216 # define __extension__
36221 __extension__ typedef long long int64_t;
36225 __extension__ typedef unsigned long long uint64_t;
36228 #elif !defined __STRICT_ANSI__
36229 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
36233 typedef __int64 int64_t;
36237 typedef unsigned __int64 uint64_t;
36239 # endif /* compiler */
36241 #endif /* ANSI version */
36245 # ------------- done int64_t types, emit intptr types ------------
36246 if test "$ac_cv_type_uintptr_t" != yes; then
36247 sed 's/^ *//' >> tmp-stdint.h <<EOF
36249 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
36250 #ifndef __uintptr_t_defined
36251 typedef u$acx_cv_type_intptr_t uintptr_t;
36253 #ifndef __intptr_t_defined
36254 typedef $acx_cv_type_intptr_t intptr_t;
36259 # ------------- done intptr types, emit int_least types ------------
36260 if test "$ac_cv_type_int_least32_t" != yes; then
36261 sed 's/^ *//' >> tmp-stdint.h <<EOF
36263 /* Define int_least types */
36264 typedef int8_t int_least8_t;
36265 typedef int16_t int_least16_t;
36266 typedef int32_t int_least32_t;
36268 typedef int64_t int_least64_t;
36271 typedef uint8_t uint_least8_t;
36272 typedef uint16_t uint_least16_t;
36273 typedef uint32_t uint_least32_t;
36275 typedef uint64_t uint_least64_t;
36280 # ------------- done intptr types, emit int_fast types ------------
36281 if test "$ac_cv_type_int_fast32_t" != yes; then
36282 sed 's/^ *//' >> tmp-stdint.h <<EOF
36284 /* Define int_fast types. short is often slow */
36285 typedef int8_t int_fast8_t;
36286 typedef int int_fast16_t;
36287 typedef int32_t int_fast32_t;
36289 typedef int64_t int_fast64_t;
36292 typedef uint8_t uint_fast8_t;
36293 typedef unsigned int uint_fast16_t;
36294 typedef uint32_t uint_fast32_t;
36296 typedef uint64_t uint_fast64_t;
36301 if test "$ac_cv_type_uintmax_t" != yes; then
36302 sed 's/^ *//' >> tmp-stdint.h <<EOF
36304 /* Define intmax based on what we found */
36306 typedef int64_t intmax_t;
36308 typedef long intmax_t;
36311 typedef uint64_t uintmax_t;
36313 typedef unsigned long uintmax_t;
36318 sed 's/^ *//' >> tmp-stdint.h <<EOF
36320 #endif /* GCC_GENERATED_STDINT_H */
36323 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
36326 mv -f tmp-stdint.h gstdint.h
36334 cat >>$CONFIG_STATUS <<\_ACEOF
36336 { (exit 0); exit 0; }
36338 chmod +x $CONFIG_STATUS
36339 ac_clean_files=$ac_clean_files_save
36342 # configure is writing to config.log, and then calls config.status.
36343 # config.status does its own redirection, appending to config.log.
36344 # Unfortunately, on DOS this fails, as config.log is still kept open
36345 # by configure, so config.status won't be able to write to it; its
36346 # output is simply discarded. So we exec the FD to /dev/null,
36347 # effectively closing config.log, so it can be properly (re)opened and
36348 # appended to by config.status. When coming back to configure, we
36349 # need to make the FD available again.
36350 if test "$no_create" != yes; then
36352 ac_config_status_args=
36353 test "$silent" = yes &&
36354 ac_config_status_args="$ac_config_status_args --quiet"
36356 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
36358 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
36359 # would make configure fail if this is the last instruction.
36360 $ac_cs_success || { (exit 1); exit 1; }