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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3872 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3877 macro_version='2.2.6'
3878 macro_revision='1.3012'
3892 ltmain="$ac_aux_dir/ltmain.sh"
3894 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3895 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3896 if test "${lt_cv_path_SED+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 # Loop through the user's path and test for sed and gsed.
3900 # Then use that list of sed's as ones to test for truncation.
3901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir=.
3906 for lt_ac_prog in sed gsed; do
3907 for ac_exec_ext in '' $ac_executable_extensions; do
3908 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3909 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3917 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3918 # along with /bin/sed that truncates output.
3919 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3920 test ! -f $lt_ac_sed && continue
3921 cat /dev/null > conftest.in
3923 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3924 # Check for GNU sed and select it if it is found.
3925 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3926 lt_cv_path_SED=$lt_ac_sed
3930 cat conftest.in conftest.in >conftest.tmp
3931 mv conftest.tmp conftest.in
3932 cp conftest.in conftest.nl
3934 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3935 cmp -s conftest.out conftest.nl || break
3936 # 10000 chars as input seems more than enough
3937 test $lt_ac_count -gt 10 && break
3938 lt_ac_count=`expr $lt_ac_count + 1`
3939 if test $lt_ac_count -gt $lt_ac_max; then
3940 lt_ac_max=$lt_ac_count
3941 lt_cv_path_SED=$lt_ac_sed
3950 echo "$as_me:$LINENO: result: $SED" >&5
3951 echo "${ECHO_T}$SED" >&6
3953 test -z "$SED" && SED=sed
3954 Xsed="$SED -e 1s/^X//"
3966 echo "$as_me:$LINENO: checking for egrep" >&5
3967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968 if test "${ac_cv_prog_egrep+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3972 then ac_cv_prog_egrep='grep -E'
3973 else ac_cv_prog_egrep='egrep'
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978 EGREP=$ac_cv_prog_egrep
3981 echo "$as_me:$LINENO: checking for fgrep" >&5
3982 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3983 if test "${ac_cv_prog_fgrep+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
3987 then ac_cv_prog_fgrep='grep -F'
3988 else ac_cv_prog_fgrep='fgrep'
3991 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3992 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3993 FGREP=$ac_cv_prog_fgrep
3996 test -z "$GREP" && GREP=grep
4016 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4017 if test "${with_gnu_ld+set}" = set; then
4018 withval="$with_gnu_ld"
4019 test "$withval" = no || with_gnu_ld=yes
4024 if test "$GCC" = yes; then
4025 # Check if gcc -print-prog-name=ld gives a path.
4026 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4027 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4030 # gcc leaves a trailing carriage return which upsets mingw
4031 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4033 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4036 # Accept absolute paths.
4038 re_direlt='/[^/][^/]*/\.\./'
4039 # Canonicalize the pathname of ld
4040 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4041 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4042 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4044 test -z "$LD" && LD="$ac_prog"
4047 # If it fails, then pretend we aren't using GCC.
4051 # If it is relative, then search for the first ld in PATH.
4055 elif test "$with_gnu_ld" = yes; then
4056 echo "$as_me:$LINENO: checking for GNU ld" >&5
4057 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4059 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4060 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4062 if test "${lt_cv_path_LD+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 if test -z "$LD"; then
4066 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4067 for ac_dir in $PATH; do
4069 test -z "$ac_dir" && ac_dir=.
4070 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4071 lt_cv_path_LD="$ac_dir/$ac_prog"
4072 # Check to see if the program is GNU ld. I'd rather use --version,
4073 # but apparently some variants of GNU ld only accept -v.
4074 # Break only if it was the GNU/non-GNU ld that we prefer.
4075 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4076 *GNU* | *'with BFD'*)
4077 test "$with_gnu_ld" != no && break
4080 test "$with_gnu_ld" != yes && break
4087 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4092 if test -n "$LD"; then
4093 echo "$as_me:$LINENO: result: $LD" >&5
4094 echo "${ECHO_T}$LD" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4099 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4100 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4101 { (exit 1); exit 1; }; }
4102 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4103 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4104 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4108 case `$LD -v 2>&1 </dev/null` in
4109 *GNU* | *'with BFD'*)
4110 lt_cv_prog_gnu_ld=yes
4113 lt_cv_prog_gnu_ld=no
4117 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4118 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4119 with_gnu_ld=$lt_cv_prog_gnu_ld
4129 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4130 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4138 lt_nm_to_check="${ac_tool_prefix}nm"
4139 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4140 lt_nm_to_check="$lt_nm_to_check nm"
4142 for lt_tmp_nm in $lt_nm_to_check; do
4143 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4144 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4146 test -z "$ac_dir" && ac_dir=.
4147 tmp_nm="$ac_dir/$lt_tmp_nm"
4148 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4149 # Check to see if the nm accepts a BSD-compat flag.
4150 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4151 # nm: unknown option "B" ignored
4152 # Tru64's nm complains that /dev/null is an invalid object file
4153 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4154 */dev/null* | *'Invalid file or object type'*)
4155 lt_cv_path_NM="$tmp_nm -B"
4159 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4161 lt_cv_path_NM="$tmp_nm -p"
4165 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4166 continue # so that we can try to find one that supports BSD flags
4175 : ${lt_cv_path_NM=no}
4178 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4179 echo "${ECHO_T}$lt_cv_path_NM" >&6
4180 if test "$lt_cv_path_NM" != "no"; then
4183 # Didn't find any BSD compatible name lister, look for dumpbin.
4184 if test -n "$ac_tool_prefix"; then
4185 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4188 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4189 echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4191 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 if test -n "$DUMPBIN"; then
4195 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir=.
4202 for ac_exec_ext in '' $ac_executable_extensions; do
4203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 DUMPBIN=$ac_cv_prog_DUMPBIN
4214 if test -n "$DUMPBIN"; then
4215 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4216 echo "${ECHO_T}$DUMPBIN" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4222 test -n "$DUMPBIN" && break
4225 if test -z "$DUMPBIN"; then
4226 ac_ct_DUMPBIN=$DUMPBIN
4227 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4229 # Extract the first word of "$ac_prog", so it can be a program name with args.
4230 set dummy $ac_prog; ac_word=$2
4231 echo "$as_me:$LINENO: checking for $ac_word" >&5
4232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4233 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 if test -n "$ac_ct_DUMPBIN"; then
4237 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir=.
4244 for ac_exec_ext in '' $ac_executable_extensions; do
4245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4256 if test -n "$ac_ct_DUMPBIN"; then
4257 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4258 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4264 test -n "$ac_ct_DUMPBIN" && break
4266 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4268 DUMPBIN=$ac_ct_DUMPBIN
4272 if test "$DUMPBIN" != ":"; then
4276 test -z "$NM" && NM=nm
4283 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4284 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4285 if test "${lt_cv_nm_interface+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 lt_cv_nm_interface="BSD nm"
4289 echo "int some_variable = 0;" > conftest.$ac_ext
4290 (eval echo "\"\$as_me:4290: $ac_compile\"" >&5)
4291 (eval "$ac_compile" 2>conftest.err)
4292 cat conftest.err >&5
4293 (eval echo "\"\$as_me:4293: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4294 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4295 cat conftest.err >&5
4296 (eval echo "\"\$as_me:4296: output\"" >&5)
4297 cat conftest.out >&5
4298 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4299 lt_cv_nm_interface="MS dumpbin"
4303 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4304 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4306 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4307 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4309 if test "$LN_S" = "ln -s"; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4313 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4314 echo "${ECHO_T}no, using $LN_S" >&6
4317 # find the maximum length of command line arguments
4318 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4319 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4320 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 # On DJGPP, this test can blow up pretty badly due to problems in libc
4329 # (any single argument exceeding 2000 bytes causes a buffer overrun
4330 # during glob expansion). Even if it were fixed, the result of this
4331 # check would be larger than it should be.
4332 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4336 # Under GNU Hurd, this test is not required because there is
4337 # no limit to the length of command line arguments.
4338 # Libtool will interpret -1 as no limit whatsoever
4339 lt_cv_sys_max_cmd_len=-1;
4342 cygwin* | mingw* | cegcc*)
4343 # On Win9x/ME, this test blows up -- it succeeds, but takes
4344 # about 5 minutes as the teststring grows exponentially.
4345 # Worse, since 9x/ME are not pre-emptively multitasking,
4346 # you end up with a "frozen" computer, even though with patience
4347 # the test eventually succeeds (with a max line length of 256k).
4348 # Instead, let's just punt: use the minimum linelength reported by
4349 # all of the supported platforms: 8192 (on NT/2K/XP).
4350 lt_cv_sys_max_cmd_len=8192;
4354 # On AmigaOS with pdksh, this test takes hours, literally.
4355 # So we just punt and use a minimum line length of 8192.
4356 lt_cv_sys_max_cmd_len=8192;
4359 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4360 # This has been around since 386BSD, at least. Likely further.
4361 if test -x /sbin/sysctl; then
4362 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4363 elif test -x /usr/sbin/sysctl; then
4364 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4366 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4368 # And add a safety zone
4369 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4370 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4374 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4375 lt_cv_sys_max_cmd_len=196608
4379 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4380 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4381 # nice to cause kernel panics so lets avoid the loop below.
4382 # First set a reasonable default.
4383 lt_cv_sys_max_cmd_len=16384
4385 if test -x /sbin/sysconfig; then
4386 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4387 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4392 lt_cv_sys_max_cmd_len=102400
4394 sysv5* | sco5v6* | sysv4.2uw2*)
4395 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4396 if test -n "$kargmax"; then
4397 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4399 lt_cv_sys_max_cmd_len=32768
4403 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4404 if test -n "$lt_cv_sys_max_cmd_len"; then
4405 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4406 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4408 # Make teststring a little bigger before we do anything with it.
4409 # a 1K string should be a reasonable start.
4410 for i in 1 2 3 4 5 6 7 8 ; do
4411 teststring=$teststring$teststring
4413 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4414 # If test is not a shell built-in, we'll probably end up computing a
4415 # maximum length that is only half of the actual maximum length, but
4417 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4418 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4419 test $i != 17 # 1/2 MB should be enough
4422 teststring=$teststring$teststring
4424 # Only check the string length outside the loop.
4425 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4427 # Add a significant safety factor because C++ compilers can tack on
4428 # massive amounts of additional arguments before passing them to the
4429 # linker. It appears as though 1/2 is a usable value.
4430 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4437 if test -n $lt_cv_sys_max_cmd_len ; then
4438 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4439 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4441 echo "$as_me:$LINENO: result: none" >&5
4442 echo "${ECHO_T}none" >&6
4444 max_cmd_len=$lt_cv_sys_max_cmd_len
4455 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4456 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4457 # Try some XSI features
4460 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4462 && eval 'test $(( 1 + 1 )) -eq 2 \
4463 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4465 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4466 echo "${ECHO_T}$xsi_shell" >&6
4469 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4470 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4472 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4474 && lt_shell_append=yes
4475 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4476 echo "${ECHO_T}$lt_shell_append" >&6
4479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4489 # test EBCDIC or ASCII
4490 case `echo X|tr X '\101'` in
4491 A) # ASCII based system
4492 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4493 lt_SP2NL='tr \040 \012'
4494 lt_NL2SP='tr \015\012 \040\040'
4496 *) # EBCDIC based system
4497 lt_SP2NL='tr \100 \n'
4498 lt_NL2SP='tr \r\n \100\100'
4510 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4511 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4512 if test "${lt_cv_ld_reload_flag+set}" = set; then
4513 echo $ECHO_N "(cached) $ECHO_C" >&6
4515 lt_cv_ld_reload_flag='-r'
4517 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4519 reload_flag=$lt_cv_ld_reload_flag
4520 case $reload_flag in
4522 *) reload_flag=" $reload_flag" ;;
4524 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4527 if test "$GCC" = yes; then
4528 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4530 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4543 if test -n "$ac_tool_prefix"; then
4544 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4545 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4546 echo "$as_me:$LINENO: checking for $ac_word" >&5
4547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4548 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 if test -n "$OBJDUMP"; then
4552 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4570 OBJDUMP=$ac_cv_prog_OBJDUMP
4571 if test -n "$OBJDUMP"; then
4572 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4573 echo "${ECHO_T}$OBJDUMP" >&6
4575 echo "$as_me:$LINENO: result: no" >&5
4576 echo "${ECHO_T}no" >&6
4580 if test -z "$ac_cv_prog_OBJDUMP"; then
4581 ac_ct_OBJDUMP=$OBJDUMP
4582 # Extract the first word of "objdump", so it can be a program name with args.
4583 set dummy objdump; ac_word=$2
4584 echo "$as_me:$LINENO: checking for $ac_word" >&5
4585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4586 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4587 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 if test -n "$ac_ct_OBJDUMP"; then
4590 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4600 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4606 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4609 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4610 if test -n "$ac_ct_OBJDUMP"; then
4611 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4612 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4614 echo "$as_me:$LINENO: result: no" >&5
4615 echo "${ECHO_T}no" >&6
4618 OBJDUMP=$ac_ct_OBJDUMP
4620 OBJDUMP="$ac_cv_prog_OBJDUMP"
4623 test -z "$OBJDUMP" && OBJDUMP=objdump
4633 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4634 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4635 if test "${lt_cv_deplibs_check_method+set}" = set; then
4636 echo $ECHO_N "(cached) $ECHO_C" >&6
4638 lt_cv_file_magic_cmd='$MAGIC_CMD'
4639 lt_cv_file_magic_test_file=
4640 lt_cv_deplibs_check_method='unknown'
4641 # Need to set the preceding variable on all platforms that support
4642 # interlibrary dependencies.
4643 # 'none' -- dependencies not supported.
4644 # `unknown' -- same as none, but documents that we really don't know.
4645 # 'pass_all' -- all dependencies passed with no checks.
4646 # 'test_compile' -- check by making test program.
4647 # 'file_magic [[regex]]' -- check by looking for files in library path
4648 # which responds to the $file_magic_cmd with a given extended regex.
4649 # If you have `file' or equivalent on your system and you're not sure
4650 # whether `pass_all' will *always* work, you probably want this one.
4654 lt_cv_deplibs_check_method=pass_all
4658 lt_cv_deplibs_check_method=pass_all
4662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4663 lt_cv_file_magic_cmd='/usr/bin/file -L'
4664 lt_cv_file_magic_test_file=/shlib/libc.so
4668 # func_win32_libid is a shell function defined in ltmain.sh
4669 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4670 lt_cv_file_magic_cmd='func_win32_libid'
4674 # Base MSYS/MinGW do not provide the 'file' command needed by
4675 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4676 # unless we find 'file', for example because we are cross-compiling.
4677 if ( file / ) >/dev/null 2>&1; then
4678 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4679 lt_cv_file_magic_cmd='func_win32_libid'
4681 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4682 lt_cv_file_magic_cmd='$OBJDUMP -f'
4687 # use the weaker test based on 'objdump'. See mingw*.
4688 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4689 lt_cv_file_magic_cmd='$OBJDUMP -f'
4692 darwin* | rhapsody*)
4693 lt_cv_deplibs_check_method=pass_all
4696 freebsd* | dragonfly*)
4697 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4700 # Not sure whether the presence of OpenBSD here was a mistake.
4701 # Let's accept both of them until this is cleared up.
4702 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4703 lt_cv_file_magic_cmd=/usr/bin/file
4704 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4708 lt_cv_deplibs_check_method=pass_all
4713 lt_cv_deplibs_check_method=pass_all
4716 hpux10.20* | hpux11*)
4717 lt_cv_file_magic_cmd=/usr/bin/file
4720 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4721 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4724 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]'
4725 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4728 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4729 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4735 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4739 irix5* | irix6* | nonstopux*)
4741 *-32|*"-32 ") libmagic=32-bit;;
4742 *-n32|*"-n32 ") libmagic=N32;;
4743 *-64|*"-64 ") libmagic=64-bit;;
4744 *) libmagic=never-match;;
4746 lt_cv_deplibs_check_method=pass_all
4749 # This must be Linux ELF.
4750 linux* | k*bsd*-gnu)
4751 lt_cv_deplibs_check_method=pass_all
4755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4758 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4764 lt_cv_file_magic_cmd=/usr/bin/file
4765 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4769 lt_cv_deplibs_check_method=pass_all
4773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4780 osf3* | osf4* | osf5*)
4781 lt_cv_deplibs_check_method=pass_all
4785 lt_cv_deplibs_check_method=pass_all
4789 lt_cv_deplibs_check_method=pass_all
4792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4793 lt_cv_deplibs_check_method=pass_all
4797 case $host_vendor in
4799 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]'
4800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4803 lt_cv_deplibs_check_method=pass_all
4806 lt_cv_file_magic_cmd='/bin/file'
4807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4810 lt_cv_file_magic_cmd='/bin/file'
4811 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4812 lt_cv_file_magic_test_file=/lib/libc.so
4815 lt_cv_deplibs_check_method=pass_all
4818 lt_cv_deplibs_check_method=pass_all
4824 lt_cv_deplibs_check_method=pass_all
4829 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4830 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4831 file_magic_cmd=$lt_cv_file_magic_cmd
4832 deplibs_check_method=$lt_cv_deplibs_check_method
4833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4846 if test -n "$ac_tool_prefix"; then
4847 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4848 set dummy ${ac_tool_prefix}ar; ac_word=$2
4849 echo "$as_me:$LINENO: checking for $ac_word" >&5
4850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4851 if test "${ac_cv_prog_AR+set}" = set; then
4852 echo $ECHO_N "(cached) $ECHO_C" >&6
4854 if test -n "$AR"; then
4855 ac_cv_prog_AR="$AR" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_AR="${ac_tool_prefix}ar"
4865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4874 if test -n "$AR"; then
4875 echo "$as_me:$LINENO: result: $AR" >&5
4876 echo "${ECHO_T}$AR" >&6
4878 echo "$as_me:$LINENO: result: no" >&5
4879 echo "${ECHO_T}no" >&6
4883 if test -z "$ac_cv_prog_AR"; then
4885 # Extract the first word of "ar", so it can be a program name with args.
4886 set dummy ar; ac_word=$2
4887 echo "$as_me:$LINENO: checking for $ac_word" >&5
4888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4889 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 if test -n "$ac_ct_AR"; then
4893 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_ac_ct_AR="ar"
4903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4913 if test -n "$ac_ct_AR"; then
4914 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4915 echo "${ECHO_T}$ac_ct_AR" >&6
4917 echo "$as_me:$LINENO: result: no" >&5
4918 echo "${ECHO_T}no" >&6
4926 test -z "$AR" && AR=ar
4927 test -z "$AR_FLAGS" && AR_FLAGS=cru
4939 if test -n "$ac_tool_prefix"; then
4940 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4941 set dummy ${ac_tool_prefix}strip; ac_word=$2
4942 echo "$as_me:$LINENO: checking for $ac_word" >&5
4943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4944 if test "${ac_cv_prog_STRIP+set}" = set; then
4945 echo $ECHO_N "(cached) $ECHO_C" >&6
4947 if test -n "$STRIP"; then
4948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 STRIP=$ac_cv_prog_STRIP
4967 if test -n "$STRIP"; then
4968 echo "$as_me:$LINENO: result: $STRIP" >&5
4969 echo "${ECHO_T}$STRIP" >&6
4971 echo "$as_me:$LINENO: result: no" >&5
4972 echo "${ECHO_T}no" >&6
4976 if test -z "$ac_cv_prog_STRIP"; then
4978 # Extract the first word of "strip", so it can be a program name with args.
4979 set dummy strip; ac_word=$2
4980 echo "$as_me:$LINENO: checking for $ac_word" >&5
4981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4983 echo $ECHO_N "(cached) $ECHO_C" >&6
4985 if test -n "$ac_ct_STRIP"; then
4986 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_STRIP="strip"
4996 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5006 if test -n "$ac_ct_STRIP"; then
5007 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5008 echo "${ECHO_T}$ac_ct_STRIP" >&6
5010 echo "$as_me:$LINENO: result: no" >&5
5011 echo "${ECHO_T}no" >&6
5016 STRIP="$ac_cv_prog_STRIP"
5019 test -z "$STRIP" && STRIP=:
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5029 echo "$as_me:$LINENO: checking for $ac_word" >&5
5030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5031 if test "${ac_cv_prog_RANLIB+set}" = set; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 if test -n "$RANLIB"; then
5035 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 RANLIB=$ac_cv_prog_RANLIB
5054 if test -n "$RANLIB"; then
5055 echo "$as_me:$LINENO: result: $RANLIB" >&5
5056 echo "${ECHO_T}$RANLIB" >&6
5058 echo "$as_me:$LINENO: result: no" >&5
5059 echo "${ECHO_T}no" >&6
5063 if test -z "$ac_cv_prog_RANLIB"; then
5064 ac_ct_RANLIB=$RANLIB
5065 # Extract the first word of "ranlib", so it can be a program name with args.
5066 set dummy ranlib; ac_word=$2
5067 echo "$as_me:$LINENO: checking for $ac_word" >&5
5068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5069 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 if test -n "$ac_ct_RANLIB"; then
5073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_RANLIB="ranlib"
5083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5093 if test -n "$ac_ct_RANLIB"; then
5094 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5095 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5097 echo "$as_me:$LINENO: result: no" >&5
5098 echo "${ECHO_T}no" >&6
5101 RANLIB=$ac_ct_RANLIB
5103 RANLIB="$ac_cv_prog_RANLIB"
5106 test -z "$RANLIB" && RANLIB=:
5113 # Determine commands to create old-style static archives.
5114 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5115 old_postinstall_cmds='chmod 644 $oldlib'
5116 old_postuninstall_cmds=
5118 if test -n "$RANLIB"; then
5121 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5124 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5127 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5163 # If no C compiler was specified, use CC.
5166 # If no C compiler flags were specified, use CFLAGS.
5167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5169 # Allow CC to be a program name with arguments.
5173 # Check for command to grab the raw symbol name followed by C symbol from nm.
5174 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5175 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5176 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5177 echo $ECHO_N "(cached) $ECHO_C" >&6
5180 # These are sane defaults that work on at least a few old systems.
5181 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5183 # Character class describing NM global symbol codes.
5184 symcode='[BCDEGRST]'
5186 # Regexp to match symbols that can be accessed directly from C.
5187 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5189 # Define system-specific variables.
5194 cygwin* | mingw* | pw32* | cegcc*)
5195 symcode='[ABCDGISTW]'
5198 if test "$host_cpu" = ia64; then
5199 symcode='[ABCDEGRST]'
5203 symcode='[BCDEGRST]'
5206 symcode='[BCDEGQRST]'
5217 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5225 # If we're using GNU nm, then use its standard symbol codes.
5226 case `$NM -V 2>&1` in
5227 *GNU* | *'with BFD'*)
5228 symcode='[ABCDGIRSTW]' ;;
5231 # Transform an extracted symbol line into a proper C declaration.
5232 # Some systems (esp. on ia64) link data and code symbols differently,
5233 # so use this general approach.
5234 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5236 # Transform an extracted symbol line into symbol name and symbol address
5237 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5240 # Handle CRLF in mingw tool chain
5244 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5248 # Try without a prefix underscore, then with it.
5249 for ac_symprfx in "" "_"; do
5251 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5252 symxfrm="\\1 $ac_symprfx\\2 \\2"
5254 # Write the raw and C identifiers.
5255 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5256 # Fake it for dumpbin and say T for any non-static function
5257 # and D for any global variable.
5258 # Also find C++ and __fastcall symbols from MSVC++,
5259 # which start with @ or ?.
5260 lt_cv_sys_global_symbol_pipe="$AWK '"\
5261 " {last_section=section; section=\$ 3};"\
5262 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5263 " \$ 0!~/External *\|/{next};"\
5264 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5265 " {if(hide[section]) next};"\
5266 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5267 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5268 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5269 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5270 " ' prfx=^$ac_symprfx"
5272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5275 # Check to see that the pipe works correctly.
5279 cat > conftest.$ac_ext <<_LT_EOF
5284 void nm_test_func(void);
5285 void nm_test_func(void){}
5289 int main(){nm_test_var='a';nm_test_func();return(0);}
5292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293 (eval $ac_compile) 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; then
5297 # Now try to grab the symbols.
5299 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5300 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5303 (exit $ac_status); } && test -s "$nlist"; then
5304 # Try sorting and uniquifying the output.
5305 if sort "$nlist" | uniq > "$nlist"T; then
5306 mv -f "$nlist"T "$nlist"
5311 # Make sure that we snagged all the symbols we need.
5312 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5313 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5314 cat <<_LT_EOF > conftest.$ac_ext
5320 # Now generate the symbol file.
5321 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5323 cat <<_LT_EOF >> conftest.$ac_ext
5325 /* The mapping between symbol names and symbols. */
5330 lt__PROGRAM__LTX_preloaded_symbols[] =
5332 { "@PROGRAM@", (void *) 0 },
5334 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5335 cat <<\_LT_EOF >> conftest.$ac_ext
5339 /* This works around a problem in FreeBSD linker */
5340 #ifdef FREEBSD_WORKAROUND
5341 static const void *lt_preloaded_setup() {
5342 return lt__PROGRAM__LTX_preloaded_symbols;
5350 # Now try linking the two files.
5351 mv conftest.$ac_objext conftstm.$ac_objext
5352 lt_save_LIBS="$LIBS"
5353 lt_save_CFLAGS="$CFLAGS"
5354 LIBS="conftstm.$ac_objext"
5355 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5357 (eval $ac_link) 2>&5
5359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5360 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5363 LIBS="$lt_save_LIBS"
5364 CFLAGS="$lt_save_CFLAGS"
5366 echo "cannot find nm_test_func in $nlist" >&5
5369 echo "cannot find nm_test_var in $nlist" >&5
5372 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5375 echo "$progname: failed program was:" >&5
5376 cat conftest.$ac_ext >&5
5378 rm -rf conftest* conftst*
5380 # Do not use the global_symbol_pipe unless it works.
5381 if test "$pipe_works" = yes; then
5384 lt_cv_sys_global_symbol_pipe=
5390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5391 lt_cv_sys_global_symbol_to_cdecl=
5393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5394 echo "$as_me:$LINENO: result: failed" >&5
5395 echo "${ECHO_T}failed" >&6
5397 echo "$as_me:$LINENO: result: ok" >&5
5398 echo "${ECHO_T}ok" >&6
5422 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5423 if test "${enable_libtool_lock+set}" = set; then
5424 enableval="$enable_libtool_lock"
5427 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5429 # Some flags need to be propagated to the compiler or linker for good
5433 # Find out which ABI we are using.
5434 echo 'int i;' > conftest.$ac_ext
5435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436 (eval $ac_compile) 2>&5
5438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5439 (exit $ac_status); }; then
5440 case `/usr/bin/file conftest.$ac_objext` in
5452 # Find out which ABI we are using.
5453 echo '#line 5453 "configure"' > conftest.$ac_ext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>&5
5457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5458 (exit $ac_status); }; then
5459 if test "$lt_cv_prog_gnu_ld" = yes; then
5460 case `/usr/bin/file conftest.$ac_objext` in
5462 LD="${LD-ld} -melf32bsmip"
5465 LD="${LD-ld} -melf32bmipn32"
5468 LD="${LD-ld} -melf64bmip"
5472 case `/usr/bin/file conftest.$ac_objext` in
5488 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5489 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5490 # Find out which ABI we are using.
5491 echo 'int i;' > conftest.$ac_ext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); }; then
5497 case `/usr/bin/file conftest.o` in
5500 x86_64-*kfreebsd*-gnu)
5501 LD="${LD-ld} -m elf_i386_fbsd"
5504 LD="${LD-ld} -m elf_i386"
5506 ppc64-*linux*|powerpc64-*linux*)
5507 LD="${LD-ld} -m elf32ppclinux"
5510 LD="${LD-ld} -m elf_s390"
5513 LD="${LD-ld} -m elf32_sparc"
5519 x86_64-*kfreebsd*-gnu)
5520 LD="${LD-ld} -m elf_x86_64_fbsd"
5523 LD="${LD-ld} -m elf_x86_64"
5525 ppc*-*linux*|powerpc*-*linux*)
5526 LD="${LD-ld} -m elf64ppc"
5528 s390*-*linux*|s390*-*tpf*)
5529 LD="${LD-ld} -m elf64_s390"
5532 LD="${LD-ld} -m elf64_sparc"
5542 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5543 SAVE_CFLAGS="$CFLAGS"
5544 CFLAGS="$CFLAGS -belf"
5545 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5546 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5547 if test "${lt_cv_cc_needs_belf+set}" = set; then
5548 echo $ECHO_N "(cached) $ECHO_C" >&6
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5556 if test x$gcc_no_link = xyes; then
5557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5559 { (exit 1); exit 1; }; }
5561 cat >conftest.$ac_ext <<_ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5578 (eval $ac_link) 2>conftest.er1
5580 grep -v '^ *+' conftest.er1 >conftest.err
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag"
5586 || test ! -s conftest.err'
5587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5591 (exit $ac_status); }; } &&
5592 { ac_try='test -s conftest$ac_exeext'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5597 (exit $ac_status); }; }; then
5598 lt_cv_cc_needs_belf=yes
5600 echo "$as_me: failed program was:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5603 lt_cv_cc_needs_belf=no
5605 rm -f conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 ac_cpp='$CPP $CPPFLAGS'
5609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5614 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5615 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5616 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5617 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5618 CFLAGS="$SAVE_CFLAGS"
5622 # Find out which ABI we are using.
5623 echo 'int i;' > conftest.$ac_ext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>&5
5627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628 (exit $ac_status); }; then
5629 case `/usr/bin/file conftest.o` in
5631 case $lt_cv_prog_gnu_ld in
5632 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5634 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5646 need_locks="$enable_libtool_lock"
5650 rhapsody* | darwin*)
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5654 echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5656 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test -n "$DSYMUTIL"; then
5660 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5679 if test -n "$DSYMUTIL"; then
5680 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5681 echo "${ECHO_T}$DSYMUTIL" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5688 if test -z "$ac_cv_prog_DSYMUTIL"; then
5689 ac_ct_DSYMUTIL=$DSYMUTIL
5690 # Extract the first word of "dsymutil", so it can be a program name with args.
5691 set dummy dsymutil; ac_word=$2
5692 echo "$as_me:$LINENO: checking for $ac_word" >&5
5693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5694 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5695 echo $ECHO_N "(cached) $ECHO_C" >&6
5697 if test -n "$ac_ct_DSYMUTIL"; then
5698 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5714 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5718 if test -n "$ac_ct_DSYMUTIL"; then
5719 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5720 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5726 DSYMUTIL=$ac_ct_DSYMUTIL
5728 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5731 if test -n "$ac_tool_prefix"; then
5732 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5733 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5734 echo "$as_me:$LINENO: checking for $ac_word" >&5
5735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5736 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5737 echo $ECHO_N "(cached) $ECHO_C" >&6
5739 if test -n "$NMEDIT"; then
5740 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 NMEDIT=$ac_cv_prog_NMEDIT
5759 if test -n "$NMEDIT"; then
5760 echo "$as_me:$LINENO: result: $NMEDIT" >&5
5761 echo "${ECHO_T}$NMEDIT" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5768 if test -z "$ac_cv_prog_NMEDIT"; then
5769 ac_ct_NMEDIT=$NMEDIT
5770 # Extract the first word of "nmedit", so it can be a program name with args.
5771 set dummy nmedit; ac_word=$2
5772 echo "$as_me:$LINENO: checking for $ac_word" >&5
5773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5774 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5775 echo $ECHO_N "(cached) $ECHO_C" >&6
5777 if test -n "$ac_ct_NMEDIT"; then
5778 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5797 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5798 if test -n "$ac_ct_NMEDIT"; then
5799 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5800 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5802 echo "$as_me:$LINENO: result: no" >&5
5803 echo "${ECHO_T}no" >&6
5806 NMEDIT=$ac_ct_NMEDIT
5808 NMEDIT="$ac_cv_prog_NMEDIT"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5814 echo "$as_me:$LINENO: checking for $ac_word" >&5
5815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5816 if test "${ac_cv_prog_LIPO+set}" = set; then
5817 echo $ECHO_N "(cached) $ECHO_C" >&6
5819 if test -n "$LIPO"; then
5820 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 LIPO=$ac_cv_prog_LIPO
5839 if test -n "$LIPO"; then
5840 echo "$as_me:$LINENO: result: $LIPO" >&5
5841 echo "${ECHO_T}$LIPO" >&6
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5848 if test -z "$ac_cv_prog_LIPO"; then
5850 # Extract the first word of "lipo", so it can be a program name with args.
5851 set dummy lipo; ac_word=$2
5852 echo "$as_me:$LINENO: checking for $ac_word" >&5
5853 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5854 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5855 echo $ECHO_N "(cached) $ECHO_C" >&6
5857 if test -n "$ac_ct_LIPO"; then
5858 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_ac_ct_LIPO="lipo"
5868 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5877 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5878 if test -n "$ac_ct_LIPO"; then
5879 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5880 echo "${ECHO_T}$ac_ct_LIPO" >&6
5882 echo "$as_me:$LINENO: result: no" >&5
5883 echo "${ECHO_T}no" >&6
5888 LIPO="$ac_cv_prog_LIPO"
5891 if test -n "$ac_tool_prefix"; then
5892 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}otool; ac_word=$2
5894 echo "$as_me:$LINENO: checking for $ac_word" >&5
5895 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5896 if test "${ac_cv_prog_OTOOL+set}" = set; then
5897 echo $ECHO_N "(cached) $ECHO_C" >&6
5899 if test -n "$OTOOL"; then
5900 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5910 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 OTOOL=$ac_cv_prog_OTOOL
5919 if test -n "$OTOOL"; then
5920 echo "$as_me:$LINENO: result: $OTOOL" >&5
5921 echo "${ECHO_T}$OTOOL" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5928 if test -z "$ac_cv_prog_OTOOL"; then
5930 # Extract the first word of "otool", so it can be a program name with args.
5931 set dummy otool; ac_word=$2
5932 echo "$as_me:$LINENO: checking for $ac_word" >&5
5933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5934 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5937 if test -n "$ac_ct_OTOOL"; then
5938 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_ac_ct_OTOOL="otool"
5948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5954 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5958 if test -n "$ac_ct_OTOOL"; then
5959 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
5960 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5962 echo "$as_me:$LINENO: result: no" >&5
5963 echo "${ECHO_T}no" >&6
5968 OTOOL="$ac_cv_prog_OTOOL"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5974 echo "$as_me:$LINENO: checking for $ac_word" >&5
5975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5976 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 if test -n "$OTOOL64"; then
5980 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
5990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5998 OTOOL64=$ac_cv_prog_OTOOL64
5999 if test -n "$OTOOL64"; then
6000 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6001 echo "${ECHO_T}$OTOOL64" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6008 if test -z "$ac_cv_prog_OTOOL64"; then
6009 ac_ct_OTOOL64=$OTOOL64
6010 # Extract the first word of "otool64", so it can be a program name with args.
6011 set dummy otool64; ac_word=$2
6012 echo "$as_me:$LINENO: checking for $ac_word" >&5
6013 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6014 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6015 echo $ECHO_N "(cached) $ECHO_C" >&6
6017 if test -n "$ac_ct_OTOOL64"; then
6018 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_OTOOL64="otool64"
6028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6037 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6038 if test -n "$ac_ct_OTOOL64"; then
6039 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6040 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6042 echo "$as_me:$LINENO: result: no" >&5
6043 echo "${ECHO_T}no" >&6
6046 OTOOL64=$ac_ct_OTOOL64
6048 OTOOL64="$ac_cv_prog_OTOOL64"
6077 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6078 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6079 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6080 echo $ECHO_N "(cached) $ECHO_C" >&6
6082 lt_cv_apple_cc_single_mod=no
6083 if test -z "${LT_MULTI_MODULE}"; then
6084 # By default we will add the -single_module flag. You can override
6085 # by either setting the environment variable LT_MULTI_MODULE
6086 # non-empty at configure time, or by adding -multi_module to the
6088 rm -rf libconftest.dylib*
6089 echo "int foo(void){return 1;}" > conftest.c
6090 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6091 -dynamiclib -Wl,-single_module conftest.c" >&5
6092 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6093 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6095 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6096 lt_cv_apple_cc_single_mod=yes
6098 cat conftest.err >&5
6100 rm -rf libconftest.dylib*
6104 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6105 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6106 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6107 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6108 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6109 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 lt_cv_ld_exported_symbols_list=no
6112 save_LDFLAGS=$LDFLAGS
6113 echo "_main" > conftest.sym
6114 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6115 if test x$gcc_no_link = xyes; then
6116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6118 { (exit 1); exit 1; }; }
6120 cat >conftest.$ac_ext <<_ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>conftest.er1
6139 grep -v '^ *+' conftest.er1 >conftest.err
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try='test -z "$ac_c_werror_flag"
6145 || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 lt_cv_ld_exported_symbols_list=yes
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6162 lt_cv_ld_exported_symbols_list=no
6164 rm -f conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LDFLAGS="$save_LDFLAGS"
6169 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6170 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6172 rhapsody* | darwin1.[012])
6173 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6176 darwin*) # darwin 5.x on
6177 # if running on 10.5 or later, the deployment target defaults
6178 # to the OS version, if on x86, and 10.4, the deployment
6179 # target defaults to 10.4. Don't you love it?
6180 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6181 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6184 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6186 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6190 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6191 _lt_dar_single_mod='$single_module'
6193 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6194 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6196 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6198 if test "$DSYMUTIL" != ":"; then
6199 _lt_dsymutil='~$DSYMUTIL $lib || :'
6207 ac_cpp='$CPP $CPPFLAGS'
6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6212 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6213 # On Suns, sometimes $CPP names a directory.
6214 if test -n "$CPP" && test -d "$CPP"; then
6217 if test -z "$CPP"; then
6218 if test "${ac_cv_prog_CPP+set}" = set; then
6219 echo $ECHO_N "(cached) $ECHO_C" >&6
6221 # Double quotes because CPP needs to be expanded
6222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6225 for ac_c_preproc_warn_flag in '' yes
6227 # Use a header file that comes with gcc, so configuring glibc
6228 # with a fresh cross-compiler works.
6229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6230 # <limits.h> exists even on freestanding compilers.
6231 # On the NeXT, cc -E runs the code through the compiler's parser,
6232 # not just through cpp. "Syntax error" is here to catch this case.
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6240 # include <limits.h>
6242 # include <assert.h>
6246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6253 (exit $ac_status); } >/dev/null; then
6254 if test -s conftest.err; then
6255 ac_cpp_err=$ac_c_preproc_warn_flag
6256 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6263 if test -z "$ac_cpp_err"; then
6266 echo "$as_me: failed program was:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6269 # Broken: fails on valid input.
6272 rm -f conftest.err conftest.$ac_ext
6274 # OK, works on sane cases. Now check whether non-existent headers
6275 # can be detected and how.
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6282 #include <ac_nonexistent.h>
6284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6287 grep -v '^ *+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6291 (exit $ac_status); } >/dev/null; then
6292 if test -s conftest.err; then
6293 ac_cpp_err=$ac_c_preproc_warn_flag
6294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6301 if test -z "$ac_cpp_err"; then
6302 # Broken: success on invalid input.
6305 echo "$as_me: failed program was:" >&5
6306 sed 's/^/| /' conftest.$ac_ext >&5
6308 # Passes both tests.
6312 rm -f conftest.err conftest.$ac_ext
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.err conftest.$ac_ext
6317 if $ac_preproc_ok; then
6329 echo "$as_me:$LINENO: result: $CPP" >&5
6330 echo "${ECHO_T}$CPP" >&6
6332 for ac_c_preproc_warn_flag in '' yes
6334 # Use a header file that comes with gcc, so configuring glibc
6335 # with a fresh cross-compiler works.
6336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337 # <limits.h> exists even on freestanding compilers.
6338 # On the NeXT, cc -E runs the code through the compiler's parser,
6339 # not just through cpp. "Syntax error" is here to catch this case.
6340 cat >conftest.$ac_ext <<_ACEOF
6343 cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6347 # include <limits.h>
6349 # include <assert.h>
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6356 grep -v '^ *+' conftest.er1 >conftest.err
6358 cat conftest.err >&5
6359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6360 (exit $ac_status); } >/dev/null; then
6361 if test -s conftest.err; then
6362 ac_cpp_err=$ac_c_preproc_warn_flag
6363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6370 if test -z "$ac_cpp_err"; then
6373 echo "$as_me: failed program was:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 # Broken: fails on valid input.
6379 rm -f conftest.err conftest.$ac_ext
6381 # OK, works on sane cases. Now check whether non-existent headers
6382 # can be detected and how.
6383 cat >conftest.$ac_ext <<_ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6389 #include <ac_nonexistent.h>
6391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6394 grep -v '^ *+' conftest.er1 >conftest.err
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } >/dev/null; then
6399 if test -s conftest.err; then
6400 ac_cpp_err=$ac_c_preproc_warn_flag
6401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6408 if test -z "$ac_cpp_err"; then
6409 # Broken: success on invalid input.
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 # Passes both tests.
6419 rm -f conftest.err conftest.$ac_ext
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then
6427 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6428 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6429 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6430 See \`config.log' for more details." >&5
6431 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6432 See \`config.log' for more details." >&2;}
6433 { (exit 1); exit 1; }; }; }
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6445 if test "${ac_cv_header_stdc+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469 (eval $ac_compile) 2>conftest.er1
6471 grep -v '^ *+' conftest.er1 >conftest.err
6473 cat conftest.err >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } &&
6476 { ac_try='test -z "$ac_c_werror_flag"
6477 || test ! -s conftest.err'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; } &&
6483 { ac_try='test -s conftest.$ac_objext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 ac_cv_header_stdc=yes
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 ac_cv_header_stdc=no
6496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6498 if test $ac_cv_header_stdc = yes; then
6499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6500 cat >conftest.$ac_ext <<_ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "memchr" >/dev/null 2>&1; then
6513 ac_cv_header_stdc=no
6519 if test $ac_cv_header_stdc = yes; then
6520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6521 cat >conftest.$ac_ext <<_ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531 $EGREP "free" >/dev/null 2>&1; then
6534 ac_cv_header_stdc=no
6540 if test $ac_cv_header_stdc = yes; then
6541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6542 if test "$cross_compiling" = yes; then
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6556 # define ISLOWER(c) \
6557 (('a' <= (c) && (c) <= 'i') \
6558 || ('j' <= (c) && (c) <= 'r') \
6559 || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6568 for (i = 0; i < 256; i++)
6569 if (XOR (islower (i), ISLOWER (i))
6570 || toupper (i) != TOUPPER (i))
6575 rm -f conftest$ac_exeext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6577 (eval $ac_link) 2>&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6588 echo "$as_me: program exited with status $ac_status" >&5
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_cv_header_stdc=no
6595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6599 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6600 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6601 if test $ac_cv_header_stdc = yes; then
6603 cat >>confdefs.h <<\_ACEOF
6604 #define STDC_HEADERS 1
6609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6620 inttypes.h stdint.h unistd.h
6622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 echo "$as_me:$LINENO: checking for $ac_header" >&5
6624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 cat >conftest.$ac_ext <<_ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6634 $ac_includes_default
6636 #include <$ac_header>
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6642 grep -v '^ *+' conftest.er1 >conftest.err
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 eval "$as_ac_Header=yes"
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.$ac_ext >&5
6665 eval "$as_ac_Header=no"
6667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6672 cat >>confdefs.h <<_ACEOF
6673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6682 for ac_header in dlfcn.h
6684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6685 echo "$as_me:$LINENO: checking for $ac_header" >&5
6686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 cat >conftest.$ac_ext <<_ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6698 #include <$ac_header>
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>conftest.er1
6704 grep -v '^ *+' conftest.er1 >conftest.err
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } &&
6709 { ac_try='test -z "$ac_c_werror_flag"
6710 || test ! -s conftest.err'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; } &&
6716 { ac_try='test -s conftest.$ac_objext'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; }; then
6722 eval "$as_ac_Header=yes"
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 eval "$as_ac_Header=no"
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6734 cat >>confdefs.h <<_ACEOF
6735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6752 # Check whether --enable-shared or --disable-shared was given.
6753 if test "${enable_shared+set}" = set; then
6754 enableval="$enable_shared"
6755 p=${PACKAGE-default}
6757 yes) enable_shared=yes ;;
6758 no) enable_shared=no ;;
6761 # Look at the argument we got. We use all the common list separators.
6762 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6763 for pkg in $enableval; do
6765 if test "X$pkg" = "X$p"; then
6783 # Check whether --enable-static or --disable-static was given.
6784 if test "${enable_static+set}" = set; then
6785 enableval="$enable_static"
6786 p=${PACKAGE-default}
6788 yes) enable_static=yes ;;
6789 no) enable_static=no ;;
6792 # Look at the argument we got. We use all the common list separators.
6793 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6794 for pkg in $enableval; do
6796 if test "X$pkg" = "X$p"; then
6815 # Check whether --with-pic or --without-pic was given.
6816 if test "${with_pic+set}" = set; then
6823 test -z "$pic_mode" && pic_mode=default
6831 # Check whether --enable-fast-install or --disable-fast-install was given.
6832 if test "${enable_fast_install+set}" = set; then
6833 enableval="$enable_fast_install"
6834 p=${PACKAGE-default}
6836 yes) enable_fast_install=yes ;;
6837 no) enable_fast_install=no ;;
6839 enable_fast_install=no
6840 # Look at the argument we got. We use all the common list separators.
6841 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6842 for pkg in $enableval; do
6844 if test "X$pkg" = "X$p"; then
6845 enable_fast_install=yes
6852 enable_fast_install=yes
6864 # This can be used to rebuild libtool when needed
6865 LIBTOOL_DEPS="$ltmain"
6867 # Always use our own libtool.
6868 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6894 test -z "$LN_S" && LN_S="ln -s"
6909 if test -n "${ZSH_VERSION+set}" ; then
6910 setopt NO_GLOB_SUBST
6913 echo "$as_me:$LINENO: checking for objdir" >&5
6914 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6915 if test "${lt_cv_objdir+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 rm -f .libs 2>/dev/null
6919 mkdir .libs 2>/dev/null
6920 if test -d .libs; then
6923 # MS-DOS does not allow filenames that begin with a dot.
6926 rmdir .libs 2>/dev/null
6928 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6929 echo "${ECHO_T}$lt_cv_objdir" >&6
6930 objdir=$lt_cv_objdir
6936 cat >>confdefs.h <<_ACEOF
6937 #define LT_OBJDIR "$lt_cv_objdir/"
6958 # AIX sometimes has problems with the GCC collect2 program. For some
6959 # reason, if we set the COLLECT_NAMES environment variable, the problems
6960 # vanish in a puff of smoke.
6961 if test "X${COLLECT_NAMES+set}" != Xset; then
6963 export COLLECT_NAMES
6968 # Sed substitution that helps us do robust quoting. It backslashifies
6969 # metacharacters that are still active within double-quoted strings.
6970 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6972 # Same as above, but do not quote variable references.
6973 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6975 # Sed substitution to delay expansion of an escaped shell variable in a
6976 # double_quote_subst'ed string.
6977 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6979 # Sed substitution to delay expansion of an escaped single quote.
6980 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6982 # Sed substitution to avoid accidental globbing in evaled expressions
6983 no_glob_subst='s/\*/\\\*/g'
6987 can_build_shared=yes
6989 # All known linkers require a `.a' archive for static linking (except MSVC,
6990 # which needs '.lib').
6993 with_gnu_ld="$lt_cv_prog_gnu_ld"
6996 old_CFLAGS="$CFLAGS"
6998 # Set sane defaults for various variables
6999 test -z "$CC" && CC=cc
7000 test -z "$LTCC" && LTCC=$CC
7001 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7002 test -z "$LD" && LD=ld
7003 test -z "$ac_objext" && ac_objext=o
7005 for cc_temp in $compiler""; do
7007 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7008 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7013 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7016 # Only perform the check for file, if the check method requires it
7017 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7018 case $deplibs_check_method in
7020 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7021 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7022 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7024 echo $ECHO_N "(cached) $ECHO_C" >&6
7028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7031 lt_save_MAGIC_CMD="$MAGIC_CMD"
7032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7033 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7034 for ac_dir in $ac_dummy; do
7036 test -z "$ac_dir" && ac_dir=.
7037 if test -f $ac_dir/${ac_tool_prefix}file; then
7038 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7039 if test -n "$file_magic_test_file"; then
7040 case $deplibs_check_method in
7042 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7044 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7045 $EGREP "$file_magic_regex" > /dev/null; then
7050 *** Warning: the command libtool uses to detect shared libraries,
7051 *** $file_magic_cmd, produces output that libtool cannot recognize.
7052 *** The result is that libtool may fail to recognize shared libraries
7053 *** as such. This will affect the creation of libtool libraries that
7054 *** depend on shared libraries, but programs linked with such libtool
7055 *** libraries will work regardless of this problem. Nevertheless, you
7056 *** may want to report the problem to your system manager and/or to
7057 *** bug-libtool@gnu.org
7067 MAGIC_CMD="$lt_save_MAGIC_CMD"
7072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073 if test -n "$MAGIC_CMD"; then
7074 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7075 echo "${ECHO_T}$MAGIC_CMD" >&6
7077 echo "$as_me:$LINENO: result: no" >&5
7078 echo "${ECHO_T}no" >&6
7085 if test -z "$lt_cv_path_MAGIC_CMD"; then
7086 if test -n "$ac_tool_prefix"; then
7087 echo "$as_me:$LINENO: checking for file" >&5
7088 echo $ECHO_N "checking for file... $ECHO_C" >&6
7089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7090 echo $ECHO_N "(cached) $ECHO_C" >&6
7094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7097 lt_save_MAGIC_CMD="$MAGIC_CMD"
7098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7099 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7100 for ac_dir in $ac_dummy; do
7102 test -z "$ac_dir" && ac_dir=.
7103 if test -f $ac_dir/file; then
7104 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7105 if test -n "$file_magic_test_file"; then
7106 case $deplibs_check_method in
7108 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7110 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7111 $EGREP "$file_magic_regex" > /dev/null; then
7116 *** Warning: the command libtool uses to detect shared libraries,
7117 *** $file_magic_cmd, produces output that libtool cannot recognize.
7118 *** The result is that libtool may fail to recognize shared libraries
7119 *** as such. This will affect the creation of libtool libraries that
7120 *** depend on shared libraries, but programs linked with such libtool
7121 *** libraries will work regardless of this problem. Nevertheless, you
7122 *** may want to report the problem to your system manager and/or to
7123 *** bug-libtool@gnu.org
7133 MAGIC_CMD="$lt_save_MAGIC_CMD"
7138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7139 if test -n "$MAGIC_CMD"; then
7140 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7141 echo "${ECHO_T}$MAGIC_CMD" >&6
7143 echo "$as_me:$LINENO: result: no" >&5
7144 echo "${ECHO_T}no" >&6
7157 # Use C for the default configuration in the libtool script
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167 # Source file extension for C test sources.
7170 # Object file extension for compiled C test sources.
7174 # Code to be used in simple compile tests
7175 lt_simple_compile_test_code="int some_variable = 0;"
7177 # Code to be used in simple link tests
7178 lt_simple_link_test_code='int main(){return(0);}'
7186 # If no C compiler was specified, use CC.
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192 # Allow CC to be a program name with arguments.
7195 # Save the default compiler, since it gets overwritten when the other
7196 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7197 compiler_DEFAULT=$CC
7199 # save warnings/boilerplate of simple test code
7200 ac_outfile=conftest.$ac_objext
7201 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7202 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7203 _lt_compiler_boilerplate=`cat conftest.err`
7206 ac_outfile=conftest.$ac_objext
7207 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7208 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7209 _lt_linker_boilerplate=`cat conftest.err`
7214 ## There is no encapsulation within the following macros, do not change
7215 ## the running order or otherwise move them around unless you know exactly
7216 ## what you are doing...
7217 if test -n "$compiler"; then
7219 lt_prog_compiler_no_builtin_flag=
7221 if test "$GCC" = yes; then
7222 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7224 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7225 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7226 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7227 echo $ECHO_N "(cached) $ECHO_C" >&6
7229 lt_cv_prog_compiler_rtti_exceptions=no
7230 ac_outfile=conftest.$ac_objext
7231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7232 lt_compiler_flag="-fno-rtti -fno-exceptions"
7233 # Insert the option either (1) after the last *FLAGS variable, or
7234 # (2) before a word containing "conftest.", or (3) at the end.
7235 # Note that $ac_compile itself does not contain backslashes and begins
7236 # with a dollar sign (not a hyphen), so the echo should work correctly.
7237 # The option is referenced via a variable to avoid confusing sed.
7238 lt_compile=`echo "$ac_compile" | $SED \
7239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7241 -e 's:$: $lt_compiler_flag:'`
7242 (eval echo "\"\$as_me:7242: $lt_compile\"" >&5)
7243 (eval "$lt_compile" 2>conftest.err)
7245 cat conftest.err >&5
7246 echo "$as_me:7246: \$? = $ac_status" >&5
7247 if (exit $ac_status) && test -s "$ac_outfile"; then
7248 # The compiler can only warn and ignore the option if not recognized
7249 # So say no if there are warnings other than the usual output.
7250 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7253 lt_cv_prog_compiler_rtti_exceptions=yes
7259 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7260 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7263 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7275 lt_prog_compiler_wl=
7276 lt_prog_compiler_pic=
7277 lt_prog_compiler_static=
7279 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7280 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7282 if test "$GCC" = yes; then
7283 lt_prog_compiler_wl='-Wl,'
7284 lt_prog_compiler_static='-static'
7288 # All AIX code is PIC.
7289 if test "$host_cpu" = ia64; then
7290 # AIX 5 now supports IA64 processor
7291 lt_prog_compiler_static='-Bstatic'
7298 # see comment about AmigaOS4 .so support
7299 lt_prog_compiler_pic='-fPIC'
7302 # FIXME: we need at least 68020 code to build shared libraries, but
7303 # adding the `-m68020' flag to GCC prevents building anything better,
7305 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7310 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7311 # PIC is the default for these OSes.
7314 mingw* | cygwin* | pw32* | os2* | cegcc*)
7315 # This hack is so that the source file can tell whether it is being
7316 # built for inclusion in a dll (and should export symbols for example).
7317 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7318 # (--disable-auto-import) libraries
7319 lt_prog_compiler_pic='-DDLL_EXPORT'
7322 darwin* | rhapsody*)
7323 # PIC is the default on this platform
7324 # Common symbols not allowed in MH_DYLIB files
7325 lt_prog_compiler_pic='-fno-common'
7329 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7330 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7331 # sets the default TLS model and affects inlining.
7337 lt_prog_compiler_pic='-fPIC'
7343 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7344 # Instead, we relocate shared libraries at runtime.
7348 # Just because we use GCC doesn't mean we suddenly get shared libraries
7349 # on systems that don't support them.
7350 lt_prog_compiler_can_build_shared=no
7355 # QNX uses GNU C++, but need to define -shared option too, otherwise
7357 lt_prog_compiler_pic='-fPIC -shared'
7361 if test -d /usr/nec; then
7362 lt_prog_compiler_pic=-Kconform_pic
7367 lt_prog_compiler_pic='-fPIC'
7371 # PORTME Check for flag to pass linker flags through the system compiler.
7374 lt_prog_compiler_wl='-Wl,'
7375 if test "$host_cpu" = ia64; then
7376 # AIX 5 now supports IA64 processor
7377 lt_prog_compiler_static='-Bstatic'
7379 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7383 mingw* | cygwin* | pw32* | os2* | cegcc*)
7384 # This hack is so that the source file can tell whether it is being
7385 # built for inclusion in a dll (and should export symbols for example).
7386 lt_prog_compiler_pic='-DDLL_EXPORT'
7389 hpux9* | hpux10* | hpux11*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7398 lt_prog_compiler_pic='+Z'
7401 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7402 lt_prog_compiler_static='${wl}-a ${wl}archive'
7405 irix5* | irix6* | nonstopux*)
7406 lt_prog_compiler_wl='-Wl,'
7407 # PIC (with -KPIC) is the default.
7408 lt_prog_compiler_static='-non_shared'
7411 linux* | k*bsd*-gnu)
7412 case $cc_basename in
7413 # old Intel for x86_64 which still supported -KPIC.
7415 lt_prog_compiler_wl='-Wl,'
7416 lt_prog_compiler_pic='-KPIC'
7417 lt_prog_compiler_static='-static'
7419 # icc used to be incompatible with GCC.
7420 # ICC 10 doesn't accept -KPIC any more.
7422 lt_prog_compiler_wl='-Wl,'
7423 lt_prog_compiler_pic='-fPIC'
7424 lt_prog_compiler_static='-static'
7426 # Lahey Fortran 8.1.
7428 lt_prog_compiler_wl='-Wl,'
7429 lt_prog_compiler_pic='--shared'
7430 lt_prog_compiler_static='--static'
7432 pgcc* | pgf77* | pgf90* | pgf95*)
7433 # Portland Group compilers (*not* the Pentium gcc compiler,
7434 # which looks to be a dead project)
7435 lt_prog_compiler_wl='-Wl,'
7436 lt_prog_compiler_pic='-fpic'
7437 lt_prog_compiler_static='-Bstatic'
7440 lt_prog_compiler_wl='-Wl,'
7441 # All Alpha code is PIC.
7442 lt_prog_compiler_static='-non_shared'
7445 # IBM XL C 8.0/Fortran 10.1 on PPC
7446 lt_prog_compiler_wl='-Wl,'
7447 lt_prog_compiler_pic='-qpic'
7448 lt_prog_compiler_static='-qstaticlink'
7451 case `$CC -V 2>&1 | sed 5q` in
7454 lt_prog_compiler_pic='-KPIC'
7455 lt_prog_compiler_static='-Bstatic'
7456 lt_prog_compiler_wl='-Wl,'
7459 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7460 lt_prog_compiler_pic='-KPIC'
7461 lt_prog_compiler_static='-Bstatic'
7462 lt_prog_compiler_wl=''
7470 lt_prog_compiler_pic='-KPIC'
7471 lt_prog_compiler_static='-Bstatic'
7475 # QNX uses GNU C++, but need to define -shared option too, otherwise
7477 lt_prog_compiler_pic='-fPIC -shared'
7480 osf3* | osf4* | osf5*)
7481 lt_prog_compiler_wl='-Wl,'
7482 # All OSF/1 code is PIC.
7483 lt_prog_compiler_static='-non_shared'
7487 lt_prog_compiler_static='-non_shared'
7491 lt_prog_compiler_pic='-KPIC'
7492 lt_prog_compiler_static='-Bstatic'
7493 case $cc_basename in
7495 lt_prog_compiler_wl='-Qoption ld ';;
7497 lt_prog_compiler_wl='-Wl,';;
7502 lt_prog_compiler_wl='-Qoption ld '
7503 lt_prog_compiler_pic='-PIC'
7504 lt_prog_compiler_static='-Bstatic'
7507 sysv4 | sysv4.2uw2* | sysv4.3*)
7508 lt_prog_compiler_wl='-Wl,'
7509 lt_prog_compiler_pic='-KPIC'
7510 lt_prog_compiler_static='-Bstatic'
7514 if test -d /usr/nec ;then
7515 lt_prog_compiler_pic='-Kconform_pic'
7516 lt_prog_compiler_static='-Bstatic'
7520 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7521 lt_prog_compiler_wl='-Wl,'
7522 lt_prog_compiler_pic='-KPIC'
7523 lt_prog_compiler_static='-Bstatic'
7527 lt_prog_compiler_wl='-Wl,'
7528 lt_prog_compiler_can_build_shared=no
7532 lt_prog_compiler_pic='-pic'
7533 lt_prog_compiler_static='-Bstatic'
7537 lt_prog_compiler_can_build_shared=no
7543 # For platforms which do not support PIC, -DPIC is meaningless:
7545 lt_prog_compiler_pic=
7548 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7551 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7560 # Check to make sure the PIC flag actually works.
7562 if test -n "$lt_prog_compiler_pic"; then
7563 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7564 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7565 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 lt_cv_prog_compiler_pic_works=no
7569 ac_outfile=conftest.$ac_objext
7570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572 # Insert the option either (1) after the last *FLAGS variable, or
7573 # (2) before a word containing "conftest.", or (3) at the end.
7574 # Note that $ac_compile itself does not contain backslashes and begins
7575 # with a dollar sign (not a hyphen), so the echo should work correctly.
7576 # The option is referenced via a variable to avoid confusing sed.
7577 lt_compile=`echo "$ac_compile" | $SED \
7578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580 -e 's:$: $lt_compiler_flag:'`
7581 (eval echo "\"\$as_me:7581: $lt_compile\"" >&5)
7582 (eval "$lt_compile" 2>conftest.err)
7584 cat conftest.err >&5
7585 echo "$as_me:7585: \$? = $ac_status" >&5
7586 if (exit $ac_status) && test -s "$ac_outfile"; then
7587 # The compiler can only warn and ignore the option if not recognized
7588 # So say no if there are warnings other than the usual output.
7589 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7591 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7592 lt_cv_prog_compiler_pic_works=yes
7598 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7599 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7601 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7602 case $lt_prog_compiler_pic in
7604 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7607 lt_prog_compiler_pic=
7608 lt_prog_compiler_can_build_shared=no
7619 # Check to make sure the static flag actually works.
7621 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7622 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7623 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7624 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7625 echo $ECHO_N "(cached) $ECHO_C" >&6
7627 lt_cv_prog_compiler_static_works=no
7628 save_LDFLAGS="$LDFLAGS"
7629 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7630 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7631 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7632 # The linker can only warn and ignore the option if not recognized
7633 # So say no if there are warnings
7634 if test -s conftest.err; then
7635 # Append any errors to the config.log.
7636 cat conftest.err 1>&5
7637 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639 if diff conftest.exp conftest.er2 >/dev/null; then
7640 lt_cv_prog_compiler_static_works=yes
7643 lt_cv_prog_compiler_static_works=yes
7647 LDFLAGS="$save_LDFLAGS"
7650 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7651 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7653 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7656 lt_prog_compiler_static=
7665 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7666 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7667 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7668 echo $ECHO_N "(cached) $ECHO_C" >&6
7670 lt_cv_prog_compiler_c_o=no
7671 $RM -r conftest 2>/dev/null
7675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7677 lt_compiler_flag="-o out/conftest2.$ac_objext"
7678 # Insert the option either (1) after the last *FLAGS variable, or
7679 # (2) before a word containing "conftest.", or (3) at the end.
7680 # Note that $ac_compile itself does not contain backslashes and begins
7681 # with a dollar sign (not a hyphen), so the echo should work correctly.
7682 lt_compile=`echo "$ac_compile" | $SED \
7683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685 -e 's:$: $lt_compiler_flag:'`
7686 (eval echo "\"\$as_me:7686: $lt_compile\"" >&5)
7687 (eval "$lt_compile" 2>out/conftest.err)
7689 cat out/conftest.err >&5
7690 echo "$as_me:7690: \$? = $ac_status" >&5
7691 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7693 # The compiler can only warn and ignore the option if not recognized
7694 # So say no if there are warnings
7695 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7696 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7697 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7698 lt_cv_prog_compiler_c_o=yes
7703 # SGI C++ compiler will create directory out/ii_files/ for
7704 # template instantiation
7705 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7706 $RM out/* && rmdir out
7712 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7713 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7720 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7721 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7722 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7723 echo $ECHO_N "(cached) $ECHO_C" >&6
7725 lt_cv_prog_compiler_c_o=no
7726 $RM -r conftest 2>/dev/null
7730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7732 lt_compiler_flag="-o out/conftest2.$ac_objext"
7733 # Insert the option either (1) after the last *FLAGS variable, or
7734 # (2) before a word containing "conftest.", or (3) at the end.
7735 # Note that $ac_compile itself does not contain backslashes and begins
7736 # with a dollar sign (not a hyphen), so the echo should work correctly.
7737 lt_compile=`echo "$ac_compile" | $SED \
7738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7740 -e 's:$: $lt_compiler_flag:'`
7741 (eval echo "\"\$as_me:7741: $lt_compile\"" >&5)
7742 (eval "$lt_compile" 2>out/conftest.err)
7744 cat out/conftest.err >&5
7745 echo "$as_me:7745: \$? = $ac_status" >&5
7746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7748 # The compiler can only warn and ignore the option if not recognized
7749 # So say no if there are warnings
7750 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7753 lt_cv_prog_compiler_c_o=yes
7758 # SGI C++ compiler will create directory out/ii_files/ for
7759 # template instantiation
7760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7761 $RM out/* && rmdir out
7767 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7773 hard_links="nottested"
7774 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7775 # do not overwrite the value of need_locks provided by the user
7776 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7777 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7780 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7782 ln conftest.a conftest.b 2>&5 || hard_links=no
7783 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7784 echo "$as_me:$LINENO: result: $hard_links" >&5
7785 echo "${ECHO_T}$hard_links" >&6
7786 if test "$hard_links" = no; then
7787 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7788 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7800 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7801 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7804 allow_undefined_flag=
7805 always_export_symbols=no
7807 archive_expsym_cmds=
7808 compiler_needs_object=no
7809 enable_shared_with_static_runtimes=no
7810 export_dynamic_flag_spec=
7811 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7812 hardcode_automatic=no
7814 hardcode_direct_absolute=no
7815 hardcode_libdir_flag_spec=
7816 hardcode_libdir_flag_spec_ld=
7817 hardcode_libdir_separator=
7819 hardcode_shlibpath_var=unsupported
7821 link_all_deplibs=unknown
7824 old_archive_from_new_cmds=
7825 old_archive_from_expsyms_cmds=
7826 thread_safe_flag_spec=
7827 whole_archive_flag_spec=
7828 # include_expsyms should be a list of space-separated symbols to be *always*
7829 # included in the symbol list
7831 # exclude_expsyms can be an extended regexp of symbols to exclude
7832 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7833 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7834 # as well as any symbol that contains `d'.
7835 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7836 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7837 # platforms (ab)use it in PIC code, but their linkers get confused if
7838 # the symbol is explicitly referenced. Since portable code cannot
7839 # rely on this symbol name, it's probably fine to never include it in
7840 # preloaded symbol tables.
7841 # Exclude shared library initialization/finalization symbols.
7842 extract_expsyms_cmds=
7845 cygwin* | mingw* | pw32* | cegcc*)
7846 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7847 # When not using gcc, we currently assume that we are using
7848 # Microsoft Visual C++.
7849 if test "$GCC" != yes; then
7854 # we just hope/assume this is gcc and not c89 (= MSVC++)
7863 if test "$with_gnu_ld" = yes; then
7864 # If archive_cmds runs LD, not CC, wlarc should be empty
7867 # Set some defaults for GNU ld with shared library support. These
7868 # are reset later if shared libraries are not supported. Putting them
7869 # here allows them to be overridden if necessary.
7870 runpath_var=LD_RUN_PATH
7871 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7872 export_dynamic_flag_spec='${wl}--export-dynamic'
7873 # ancient GNU ld didn't support --whole-archive et. al.
7874 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7875 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7877 whole_archive_flag_spec=
7879 supports_anon_versioning=no
7880 case `$LD -v 2>&1` in
7881 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7882 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7883 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7884 *\ 2.11.*) ;; # other 2.11 versions
7885 *) supports_anon_versioning=yes ;;
7888 # See if GNU ld supports shared libraries.
7891 # On AIX/PPC, the GNU linker is very broken
7892 if test "$host_cpu" != ia64; then
7896 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7897 *** to be unable to reliably create shared libraries on AIX.
7898 *** Therefore, libtool is disabling shared libraries support. If you
7899 *** really care for shared libraries, you may want to modify your PATH
7900 *** so that a non-GNU linker is found, and then restart.
7909 # see comment about AmigaOS4 .so support
7910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 archive_expsym_cmds=''
7914 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)'
7915 hardcode_libdir_flag_spec='-L$libdir'
7916 hardcode_minus_L=yes
7922 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7923 allow_undefined_flag=unsupported
7924 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7925 # support --undefined. This deserves some investigation. FIXME
7926 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7932 cygwin* | mingw* | pw32* | cegcc*)
7933 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7934 # as there is no search path for DLLs.
7935 hardcode_libdir_flag_spec='-L$libdir'
7936 allow_undefined_flag=unsupported
7937 always_export_symbols=no
7938 enable_shared_with_static_runtimes=yes
7939 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7941 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7942 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7943 # If the export-symbols file already is a .def file (1st line
7944 # is EXPORTS), use it as is; otherwise, prepend...
7945 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7946 cp $export_symbols $output_objdir/$soname.def;
7948 echo EXPORTS > $output_objdir/$soname.def;
7949 cat $export_symbols >> $output_objdir/$soname.def;
7951 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7959 hardcode_shlibpath_var=no
7960 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7961 export_dynamic_flag_spec='${wl}-E'
7962 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7963 # Instead, shared libraries are loaded at an image base (0x10000000 by
7964 # default) and relocated if they conflict, which is a slow very memory
7965 # consuming and fragmenting process. To avoid this, we pick a random,
7966 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7967 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7968 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7969 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'
7972 gnu* | linux* | tpf* | k*bsd*-gnu)
7974 if test "$host_os" = linux-dietlibc; then
7975 case $cc_basename in
7976 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7979 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7980 && test "$tmp_diet" = no
7983 tmp_sharedflag='-shared'
7984 case $cc_basename,$host_cpu in
7985 pgcc*) # Portland Group C compiler
7986 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'
7987 tmp_addflag=' $pic_flag'
7989 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7990 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'
7991 tmp_addflag=' $pic_flag -Mnomain' ;;
7992 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7993 tmp_addflag=' -i_dynamic' ;;
7994 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7995 tmp_addflag=' -i_dynamic -nofor_main' ;;
7996 ifc* | ifort*) # Intel Fortran compiler
7997 tmp_addflag=' -nofor_main' ;;
7998 lf95*) # Lahey Fortran 8.1
7999 whole_archive_flag_spec=
8000 tmp_sharedflag='--shared' ;;
8001 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8002 tmp_sharedflag='-qmkshrobj'
8005 case `$CC -V 2>&1 | sed 5q` in
8006 *Sun\ C*) # Sun C 5.9
8007 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'
8008 compiler_needs_object=yes
8009 tmp_sharedflag='-G' ;;
8010 *Sun\ F*) # Sun Fortran 8.3
8011 tmp_sharedflag='-G' ;;
8013 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8015 if test "x$supports_anon_versioning" = xyes; then
8016 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8018 echo "local: *; };" >> $output_objdir/$libname.ver~
8019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8022 case $cc_basename in
8024 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8025 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8026 hardcode_libdir_flag_spec=
8027 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8028 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8029 if test "x$supports_anon_versioning" = xyes; then
8030 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8032 echo "local: *; };" >> $output_objdir/$libname.ver~
8033 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8044 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8047 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8048 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8053 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8058 *** create shared libraries on Solaris systems. Therefore, libtool
8059 *** is disabling shared libraries support. We urge you to upgrade GNU
8060 *** binutils to release 2.9.1 or newer. Another option is to modify
8061 *** your PATH or compiler configuration so that the native linker is
8062 *** used, and then restart.
8065 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8066 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8073 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8074 case `$LD -v 2>&1` in
8075 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8080 *** reliably create shared libraries on SCO systems. Therefore, libtool
8081 *** is disabling shared libraries support. We urge you to upgrade GNU
8082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8083 *** your PATH or compiler configuration so that the native linker is
8084 *** used, and then restart.
8089 # For security reasons, it is highly recommended that you always
8090 # use absolute paths for naming shared libraries, and exclude the
8091 # DT_RUNPATH tag from executables and libraries. But doing so
8092 # requires that you compile everything twice, which is a pain.
8093 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8094 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8095 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8096 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8105 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8108 hardcode_shlibpath_var=no
8112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8113 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8114 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8121 if test "$ld_shlibs" = no; then
8123 hardcode_libdir_flag_spec=
8124 export_dynamic_flag_spec=
8125 whole_archive_flag_spec=
8128 # PORTME fill in a description of your system's linker (not GNU ld)
8131 allow_undefined_flag=unsupported
8132 always_export_symbols=yes
8133 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'
8134 # Note: this linker hardcodes the directories in LIBPATH if there
8135 # are no directories specified by -L.
8136 hardcode_minus_L=yes
8137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8138 # Neither direct hardcoding nor static linking is supported with a
8140 hardcode_direct=unsupported
8145 if test "$host_cpu" = ia64; then
8146 # On IA64, the linker does run time linking by default, so we don't
8147 # have to do anything special.
8148 aix_use_runtimelinking=no
8149 exp_sym_flag='-Bexport'
8152 # If we're using GNU nm, then we don't want the "-C" option.
8153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8154 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8155 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'
8157 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'
8159 aix_use_runtimelinking=no
8161 # Test if we are trying to use run time linking or normal
8162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8163 # need to do runtime linking.
8164 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8165 for ld_flag in $LDFLAGS; do
8166 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8167 aix_use_runtimelinking=yes
8174 exp_sym_flag='-bexport'
8175 no_entry_flag='-bnoentry'
8178 # When large executables or shared objects are built, AIX ld can
8179 # have problems creating the table of contents. If linking a library
8180 # or program results in "error TOC overflow" add -mminimal-toc to
8181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8186 hardcode_direct_absolute=yes
8187 hardcode_libdir_separator=':'
8188 link_all_deplibs=yes
8189 file_list_spec='${wl}-f,'
8191 if test "$GCC" = yes; then
8192 case $host_os in aix4.[012]|aix4.[012].*)
8193 # We only want to do this on AIX 4.2 and lower, the check
8194 # below for broken collect2 doesn't work under 4.3+
8195 collect2name=`${CC} -print-prog-name=collect2`
8196 if test -f "$collect2name" &&
8197 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8199 # We have reworked collect2
8202 # We have old collect2
8203 hardcode_direct=unsupported
8204 # It fails to find uninstalled libraries when the uninstalled
8205 # path is not listed in the libpath. Setting hardcode_minus_L
8206 # to unsupported forces relinking
8207 hardcode_minus_L=yes
8208 hardcode_libdir_flag_spec='-L$libdir'
8209 hardcode_libdir_separator=
8213 shared_flag='-shared'
8214 if test "$aix_use_runtimelinking" = yes; then
8215 shared_flag="$shared_flag "'${wl}-G'
8219 if test "$host_cpu" = ia64; then
8220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8221 # chokes on -Wl,-G. The following line is correct:
8224 if test "$aix_use_runtimelinking" = yes; then
8225 shared_flag='${wl}-G'
8227 shared_flag='${wl}-bM:SRE'
8232 export_dynamic_flag_spec='${wl}-bexpall'
8233 # It seems that -bexpall does not export symbols beginning with
8234 # underscore (_), so it is better to generate a list of symbols to export.
8235 always_export_symbols=yes
8236 if test "$aix_use_runtimelinking" = yes; then
8237 # Warning - without using the other runtime loading flags (-brtl),
8238 # -berok will link without error, but may produce a broken library.
8239 allow_undefined_flag='-berok'
8240 # Determine the default libpath from the value encoded in an
8242 if test x$gcc_no_link = xyes; then
8243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8245 { (exit 1); exit 1; }; }
8247 cat >conftest.$ac_ext <<_ACEOF
8250 cat confdefs.h >>conftest.$ac_ext
8251 cat >>conftest.$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8262 rm -f conftest.$ac_objext conftest$ac_exeext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>conftest.er1
8266 grep -v '^ *+' conftest.er1 >conftest.err
8268 cat conftest.err >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try='test -z "$ac_c_werror_flag"
8272 || test ! -s conftest.err'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; } &&
8278 { ac_try='test -s conftest$ac_exeext'
8279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; }; then
8285 lt_aix_libpath_sed='
8286 /Import File Strings/,/^$/ {
8292 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 # Check for a 64-bit object if we didn't find anything.
8294 if test -z "$aix_libpath"; then
8295 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.$ac_ext >&5
8302 rm -f conftest.err conftest.$ac_objext \
8303 conftest$ac_exeext conftest.$ac_ext
8304 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8306 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8307 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"
8309 if test "$host_cpu" = ia64; then
8310 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8311 allow_undefined_flag="-z nodefs"
8312 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"
8314 # Determine the default libpath from the value encoded in an
8316 if test x$gcc_no_link = xyes; then
8317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8319 { (exit 1); exit 1; }; }
8321 cat >conftest.$ac_ext <<_ACEOF
8324 cat confdefs.h >>conftest.$ac_ext
8325 cat >>conftest.$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8336 rm -f conftest.$ac_objext conftest$ac_exeext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8338 (eval $ac_link) 2>conftest.er1
8340 grep -v '^ *+' conftest.er1 >conftest.err
8342 cat conftest.err >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } &&
8345 { ac_try='test -z "$ac_c_werror_flag"
8346 || test ! -s conftest.err'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; } &&
8352 { ac_try='test -s conftest$ac_exeext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8359 lt_aix_libpath_sed='
8360 /Import File Strings/,/^$/ {
8366 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8367 # Check for a 64-bit object if we didn't find anything.
8368 if test -z "$aix_libpath"; then
8369 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.$ac_ext >&5
8376 rm -f conftest.err conftest.$ac_objext \
8377 conftest$ac_exeext conftest.$ac_ext
8378 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8380 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8381 # Warning - without using the other run time loading flags,
8382 # -berok will link without error, but may produce a broken library.
8383 no_undefined_flag=' ${wl}-bernotok'
8384 allow_undefined_flag=' ${wl}-berok'
8385 # Exported symbols can be pulled into shared objects from archives
8386 whole_archive_flag_spec='$convenience'
8387 archive_cmds_need_lc=yes
8388 # This is similar to how AIX traditionally builds its shared libraries.
8389 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'
8397 # see comment about AmigaOS4 .so support
8398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399 archive_expsym_cmds=''
8402 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)'
8403 hardcode_libdir_flag_spec='-L$libdir'
8404 hardcode_minus_L=yes
8410 export_dynamic_flag_spec=-rdynamic
8413 cygwin* | mingw* | pw32* | cegcc*)
8414 # When not using gcc, we currently assume that we are using
8415 # Microsoft Visual C++.
8416 # hardcode_libdir_flag_spec is actually meaningless, as there is
8417 # no search path for DLLs.
8418 hardcode_libdir_flag_spec=' '
8419 allow_undefined_flag=unsupported
8420 # Tell ltmain to make .lib files, not .a files.
8422 # Tell ltmain to make .dll files, not .so files.
8424 # FIXME: Setting linknames here is a bad hack.
8425 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8426 # The linker will automatically build a .lib file if we build a DLL.
8427 old_archive_from_new_cmds='true'
8428 # FIXME: Should let the user specify the lib program.
8429 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8430 fix_srcfile_path='`cygpath -w "$srcfile"`'
8431 enable_shared_with_static_runtimes=yes
8434 darwin* | rhapsody*)
8437 archive_cmds_need_lc=no
8439 hardcode_automatic=yes
8440 hardcode_shlibpath_var=unsupported
8441 whole_archive_flag_spec=''
8442 link_all_deplibs=yes
8443 allow_undefined_flag="$_lt_dar_allow_undefined"
8444 case $cc_basename in
8445 ifort*) _lt_dar_can_shared=yes ;;
8446 *) _lt_dar_can_shared=$GCC ;;
8448 if test "$_lt_dar_can_shared" = "yes"; then
8449 output_verbose_link_cmd=echo
8450 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8451 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8452 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8453 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8462 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463 hardcode_libdir_flag_spec='-L$libdir'
8464 hardcode_shlibpath_var=no
8471 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8472 # support. Future versions do this automatically, but an explicit c++rt0.o
8473 # does not break anything, and helps significantly (at the cost of a little
8476 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8477 hardcode_libdir_flag_spec='-R$libdir'
8479 hardcode_shlibpath_var=no
8482 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8484 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8486 hardcode_minus_L=yes
8487 hardcode_shlibpath_var=no
8490 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8491 freebsd* | dragonfly*)
8492 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8493 hardcode_libdir_flag_spec='-R$libdir'
8495 hardcode_shlibpath_var=no
8499 if test "$GCC" = yes; then
8500 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'
8502 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'
8504 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8505 hardcode_libdir_separator=:
8508 # hardcode_minus_L: Not really in the search PATH,
8509 # but as the default location of the library.
8510 hardcode_minus_L=yes
8511 export_dynamic_flag_spec='${wl}-E'
8515 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8516 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8518 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8520 if test "$with_gnu_ld" = no; then
8521 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8522 hardcode_libdir_flag_spec_ld='+b $libdir'
8523 hardcode_libdir_separator=:
8525 hardcode_direct_absolute=yes
8526 export_dynamic_flag_spec='${wl}-E'
8527 # hardcode_minus_L: Not really in the search PATH,
8528 # but as the default location of the library.
8529 hardcode_minus_L=yes
8534 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8537 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8540 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8543 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8549 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8552 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8555 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8559 if test "$with_gnu_ld" = no; then
8560 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8561 hardcode_libdir_separator=:
8566 hardcode_shlibpath_var=no
8570 hardcode_direct_absolute=yes
8571 export_dynamic_flag_spec='${wl}-E'
8573 # hardcode_minus_L: Not really in the search PATH,
8574 # but as the default location of the library.
8575 hardcode_minus_L=yes
8581 irix5* | irix6* | nonstopux*)
8582 if test "$GCC" = yes; then
8583 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'
8584 # Try to use the -exported_symbol ld option, if it does not
8585 # work, assume that -exports_file does not work either and
8586 # implicitly export all symbols.
8587 save_LDFLAGS="$LDFLAGS"
8588 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8589 if test x$gcc_no_link = xyes; then
8590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8592 { (exit 1); exit 1; }; }
8594 cat >conftest.$ac_ext <<_ACEOF
8597 rm -f conftest.$ac_objext conftest$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1 >conftest.err
8603 cat conftest.err >&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try='test -z "$ac_c_werror_flag"
8607 || test ! -s conftest.err'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try='test -s conftest$ac_exeext'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; }; then
8619 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'
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.$ac_ext >&5
8626 rm -f conftest.err conftest.$ac_objext \
8627 conftest$ac_exeext conftest.$ac_ext
8628 LDFLAGS="$save_LDFLAGS"
8630 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'
8631 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'
8633 archive_cmds_need_lc='no'
8634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8635 hardcode_libdir_separator=:
8637 link_all_deplibs=yes
8641 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8642 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8644 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8646 hardcode_libdir_flag_spec='-R$libdir'
8648 hardcode_shlibpath_var=no
8652 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8654 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8655 hardcode_libdir_separator=:
8656 hardcode_shlibpath_var=no
8663 if test -f /usr/libexec/ld.so; then
8665 hardcode_shlibpath_var=no
8666 hardcode_direct_absolute=yes
8667 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8668 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8670 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8671 export_dynamic_flag_spec='${wl}-E'
8674 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8675 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8676 hardcode_libdir_flag_spec='-R$libdir'
8679 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8680 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8690 hardcode_libdir_flag_spec='-L$libdir'
8691 hardcode_minus_L=yes
8692 allow_undefined_flag=unsupported
8693 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'
8694 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8698 if test "$GCC" = yes; then
8699 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8700 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'
8702 allow_undefined_flag=' -expect_unresolved \*'
8703 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'
8705 archive_cmds_need_lc='no'
8706 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8707 hardcode_libdir_separator=:
8710 osf4* | osf5*) # as osf3* with the addition of -msym flag
8711 if test "$GCC" = yes; then
8712 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8713 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'
8714 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8716 allow_undefined_flag=' -expect_unresolved \*'
8717 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'
8718 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~
8719 $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'
8721 # Both c and cxx compiler support -rpath directly
8722 hardcode_libdir_flag_spec='-rpath $libdir'
8724 archive_cmds_need_lc='no'
8725 hardcode_libdir_separator=:
8729 no_undefined_flag=' -z defs'
8730 if test "$GCC" = yes; then
8732 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8734 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8736 case `$CC -V 2>&1` in
8739 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8741 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8745 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8747 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8751 hardcode_libdir_flag_spec='-R$libdir'
8752 hardcode_shlibpath_var=no
8754 solaris2.[0-5] | solaris2.[0-5].*) ;;
8756 # The compiler driver will combine and reorder linker options,
8757 # but understands `-z linker_flag'. GCC discards it without `$wl',
8758 # but is careful enough not to reorder.
8759 # Supported since Solaris 2.6 (maybe 2.5.1?)
8760 if test "$GCC" = yes; then
8761 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8763 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8767 link_all_deplibs=yes
8771 if test "x$host_vendor" = xsequent; then
8772 # Use $CC to link under sequent, because it throws in some extra .o
8773 # files that make .init and .fini sections work.
8774 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8776 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_libdir_flag_spec='-L$libdir'
8780 hardcode_minus_L=yes
8781 hardcode_shlibpath_var=no
8785 case $host_vendor in
8787 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_direct=yes # is this really true???
8791 ## LD is ld it makes a PLAMLIB
8792 ## CC just makes a GrossModule.
8793 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8794 reload_cmds='$CC -r -o $output$reload_objs'
8798 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8799 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8802 runpath_var='LD_RUN_PATH'
8803 hardcode_shlibpath_var=no
8807 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808 hardcode_shlibpath_var=no
8809 export_dynamic_flag_spec='-Bexport'
8813 if test -d /usr/nec; then
8814 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8815 hardcode_shlibpath_var=no
8816 runpath_var=LD_RUN_PATH
8817 hardcode_runpath_var=yes
8822 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8823 no_undefined_flag='${wl}-z,text'
8824 archive_cmds_need_lc=no
8825 hardcode_shlibpath_var=no
8826 runpath_var='LD_RUN_PATH'
8828 if test "$GCC" = yes; then
8829 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8832 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 sysv5* | sco3.2v5* | sco5v6*)
8838 # Note: We can NOT use -z defs as we might desire, because we do not
8839 # link with -lc, and that would cause any symbols used from libc to
8840 # always be unresolved, which means just about no library would
8841 # ever link correctly. If we're not using GNU ld we use -z text
8842 # though, which does catch some bad symbols but isn't as heavy-handed
8844 no_undefined_flag='${wl}-z,text'
8845 allow_undefined_flag='${wl}-z,nodefs'
8846 archive_cmds_need_lc=no
8847 hardcode_shlibpath_var=no
8848 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8849 hardcode_libdir_separator=':'
8850 link_all_deplibs=yes
8851 export_dynamic_flag_spec='${wl}-Bexport'
8852 runpath_var='LD_RUN_PATH'
8854 if test "$GCC" = yes; then
8855 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8856 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_libdir_flag_spec='-L$libdir'
8866 hardcode_shlibpath_var=no
8874 if test x$host_vendor = xsni; then
8876 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8877 export_dynamic_flag_spec='${wl}-Blargedynsym'
8883 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8884 echo "${ECHO_T}$ld_shlibs" >&6
8885 test "$ld_shlibs" = no && can_build_shared=no
8887 with_gnu_ld=$with_gnu_ld
8904 # Do we need to explicitly link libc?
8906 case "x$archive_cmds_need_lc" in
8908 # Assume -lc should be added
8909 archive_cmds_need_lc=yes
8911 if test "$enable_shared" = yes && test "$GCC" = yes; then
8912 case $archive_cmds in
8914 # FIXME: we may have to deal with multi-command sequences.
8917 # Test whether the compiler implicitly links with -lc since on some
8918 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8919 # to ld, don't add -lc before -lgcc.
8920 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8921 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8922 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8929 (eval $ac_compile) 2>&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 (exit $ac_status); } 2>conftest.err; then
8935 libobjs=conftest.$ac_objext
8937 wl=$lt_prog_compiler_wl
8938 pic_flag=$lt_prog_compiler_pic
8944 lt_save_allow_undefined_flag=$allow_undefined_flag
8945 allow_undefined_flag=
8946 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8947 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8950 (exit $ac_status); }
8952 lt_cv_archive_cmds_need_lc=no
8954 lt_cv_archive_cmds_need_lc=yes
8956 allow_undefined_flag=$lt_save_allow_undefined_flag
8958 cat conftest.err 1>&5
8963 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
8964 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
8965 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9128 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9129 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9131 if test "$GCC" = yes; then
9133 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9134 *) lt_awk_arg="/^libraries:/" ;;
9136 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9137 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9138 # if the path contains ";" then we assume it to be the separator
9139 # otherwise default to the standard path separator (i.e. ":") - it is
9140 # assumed that no part of a normal pathname contains ";" but that should
9141 # okay in the real world where ";" in dirpaths is itself problematic.
9142 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9144 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9146 # Ok, now we have the path, separated by spaces, we can step through it
9147 # and add multilib dir if necessary.
9148 lt_tmp_lt_search_path_spec=
9149 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9150 for lt_sys_path in $lt_search_path_spec; do
9151 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9152 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9154 test -d "$lt_sys_path" && \
9155 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9158 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9159 BEGIN {RS=" "; FS="/|\n";} {
9162 for (lt_i = NF; lt_i > 0; lt_i--) {
9163 if ($lt_i != "" && $lt_i != ".") {
9164 if ($lt_i == "..") {
9167 if (lt_count == 0) {
9168 lt_foo="/" $lt_i lt_foo;
9175 if (lt_foo != "") { lt_freq[lt_foo]++; }
9176 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9178 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9180 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9183 libname_spec='lib$name'
9191 shlibpath_overrides_runpath=unknown
9193 dynamic_linker="$host_os ld.so"
9194 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9195 need_lib_prefix=unknown
9196 hardcode_into_libs=no
9198 # when you set need_version to no, make sure it does not cause -set_version
9199 # flags to be left without arguments
9200 need_version=unknown
9205 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9206 shlibpath_var=LIBPATH
9208 # AIX 3 has no versioning support, so we append a major version to the name.
9209 soname_spec='${libname}${release}${shared_ext}$major'
9216 hardcode_into_libs=yes
9217 if test "$host_cpu" = ia64; then
9218 # AIX 5 supports IA64
9219 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9220 shlibpath_var=LD_LIBRARY_PATH
9222 # With GCC up to 2.95.x, collect2 would create an import file
9223 # for dependence libraries. The import file would start with
9224 # the line `#! .'. This would cause the generated library to
9225 # depend on `.', always an invalid library. This was fixed in
9226 # development snapshots of GCC prior to 3.0.
9228 aix4 | aix4.[01] | aix4.[01].*)
9229 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9231 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9238 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9239 # soname into executable. Probably we can add versioning support to
9240 # collect2, so additional links can be useful in future.
9241 if test "$aix_use_runtimelinking" = yes; then
9242 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9243 # instead of lib<name>.a to let people know that these are not
9244 # typical AIX shared libraries.
9245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9247 # We preserve .a as extension for shared libraries through AIX4.2
9248 # and later when we are not doing run time linking.
9249 library_names_spec='${libname}${release}.a $libname.a'
9250 soname_spec='${libname}${release}${shared_ext}$major'
9252 shlibpath_var=LIBPATH
9259 # Since July 2007 AmigaOS4 officially supports .so libraries.
9260 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9261 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9264 library_names_spec='$libname.ixlibrary $libname.a'
9265 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9266 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'
9272 library_names_spec='${libname}${shared_ext}'
9273 dynamic_linker="$host_os ld.so"
9274 shlibpath_var=LIBRARY_PATH
9280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9281 soname_spec='${libname}${release}${shared_ext}$major'
9282 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9283 shlibpath_var=LD_LIBRARY_PATH
9284 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9285 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9286 # the default ld.so.conf also contains /usr/contrib/lib and
9287 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9288 # libtool to hard-code these into programs
9291 cygwin* | mingw* | pw32* | cegcc*)
9292 version_type=windows
9297 case $GCC,$host_os in
9298 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9299 library_names_spec='$libname.dll.a'
9300 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9301 postinstall_cmds='base_file=`basename \${file}`~
9302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9303 dldir=$destdir/`dirname \$dlpath`~
9304 test -d \$dldir || mkdir -p \$dldir~
9305 $install_prog $dir/$dlname \$dldir/$dlname~
9306 chmod a+x \$dldir/$dlname~
9307 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9308 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9310 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9311 dlpath=$dir/\$dldll~
9313 shlibpath_overrides_runpath=yes
9317 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9318 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9319 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9322 # MinGW DLLs use traditional 'lib' prefix
9323 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9324 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9325 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9326 # It is most probably a Windows format PATH printed by
9327 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9328 # path with ; separators, and with drive letters. We can handle the
9329 # drive letters (cygwin fileutils understands them), so leave them,
9330 # especially as we might pass files found there to a mingw objdump,
9331 # which wouldn't understand a cygwinified path. Ahh.
9332 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9334 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9338 # pw32 DLLs use 'pw' prefix rather than 'lib'
9339 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9345 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9348 dynamic_linker='Win32 ld.exe'
9349 # FIXME: first we should search . and the directory the executable is in
9353 darwin* | rhapsody*)
9354 dynamic_linker="$host_os dyld"
9358 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9359 soname_spec='${libname}${release}${major}$shared_ext'
9360 shlibpath_overrides_runpath=yes
9361 shlibpath_var=DYLD_LIBRARY_PATH
9362 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9364 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9365 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9373 soname_spec='${libname}${release}${shared_ext}$major'
9374 shlibpath_var=LD_LIBRARY_PATH
9381 freebsd* | dragonfly*)
9382 # DragonFly does not have aout. When/if they implement a new
9383 # versioning mechanism, adjust this.
9384 if test -x /usr/bin/objformat; then
9385 objformat=`/usr/bin/objformat`
9388 freebsd[123]*) objformat=aout ;;
9392 version_type=freebsd-$objformat
9393 case $version_type in
9395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9400 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9404 shlibpath_var=LD_LIBRARY_PATH
9407 shlibpath_overrides_runpath=yes
9409 freebsd3.[01]* | freebsdelf3.[01]*)
9410 shlibpath_overrides_runpath=yes
9411 hardcode_into_libs=yes
9413 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9414 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9415 shlibpath_overrides_runpath=no
9416 hardcode_into_libs=yes
9418 *) # from 4.6 on, and DragonFly
9419 shlibpath_overrides_runpath=yes
9420 hardcode_into_libs=yes
9429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9430 soname_spec='${libname}${release}${shared_ext}$major'
9431 shlibpath_var=LD_LIBRARY_PATH
9432 hardcode_into_libs=yes
9435 hpux9* | hpux10* | hpux11*)
9436 # Give a soname corresponding to the major version so that dld.sl refuses to
9437 # link against other versions.
9444 hardcode_into_libs=yes
9445 dynamic_linker="$host_os dld.so"
9446 shlibpath_var=LD_LIBRARY_PATH
9447 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9449 soname_spec='${libname}${release}${shared_ext}$major'
9450 if test "X$HPUX_IA64_MODE" = X32; then
9451 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9453 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9455 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9459 hardcode_into_libs=yes
9460 dynamic_linker="$host_os dld.sl"
9461 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9462 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9464 soname_spec='${libname}${release}${shared_ext}$major'
9465 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9466 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9470 dynamic_linker="$host_os dld.sl"
9471 shlibpath_var=SHLIB_PATH
9472 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9474 soname_spec='${libname}${release}${shared_ext}$major'
9477 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9478 postinstall_cmds='chmod 555 $lib'
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9486 soname_spec='${libname}${release}${shared_ext}$major'
9487 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9488 shlibpath_var=LD_LIBRARY_PATH
9489 shlibpath_overrides_runpath=no
9490 hardcode_into_libs=yes
9493 irix5* | irix6* | nonstopux*)
9495 nonstopux*) version_type=nonstopux ;;
9497 if test "$lt_cv_prog_gnu_ld" = yes; then
9505 soname_spec='${libname}${release}${shared_ext}$major'
9506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9508 irix5* | nonstopux*)
9512 case $LD in # libtool.m4 will add one of these switches to LD
9513 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9514 libsuff= shlibsuff= libmagic=32-bit;;
9515 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9516 libsuff=32 shlibsuff=N32 libmagic=N32;;
9517 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9518 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9519 *) libsuff= shlibsuff= libmagic=never-match;;
9523 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9524 shlibpath_overrides_runpath=no
9525 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9526 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9527 hardcode_into_libs=yes
9530 # No shared lib support for Linux oldld, aout, or coff.
9531 linux*oldld* | linux*aout* | linux*coff*)
9535 # This must be Linux ELF.
9536 linux* | k*bsd*-gnu)
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9541 soname_spec='${libname}${release}${shared_ext}$major'
9542 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9543 shlibpath_var=LD_LIBRARY_PATH
9544 shlibpath_overrides_runpath=no
9546 # Some binutils ld are patched to set DT_RUNPATH
9547 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9548 echo $ECHO_N "(cached) $ECHO_C" >&6
9550 lt_cv_shlibpath_overrides_runpath=no
9551 save_LDFLAGS=$LDFLAGS
9553 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9554 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9555 if test x$gcc_no_link = xyes; then
9556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9558 { (exit 1); exit 1; }; }
9560 cat >conftest.$ac_ext <<_ACEOF
9563 cat confdefs.h >>conftest.$ac_ext
9564 cat >>conftest.$ac_ext <<_ACEOF
9565 /* end confdefs.h. */
9575 rm -f conftest.$ac_objext conftest$ac_exeext
9576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9577 (eval $ac_link) 2>conftest.er1
9579 grep -v '^ *+' conftest.er1 >conftest.err
9581 cat conftest.err >&5
9582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9583 (exit $ac_status); } &&
9584 { ac_try='test -z "$ac_c_werror_flag"
9585 || test ! -s conftest.err'
9586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9590 (exit $ac_status); }; } &&
9591 { ac_try='test -s conftest$ac_exeext'
9592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9596 (exit $ac_status); }; }; then
9597 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9598 lt_cv_shlibpath_overrides_runpath=yes
9602 echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9606 rm -f conftest.err conftest.$ac_objext \
9607 conftest$ac_exeext conftest.$ac_ext
9608 LDFLAGS=$save_LDFLAGS
9613 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9615 # This implies no fast_install, which is unacceptable.
9616 # Some rework will be needed to allow for fast_install
9617 # before this can be enabled.
9618 hardcode_into_libs=yes
9620 # Append ld.so.conf contents to the search path
9621 if test -f /etc/ld.so.conf; then
9622 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9623 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9626 # We used to test for /lib/ld.so.1 and disable shared libraries on
9627 # powerpc, because MkLinux only supported shared libraries with the
9628 # GNU dynamic linker. Since this was broken with cross compilers,
9629 # most powerpc-linux boxes support dynamic linking these days and
9630 # people can always --disable-shared, the test was removed, and we
9631 # assume the GNU/Linux dynamic linker is in use.
9632 dynamic_linker='GNU/Linux ld.so'
9639 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9640 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9642 dynamic_linker='NetBSD (a.out) ld.so'
9644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9645 soname_spec='${libname}${release}${shared_ext}$major'
9646 dynamic_linker='NetBSD ld.elf_so'
9648 shlibpath_var=LD_LIBRARY_PATH
9649 shlibpath_overrides_runpath=yes
9650 hardcode_into_libs=yes
9655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9656 shlibpath_var=LD_LIBRARY_PATH
9657 shlibpath_overrides_runpath=yes
9664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9665 soname_spec='${libname}${release}${shared_ext}$major'
9666 shlibpath_var=LD_LIBRARY_PATH
9667 shlibpath_overrides_runpath=no
9668 hardcode_into_libs=yes
9669 dynamic_linker='ldqnx.so'
9674 sys_lib_dlsearch_path_spec="/usr/lib"
9676 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9678 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9679 *) need_version=no ;;
9681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9683 shlibpath_var=LD_LIBRARY_PATH
9684 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9686 openbsd2.[89] | openbsd2.[89].*)
9687 shlibpath_overrides_runpath=no
9690 shlibpath_overrides_runpath=yes
9694 shlibpath_overrides_runpath=yes
9699 libname_spec='$name'
9702 library_names_spec='$libname${shared_ext} $libname.a'
9703 dynamic_linker='OS/2 ld.exe'
9704 shlibpath_var=LIBPATH
9707 osf3* | osf4* | osf5*)
9711 soname_spec='${libname}${release}${shared_ext}$major'
9712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9713 shlibpath_var=LD_LIBRARY_PATH
9714 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9715 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9727 soname_spec='${libname}${release}${shared_ext}$major'
9728 shlibpath_var=LD_LIBRARY_PATH
9729 shlibpath_overrides_runpath=yes
9730 hardcode_into_libs=yes
9731 # ldd complains unless libraries are executable
9732 postinstall_cmds='chmod +x $lib'
9737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9738 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9739 shlibpath_var=LD_LIBRARY_PATH
9740 shlibpath_overrides_runpath=yes
9741 if test "$with_gnu_ld" = yes; then
9749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9750 soname_spec='${libname}${release}${shared_ext}$major'
9751 shlibpath_var=LD_LIBRARY_PATH
9752 case $host_vendor in
9754 shlibpath_overrides_runpath=no
9756 runpath_var=LD_RUN_PATH
9764 shlibpath_overrides_runpath=no
9765 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9771 if test -d /usr/nec ;then
9773 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9774 soname_spec='$libname${shared_ext}.$major'
9775 shlibpath_var=LD_LIBRARY_PATH
9779 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9780 version_type=freebsd-elf
9783 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9784 soname_spec='${libname}${release}${shared_ext}$major'
9785 shlibpath_var=LD_LIBRARY_PATH
9786 shlibpath_overrides_runpath=yes
9787 hardcode_into_libs=yes
9788 if test "$with_gnu_ld" = yes; then
9789 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9791 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9794 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9798 sys_lib_dlsearch_path_spec='/usr/lib'
9802 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9807 shlibpath_var=LD_LIBRARY_PATH
9808 shlibpath_overrides_runpath=no
9809 hardcode_into_libs=yes
9814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9815 soname_spec='${libname}${release}${shared_ext}$major'
9816 shlibpath_var=LD_LIBRARY_PATH
9823 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9824 echo "${ECHO_T}$dynamic_linker" >&6
9825 test "$dynamic_linker" = no && can_build_shared=no
9827 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9828 if test "$GCC" = yes; then
9829 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9832 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9833 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9835 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9836 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9925 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9926 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9928 if test -n "$hardcode_libdir_flag_spec" ||
9929 test -n "$runpath_var" ||
9930 test "X$hardcode_automatic" = "Xyes" ; then
9932 # We can hardcode non-existent directories.
9933 if test "$hardcode_direct" != no &&
9934 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9935 # have to relink, otherwise we might link with an installed library
9936 # when we should be linking with a yet-to-be-installed one
9937 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9938 test "$hardcode_minus_L" != no; then
9939 # Linking always hardcodes the temporary library directory.
9940 hardcode_action=relink
9942 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9943 hardcode_action=immediate
9946 # We cannot hardcode anything, or else we can only hardcode existing
9948 hardcode_action=unsupported
9950 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9951 echo "${ECHO_T}$hardcode_action" >&6
9953 if test "$hardcode_action" = relink ||
9954 test "$inherit_rpath" = yes; then
9955 # Fast installation is not supported
9956 enable_fast_install=no
9957 elif test "$shlibpath_overrides_runpath" = yes ||
9958 test "$enable_shared" = no; then
9959 # Fast installation is not necessary
9960 enable_fast_install=needless
9968 if test "x$enable_dlopen" != xyes; then
9969 enable_dlopen=unknown
9970 enable_dlopen_self=unknown
9971 enable_dlopen_self_static=unknown
9978 lt_cv_dlopen="load_add_on"
9980 lt_cv_dlopen_self=yes
9983 mingw* | pw32* | cegcc*)
9984 lt_cv_dlopen="LoadLibrary"
9989 lt_cv_dlopen="dlopen"
9994 # if libdl is installed we need to link against it
9995 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9996 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9997 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9998 echo $ECHO_N "(cached) $ECHO_C" >&6
10000 ac_check_lib_save_LIBS=$LIBS
10002 if test x$gcc_no_link = xyes; then
10003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10005 { (exit 1); exit 1; }; }
10007 cat >conftest.$ac_ext <<_ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10014 /* Override any gcc2 internal prototype to avoid an error. */
10018 /* We use char because int might match the return type of a gcc2
10019 builtin and then its argument prototype would still apply. */
10029 rm -f conftest.$ac_objext conftest$ac_exeext
10030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10031 (eval $ac_link) 2>conftest.er1
10033 grep -v '^ *+' conftest.er1 >conftest.err
10035 cat conftest.err >&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); } &&
10038 { ac_try='test -z "$ac_c_werror_flag"
10039 || test ! -s conftest.err'
10040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10041 (eval $ac_try) 2>&5
10043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10044 (exit $ac_status); }; } &&
10045 { ac_try='test -s conftest$ac_exeext'
10046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10047 (eval $ac_try) 2>&5
10049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10050 (exit $ac_status); }; }; then
10051 ac_cv_lib_dl_dlopen=yes
10053 echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10056 ac_cv_lib_dl_dlopen=no
10058 rm -f conftest.err conftest.$ac_objext \
10059 conftest$ac_exeext conftest.$ac_ext
10060 LIBS=$ac_check_lib_save_LIBS
10062 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10063 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10064 if test $ac_cv_lib_dl_dlopen = yes; then
10065 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10068 lt_cv_dlopen="dyld"
10070 lt_cv_dlopen_self=yes
10077 echo "$as_me:$LINENO: checking for shl_load" >&5
10078 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10079 if test "${ac_cv_func_shl_load+set}" = set; then
10080 echo $ECHO_N "(cached) $ECHO_C" >&6
10082 if test x$gcc_no_link = xyes; then
10083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10085 { (exit 1); exit 1; }; }
10087 cat >conftest.$ac_ext <<_ACEOF
10090 cat confdefs.h >>conftest.$ac_ext
10091 cat >>conftest.$ac_ext <<_ACEOF
10092 /* end confdefs.h. */
10093 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10095 #define shl_load innocuous_shl_load
10097 /* System header to define __stub macros and hopefully few prototypes,
10098 which can conflict with char shl_load (); below.
10099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10100 <limits.h> exists even on freestanding compilers. */
10103 # include <limits.h>
10105 # include <assert.h>
10110 /* Override any gcc2 internal prototype to avoid an error. */
10115 /* We use char because int might match the return type of a gcc2
10116 builtin and then its argument prototype would still apply. */
10118 /* The GNU C library defines this for functions which it implements
10119 to always fail with ENOSYS. Some functions are actually named
10120 something starting with __ and the normal name is an alias. */
10121 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10124 char (*f) () = shl_load;
10133 return f != shl_load;
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140 (eval $ac_link) 2>conftest.er1
10142 grep -v '^ *+' conftest.er1 >conftest.err
10144 cat conftest.err >&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } &&
10147 { ac_try='test -z "$ac_c_werror_flag"
10148 || test ! -s conftest.err'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; } &&
10154 { ac_try='test -s conftest$ac_exeext'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; }; then
10160 ac_cv_func_shl_load=yes
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10165 ac_cv_func_shl_load=no
10167 rm -f conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10170 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10171 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10172 if test $ac_cv_func_shl_load = yes; then
10173 lt_cv_dlopen="shl_load"
10175 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10176 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10177 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10178 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 ac_check_lib_save_LIBS=$LIBS
10182 if test x$gcc_no_link = xyes; then
10183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10185 { (exit 1); exit 1; }; }
10187 cat >conftest.$ac_ext <<_ACEOF
10190 cat confdefs.h >>conftest.$ac_ext
10191 cat >>conftest.$ac_ext <<_ACEOF
10192 /* end confdefs.h. */
10194 /* Override any gcc2 internal prototype to avoid an error. */
10198 /* We use char because int might match the return type of a gcc2
10199 builtin and then its argument prototype would still apply. */
10209 rm -f conftest.$ac_objext conftest$ac_exeext
10210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10211 (eval $ac_link) 2>conftest.er1
10213 grep -v '^ *+' conftest.er1 >conftest.err
10215 cat conftest.err >&5
10216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10217 (exit $ac_status); } &&
10218 { ac_try='test -z "$ac_c_werror_flag"
10219 || test ! -s conftest.err'
10220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10221 (eval $ac_try) 2>&5
10223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10224 (exit $ac_status); }; } &&
10225 { ac_try='test -s conftest$ac_exeext'
10226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227 (eval $ac_try) 2>&5
10229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230 (exit $ac_status); }; }; then
10231 ac_cv_lib_dld_shl_load=yes
10233 echo "$as_me: failed program was:" >&5
10234 sed 's/^/| /' conftest.$ac_ext >&5
10236 ac_cv_lib_dld_shl_load=no
10238 rm -f conftest.err conftest.$ac_objext \
10239 conftest$ac_exeext conftest.$ac_ext
10240 LIBS=$ac_check_lib_save_LIBS
10242 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10243 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10244 if test $ac_cv_lib_dld_shl_load = yes; then
10245 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10247 echo "$as_me:$LINENO: checking for dlopen" >&5
10248 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10249 if test "${ac_cv_func_dlopen+set}" = set; then
10250 echo $ECHO_N "(cached) $ECHO_C" >&6
10252 if test x$gcc_no_link = xyes; then
10253 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10255 { (exit 1); exit 1; }; }
10257 cat >conftest.$ac_ext <<_ACEOF
10260 cat confdefs.h >>conftest.$ac_ext
10261 cat >>conftest.$ac_ext <<_ACEOF
10262 /* end confdefs.h. */
10263 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10264 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10265 #define dlopen innocuous_dlopen
10267 /* System header to define __stub macros and hopefully few prototypes,
10268 which can conflict with char dlopen (); below.
10269 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10270 <limits.h> exists even on freestanding compilers. */
10273 # include <limits.h>
10275 # include <assert.h>
10280 /* Override any gcc2 internal prototype to avoid an error. */
10285 /* We use char because int might match the return type of a gcc2
10286 builtin and then its argument prototype would still apply. */
10288 /* The GNU C library defines this for functions which it implements
10289 to always fail with ENOSYS. Some functions are actually named
10290 something starting with __ and the normal name is an alias. */
10291 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10294 char (*f) () = dlopen;
10303 return f != dlopen;
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>conftest.er1
10312 grep -v '^ *+' conftest.er1 >conftest.err
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -z "$ac_c_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_func_dlopen=yes
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_func_dlopen=no
10337 rm -f conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10340 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10341 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10342 if test $ac_cv_func_dlopen = yes; then
10343 lt_cv_dlopen="dlopen"
10345 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10348 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 ac_check_lib_save_LIBS=$LIBS
10352 if test x$gcc_no_link = xyes; then
10353 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10354 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10355 { (exit 1); exit 1; }; }
10357 cat >conftest.$ac_ext <<_ACEOF
10360 cat confdefs.h >>conftest.$ac_ext
10361 cat >>conftest.$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10364 /* Override any gcc2 internal prototype to avoid an error. */
10368 /* We use char because int might match the return type of a gcc2
10369 builtin and then its argument prototype would still apply. */
10379 rm -f conftest.$ac_objext conftest$ac_exeext
10380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10381 (eval $ac_link) 2>conftest.er1
10383 grep -v '^ *+' conftest.er1 >conftest.err
10385 cat conftest.err >&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); } &&
10388 { ac_try='test -z "$ac_c_werror_flag"
10389 || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_lib_dl_dlopen=yes
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 ac_cv_lib_dl_dlopen=no
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10414 if test $ac_cv_lib_dl_dlopen = yes; then
10415 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10417 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10418 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10419 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10420 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 ac_check_lib_save_LIBS=$LIBS
10423 LIBS="-lsvld $LIBS"
10424 if test x$gcc_no_link = xyes; then
10425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10427 { (exit 1); exit 1; }; }
10429 cat >conftest.$ac_ext <<_ACEOF
10432 cat confdefs.h >>conftest.$ac_ext
10433 cat >>conftest.$ac_ext <<_ACEOF
10434 /* end confdefs.h. */
10436 /* Override any gcc2 internal prototype to avoid an error. */
10440 /* We use char because int might match the return type of a gcc2
10441 builtin and then its argument prototype would still apply. */
10451 rm -f conftest.$ac_objext conftest$ac_exeext
10452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10453 (eval $ac_link) 2>conftest.er1
10455 grep -v '^ *+' conftest.er1 >conftest.err
10457 cat conftest.err >&5
10458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10459 (exit $ac_status); } &&
10460 { ac_try='test -z "$ac_c_werror_flag"
10461 || test ! -s conftest.err'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; } &&
10467 { ac_try='test -s conftest$ac_exeext'
10468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10469 (eval $ac_try) 2>&5
10471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10472 (exit $ac_status); }; }; then
10473 ac_cv_lib_svld_dlopen=yes
10475 echo "$as_me: failed program was:" >&5
10476 sed 's/^/| /' conftest.$ac_ext >&5
10478 ac_cv_lib_svld_dlopen=no
10480 rm -f conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 LIBS=$ac_check_lib_save_LIBS
10484 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10485 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10486 if test $ac_cv_lib_svld_dlopen = yes; then
10487 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10489 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10490 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10491 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10492 echo $ECHO_N "(cached) $ECHO_C" >&6
10494 ac_check_lib_save_LIBS=$LIBS
10496 if test x$gcc_no_link = xyes; then
10497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10499 { (exit 1); exit 1; }; }
10501 cat >conftest.$ac_ext <<_ACEOF
10504 cat confdefs.h >>conftest.$ac_ext
10505 cat >>conftest.$ac_ext <<_ACEOF
10506 /* end confdefs.h. */
10508 /* Override any gcc2 internal prototype to avoid an error. */
10512 /* We use char because int might match the return type of a gcc2
10513 builtin and then its argument prototype would still apply. */
10523 rm -f conftest.$ac_objext conftest$ac_exeext
10524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10525 (eval $ac_link) 2>conftest.er1
10527 grep -v '^ *+' conftest.er1 >conftest.err
10529 cat conftest.err >&5
10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10531 (exit $ac_status); } &&
10532 { ac_try='test -z "$ac_c_werror_flag"
10533 || test ! -s conftest.err'
10534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10535 (eval $ac_try) 2>&5
10537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10538 (exit $ac_status); }; } &&
10539 { ac_try='test -s conftest$ac_exeext'
10540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10541 (eval $ac_try) 2>&5
10543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10544 (exit $ac_status); }; }; then
10545 ac_cv_lib_dld_dld_link=yes
10547 echo "$as_me: failed program was:" >&5
10548 sed 's/^/| /' conftest.$ac_ext >&5
10550 ac_cv_lib_dld_dld_link=no
10552 rm -f conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10557 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10558 if test $ac_cv_lib_dld_dld_link = yes; then
10559 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10580 if test "x$lt_cv_dlopen" != xno; then
10586 case $lt_cv_dlopen in
10588 save_CPPFLAGS="$CPPFLAGS"
10589 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10591 save_LDFLAGS="$LDFLAGS"
10592 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10595 LIBS="$lt_cv_dlopen_libs $LIBS"
10597 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10598 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10599 if test "${lt_cv_dlopen_self+set}" = set; then
10600 echo $ECHO_N "(cached) $ECHO_C" >&6
10602 if test "$cross_compiling" = yes; then :
10603 lt_cv_dlopen_self=cross
10605 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10606 lt_status=$lt_dlunknown
10607 cat > conftest.$ac_ext <<_LT_EOF
10608 #line 10608 "configure"
10609 #include "confdefs.h"
10618 # define LT_DLGLOBAL RTLD_GLOBAL
10621 # define LT_DLGLOBAL DL_GLOBAL
10623 # define LT_DLGLOBAL 0
10627 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10628 find out it does not work in some platform. */
10629 #ifndef LT_DLLAZY_OR_NOW
10631 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10634 # define LT_DLLAZY_OR_NOW DL_LAZY
10637 # define LT_DLLAZY_OR_NOW RTLD_NOW
10640 # define LT_DLLAZY_OR_NOW DL_NOW
10642 # define LT_DLLAZY_OR_NOW 0
10649 void fnord() { int i=42;}
10652 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10653 int status = $lt_dlunknown;
10657 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10658 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10659 /* dlclose (self); */
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>&5
10670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10672 (./conftest; exit; ) >&5 2>/dev/null
10674 case x$lt_status in
10675 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10676 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10677 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10680 # compilation failed
10681 lt_cv_dlopen_self=no
10688 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10689 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10691 if test "x$lt_cv_dlopen_self" = xyes; then
10692 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10693 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10694 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10695 if test "${lt_cv_dlopen_self_static+set}" = set; then
10696 echo $ECHO_N "(cached) $ECHO_C" >&6
10698 if test "$cross_compiling" = yes; then :
10699 lt_cv_dlopen_self_static=cross
10701 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10702 lt_status=$lt_dlunknown
10703 cat > conftest.$ac_ext <<_LT_EOF
10704 #line 10704 "configure"
10705 #include "confdefs.h"
10714 # define LT_DLGLOBAL RTLD_GLOBAL
10717 # define LT_DLGLOBAL DL_GLOBAL
10719 # define LT_DLGLOBAL 0
10723 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10724 find out it does not work in some platform. */
10725 #ifndef LT_DLLAZY_OR_NOW
10727 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10730 # define LT_DLLAZY_OR_NOW DL_LAZY
10733 # define LT_DLLAZY_OR_NOW RTLD_NOW
10736 # define LT_DLLAZY_OR_NOW DL_NOW
10738 # define LT_DLLAZY_OR_NOW 0
10745 void fnord() { int i=42;}
10748 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10749 int status = $lt_dlunknown;
10753 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10754 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10755 /* dlclose (self); */
10763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10764 (eval $ac_link) 2>&5
10766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10768 (./conftest; exit; ) >&5 2>/dev/null
10770 case x$lt_status in
10771 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10772 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10773 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10776 # compilation failed
10777 lt_cv_dlopen_self_static=no
10784 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10785 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10788 CPPFLAGS="$save_CPPFLAGS"
10789 LDFLAGS="$save_LDFLAGS"
10794 case $lt_cv_dlopen_self in
10795 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10796 *) enable_dlopen_self=unknown ;;
10799 case $lt_cv_dlopen_self_static in
10800 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10801 *) enable_dlopen_self_static=unknown ;;
10823 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10824 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10825 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10826 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10827 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10828 echo "$as_me:$LINENO: result: yes" >&5
10829 echo "${ECHO_T}yes" >&6
10831 # FIXME - insert some real tests, host_os isn't really good enough
10834 if test -n "$STRIP" ; then
10835 striplib="$STRIP -x"
10836 old_striplib="$STRIP -S"
10837 echo "$as_me:$LINENO: result: yes" >&5
10838 echo "${ECHO_T}yes" >&6
10840 echo "$as_me:$LINENO: result: no" >&5
10841 echo "${ECHO_T}no" >&6
10845 echo "$as_me:$LINENO: result: no" >&5
10846 echo "${ECHO_T}no" >&6
10862 # Report which library types will actually be built
10863 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10864 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10865 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10866 echo "${ECHO_T}$can_build_shared" >&6
10868 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10869 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10870 test "$can_build_shared" = "no" && enable_shared=no
10872 # On AIX, shared libraries and static libraries use the same namespace, and
10873 # are all built from PIC.
10876 test "$enable_shared" = yes && enable_static=no
10877 if test -n "$RANLIB"; then
10878 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10879 postinstall_cmds='$RANLIB $lib'
10884 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10885 test "$enable_shared" = yes && enable_static=no
10889 echo "$as_me:$LINENO: result: $enable_shared" >&5
10890 echo "${ECHO_T}$enable_shared" >&6
10892 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10893 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10894 # Make sure either enable_shared or enable_static is yes.
10895 test "$enable_shared" = yes || enable_static=yes
10896 echo "$as_me:$LINENO: result: $enable_static" >&5
10897 echo "${ECHO_T}$enable_static" >&6
10904 ac_cpp='$CPP $CPPFLAGS'
10905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10923 ac_config_commands="$ac_config_commands libtool"
10928 # Only expand once:
10933 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10935 # We need gfortran to compile parts of the library
10936 #AC_PROG_FC(gfortran)
10938 ac_ext=${FC_SRCEXT-f}
10939 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10940 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10941 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
10942 if test -n "$ac_tool_prefix"; then
10943 for ac_prog in gfortran
10945 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10946 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10947 echo "$as_me:$LINENO: checking for $ac_word" >&5
10948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10949 if test "${ac_cv_prog_FC+set}" = set; then
10950 echo $ECHO_N "(cached) $ECHO_C" >&6
10952 if test -n "$FC"; then
10953 ac_cv_prog_FC="$FC" # Let the user override the test.
10955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10956 for as_dir in $PATH
10959 test -z "$as_dir" && as_dir=.
10960 for ac_exec_ext in '' $ac_executable_extensions; do
10961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10962 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
10963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10972 if test -n "$FC"; then
10973 echo "$as_me:$LINENO: result: $FC" >&5
10974 echo "${ECHO_T}$FC" >&6
10976 echo "$as_me:$LINENO: result: no" >&5
10977 echo "${ECHO_T}no" >&6
10980 test -n "$FC" && break
10983 if test -z "$FC"; then
10985 for ac_prog in gfortran
10987 # Extract the first word of "$ac_prog", so it can be a program name with args.
10988 set dummy $ac_prog; ac_word=$2
10989 echo "$as_me:$LINENO: checking for $ac_word" >&5
10990 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10991 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10992 echo $ECHO_N "(cached) $ECHO_C" >&6
10994 if test -n "$ac_ct_FC"; then
10995 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
10997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10998 for as_dir in $PATH
11001 test -z "$as_dir" && as_dir=.
11002 for ac_exec_ext in '' $ac_executable_extensions; do
11003 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11004 ac_cv_prog_ac_ct_FC="$ac_prog"
11005 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11013 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11014 if test -n "$ac_ct_FC"; then
11015 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11016 echo "${ECHO_T}$ac_ct_FC" >&6
11018 echo "$as_me:$LINENO: result: no" >&5
11019 echo "${ECHO_T}no" >&6
11022 test -n "$ac_ct_FC" && break
11029 # Provide some information about the compiler.
11030 echo "$as_me:11030:" \
11031 "checking for Fortran compiler version" >&5
11032 ac_compiler=`set X $ac_compile; echo $2`
11033 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11034 (eval $ac_compiler --version </dev/null >&5) 2>&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }
11038 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11039 (eval $ac_compiler -v </dev/null >&5) 2>&5
11041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11042 (exit $ac_status); }
11043 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11044 (eval $ac_compiler -V </dev/null >&5) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }
11050 # If we don't use `.F' as extension, the preprocessor is not run on the
11051 # input file. (Note that this only needs to work for GNU compilers.)
11052 ac_save_ext=$ac_ext
11054 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11055 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11056 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11059 cat >conftest.$ac_ext <<_ACEOF
11067 rm -f conftest.$ac_objext
11068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11069 (eval $ac_compile) 2>conftest.er1
11071 grep -v '^ *+' conftest.er1 >conftest.err
11073 cat conftest.err >&5
11074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11075 (exit $ac_status); } &&
11076 { ac_try='test -z "$ac_fc_werror_flag"
11077 || test ! -s conftest.err'
11078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11079 (eval $ac_try) 2>&5
11081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11082 (exit $ac_status); }; } &&
11083 { ac_try='test -s conftest.$ac_objext'
11084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11085 (eval $ac_try) 2>&5
11087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11088 (exit $ac_status); }; }; then
11089 ac_compiler_gnu=yes
11091 echo "$as_me: failed program was:" >&5
11092 sed 's/^/| /' conftest.$ac_ext >&5
11096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11097 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11100 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11101 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11102 ac_ext=$ac_save_ext
11103 ac_test_FFLAGS=${FCFLAGS+set}
11104 ac_save_FFLAGS=$FCFLAGS
11106 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11107 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11108 if test "${ac_cv_prog_fc_g+set}" = set; then
11109 echo $ECHO_N "(cached) $ECHO_C" >&6
11112 cat >conftest.$ac_ext <<_ACEOF
11117 rm -f conftest.$ac_objext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11119 (eval $ac_compile) 2>conftest.er1
11121 grep -v '^ *+' conftest.er1 >conftest.err
11123 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } &&
11126 { ac_try='test -z "$ac_fc_werror_flag"
11127 || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try='test -s conftest.$ac_objext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 ac_cv_prog_fc_g=yes
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11149 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11150 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11151 if test "$ac_test_FFLAGS" = set; then
11152 FCFLAGS=$ac_save_FFLAGS
11153 elif test $ac_cv_prog_fc_g = yes; then
11154 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11160 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11168 ac_cpp='$CPP $CPPFLAGS'
11169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11174 ac_ext=${FC_SRCEXT-f}
11175 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11176 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11177 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11178 if test -n "$ac_tool_prefix"; then
11179 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11181 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11182 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11183 echo "$as_me:$LINENO: checking for $ac_word" >&5
11184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11185 if test "${ac_cv_prog_FC+set}" = set; then
11186 echo $ECHO_N "(cached) $ECHO_C" >&6
11188 if test -n "$FC"; then
11189 ac_cv_prog_FC="$FC" # Let the user override the test.
11191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11192 for as_dir in $PATH
11195 test -z "$as_dir" && as_dir=.
11196 for ac_exec_ext in '' $ac_executable_extensions; do
11197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11198 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11208 if test -n "$FC"; then
11209 echo "$as_me:$LINENO: result: $FC" >&5
11210 echo "${ECHO_T}$FC" >&6
11212 echo "$as_me:$LINENO: result: no" >&5
11213 echo "${ECHO_T}no" >&6
11216 test -n "$FC" && break
11219 if test -z "$FC"; then
11221 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11223 # Extract the first word of "$ac_prog", so it can be a program name with args.
11224 set dummy $ac_prog; ac_word=$2
11225 echo "$as_me:$LINENO: checking for $ac_word" >&5
11226 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11227 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6
11230 if test -n "$ac_ct_FC"; then
11231 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11234 for as_dir in $PATH
11237 test -z "$as_dir" && as_dir=.
11238 for ac_exec_ext in '' $ac_executable_extensions; do
11239 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11240 ac_cv_prog_ac_ct_FC="$ac_prog"
11241 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11249 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11250 if test -n "$ac_ct_FC"; then
11251 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11252 echo "${ECHO_T}$ac_ct_FC" >&6
11254 echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6
11258 test -n "$ac_ct_FC" && break
11265 # Provide some information about the compiler.
11266 echo "$as_me:11266:" \
11267 "checking for Fortran compiler version" >&5
11268 ac_compiler=`set X $ac_compile; echo $2`
11269 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11270 (eval $ac_compiler --version </dev/null >&5) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }
11274 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11275 (eval $ac_compiler -v </dev/null >&5) 2>&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 (exit $ac_status); }
11279 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11280 (eval $ac_compiler -V </dev/null >&5) 2>&5
11282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11283 (exit $ac_status); }
11286 # If we don't use `.F' as extension, the preprocessor is not run on the
11287 # input file. (Note that this only needs to work for GNU compilers.)
11288 ac_save_ext=$ac_ext
11290 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11291 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11292 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11293 echo $ECHO_N "(cached) $ECHO_C" >&6
11295 cat >conftest.$ac_ext <<_ACEOF
11303 rm -f conftest.$ac_objext
11304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11305 (eval $ac_compile) 2>conftest.er1
11307 grep -v '^ *+' conftest.er1 >conftest.err
11309 cat conftest.err >&5
11310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11311 (exit $ac_status); } &&
11312 { ac_try='test -z "$ac_fc_werror_flag"
11313 || test ! -s conftest.err'
11314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11315 (eval $ac_try) 2>&5
11317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11318 (exit $ac_status); }; } &&
11319 { ac_try='test -s conftest.$ac_objext'
11320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11321 (eval $ac_try) 2>&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); }; }; then
11325 ac_compiler_gnu=yes
11327 echo "$as_me: failed program was:" >&5
11328 sed 's/^/| /' conftest.$ac_ext >&5
11332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11333 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11336 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11337 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11338 ac_ext=$ac_save_ext
11339 ac_test_FFLAGS=${FCFLAGS+set}
11340 ac_save_FFLAGS=$FCFLAGS
11342 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11343 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11344 if test "${ac_cv_prog_fc_g+set}" = set; then
11345 echo $ECHO_N "(cached) $ECHO_C" >&6
11348 cat >conftest.$ac_ext <<_ACEOF
11353 rm -f conftest.$ac_objext
11354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11355 (eval $ac_compile) 2>conftest.er1
11357 grep -v '^ *+' conftest.er1 >conftest.err
11359 cat conftest.err >&5
11360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11361 (exit $ac_status); } &&
11362 { ac_try='test -z "$ac_fc_werror_flag"
11363 || test ! -s conftest.err'
11364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11365 (eval $ac_try) 2>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); }; } &&
11369 { ac_try='test -s conftest.$ac_objext'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; }; then
11375 ac_cv_prog_fc_g=yes
11377 echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.$ac_ext >&5
11382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11385 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11386 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11387 if test "$ac_test_FFLAGS" = set; then
11388 FCFLAGS=$ac_save_FFLAGS
11389 elif test $ac_cv_prog_fc_g = yes; then
11390 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11396 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11404 ac_cpp='$CPP $CPPFLAGS'
11405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11409 if test -z "$FC" || test "X$FC" = "Xno"; then
11415 ac_ext=${FC_SRCEXT-f}
11416 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11417 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11418 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11421 archive_cmds_need_lc_FC=no
11422 allow_undefined_flag_FC=
11423 always_export_symbols_FC=no
11424 archive_expsym_cmds_FC=
11425 export_dynamic_flag_spec_FC=
11426 hardcode_direct_FC=no
11427 hardcode_direct_absolute_FC=no
11428 hardcode_libdir_flag_spec_FC=
11429 hardcode_libdir_flag_spec_ld_FC=
11430 hardcode_libdir_separator_FC=
11431 hardcode_minus_L_FC=no
11432 hardcode_automatic_FC=no
11433 inherit_rpath_FC=no
11435 module_expsym_cmds_FC=
11436 link_all_deplibs_FC=unknown
11437 old_archive_cmds_FC=$old_archive_cmds
11438 no_undefined_flag_FC=
11439 whole_archive_flag_spec_FC=
11440 enable_shared_with_static_runtimes_FC=no
11442 # Source file extension for fc test sources.
11443 ac_ext=${ac_fc_srcext-f}
11445 # Object file extension for compiled fc test sources.
11449 # No sense in running all these tests if we already determined that
11450 # the FC compiler isn't working. Some variables (like enable_shared)
11451 # are currently assumed to apply to all compilers on this platform,
11452 # and will be corrupted by setting them based on a non-working compiler.
11453 if test "$_lt_disable_FC" != yes; then
11454 # Code to be used in simple compile tests
11455 lt_simple_compile_test_code="\
11461 # Code to be used in simple link tests
11462 lt_simple_link_test_code="\
11467 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11474 # If no C compiler was specified, use CC.
11477 # If no C compiler flags were specified, use CFLAGS.
11478 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11480 # Allow CC to be a program name with arguments.
11484 # save warnings/boilerplate of simple test code
11485 ac_outfile=conftest.$ac_objext
11486 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11487 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11488 _lt_compiler_boilerplate=`cat conftest.err`
11491 ac_outfile=conftest.$ac_objext
11492 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11493 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11494 _lt_linker_boilerplate=`cat conftest.err`
11498 # Allow CC to be a program name with arguments.
11503 GCC=$ac_cv_fc_compiler_gnu
11506 for cc_temp in $compiler""; do
11508 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11509 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11514 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11517 if test -n "$compiler"; then
11518 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11519 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11520 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11521 echo "${ECHO_T}$can_build_shared" >&6
11523 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11524 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11525 test "$can_build_shared" = "no" && enable_shared=no
11527 # On AIX, shared libraries and static libraries use the same namespace, and
11528 # are all built from PIC.
11531 test "$enable_shared" = yes && enable_static=no
11532 if test -n "$RANLIB"; then
11533 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11534 postinstall_cmds='$RANLIB $lib'
11538 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11539 test "$enable_shared" = yes && enable_static=no
11543 echo "$as_me:$LINENO: result: $enable_shared" >&5
11544 echo "${ECHO_T}$enable_shared" >&6
11546 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11547 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11548 # Make sure either enable_shared or enable_static is yes.
11549 test "$enable_shared" = yes || enable_static=yes
11550 echo "$as_me:$LINENO: result: $enable_static" >&5
11551 echo "${ECHO_T}$enable_static" >&6
11553 GCC_FC="$ac_cv_fc_compiler_gnu"
11557 ## There is no encapsulation within the following macros, do not change
11558 ## the running order or otherwise move them around unless you know exactly
11559 ## what you are doing...
11560 # Dependencies to place before and after the object being linked:
11562 postdep_objects_FC=
11565 compiler_lib_search_path_FC=
11567 cat > conftest.$ac_ext <<_LT_EOF
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577 (eval $ac_compile) 2>&5
11579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11580 (exit $ac_status); }; then
11581 # Parse the compiler output and extract the necessary
11582 # objects, libraries and library flags.
11584 # Sentinel used to keep track of whether or not we are before
11585 # the conftest object file.
11586 pre_test_object_deps_done=no
11588 for p in `eval "$output_verbose_link_cmd"`; do
11592 # Some compilers place space between "-{L,R}" and the path.
11593 # Remove the space.
11594 if test $p = "-L" ||
11595 test $p = "-R"; then
11602 if test "$pre_test_object_deps_done" = no; then
11605 # Internal compiler library paths should come after those
11606 # provided the user. The postdeps already come after the
11607 # user supplied libs so there is no need to process them.
11608 if test -z "$compiler_lib_search_path_FC"; then
11609 compiler_lib_search_path_FC="${prev}${p}"
11611 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11614 # The "-l" case would never come before the object being
11615 # linked, so don't bother handling this case.
11618 if test -z "$postdeps_FC"; then
11619 postdeps_FC="${prev}${p}"
11621 postdeps_FC="${postdeps_FC} ${prev}${p}"
11627 # This assumes that the test object file only shows up
11628 # once in the compiler output.
11629 if test "$p" = "conftest.$objext"; then
11630 pre_test_object_deps_done=yes
11634 if test "$pre_test_object_deps_done" = no; then
11635 if test -z "$predep_objects_FC"; then
11636 predep_objects_FC="$p"
11638 predep_objects_FC="$predep_objects_FC $p"
11641 if test -z "$postdep_objects_FC"; then
11642 postdep_objects_FC="$p"
11644 postdep_objects_FC="$postdep_objects_FC $p"
11649 *) ;; # Ignore the rest.
11657 echo "libtool.m4: error: problem compiling FC test program"
11660 $RM -f confest.$objext
11662 # PORTME: override above test on systems where it is broken
11665 case " $postdeps_FC " in
11666 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11668 compiler_lib_search_dirs_FC=
11669 if test -n "${compiler_lib_search_path_FC}"; then
11670 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11703 lt_prog_compiler_wl_FC=
11704 lt_prog_compiler_pic_FC=
11705 lt_prog_compiler_static_FC=
11707 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11708 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11710 if test "$GCC" = yes; then
11711 lt_prog_compiler_wl_FC='-Wl,'
11712 lt_prog_compiler_static_FC='-static'
11716 # All AIX code is PIC.
11717 if test "$host_cpu" = ia64; then
11718 # AIX 5 now supports IA64 processor
11719 lt_prog_compiler_static_FC='-Bstatic'
11726 # see comment about AmigaOS4 .so support
11727 lt_prog_compiler_pic_FC='-fPIC'
11730 # FIXME: we need at least 68020 code to build shared libraries, but
11731 # adding the `-m68020' flag to GCC prevents building anything better,
11733 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11738 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11739 # PIC is the default for these OSes.
11742 mingw* | cygwin* | pw32* | os2* | cegcc*)
11743 # This hack is so that the source file can tell whether it is being
11744 # built for inclusion in a dll (and should export symbols for example).
11745 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11746 # (--disable-auto-import) libraries
11747 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11750 darwin* | rhapsody*)
11751 # PIC is the default on this platform
11752 # Common symbols not allowed in MH_DYLIB files
11753 lt_prog_compiler_pic_FC='-fno-common'
11757 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11758 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11759 # sets the default TLS model and affects inlining.
11765 lt_prog_compiler_pic_FC='-fPIC'
11771 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11772 # Instead, we relocate shared libraries at runtime.
11776 # Just because we use GCC doesn't mean we suddenly get shared libraries
11777 # on systems that don't support them.
11778 lt_prog_compiler_can_build_shared_FC=no
11783 # QNX uses GNU C++, but need to define -shared option too, otherwise
11784 # it will coredump.
11785 lt_prog_compiler_pic_FC='-fPIC -shared'
11789 if test -d /usr/nec; then
11790 lt_prog_compiler_pic_FC=-Kconform_pic
11795 lt_prog_compiler_pic_FC='-fPIC'
11799 # PORTME Check for flag to pass linker flags through the system compiler.
11802 lt_prog_compiler_wl_FC='-Wl,'
11803 if test "$host_cpu" = ia64; then
11804 # AIX 5 now supports IA64 processor
11805 lt_prog_compiler_static_FC='-Bstatic'
11807 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11811 mingw* | cygwin* | pw32* | os2* | cegcc*)
11812 # This hack is so that the source file can tell whether it is being
11813 # built for inclusion in a dll (and should export symbols for example).
11814 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11817 hpux9* | hpux10* | hpux11*)
11818 lt_prog_compiler_wl_FC='-Wl,'
11819 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11820 # not for PA HP-UX.
11826 lt_prog_compiler_pic_FC='+Z'
11829 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11830 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11833 irix5* | irix6* | nonstopux*)
11834 lt_prog_compiler_wl_FC='-Wl,'
11835 # PIC (with -KPIC) is the default.
11836 lt_prog_compiler_static_FC='-non_shared'
11839 linux* | k*bsd*-gnu)
11840 case $cc_basename in
11841 # old Intel for x86_64 which still supported -KPIC.
11843 lt_prog_compiler_wl_FC='-Wl,'
11844 lt_prog_compiler_pic_FC='-KPIC'
11845 lt_prog_compiler_static_FC='-static'
11847 # icc used to be incompatible with GCC.
11848 # ICC 10 doesn't accept -KPIC any more.
11850 lt_prog_compiler_wl_FC='-Wl,'
11851 lt_prog_compiler_pic_FC='-fPIC'
11852 lt_prog_compiler_static_FC='-static'
11854 # Lahey Fortran 8.1.
11856 lt_prog_compiler_wl_FC='-Wl,'
11857 lt_prog_compiler_pic_FC='--shared'
11858 lt_prog_compiler_static_FC='--static'
11860 pgcc* | pgf77* | pgf90* | pgf95*)
11861 # Portland Group compilers (*not* the Pentium gcc compiler,
11862 # which looks to be a dead project)
11863 lt_prog_compiler_wl_FC='-Wl,'
11864 lt_prog_compiler_pic_FC='-fpic'
11865 lt_prog_compiler_static_FC='-Bstatic'
11868 lt_prog_compiler_wl_FC='-Wl,'
11869 # All Alpha code is PIC.
11870 lt_prog_compiler_static_FC='-non_shared'
11873 # IBM XL C 8.0/Fortran 10.1 on PPC
11874 lt_prog_compiler_wl_FC='-Wl,'
11875 lt_prog_compiler_pic_FC='-qpic'
11876 lt_prog_compiler_static_FC='-qstaticlink'
11879 case `$CC -V 2>&1 | sed 5q` in
11882 lt_prog_compiler_pic_FC='-KPIC'
11883 lt_prog_compiler_static_FC='-Bstatic'
11884 lt_prog_compiler_wl_FC='-Wl,'
11887 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11888 lt_prog_compiler_pic_FC='-KPIC'
11889 lt_prog_compiler_static_FC='-Bstatic'
11890 lt_prog_compiler_wl_FC=''
11898 lt_prog_compiler_pic_FC='-KPIC'
11899 lt_prog_compiler_static_FC='-Bstatic'
11903 # QNX uses GNU C++, but need to define -shared option too, otherwise
11904 # it will coredump.
11905 lt_prog_compiler_pic_FC='-fPIC -shared'
11908 osf3* | osf4* | osf5*)
11909 lt_prog_compiler_wl_FC='-Wl,'
11910 # All OSF/1 code is PIC.
11911 lt_prog_compiler_static_FC='-non_shared'
11915 lt_prog_compiler_static_FC='-non_shared'
11919 lt_prog_compiler_pic_FC='-KPIC'
11920 lt_prog_compiler_static_FC='-Bstatic'
11921 case $cc_basename in
11922 f77* | f90* | f95*)
11923 lt_prog_compiler_wl_FC='-Qoption ld ';;
11925 lt_prog_compiler_wl_FC='-Wl,';;
11930 lt_prog_compiler_wl_FC='-Qoption ld '
11931 lt_prog_compiler_pic_FC='-PIC'
11932 lt_prog_compiler_static_FC='-Bstatic'
11935 sysv4 | sysv4.2uw2* | sysv4.3*)
11936 lt_prog_compiler_wl_FC='-Wl,'
11937 lt_prog_compiler_pic_FC='-KPIC'
11938 lt_prog_compiler_static_FC='-Bstatic'
11942 if test -d /usr/nec ;then
11943 lt_prog_compiler_pic_FC='-Kconform_pic'
11944 lt_prog_compiler_static_FC='-Bstatic'
11948 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11949 lt_prog_compiler_wl_FC='-Wl,'
11950 lt_prog_compiler_pic_FC='-KPIC'
11951 lt_prog_compiler_static_FC='-Bstatic'
11955 lt_prog_compiler_wl_FC='-Wl,'
11956 lt_prog_compiler_can_build_shared_FC=no
11960 lt_prog_compiler_pic_FC='-pic'
11961 lt_prog_compiler_static_FC='-Bstatic'
11965 lt_prog_compiler_can_build_shared_FC=no
11971 # For platforms which do not support PIC, -DPIC is meaningless:
11973 lt_prog_compiler_pic_FC=
11976 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
11979 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11980 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11985 # Check to make sure the PIC flag actually works.
11987 if test -n "$lt_prog_compiler_pic_FC"; then
11988 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11989 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11990 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11991 echo $ECHO_N "(cached) $ECHO_C" >&6
11993 lt_cv_prog_compiler_pic_works_FC=no
11994 ac_outfile=conftest.$ac_objext
11995 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11996 lt_compiler_flag="$lt_prog_compiler_pic_FC"
11997 # Insert the option either (1) after the last *FLAGS variable, or
11998 # (2) before a word containing "conftest.", or (3) at the end.
11999 # Note that $ac_compile itself does not contain backslashes and begins
12000 # with a dollar sign (not a hyphen), so the echo should work correctly.
12001 # The option is referenced via a variable to avoid confusing sed.
12002 lt_compile=`echo "$ac_compile" | $SED \
12003 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12004 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12005 -e 's:$: $lt_compiler_flag:'`
12006 (eval echo "\"\$as_me:12006: $lt_compile\"" >&5)
12007 (eval "$lt_compile" 2>conftest.err)
12009 cat conftest.err >&5
12010 echo "$as_me:12010: \$? = $ac_status" >&5
12011 if (exit $ac_status) && test -s "$ac_outfile"; then
12012 # The compiler can only warn and ignore the option if not recognized
12013 # So say no if there are warnings other than the usual output.
12014 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12015 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12016 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12017 lt_cv_prog_compiler_pic_works_FC=yes
12023 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12024 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12026 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12027 case $lt_prog_compiler_pic_FC in
12029 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12032 lt_prog_compiler_pic_FC=
12033 lt_prog_compiler_can_build_shared_FC=no
12041 # Check to make sure the static flag actually works.
12043 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12044 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12045 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12046 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12047 echo $ECHO_N "(cached) $ECHO_C" >&6
12049 lt_cv_prog_compiler_static_works_FC=no
12050 save_LDFLAGS="$LDFLAGS"
12051 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12052 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12053 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12054 # The linker can only warn and ignore the option if not recognized
12055 # So say no if there are warnings
12056 if test -s conftest.err; then
12057 # Append any errors to the config.log.
12058 cat conftest.err 1>&5
12059 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12060 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12061 if diff conftest.exp conftest.er2 >/dev/null; then
12062 lt_cv_prog_compiler_static_works_FC=yes
12065 lt_cv_prog_compiler_static_works_FC=yes
12069 LDFLAGS="$save_LDFLAGS"
12072 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12073 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12075 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12078 lt_prog_compiler_static_FC=
12084 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12085 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12086 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12087 echo $ECHO_N "(cached) $ECHO_C" >&6
12089 lt_cv_prog_compiler_c_o_FC=no
12090 $RM -r conftest 2>/dev/null
12094 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12096 lt_compiler_flag="-o out/conftest2.$ac_objext"
12097 # Insert the option either (1) after the last *FLAGS variable, or
12098 # (2) before a word containing "conftest.", or (3) at the end.
12099 # Note that $ac_compile itself does not contain backslashes and begins
12100 # with a dollar sign (not a hyphen), so the echo should work correctly.
12101 lt_compile=`echo "$ac_compile" | $SED \
12102 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12103 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12104 -e 's:$: $lt_compiler_flag:'`
12105 (eval echo "\"\$as_me:12105: $lt_compile\"" >&5)
12106 (eval "$lt_compile" 2>out/conftest.err)
12108 cat out/conftest.err >&5
12109 echo "$as_me:12109: \$? = $ac_status" >&5
12110 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12112 # The compiler can only warn and ignore the option if not recognized
12113 # So say no if there are warnings
12114 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12115 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12116 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12117 lt_cv_prog_compiler_c_o_FC=yes
12122 # SGI C++ compiler will create directory out/ii_files/ for
12123 # template instantiation
12124 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12125 $RM out/* && rmdir out
12131 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12132 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12136 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12137 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12138 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12139 echo $ECHO_N "(cached) $ECHO_C" >&6
12141 lt_cv_prog_compiler_c_o_FC=no
12142 $RM -r conftest 2>/dev/null
12146 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12148 lt_compiler_flag="-o out/conftest2.$ac_objext"
12149 # Insert the option either (1) after the last *FLAGS variable, or
12150 # (2) before a word containing "conftest.", or (3) at the end.
12151 # Note that $ac_compile itself does not contain backslashes and begins
12152 # with a dollar sign (not a hyphen), so the echo should work correctly.
12153 lt_compile=`echo "$ac_compile" | $SED \
12154 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12155 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12156 -e 's:$: $lt_compiler_flag:'`
12157 (eval echo "\"\$as_me:12157: $lt_compile\"" >&5)
12158 (eval "$lt_compile" 2>out/conftest.err)
12160 cat out/conftest.err >&5
12161 echo "$as_me:12161: \$? = $ac_status" >&5
12162 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12164 # The compiler can only warn and ignore the option if not recognized
12165 # So say no if there are warnings
12166 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12167 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12168 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12169 lt_cv_prog_compiler_c_o_FC=yes
12174 # SGI C++ compiler will create directory out/ii_files/ for
12175 # template instantiation
12176 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12177 $RM out/* && rmdir out
12183 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12184 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12189 hard_links="nottested"
12190 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12191 # do not overwrite the value of need_locks provided by the user
12192 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12193 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12196 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12198 ln conftest.a conftest.b 2>&5 || hard_links=no
12199 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12200 echo "$as_me:$LINENO: result: $hard_links" >&5
12201 echo "${ECHO_T}$hard_links" >&6
12202 if test "$hard_links" = no; then
12203 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12204 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12213 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12214 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12217 allow_undefined_flag_FC=
12218 always_export_symbols_FC=no
12220 archive_expsym_cmds_FC=
12221 compiler_needs_object_FC=no
12222 enable_shared_with_static_runtimes_FC=no
12223 export_dynamic_flag_spec_FC=
12224 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12225 hardcode_automatic_FC=no
12226 hardcode_direct_FC=no
12227 hardcode_direct_absolute_FC=no
12228 hardcode_libdir_flag_spec_FC=
12229 hardcode_libdir_flag_spec_ld_FC=
12230 hardcode_libdir_separator_FC=
12231 hardcode_minus_L_FC=no
12232 hardcode_shlibpath_var_FC=unsupported
12233 inherit_rpath_FC=no
12234 link_all_deplibs_FC=unknown
12236 module_expsym_cmds_FC=
12237 old_archive_from_new_cmds_FC=
12238 old_archive_from_expsyms_cmds_FC=
12239 thread_safe_flag_spec_FC=
12240 whole_archive_flag_spec_FC=
12241 # include_expsyms should be a list of space-separated symbols to be *always*
12242 # included in the symbol list
12243 include_expsyms_FC=
12244 # exclude_expsyms can be an extended regexp of symbols to exclude
12245 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12246 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12247 # as well as any symbol that contains `d'.
12248 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12249 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12250 # platforms (ab)use it in PIC code, but their linkers get confused if
12251 # the symbol is explicitly referenced. Since portable code cannot
12252 # rely on this symbol name, it's probably fine to never include it in
12253 # preloaded symbol tables.
12254 # Exclude shared library initialization/finalization symbols.
12255 extract_expsyms_cmds=
12258 cygwin* | mingw* | pw32* | cegcc*)
12259 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12260 # When not using gcc, we currently assume that we are using
12261 # Microsoft Visual C++.
12262 if test "$GCC" != yes; then
12267 # we just hope/assume this is gcc and not c89 (= MSVC++)
12276 if test "$with_gnu_ld" = yes; then
12277 # If archive_cmds runs LD, not CC, wlarc should be empty
12280 # Set some defaults for GNU ld with shared library support. These
12281 # are reset later if shared libraries are not supported. Putting them
12282 # here allows them to be overridden if necessary.
12283 runpath_var=LD_RUN_PATH
12284 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12285 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12286 # ancient GNU ld didn't support --whole-archive et. al.
12287 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12288 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12290 whole_archive_flag_spec_FC=
12292 supports_anon_versioning=no
12293 case `$LD -v 2>&1` in
12294 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12295 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12296 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12297 *\ 2.11.*) ;; # other 2.11 versions
12298 *) supports_anon_versioning=yes ;;
12301 # See if GNU ld supports shared libraries.
12304 # On AIX/PPC, the GNU linker is very broken
12305 if test "$host_cpu" != ia64; then
12309 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12310 *** to be unable to reliably create shared libraries on AIX.
12311 *** Therefore, libtool is disabling shared libraries support. If you
12312 *** really care for shared libraries, you may want to modify your PATH
12313 *** so that a non-GNU linker is found, and then restart.
12322 # see comment about AmigaOS4 .so support
12323 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12324 archive_expsym_cmds_FC=''
12327 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)'
12328 hardcode_libdir_flag_spec_FC='-L$libdir'
12329 hardcode_minus_L_FC=yes
12335 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12336 allow_undefined_flag_FC=unsupported
12337 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12338 # support --undefined. This deserves some investigation. FIXME
12339 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12345 cygwin* | mingw* | pw32* | cegcc*)
12346 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12347 # as there is no search path for DLLs.
12348 hardcode_libdir_flag_spec_FC='-L$libdir'
12349 allow_undefined_flag_FC=unsupported
12350 always_export_symbols_FC=no
12351 enable_shared_with_static_runtimes_FC=yes
12352 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12354 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12355 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12356 # If the export-symbols file already is a .def file (1st line
12357 # is EXPORTS), use it as is; otherwise, prepend...
12358 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12359 cp $export_symbols $output_objdir/$soname.def;
12361 echo EXPORTS > $output_objdir/$soname.def;
12362 cat $export_symbols >> $output_objdir/$soname.def;
12364 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12371 hardcode_direct_FC=no
12372 hardcode_shlibpath_var_FC=no
12373 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12374 export_dynamic_flag_spec_FC='${wl}-E'
12375 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12376 # Instead, shared libraries are loaded at an image base (0x10000000 by
12377 # default) and relocated if they conflict, which is a slow very memory
12378 # consuming and fragmenting process. To avoid this, we pick a random,
12379 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12380 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12381 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'
12382 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'
12385 gnu* | linux* | tpf* | k*bsd*-gnu)
12387 if test "$host_os" = linux-dietlibc; then
12388 case $cc_basename in
12389 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12392 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12393 && test "$tmp_diet" = no
12396 tmp_sharedflag='-shared'
12397 case $cc_basename,$host_cpu in
12398 pgcc*) # Portland Group C compiler
12399 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'
12400 tmp_addflag=' $pic_flag'
12402 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12403 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'
12404 tmp_addflag=' $pic_flag -Mnomain' ;;
12405 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12406 tmp_addflag=' -i_dynamic' ;;
12407 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12408 tmp_addflag=' -i_dynamic -nofor_main' ;;
12409 ifc* | ifort*) # Intel Fortran compiler
12410 tmp_addflag=' -nofor_main' ;;
12411 lf95*) # Lahey Fortran 8.1
12412 whole_archive_flag_spec_FC=
12413 tmp_sharedflag='--shared' ;;
12414 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12415 tmp_sharedflag='-qmkshrobj'
12418 case `$CC -V 2>&1 | sed 5q` in
12419 *Sun\ C*) # Sun C 5.9
12420 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'
12421 compiler_needs_object_FC=yes
12422 tmp_sharedflag='-G' ;;
12423 *Sun\ F*) # Sun Fortran 8.3
12424 tmp_sharedflag='-G' ;;
12426 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12428 if test "x$supports_anon_versioning" = xyes; then
12429 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12430 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12431 echo "local: *; };" >> $output_objdir/$libname.ver~
12432 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12435 case $cc_basename in
12437 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12438 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12439 hardcode_libdir_flag_spec_FC=
12440 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12441 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12442 if test "x$supports_anon_versioning" = xyes; then
12443 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12444 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12445 echo "local: *; };" >> $output_objdir/$libname.ver~
12446 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12456 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12457 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12460 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12461 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12466 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12470 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12471 *** create shared libraries on Solaris systems. Therefore, libtool
12472 *** is disabling shared libraries support. We urge you to upgrade GNU
12473 *** binutils to release 2.9.1 or newer. Another option is to modify
12474 *** your PATH or compiler configuration so that the native linker is
12475 *** used, and then restart.
12478 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12479 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12480 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12486 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12487 case `$LD -v 2>&1` in
12488 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12492 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12493 *** reliably create shared libraries on SCO systems. Therefore, libtool
12494 *** is disabling shared libraries support. We urge you to upgrade GNU
12495 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12496 *** your PATH or compiler configuration so that the native linker is
12497 *** used, and then restart.
12502 # For security reasons, it is highly recommended that you always
12503 # use absolute paths for naming shared libraries, and exclude the
12504 # DT_RUNPATH tag from executables and libraries. But doing so
12505 # requires that you compile everything twice, which is a pain.
12506 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12507 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12508 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12509 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12518 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12520 hardcode_direct_FC=yes
12521 hardcode_shlibpath_var_FC=no
12525 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12526 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12527 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12534 if test "$ld_shlibs_FC" = no; then
12536 hardcode_libdir_flag_spec_FC=
12537 export_dynamic_flag_spec_FC=
12538 whole_archive_flag_spec_FC=
12541 # PORTME fill in a description of your system's linker (not GNU ld)
12544 allow_undefined_flag_FC=unsupported
12545 always_export_symbols_FC=yes
12546 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'
12547 # Note: this linker hardcodes the directories in LIBPATH if there
12548 # are no directories specified by -L.
12549 hardcode_minus_L_FC=yes
12550 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12551 # Neither direct hardcoding nor static linking is supported with a
12553 hardcode_direct_FC=unsupported
12558 if test "$host_cpu" = ia64; then
12559 # On IA64, the linker does run time linking by default, so we don't
12560 # have to do anything special.
12561 aix_use_runtimelinking=no
12562 exp_sym_flag='-Bexport'
12565 # If we're using GNU nm, then we don't want the "-C" option.
12566 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12567 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12568 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'
12570 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'
12572 aix_use_runtimelinking=no
12574 # Test if we are trying to use run time linking or normal
12575 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12576 # need to do runtime linking.
12577 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12578 for ld_flag in $LDFLAGS; do
12579 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12580 aix_use_runtimelinking=yes
12587 exp_sym_flag='-bexport'
12588 no_entry_flag='-bnoentry'
12591 # When large executables or shared objects are built, AIX ld can
12592 # have problems creating the table of contents. If linking a library
12593 # or program results in "error TOC overflow" add -mminimal-toc to
12594 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12595 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12598 hardcode_direct_FC=yes
12599 hardcode_direct_absolute_FC=yes
12600 hardcode_libdir_separator_FC=':'
12601 link_all_deplibs_FC=yes
12602 file_list_spec_FC='${wl}-f,'
12604 if test "$GCC" = yes; then
12605 case $host_os in aix4.[012]|aix4.[012].*)
12606 # We only want to do this on AIX 4.2 and lower, the check
12607 # below for broken collect2 doesn't work under 4.3+
12608 collect2name=`${CC} -print-prog-name=collect2`
12609 if test -f "$collect2name" &&
12610 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12612 # We have reworked collect2
12615 # We have old collect2
12616 hardcode_direct_FC=unsupported
12617 # It fails to find uninstalled libraries when the uninstalled
12618 # path is not listed in the libpath. Setting hardcode_minus_L
12619 # to unsupported forces relinking
12620 hardcode_minus_L_FC=yes
12621 hardcode_libdir_flag_spec_FC='-L$libdir'
12622 hardcode_libdir_separator_FC=
12626 shared_flag='-shared'
12627 if test "$aix_use_runtimelinking" = yes; then
12628 shared_flag="$shared_flag "'${wl}-G'
12632 if test "$host_cpu" = ia64; then
12633 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12634 # chokes on -Wl,-G. The following line is correct:
12637 if test "$aix_use_runtimelinking" = yes; then
12638 shared_flag='${wl}-G'
12640 shared_flag='${wl}-bM:SRE'
12645 export_dynamic_flag_spec_FC='${wl}-bexpall'
12646 # It seems that -bexpall does not export symbols beginning with
12647 # underscore (_), so it is better to generate a list of symbols to export.
12648 always_export_symbols_FC=yes
12649 if test "$aix_use_runtimelinking" = yes; then
12650 # Warning - without using the other runtime loading flags (-brtl),
12651 # -berok will link without error, but may produce a broken library.
12652 allow_undefined_flag_FC='-berok'
12653 # Determine the default libpath from the value encoded in an
12654 # empty executable.
12655 if test x$gcc_no_link = xyes; then
12656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12658 { (exit 1); exit 1; }; }
12660 cat >conftest.$ac_ext <<_ACEOF
12665 rm -f conftest.$ac_objext conftest$ac_exeext
12666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12667 (eval $ac_link) 2>conftest.er1
12669 grep -v '^ *+' conftest.er1 >conftest.err
12671 cat conftest.err >&5
12672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12673 (exit $ac_status); } &&
12674 { ac_try='test -z "$ac_fc_werror_flag"
12675 || test ! -s conftest.err'
12676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12677 (eval $ac_try) 2>&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); }; } &&
12681 { ac_try='test -s conftest$ac_exeext'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; }; then
12688 lt_aix_libpath_sed='
12689 /Import File Strings/,/^$/ {
12695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12696 # Check for a 64-bit object if we didn't find anything.
12697 if test -z "$aix_libpath"; then
12698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12701 echo "$as_me: failed program was:" >&5
12702 sed 's/^/| /' conftest.$ac_ext >&5
12705 rm -f conftest.err conftest.$ac_objext \
12706 conftest$ac_exeext conftest.$ac_ext
12707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12709 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12710 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"
12712 if test "$host_cpu" = ia64; then
12713 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12714 allow_undefined_flag_FC="-z nodefs"
12715 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"
12717 # Determine the default libpath from the value encoded in an
12718 # empty executable.
12719 if test x$gcc_no_link = xyes; then
12720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12722 { (exit 1); exit 1; }; }
12724 cat >conftest.$ac_ext <<_ACEOF
12729 rm -f conftest.$ac_objext conftest$ac_exeext
12730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12731 (eval $ac_link) 2>conftest.er1
12733 grep -v '^ *+' conftest.er1 >conftest.err
12735 cat conftest.err >&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); } &&
12738 { ac_try='test -z "$ac_fc_werror_flag"
12739 || test ! -s conftest.err'
12740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12741 (eval $ac_try) 2>&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); }; } &&
12745 { ac_try='test -s conftest$ac_exeext'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; }; then
12752 lt_aix_libpath_sed='
12753 /Import File Strings/,/^$/ {
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12765 echo "$as_me: failed program was:" >&5
12766 sed 's/^/| /' conftest.$ac_ext >&5
12769 rm -f conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12773 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12774 # Warning - without using the other run time loading flags,
12775 # -berok will link without error, but may produce a broken library.
12776 no_undefined_flag_FC=' ${wl}-bernotok'
12777 allow_undefined_flag_FC=' ${wl}-berok'
12778 # Exported symbols can be pulled into shared objects from archives
12779 whole_archive_flag_spec_FC='$convenience'
12780 archive_cmds_need_lc_FC=yes
12781 # This is similar to how AIX traditionally builds its shared libraries.
12782 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'
12790 # see comment about AmigaOS4 .so support
12791 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12792 archive_expsym_cmds_FC=''
12795 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)'
12796 hardcode_libdir_flag_spec_FC='-L$libdir'
12797 hardcode_minus_L_FC=yes
12803 export_dynamic_flag_spec_FC=-rdynamic
12806 cygwin* | mingw* | pw32* | cegcc*)
12807 # When not using gcc, we currently assume that we are using
12808 # Microsoft Visual C++.
12809 # hardcode_libdir_flag_spec is actually meaningless, as there is
12810 # no search path for DLLs.
12811 hardcode_libdir_flag_spec_FC=' '
12812 allow_undefined_flag_FC=unsupported
12813 # Tell ltmain to make .lib files, not .a files.
12815 # Tell ltmain to make .dll files, not .so files.
12817 # FIXME: Setting linknames here is a bad hack.
12818 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12819 # The linker will automatically build a .lib file if we build a DLL.
12820 old_archive_from_new_cmds_FC='true'
12821 # FIXME: Should let the user specify the lib program.
12822 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12823 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12824 enable_shared_with_static_runtimes_FC=yes
12827 darwin* | rhapsody*)
12830 archive_cmds_need_lc_FC=no
12831 hardcode_direct_FC=no
12832 hardcode_automatic_FC=yes
12833 hardcode_shlibpath_var_FC=unsupported
12834 whole_archive_flag_spec_FC=''
12835 link_all_deplibs_FC=yes
12836 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12837 case $cc_basename in
12838 ifort*) _lt_dar_can_shared=yes ;;
12839 *) _lt_dar_can_shared=$GCC ;;
12841 if test "$_lt_dar_can_shared" = "yes"; then
12842 output_verbose_link_cmd=echo
12843 archive_cmds_FC="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12844 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12845 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12846 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${_lt_dar_export_syms}${_lt_dsymutil}"
12855 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12856 hardcode_libdir_flag_spec_FC='-L$libdir'
12857 hardcode_shlibpath_var_FC=no
12864 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12865 # support. Future versions do this automatically, but an explicit c++rt0.o
12866 # does not break anything, and helps significantly (at the cost of a little
12869 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12870 hardcode_libdir_flag_spec_FC='-R$libdir'
12871 hardcode_direct_FC=yes
12872 hardcode_shlibpath_var_FC=no
12875 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12877 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12878 hardcode_direct_FC=yes
12879 hardcode_minus_L_FC=yes
12880 hardcode_shlibpath_var_FC=no
12883 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12884 freebsd* | dragonfly*)
12885 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12886 hardcode_libdir_flag_spec_FC='-R$libdir'
12887 hardcode_direct_FC=yes
12888 hardcode_shlibpath_var_FC=no
12892 if test "$GCC" = yes; then
12893 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'
12895 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'
12897 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12898 hardcode_libdir_separator_FC=:
12899 hardcode_direct_FC=yes
12901 # hardcode_minus_L: Not really in the search PATH,
12902 # but as the default location of the library.
12903 hardcode_minus_L_FC=yes
12904 export_dynamic_flag_spec_FC='${wl}-E'
12908 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12909 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12911 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12913 if test "$with_gnu_ld" = no; then
12914 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12915 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12916 hardcode_libdir_separator_FC=:
12917 hardcode_direct_FC=yes
12918 hardcode_direct_absolute_FC=yes
12919 export_dynamic_flag_spec_FC='${wl}-E'
12920 # hardcode_minus_L: Not really in the search PATH,
12921 # but as the default location of the library.
12922 hardcode_minus_L_FC=yes
12927 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12930 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12933 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12936 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12942 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12945 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12948 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12952 if test "$with_gnu_ld" = no; then
12953 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12954 hardcode_libdir_separator_FC=:
12958 hardcode_direct_FC=no
12959 hardcode_shlibpath_var_FC=no
12962 hardcode_direct_FC=yes
12963 hardcode_direct_absolute_FC=yes
12964 export_dynamic_flag_spec_FC='${wl}-E'
12966 # hardcode_minus_L: Not really in the search PATH,
12967 # but as the default location of the library.
12968 hardcode_minus_L_FC=yes
12974 irix5* | irix6* | nonstopux*)
12975 if test "$GCC" = yes; then
12976 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'
12977 # Try to use the -exported_symbol ld option, if it does not
12978 # work, assume that -exports_file does not work either and
12979 # implicitly export all symbols.
12980 save_LDFLAGS="$LDFLAGS"
12981 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12982 if test x$gcc_no_link = xyes; then
12983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12985 { (exit 1); exit 1; }; }
12987 cat >conftest.$ac_ext <<_ACEOF
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992 (eval $ac_link) 2>conftest.er1
12994 grep -v '^ *+' conftest.er1 >conftest.err
12996 cat conftest.err >&5
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); } &&
12999 { ac_try='test -z "$ac_fc_werror_flag"
13000 || test ! -s conftest.err'
13001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002 (eval $ac_try) 2>&5
13004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005 (exit $ac_status); }; } &&
13006 { ac_try='test -s conftest$ac_exeext'
13007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008 (eval $ac_try) 2>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); }; }; then
13012 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'
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13019 rm -f conftest.err conftest.$ac_objext \
13020 conftest$ac_exeext conftest.$ac_ext
13021 LDFLAGS="$save_LDFLAGS"
13023 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'
13024 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'
13026 archive_cmds_need_lc_FC='no'
13027 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13028 hardcode_libdir_separator_FC=:
13029 inherit_rpath_FC=yes
13030 link_all_deplibs_FC=yes
13034 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13035 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13037 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13039 hardcode_libdir_flag_spec_FC='-R$libdir'
13040 hardcode_direct_FC=yes
13041 hardcode_shlibpath_var_FC=no
13045 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13046 hardcode_direct_FC=yes
13047 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13048 hardcode_libdir_separator_FC=:
13049 hardcode_shlibpath_var_FC=no
13056 if test -f /usr/libexec/ld.so; then
13057 hardcode_direct_FC=yes
13058 hardcode_shlibpath_var_FC=no
13059 hardcode_direct_absolute_FC=yes
13060 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13061 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13062 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13063 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13064 export_dynamic_flag_spec_FC='${wl}-E'
13067 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13068 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13069 hardcode_libdir_flag_spec_FC='-R$libdir'
13072 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13073 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13083 hardcode_libdir_flag_spec_FC='-L$libdir'
13084 hardcode_minus_L_FC=yes
13085 allow_undefined_flag_FC=unsupported
13086 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'
13087 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13091 if test "$GCC" = yes; then
13092 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13093 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'
13095 allow_undefined_flag_FC=' -expect_unresolved \*'
13096 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'
13098 archive_cmds_need_lc_FC='no'
13099 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13100 hardcode_libdir_separator_FC=:
13103 osf4* | osf5*) # as osf3* with the addition of -msym flag
13104 if test "$GCC" = yes; then
13105 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13106 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'
13107 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13109 allow_undefined_flag_FC=' -expect_unresolved \*'
13110 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'
13111 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~
13112 $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'
13114 # Both c and cxx compiler support -rpath directly
13115 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13117 archive_cmds_need_lc_FC='no'
13118 hardcode_libdir_separator_FC=:
13122 no_undefined_flag_FC=' -z defs'
13123 if test "$GCC" = yes; then
13125 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13127 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13129 case `$CC -V 2>&1` in
13132 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13133 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13138 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13139 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13140 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13144 hardcode_libdir_flag_spec_FC='-R$libdir'
13145 hardcode_shlibpath_var_FC=no
13147 solaris2.[0-5] | solaris2.[0-5].*) ;;
13149 # The compiler driver will combine and reorder linker options,
13150 # but understands `-z linker_flag'. GCC discards it without `$wl',
13151 # but is careful enough not to reorder.
13152 # Supported since Solaris 2.6 (maybe 2.5.1?)
13153 if test "$GCC" = yes; then
13154 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13156 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13160 link_all_deplibs_FC=yes
13164 if test "x$host_vendor" = xsequent; then
13165 # Use $CC to link under sequent, because it throws in some extra .o
13166 # files that make .init and .fini sections work.
13167 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13169 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13171 hardcode_libdir_flag_spec_FC='-L$libdir'
13172 hardcode_direct_FC=yes
13173 hardcode_minus_L_FC=yes
13174 hardcode_shlibpath_var_FC=no
13178 case $host_vendor in
13180 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13181 hardcode_direct_FC=yes # is this really true???
13184 ## LD is ld it makes a PLAMLIB
13185 ## CC just makes a GrossModule.
13186 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13187 reload_cmds_FC='$CC -r -o $output$reload_objs'
13188 hardcode_direct_FC=no
13191 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13192 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13195 runpath_var='LD_RUN_PATH'
13196 hardcode_shlibpath_var_FC=no
13200 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13201 hardcode_shlibpath_var_FC=no
13202 export_dynamic_flag_spec_FC='-Bexport'
13206 if test -d /usr/nec; then
13207 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13208 hardcode_shlibpath_var_FC=no
13209 runpath_var=LD_RUN_PATH
13210 hardcode_runpath_var=yes
13215 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13216 no_undefined_flag_FC='${wl}-z,text'
13217 archive_cmds_need_lc_FC=no
13218 hardcode_shlibpath_var_FC=no
13219 runpath_var='LD_RUN_PATH'
13221 if test "$GCC" = yes; then
13222 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13223 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13225 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13226 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13230 sysv5* | sco3.2v5* | sco5v6*)
13231 # Note: We can NOT use -z defs as we might desire, because we do not
13232 # link with -lc, and that would cause any symbols used from libc to
13233 # always be unresolved, which means just about no library would
13234 # ever link correctly. If we're not using GNU ld we use -z text
13235 # though, which does catch some bad symbols but isn't as heavy-handed
13237 no_undefined_flag_FC='${wl}-z,text'
13238 allow_undefined_flag_FC='${wl}-z,nodefs'
13239 archive_cmds_need_lc_FC=no
13240 hardcode_shlibpath_var_FC=no
13241 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13242 hardcode_libdir_separator_FC=':'
13243 link_all_deplibs_FC=yes
13244 export_dynamic_flag_spec_FC='${wl}-Bexport'
13245 runpath_var='LD_RUN_PATH'
13247 if test "$GCC" = yes; then
13248 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13257 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13258 hardcode_libdir_flag_spec_FC='-L$libdir'
13259 hardcode_shlibpath_var_FC=no
13267 if test x$host_vendor = xsni; then
13269 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13270 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13276 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13277 echo "${ECHO_T}$ld_shlibs_FC" >&6
13278 test "$ld_shlibs_FC" = no && can_build_shared=no
13280 with_gnu_ld_FC=$with_gnu_ld
13288 # Do we need to explicitly link libc?
13290 case "x$archive_cmds_need_lc_FC" in
13292 # Assume -lc should be added
13293 archive_cmds_need_lc_FC=yes
13295 if test "$enable_shared" = yes && test "$GCC" = yes; then
13296 case $archive_cmds_FC in
13298 # FIXME: we may have to deal with multi-command sequences.
13301 # Test whether the compiler implicitly links with -lc since on some
13302 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13303 # to ld, don't add -lc before -lgcc.
13304 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13305 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13306 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13307 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13313 (eval $ac_compile) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); } 2>conftest.err; then
13319 libobjs=conftest.$ac_objext
13321 wl=$lt_prog_compiler_wl_FC
13322 pic_flag=$lt_prog_compiler_pic_FC
13328 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13329 allow_undefined_flag_FC=
13330 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13331 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13334 (exit $ac_status); }
13336 lt_cv_archive_cmds_need_lc_FC=no
13338 lt_cv_archive_cmds_need_lc_FC=yes
13340 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13342 cat conftest.err 1>&5
13347 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13348 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13349 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13419 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13420 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13422 library_names_spec=
13423 libname_spec='lib$name'
13427 postuninstall_cmds=
13431 shlibpath_overrides_runpath=unknown
13433 dynamic_linker="$host_os ld.so"
13434 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13435 need_lib_prefix=unknown
13436 hardcode_into_libs=no
13438 # when you set need_version to no, make sure it does not cause -set_version
13439 # flags to be left without arguments
13440 need_version=unknown
13445 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13446 shlibpath_var=LIBPATH
13448 # AIX 3 has no versioning support, so we append a major version to the name.
13449 soname_spec='${libname}${release}${shared_ext}$major'
13456 hardcode_into_libs=yes
13457 if test "$host_cpu" = ia64; then
13458 # AIX 5 supports IA64
13459 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13460 shlibpath_var=LD_LIBRARY_PATH
13462 # With GCC up to 2.95.x, collect2 would create an import file
13463 # for dependence libraries. The import file would start with
13464 # the line `#! .'. This would cause the generated library to
13465 # depend on `.', always an invalid library. This was fixed in
13466 # development snapshots of GCC prior to 3.0.
13468 aix4 | aix4.[01] | aix4.[01].*)
13469 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13471 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13474 can_build_shared=no
13478 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13479 # soname into executable. Probably we can add versioning support to
13480 # collect2, so additional links can be useful in future.
13481 if test "$aix_use_runtimelinking" = yes; then
13482 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13483 # instead of lib<name>.a to let people know that these are not
13484 # typical AIX shared libraries.
13485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13487 # We preserve .a as extension for shared libraries through AIX4.2
13488 # and later when we are not doing run time linking.
13489 library_names_spec='${libname}${release}.a $libname.a'
13490 soname_spec='${libname}${release}${shared_ext}$major'
13492 shlibpath_var=LIBPATH
13499 # Since July 2007 AmigaOS4 officially supports .so libraries.
13500 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13504 library_names_spec='$libname.ixlibrary $libname.a'
13505 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13506 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'
13512 library_names_spec='${libname}${shared_ext}'
13513 dynamic_linker="$host_os ld.so"
13514 shlibpath_var=LIBRARY_PATH
13520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13521 soname_spec='${libname}${release}${shared_ext}$major'
13522 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13523 shlibpath_var=LD_LIBRARY_PATH
13524 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13525 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13526 # the default ld.so.conf also contains /usr/contrib/lib and
13527 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13528 # libtool to hard-code these into programs
13531 cygwin* | mingw* | pw32* | cegcc*)
13532 version_type=windows
13537 case $GCC,$host_os in
13538 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13539 library_names_spec='$libname.dll.a'
13540 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13541 postinstall_cmds='base_file=`basename \${file}`~
13542 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13543 dldir=$destdir/`dirname \$dlpath`~
13544 test -d \$dldir || mkdir -p \$dldir~
13545 $install_prog $dir/$dlname \$dldir/$dlname~
13546 chmod a+x \$dldir/$dlname~
13547 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13548 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13550 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13551 dlpath=$dir/\$dldll~
13553 shlibpath_overrides_runpath=yes
13557 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13558 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13559 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13562 # MinGW DLLs use traditional 'lib' prefix
13563 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13564 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13565 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13566 # It is most probably a Windows format PATH printed by
13567 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13568 # path with ; separators, and with drive letters. We can handle the
13569 # drive letters (cygwin fileutils understands them), so leave them,
13570 # especially as we might pass files found there to a mingw objdump,
13571 # which wouldn't understand a cygwinified path. Ahh.
13572 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13574 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13578 # pw32 DLLs use 'pw' prefix rather than 'lib'
13579 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13585 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13588 dynamic_linker='Win32 ld.exe'
13589 # FIXME: first we should search . and the directory the executable is in
13593 darwin* | rhapsody*)
13594 dynamic_linker="$host_os dyld"
13595 version_type=darwin
13598 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13599 soname_spec='${libname}${release}${major}$shared_ext'
13600 shlibpath_overrides_runpath=yes
13601 shlibpath_var=DYLD_LIBRARY_PATH
13602 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13604 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13612 soname_spec='${libname}${release}${shared_ext}$major'
13613 shlibpath_var=LD_LIBRARY_PATH
13620 freebsd* | dragonfly*)
13621 # DragonFly does not have aout. When/if they implement a new
13622 # versioning mechanism, adjust this.
13623 if test -x /usr/bin/objformat; then
13624 objformat=`/usr/bin/objformat`
13627 freebsd[123]*) objformat=aout ;;
13628 *) objformat=elf ;;
13631 version_type=freebsd-$objformat
13632 case $version_type in
13634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13639 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13643 shlibpath_var=LD_LIBRARY_PATH
13646 shlibpath_overrides_runpath=yes
13648 freebsd3.[01]* | freebsdelf3.[01]*)
13649 shlibpath_overrides_runpath=yes
13650 hardcode_into_libs=yes
13652 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13653 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13654 shlibpath_overrides_runpath=no
13655 hardcode_into_libs=yes
13657 *) # from 4.6 on, and DragonFly
13658 shlibpath_overrides_runpath=yes
13659 hardcode_into_libs=yes
13668 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13669 soname_spec='${libname}${release}${shared_ext}$major'
13670 shlibpath_var=LD_LIBRARY_PATH
13671 hardcode_into_libs=yes
13674 hpux9* | hpux10* | hpux11*)
13675 # Give a soname corresponding to the major version so that dld.sl refuses to
13676 # link against other versions.
13683 hardcode_into_libs=yes
13684 dynamic_linker="$host_os dld.so"
13685 shlibpath_var=LD_LIBRARY_PATH
13686 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13688 soname_spec='${libname}${release}${shared_ext}$major'
13689 if test "X$HPUX_IA64_MODE" = X32; then
13690 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13692 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13694 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13698 hardcode_into_libs=yes
13699 dynamic_linker="$host_os dld.sl"
13700 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13701 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13703 soname_spec='${libname}${release}${shared_ext}$major'
13704 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13705 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13709 dynamic_linker="$host_os dld.sl"
13710 shlibpath_var=SHLIB_PATH
13711 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13712 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13713 soname_spec='${libname}${release}${shared_ext}$major'
13716 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13717 postinstall_cmds='chmod 555 $lib'
13724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13725 soname_spec='${libname}${release}${shared_ext}$major'
13726 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13727 shlibpath_var=LD_LIBRARY_PATH
13728 shlibpath_overrides_runpath=no
13729 hardcode_into_libs=yes
13732 irix5* | irix6* | nonstopux*)
13734 nonstopux*) version_type=nonstopux ;;
13736 if test "$lt_cv_prog_gnu_ld" = yes; then
13744 soname_spec='${libname}${release}${shared_ext}$major'
13745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13747 irix5* | nonstopux*)
13748 libsuff= shlibsuff=
13751 case $LD in # libtool.m4 will add one of these switches to LD
13752 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13753 libsuff= shlibsuff= libmagic=32-bit;;
13754 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13755 libsuff=32 shlibsuff=N32 libmagic=N32;;
13756 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13757 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13758 *) libsuff= shlibsuff= libmagic=never-match;;
13762 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13763 shlibpath_overrides_runpath=no
13764 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13765 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13766 hardcode_into_libs=yes
13769 # No shared lib support for Linux oldld, aout, or coff.
13770 linux*oldld* | linux*aout* | linux*coff*)
13774 # This must be Linux ELF.
13775 linux* | k*bsd*-gnu)
13779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13780 soname_spec='${libname}${release}${shared_ext}$major'
13781 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13782 shlibpath_var=LD_LIBRARY_PATH
13783 shlibpath_overrides_runpath=no
13785 # Some binutils ld are patched to set DT_RUNPATH
13786 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13787 echo $ECHO_N "(cached) $ECHO_C" >&6
13789 lt_cv_shlibpath_overrides_runpath=no
13790 save_LDFLAGS=$LDFLAGS
13791 save_libdir=$libdir
13792 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13793 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13794 if test x$gcc_no_link = xyes; then
13795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13797 { (exit 1); exit 1; }; }
13799 cat >conftest.$ac_ext <<_ACEOF
13804 rm -f conftest.$ac_objext conftest$ac_exeext
13805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13806 (eval $ac_link) 2>conftest.er1
13808 grep -v '^ *+' conftest.er1 >conftest.err
13810 cat conftest.err >&5
13811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13812 (exit $ac_status); } &&
13813 { ac_try='test -z "$ac_fc_werror_flag"
13814 || test ! -s conftest.err'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; } &&
13820 { ac_try='test -s conftest$ac_exeext'
13821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13822 (eval $ac_try) 2>&5
13824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13825 (exit $ac_status); }; }; then
13826 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13827 lt_cv_shlibpath_overrides_runpath=yes
13831 echo "$as_me: failed program was:" >&5
13832 sed 's/^/| /' conftest.$ac_ext >&5
13835 rm -f conftest.err conftest.$ac_objext \
13836 conftest$ac_exeext conftest.$ac_ext
13837 LDFLAGS=$save_LDFLAGS
13838 libdir=$save_libdir
13842 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13844 # This implies no fast_install, which is unacceptable.
13845 # Some rework will be needed to allow for fast_install
13846 # before this can be enabled.
13847 hardcode_into_libs=yes
13849 # Append ld.so.conf contents to the search path
13850 if test -f /etc/ld.so.conf; then
13851 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13852 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13855 # We used to test for /lib/ld.so.1 and disable shared libraries on
13856 # powerpc, because MkLinux only supported shared libraries with the
13857 # GNU dynamic linker. Since this was broken with cross compilers,
13858 # most powerpc-linux boxes support dynamic linking these days and
13859 # people can always --disable-shared, the test was removed, and we
13860 # assume the GNU/Linux dynamic linker is in use.
13861 dynamic_linker='GNU/Linux ld.so'
13868 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13870 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13871 dynamic_linker='NetBSD (a.out) ld.so'
13873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13874 soname_spec='${libname}${release}${shared_ext}$major'
13875 dynamic_linker='NetBSD ld.elf_so'
13877 shlibpath_var=LD_LIBRARY_PATH
13878 shlibpath_overrides_runpath=yes
13879 hardcode_into_libs=yes
13884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13885 shlibpath_var=LD_LIBRARY_PATH
13886 shlibpath_overrides_runpath=yes
13893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13894 soname_spec='${libname}${release}${shared_ext}$major'
13895 shlibpath_var=LD_LIBRARY_PATH
13896 shlibpath_overrides_runpath=no
13897 hardcode_into_libs=yes
13898 dynamic_linker='ldqnx.so'
13903 sys_lib_dlsearch_path_spec="/usr/lib"
13905 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13907 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13908 *) need_version=no ;;
13910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13911 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13912 shlibpath_var=LD_LIBRARY_PATH
13913 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13915 openbsd2.[89] | openbsd2.[89].*)
13916 shlibpath_overrides_runpath=no
13919 shlibpath_overrides_runpath=yes
13923 shlibpath_overrides_runpath=yes
13928 libname_spec='$name'
13931 library_names_spec='$libname${shared_ext} $libname.a'
13932 dynamic_linker='OS/2 ld.exe'
13933 shlibpath_var=LIBPATH
13936 osf3* | osf4* | osf5*)
13940 soname_spec='${libname}${release}${shared_ext}$major'
13941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13942 shlibpath_var=LD_LIBRARY_PATH
13943 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13944 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13956 soname_spec='${libname}${release}${shared_ext}$major'
13957 shlibpath_var=LD_LIBRARY_PATH
13958 shlibpath_overrides_runpath=yes
13959 hardcode_into_libs=yes
13960 # ldd complains unless libraries are executable
13961 postinstall_cmds='chmod +x $lib'
13966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13967 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13968 shlibpath_var=LD_LIBRARY_PATH
13969 shlibpath_overrides_runpath=yes
13970 if test "$with_gnu_ld" = yes; then
13978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13979 soname_spec='${libname}${release}${shared_ext}$major'
13980 shlibpath_var=LD_LIBRARY_PATH
13981 case $host_vendor in
13983 shlibpath_overrides_runpath=no
13985 runpath_var=LD_RUN_PATH
13993 shlibpath_overrides_runpath=no
13994 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14000 if test -d /usr/nec ;then
14002 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14003 soname_spec='$libname${shared_ext}.$major'
14004 shlibpath_var=LD_LIBRARY_PATH
14008 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14009 version_type=freebsd-elf
14012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14013 soname_spec='${libname}${release}${shared_ext}$major'
14014 shlibpath_var=LD_LIBRARY_PATH
14015 shlibpath_overrides_runpath=yes
14016 hardcode_into_libs=yes
14017 if test "$with_gnu_ld" = yes; then
14018 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14020 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14023 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14027 sys_lib_dlsearch_path_spec='/usr/lib'
14031 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14036 shlibpath_var=LD_LIBRARY_PATH
14037 shlibpath_overrides_runpath=no
14038 hardcode_into_libs=yes
14043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14044 soname_spec='${libname}${release}${shared_ext}$major'
14045 shlibpath_var=LD_LIBRARY_PATH
14052 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14053 echo "${ECHO_T}$dynamic_linker" >&6
14054 test "$dynamic_linker" = no && can_build_shared=no
14056 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14057 if test "$GCC" = yes; then
14058 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14061 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14062 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14064 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14065 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14103 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14104 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14105 hardcode_action_FC=
14106 if test -n "$hardcode_libdir_flag_spec_FC" ||
14107 test -n "$runpath_var_FC" ||
14108 test "X$hardcode_automatic_FC" = "Xyes" ; then
14110 # We can hardcode non-existent directories.
14111 if test "$hardcode_direct_FC" != no &&
14112 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14113 # have to relink, otherwise we might link with an installed library
14114 # when we should be linking with a yet-to-be-installed one
14115 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14116 test "$hardcode_minus_L_FC" != no; then
14117 # Linking always hardcodes the temporary library directory.
14118 hardcode_action_FC=relink
14120 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14121 hardcode_action_FC=immediate
14124 # We cannot hardcode anything, or else we can only hardcode existing
14126 hardcode_action_FC=unsupported
14128 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14129 echo "${ECHO_T}$hardcode_action_FC" >&6
14131 if test "$hardcode_action_FC" = relink ||
14132 test "$inherit_rpath_FC" = yes; then
14133 # Fast installation is not supported
14134 enable_fast_install=no
14135 elif test "$shlibpath_overrides_runpath" = yes ||
14136 test "$enable_shared" = no; then
14137 # Fast installation is not necessary
14138 enable_fast_install=needless
14147 fi # test -n "$compiler"
14151 fi # test "$_lt_disable_FC" != yes
14154 ac_cpp='$CPP $CPPFLAGS'
14155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14161 # extra LD Flags which are required for targets
14164 # Darwin needs -single_module when linking libgfortran
14165 extra_ldflags_libgfortran=-Wl,-single_module
14170 # We need a working compiler at that point, otherwise give a clear
14171 # error message and bail out.
14173 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14174 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14175 ac_ext=${FC_SRCEXT-f}
14176 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14177 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14180 cat >conftest.$ac_ext <<_ACEOF
14183 real, parameter :: bar = sin (12.34 / 2.5)
14186 rm -f conftest.$ac_objext
14187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14188 (eval $ac_compile) 2>conftest.er1
14190 grep -v '^ *+' conftest.er1 >conftest.err
14192 cat conftest.err >&5
14193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14194 (exit $ac_status); } &&
14195 { ac_try='test -z "$ac_fc_werror_flag"
14196 || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 echo "$as_me:$LINENO: result: yes" >&5
14209 echo "${ECHO_T}yes" >&6
14211 echo "$as_me: failed program was:" >&5
14212 sed 's/^/| /' conftest.$ac_ext >&5
14214 echo "$as_me:$LINENO: result: no" >&5
14215 echo "${ECHO_T}no" >&6
14216 { { 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
14217 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14218 { (exit 1); exit 1; }; }
14221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14223 ac_cpp='$CPP $CPPFLAGS'
14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14230 # Check whether --enable-largefile or --disable-largefile was given.
14231 if test "${enable_largefile+set}" = set; then
14232 enableval="$enable_largefile"
14235 if test "$enable_largefile" != no; then
14237 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14238 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14239 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14240 echo $ECHO_N "(cached) $ECHO_C" >&6
14242 ac_cv_sys_largefile_CC=no
14243 if test "$GCC" != yes; then
14246 # IRIX 6.2 and later do not support large files by default,
14247 # so use the C compiler's -n32 option if that helps.
14248 cat >conftest.$ac_ext <<_ACEOF
14251 cat confdefs.h >>conftest.$ac_ext
14252 cat >>conftest.$ac_ext <<_ACEOF
14253 /* end confdefs.h. */
14254 #include <sys/types.h>
14255 /* Check that off_t can represent 2**63 - 1 correctly.
14256 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14257 since some C++ compilers masquerading as C compilers
14258 incorrectly reject 9223372036854775807. */
14259 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14260 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14261 && LARGE_OFF_T % 2147483647 == 1)
14271 rm -f conftest.$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1 >conftest.err
14277 cat conftest.err >&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14299 rm -f conftest.err conftest.$ac_objext
14301 rm -f conftest.$ac_objext
14302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14303 (eval $ac_compile) 2>conftest.er1
14305 grep -v '^ *+' conftest.er1 >conftest.err
14307 cat conftest.err >&5
14308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14309 (exit $ac_status); } &&
14310 { ac_try='test -z "$ac_c_werror_flag"
14311 || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 ac_cv_sys_largefile_CC=' -n32'; break
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14329 rm -f conftest.err conftest.$ac_objext
14333 rm -f conftest.$ac_ext
14336 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14337 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14338 if test "$ac_cv_sys_largefile_CC" != no; then
14339 CC=$CC$ac_cv_sys_largefile_CC
14342 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14343 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14344 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14345 echo $ECHO_N "(cached) $ECHO_C" >&6
14348 ac_cv_sys_file_offset_bits=no
14349 cat >conftest.$ac_ext <<_ACEOF
14352 cat confdefs.h >>conftest.$ac_ext
14353 cat >>conftest.$ac_ext <<_ACEOF
14354 /* end confdefs.h. */
14355 #include <sys/types.h>
14356 /* Check that off_t can represent 2**63 - 1 correctly.
14357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14358 since some C++ compilers masquerading as C compilers
14359 incorrectly reject 9223372036854775807. */
14360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14362 && LARGE_OFF_T % 2147483647 == 1)
14372 rm -f conftest.$ac_objext
14373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14374 (eval $ac_compile) 2>conftest.er1
14376 grep -v '^ *+' conftest.er1 >conftest.err
14378 cat conftest.err >&5
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); } &&
14381 { ac_try='test -z "$ac_c_werror_flag"
14382 || test ! -s conftest.err'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; } &&
14388 { ac_try='test -s conftest.$ac_objext'
14389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14390 (eval $ac_try) 2>&5
14392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14393 (exit $ac_status); }; }; then
14396 echo "$as_me: failed program was:" >&5
14397 sed 's/^/| /' conftest.$ac_ext >&5
14400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14401 cat >conftest.$ac_ext <<_ACEOF
14404 cat confdefs.h >>conftest.$ac_ext
14405 cat >>conftest.$ac_ext <<_ACEOF
14406 /* end confdefs.h. */
14407 #define _FILE_OFFSET_BITS 64
14408 #include <sys/types.h>
14409 /* Check that off_t can represent 2**63 - 1 correctly.
14410 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14411 since some C++ compilers masquerading as C compilers
14412 incorrectly reject 9223372036854775807. */
14413 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14414 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14415 && LARGE_OFF_T % 2147483647 == 1)
14425 rm -f conftest.$ac_objext
14426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14427 (eval $ac_compile) 2>conftest.er1
14429 grep -v '^ *+' conftest.er1 >conftest.err
14431 cat conftest.err >&5
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); } &&
14434 { ac_try='test -z "$ac_c_werror_flag"
14435 || test ! -s conftest.err'
14436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14437 (eval $ac_try) 2>&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 (exit $ac_status); }; } &&
14441 { ac_try='test -s conftest.$ac_objext'
14442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14443 (eval $ac_try) 2>&5
14445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14446 (exit $ac_status); }; }; then
14447 ac_cv_sys_file_offset_bits=64; break
14449 echo "$as_me: failed program was:" >&5
14450 sed 's/^/| /' conftest.$ac_ext >&5
14453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14457 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14458 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14459 if test "$ac_cv_sys_file_offset_bits" != no; then
14461 cat >>confdefs.h <<_ACEOF
14462 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14467 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14468 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14469 if test "${ac_cv_sys_large_files+set}" = set; then
14470 echo $ECHO_N "(cached) $ECHO_C" >&6
14473 ac_cv_sys_large_files=no
14474 cat >conftest.$ac_ext <<_ACEOF
14477 cat confdefs.h >>conftest.$ac_ext
14478 cat >>conftest.$ac_ext <<_ACEOF
14479 /* end confdefs.h. */
14480 #include <sys/types.h>
14481 /* Check that off_t can represent 2**63 - 1 correctly.
14482 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14483 since some C++ compilers masquerading as C compilers
14484 incorrectly reject 9223372036854775807. */
14485 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14486 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14487 && LARGE_OFF_T % 2147483647 == 1)
14497 rm -f conftest.$ac_objext
14498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14499 (eval $ac_compile) 2>conftest.er1
14501 grep -v '^ *+' conftest.er1 >conftest.err
14503 cat conftest.err >&5
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } &&
14506 { ac_try='test -z "$ac_c_werror_flag"
14507 || test ! -s conftest.err'
14508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14509 (eval $ac_try) 2>&5
14511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14512 (exit $ac_status); }; } &&
14513 { ac_try='test -s conftest.$ac_objext'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; }; then
14521 echo "$as_me: failed program was:" >&5
14522 sed 's/^/| /' conftest.$ac_ext >&5
14525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14526 cat >conftest.$ac_ext <<_ACEOF
14529 cat confdefs.h >>conftest.$ac_ext
14530 cat >>conftest.$ac_ext <<_ACEOF
14531 /* end confdefs.h. */
14532 #define _LARGE_FILES 1
14533 #include <sys/types.h>
14534 /* Check that off_t can represent 2**63 - 1 correctly.
14535 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14536 since some C++ compilers masquerading as C compilers
14537 incorrectly reject 9223372036854775807. */
14538 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14539 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14540 && LARGE_OFF_T % 2147483647 == 1)
14550 rm -f conftest.$ac_objext
14551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14552 (eval $ac_compile) 2>conftest.er1
14554 grep -v '^ *+' conftest.er1 >conftest.err
14556 cat conftest.err >&5
14557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14558 (exit $ac_status); } &&
14559 { ac_try='test -z "$ac_c_werror_flag"
14560 || test ! -s conftest.err'
14561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14562 (eval $ac_try) 2>&5
14564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14565 (exit $ac_status); }; } &&
14566 { ac_try='test -s conftest.$ac_objext'
14567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14568 (eval $ac_try) 2>&5
14570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14571 (exit $ac_status); }; }; then
14572 ac_cv_sys_large_files=1; break
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14582 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14583 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14584 if test "$ac_cv_sys_large_files" != no; then
14586 cat >>confdefs.h <<_ACEOF
14587 #define _LARGE_FILES $ac_cv_sys_large_files
14594 echo "$as_me:$LINENO: checking for off_t" >&5
14595 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14596 if test "${ac_cv_type_off_t+set}" = set; then
14597 echo $ECHO_N "(cached) $ECHO_C" >&6
14599 cat >conftest.$ac_ext <<_ACEOF
14602 cat confdefs.h >>conftest.$ac_ext
14603 cat >>conftest.$ac_ext <<_ACEOF
14604 /* end confdefs.h. */
14605 $ac_includes_default
14611 if (sizeof (off_t))
14617 rm -f conftest.$ac_objext
14618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14619 (eval $ac_compile) 2>conftest.er1
14621 grep -v '^ *+' conftest.er1 >conftest.err
14623 cat conftest.err >&5
14624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14625 (exit $ac_status); } &&
14626 { ac_try='test -z "$ac_c_werror_flag"
14627 || test ! -s conftest.err'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; } &&
14633 { ac_try='test -s conftest.$ac_objext'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; }; then
14639 ac_cv_type_off_t=yes
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14644 ac_cv_type_off_t=no
14646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14648 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14649 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14650 if test $ac_cv_type_off_t = yes; then
14654 cat >>confdefs.h <<_ACEOF
14661 # check header files
14662 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14663 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14664 if test "${ac_cv_header_stdc+set}" = set; then
14665 echo $ECHO_N "(cached) $ECHO_C" >&6
14667 cat >conftest.$ac_ext <<_ACEOF
14670 cat confdefs.h >>conftest.$ac_ext
14671 cat >>conftest.$ac_ext <<_ACEOF
14672 /* end confdefs.h. */
14673 #include <stdlib.h>
14674 #include <stdarg.h>
14675 #include <string.h>
14686 rm -f conftest.$ac_objext
14687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14688 (eval $ac_compile) 2>conftest.er1
14690 grep -v '^ *+' conftest.er1 >conftest.err
14692 cat conftest.err >&5
14693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14694 (exit $ac_status); } &&
14695 { ac_try='test -z "$ac_c_werror_flag"
14696 || test ! -s conftest.err'
14697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14698 (eval $ac_try) 2>&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); }; } &&
14702 { ac_try='test -s conftest.$ac_objext'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; }; then
14708 ac_cv_header_stdc=yes
14710 echo "$as_me: failed program was:" >&5
14711 sed 's/^/| /' conftest.$ac_ext >&5
14713 ac_cv_header_stdc=no
14715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14717 if test $ac_cv_header_stdc = yes; then
14718 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14719 cat >conftest.$ac_ext <<_ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725 #include <string.h>
14728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14729 $EGREP "memchr" >/dev/null 2>&1; then
14732 ac_cv_header_stdc=no
14738 if test $ac_cv_header_stdc = yes; then
14739 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14740 cat >conftest.$ac_ext <<_ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h. */
14746 #include <stdlib.h>
14749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14750 $EGREP "free" >/dev/null 2>&1; then
14753 ac_cv_header_stdc=no
14759 if test $ac_cv_header_stdc = yes; then
14760 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14761 if test "$cross_compiling" = yes; then
14764 cat >conftest.$ac_ext <<_ACEOF
14767 cat confdefs.h >>conftest.$ac_ext
14768 cat >>conftest.$ac_ext <<_ACEOF
14769 /* end confdefs.h. */
14771 #if ((' ' & 0x0FF) == 0x020)
14772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14775 # define ISLOWER(c) \
14776 (('a' <= (c) && (c) <= 'i') \
14777 || ('j' <= (c) && (c) <= 'r') \
14778 || ('s' <= (c) && (c) <= 'z'))
14779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14787 for (i = 0; i < 256; i++)
14788 if (XOR (islower (i), ISLOWER (i))
14789 || toupper (i) != TOUPPER (i))
14794 rm -f conftest$ac_exeext
14795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14796 (eval $ac_link) 2>&5
14798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14801 (eval $ac_try) 2>&5
14803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14804 (exit $ac_status); }; }; then
14807 echo "$as_me: program exited with status $ac_status" >&5
14808 echo "$as_me: failed program was:" >&5
14809 sed 's/^/| /' conftest.$ac_ext >&5
14811 ( exit $ac_status )
14812 ac_cv_header_stdc=no
14814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14818 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14819 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14820 if test $ac_cv_header_stdc = yes; then
14822 cat >>confdefs.h <<\_ACEOF
14823 #define STDC_HEADERS 1
14828 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14829 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14830 if test "${ac_cv_header_time+set}" = set; then
14831 echo $ECHO_N "(cached) $ECHO_C" >&6
14833 cat >conftest.$ac_ext <<_ACEOF
14836 cat confdefs.h >>conftest.$ac_ext
14837 cat >>conftest.$ac_ext <<_ACEOF
14838 /* end confdefs.h. */
14839 #include <sys/types.h>
14840 #include <sys/time.h>
14846 if ((struct tm *) 0)
14852 rm -f conftest.$ac_objext
14853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14854 (eval $ac_compile) 2>conftest.er1
14856 grep -v '^ *+' conftest.er1 >conftest.err
14858 cat conftest.err >&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); } &&
14861 { ac_try='test -z "$ac_c_werror_flag"
14862 || test ! -s conftest.err'
14863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14864 (eval $ac_try) 2>&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); }; } &&
14868 { ac_try='test -s conftest.$ac_objext'
14869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14870 (eval $ac_try) 2>&5
14872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14873 (exit $ac_status); }; }; then
14874 ac_cv_header_time=yes
14876 echo "$as_me: failed program was:" >&5
14877 sed 's/^/| /' conftest.$ac_ext >&5
14879 ac_cv_header_time=no
14881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14883 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14884 echo "${ECHO_T}$ac_cv_header_time" >&6
14885 if test $ac_cv_header_time = yes; then
14887 cat >>confdefs.h <<\_ACEOF
14888 #define TIME_WITH_SYS_TIME 1
14899 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14903 echo "$as_me:$LINENO: checking for $ac_header" >&5
14904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14911 # Is the header compilable?
14912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14914 cat >conftest.$ac_ext <<_ACEOF
14917 cat confdefs.h >>conftest.$ac_ext
14918 cat >>conftest.$ac_ext <<_ACEOF
14919 /* end confdefs.h. */
14920 $ac_includes_default
14921 #include <$ac_header>
14923 rm -f conftest.$ac_objext
14924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14925 (eval $ac_compile) 2>conftest.er1
14927 grep -v '^ *+' conftest.er1 >conftest.err
14929 cat conftest.err >&5
14930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14931 (exit $ac_status); } &&
14932 { ac_try='test -z "$ac_c_werror_flag"
14933 || test ! -s conftest.err'
14934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14935 (eval $ac_try) 2>&5
14937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14938 (exit $ac_status); }; } &&
14939 { ac_try='test -s conftest.$ac_objext'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; }; then
14945 ac_header_compiler=yes
14947 echo "$as_me: failed program was:" >&5
14948 sed 's/^/| /' conftest.$ac_ext >&5
14950 ac_header_compiler=no
14952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14953 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14954 echo "${ECHO_T}$ac_header_compiler" >&6
14956 # Is the header present?
14957 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14958 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14959 cat >conftest.$ac_ext <<_ACEOF
14962 cat confdefs.h >>conftest.$ac_ext
14963 cat >>conftest.$ac_ext <<_ACEOF
14964 /* end confdefs.h. */
14965 #include <$ac_header>
14967 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14968 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14970 grep -v '^ *+' conftest.er1 >conftest.err
14972 cat conftest.err >&5
14973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14974 (exit $ac_status); } >/dev/null; then
14975 if test -s conftest.err; then
14976 ac_cpp_err=$ac_c_preproc_warn_flag
14977 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14984 if test -z "$ac_cpp_err"; then
14985 ac_header_preproc=yes
14987 echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_header_preproc=no
14992 rm -f conftest.err conftest.$ac_ext
14993 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14994 echo "${ECHO_T}$ac_header_preproc" >&6
14996 # So? What about this header?
14997 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14999 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15000 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15002 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15003 ac_header_preproc=yes
15006 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15007 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15008 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15009 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15011 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15012 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15013 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15015 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15016 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15017 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15020 ## ------------------------------------------------------ ##
15021 ## Report this to the GNU Fortran Runtime Library lists. ##
15022 ## ------------------------------------------------------ ##
15025 sed "s/^/$as_me: WARNING: /" >&2
15028 echo "$as_me:$LINENO: checking for $ac_header" >&5
15029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15031 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 eval "$as_ac_Header=\$ac_header_preproc"
15035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15039 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15040 cat >>confdefs.h <<_ACEOF
15041 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15052 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15056 echo "$as_me:$LINENO: checking for $ac_header" >&5
15057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15059 echo $ECHO_N "(cached) $ECHO_C" >&6
15061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15064 # Is the header compilable?
15065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15067 cat >conftest.$ac_ext <<_ACEOF
15070 cat confdefs.h >>conftest.$ac_ext
15071 cat >>conftest.$ac_ext <<_ACEOF
15072 /* end confdefs.h. */
15073 $ac_includes_default
15074 #include <$ac_header>
15076 rm -f conftest.$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078 (eval $ac_compile) 2>conftest.er1
15080 grep -v '^ *+' conftest.er1 >conftest.err
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try='test -z "$ac_c_werror_flag"
15086 || test ! -s conftest.err'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try='test -s conftest.$ac_objext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 ac_header_compiler=yes
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 ac_header_compiler=no
15105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15107 echo "${ECHO_T}$ac_header_compiler" >&6
15109 # Is the header present?
15110 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15111 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15112 cat >conftest.$ac_ext <<_ACEOF
15115 cat confdefs.h >>conftest.$ac_ext
15116 cat >>conftest.$ac_ext <<_ACEOF
15117 /* end confdefs.h. */
15118 #include <$ac_header>
15120 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15121 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15123 grep -v '^ *+' conftest.er1 >conftest.err
15125 cat conftest.err >&5
15126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15127 (exit $ac_status); } >/dev/null; then
15128 if test -s conftest.err; then
15129 ac_cpp_err=$ac_c_preproc_warn_flag
15130 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15137 if test -z "$ac_cpp_err"; then
15138 ac_header_preproc=yes
15140 echo "$as_me: failed program was:" >&5
15141 sed 's/^/| /' conftest.$ac_ext >&5
15143 ac_header_preproc=no
15145 rm -f conftest.err conftest.$ac_ext
15146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15147 echo "${ECHO_T}$ac_header_preproc" >&6
15149 # So? What about this header?
15150 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15155 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15156 ac_header_preproc=yes
15159 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15160 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15161 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15162 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15163 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15164 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15165 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15166 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15168 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15169 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15170 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15173 ## ------------------------------------------------------ ##
15174 ## Report this to the GNU Fortran Runtime Library lists. ##
15175 ## ------------------------------------------------------ ##
15178 sed "s/^/$as_me: WARNING: /" >&2
15181 echo "$as_me:$LINENO: checking for $ac_header" >&5
15182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 eval "$as_ac_Header=\$ac_header_preproc"
15188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15192 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15193 cat >>confdefs.h <<_ACEOF
15194 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15206 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15208 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15209 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15210 echo "$as_me:$LINENO: checking for $ac_header" >&5
15211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15218 # Is the header compilable?
15219 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15220 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15221 cat >conftest.$ac_ext <<_ACEOF
15224 cat confdefs.h >>conftest.$ac_ext
15225 cat >>conftest.$ac_ext <<_ACEOF
15226 /* end confdefs.h. */
15227 $ac_includes_default
15228 #include <$ac_header>
15230 rm -f conftest.$ac_objext
15231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15232 (eval $ac_compile) 2>conftest.er1
15234 grep -v '^ *+' conftest.er1 >conftest.err
15236 cat conftest.err >&5
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); } &&
15239 { ac_try='test -z "$ac_c_werror_flag"
15240 || test ! -s conftest.err'
15241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15242 (eval $ac_try) 2>&5
15244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15245 (exit $ac_status); }; } &&
15246 { ac_try='test -s conftest.$ac_objext'
15247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15248 (eval $ac_try) 2>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); }; }; then
15252 ac_header_compiler=yes
15254 echo "$as_me: failed program was:" >&5
15255 sed 's/^/| /' conftest.$ac_ext >&5
15257 ac_header_compiler=no
15259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15260 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15261 echo "${ECHO_T}$ac_header_compiler" >&6
15263 # Is the header present?
15264 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15265 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15266 cat >conftest.$ac_ext <<_ACEOF
15269 cat confdefs.h >>conftest.$ac_ext
15270 cat >>conftest.$ac_ext <<_ACEOF
15271 /* end confdefs.h. */
15272 #include <$ac_header>
15274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15277 grep -v '^ *+' conftest.er1 >conftest.err
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } >/dev/null; then
15282 if test -s conftest.err; then
15283 ac_cpp_err=$ac_c_preproc_warn_flag
15284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15291 if test -z "$ac_cpp_err"; then
15292 ac_header_preproc=yes
15294 echo "$as_me: failed program was:" >&5
15295 sed 's/^/| /' conftest.$ac_ext >&5
15297 ac_header_preproc=no
15299 rm -f conftest.err conftest.$ac_ext
15300 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15301 echo "${ECHO_T}$ac_header_preproc" >&6
15303 # So? What about this header?
15304 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15306 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15307 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15309 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15310 ac_header_preproc=yes
15313 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15314 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15315 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15316 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15318 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15320 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15321 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15322 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15323 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15324 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15327 ## ------------------------------------------------------ ##
15328 ## Report this to the GNU Fortran Runtime Library lists. ##
15329 ## ------------------------------------------------------ ##
15332 sed "s/^/$as_me: WARNING: /" >&2
15335 echo "$as_me:$LINENO: checking for $ac_header" >&5
15336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15338 echo $ECHO_N "(cached) $ECHO_C" >&6
15340 eval "$as_ac_Header=\$ac_header_preproc"
15342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15343 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15347 cat >>confdefs.h <<_ACEOF
15348 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15360 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15362 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15363 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15364 echo "$as_me:$LINENO: checking for $ac_header" >&5
15365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15367 echo $ECHO_N "(cached) $ECHO_C" >&6
15369 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15370 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15372 # Is the header compilable?
15373 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15374 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15375 cat >conftest.$ac_ext <<_ACEOF
15378 cat confdefs.h >>conftest.$ac_ext
15379 cat >>conftest.$ac_ext <<_ACEOF
15380 /* end confdefs.h. */
15381 $ac_includes_default
15382 #include <$ac_header>
15384 rm -f conftest.$ac_objext
15385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15386 (eval $ac_compile) 2>conftest.er1
15388 grep -v '^ *+' conftest.er1 >conftest.err
15390 cat conftest.err >&5
15391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15392 (exit $ac_status); } &&
15393 { ac_try='test -z "$ac_c_werror_flag"
15394 || test ! -s conftest.err'
15395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15396 (eval $ac_try) 2>&5
15398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15399 (exit $ac_status); }; } &&
15400 { ac_try='test -s conftest.$ac_objext'
15401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15402 (eval $ac_try) 2>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); }; }; then
15406 ac_header_compiler=yes
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15411 ac_header_compiler=no
15413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15414 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15415 echo "${ECHO_T}$ac_header_compiler" >&6
15417 # Is the header present?
15418 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15419 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15420 cat >conftest.$ac_ext <<_ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 #include <$ac_header>
15428 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15429 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15431 grep -v '^ *+' conftest.er1 >conftest.err
15433 cat conftest.err >&5
15434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435 (exit $ac_status); } >/dev/null; then
15436 if test -s conftest.err; then
15437 ac_cpp_err=$ac_c_preproc_warn_flag
15438 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15445 if test -z "$ac_cpp_err"; then
15446 ac_header_preproc=yes
15448 echo "$as_me: failed program was:" >&5
15449 sed 's/^/| /' conftest.$ac_ext >&5
15451 ac_header_preproc=no
15453 rm -f conftest.err conftest.$ac_ext
15454 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15455 echo "${ECHO_T}$ac_header_preproc" >&6
15457 # So? What about this header?
15458 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15460 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15461 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15462 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15463 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15464 ac_header_preproc=yes
15467 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15468 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15469 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15470 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15471 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15472 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15473 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15474 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15475 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15476 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15477 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15478 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15481 ## ------------------------------------------------------ ##
15482 ## Report this to the GNU Fortran Runtime Library lists. ##
15483 ## ------------------------------------------------------ ##
15486 sed "s/^/$as_me: WARNING: /" >&2
15489 echo "$as_me:$LINENO: checking for $ac_header" >&5
15490 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15491 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15492 echo $ECHO_N "(cached) $ECHO_C" >&6
15494 eval "$as_ac_Header=\$ac_header_preproc"
15496 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15497 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15501 cat >>confdefs.h <<_ACEOF
15502 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15509 if test "${ac_cv_header_complex_h+set}" = set; then
15510 echo "$as_me:$LINENO: checking for complex.h" >&5
15511 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15512 if test "${ac_cv_header_complex_h+set}" = set; then
15513 echo $ECHO_N "(cached) $ECHO_C" >&6
15515 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15516 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15518 # Is the header compilable?
15519 echo "$as_me:$LINENO: checking complex.h usability" >&5
15520 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15521 cat >conftest.$ac_ext <<_ACEOF
15524 cat confdefs.h >>conftest.$ac_ext
15525 cat >>conftest.$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15527 $ac_includes_default
15528 #include <complex.h>
15530 rm -f conftest.$ac_objext
15531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15532 (eval $ac_compile) 2>conftest.er1
15534 grep -v '^ *+' conftest.er1 >conftest.err
15536 cat conftest.err >&5
15537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15538 (exit $ac_status); } &&
15539 { ac_try='test -z "$ac_c_werror_flag"
15540 || test ! -s conftest.err'
15541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15542 (eval $ac_try) 2>&5
15544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15545 (exit $ac_status); }; } &&
15546 { ac_try='test -s conftest.$ac_objext'
15547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15548 (eval $ac_try) 2>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); }; }; then
15552 ac_header_compiler=yes
15554 echo "$as_me: failed program was:" >&5
15555 sed 's/^/| /' conftest.$ac_ext >&5
15557 ac_header_compiler=no
15559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15560 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15561 echo "${ECHO_T}$ac_header_compiler" >&6
15563 # Is the header present?
15564 echo "$as_me:$LINENO: checking complex.h presence" >&5
15565 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15566 cat >conftest.$ac_ext <<_ACEOF
15569 cat confdefs.h >>conftest.$ac_ext
15570 cat >>conftest.$ac_ext <<_ACEOF
15571 /* end confdefs.h. */
15572 #include <complex.h>
15574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15575 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15577 grep -v '^ *+' conftest.er1 >conftest.err
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } >/dev/null; then
15582 if test -s conftest.err; then
15583 ac_cpp_err=$ac_c_preproc_warn_flag
15584 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15591 if test -z "$ac_cpp_err"; then
15592 ac_header_preproc=yes
15594 echo "$as_me: failed program was:" >&5
15595 sed 's/^/| /' conftest.$ac_ext >&5
15597 ac_header_preproc=no
15599 rm -f conftest.err conftest.$ac_ext
15600 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15601 echo "${ECHO_T}$ac_header_preproc" >&6
15603 # So? What about this header?
15604 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15607 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15608 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15609 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15610 ac_header_preproc=yes
15613 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15614 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15615 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15616 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15617 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15618 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15619 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15620 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15621 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15622 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15623 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15624 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15627 ## ------------------------------------------------------ ##
15628 ## Report this to the GNU Fortran Runtime Library lists. ##
15629 ## ------------------------------------------------------ ##
15632 sed "s/^/$as_me: WARNING: /" >&2
15635 echo "$as_me:$LINENO: checking for complex.h" >&5
15636 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15637 if test "${ac_cv_header_complex_h+set}" = set; then
15638 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 ac_cv_header_complex_h=$ac_header_preproc
15642 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15643 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15646 if test $ac_cv_header_complex_h = yes; then
15648 cat >>confdefs.h <<\_ACEOF
15649 #define HAVE_COMPLEX_H 1
15657 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15659 acx_cv_header_stdint=stddef.h
15660 acx_cv_header_stdint_kind="(already complete)"
15661 for i in stdint.h $inttype_headers; do
15662 unset ac_cv_type_uintptr_t
15663 unset ac_cv_type_uintmax_t
15664 unset ac_cv_type_int_least32_t
15665 unset ac_cv_type_int_fast32_t
15666 unset ac_cv_type_uint64_t
15667 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15668 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15669 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15670 if test "${ac_cv_type_uintmax_t+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15673 cat >conftest.$ac_ext <<_ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679 #include <sys/types.h>
15685 if ((uintmax_t *) 0)
15687 if (sizeof (uintmax_t))
15693 rm -f conftest.$ac_objext
15694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15695 (eval $ac_compile) 2>conftest.er1
15697 grep -v '^ *+' conftest.er1 >conftest.err
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } &&
15702 { ac_try='test -z "$ac_c_werror_flag"
15703 || test ! -s conftest.err'
15704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705 (eval $ac_try) 2>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); }; } &&
15709 { ac_try='test -s conftest.$ac_objext'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; }; then
15715 ac_cv_type_uintmax_t=yes
15717 echo "$as_me: failed program was:" >&5
15718 sed 's/^/| /' conftest.$ac_ext >&5
15720 ac_cv_type_uintmax_t=no
15722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15724 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15725 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15726 if test $ac_cv_type_uintmax_t = yes; then
15727 acx_cv_header_stdint=$i
15732 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15733 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15734 if test "${ac_cv_type_uintptr_t+set}" = set; then
15735 echo $ECHO_N "(cached) $ECHO_C" >&6
15737 cat >conftest.$ac_ext <<_ACEOF
15740 cat confdefs.h >>conftest.$ac_ext
15741 cat >>conftest.$ac_ext <<_ACEOF
15742 /* end confdefs.h. */
15743 #include <sys/types.h>
15749 if ((uintptr_t *) 0)
15751 if (sizeof (uintptr_t))
15757 rm -f conftest.$ac_objext
15758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15759 (eval $ac_compile) 2>conftest.er1
15761 grep -v '^ *+' conftest.er1 >conftest.err
15763 cat conftest.err >&5
15764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15765 (exit $ac_status); } &&
15766 { ac_try='test -z "$ac_c_werror_flag"
15767 || test ! -s conftest.err'
15768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15769 (eval $ac_try) 2>&5
15771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15772 (exit $ac_status); }; } &&
15773 { ac_try='test -s conftest.$ac_objext'
15774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15775 (eval $ac_try) 2>&5
15777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); }; }; then
15779 ac_cv_type_uintptr_t=yes
15781 echo "$as_me: failed program was:" >&5
15782 sed 's/^/| /' conftest.$ac_ext >&5
15784 ac_cv_type_uintptr_t=no
15786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15789 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15790 if test $ac_cv_type_uintptr_t = yes; then
15793 acx_cv_header_stdint_kind="(mostly complete)"
15796 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15797 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15798 if test "${ac_cv_type_int_least32_t+set}" = set; then
15799 echo $ECHO_N "(cached) $ECHO_C" >&6
15801 cat >conftest.$ac_ext <<_ACEOF
15804 cat confdefs.h >>conftest.$ac_ext
15805 cat >>conftest.$ac_ext <<_ACEOF
15806 /* end confdefs.h. */
15807 #include <sys/types.h>
15813 if ((int_least32_t *) 0)
15815 if (sizeof (int_least32_t))
15821 rm -f conftest.$ac_objext
15822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15823 (eval $ac_compile) 2>conftest.er1
15825 grep -v '^ *+' conftest.er1 >conftest.err
15827 cat conftest.err >&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); } &&
15830 { ac_try='test -z "$ac_c_werror_flag"
15831 || test ! -s conftest.err'
15832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15833 (eval $ac_try) 2>&5
15835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15836 (exit $ac_status); }; } &&
15837 { ac_try='test -s conftest.$ac_objext'
15838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15839 (eval $ac_try) 2>&5
15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15842 (exit $ac_status); }; }; then
15843 ac_cv_type_int_least32_t=yes
15845 echo "$as_me: failed program was:" >&5
15846 sed 's/^/| /' conftest.$ac_ext >&5
15848 ac_cv_type_int_least32_t=no
15850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15852 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15853 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15854 if test $ac_cv_type_int_least32_t = yes; then
15857 acx_cv_header_stdint_kind="(mostly complete)"
15860 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15861 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15862 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 cat >conftest.$ac_ext <<_ACEOF
15868 cat confdefs.h >>conftest.$ac_ext
15869 cat >>conftest.$ac_ext <<_ACEOF
15870 /* end confdefs.h. */
15871 #include <sys/types.h>
15877 if ((int_fast32_t *) 0)
15879 if (sizeof (int_fast32_t))
15885 rm -f conftest.$ac_objext
15886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15887 (eval $ac_compile) 2>conftest.er1
15889 grep -v '^ *+' conftest.er1 >conftest.err
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } &&
15894 { ac_try='test -z "$ac_c_werror_flag"
15895 || test ! -s conftest.err'
15896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15897 (eval $ac_try) 2>&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); }; } &&
15901 { ac_try='test -s conftest.$ac_objext'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; }; then
15907 ac_cv_type_int_fast32_t=yes
15909 echo "$as_me: failed program was:" >&5
15910 sed 's/^/| /' conftest.$ac_ext >&5
15912 ac_cv_type_int_fast32_t=no
15914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15916 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15917 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15918 if test $ac_cv_type_int_fast32_t = yes; then
15921 acx_cv_header_stdint_kind="(mostly complete)"
15924 echo "$as_me:$LINENO: checking for uint64_t" >&5
15925 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15926 if test "${ac_cv_type_uint64_t+set}" = set; then
15927 echo $ECHO_N "(cached) $ECHO_C" >&6
15929 cat >conftest.$ac_ext <<_ACEOF
15932 cat confdefs.h >>conftest.$ac_ext
15933 cat >>conftest.$ac_ext <<_ACEOF
15934 /* end confdefs.h. */
15935 #include <sys/types.h>
15941 if ((uint64_t *) 0)
15943 if (sizeof (uint64_t))
15949 rm -f conftest.$ac_objext
15950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15951 (eval $ac_compile) 2>conftest.er1
15953 grep -v '^ *+' conftest.er1 >conftest.err
15955 cat conftest.err >&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); } &&
15958 { ac_try='test -z "$ac_c_werror_flag"
15959 || test ! -s conftest.err'
15960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15961 (eval $ac_try) 2>&5
15963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15964 (exit $ac_status); }; } &&
15965 { ac_try='test -s conftest.$ac_objext'
15966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15967 (eval $ac_try) 2>&5
15969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15970 (exit $ac_status); }; }; then
15971 ac_cv_type_uint64_t=yes
15973 echo "$as_me: failed program was:" >&5
15974 sed 's/^/| /' conftest.$ac_ext >&5
15976 ac_cv_type_uint64_t=no
15978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15980 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15981 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15982 if test $ac_cv_type_uint64_t = yes; then
15985 acx_cv_header_stdint_kind="(lacks uint64_t)"
15990 if test "$acx_cv_header_stdint" = stddef.h; then
15991 acx_cv_header_stdint_kind="(lacks uintmax_t)"
15992 for i in stdint.h $inttype_headers; do
15993 unset ac_cv_type_uintptr_t
15994 unset ac_cv_type_uint32_t
15995 unset ac_cv_type_uint64_t
15996 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15997 echo "$as_me:$LINENO: checking for uint32_t" >&5
15998 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15999 if test "${ac_cv_type_uint32_t+set}" = set; then
16000 echo $ECHO_N "(cached) $ECHO_C" >&6
16002 cat >conftest.$ac_ext <<_ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <sys/types.h>
16014 if ((uint32_t *) 0)
16016 if (sizeof (uint32_t))
16022 rm -f conftest.$ac_objext
16023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16024 (eval $ac_compile) 2>conftest.er1
16026 grep -v '^ *+' conftest.er1 >conftest.err
16028 cat conftest.err >&5
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); } &&
16031 { ac_try='test -z "$ac_c_werror_flag"
16032 || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest.$ac_objext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_type_uint32_t=yes
16046 echo "$as_me: failed program was:" >&5
16047 sed 's/^/| /' conftest.$ac_ext >&5
16049 ac_cv_type_uint32_t=no
16051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16053 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16054 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16055 if test $ac_cv_type_uint32_t = yes; then
16056 acx_cv_header_stdint=$i
16061 echo "$as_me:$LINENO: checking for uint64_t" >&5
16062 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16063 if test "${ac_cv_type_uint64_t+set}" = set; then
16064 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 cat >conftest.$ac_ext <<_ACEOF
16069 cat confdefs.h >>conftest.$ac_ext
16070 cat >>conftest.$ac_ext <<_ACEOF
16071 /* end confdefs.h. */
16072 #include <sys/types.h>
16078 if ((uint64_t *) 0)
16080 if (sizeof (uint64_t))
16086 rm -f conftest.$ac_objext
16087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16088 (eval $ac_compile) 2>conftest.er1
16090 grep -v '^ *+' conftest.er1 >conftest.err
16092 cat conftest.err >&5
16093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16094 (exit $ac_status); } &&
16095 { ac_try='test -z "$ac_c_werror_flag"
16096 || test ! -s conftest.err'
16097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16098 (eval $ac_try) 2>&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); }; } &&
16102 { ac_try='test -s conftest.$ac_objext'
16103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16104 (eval $ac_try) 2>&5
16106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16107 (exit $ac_status); }; }; then
16108 ac_cv_type_uint64_t=yes
16110 echo "$as_me: failed program was:" >&5
16111 sed 's/^/| /' conftest.$ac_ext >&5
16113 ac_cv_type_uint64_t=no
16115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16117 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16118 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16120 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16121 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16122 if test "${ac_cv_type_uintptr_t+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 cat >conftest.$ac_ext <<_ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16131 #include <sys/types.h>
16137 if ((uintptr_t *) 0)
16139 if (sizeof (uintptr_t))
16145 rm -f conftest.$ac_objext
16146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16147 (eval $ac_compile) 2>conftest.er1
16149 grep -v '^ *+' conftest.er1 >conftest.err
16151 cat conftest.err >&5
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); } &&
16154 { ac_try='test -z "$ac_c_werror_flag"
16155 || test ! -s conftest.err'
16156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16157 (eval $ac_try) 2>&5
16159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16160 (exit $ac_status); }; } &&
16161 { ac_try='test -s conftest.$ac_objext'
16162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16163 (eval $ac_try) 2>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); }; }; then
16167 ac_cv_type_uintptr_t=yes
16169 echo "$as_me: failed program was:" >&5
16170 sed 's/^/| /' conftest.$ac_ext >&5
16172 ac_cv_type_uintptr_t=no
16174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16177 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16182 if test "$acx_cv_header_stdint" = stddef.h; then
16183 acx_cv_header_stdint_kind="(u_intXX_t style)"
16184 for i in sys/types.h $inttype_headers; do
16185 unset ac_cv_type_u_int32_t
16186 unset ac_cv_type_u_int64_t
16187 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16188 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16189 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16190 if test "${ac_cv_type_u_int32_t+set}" = set; then
16191 echo $ECHO_N "(cached) $ECHO_C" >&6
16193 cat >conftest.$ac_ext <<_ACEOF
16196 cat confdefs.h >>conftest.$ac_ext
16197 cat >>conftest.$ac_ext <<_ACEOF
16198 /* end confdefs.h. */
16199 #include <sys/types.h>
16205 if ((u_int32_t *) 0)
16207 if (sizeof (u_int32_t))
16213 rm -f conftest.$ac_objext
16214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16215 (eval $ac_compile) 2>conftest.er1
16217 grep -v '^ *+' conftest.er1 >conftest.err
16219 cat conftest.err >&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); } &&
16222 { ac_try='test -z "$ac_c_werror_flag"
16223 || test ! -s conftest.err'
16224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16225 (eval $ac_try) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); }; } &&
16229 { ac_try='test -s conftest.$ac_objext'
16230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16231 (eval $ac_try) 2>&5
16233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16234 (exit $ac_status); }; }; then
16235 ac_cv_type_u_int32_t=yes
16237 echo "$as_me: failed program was:" >&5
16238 sed 's/^/| /' conftest.$ac_ext >&5
16240 ac_cv_type_u_int32_t=no
16242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16244 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16245 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16246 if test $ac_cv_type_u_int32_t = yes; then
16247 acx_cv_header_stdint=$i
16252 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16253 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16254 if test "${ac_cv_type_u_int64_t+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16257 cat >conftest.$ac_ext <<_ACEOF
16260 cat confdefs.h >>conftest.$ac_ext
16261 cat >>conftest.$ac_ext <<_ACEOF
16262 /* end confdefs.h. */
16263 #include <sys/types.h>
16269 if ((u_int64_t *) 0)
16271 if (sizeof (u_int64_t))
16277 rm -f conftest.$ac_objext
16278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16279 (eval $ac_compile) 2>conftest.er1
16281 grep -v '^ *+' conftest.er1 >conftest.err
16283 cat conftest.err >&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } &&
16286 { ac_try='test -z "$ac_c_werror_flag"
16287 || test ! -s conftest.err'
16288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16289 (eval $ac_try) 2>&5
16291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16292 (exit $ac_status); }; } &&
16293 { ac_try='test -s conftest.$ac_objext'
16294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16295 (eval $ac_try) 2>&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); }; }; then
16299 ac_cv_type_u_int64_t=yes
16301 echo "$as_me: failed program was:" >&5
16302 sed 's/^/| /' conftest.$ac_ext >&5
16304 ac_cv_type_u_int64_t=no
16306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16308 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16309 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16314 if test "$acx_cv_header_stdint" = stddef.h; then
16315 acx_cv_header_stdint_kind="(using manual detection)"
16318 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16319 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16320 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16321 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16322 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16324 # ----------------- Summarize what we found so far
16326 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16327 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16329 case `$as_basename gstdint.h ||
16330 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16331 Xgstdint.h : 'X\(//\)$' \| \
16332 Xgstdint.h : 'X\(/\)$' \| \
16333 . : '\(.\)' 2>/dev/null ||
16335 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16336 /^X\/\(\/\/\)$/{ s//\1/; q; }
16337 /^X\/\(\/\).*/{ s//\1/; q; }
16339 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16340 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16341 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16342 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16346 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16347 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16349 # ----------------- done included file, check C basic types --------
16351 # Lacking an uintptr_t? Test size of void *
16352 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16353 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16354 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16355 if test "${ac_cv_type_void_p+set}" = set; then
16356 echo $ECHO_N "(cached) $ECHO_C" >&6
16358 cat >conftest.$ac_ext <<_ACEOF
16361 cat confdefs.h >>conftest.$ac_ext
16362 cat >>conftest.$ac_ext <<_ACEOF
16363 /* end confdefs.h. */
16364 $ac_includes_default
16370 if (sizeof (void *))
16376 rm -f conftest.$ac_objext
16377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16378 (eval $ac_compile) 2>conftest.er1
16380 grep -v '^ *+' conftest.er1 >conftest.err
16382 cat conftest.err >&5
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); } &&
16385 { ac_try='test -z "$ac_c_werror_flag"
16386 || test ! -s conftest.err'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; } &&
16392 { ac_try='test -s conftest.$ac_objext'
16393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16394 (eval $ac_try) 2>&5
16396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16397 (exit $ac_status); }; }; then
16398 ac_cv_type_void_p=yes
16400 echo "$as_me: failed program was:" >&5
16401 sed 's/^/| /' conftest.$ac_ext >&5
16403 ac_cv_type_void_p=no
16405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16407 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16408 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16410 echo "$as_me:$LINENO: checking size of void *" >&5
16411 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16412 if test "${ac_cv_sizeof_void_p+set}" = set; then
16413 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 if test "$ac_cv_type_void_p" = yes; then
16416 # The cast to unsigned long works around a bug in the HP C Compiler
16417 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16418 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16419 # This bug is HP SR number 8606223364.
16420 if test "$cross_compiling" = yes; then
16421 # Depending upon the size, compute the lo and hi bounds.
16422 cat >conftest.$ac_ext <<_ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 $ac_includes_default
16432 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16439 rm -f conftest.$ac_objext
16440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16441 (eval $ac_compile) 2>conftest.er1
16443 grep -v '^ *+' conftest.er1 >conftest.err
16445 cat conftest.err >&5
16446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16447 (exit $ac_status); } &&
16448 { ac_try='test -z "$ac_c_werror_flag"
16449 || test ! -s conftest.err'
16450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16451 (eval $ac_try) 2>&5
16453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16454 (exit $ac_status); }; } &&
16455 { ac_try='test -s conftest.$ac_objext'
16456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16457 (eval $ac_try) 2>&5
16459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16460 (exit $ac_status); }; }; then
16463 cat >conftest.$ac_ext <<_ACEOF
16466 cat confdefs.h >>conftest.$ac_ext
16467 cat >>conftest.$ac_ext <<_ACEOF
16468 /* end confdefs.h. */
16469 $ac_includes_default
16473 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16480 rm -f conftest.$ac_objext
16481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16482 (eval $ac_compile) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1 >conftest.err
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } &&
16489 { ac_try='test -z "$ac_c_werror_flag"
16490 || test ! -s conftest.err'
16491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16492 (eval $ac_try) 2>&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); }; } &&
16496 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16502 ac_hi=$ac_mid; break
16504 echo "$as_me: failed program was:" >&5
16505 sed 's/^/| /' conftest.$ac_ext >&5
16507 ac_lo=`expr $ac_mid + 1`
16508 if test $ac_lo -le $ac_mid; then
16512 ac_mid=`expr 2 '*' $ac_mid + 1`
16514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16517 echo "$as_me: failed program was:" >&5
16518 sed 's/^/| /' conftest.$ac_ext >&5
16520 cat >conftest.$ac_ext <<_ACEOF
16523 cat confdefs.h >>conftest.$ac_ext
16524 cat >>conftest.$ac_ext <<_ACEOF
16525 /* end confdefs.h. */
16526 $ac_includes_default
16530 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16537 rm -f conftest.$ac_objext
16538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16539 (eval $ac_compile) 2>conftest.er1
16541 grep -v '^ *+' conftest.er1 >conftest.err
16543 cat conftest.err >&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); } &&
16546 { ac_try='test -z "$ac_c_werror_flag"
16547 || test ! -s conftest.err'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; } &&
16553 { ac_try='test -s conftest.$ac_objext'
16554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16555 (eval $ac_try) 2>&5
16557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16558 (exit $ac_status); }; }; then
16561 cat >conftest.$ac_ext <<_ACEOF
16564 cat confdefs.h >>conftest.$ac_ext
16565 cat >>conftest.$ac_ext <<_ACEOF
16566 /* end confdefs.h. */
16567 $ac_includes_default
16571 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16578 rm -f conftest.$ac_objext
16579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16580 (eval $ac_compile) 2>conftest.er1
16582 grep -v '^ *+' conftest.er1 >conftest.err
16584 cat conftest.err >&5
16585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16586 (exit $ac_status); } &&
16587 { ac_try='test -z "$ac_c_werror_flag"
16588 || test ! -s conftest.err'
16589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16590 (eval $ac_try) 2>&5
16592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16593 (exit $ac_status); }; } &&
16594 { ac_try='test -s conftest.$ac_objext'
16595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16596 (eval $ac_try) 2>&5
16598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16599 (exit $ac_status); }; }; then
16600 ac_lo=$ac_mid; break
16602 echo "$as_me: failed program was:" >&5
16603 sed 's/^/| /' conftest.$ac_ext >&5
16605 ac_hi=`expr '(' $ac_mid ')' - 1`
16606 if test $ac_mid -le $ac_hi; then
16610 ac_mid=`expr 2 '*' $ac_mid`
16612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16623 # Binary search between lo and hi bounds.
16624 while test "x$ac_lo" != "x$ac_hi"; do
16625 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16626 cat >conftest.$ac_ext <<_ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16632 $ac_includes_default
16636 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16643 rm -f conftest.$ac_objext
16644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16645 (eval $ac_compile) 2>conftest.er1
16647 grep -v '^ *+' conftest.er1 >conftest.err
16649 cat conftest.err >&5
16650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16651 (exit $ac_status); } &&
16652 { ac_try='test -z "$ac_c_werror_flag"
16653 || test ! -s conftest.err'
16654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16655 (eval $ac_try) 2>&5
16657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16658 (exit $ac_status); }; } &&
16659 { ac_try='test -s conftest.$ac_objext'
16660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16661 (eval $ac_try) 2>&5
16663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16664 (exit $ac_status); }; }; then
16667 echo "$as_me: failed program was:" >&5
16668 sed 's/^/| /' conftest.$ac_ext >&5
16670 ac_lo=`expr '(' $ac_mid ')' + 1`
16672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16675 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16676 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16677 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16679 See \`config.log' for more details." >&5
16680 echo "$as_me: error: cannot compute sizeof (void *), 77
16681 See \`config.log' for more details." >&2;}
16682 { (exit 1); exit 1; }; }; } ;;
16685 if test "$cross_compiling" = yes; then
16686 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16687 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16688 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16689 See \`config.log' for more details." >&5
16690 echo "$as_me: error: cannot run test program while cross compiling
16691 See \`config.log' for more details." >&2;}
16692 { (exit 1); exit 1; }; }; }
16694 cat >conftest.$ac_ext <<_ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 $ac_includes_default
16701 long longval () { return (long) (sizeof (void *)); }
16702 unsigned long ulongval () { return (long) (sizeof (void *)); }
16704 #include <stdlib.h>
16709 FILE *f = fopen ("conftest.val", "w");
16712 if (((long) (sizeof (void *))) < 0)
16714 long i = longval ();
16715 if (i != ((long) (sizeof (void *))))
16717 fprintf (f, "%ld\n", i);
16721 unsigned long i = ulongval ();
16722 if (i != ((long) (sizeof (void *))))
16724 fprintf (f, "%lu\n", i);
16726 exit (ferror (f) || fclose (f) != 0);
16732 rm -f conftest$ac_exeext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16734 (eval $ac_link) 2>&5
16736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16737 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16739 (eval $ac_try) 2>&5
16741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16742 (exit $ac_status); }; }; then
16743 ac_cv_sizeof_void_p=`cat conftest.val`
16745 echo "$as_me: program exited with status $ac_status" >&5
16746 echo "$as_me: failed program was:" >&5
16747 sed 's/^/| /' conftest.$ac_ext >&5
16749 ( exit $ac_status )
16750 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16751 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16753 See \`config.log' for more details." >&5
16754 echo "$as_me: error: cannot compute sizeof (void *), 77
16755 See \`config.log' for more details." >&2;}
16756 { (exit 1); exit 1; }; }; }
16758 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16763 ac_cv_sizeof_void_p=0
16766 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16767 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16768 cat >>confdefs.h <<_ACEOF
16769 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16775 # Lacking an uint64_t? Test size of long
16776 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16777 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16778 echo $ECHO_N "checking for long... $ECHO_C" >&6
16779 if test "${ac_cv_type_long+set}" = set; then
16780 echo $ECHO_N "(cached) $ECHO_C" >&6
16782 cat >conftest.$ac_ext <<_ACEOF
16785 cat confdefs.h >>conftest.$ac_ext
16786 cat >>conftest.$ac_ext <<_ACEOF
16787 /* end confdefs.h. */
16788 $ac_includes_default
16800 rm -f conftest.$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802 (eval $ac_compile) 2>conftest.er1
16804 grep -v '^ *+' conftest.er1 >conftest.err
16806 cat conftest.err >&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try='test -z "$ac_c_werror_flag"
16810 || test ! -s conftest.err'
16811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16812 (eval $ac_try) 2>&5
16814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16815 (exit $ac_status); }; } &&
16816 { ac_try='test -s conftest.$ac_objext'
16817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16818 (eval $ac_try) 2>&5
16820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16821 (exit $ac_status); }; }; then
16822 ac_cv_type_long=yes
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16831 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16832 echo "${ECHO_T}$ac_cv_type_long" >&6
16834 echo "$as_me:$LINENO: checking size of long" >&5
16835 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16836 if test "${ac_cv_sizeof_long+set}" = set; then
16837 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 if test "$ac_cv_type_long" = yes; then
16840 # The cast to unsigned long works around a bug in the HP C Compiler
16841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16843 # This bug is HP SR number 8606223364.
16844 if test "$cross_compiling" = yes; then
16845 # Depending upon the size, compute the lo and hi bounds.
16846 cat >conftest.$ac_ext <<_ACEOF
16849 cat confdefs.h >>conftest.$ac_ext
16850 cat >>conftest.$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 $ac_includes_default
16856 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16863 rm -f conftest.$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865 (eval $ac_compile) 2>conftest.er1
16867 grep -v '^ *+' conftest.er1 >conftest.err
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try='test -z "$ac_c_werror_flag"
16873 || test ! -s conftest.err'
16874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16875 (eval $ac_try) 2>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); }; } &&
16879 { ac_try='test -s conftest.$ac_objext'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; }; then
16887 cat >conftest.$ac_ext <<_ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 $ac_includes_default
16897 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16904 rm -f conftest.$ac_objext
16905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16906 (eval $ac_compile) 2>conftest.er1
16908 grep -v '^ *+' conftest.er1 >conftest.err
16910 cat conftest.err >&5
16911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16912 (exit $ac_status); } &&
16913 { ac_try='test -z "$ac_c_werror_flag"
16914 || test ! -s conftest.err'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; } &&
16920 { ac_try='test -s conftest.$ac_objext'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; }; then
16926 ac_hi=$ac_mid; break
16928 echo "$as_me: failed program was:" >&5
16929 sed 's/^/| /' conftest.$ac_ext >&5
16931 ac_lo=`expr $ac_mid + 1`
16932 if test $ac_lo -le $ac_mid; then
16936 ac_mid=`expr 2 '*' $ac_mid + 1`
16938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16941 echo "$as_me: failed program was:" >&5
16942 sed 's/^/| /' conftest.$ac_ext >&5
16944 cat >conftest.$ac_ext <<_ACEOF
16947 cat confdefs.h >>conftest.$ac_ext
16948 cat >>conftest.$ac_ext <<_ACEOF
16949 /* end confdefs.h. */
16950 $ac_includes_default
16954 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16961 rm -f conftest.$ac_objext
16962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16963 (eval $ac_compile) 2>conftest.er1
16965 grep -v '^ *+' conftest.er1 >conftest.err
16967 cat conftest.err >&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try='test -z "$ac_c_werror_flag"
16971 || test ! -s conftest.err'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; } &&
16977 { ac_try='test -s conftest.$ac_objext'
16978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16979 (eval $ac_try) 2>&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); }; }; then
16985 cat >conftest.$ac_ext <<_ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 $ac_includes_default
16995 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17002 rm -f conftest.$ac_objext
17003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17004 (eval $ac_compile) 2>conftest.er1
17006 grep -v '^ *+' conftest.er1 >conftest.err
17008 cat conftest.err >&5
17009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17010 (exit $ac_status); } &&
17011 { ac_try='test -z "$ac_c_werror_flag"
17012 || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_lo=$ac_mid; break
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.$ac_ext >&5
17029 ac_hi=`expr '(' $ac_mid ')' - 1`
17030 if test $ac_mid -le $ac_hi; then
17034 ac_mid=`expr 2 '*' $ac_mid`
17036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17039 echo "$as_me: failed program was:" >&5
17040 sed 's/^/| /' conftest.$ac_ext >&5
17044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17047 # Binary search between lo and hi bounds.
17048 while test "x$ac_lo" != "x$ac_hi"; do
17049 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 (long))) <= $ac_mid)];
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 echo "$as_me: failed program was:" >&5
17092 sed 's/^/| /' conftest.$ac_ext >&5
17094 ac_lo=`expr '(' $ac_mid ')' + 1`
17096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17099 ?*) ac_cv_sizeof_long=$ac_lo;;
17100 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17101 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17102 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17103 See \`config.log' for more details." >&5
17104 echo "$as_me: error: cannot compute sizeof (long), 77
17105 See \`config.log' for more details." >&2;}
17106 { (exit 1); exit 1; }; }; } ;;
17109 if test "$cross_compiling" = yes; then
17110 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17111 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17112 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17113 See \`config.log' for more details." >&5
17114 echo "$as_me: error: cannot run test program while cross compiling
17115 See \`config.log' for more details." >&2;}
17116 { (exit 1); exit 1; }; }; }
17118 cat >conftest.$ac_ext <<_ACEOF
17121 cat confdefs.h >>conftest.$ac_ext
17122 cat >>conftest.$ac_ext <<_ACEOF
17123 /* end confdefs.h. */
17124 $ac_includes_default
17125 long longval () { return (long) (sizeof (long)); }
17126 unsigned long ulongval () { return (long) (sizeof (long)); }
17128 #include <stdlib.h>
17133 FILE *f = fopen ("conftest.val", "w");
17136 if (((long) (sizeof (long))) < 0)
17138 long i = longval ();
17139 if (i != ((long) (sizeof (long))))
17141 fprintf (f, "%ld\n", i);
17145 unsigned long i = ulongval ();
17146 if (i != ((long) (sizeof (long))))
17148 fprintf (f, "%lu\n", i);
17150 exit (ferror (f) || fclose (f) != 0);
17156 rm -f conftest$ac_exeext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17158 (eval $ac_link) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17167 ac_cv_sizeof_long=`cat conftest.val`
17169 echo "$as_me: program exited with status $ac_status" >&5
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ( exit $ac_status )
17174 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17175 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17176 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17177 See \`config.log' for more details." >&5
17178 echo "$as_me: error: cannot compute sizeof (long), 77
17179 See \`config.log' for more details." >&2;}
17180 { (exit 1); exit 1; }; }; }
17182 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17187 ac_cv_sizeof_long=0
17190 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17191 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17192 cat >>confdefs.h <<_ACEOF
17193 #define SIZEOF_LONG $ac_cv_sizeof_long
17199 if test $acx_cv_header_stdint = stddef.h; then
17200 # Lacking a good header? Test size of everything and deduce all types.
17201 echo "$as_me:$LINENO: checking for int" >&5
17202 echo $ECHO_N "checking for int... $ECHO_C" >&6
17203 if test "${ac_cv_type_int+set}" = set; then
17204 echo $ECHO_N "(cached) $ECHO_C" >&6
17206 cat >conftest.$ac_ext <<_ACEOF
17209 cat confdefs.h >>conftest.$ac_ext
17210 cat >>conftest.$ac_ext <<_ACEOF
17211 /* end confdefs.h. */
17212 $ac_includes_default
17224 rm -f conftest.$ac_objext
17225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17226 (eval $ac_compile) 2>conftest.er1
17228 grep -v '^ *+' conftest.er1 >conftest.err
17230 cat conftest.err >&5
17231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17232 (exit $ac_status); } &&
17233 { ac_try='test -z "$ac_c_werror_flag"
17234 || test ! -s conftest.err'
17235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17236 (eval $ac_try) 2>&5
17238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); }; } &&
17240 { ac_try='test -s conftest.$ac_objext'
17241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17242 (eval $ac_try) 2>&5
17244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17245 (exit $ac_status); }; }; then
17248 echo "$as_me: failed program was:" >&5
17249 sed 's/^/| /' conftest.$ac_ext >&5
17253 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17255 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17256 echo "${ECHO_T}$ac_cv_type_int" >&6
17258 echo "$as_me:$LINENO: checking size of int" >&5
17259 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17260 if test "${ac_cv_sizeof_int+set}" = set; then
17261 echo $ECHO_N "(cached) $ECHO_C" >&6
17263 if test "$ac_cv_type_int" = yes; then
17264 # The cast to unsigned long works around a bug in the HP C Compiler
17265 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17266 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17267 # This bug is HP SR number 8606223364.
17268 if test "$cross_compiling" = yes; then
17269 # Depending upon the size, compute the lo and hi bounds.
17270 cat >conftest.$ac_ext <<_ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 $ac_includes_default
17280 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17287 rm -f conftest.$ac_objext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17289 (eval $ac_compile) 2>conftest.er1
17291 grep -v '^ *+' conftest.er1 >conftest.err
17293 cat conftest.err >&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -z "$ac_c_werror_flag"
17297 || test ! -s conftest.err'
17298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17299 (eval $ac_try) 2>&5
17301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17302 (exit $ac_status); }; } &&
17303 { ac_try='test -s conftest.$ac_objext'
17304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17305 (eval $ac_try) 2>&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); }; }; then
17311 cat >conftest.$ac_ext <<_ACEOF
17314 cat confdefs.h >>conftest.$ac_ext
17315 cat >>conftest.$ac_ext <<_ACEOF
17316 /* end confdefs.h. */
17317 $ac_includes_default
17321 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17328 rm -f conftest.$ac_objext
17329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17330 (eval $ac_compile) 2>conftest.er1
17332 grep -v '^ *+' conftest.er1 >conftest.err
17334 cat conftest.err >&5
17335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17336 (exit $ac_status); } &&
17337 { ac_try='test -z "$ac_c_werror_flag"
17338 || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest.$ac_objext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 ac_hi=$ac_mid; break
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 ac_lo=`expr $ac_mid + 1`
17356 if test $ac_lo -le $ac_mid; then
17360 ac_mid=`expr 2 '*' $ac_mid + 1`
17362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17368 cat >conftest.$ac_ext <<_ACEOF
17371 cat confdefs.h >>conftest.$ac_ext
17372 cat >>conftest.$ac_ext <<_ACEOF
17373 /* end confdefs.h. */
17374 $ac_includes_default
17378 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17385 rm -f conftest.$ac_objext
17386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17387 (eval $ac_compile) 2>conftest.er1
17389 grep -v '^ *+' conftest.er1 >conftest.err
17391 cat conftest.err >&5
17392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17393 (exit $ac_status); } &&
17394 { ac_try='test -z "$ac_c_werror_flag"
17395 || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17409 cat >conftest.$ac_ext <<_ACEOF
17412 cat confdefs.h >>conftest.$ac_ext
17413 cat >>conftest.$ac_ext <<_ACEOF
17414 /* end confdefs.h. */
17415 $ac_includes_default
17419 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17426 rm -f conftest.$ac_objext
17427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17428 (eval $ac_compile) 2>conftest.er1
17430 grep -v '^ *+' conftest.er1 >conftest.err
17432 cat conftest.err >&5
17433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17434 (exit $ac_status); } &&
17435 { ac_try='test -z "$ac_c_werror_flag"
17436 || test ! -s conftest.err'
17437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17438 (eval $ac_try) 2>&5
17440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17441 (exit $ac_status); }; } &&
17442 { ac_try='test -s conftest.$ac_objext'
17443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17444 (eval $ac_try) 2>&5
17446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17447 (exit $ac_status); }; }; then
17448 ac_lo=$ac_mid; break
17450 echo "$as_me: failed program was:" >&5
17451 sed 's/^/| /' conftest.$ac_ext >&5
17453 ac_hi=`expr '(' $ac_mid ')' - 1`
17454 if test $ac_mid -le $ac_hi; then
17458 ac_mid=`expr 2 '*' $ac_mid`
17460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.$ac_ext >&5
17468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17471 # Binary search between lo and hi bounds.
17472 while test "x$ac_lo" != "x$ac_hi"; do
17473 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17474 cat >conftest.$ac_ext <<_ACEOF
17477 cat confdefs.h >>conftest.$ac_ext
17478 cat >>conftest.$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17491 rm -f conftest.$ac_objext
17492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17493 (eval $ac_compile) 2>conftest.er1
17495 grep -v '^ *+' conftest.er1 >conftest.err
17497 cat conftest.err >&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } &&
17500 { ac_try='test -z "$ac_c_werror_flag"
17501 || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.$ac_ext >&5
17518 ac_lo=`expr '(' $ac_mid ')' + 1`
17520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17523 ?*) ac_cv_sizeof_int=$ac_lo;;
17524 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17525 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17526 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17527 See \`config.log' for more details." >&5
17528 echo "$as_me: error: cannot compute sizeof (int), 77
17529 See \`config.log' for more details." >&2;}
17530 { (exit 1); exit 1; }; }; } ;;
17533 if test "$cross_compiling" = yes; then
17534 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17535 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17536 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17537 See \`config.log' for more details." >&5
17538 echo "$as_me: error: cannot run test program while cross compiling
17539 See \`config.log' for more details." >&2;}
17540 { (exit 1); exit 1; }; }; }
17542 cat >conftest.$ac_ext <<_ACEOF
17545 cat confdefs.h >>conftest.$ac_ext
17546 cat >>conftest.$ac_ext <<_ACEOF
17547 /* end confdefs.h. */
17548 $ac_includes_default
17549 long longval () { return (long) (sizeof (int)); }
17550 unsigned long ulongval () { return (long) (sizeof (int)); }
17552 #include <stdlib.h>
17557 FILE *f = fopen ("conftest.val", "w");
17560 if (((long) (sizeof (int))) < 0)
17562 long i = longval ();
17563 if (i != ((long) (sizeof (int))))
17565 fprintf (f, "%ld\n", i);
17569 unsigned long i = ulongval ();
17570 if (i != ((long) (sizeof (int))))
17572 fprintf (f, "%lu\n", i);
17574 exit (ferror (f) || fclose (f) != 0);
17580 rm -f conftest$ac_exeext
17581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17582 (eval $ac_link) 2>&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17587 (eval $ac_try) 2>&5
17589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17590 (exit $ac_status); }; }; then
17591 ac_cv_sizeof_int=`cat conftest.val`
17593 echo "$as_me: program exited with status $ac_status" >&5
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 ( exit $ac_status )
17598 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17599 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17600 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17601 See \`config.log' for more details." >&5
17602 echo "$as_me: error: cannot compute sizeof (int), 77
17603 See \`config.log' for more details." >&2;}
17604 { (exit 1); exit 1; }; }; }
17606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17614 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17615 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17616 cat >>confdefs.h <<_ACEOF
17617 #define SIZEOF_INT $ac_cv_sizeof_int
17621 echo "$as_me:$LINENO: checking for short" >&5
17622 echo $ECHO_N "checking for short... $ECHO_C" >&6
17623 if test "${ac_cv_type_short+set}" = set; then
17624 echo $ECHO_N "(cached) $ECHO_C" >&6
17626 cat >conftest.$ac_ext <<_ACEOF
17629 cat confdefs.h >>conftest.$ac_ext
17630 cat >>conftest.$ac_ext <<_ACEOF
17631 /* end confdefs.h. */
17632 $ac_includes_default
17638 if (sizeof (short))
17644 rm -f conftest.$ac_objext
17645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17646 (eval $ac_compile) 2>conftest.er1
17648 grep -v '^ *+' conftest.er1 >conftest.err
17650 cat conftest.err >&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } &&
17653 { ac_try='test -z "$ac_c_werror_flag"
17654 || test ! -s conftest.err'
17655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17656 (eval $ac_try) 2>&5
17658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17659 (exit $ac_status); }; } &&
17660 { ac_try='test -s conftest.$ac_objext'
17661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17662 (eval $ac_try) 2>&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); }; }; then
17666 ac_cv_type_short=yes
17668 echo "$as_me: failed program was:" >&5
17669 sed 's/^/| /' conftest.$ac_ext >&5
17671 ac_cv_type_short=no
17673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17675 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17676 echo "${ECHO_T}$ac_cv_type_short" >&6
17678 echo "$as_me:$LINENO: checking size of short" >&5
17679 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17680 if test "${ac_cv_sizeof_short+set}" = set; then
17681 echo $ECHO_N "(cached) $ECHO_C" >&6
17683 if test "$ac_cv_type_short" = yes; then
17684 # The cast to unsigned long works around a bug in the HP C Compiler
17685 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17686 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17687 # This bug is HP SR number 8606223364.
17688 if test "$cross_compiling" = yes; then
17689 # Depending upon the size, compute the lo and hi bounds.
17690 cat >conftest.$ac_ext <<_ACEOF
17693 cat confdefs.h >>conftest.$ac_ext
17694 cat >>conftest.$ac_ext <<_ACEOF
17695 /* end confdefs.h. */
17696 $ac_includes_default
17700 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17707 rm -f conftest.$ac_objext
17708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17709 (eval $ac_compile) 2>conftest.er1
17711 grep -v '^ *+' conftest.er1 >conftest.err
17713 cat conftest.err >&5
17714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17715 (exit $ac_status); } &&
17716 { ac_try='test -z "$ac_c_werror_flag"
17717 || test ! -s conftest.err'
17718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17719 (eval $ac_try) 2>&5
17721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17722 (exit $ac_status); }; } &&
17723 { ac_try='test -s conftest.$ac_objext'
17724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17725 (eval $ac_try) 2>&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); }; }; then
17731 cat >conftest.$ac_ext <<_ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17741 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17748 rm -f conftest.$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17752 grep -v '^ *+' conftest.er1 >conftest.err
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_c_werror_flag"
17758 || test ! -s conftest.err'
17759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17760 (eval $ac_try) 2>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); }; } &&
17764 { ac_try='test -s conftest.$ac_objext'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; }; then
17770 ac_hi=$ac_mid; break
17772 echo "$as_me: failed program was:" >&5
17773 sed 's/^/| /' conftest.$ac_ext >&5
17775 ac_lo=`expr $ac_mid + 1`
17776 if test $ac_lo -le $ac_mid; then
17780 ac_mid=`expr 2 '*' $ac_mid + 1`
17782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17785 echo "$as_me: failed program was:" >&5
17786 sed 's/^/| /' conftest.$ac_ext >&5
17788 cat >conftest.$ac_ext <<_ACEOF
17791 cat confdefs.h >>conftest.$ac_ext
17792 cat >>conftest.$ac_ext <<_ACEOF
17793 /* end confdefs.h. */
17794 $ac_includes_default
17798 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17809 grep -v '^ *+' conftest.er1 >conftest.err
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try='test -z "$ac_c_werror_flag"
17815 || test ! -s conftest.err'
17816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17817 (eval $ac_try) 2>&5
17819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17820 (exit $ac_status); }; } &&
17821 { ac_try='test -s conftest.$ac_objext'
17822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17823 (eval $ac_try) 2>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); }; }; then
17829 cat >conftest.$ac_ext <<_ACEOF
17832 cat confdefs.h >>conftest.$ac_ext
17833 cat >>conftest.$ac_ext <<_ACEOF
17834 /* end confdefs.h. */
17835 $ac_includes_default
17839 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17846 rm -f conftest.$ac_objext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17848 (eval $ac_compile) 2>conftest.er1
17850 grep -v '^ *+' conftest.er1 >conftest.err
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest.$ac_objext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 ac_lo=$ac_mid; break
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 ac_hi=`expr '(' $ac_mid ')' - 1`
17874 if test $ac_mid -le $ac_hi; then
17878 ac_mid=`expr 2 '*' $ac_mid`
17880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17883 echo "$as_me: failed program was:" >&5
17884 sed 's/^/| /' conftest.$ac_ext >&5
17888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17891 # Binary search between lo and hi bounds.
17892 while test "x$ac_lo" != "x$ac_hi"; do
17893 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17894 cat >conftest.$ac_ext <<_ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900 $ac_includes_default
17904 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17911 rm -f conftest.$ac_objext
17912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17913 (eval $ac_compile) 2>conftest.er1
17915 grep -v '^ *+' conftest.er1 >conftest.err
17917 cat conftest.err >&5
17918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17919 (exit $ac_status); } &&
17920 { ac_try='test -z "$ac_c_werror_flag"
17921 || test ! -s conftest.err'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; } &&
17927 { ac_try='test -s conftest.$ac_objext'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; }; then
17935 echo "$as_me: failed program was:" >&5
17936 sed 's/^/| /' conftest.$ac_ext >&5
17938 ac_lo=`expr '(' $ac_mid ')' + 1`
17940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17943 ?*) ac_cv_sizeof_short=$ac_lo;;
17944 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17945 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17946 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17947 See \`config.log' for more details." >&5
17948 echo "$as_me: error: cannot compute sizeof (short), 77
17949 See \`config.log' for more details." >&2;}
17950 { (exit 1); exit 1; }; }; } ;;
17953 if test "$cross_compiling" = yes; then
17954 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17955 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17956 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17957 See \`config.log' for more details." >&5
17958 echo "$as_me: error: cannot run test program while cross compiling
17959 See \`config.log' for more details." >&2;}
17960 { (exit 1); exit 1; }; }; }
17962 cat >conftest.$ac_ext <<_ACEOF
17965 cat confdefs.h >>conftest.$ac_ext
17966 cat >>conftest.$ac_ext <<_ACEOF
17967 /* end confdefs.h. */
17968 $ac_includes_default
17969 long longval () { return (long) (sizeof (short)); }
17970 unsigned long ulongval () { return (long) (sizeof (short)); }
17972 #include <stdlib.h>
17977 FILE *f = fopen ("conftest.val", "w");
17980 if (((long) (sizeof (short))) < 0)
17982 long i = longval ();
17983 if (i != ((long) (sizeof (short))))
17985 fprintf (f, "%ld\n", i);
17989 unsigned long i = ulongval ();
17990 if (i != ((long) (sizeof (short))))
17992 fprintf (f, "%lu\n", i);
17994 exit (ferror (f) || fclose (f) != 0);
18000 rm -f conftest$ac_exeext
18001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18002 (eval $ac_link) 2>&5
18004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18005 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18007 (eval $ac_try) 2>&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); }; }; then
18011 ac_cv_sizeof_short=`cat conftest.val`
18013 echo "$as_me: program exited with status $ac_status" >&5
18014 echo "$as_me: failed program was:" >&5
18015 sed 's/^/| /' conftest.$ac_ext >&5
18017 ( exit $ac_status )
18018 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18019 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18020 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18021 See \`config.log' for more details." >&5
18022 echo "$as_me: error: cannot compute sizeof (short), 77
18023 See \`config.log' for more details." >&2;}
18024 { (exit 1); exit 1; }; }; }
18026 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18031 ac_cv_sizeof_short=0
18034 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18035 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18036 cat >>confdefs.h <<_ACEOF
18037 #define SIZEOF_SHORT $ac_cv_sizeof_short
18041 echo "$as_me:$LINENO: checking for char" >&5
18042 echo $ECHO_N "checking for char... $ECHO_C" >&6
18043 if test "${ac_cv_type_char+set}" = set; then
18044 echo $ECHO_N "(cached) $ECHO_C" >&6
18046 cat >conftest.$ac_ext <<_ACEOF
18049 cat confdefs.h >>conftest.$ac_ext
18050 cat >>conftest.$ac_ext <<_ACEOF
18051 /* end confdefs.h. */
18052 $ac_includes_default
18064 rm -f conftest.$ac_objext
18065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18066 (eval $ac_compile) 2>conftest.er1
18068 grep -v '^ *+' conftest.er1 >conftest.err
18070 cat conftest.err >&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } &&
18073 { ac_try='test -z "$ac_c_werror_flag"
18074 || test ! -s conftest.err'
18075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18076 (eval $ac_try) 2>&5
18078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18079 (exit $ac_status); }; } &&
18080 { ac_try='test -s conftest.$ac_objext'
18081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18082 (eval $ac_try) 2>&5
18084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18085 (exit $ac_status); }; }; then
18086 ac_cv_type_char=yes
18088 echo "$as_me: failed program was:" >&5
18089 sed 's/^/| /' conftest.$ac_ext >&5
18093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18095 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18096 echo "${ECHO_T}$ac_cv_type_char" >&6
18098 echo "$as_me:$LINENO: checking size of char" >&5
18099 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18100 if test "${ac_cv_sizeof_char+set}" = set; then
18101 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 if test "$ac_cv_type_char" = yes; then
18104 # The cast to unsigned long works around a bug in the HP C Compiler
18105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18107 # This bug is HP SR number 8606223364.
18108 if test "$cross_compiling" = yes; then
18109 # Depending upon the size, compute the lo and hi bounds.
18110 cat >conftest.$ac_ext <<_ACEOF
18113 cat confdefs.h >>conftest.$ac_ext
18114 cat >>conftest.$ac_ext <<_ACEOF
18115 /* end confdefs.h. */
18116 $ac_includes_default
18120 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18127 rm -f conftest.$ac_objext
18128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18129 (eval $ac_compile) 2>conftest.er1
18131 grep -v '^ *+' conftest.er1 >conftest.err
18133 cat conftest.err >&5
18134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18135 (exit $ac_status); } &&
18136 { ac_try='test -z "$ac_c_werror_flag"
18137 || test ! -s conftest.err'
18138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18139 (eval $ac_try) 2>&5
18141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18142 (exit $ac_status); }; } &&
18143 { ac_try='test -s conftest.$ac_objext'
18144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18145 (eval $ac_try) 2>&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); }; }; then
18151 cat >conftest.$ac_ext <<_ACEOF
18154 cat confdefs.h >>conftest.$ac_ext
18155 cat >>conftest.$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18157 $ac_includes_default
18161 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18168 rm -f conftest.$ac_objext
18169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18170 (eval $ac_compile) 2>conftest.er1
18172 grep -v '^ *+' conftest.er1 >conftest.err
18174 cat conftest.err >&5
18175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18176 (exit $ac_status); } &&
18177 { ac_try='test -z "$ac_c_werror_flag"
18178 || test ! -s conftest.err'
18179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18180 (eval $ac_try) 2>&5
18182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18183 (exit $ac_status); }; } &&
18184 { ac_try='test -s conftest.$ac_objext'
18185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18186 (eval $ac_try) 2>&5
18188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18189 (exit $ac_status); }; }; then
18190 ac_hi=$ac_mid; break
18192 echo "$as_me: failed program was:" >&5
18193 sed 's/^/| /' conftest.$ac_ext >&5
18195 ac_lo=`expr $ac_mid + 1`
18196 if test $ac_lo -le $ac_mid; then
18200 ac_mid=`expr 2 '*' $ac_mid + 1`
18202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18205 echo "$as_me: failed program was:" >&5
18206 sed 's/^/| /' conftest.$ac_ext >&5
18208 cat >conftest.$ac_ext <<_ACEOF
18211 cat confdefs.h >>conftest.$ac_ext
18212 cat >>conftest.$ac_ext <<_ACEOF
18213 /* end confdefs.h. */
18214 $ac_includes_default
18218 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18225 rm -f conftest.$ac_objext
18226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18227 (eval $ac_compile) 2>conftest.er1
18229 grep -v '^ *+' conftest.er1 >conftest.err
18231 cat conftest.err >&5
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); } &&
18234 { ac_try='test -z "$ac_c_werror_flag"
18235 || test ! -s conftest.err'
18236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18237 (eval $ac_try) 2>&5
18239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18240 (exit $ac_status); }; } &&
18241 { ac_try='test -s conftest.$ac_objext'
18242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18243 (eval $ac_try) 2>&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); }; }; then
18249 cat >conftest.$ac_ext <<_ACEOF
18252 cat confdefs.h >>conftest.$ac_ext
18253 cat >>conftest.$ac_ext <<_ACEOF
18254 /* end confdefs.h. */
18255 $ac_includes_default
18259 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18266 rm -f conftest.$ac_objext
18267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18268 (eval $ac_compile) 2>conftest.er1
18270 grep -v '^ *+' conftest.er1 >conftest.err
18272 cat conftest.err >&5
18273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18274 (exit $ac_status); } &&
18275 { ac_try='test -z "$ac_c_werror_flag"
18276 || test ! -s conftest.err'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; } &&
18282 { ac_try='test -s conftest.$ac_objext'
18283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18284 (eval $ac_try) 2>&5
18286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18287 (exit $ac_status); }; }; then
18288 ac_lo=$ac_mid; break
18290 echo "$as_me: failed program was:" >&5
18291 sed 's/^/| /' conftest.$ac_ext >&5
18293 ac_hi=`expr '(' $ac_mid ')' - 1`
18294 if test $ac_mid -le $ac_hi; then
18298 ac_mid=`expr 2 '*' $ac_mid`
18300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18311 # Binary search between lo and hi bounds.
18312 while test "x$ac_lo" != "x$ac_hi"; do
18313 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18314 cat >conftest.$ac_ext <<_ACEOF
18317 cat confdefs.h >>conftest.$ac_ext
18318 cat >>conftest.$ac_ext <<_ACEOF
18319 /* end confdefs.h. */
18320 $ac_includes_default
18324 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18331 rm -f conftest.$ac_objext
18332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18333 (eval $ac_compile) 2>conftest.er1
18335 grep -v '^ *+' conftest.er1 >conftest.err
18337 cat conftest.err >&5
18338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18339 (exit $ac_status); } &&
18340 { ac_try='test -z "$ac_c_werror_flag"
18341 || test ! -s conftest.err'
18342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18343 (eval $ac_try) 2>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); }; } &&
18347 { ac_try='test -s conftest.$ac_objext'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; }; then
18355 echo "$as_me: failed program was:" >&5
18356 sed 's/^/| /' conftest.$ac_ext >&5
18358 ac_lo=`expr '(' $ac_mid ')' + 1`
18360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18363 ?*) ac_cv_sizeof_char=$ac_lo;;
18364 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18365 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18366 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18367 See \`config.log' for more details." >&5
18368 echo "$as_me: error: cannot compute sizeof (char), 77
18369 See \`config.log' for more details." >&2;}
18370 { (exit 1); exit 1; }; }; } ;;
18373 if test "$cross_compiling" = yes; then
18374 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18375 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18376 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18377 See \`config.log' for more details." >&5
18378 echo "$as_me: error: cannot run test program while cross compiling
18379 See \`config.log' for more details." >&2;}
18380 { (exit 1); exit 1; }; }; }
18382 cat >conftest.$ac_ext <<_ACEOF
18385 cat confdefs.h >>conftest.$ac_ext
18386 cat >>conftest.$ac_ext <<_ACEOF
18387 /* end confdefs.h. */
18388 $ac_includes_default
18389 long longval () { return (long) (sizeof (char)); }
18390 unsigned long ulongval () { return (long) (sizeof (char)); }
18392 #include <stdlib.h>
18397 FILE *f = fopen ("conftest.val", "w");
18400 if (((long) (sizeof (char))) < 0)
18402 long i = longval ();
18403 if (i != ((long) (sizeof (char))))
18405 fprintf (f, "%ld\n", i);
18409 unsigned long i = ulongval ();
18410 if (i != ((long) (sizeof (char))))
18412 fprintf (f, "%lu\n", i);
18414 exit (ferror (f) || fclose (f) != 0);
18420 rm -f conftest$ac_exeext
18421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18422 (eval $ac_link) 2>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_cv_sizeof_char=`cat conftest.val`
18433 echo "$as_me: program exited with status $ac_status" >&5
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 ( exit $ac_status )
18438 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18439 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18441 See \`config.log' for more details." >&5
18442 echo "$as_me: error: cannot compute sizeof (char), 77
18443 See \`config.log' for more details." >&2;}
18444 { (exit 1); exit 1; }; }; }
18446 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18451 ac_cv_sizeof_char=0
18454 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18455 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18456 cat >>confdefs.h <<_ACEOF
18457 #define SIZEOF_CHAR $ac_cv_sizeof_char
18462 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18463 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18464 case "$ac_cv_sizeof_char" in
18465 1) acx_cv_type_int8_t=char ;;
18466 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18467 echo "$as_me: error: no 8-bit type" >&2;}
18468 { (exit please report a bug); exit please report a bug; }; }
18470 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18471 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18473 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18474 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18475 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18476 2:*) acx_cv_type_int16_t=int ;;
18477 *:2) acx_cv_type_int16_t=short ;;
18478 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18479 echo "$as_me: error: no 16-bit type" >&2;}
18480 { (exit please report a bug); exit please report a bug; }; }
18482 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18483 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18485 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18486 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18487 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18488 4:*) acx_cv_type_int32_t=int ;;
18489 *:4) acx_cv_type_int32_t=long ;;
18490 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18491 echo "$as_me: error: no 32-bit type" >&2;}
18492 { (exit please report a bug); exit please report a bug; }; }
18494 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18495 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18498 # These tests are here to make the output prettier
18500 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18501 case "$ac_cv_sizeof_long" in
18502 8) acx_cv_type_int64_t=long ;;
18504 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18505 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18506 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18507 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18510 # Now we can use the above types
18512 if test "$ac_cv_type_uintptr_t" != yes; then
18513 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18514 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18515 case $ac_cv_sizeof_void_p in
18516 2) acx_cv_type_intptr_t=int16_t ;;
18517 4) acx_cv_type_intptr_t=int32_t ;;
18518 8) acx_cv_type_intptr_t=int64_t ;;
18519 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18520 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18521 { (exit please report a bug); exit please report a bug; }; }
18523 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18524 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18527 # ----------------- done all checks, emit header -------------
18528 ac_config_commands="$ac_config_commands gstdint.h"
18533 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18534 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18535 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18536 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 cat >conftest.$ac_ext <<_ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 $ac_includes_default
18548 static struct stat ac_aggr;
18549 if (ac_aggr.st_blksize)
18555 rm -f conftest.$ac_objext
18556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18557 (eval $ac_compile) 2>conftest.er1
18559 grep -v '^ *+' conftest.er1 >conftest.err
18561 cat conftest.err >&5
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); } &&
18564 { ac_try='test -z "$ac_c_werror_flag"
18565 || test ! -s conftest.err'
18566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18567 (eval $ac_try) 2>&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); }; } &&
18571 { ac_try='test -s conftest.$ac_objext'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; }; then
18577 ac_cv_member_struct_stat_st_blksize=yes
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18582 cat >conftest.$ac_ext <<_ACEOF
18585 cat confdefs.h >>conftest.$ac_ext
18586 cat >>conftest.$ac_ext <<_ACEOF
18587 /* end confdefs.h. */
18588 $ac_includes_default
18592 static struct stat ac_aggr;
18593 if (sizeof ac_aggr.st_blksize)
18599 rm -f conftest.$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18603 grep -v '^ *+' conftest.er1 >conftest.err
18605 cat conftest.err >&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try='test -z "$ac_c_werror_flag"
18609 || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18621 ac_cv_member_struct_stat_st_blksize=yes
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 ac_cv_member_struct_stat_st_blksize=no
18628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18632 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18633 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18634 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18636 cat >>confdefs.h <<_ACEOF
18637 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18643 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18644 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18645 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18648 cat >conftest.$ac_ext <<_ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h. */
18654 $ac_includes_default
18658 static struct stat ac_aggr;
18659 if (ac_aggr.st_blocks)
18665 rm -f conftest.$ac_objext
18666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18667 (eval $ac_compile) 2>conftest.er1
18669 grep -v '^ *+' conftest.er1 >conftest.err
18671 cat conftest.err >&5
18672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18673 (exit $ac_status); } &&
18674 { ac_try='test -z "$ac_c_werror_flag"
18675 || test ! -s conftest.err'
18676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18677 (eval $ac_try) 2>&5
18679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18680 (exit $ac_status); }; } &&
18681 { ac_try='test -s conftest.$ac_objext'
18682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18683 (eval $ac_try) 2>&5
18685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18686 (exit $ac_status); }; }; then
18687 ac_cv_member_struct_stat_st_blocks=yes
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18692 cat >conftest.$ac_ext <<_ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18702 static struct stat ac_aggr;
18703 if (sizeof ac_aggr.st_blocks)
18709 rm -f conftest.$ac_objext
18710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18711 (eval $ac_compile) 2>conftest.er1
18713 grep -v '^ *+' conftest.er1 >conftest.err
18715 cat conftest.err >&5
18716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18717 (exit $ac_status); } &&
18718 { ac_try='test -z "$ac_c_werror_flag"
18719 || test ! -s conftest.err'
18720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18721 (eval $ac_try) 2>&5
18723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18724 (exit $ac_status); }; } &&
18725 { ac_try='test -s conftest.$ac_objext'
18726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18727 (eval $ac_try) 2>&5
18729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18730 (exit $ac_status); }; }; then
18731 ac_cv_member_struct_stat_st_blocks=yes
18733 echo "$as_me: failed program was:" >&5
18734 sed 's/^/| /' conftest.$ac_ext >&5
18736 ac_cv_member_struct_stat_st_blocks=no
18738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18742 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18743 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18744 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18753 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18754 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18755 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18758 cat >conftest.$ac_ext <<_ACEOF
18761 cat confdefs.h >>conftest.$ac_ext
18762 cat >>conftest.$ac_ext <<_ACEOF
18763 /* end confdefs.h. */
18764 $ac_includes_default
18768 static struct stat ac_aggr;
18769 if (ac_aggr.st_rdev)
18775 rm -f conftest.$ac_objext
18776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18777 (eval $ac_compile) 2>conftest.er1
18779 grep -v '^ *+' conftest.er1 >conftest.err
18781 cat conftest.err >&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); } &&
18784 { ac_try='test -z "$ac_c_werror_flag"
18785 || test ! -s conftest.err'
18786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18787 (eval $ac_try) 2>&5
18789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18790 (exit $ac_status); }; } &&
18791 { ac_try='test -s conftest.$ac_objext'
18792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18793 (eval $ac_try) 2>&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); }; }; then
18797 ac_cv_member_struct_stat_st_rdev=yes
18799 echo "$as_me: failed program was:" >&5
18800 sed 's/^/| /' conftest.$ac_ext >&5
18802 cat >conftest.$ac_ext <<_ACEOF
18805 cat confdefs.h >>conftest.$ac_ext
18806 cat >>conftest.$ac_ext <<_ACEOF
18807 /* end confdefs.h. */
18808 $ac_includes_default
18812 static struct stat ac_aggr;
18813 if (sizeof ac_aggr.st_rdev)
18819 rm -f conftest.$ac_objext
18820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18821 (eval $ac_compile) 2>conftest.er1
18823 grep -v '^ *+' conftest.er1 >conftest.err
18825 cat conftest.err >&5
18826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18827 (exit $ac_status); } &&
18828 { ac_try='test -z "$ac_c_werror_flag"
18829 || test ! -s conftest.err'
18830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18831 (eval $ac_try) 2>&5
18833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18834 (exit $ac_status); }; } &&
18835 { ac_try='test -s conftest.$ac_objext'
18836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18837 (eval $ac_try) 2>&5
18839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18840 (exit $ac_status); }; }; then
18841 ac_cv_member_struct_stat_st_rdev=yes
18843 echo "$as_me: failed program was:" >&5
18844 sed 's/^/| /' conftest.$ac_ext >&5
18846 ac_cv_member_struct_stat_st_rdev=no
18848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18852 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18853 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18854 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18856 cat >>confdefs.h <<_ACEOF
18857 #define HAVE_STRUCT_STAT_ST_RDEV 1
18864 # Check for library functions.
18873 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18876 echo "$as_me:$LINENO: checking for $ac_func" >&5
18877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18878 if eval "test \"\${$as_ac_var+set}\" = set"; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18881 if test x$gcc_no_link = xyes; then
18882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18884 { (exit 1); exit 1; }; }
18886 cat >conftest.$ac_ext <<_ACEOF
18889 cat confdefs.h >>conftest.$ac_ext
18890 cat >>conftest.$ac_ext <<_ACEOF
18891 /* end confdefs.h. */
18892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18894 #define $ac_func innocuous_$ac_func
18896 /* System header to define __stub macros and hopefully few prototypes,
18897 which can conflict with char $ac_func (); below.
18898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18899 <limits.h> exists even on freestanding compilers. */
18902 # include <limits.h>
18904 # include <assert.h>
18909 /* Override any gcc2 internal prototype to avoid an error. */
18914 /* We use char because int might match the return type of a gcc2
18915 builtin and then its argument prototype would still apply. */
18917 /* The GNU C library defines this for functions which it implements
18918 to always fail with ENOSYS. Some functions are actually named
18919 something starting with __ and the normal name is an alias. */
18920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18923 char (*f) () = $ac_func;
18932 return f != $ac_func;
18937 rm -f conftest.$ac_objext conftest$ac_exeext
18938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18939 (eval $ac_link) 2>conftest.er1
18941 grep -v '^ *+' conftest.er1 >conftest.err
18943 cat conftest.err >&5
18944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18945 (exit $ac_status); } &&
18946 { ac_try='test -z "$ac_c_werror_flag"
18947 || test ! -s conftest.err'
18948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18949 (eval $ac_try) 2>&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); }; } &&
18953 { ac_try='test -s conftest$ac_exeext'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; }; then
18959 eval "$as_ac_var=yes"
18961 echo "$as_me: failed program was:" >&5
18962 sed 's/^/| /' conftest.$ac_ext >&5
18964 eval "$as_ac_var=no"
18966 rm -f conftest.err conftest.$ac_objext \
18967 conftest$ac_exeext conftest.$ac_ext
18969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18971 if test `eval echo '${'$as_ac_var'}'` = yes; then
18972 cat >>confdefs.h <<_ACEOF
18973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18987 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
18989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18990 echo "$as_me:$LINENO: checking for $ac_func" >&5
18991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18992 if eval "test \"\${$as_ac_var+set}\" = set"; then
18993 echo $ECHO_N "(cached) $ECHO_C" >&6
18995 if test x$gcc_no_link = xyes; then
18996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18998 { (exit 1); exit 1; }; }
19000 cat >conftest.$ac_ext <<_ACEOF
19003 cat confdefs.h >>conftest.$ac_ext
19004 cat >>conftest.$ac_ext <<_ACEOF
19005 /* end confdefs.h. */
19006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19008 #define $ac_func innocuous_$ac_func
19010 /* System header to define __stub macros and hopefully few prototypes,
19011 which can conflict with char $ac_func (); below.
19012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19013 <limits.h> exists even on freestanding compilers. */
19016 # include <limits.h>
19018 # include <assert.h>
19023 /* Override any gcc2 internal prototype to avoid an error. */
19028 /* We use char because int might match the return type of a gcc2
19029 builtin and then its argument prototype would still apply. */
19031 /* The GNU C library defines this for functions which it implements
19032 to always fail with ENOSYS. Some functions are actually named
19033 something starting with __ and the normal name is an alias. */
19034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19037 char (*f) () = $ac_func;
19046 return f != $ac_func;
19051 rm -f conftest.$ac_objext conftest$ac_exeext
19052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19053 (eval $ac_link) 2>conftest.er1
19055 grep -v '^ *+' conftest.er1 >conftest.err
19057 cat conftest.err >&5
19058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19059 (exit $ac_status); } &&
19060 { ac_try='test -z "$ac_c_werror_flag"
19061 || test ! -s conftest.err'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; } &&
19067 { ac_try='test -s conftest$ac_exeext'
19068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19069 (eval $ac_try) 2>&5
19071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19072 (exit $ac_status); }; }; then
19073 eval "$as_ac_var=yes"
19075 echo "$as_me: failed program was:" >&5
19076 sed 's/^/| /' conftest.$ac_ext >&5
19078 eval "$as_ac_var=no"
19080 rm -f conftest.err conftest.$ac_objext \
19081 conftest$ac_exeext conftest.$ac_ext
19083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19085 if test `eval echo '${'$as_ac_var'}'` = yes; then
19086 cat >>confdefs.h <<_ACEOF
19087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19103 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19106 echo "$as_me:$LINENO: checking for $ac_func" >&5
19107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19108 if eval "test \"\${$as_ac_var+set}\" = set"; then
19109 echo $ECHO_N "(cached) $ECHO_C" >&6
19111 if test x$gcc_no_link = xyes; then
19112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19114 { (exit 1); exit 1; }; }
19116 cat >conftest.$ac_ext <<_ACEOF
19119 cat confdefs.h >>conftest.$ac_ext
19120 cat >>conftest.$ac_ext <<_ACEOF
19121 /* end confdefs.h. */
19122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19124 #define $ac_func innocuous_$ac_func
19126 /* System header to define __stub macros and hopefully few prototypes,
19127 which can conflict with char $ac_func (); below.
19128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19129 <limits.h> exists even on freestanding compilers. */
19132 # include <limits.h>
19134 # include <assert.h>
19139 /* Override any gcc2 internal prototype to avoid an error. */
19144 /* We use char because int might match the return type of a gcc2
19145 builtin and then its argument prototype would still apply. */
19147 /* The GNU C library defines this for functions which it implements
19148 to always fail with ENOSYS. Some functions are actually named
19149 something starting with __ and the normal name is an alias. */
19150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19153 char (*f) () = $ac_func;
19162 return f != $ac_func;
19167 rm -f conftest.$ac_objext conftest$ac_exeext
19168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19169 (eval $ac_link) 2>conftest.er1
19171 grep -v '^ *+' conftest.er1 >conftest.err
19173 cat conftest.err >&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); } &&
19176 { ac_try='test -z "$ac_c_werror_flag"
19177 || test ! -s conftest.err'
19178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19179 (eval $ac_try) 2>&5
19181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19182 (exit $ac_status); }; } &&
19183 { ac_try='test -s conftest$ac_exeext'
19184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19185 (eval $ac_try) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); }; }; then
19189 eval "$as_ac_var=yes"
19191 echo "$as_me: failed program was:" >&5
19192 sed 's/^/| /' conftest.$ac_ext >&5
19194 eval "$as_ac_var=no"
19196 rm -f conftest.err conftest.$ac_objext \
19197 conftest$ac_exeext conftest.$ac_ext
19199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19201 if test `eval echo '${'$as_ac_var'}'` = yes; then
19202 cat >>confdefs.h <<_ACEOF
19203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19218 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19221 echo "$as_me:$LINENO: checking for $ac_func" >&5
19222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19223 if eval "test \"\${$as_ac_var+set}\" = set"; then
19224 echo $ECHO_N "(cached) $ECHO_C" >&6
19226 if test x$gcc_no_link = xyes; then
19227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19229 { (exit 1); exit 1; }; }
19231 cat >conftest.$ac_ext <<_ACEOF
19234 cat confdefs.h >>conftest.$ac_ext
19235 cat >>conftest.$ac_ext <<_ACEOF
19236 /* end confdefs.h. */
19237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19239 #define $ac_func innocuous_$ac_func
19241 /* System header to define __stub macros and hopefully few prototypes,
19242 which can conflict with char $ac_func (); below.
19243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19244 <limits.h> exists even on freestanding compilers. */
19247 # include <limits.h>
19249 # include <assert.h>
19254 /* Override any gcc2 internal prototype to avoid an error. */
19259 /* We use char because int might match the return type of a gcc2
19260 builtin and then its argument prototype would still apply. */
19262 /* The GNU C library defines this for functions which it implements
19263 to always fail with ENOSYS. Some functions are actually named
19264 something starting with __ and the normal name is an alias. */
19265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19268 char (*f) () = $ac_func;
19277 return f != $ac_func;
19282 rm -f conftest.$ac_objext conftest$ac_exeext
19283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19284 (eval $ac_link) 2>conftest.er1
19286 grep -v '^ *+' conftest.er1 >conftest.err
19288 cat conftest.err >&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try='test -z "$ac_c_werror_flag"
19292 || test ! -s conftest.err'
19293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19294 (eval $ac_try) 2>&5
19296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19297 (exit $ac_status); }; } &&
19298 { ac_try='test -s conftest$ac_exeext'
19299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19300 (eval $ac_try) 2>&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); }; }; then
19304 eval "$as_ac_var=yes"
19306 echo "$as_me: failed program was:" >&5
19307 sed 's/^/| /' conftest.$ac_ext >&5
19309 eval "$as_ac_var=no"
19311 rm -f conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19316 if test `eval echo '${'$as_ac_var'}'` = yes; then
19317 cat >>confdefs.h <<_ACEOF
19318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19332 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19335 echo "$as_me:$LINENO: checking for $ac_func" >&5
19336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19337 if eval "test \"\${$as_ac_var+set}\" = set"; then
19338 echo $ECHO_N "(cached) $ECHO_C" >&6
19340 if test x$gcc_no_link = xyes; then
19341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19343 { (exit 1); exit 1; }; }
19345 cat >conftest.$ac_ext <<_ACEOF
19348 cat confdefs.h >>conftest.$ac_ext
19349 cat >>conftest.$ac_ext <<_ACEOF
19350 /* end confdefs.h. */
19351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19353 #define $ac_func innocuous_$ac_func
19355 /* System header to define __stub macros and hopefully few prototypes,
19356 which can conflict with char $ac_func (); below.
19357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19358 <limits.h> exists even on freestanding compilers. */
19361 # include <limits.h>
19363 # include <assert.h>
19368 /* Override any gcc2 internal prototype to avoid an error. */
19373 /* We use char because int might match the return type of a gcc2
19374 builtin and then its argument prototype would still apply. */
19376 /* The GNU C library defines this for functions which it implements
19377 to always fail with ENOSYS. Some functions are actually named
19378 something starting with __ and the normal name is an alias. */
19379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19382 char (*f) () = $ac_func;
19391 return f != $ac_func;
19396 rm -f conftest.$ac_objext conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>conftest.er1
19400 grep -v '^ *+' conftest.er1 >conftest.err
19402 cat conftest.err >&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); } &&
19405 { ac_try='test -z "$ac_c_werror_flag"
19406 || test ! -s conftest.err'
19407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19408 (eval $ac_try) 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; } &&
19412 { ac_try='test -s conftest$ac_exeext'
19413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19414 (eval $ac_try) 2>&5
19416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19417 (exit $ac_status); }; }; then
19418 eval "$as_ac_var=yes"
19420 echo "$as_me: failed program was:" >&5
19421 sed 's/^/| /' conftest.$ac_ext >&5
19423 eval "$as_ac_var=no"
19425 rm -f conftest.err conftest.$ac_objext \
19426 conftest$ac_exeext conftest.$ac_ext
19428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19430 if test `eval echo '${'$as_ac_var'}'` = yes; then
19431 cat >>confdefs.h <<_ACEOF
19432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19439 # Check for glibc backtrace functions
19442 for ac_func in backtrace backtrace_symbols
19444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19445 echo "$as_me:$LINENO: checking for $ac_func" >&5
19446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19447 if eval "test \"\${$as_ac_var+set}\" = set"; then
19448 echo $ECHO_N "(cached) $ECHO_C" >&6
19450 if test x$gcc_no_link = xyes; then
19451 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19452 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19453 { (exit 1); exit 1; }; }
19455 cat >conftest.$ac_ext <<_ACEOF
19458 cat confdefs.h >>conftest.$ac_ext
19459 cat >>conftest.$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19463 #define $ac_func innocuous_$ac_func
19465 /* System header to define __stub macros and hopefully few prototypes,
19466 which can conflict with char $ac_func (); below.
19467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19468 <limits.h> exists even on freestanding compilers. */
19471 # include <limits.h>
19473 # include <assert.h>
19478 /* Override any gcc2 internal prototype to avoid an error. */
19483 /* We use char because int might match the return type of a gcc2
19484 builtin and then its argument prototype would still apply. */
19486 /* The GNU C library defines this for functions which it implements
19487 to always fail with ENOSYS. Some functions are actually named
19488 something starting with __ and the normal name is an alias. */
19489 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19492 char (*f) () = $ac_func;
19501 return f != $ac_func;
19506 rm -f conftest.$ac_objext conftest$ac_exeext
19507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19508 (eval $ac_link) 2>conftest.er1
19510 grep -v '^ *+' conftest.er1 >conftest.err
19512 cat conftest.err >&5
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); } &&
19515 { ac_try='test -z "$ac_c_werror_flag"
19516 || test ! -s conftest.err'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; } &&
19522 { ac_try='test -s conftest$ac_exeext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 eval "$as_ac_var=yes"
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 eval "$as_ac_var=no"
19535 rm -f conftest.err conftest.$ac_objext \
19536 conftest$ac_exeext conftest.$ac_ext
19538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19539 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19540 if test `eval echo '${'$as_ac_var'}'` = yes; then
19541 cat >>confdefs.h <<_ACEOF
19542 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19550 echo "$as_me:$LINENO: checking for intptr_t" >&5
19551 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19552 if test "${ac_cv_type_intptr_t+set}" = set; then
19553 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 cat >conftest.$ac_ext <<_ACEOF
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 $ac_includes_default
19565 if ((intptr_t *) 0)
19567 if (sizeof (intptr_t))
19573 rm -f conftest.$ac_objext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19575 (eval $ac_compile) 2>conftest.er1
19577 grep -v '^ *+' conftest.er1 >conftest.err
19579 cat conftest.err >&5
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); } &&
19582 { ac_try='test -z "$ac_c_werror_flag"
19583 || test ! -s conftest.err'
19584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19585 (eval $ac_try) 2>&5
19587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19588 (exit $ac_status); }; } &&
19589 { ac_try='test -s conftest.$ac_objext'
19590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19591 (eval $ac_try) 2>&5
19593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19594 (exit $ac_status); }; }; then
19595 ac_cv_type_intptr_t=yes
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 ac_cv_type_intptr_t=no
19602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19604 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19605 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19606 if test $ac_cv_type_intptr_t = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define HAVE_INTPTR_T 1
19615 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19616 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19617 if test "${ac_cv_type_uintptr_t+set}" = set; then
19618 echo $ECHO_N "(cached) $ECHO_C" >&6
19620 cat >conftest.$ac_ext <<_ACEOF
19623 cat confdefs.h >>conftest.$ac_ext
19624 cat >>conftest.$ac_ext <<_ACEOF
19625 /* end confdefs.h. */
19626 $ac_includes_default
19630 if ((uintptr_t *) 0)
19632 if (sizeof (uintptr_t))
19638 rm -f conftest.$ac_objext
19639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19640 (eval $ac_compile) 2>conftest.er1
19642 grep -v '^ *+' conftest.er1 >conftest.err
19644 cat conftest.err >&5
19645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19646 (exit $ac_status); } &&
19647 { ac_try='test -z "$ac_c_werror_flag"
19648 || test ! -s conftest.err'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; } &&
19654 { ac_try='test -s conftest.$ac_objext'
19655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19656 (eval $ac_try) 2>&5
19658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19659 (exit $ac_status); }; }; then
19660 ac_cv_type_uintptr_t=yes
19662 echo "$as_me: failed program was:" >&5
19663 sed 's/^/| /' conftest.$ac_ext >&5
19665 ac_cv_type_uintptr_t=no
19667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19669 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19670 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19671 if test $ac_cv_type_uintptr_t = yes; then
19673 cat >>confdefs.h <<_ACEOF
19674 #define HAVE_UINTPTR_T 1
19681 # Check libc for getgid, getpid, getuid
19682 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19683 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19684 if test "${ac_cv_lib_c_getgid+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 ac_check_lib_save_LIBS=$LIBS
19689 if test x$gcc_no_link = xyes; then
19690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19692 { (exit 1); exit 1; }; }
19694 cat >conftest.$ac_ext <<_ACEOF
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19701 /* Override any gcc2 internal prototype to avoid an error. */
19705 /* We use char because int might match the return type of a gcc2
19706 builtin and then its argument prototype would still apply. */
19716 rm -f conftest.$ac_objext conftest$ac_exeext
19717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19718 (eval $ac_link) 2>conftest.er1
19720 grep -v '^ *+' conftest.er1 >conftest.err
19722 cat conftest.err >&5
19723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19724 (exit $ac_status); } &&
19725 { ac_try='test -z "$ac_c_werror_flag"
19726 || test ! -s conftest.err'
19727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19728 (eval $ac_try) 2>&5
19730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19731 (exit $ac_status); }; } &&
19732 { ac_try='test -s conftest$ac_exeext'
19733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19734 (eval $ac_try) 2>&5
19736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19737 (exit $ac_status); }; }; then
19738 ac_cv_lib_c_getgid=yes
19740 echo "$as_me: failed program was:" >&5
19741 sed 's/^/| /' conftest.$ac_ext >&5
19743 ac_cv_lib_c_getgid=no
19745 rm -f conftest.err conftest.$ac_objext \
19746 conftest$ac_exeext conftest.$ac_ext
19747 LIBS=$ac_check_lib_save_LIBS
19749 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19750 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19751 if test $ac_cv_lib_c_getgid = yes; then
19753 cat >>confdefs.h <<\_ACEOF
19754 #define HAVE_GETGID 1
19759 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19760 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19761 if test "${ac_cv_lib_c_getpid+set}" = set; then
19762 echo $ECHO_N "(cached) $ECHO_C" >&6
19764 ac_check_lib_save_LIBS=$LIBS
19766 if test x$gcc_no_link = xyes; then
19767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19769 { (exit 1); exit 1; }; }
19771 cat >conftest.$ac_ext <<_ACEOF
19774 cat confdefs.h >>conftest.$ac_ext
19775 cat >>conftest.$ac_ext <<_ACEOF
19776 /* end confdefs.h. */
19778 /* Override any gcc2 internal prototype to avoid an error. */
19782 /* We use char because int might match the return type of a gcc2
19783 builtin and then its argument prototype would still apply. */
19793 rm -f conftest.$ac_objext conftest$ac_exeext
19794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19795 (eval $ac_link) 2>conftest.er1
19797 grep -v '^ *+' conftest.er1 >conftest.err
19799 cat conftest.err >&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); } &&
19802 { ac_try='test -z "$ac_c_werror_flag"
19803 || test ! -s conftest.err'
19804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805 (eval $ac_try) 2>&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); }; } &&
19809 { ac_try='test -s conftest$ac_exeext'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; }; then
19815 ac_cv_lib_c_getpid=yes
19817 echo "$as_me: failed program was:" >&5
19818 sed 's/^/| /' conftest.$ac_ext >&5
19820 ac_cv_lib_c_getpid=no
19822 rm -f conftest.err conftest.$ac_objext \
19823 conftest$ac_exeext conftest.$ac_ext
19824 LIBS=$ac_check_lib_save_LIBS
19826 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19827 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19828 if test $ac_cv_lib_c_getpid = yes; then
19830 cat >>confdefs.h <<\_ACEOF
19831 #define HAVE_GETPID 1
19836 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19837 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19838 if test "${ac_cv_lib_c_getppid+set}" = set; then
19839 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 ac_check_lib_save_LIBS=$LIBS
19843 if test x$gcc_no_link = xyes; then
19844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19846 { (exit 1); exit 1; }; }
19848 cat >conftest.$ac_ext <<_ACEOF
19851 cat confdefs.h >>conftest.$ac_ext
19852 cat >>conftest.$ac_ext <<_ACEOF
19853 /* end confdefs.h. */
19855 /* Override any gcc2 internal prototype to avoid an error. */
19859 /* We use char because int might match the return type of a gcc2
19860 builtin and then its argument prototype would still apply. */
19870 rm -f conftest.$ac_objext conftest$ac_exeext
19871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19872 (eval $ac_link) 2>conftest.er1
19874 grep -v '^ *+' conftest.er1 >conftest.err
19876 cat conftest.err >&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); } &&
19879 { ac_try='test -z "$ac_c_werror_flag"
19880 || test ! -s conftest.err'
19881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19882 (eval $ac_try) 2>&5
19884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19885 (exit $ac_status); }; } &&
19886 { ac_try='test -s conftest$ac_exeext'
19887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19888 (eval $ac_try) 2>&5
19890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19891 (exit $ac_status); }; }; then
19892 ac_cv_lib_c_getppid=yes
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19897 ac_cv_lib_c_getppid=no
19899 rm -f conftest.err conftest.$ac_objext \
19900 conftest$ac_exeext conftest.$ac_ext
19901 LIBS=$ac_check_lib_save_LIBS
19903 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19904 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19905 if test $ac_cv_lib_c_getppid = yes; then
19907 cat >>confdefs.h <<\_ACEOF
19908 #define HAVE_GETPPID 1
19913 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19914 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19915 if test "${ac_cv_lib_c_getuid+set}" = set; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 ac_check_lib_save_LIBS=$LIBS
19920 if test x$gcc_no_link = xyes; then
19921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19923 { (exit 1); exit 1; }; }
19925 cat >conftest.$ac_ext <<_ACEOF
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19932 /* Override any gcc2 internal prototype to avoid an error. */
19936 /* We use char because int might match the return type of a gcc2
19937 builtin and then its argument prototype would still apply. */
19947 rm -f conftest.$ac_objext conftest$ac_exeext
19948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19949 (eval $ac_link) 2>conftest.er1
19951 grep -v '^ *+' conftest.er1 >conftest.err
19953 cat conftest.err >&5
19954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19955 (exit $ac_status); } &&
19956 { ac_try='test -z "$ac_c_werror_flag"
19957 || test ! -s conftest.err'
19958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19959 (eval $ac_try) 2>&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); }; } &&
19963 { ac_try='test -s conftest$ac_exeext'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; }; then
19969 ac_cv_lib_c_getuid=yes
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_cv_lib_c_getuid=no
19976 rm -f conftest.err conftest.$ac_objext \
19977 conftest$ac_exeext conftest.$ac_ext
19978 LIBS=$ac_check_lib_save_LIBS
19980 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19981 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19982 if test $ac_cv_lib_c_getuid = yes; then
19984 cat >>confdefs.h <<\_ACEOF
19985 #define HAVE_GETUID 1
19990 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19991 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19992 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19993 echo $ECHO_N "(cached) $ECHO_C" >&6
19995 ac_check_lib_save_LIBS=$LIBS
19997 if test x$gcc_no_link = xyes; then
19998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20000 { (exit 1); exit 1; }; }
20002 cat >conftest.$ac_ext <<_ACEOF
20005 cat confdefs.h >>conftest.$ac_ext
20006 cat >>conftest.$ac_ext <<_ACEOF
20007 /* end confdefs.h. */
20009 /* Override any gcc2 internal prototype to avoid an error. */
20013 /* We use char because int might match the return type of a gcc2
20014 builtin and then its argument prototype would still apply. */
20024 rm -f conftest.$ac_objext conftest$ac_exeext
20025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20026 (eval $ac_link) 2>conftest.er1
20028 grep -v '^ *+' conftest.er1 >conftest.err
20030 cat conftest.err >&5
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); } &&
20033 { ac_try='test -z "$ac_c_werror_flag"
20034 || test ! -s conftest.err'
20035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20036 (eval $ac_try) 2>&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; } &&
20040 { ac_try='test -s conftest$ac_exeext'
20041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20042 (eval $ac_try) 2>&5
20044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20045 (exit $ac_status); }; }; then
20046 ac_cv_lib_c_geteuid=yes
20048 echo "$as_me: failed program was:" >&5
20049 sed 's/^/| /' conftest.$ac_ext >&5
20051 ac_cv_lib_c_geteuid=no
20053 rm -f conftest.err conftest.$ac_objext \
20054 conftest$ac_exeext conftest.$ac_ext
20055 LIBS=$ac_check_lib_save_LIBS
20057 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20058 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20059 if test $ac_cv_lib_c_geteuid = yes; then
20061 cat >>confdefs.h <<\_ACEOF
20062 #define HAVE_GETEUID 1
20068 # Check for C99 (and other IEEE) math functions
20069 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20070 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20071 if test "${ac_cv_lib_m_acosf+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20074 ac_check_lib_save_LIBS=$LIBS
20076 if test x$gcc_no_link = xyes; then
20077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20079 { (exit 1); exit 1; }; }
20081 cat >conftest.$ac_ext <<_ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20088 /* Override any gcc2 internal prototype to avoid an error. */
20092 /* We use char because int might match the return type of a gcc2
20093 builtin and then its argument prototype would still apply. */
20103 rm -f conftest.$ac_objext conftest$ac_exeext
20104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20105 (eval $ac_link) 2>conftest.er1
20107 grep -v '^ *+' conftest.er1 >conftest.err
20109 cat conftest.err >&5
20110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20111 (exit $ac_status); } &&
20112 { ac_try='test -z "$ac_c_werror_flag"
20113 || test ! -s conftest.err'
20114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20115 (eval $ac_try) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); }; } &&
20119 { ac_try='test -s conftest$ac_exeext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_lib_m_acosf=yes
20127 echo "$as_me: failed program was:" >&5
20128 sed 's/^/| /' conftest.$ac_ext >&5
20130 ac_cv_lib_m_acosf=no
20132 rm -f conftest.err conftest.$ac_objext \
20133 conftest$ac_exeext conftest.$ac_ext
20134 LIBS=$ac_check_lib_save_LIBS
20136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20137 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20138 if test $ac_cv_lib_m_acosf = yes; then
20140 cat >>confdefs.h <<\_ACEOF
20141 #define HAVE_ACOSF 1
20146 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20147 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20148 if test "${ac_cv_lib_m_acos+set}" = set; then
20149 echo $ECHO_N "(cached) $ECHO_C" >&6
20151 ac_check_lib_save_LIBS=$LIBS
20153 if test x$gcc_no_link = xyes; then
20154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20156 { (exit 1); exit 1; }; }
20158 cat >conftest.$ac_ext <<_ACEOF
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20165 /* Override any gcc2 internal prototype to avoid an error. */
20169 /* We use char because int might match the return type of a gcc2
20170 builtin and then its argument prototype would still apply. */
20180 rm -f conftest.$ac_objext conftest$ac_exeext
20181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20182 (eval $ac_link) 2>conftest.er1
20184 grep -v '^ *+' conftest.er1 >conftest.err
20186 cat conftest.err >&5
20187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20188 (exit $ac_status); } &&
20189 { ac_try='test -z "$ac_c_werror_flag"
20190 || test ! -s conftest.err'
20191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20192 (eval $ac_try) 2>&5
20194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20195 (exit $ac_status); }; } &&
20196 { ac_try='test -s conftest$ac_exeext'
20197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20198 (eval $ac_try) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); }; }; then
20202 ac_cv_lib_m_acos=yes
20204 echo "$as_me: failed program was:" >&5
20205 sed 's/^/| /' conftest.$ac_ext >&5
20207 ac_cv_lib_m_acos=no
20209 rm -f conftest.err conftest.$ac_objext \
20210 conftest$ac_exeext conftest.$ac_ext
20211 LIBS=$ac_check_lib_save_LIBS
20213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20214 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20215 if test $ac_cv_lib_m_acos = yes; then
20217 cat >>confdefs.h <<\_ACEOF
20218 #define HAVE_ACOS 1
20223 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20224 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20225 if test "${ac_cv_lib_m_acosl+set}" = set; then
20226 echo $ECHO_N "(cached) $ECHO_C" >&6
20228 ac_check_lib_save_LIBS=$LIBS
20230 if test x$gcc_no_link = xyes; then
20231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20233 { (exit 1); exit 1; }; }
20235 cat >conftest.$ac_ext <<_ACEOF
20238 cat confdefs.h >>conftest.$ac_ext
20239 cat >>conftest.$ac_ext <<_ACEOF
20240 /* end confdefs.h. */
20242 /* Override any gcc2 internal prototype to avoid an error. */
20246 /* We use char because int might match the return type of a gcc2
20247 builtin and then its argument prototype would still apply. */
20257 rm -f conftest.$ac_objext conftest$ac_exeext
20258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20259 (eval $ac_link) 2>conftest.er1
20261 grep -v '^ *+' conftest.er1 >conftest.err
20263 cat conftest.err >&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -z "$ac_c_werror_flag"
20267 || test ! -s conftest.err'
20268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20269 (eval $ac_try) 2>&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); }; } &&
20273 { ac_try='test -s conftest$ac_exeext'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; }; then
20279 ac_cv_lib_m_acosl=yes
20281 echo "$as_me: failed program was:" >&5
20282 sed 's/^/| /' conftest.$ac_ext >&5
20284 ac_cv_lib_m_acosl=no
20286 rm -f conftest.err conftest.$ac_objext \
20287 conftest$ac_exeext conftest.$ac_ext
20288 LIBS=$ac_check_lib_save_LIBS
20290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20291 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20292 if test $ac_cv_lib_m_acosl = yes; then
20294 cat >>confdefs.h <<\_ACEOF
20295 #define HAVE_ACOSL 1
20300 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20301 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20302 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20303 echo $ECHO_N "(cached) $ECHO_C" >&6
20305 ac_check_lib_save_LIBS=$LIBS
20307 if test x$gcc_no_link = xyes; then
20308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20310 { (exit 1); exit 1; }; }
20312 cat >conftest.$ac_ext <<_ACEOF
20315 cat confdefs.h >>conftest.$ac_ext
20316 cat >>conftest.$ac_ext <<_ACEOF
20317 /* end confdefs.h. */
20319 /* Override any gcc2 internal prototype to avoid an error. */
20323 /* We use char because int might match the return type of a gcc2
20324 builtin and then its argument prototype would still apply. */
20334 rm -f conftest.$ac_objext conftest$ac_exeext
20335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20336 (eval $ac_link) 2>conftest.er1
20338 grep -v '^ *+' conftest.er1 >conftest.err
20340 cat conftest.err >&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } &&
20343 { ac_try='test -z "$ac_c_werror_flag"
20344 || test ! -s conftest.err'
20345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20346 (eval $ac_try) 2>&5
20348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20349 (exit $ac_status); }; } &&
20350 { ac_try='test -s conftest$ac_exeext'
20351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20352 (eval $ac_try) 2>&5
20354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20355 (exit $ac_status); }; }; then
20356 ac_cv_lib_m_acoshf=yes
20358 echo "$as_me: failed program was:" >&5
20359 sed 's/^/| /' conftest.$ac_ext >&5
20361 ac_cv_lib_m_acoshf=no
20363 rm -f conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20365 LIBS=$ac_check_lib_save_LIBS
20367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20368 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20369 if test $ac_cv_lib_m_acoshf = yes; then
20371 cat >>confdefs.h <<\_ACEOF
20372 #define HAVE_ACOSHF 1
20377 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20378 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20379 if test "${ac_cv_lib_m_acosh+set}" = set; then
20380 echo $ECHO_N "(cached) $ECHO_C" >&6
20382 ac_check_lib_save_LIBS=$LIBS
20384 if test x$gcc_no_link = xyes; then
20385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20387 { (exit 1); exit 1; }; }
20389 cat >conftest.$ac_ext <<_ACEOF
20392 cat confdefs.h >>conftest.$ac_ext
20393 cat >>conftest.$ac_ext <<_ACEOF
20394 /* end confdefs.h. */
20396 /* Override any gcc2 internal prototype to avoid an error. */
20400 /* We use char because int might match the return type of a gcc2
20401 builtin and then its argument prototype would still apply. */
20411 rm -f conftest.$ac_objext conftest$ac_exeext
20412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20413 (eval $ac_link) 2>conftest.er1
20415 grep -v '^ *+' conftest.er1 >conftest.err
20417 cat conftest.err >&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); } &&
20420 { ac_try='test -z "$ac_c_werror_flag"
20421 || test ! -s conftest.err'
20422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20423 (eval $ac_try) 2>&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); }; } &&
20427 { ac_try='test -s conftest$ac_exeext'
20428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20429 (eval $ac_try) 2>&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); }; }; then
20433 ac_cv_lib_m_acosh=yes
20435 echo "$as_me: failed program was:" >&5
20436 sed 's/^/| /' conftest.$ac_ext >&5
20438 ac_cv_lib_m_acosh=no
20440 rm -f conftest.err conftest.$ac_objext \
20441 conftest$ac_exeext conftest.$ac_ext
20442 LIBS=$ac_check_lib_save_LIBS
20444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20445 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20446 if test $ac_cv_lib_m_acosh = yes; then
20448 cat >>confdefs.h <<\_ACEOF
20449 #define HAVE_ACOSH 1
20454 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20455 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20456 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20457 echo $ECHO_N "(cached) $ECHO_C" >&6
20459 ac_check_lib_save_LIBS=$LIBS
20461 if test x$gcc_no_link = xyes; then
20462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20464 { (exit 1); exit 1; }; }
20466 cat >conftest.$ac_ext <<_ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20473 /* Override any gcc2 internal prototype to avoid an error. */
20477 /* We use char because int might match the return type of a gcc2
20478 builtin and then its argument prototype would still apply. */
20488 rm -f conftest.$ac_objext conftest$ac_exeext
20489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20490 (eval $ac_link) 2>conftest.er1
20492 grep -v '^ *+' conftest.er1 >conftest.err
20494 cat conftest.err >&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -z "$ac_c_werror_flag"
20498 || test ! -s conftest.err'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; } &&
20504 { ac_try='test -s conftest$ac_exeext'
20505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20506 (eval $ac_try) 2>&5
20508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20509 (exit $ac_status); }; }; then
20510 ac_cv_lib_m_acoshl=yes
20512 echo "$as_me: failed program was:" >&5
20513 sed 's/^/| /' conftest.$ac_ext >&5
20515 ac_cv_lib_m_acoshl=no
20517 rm -f conftest.err conftest.$ac_objext \
20518 conftest$ac_exeext conftest.$ac_ext
20519 LIBS=$ac_check_lib_save_LIBS
20521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20522 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20523 if test $ac_cv_lib_m_acoshl = yes; then
20525 cat >>confdefs.h <<\_ACEOF
20526 #define HAVE_ACOSHL 1
20531 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20532 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20533 if test "${ac_cv_lib_m_asinf+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20536 ac_check_lib_save_LIBS=$LIBS
20538 if test x$gcc_no_link = xyes; then
20539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20541 { (exit 1); exit 1; }; }
20543 cat >conftest.$ac_ext <<_ACEOF
20546 cat confdefs.h >>conftest.$ac_ext
20547 cat >>conftest.$ac_ext <<_ACEOF
20548 /* end confdefs.h. */
20550 /* Override any gcc2 internal prototype to avoid an error. */
20554 /* We use char because int might match the return type of a gcc2
20555 builtin and then its argument prototype would still apply. */
20565 rm -f conftest.$ac_objext conftest$ac_exeext
20566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20567 (eval $ac_link) 2>conftest.er1
20569 grep -v '^ *+' conftest.er1 >conftest.err
20571 cat conftest.err >&5
20572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20573 (exit $ac_status); } &&
20574 { ac_try='test -z "$ac_c_werror_flag"
20575 || test ! -s conftest.err'
20576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20577 (eval $ac_try) 2>&5
20579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20580 (exit $ac_status); }; } &&
20581 { ac_try='test -s conftest$ac_exeext'
20582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20583 (eval $ac_try) 2>&5
20585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20586 (exit $ac_status); }; }; then
20587 ac_cv_lib_m_asinf=yes
20589 echo "$as_me: failed program was:" >&5
20590 sed 's/^/| /' conftest.$ac_ext >&5
20592 ac_cv_lib_m_asinf=no
20594 rm -f conftest.err conftest.$ac_objext \
20595 conftest$ac_exeext conftest.$ac_ext
20596 LIBS=$ac_check_lib_save_LIBS
20598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20599 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20600 if test $ac_cv_lib_m_asinf = yes; then
20602 cat >>confdefs.h <<\_ACEOF
20603 #define HAVE_ASINF 1
20608 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20609 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20610 if test "${ac_cv_lib_m_asin+set}" = set; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20613 ac_check_lib_save_LIBS=$LIBS
20615 if test x$gcc_no_link = xyes; then
20616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20618 { (exit 1); exit 1; }; }
20620 cat >conftest.$ac_ext <<_ACEOF
20623 cat confdefs.h >>conftest.$ac_ext
20624 cat >>conftest.$ac_ext <<_ACEOF
20625 /* end confdefs.h. */
20627 /* Override any gcc2 internal prototype to avoid an error. */
20631 /* We use char because int might match the return type of a gcc2
20632 builtin and then its argument prototype would still apply. */
20642 rm -f conftest.$ac_objext conftest$ac_exeext
20643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20644 (eval $ac_link) 2>conftest.er1
20646 grep -v '^ *+' conftest.er1 >conftest.err
20648 cat conftest.err >&5
20649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20650 (exit $ac_status); } &&
20651 { ac_try='test -z "$ac_c_werror_flag"
20652 || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try='test -s conftest$ac_exeext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 ac_cv_lib_m_asin=yes
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20669 ac_cv_lib_m_asin=no
20671 rm -f conftest.err conftest.$ac_objext \
20672 conftest$ac_exeext conftest.$ac_ext
20673 LIBS=$ac_check_lib_save_LIBS
20675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20676 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20677 if test $ac_cv_lib_m_asin = yes; then
20679 cat >>confdefs.h <<\_ACEOF
20680 #define HAVE_ASIN 1
20685 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20686 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20687 if test "${ac_cv_lib_m_asinl+set}" = set; then
20688 echo $ECHO_N "(cached) $ECHO_C" >&6
20690 ac_check_lib_save_LIBS=$LIBS
20692 if test x$gcc_no_link = xyes; then
20693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20695 { (exit 1); exit 1; }; }
20697 cat >conftest.$ac_ext <<_ACEOF
20700 cat confdefs.h >>conftest.$ac_ext
20701 cat >>conftest.$ac_ext <<_ACEOF
20702 /* end confdefs.h. */
20704 /* Override any gcc2 internal prototype to avoid an error. */
20708 /* We use char because int might match the return type of a gcc2
20709 builtin and then its argument prototype would still apply. */
20719 rm -f conftest.$ac_objext conftest$ac_exeext
20720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20721 (eval $ac_link) 2>conftest.er1
20723 grep -v '^ *+' conftest.er1 >conftest.err
20725 cat conftest.err >&5
20726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20727 (exit $ac_status); } &&
20728 { ac_try='test -z "$ac_c_werror_flag"
20729 || test ! -s conftest.err'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; } &&
20735 { ac_try='test -s conftest$ac_exeext'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; }; then
20741 ac_cv_lib_m_asinl=yes
20743 echo "$as_me: failed program was:" >&5
20744 sed 's/^/| /' conftest.$ac_ext >&5
20746 ac_cv_lib_m_asinl=no
20748 rm -f conftest.err conftest.$ac_objext \
20749 conftest$ac_exeext conftest.$ac_ext
20750 LIBS=$ac_check_lib_save_LIBS
20752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20753 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20754 if test $ac_cv_lib_m_asinl = yes; then
20756 cat >>confdefs.h <<\_ACEOF
20757 #define HAVE_ASINL 1
20762 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20763 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20764 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20765 echo $ECHO_N "(cached) $ECHO_C" >&6
20767 ac_check_lib_save_LIBS=$LIBS
20769 if test x$gcc_no_link = xyes; then
20770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20772 { (exit 1); exit 1; }; }
20774 cat >conftest.$ac_ext <<_ACEOF
20777 cat confdefs.h >>conftest.$ac_ext
20778 cat >>conftest.$ac_ext <<_ACEOF
20779 /* end confdefs.h. */
20781 /* Override any gcc2 internal prototype to avoid an error. */
20785 /* We use char because int might match the return type of a gcc2
20786 builtin and then its argument prototype would still apply. */
20796 rm -f conftest.$ac_objext conftest$ac_exeext
20797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20798 (eval $ac_link) 2>conftest.er1
20800 grep -v '^ *+' conftest.er1 >conftest.err
20802 cat conftest.err >&5
20803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20804 (exit $ac_status); } &&
20805 { ac_try='test -z "$ac_c_werror_flag"
20806 || test ! -s conftest.err'
20807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20808 (eval $ac_try) 2>&5
20810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20811 (exit $ac_status); }; } &&
20812 { ac_try='test -s conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20818 ac_cv_lib_m_asinhf=yes
20820 echo "$as_me: failed program was:" >&5
20821 sed 's/^/| /' conftest.$ac_ext >&5
20823 ac_cv_lib_m_asinhf=no
20825 rm -f conftest.err conftest.$ac_objext \
20826 conftest$ac_exeext conftest.$ac_ext
20827 LIBS=$ac_check_lib_save_LIBS
20829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20830 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20831 if test $ac_cv_lib_m_asinhf = yes; then
20833 cat >>confdefs.h <<\_ACEOF
20834 #define HAVE_ASINHF 1
20839 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20840 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20841 if test "${ac_cv_lib_m_asinh+set}" = set; then
20842 echo $ECHO_N "(cached) $ECHO_C" >&6
20844 ac_check_lib_save_LIBS=$LIBS
20846 if test x$gcc_no_link = xyes; then
20847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20849 { (exit 1); exit 1; }; }
20851 cat >conftest.$ac_ext <<_ACEOF
20854 cat confdefs.h >>conftest.$ac_ext
20855 cat >>conftest.$ac_ext <<_ACEOF
20856 /* end confdefs.h. */
20858 /* Override any gcc2 internal prototype to avoid an error. */
20862 /* We use char because int might match the return type of a gcc2
20863 builtin and then its argument prototype would still apply. */
20873 rm -f conftest.$ac_objext conftest$ac_exeext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20875 (eval $ac_link) 2>conftest.er1
20877 grep -v '^ *+' conftest.er1 >conftest.err
20879 cat conftest.err >&5
20880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20881 (exit $ac_status); } &&
20882 { ac_try='test -z "$ac_c_werror_flag"
20883 || test ! -s conftest.err'
20884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20885 (eval $ac_try) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); }; } &&
20889 { ac_try='test -s conftest$ac_exeext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_lib_m_asinh=yes
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 ac_cv_lib_m_asinh=no
20902 rm -f conftest.err conftest.$ac_objext \
20903 conftest$ac_exeext conftest.$ac_ext
20904 LIBS=$ac_check_lib_save_LIBS
20906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20907 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20908 if test $ac_cv_lib_m_asinh = yes; then
20910 cat >>confdefs.h <<\_ACEOF
20911 #define HAVE_ASINH 1
20916 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20917 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20918 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20919 echo $ECHO_N "(cached) $ECHO_C" >&6
20921 ac_check_lib_save_LIBS=$LIBS
20923 if test x$gcc_no_link = xyes; then
20924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20926 { (exit 1); exit 1; }; }
20928 cat >conftest.$ac_ext <<_ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20935 /* Override any gcc2 internal prototype to avoid an error. */
20939 /* We use char because int might match the return type of a gcc2
20940 builtin and then its argument prototype would still apply. */
20950 rm -f conftest.$ac_objext conftest$ac_exeext
20951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20952 (eval $ac_link) 2>conftest.er1
20954 grep -v '^ *+' conftest.er1 >conftest.err
20956 cat conftest.err >&5
20957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20958 (exit $ac_status); } &&
20959 { ac_try='test -z "$ac_c_werror_flag"
20960 || test ! -s conftest.err'
20961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20962 (eval $ac_try) 2>&5
20964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20965 (exit $ac_status); }; } &&
20966 { ac_try='test -s conftest$ac_exeext'
20967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20968 (eval $ac_try) 2>&5
20970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20971 (exit $ac_status); }; }; then
20972 ac_cv_lib_m_asinhl=yes
20974 echo "$as_me: failed program was:" >&5
20975 sed 's/^/| /' conftest.$ac_ext >&5
20977 ac_cv_lib_m_asinhl=no
20979 rm -f conftest.err conftest.$ac_objext \
20980 conftest$ac_exeext conftest.$ac_ext
20981 LIBS=$ac_check_lib_save_LIBS
20983 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20984 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20985 if test $ac_cv_lib_m_asinhl = yes; then
20987 cat >>confdefs.h <<\_ACEOF
20988 #define HAVE_ASINHL 1
20993 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20994 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20995 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20996 echo $ECHO_N "(cached) $ECHO_C" >&6
20998 ac_check_lib_save_LIBS=$LIBS
21000 if test x$gcc_no_link = xyes; then
21001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21003 { (exit 1); exit 1; }; }
21005 cat >conftest.$ac_ext <<_ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21012 /* Override any gcc2 internal prototype to avoid an error. */
21016 /* We use char because int might match the return type of a gcc2
21017 builtin and then its argument prototype would still apply. */
21027 rm -f conftest.$ac_objext conftest$ac_exeext
21028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21029 (eval $ac_link) 2>conftest.er1
21031 grep -v '^ *+' conftest.er1 >conftest.err
21033 cat conftest.err >&5
21034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21035 (exit $ac_status); } &&
21036 { ac_try='test -z "$ac_c_werror_flag"
21037 || test ! -s conftest.err'
21038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21039 (eval $ac_try) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); }; } &&
21043 { ac_try='test -s conftest$ac_exeext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 ac_cv_lib_m_atan2f=yes
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21054 ac_cv_lib_m_atan2f=no
21056 rm -f conftest.err conftest.$ac_objext \
21057 conftest$ac_exeext conftest.$ac_ext
21058 LIBS=$ac_check_lib_save_LIBS
21060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21061 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21062 if test $ac_cv_lib_m_atan2f = yes; then
21064 cat >>confdefs.h <<\_ACEOF
21065 #define HAVE_ATAN2F 1
21070 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21071 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21072 if test "${ac_cv_lib_m_atan2+set}" = set; then
21073 echo $ECHO_N "(cached) $ECHO_C" >&6
21075 ac_check_lib_save_LIBS=$LIBS
21077 if test x$gcc_no_link = xyes; then
21078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21080 { (exit 1); exit 1; }; }
21082 cat >conftest.$ac_ext <<_ACEOF
21085 cat confdefs.h >>conftest.$ac_ext
21086 cat >>conftest.$ac_ext <<_ACEOF
21087 /* end confdefs.h. */
21089 /* Override any gcc2 internal prototype to avoid an error. */
21093 /* We use char because int might match the return type of a gcc2
21094 builtin and then its argument prototype would still apply. */
21104 rm -f conftest.$ac_objext conftest$ac_exeext
21105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21106 (eval $ac_link) 2>conftest.er1
21108 grep -v '^ *+' conftest.er1 >conftest.err
21110 cat conftest.err >&5
21111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112 (exit $ac_status); } &&
21113 { ac_try='test -z "$ac_c_werror_flag"
21114 || test ! -s conftest.err'
21115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21116 (eval $ac_try) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); }; } &&
21120 { ac_try='test -s conftest$ac_exeext'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; }; then
21126 ac_cv_lib_m_atan2=yes
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_cv_lib_m_atan2=no
21133 rm -f conftest.err conftest.$ac_objext \
21134 conftest$ac_exeext conftest.$ac_ext
21135 LIBS=$ac_check_lib_save_LIBS
21137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21138 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21139 if test $ac_cv_lib_m_atan2 = yes; then
21141 cat >>confdefs.h <<\_ACEOF
21142 #define HAVE_ATAN2 1
21147 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21148 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21149 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21150 echo $ECHO_N "(cached) $ECHO_C" >&6
21152 ac_check_lib_save_LIBS=$LIBS
21154 if test x$gcc_no_link = xyes; then
21155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21157 { (exit 1); exit 1; }; }
21159 cat >conftest.$ac_ext <<_ACEOF
21162 cat confdefs.h >>conftest.$ac_ext
21163 cat >>conftest.$ac_ext <<_ACEOF
21164 /* end confdefs.h. */
21166 /* Override any gcc2 internal prototype to avoid an error. */
21170 /* We use char because int might match the return type of a gcc2
21171 builtin and then its argument prototype would still apply. */
21181 rm -f conftest.$ac_objext conftest$ac_exeext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21183 (eval $ac_link) 2>conftest.er1
21185 grep -v '^ *+' conftest.er1 >conftest.err
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_c_werror_flag"
21191 || test ! -s conftest.err'
21192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21193 (eval $ac_try) 2>&5
21195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21196 (exit $ac_status); }; } &&
21197 { ac_try='test -s conftest$ac_exeext'
21198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21199 (eval $ac_try) 2>&5
21201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21202 (exit $ac_status); }; }; then
21203 ac_cv_lib_m_atan2l=yes
21205 echo "$as_me: failed program was:" >&5
21206 sed 's/^/| /' conftest.$ac_ext >&5
21208 ac_cv_lib_m_atan2l=no
21210 rm -f conftest.err conftest.$ac_objext \
21211 conftest$ac_exeext conftest.$ac_ext
21212 LIBS=$ac_check_lib_save_LIBS
21214 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21215 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21216 if test $ac_cv_lib_m_atan2l = yes; then
21218 cat >>confdefs.h <<\_ACEOF
21219 #define HAVE_ATAN2L 1
21224 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21225 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21226 if test "${ac_cv_lib_m_atanf+set}" = set; then
21227 echo $ECHO_N "(cached) $ECHO_C" >&6
21229 ac_check_lib_save_LIBS=$LIBS
21231 if test x$gcc_no_link = xyes; then
21232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21234 { (exit 1); exit 1; }; }
21236 cat >conftest.$ac_ext <<_ACEOF
21239 cat confdefs.h >>conftest.$ac_ext
21240 cat >>conftest.$ac_ext <<_ACEOF
21241 /* end confdefs.h. */
21243 /* Override any gcc2 internal prototype to avoid an error. */
21247 /* We use char because int might match the return type of a gcc2
21248 builtin and then its argument prototype would still apply. */
21258 rm -f conftest.$ac_objext conftest$ac_exeext
21259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21260 (eval $ac_link) 2>conftest.er1
21262 grep -v '^ *+' conftest.er1 >conftest.err
21264 cat conftest.err >&5
21265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21266 (exit $ac_status); } &&
21267 { ac_try='test -z "$ac_c_werror_flag"
21268 || test ! -s conftest.err'
21269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21270 (eval $ac_try) 2>&5
21272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21273 (exit $ac_status); }; } &&
21274 { ac_try='test -s conftest$ac_exeext'
21275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21276 (eval $ac_try) 2>&5
21278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21279 (exit $ac_status); }; }; then
21280 ac_cv_lib_m_atanf=yes
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.$ac_ext >&5
21285 ac_cv_lib_m_atanf=no
21287 rm -f conftest.err conftest.$ac_objext \
21288 conftest$ac_exeext conftest.$ac_ext
21289 LIBS=$ac_check_lib_save_LIBS
21291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21292 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21293 if test $ac_cv_lib_m_atanf = yes; then
21295 cat >>confdefs.h <<\_ACEOF
21296 #define HAVE_ATANF 1
21301 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21302 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21303 if test "${ac_cv_lib_m_atan+set}" = set; then
21304 echo $ECHO_N "(cached) $ECHO_C" >&6
21306 ac_check_lib_save_LIBS=$LIBS
21308 if test x$gcc_no_link = xyes; then
21309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21311 { (exit 1); exit 1; }; }
21313 cat >conftest.$ac_ext <<_ACEOF
21316 cat confdefs.h >>conftest.$ac_ext
21317 cat >>conftest.$ac_ext <<_ACEOF
21318 /* end confdefs.h. */
21320 /* Override any gcc2 internal prototype to avoid an error. */
21324 /* We use char because int might match the return type of a gcc2
21325 builtin and then its argument prototype would still apply. */
21335 rm -f conftest.$ac_objext conftest$ac_exeext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21337 (eval $ac_link) 2>conftest.er1
21339 grep -v '^ *+' conftest.er1 >conftest.err
21341 cat conftest.err >&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -z "$ac_c_werror_flag"
21345 || test ! -s conftest.err'
21346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21347 (eval $ac_try) 2>&5
21349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21350 (exit $ac_status); }; } &&
21351 { ac_try='test -s conftest$ac_exeext'
21352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21353 (eval $ac_try) 2>&5
21355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21356 (exit $ac_status); }; }; then
21357 ac_cv_lib_m_atan=yes
21359 echo "$as_me: failed program was:" >&5
21360 sed 's/^/| /' conftest.$ac_ext >&5
21362 ac_cv_lib_m_atan=no
21364 rm -f conftest.err conftest.$ac_objext \
21365 conftest$ac_exeext conftest.$ac_ext
21366 LIBS=$ac_check_lib_save_LIBS
21368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21369 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21370 if test $ac_cv_lib_m_atan = yes; then
21372 cat >>confdefs.h <<\_ACEOF
21373 #define HAVE_ATAN 1
21378 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21379 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21380 if test "${ac_cv_lib_m_atanl+set}" = set; then
21381 echo $ECHO_N "(cached) $ECHO_C" >&6
21383 ac_check_lib_save_LIBS=$LIBS
21385 if test x$gcc_no_link = xyes; then
21386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21388 { (exit 1); exit 1; }; }
21390 cat >conftest.$ac_ext <<_ACEOF
21393 cat confdefs.h >>conftest.$ac_ext
21394 cat >>conftest.$ac_ext <<_ACEOF
21395 /* end confdefs.h. */
21397 /* Override any gcc2 internal prototype to avoid an error. */
21401 /* We use char because int might match the return type of a gcc2
21402 builtin and then its argument prototype would still apply. */
21412 rm -f conftest.$ac_objext conftest$ac_exeext
21413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21414 (eval $ac_link) 2>conftest.er1
21416 grep -v '^ *+' conftest.er1 >conftest.err
21418 cat conftest.err >&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -z "$ac_c_werror_flag"
21422 || test ! -s conftest.err'
21423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21424 (eval $ac_try) 2>&5
21426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21427 (exit $ac_status); }; } &&
21428 { ac_try='test -s conftest$ac_exeext'
21429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21430 (eval $ac_try) 2>&5
21432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21433 (exit $ac_status); }; }; then
21434 ac_cv_lib_m_atanl=yes
21436 echo "$as_me: failed program was:" >&5
21437 sed 's/^/| /' conftest.$ac_ext >&5
21439 ac_cv_lib_m_atanl=no
21441 rm -f conftest.err conftest.$ac_objext \
21442 conftest$ac_exeext conftest.$ac_ext
21443 LIBS=$ac_check_lib_save_LIBS
21445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21446 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21447 if test $ac_cv_lib_m_atanl = yes; then
21449 cat >>confdefs.h <<\_ACEOF
21450 #define HAVE_ATANL 1
21455 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21456 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21457 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21458 echo $ECHO_N "(cached) $ECHO_C" >&6
21460 ac_check_lib_save_LIBS=$LIBS
21462 if test x$gcc_no_link = xyes; then
21463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21465 { (exit 1); exit 1; }; }
21467 cat >conftest.$ac_ext <<_ACEOF
21470 cat confdefs.h >>conftest.$ac_ext
21471 cat >>conftest.$ac_ext <<_ACEOF
21472 /* end confdefs.h. */
21474 /* Override any gcc2 internal prototype to avoid an error. */
21478 /* We use char because int might match the return type of a gcc2
21479 builtin and then its argument prototype would still apply. */
21489 rm -f conftest.$ac_objext conftest$ac_exeext
21490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21491 (eval $ac_link) 2>conftest.er1
21493 grep -v '^ *+' conftest.er1 >conftest.err
21495 cat conftest.err >&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); } &&
21498 { ac_try='test -z "$ac_c_werror_flag"
21499 || test ! -s conftest.err'
21500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21501 (eval $ac_try) 2>&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); }; } &&
21505 { ac_try='test -s conftest$ac_exeext'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; }; then
21511 ac_cv_lib_m_atanhf=yes
21513 echo "$as_me: failed program was:" >&5
21514 sed 's/^/| /' conftest.$ac_ext >&5
21516 ac_cv_lib_m_atanhf=no
21518 rm -f conftest.err conftest.$ac_objext \
21519 conftest$ac_exeext conftest.$ac_ext
21520 LIBS=$ac_check_lib_save_LIBS
21522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21523 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21524 if test $ac_cv_lib_m_atanhf = yes; then
21526 cat >>confdefs.h <<\_ACEOF
21527 #define HAVE_ATANHF 1
21532 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21533 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21534 if test "${ac_cv_lib_m_atanh+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21537 ac_check_lib_save_LIBS=$LIBS
21539 if test x$gcc_no_link = xyes; then
21540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21542 { (exit 1); exit 1; }; }
21544 cat >conftest.$ac_ext <<_ACEOF
21547 cat confdefs.h >>conftest.$ac_ext
21548 cat >>conftest.$ac_ext <<_ACEOF
21549 /* end confdefs.h. */
21551 /* Override any gcc2 internal prototype to avoid an error. */
21555 /* We use char because int might match the return type of a gcc2
21556 builtin and then its argument prototype would still apply. */
21566 rm -f conftest.$ac_objext conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>conftest.er1
21570 grep -v '^ *+' conftest.er1 >conftest.err
21572 cat conftest.err >&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); } &&
21575 { ac_try='test -z "$ac_c_werror_flag"
21576 || test ! -s conftest.err'
21577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21578 (eval $ac_try) 2>&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); }; } &&
21582 { ac_try='test -s conftest$ac_exeext'
21583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21584 (eval $ac_try) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); }; }; then
21588 ac_cv_lib_m_atanh=yes
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21593 ac_cv_lib_m_atanh=no
21595 rm -f conftest.err conftest.$ac_objext \
21596 conftest$ac_exeext conftest.$ac_ext
21597 LIBS=$ac_check_lib_save_LIBS
21599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21600 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21601 if test $ac_cv_lib_m_atanh = yes; then
21603 cat >>confdefs.h <<\_ACEOF
21604 #define HAVE_ATANH 1
21609 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21610 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21611 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21612 echo $ECHO_N "(cached) $ECHO_C" >&6
21614 ac_check_lib_save_LIBS=$LIBS
21616 if test x$gcc_no_link = xyes; then
21617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21619 { (exit 1); exit 1; }; }
21621 cat >conftest.$ac_ext <<_ACEOF
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21628 /* Override any gcc2 internal prototype to avoid an error. */
21632 /* We use char because int might match the return type of a gcc2
21633 builtin and then its argument prototype would still apply. */
21643 rm -f conftest.$ac_objext conftest$ac_exeext
21644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21645 (eval $ac_link) 2>conftest.er1
21647 grep -v '^ *+' conftest.er1 >conftest.err
21649 cat conftest.err >&5
21650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21651 (exit $ac_status); } &&
21652 { ac_try='test -z "$ac_c_werror_flag"
21653 || test ! -s conftest.err'
21654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21655 (eval $ac_try) 2>&5
21657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21658 (exit $ac_status); }; } &&
21659 { ac_try='test -s conftest$ac_exeext'
21660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21661 (eval $ac_try) 2>&5
21663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664 (exit $ac_status); }; }; then
21665 ac_cv_lib_m_atanhl=yes
21667 echo "$as_me: failed program was:" >&5
21668 sed 's/^/| /' conftest.$ac_ext >&5
21670 ac_cv_lib_m_atanhl=no
21672 rm -f conftest.err conftest.$ac_objext \
21673 conftest$ac_exeext conftest.$ac_ext
21674 LIBS=$ac_check_lib_save_LIBS
21676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21677 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21678 if test $ac_cv_lib_m_atanhl = yes; then
21680 cat >>confdefs.h <<\_ACEOF
21681 #define HAVE_ATANHL 1
21686 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21687 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21688 if test "${ac_cv_lib_m_cargf+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 ac_check_lib_save_LIBS=$LIBS
21693 if test x$gcc_no_link = xyes; then
21694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21696 { (exit 1); exit 1; }; }
21698 cat >conftest.$ac_ext <<_ACEOF
21701 cat confdefs.h >>conftest.$ac_ext
21702 cat >>conftest.$ac_ext <<_ACEOF
21703 /* end confdefs.h. */
21705 /* Override any gcc2 internal prototype to avoid an error. */
21709 /* We use char because int might match the return type of a gcc2
21710 builtin and then its argument prototype would still apply. */
21720 rm -f conftest.$ac_objext conftest$ac_exeext
21721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21722 (eval $ac_link) 2>conftest.er1
21724 grep -v '^ *+' conftest.er1 >conftest.err
21726 cat conftest.err >&5
21727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21728 (exit $ac_status); } &&
21729 { ac_try='test -z "$ac_c_werror_flag"
21730 || test ! -s conftest.err'
21731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21732 (eval $ac_try) 2>&5
21734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21735 (exit $ac_status); }; } &&
21736 { ac_try='test -s conftest$ac_exeext'
21737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21738 (eval $ac_try) 2>&5
21740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21741 (exit $ac_status); }; }; then
21742 ac_cv_lib_m_cargf=yes
21744 echo "$as_me: failed program was:" >&5
21745 sed 's/^/| /' conftest.$ac_ext >&5
21747 ac_cv_lib_m_cargf=no
21749 rm -f conftest.err conftest.$ac_objext \
21750 conftest$ac_exeext conftest.$ac_ext
21751 LIBS=$ac_check_lib_save_LIBS
21753 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21754 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21755 if test $ac_cv_lib_m_cargf = yes; then
21757 cat >>confdefs.h <<\_ACEOF
21758 #define HAVE_CARGF 1
21763 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21764 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21765 if test "${ac_cv_lib_m_carg+set}" = set; then
21766 echo $ECHO_N "(cached) $ECHO_C" >&6
21768 ac_check_lib_save_LIBS=$LIBS
21770 if test x$gcc_no_link = xyes; then
21771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21773 { (exit 1); exit 1; }; }
21775 cat >conftest.$ac_ext <<_ACEOF
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21782 /* Override any gcc2 internal prototype to avoid an error. */
21786 /* We use char because int might match the return type of a gcc2
21787 builtin and then its argument prototype would still apply. */
21797 rm -f conftest.$ac_objext conftest$ac_exeext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21799 (eval $ac_link) 2>conftest.er1
21801 grep -v '^ *+' conftest.er1 >conftest.err
21803 cat conftest.err >&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } &&
21806 { ac_try='test -z "$ac_c_werror_flag"
21807 || test ! -s conftest.err'
21808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21809 (eval $ac_try) 2>&5
21811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21812 (exit $ac_status); }; } &&
21813 { ac_try='test -s conftest$ac_exeext'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; }; then
21819 ac_cv_lib_m_carg=yes
21821 echo "$as_me: failed program was:" >&5
21822 sed 's/^/| /' conftest.$ac_ext >&5
21824 ac_cv_lib_m_carg=no
21826 rm -f conftest.err conftest.$ac_objext \
21827 conftest$ac_exeext conftest.$ac_ext
21828 LIBS=$ac_check_lib_save_LIBS
21830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21831 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21832 if test $ac_cv_lib_m_carg = yes; then
21834 cat >>confdefs.h <<\_ACEOF
21835 #define HAVE_CARG 1
21840 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21841 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21842 if test "${ac_cv_lib_m_cargl+set}" = set; then
21843 echo $ECHO_N "(cached) $ECHO_C" >&6
21845 ac_check_lib_save_LIBS=$LIBS
21847 if test x$gcc_no_link = xyes; then
21848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21850 { (exit 1); exit 1; }; }
21852 cat >conftest.$ac_ext <<_ACEOF
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21859 /* Override any gcc2 internal prototype to avoid an error. */
21863 /* We use char because int might match the return type of a gcc2
21864 builtin and then its argument prototype would still apply. */
21874 rm -f conftest.$ac_objext conftest$ac_exeext
21875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21876 (eval $ac_link) 2>conftest.er1
21878 grep -v '^ *+' conftest.er1 >conftest.err
21880 cat conftest.err >&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); } &&
21883 { ac_try='test -z "$ac_c_werror_flag"
21884 || test ! -s conftest.err'
21885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21886 (eval $ac_try) 2>&5
21888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21889 (exit $ac_status); }; } &&
21890 { ac_try='test -s conftest$ac_exeext'
21891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21892 (eval $ac_try) 2>&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); }; }; then
21896 ac_cv_lib_m_cargl=yes
21898 echo "$as_me: failed program was:" >&5
21899 sed 's/^/| /' conftest.$ac_ext >&5
21901 ac_cv_lib_m_cargl=no
21903 rm -f conftest.err conftest.$ac_objext \
21904 conftest$ac_exeext conftest.$ac_ext
21905 LIBS=$ac_check_lib_save_LIBS
21907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21908 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21909 if test $ac_cv_lib_m_cargl = yes; then
21911 cat >>confdefs.h <<\_ACEOF
21912 #define HAVE_CARGL 1
21917 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21918 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21919 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21920 echo $ECHO_N "(cached) $ECHO_C" >&6
21922 ac_check_lib_save_LIBS=$LIBS
21924 if test x$gcc_no_link = xyes; then
21925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21927 { (exit 1); exit 1; }; }
21929 cat >conftest.$ac_ext <<_ACEOF
21932 cat confdefs.h >>conftest.$ac_ext
21933 cat >>conftest.$ac_ext <<_ACEOF
21934 /* end confdefs.h. */
21936 /* Override any gcc2 internal prototype to avoid an error. */
21940 /* We use char because int might match the return type of a gcc2
21941 builtin and then its argument prototype would still apply. */
21951 rm -f conftest.$ac_objext conftest$ac_exeext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21953 (eval $ac_link) 2>conftest.er1
21955 grep -v '^ *+' conftest.er1 >conftest.err
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -z "$ac_c_werror_flag"
21961 || test ! -s conftest.err'
21962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21963 (eval $ac_try) 2>&5
21965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21966 (exit $ac_status); }; } &&
21967 { ac_try='test -s conftest$ac_exeext'
21968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21969 (eval $ac_try) 2>&5
21971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21972 (exit $ac_status); }; }; then
21973 ac_cv_lib_m_ceilf=yes
21975 echo "$as_me: failed program was:" >&5
21976 sed 's/^/| /' conftest.$ac_ext >&5
21978 ac_cv_lib_m_ceilf=no
21980 rm -f conftest.err conftest.$ac_objext \
21981 conftest$ac_exeext conftest.$ac_ext
21982 LIBS=$ac_check_lib_save_LIBS
21984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21985 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21986 if test $ac_cv_lib_m_ceilf = yes; then
21988 cat >>confdefs.h <<\_ACEOF
21989 #define HAVE_CEILF 1
21994 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21995 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21996 if test "${ac_cv_lib_m_ceil+set}" = set; then
21997 echo $ECHO_N "(cached) $ECHO_C" >&6
21999 ac_check_lib_save_LIBS=$LIBS
22001 if test x$gcc_no_link = xyes; then
22002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22004 { (exit 1); exit 1; }; }
22006 cat >conftest.$ac_ext <<_ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22013 /* Override any gcc2 internal prototype to avoid an error. */
22017 /* We use char because int might match the return type of a gcc2
22018 builtin and then its argument prototype would still apply. */
22028 rm -f conftest.$ac_objext conftest$ac_exeext
22029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22030 (eval $ac_link) 2>conftest.er1
22032 grep -v '^ *+' conftest.er1 >conftest.err
22034 cat conftest.err >&5
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); } &&
22037 { ac_try='test -z "$ac_c_werror_flag"
22038 || test ! -s conftest.err'
22039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22040 (eval $ac_try) 2>&5
22042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22043 (exit $ac_status); }; } &&
22044 { ac_try='test -s conftest$ac_exeext'
22045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22046 (eval $ac_try) 2>&5
22048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22049 (exit $ac_status); }; }; then
22050 ac_cv_lib_m_ceil=yes
22052 echo "$as_me: failed program was:" >&5
22053 sed 's/^/| /' conftest.$ac_ext >&5
22055 ac_cv_lib_m_ceil=no
22057 rm -f conftest.err conftest.$ac_objext \
22058 conftest$ac_exeext conftest.$ac_ext
22059 LIBS=$ac_check_lib_save_LIBS
22061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22062 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22063 if test $ac_cv_lib_m_ceil = yes; then
22065 cat >>confdefs.h <<\_ACEOF
22066 #define HAVE_CEIL 1
22071 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22072 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22073 if test "${ac_cv_lib_m_ceill+set}" = set; then
22074 echo $ECHO_N "(cached) $ECHO_C" >&6
22076 ac_check_lib_save_LIBS=$LIBS
22078 if test x$gcc_no_link = xyes; then
22079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22081 { (exit 1); exit 1; }; }
22083 cat >conftest.$ac_ext <<_ACEOF
22086 cat confdefs.h >>conftest.$ac_ext
22087 cat >>conftest.$ac_ext <<_ACEOF
22088 /* end confdefs.h. */
22090 /* Override any gcc2 internal prototype to avoid an error. */
22094 /* We use char because int might match the return type of a gcc2
22095 builtin and then its argument prototype would still apply. */
22105 rm -f conftest.$ac_objext conftest$ac_exeext
22106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22107 (eval $ac_link) 2>conftest.er1
22109 grep -v '^ *+' conftest.er1 >conftest.err
22111 cat conftest.err >&5
22112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22113 (exit $ac_status); } &&
22114 { ac_try='test -z "$ac_c_werror_flag"
22115 || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest$ac_exeext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_cv_lib_m_ceill=yes
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22132 ac_cv_lib_m_ceill=no
22134 rm -f conftest.err conftest.$ac_objext \
22135 conftest$ac_exeext conftest.$ac_ext
22136 LIBS=$ac_check_lib_save_LIBS
22138 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22139 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22140 if test $ac_cv_lib_m_ceill = yes; then
22142 cat >>confdefs.h <<\_ACEOF
22143 #define HAVE_CEILL 1
22148 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22149 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22150 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22151 echo $ECHO_N "(cached) $ECHO_C" >&6
22153 ac_check_lib_save_LIBS=$LIBS
22155 if test x$gcc_no_link = xyes; then
22156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22158 { (exit 1); exit 1; }; }
22160 cat >conftest.$ac_ext <<_ACEOF
22163 cat confdefs.h >>conftest.$ac_ext
22164 cat >>conftest.$ac_ext <<_ACEOF
22165 /* end confdefs.h. */
22167 /* Override any gcc2 internal prototype to avoid an error. */
22171 /* We use char because int might match the return type of a gcc2
22172 builtin and then its argument prototype would still apply. */
22182 rm -f conftest.$ac_objext conftest$ac_exeext
22183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22184 (eval $ac_link) 2>conftest.er1
22186 grep -v '^ *+' conftest.er1 >conftest.err
22188 cat conftest.err >&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try='test -z "$ac_c_werror_flag"
22192 || test ! -s conftest.err'
22193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22194 (eval $ac_try) 2>&5
22196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22197 (exit $ac_status); }; } &&
22198 { ac_try='test -s conftest$ac_exeext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 ac_cv_lib_m_copysignf=yes
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_cv_lib_m_copysignf=no
22211 rm -f conftest.err conftest.$ac_objext \
22212 conftest$ac_exeext conftest.$ac_ext
22213 LIBS=$ac_check_lib_save_LIBS
22215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22216 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22217 if test $ac_cv_lib_m_copysignf = yes; then
22219 cat >>confdefs.h <<\_ACEOF
22220 #define HAVE_COPYSIGNF 1
22225 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22226 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22227 if test "${ac_cv_lib_m_copysign+set}" = set; then
22228 echo $ECHO_N "(cached) $ECHO_C" >&6
22230 ac_check_lib_save_LIBS=$LIBS
22232 if test x$gcc_no_link = xyes; then
22233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22235 { (exit 1); exit 1; }; }
22237 cat >conftest.$ac_ext <<_ACEOF
22240 cat confdefs.h >>conftest.$ac_ext
22241 cat >>conftest.$ac_ext <<_ACEOF
22242 /* end confdefs.h. */
22244 /* Override any gcc2 internal prototype to avoid an error. */
22248 /* We use char because int might match the return type of a gcc2
22249 builtin and then its argument prototype would still apply. */
22259 rm -f conftest.$ac_objext conftest$ac_exeext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22261 (eval $ac_link) 2>conftest.er1
22263 grep -v '^ *+' conftest.er1 >conftest.err
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -z "$ac_c_werror_flag"
22269 || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try='test -s conftest$ac_exeext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 ac_cv_lib_m_copysign=yes
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22286 ac_cv_lib_m_copysign=no
22288 rm -f conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22290 LIBS=$ac_check_lib_save_LIBS
22292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22293 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22294 if test $ac_cv_lib_m_copysign = yes; then
22296 cat >>confdefs.h <<\_ACEOF
22297 #define HAVE_COPYSIGN 1
22302 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22303 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22304 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22305 echo $ECHO_N "(cached) $ECHO_C" >&6
22307 ac_check_lib_save_LIBS=$LIBS
22309 if test x$gcc_no_link = xyes; then
22310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22312 { (exit 1); exit 1; }; }
22314 cat >conftest.$ac_ext <<_ACEOF
22317 cat confdefs.h >>conftest.$ac_ext
22318 cat >>conftest.$ac_ext <<_ACEOF
22319 /* end confdefs.h. */
22321 /* Override any gcc2 internal prototype to avoid an error. */
22325 /* We use char because int might match the return type of a gcc2
22326 builtin and then its argument prototype would still apply. */
22336 rm -f conftest.$ac_objext conftest$ac_exeext
22337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22338 (eval $ac_link) 2>conftest.er1
22340 grep -v '^ *+' conftest.er1 >conftest.err
22342 cat conftest.err >&5
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); } &&
22345 { ac_try='test -z "$ac_c_werror_flag"
22346 || test ! -s conftest.err'
22347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22348 (eval $ac_try) 2>&5
22350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22351 (exit $ac_status); }; } &&
22352 { ac_try='test -s conftest$ac_exeext'
22353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22354 (eval $ac_try) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); }; }; then
22358 ac_cv_lib_m_copysignl=yes
22360 echo "$as_me: failed program was:" >&5
22361 sed 's/^/| /' conftest.$ac_ext >&5
22363 ac_cv_lib_m_copysignl=no
22365 rm -f conftest.err conftest.$ac_objext \
22366 conftest$ac_exeext conftest.$ac_ext
22367 LIBS=$ac_check_lib_save_LIBS
22369 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22370 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22371 if test $ac_cv_lib_m_copysignl = yes; then
22373 cat >>confdefs.h <<\_ACEOF
22374 #define HAVE_COPYSIGNL 1
22379 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22380 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22381 if test "${ac_cv_lib_m_cosf+set}" = set; then
22382 echo $ECHO_N "(cached) $ECHO_C" >&6
22384 ac_check_lib_save_LIBS=$LIBS
22386 if test x$gcc_no_link = xyes; then
22387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22389 { (exit 1); exit 1; }; }
22391 cat >conftest.$ac_ext <<_ACEOF
22394 cat confdefs.h >>conftest.$ac_ext
22395 cat >>conftest.$ac_ext <<_ACEOF
22396 /* end confdefs.h. */
22398 /* Override any gcc2 internal prototype to avoid an error. */
22402 /* We use char because int might match the return type of a gcc2
22403 builtin and then its argument prototype would still apply. */
22413 rm -f conftest.$ac_objext conftest$ac_exeext
22414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22415 (eval $ac_link) 2>conftest.er1
22417 grep -v '^ *+' conftest.er1 >conftest.err
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } &&
22422 { ac_try='test -z "$ac_c_werror_flag"
22423 || test ! -s conftest.err'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; } &&
22429 { ac_try='test -s conftest$ac_exeext'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; }; then
22435 ac_cv_lib_m_cosf=yes
22437 echo "$as_me: failed program was:" >&5
22438 sed 's/^/| /' conftest.$ac_ext >&5
22440 ac_cv_lib_m_cosf=no
22442 rm -f conftest.err conftest.$ac_objext \
22443 conftest$ac_exeext conftest.$ac_ext
22444 LIBS=$ac_check_lib_save_LIBS
22446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22447 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22448 if test $ac_cv_lib_m_cosf = yes; then
22450 cat >>confdefs.h <<\_ACEOF
22451 #define HAVE_COSF 1
22456 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22457 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22458 if test "${ac_cv_lib_m_cos+set}" = set; then
22459 echo $ECHO_N "(cached) $ECHO_C" >&6
22461 ac_check_lib_save_LIBS=$LIBS
22463 if test x$gcc_no_link = xyes; then
22464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22466 { (exit 1); exit 1; }; }
22468 cat >conftest.$ac_ext <<_ACEOF
22471 cat confdefs.h >>conftest.$ac_ext
22472 cat >>conftest.$ac_ext <<_ACEOF
22473 /* end confdefs.h. */
22475 /* Override any gcc2 internal prototype to avoid an error. */
22479 /* We use char because int might match the return type of a gcc2
22480 builtin and then its argument prototype would still apply. */
22490 rm -f conftest.$ac_objext conftest$ac_exeext
22491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22492 (eval $ac_link) 2>conftest.er1
22494 grep -v '^ *+' conftest.er1 >conftest.err
22496 cat conftest.err >&5
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); } &&
22499 { ac_try='test -z "$ac_c_werror_flag"
22500 || test ! -s conftest.err'
22501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22502 (eval $ac_try) 2>&5
22504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22505 (exit $ac_status); }; } &&
22506 { ac_try='test -s conftest$ac_exeext'
22507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22508 (eval $ac_try) 2>&5
22510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22511 (exit $ac_status); }; }; then
22512 ac_cv_lib_m_cos=yes
22514 echo "$as_me: failed program was:" >&5
22515 sed 's/^/| /' conftest.$ac_ext >&5
22519 rm -f conftest.err conftest.$ac_objext \
22520 conftest$ac_exeext conftest.$ac_ext
22521 LIBS=$ac_check_lib_save_LIBS
22523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22524 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22525 if test $ac_cv_lib_m_cos = yes; then
22527 cat >>confdefs.h <<\_ACEOF
22533 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22534 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22535 if test "${ac_cv_lib_m_cosl+set}" = set; then
22536 echo $ECHO_N "(cached) $ECHO_C" >&6
22538 ac_check_lib_save_LIBS=$LIBS
22540 if test x$gcc_no_link = xyes; then
22541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22543 { (exit 1); exit 1; }; }
22545 cat >conftest.$ac_ext <<_ACEOF
22548 cat confdefs.h >>conftest.$ac_ext
22549 cat >>conftest.$ac_ext <<_ACEOF
22550 /* end confdefs.h. */
22552 /* Override any gcc2 internal prototype to avoid an error. */
22556 /* We use char because int might match the return type of a gcc2
22557 builtin and then its argument prototype would still apply. */
22567 rm -f conftest.$ac_objext conftest$ac_exeext
22568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22569 (eval $ac_link) 2>conftest.er1
22571 grep -v '^ *+' conftest.er1 >conftest.err
22573 cat conftest.err >&5
22574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22575 (exit $ac_status); } &&
22576 { ac_try='test -z "$ac_c_werror_flag"
22577 || test ! -s conftest.err'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; } &&
22583 { ac_try='test -s conftest$ac_exeext'
22584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22585 (eval $ac_try) 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; }; then
22589 ac_cv_lib_m_cosl=yes
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22594 ac_cv_lib_m_cosl=no
22596 rm -f conftest.err conftest.$ac_objext \
22597 conftest$ac_exeext conftest.$ac_ext
22598 LIBS=$ac_check_lib_save_LIBS
22600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22601 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22602 if test $ac_cv_lib_m_cosl = yes; then
22604 cat >>confdefs.h <<\_ACEOF
22605 #define HAVE_COSL 1
22610 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22611 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22612 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22613 echo $ECHO_N "(cached) $ECHO_C" >&6
22615 ac_check_lib_save_LIBS=$LIBS
22617 if test x$gcc_no_link = xyes; then
22618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22620 { (exit 1); exit 1; }; }
22622 cat >conftest.$ac_ext <<_ACEOF
22625 cat confdefs.h >>conftest.$ac_ext
22626 cat >>conftest.$ac_ext <<_ACEOF
22627 /* end confdefs.h. */
22629 /* Override any gcc2 internal prototype to avoid an error. */
22633 /* We use char because int might match the return type of a gcc2
22634 builtin and then its argument prototype would still apply. */
22644 rm -f conftest.$ac_objext conftest$ac_exeext
22645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22646 (eval $ac_link) 2>conftest.er1
22648 grep -v '^ *+' conftest.er1 >conftest.err
22650 cat conftest.err >&5
22651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22652 (exit $ac_status); } &&
22653 { ac_try='test -z "$ac_c_werror_flag"
22654 || test ! -s conftest.err'
22655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22656 (eval $ac_try) 2>&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); }; } &&
22660 { ac_try='test -s conftest$ac_exeext'
22661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22662 (eval $ac_try) 2>&5
22664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22665 (exit $ac_status); }; }; then
22666 ac_cv_lib_m_ccosf=yes
22668 echo "$as_me: failed program was:" >&5
22669 sed 's/^/| /' conftest.$ac_ext >&5
22671 ac_cv_lib_m_ccosf=no
22673 rm -f conftest.err conftest.$ac_objext \
22674 conftest$ac_exeext conftest.$ac_ext
22675 LIBS=$ac_check_lib_save_LIBS
22677 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22678 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22679 if test $ac_cv_lib_m_ccosf = yes; then
22681 cat >>confdefs.h <<\_ACEOF
22682 #define HAVE_CCOSF 1
22687 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22688 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22689 if test "${ac_cv_lib_m_ccos+set}" = set; then
22690 echo $ECHO_N "(cached) $ECHO_C" >&6
22692 ac_check_lib_save_LIBS=$LIBS
22694 if test x$gcc_no_link = xyes; then
22695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22697 { (exit 1); exit 1; }; }
22699 cat >conftest.$ac_ext <<_ACEOF
22702 cat confdefs.h >>conftest.$ac_ext
22703 cat >>conftest.$ac_ext <<_ACEOF
22704 /* end confdefs.h. */
22706 /* Override any gcc2 internal prototype to avoid an error. */
22710 /* We use char because int might match the return type of a gcc2
22711 builtin and then its argument prototype would still apply. */
22721 rm -f conftest.$ac_objext conftest$ac_exeext
22722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22723 (eval $ac_link) 2>conftest.er1
22725 grep -v '^ *+' conftest.er1 >conftest.err
22727 cat conftest.err >&5
22728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22729 (exit $ac_status); } &&
22730 { ac_try='test -z "$ac_c_werror_flag"
22731 || test ! -s conftest.err'
22732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22733 (eval $ac_try) 2>&5
22735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22736 (exit $ac_status); }; } &&
22737 { ac_try='test -s conftest$ac_exeext'
22738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22739 (eval $ac_try) 2>&5
22741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22742 (exit $ac_status); }; }; then
22743 ac_cv_lib_m_ccos=yes
22745 echo "$as_me: failed program was:" >&5
22746 sed 's/^/| /' conftest.$ac_ext >&5
22748 ac_cv_lib_m_ccos=no
22750 rm -f conftest.err conftest.$ac_objext \
22751 conftest$ac_exeext conftest.$ac_ext
22752 LIBS=$ac_check_lib_save_LIBS
22754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22755 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22756 if test $ac_cv_lib_m_ccos = yes; then
22758 cat >>confdefs.h <<\_ACEOF
22759 #define HAVE_CCOS 1
22764 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22765 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22766 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22767 echo $ECHO_N "(cached) $ECHO_C" >&6
22769 ac_check_lib_save_LIBS=$LIBS
22771 if test x$gcc_no_link = xyes; then
22772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22774 { (exit 1); exit 1; }; }
22776 cat >conftest.$ac_ext <<_ACEOF
22779 cat confdefs.h >>conftest.$ac_ext
22780 cat >>conftest.$ac_ext <<_ACEOF
22781 /* end confdefs.h. */
22783 /* Override any gcc2 internal prototype to avoid an error. */
22787 /* We use char because int might match the return type of a gcc2
22788 builtin and then its argument prototype would still apply. */
22798 rm -f conftest.$ac_objext conftest$ac_exeext
22799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22800 (eval $ac_link) 2>conftest.er1
22802 grep -v '^ *+' conftest.er1 >conftest.err
22804 cat conftest.err >&5
22805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22806 (exit $ac_status); } &&
22807 { ac_try='test -z "$ac_c_werror_flag"
22808 || test ! -s conftest.err'
22809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22810 (eval $ac_try) 2>&5
22812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22813 (exit $ac_status); }; } &&
22814 { ac_try='test -s conftest$ac_exeext'
22815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22816 (eval $ac_try) 2>&5
22818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22819 (exit $ac_status); }; }; then
22820 ac_cv_lib_m_ccosl=yes
22822 echo "$as_me: failed program was:" >&5
22823 sed 's/^/| /' conftest.$ac_ext >&5
22825 ac_cv_lib_m_ccosl=no
22827 rm -f conftest.err conftest.$ac_objext \
22828 conftest$ac_exeext conftest.$ac_ext
22829 LIBS=$ac_check_lib_save_LIBS
22831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22832 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22833 if test $ac_cv_lib_m_ccosl = yes; then
22835 cat >>confdefs.h <<\_ACEOF
22836 #define HAVE_CCOSL 1
22841 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22842 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22843 if test "${ac_cv_lib_m_coshf+set}" = set; then
22844 echo $ECHO_N "(cached) $ECHO_C" >&6
22846 ac_check_lib_save_LIBS=$LIBS
22848 if test x$gcc_no_link = xyes; then
22849 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22850 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22851 { (exit 1); exit 1; }; }
22853 cat >conftest.$ac_ext <<_ACEOF
22856 cat confdefs.h >>conftest.$ac_ext
22857 cat >>conftest.$ac_ext <<_ACEOF
22858 /* end confdefs.h. */
22860 /* Override any gcc2 internal prototype to avoid an error. */
22864 /* We use char because int might match the return type of a gcc2
22865 builtin and then its argument prototype would still apply. */
22875 rm -f conftest.$ac_objext conftest$ac_exeext
22876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22877 (eval $ac_link) 2>conftest.er1
22879 grep -v '^ *+' conftest.er1 >conftest.err
22881 cat conftest.err >&5
22882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22883 (exit $ac_status); } &&
22884 { ac_try='test -z "$ac_c_werror_flag"
22885 || test ! -s conftest.err'
22886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22887 (eval $ac_try) 2>&5
22889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22890 (exit $ac_status); }; } &&
22891 { ac_try='test -s conftest$ac_exeext'
22892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22893 (eval $ac_try) 2>&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); }; }; then
22897 ac_cv_lib_m_coshf=yes
22899 echo "$as_me: failed program was:" >&5
22900 sed 's/^/| /' conftest.$ac_ext >&5
22902 ac_cv_lib_m_coshf=no
22904 rm -f conftest.err conftest.$ac_objext \
22905 conftest$ac_exeext conftest.$ac_ext
22906 LIBS=$ac_check_lib_save_LIBS
22908 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22909 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22910 if test $ac_cv_lib_m_coshf = yes; then
22912 cat >>confdefs.h <<\_ACEOF
22913 #define HAVE_COSHF 1
22918 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22919 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22920 if test "${ac_cv_lib_m_cosh+set}" = set; then
22921 echo $ECHO_N "(cached) $ECHO_C" >&6
22923 ac_check_lib_save_LIBS=$LIBS
22925 if test x$gcc_no_link = xyes; then
22926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22928 { (exit 1); exit 1; }; }
22930 cat >conftest.$ac_ext <<_ACEOF
22933 cat confdefs.h >>conftest.$ac_ext
22934 cat >>conftest.$ac_ext <<_ACEOF
22935 /* end confdefs.h. */
22937 /* Override any gcc2 internal prototype to avoid an error. */
22941 /* We use char because int might match the return type of a gcc2
22942 builtin and then its argument prototype would still apply. */
22952 rm -f conftest.$ac_objext conftest$ac_exeext
22953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22954 (eval $ac_link) 2>conftest.er1
22956 grep -v '^ *+' conftest.er1 >conftest.err
22958 cat conftest.err >&5
22959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22960 (exit $ac_status); } &&
22961 { ac_try='test -z "$ac_c_werror_flag"
22962 || test ! -s conftest.err'
22963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22964 (eval $ac_try) 2>&5
22966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22967 (exit $ac_status); }; } &&
22968 { ac_try='test -s conftest$ac_exeext'
22969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22970 (eval $ac_try) 2>&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); }; }; then
22974 ac_cv_lib_m_cosh=yes
22976 echo "$as_me: failed program was:" >&5
22977 sed 's/^/| /' conftest.$ac_ext >&5
22979 ac_cv_lib_m_cosh=no
22981 rm -f conftest.err conftest.$ac_objext \
22982 conftest$ac_exeext conftest.$ac_ext
22983 LIBS=$ac_check_lib_save_LIBS
22985 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22986 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22987 if test $ac_cv_lib_m_cosh = yes; then
22989 cat >>confdefs.h <<\_ACEOF
22990 #define HAVE_COSH 1
22995 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22996 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22997 if test "${ac_cv_lib_m_coshl+set}" = set; then
22998 echo $ECHO_N "(cached) $ECHO_C" >&6
23000 ac_check_lib_save_LIBS=$LIBS
23002 if test x$gcc_no_link = xyes; then
23003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23005 { (exit 1); exit 1; }; }
23007 cat >conftest.$ac_ext <<_ACEOF
23010 cat confdefs.h >>conftest.$ac_ext
23011 cat >>conftest.$ac_ext <<_ACEOF
23012 /* end confdefs.h. */
23014 /* Override any gcc2 internal prototype to avoid an error. */
23018 /* We use char because int might match the return type of a gcc2
23019 builtin and then its argument prototype would still apply. */
23029 rm -f conftest.$ac_objext conftest$ac_exeext
23030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23031 (eval $ac_link) 2>conftest.er1
23033 grep -v '^ *+' conftest.er1 >conftest.err
23035 cat conftest.err >&5
23036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23037 (exit $ac_status); } &&
23038 { ac_try='test -z "$ac_c_werror_flag"
23039 || test ! -s conftest.err'
23040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23041 (eval $ac_try) 2>&5
23043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23044 (exit $ac_status); }; } &&
23045 { ac_try='test -s conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_cv_lib_m_coshl=yes
23053 echo "$as_me: failed program was:" >&5
23054 sed 's/^/| /' conftest.$ac_ext >&5
23056 ac_cv_lib_m_coshl=no
23058 rm -f conftest.err conftest.$ac_objext \
23059 conftest$ac_exeext conftest.$ac_ext
23060 LIBS=$ac_check_lib_save_LIBS
23062 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23063 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23064 if test $ac_cv_lib_m_coshl = yes; then
23066 cat >>confdefs.h <<\_ACEOF
23067 #define HAVE_COSHL 1
23072 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23073 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23074 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23077 ac_check_lib_save_LIBS=$LIBS
23079 if test x$gcc_no_link = xyes; then
23080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23082 { (exit 1); exit 1; }; }
23084 cat >conftest.$ac_ext <<_ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23091 /* Override any gcc2 internal prototype to avoid an error. */
23095 /* We use char because int might match the return type of a gcc2
23096 builtin and then its argument prototype would still apply. */
23106 rm -f conftest.$ac_objext conftest$ac_exeext
23107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23108 (eval $ac_link) 2>conftest.er1
23110 grep -v '^ *+' conftest.er1 >conftest.err
23112 cat conftest.err >&5
23113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23114 (exit $ac_status); } &&
23115 { ac_try='test -z "$ac_c_werror_flag"
23116 || test ! -s conftest.err'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; } &&
23122 { ac_try='test -s conftest$ac_exeext'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 ac_cv_lib_m_ccoshf=yes
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 ac_cv_lib_m_ccoshf=no
23135 rm -f conftest.err conftest.$ac_objext \
23136 conftest$ac_exeext conftest.$ac_ext
23137 LIBS=$ac_check_lib_save_LIBS
23139 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23140 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23141 if test $ac_cv_lib_m_ccoshf = yes; then
23143 cat >>confdefs.h <<\_ACEOF
23144 #define HAVE_CCOSHF 1
23149 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23150 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23151 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23152 echo $ECHO_N "(cached) $ECHO_C" >&6
23154 ac_check_lib_save_LIBS=$LIBS
23156 if test x$gcc_no_link = xyes; then
23157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23159 { (exit 1); exit 1; }; }
23161 cat >conftest.$ac_ext <<_ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23168 /* Override any gcc2 internal prototype to avoid an error. */
23172 /* We use char because int might match the return type of a gcc2
23173 builtin and then its argument prototype would still apply. */
23183 rm -f conftest.$ac_objext conftest$ac_exeext
23184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23185 (eval $ac_link) 2>conftest.er1
23187 grep -v '^ *+' conftest.er1 >conftest.err
23189 cat conftest.err >&5
23190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23191 (exit $ac_status); } &&
23192 { ac_try='test -z "$ac_c_werror_flag"
23193 || test ! -s conftest.err'
23194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23195 (eval $ac_try) 2>&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); }; } &&
23199 { ac_try='test -s conftest$ac_exeext'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; }; then
23205 ac_cv_lib_m_ccosh=yes
23207 echo "$as_me: failed program was:" >&5
23208 sed 's/^/| /' conftest.$ac_ext >&5
23210 ac_cv_lib_m_ccosh=no
23212 rm -f conftest.err conftest.$ac_objext \
23213 conftest$ac_exeext conftest.$ac_ext
23214 LIBS=$ac_check_lib_save_LIBS
23216 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23217 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23218 if test $ac_cv_lib_m_ccosh = yes; then
23220 cat >>confdefs.h <<\_ACEOF
23221 #define HAVE_CCOSH 1
23226 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23227 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23228 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23229 echo $ECHO_N "(cached) $ECHO_C" >&6
23231 ac_check_lib_save_LIBS=$LIBS
23233 if test x$gcc_no_link = xyes; then
23234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23236 { (exit 1); exit 1; }; }
23238 cat >conftest.$ac_ext <<_ACEOF
23241 cat confdefs.h >>conftest.$ac_ext
23242 cat >>conftest.$ac_ext <<_ACEOF
23243 /* end confdefs.h. */
23245 /* Override any gcc2 internal prototype to avoid an error. */
23249 /* We use char because int might match the return type of a gcc2
23250 builtin and then its argument prototype would still apply. */
23260 rm -f conftest.$ac_objext conftest$ac_exeext
23261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23262 (eval $ac_link) 2>conftest.er1
23264 grep -v '^ *+' conftest.er1 >conftest.err
23266 cat conftest.err >&5
23267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23268 (exit $ac_status); } &&
23269 { ac_try='test -z "$ac_c_werror_flag"
23270 || test ! -s conftest.err'
23271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23272 (eval $ac_try) 2>&5
23274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23275 (exit $ac_status); }; } &&
23276 { ac_try='test -s conftest$ac_exeext'
23277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23278 (eval $ac_try) 2>&5
23280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23281 (exit $ac_status); }; }; then
23282 ac_cv_lib_m_ccoshl=yes
23284 echo "$as_me: failed program was:" >&5
23285 sed 's/^/| /' conftest.$ac_ext >&5
23287 ac_cv_lib_m_ccoshl=no
23289 rm -f conftest.err conftest.$ac_objext \
23290 conftest$ac_exeext conftest.$ac_ext
23291 LIBS=$ac_check_lib_save_LIBS
23293 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23294 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23295 if test $ac_cv_lib_m_ccoshl = yes; then
23297 cat >>confdefs.h <<\_ACEOF
23298 #define HAVE_CCOSHL 1
23303 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23304 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23305 if test "${ac_cv_lib_m_expf+set}" = set; then
23306 echo $ECHO_N "(cached) $ECHO_C" >&6
23308 ac_check_lib_save_LIBS=$LIBS
23310 if test x$gcc_no_link = xyes; then
23311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23313 { (exit 1); exit 1; }; }
23315 cat >conftest.$ac_ext <<_ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23322 /* Override any gcc2 internal prototype to avoid an error. */
23326 /* We use char because int might match the return type of a gcc2
23327 builtin and then its argument prototype would still apply. */
23337 rm -f conftest.$ac_objext conftest$ac_exeext
23338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23339 (eval $ac_link) 2>conftest.er1
23341 grep -v '^ *+' conftest.er1 >conftest.err
23343 cat conftest.err >&5
23344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23345 (exit $ac_status); } &&
23346 { ac_try='test -z "$ac_c_werror_flag"
23347 || test ! -s conftest.err'
23348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23349 (eval $ac_try) 2>&5
23351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23352 (exit $ac_status); }; } &&
23353 { ac_try='test -s conftest$ac_exeext'
23354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23355 (eval $ac_try) 2>&5
23357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23358 (exit $ac_status); }; }; then
23359 ac_cv_lib_m_expf=yes
23361 echo "$as_me: failed program was:" >&5
23362 sed 's/^/| /' conftest.$ac_ext >&5
23364 ac_cv_lib_m_expf=no
23366 rm -f conftest.err conftest.$ac_objext \
23367 conftest$ac_exeext conftest.$ac_ext
23368 LIBS=$ac_check_lib_save_LIBS
23370 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23371 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23372 if test $ac_cv_lib_m_expf = yes; then
23374 cat >>confdefs.h <<\_ACEOF
23375 #define HAVE_EXPF 1
23380 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23381 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23382 if test "${ac_cv_lib_m_exp+set}" = set; then
23383 echo $ECHO_N "(cached) $ECHO_C" >&6
23385 ac_check_lib_save_LIBS=$LIBS
23387 if test x$gcc_no_link = xyes; then
23388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23390 { (exit 1); exit 1; }; }
23392 cat >conftest.$ac_ext <<_ACEOF
23395 cat confdefs.h >>conftest.$ac_ext
23396 cat >>conftest.$ac_ext <<_ACEOF
23397 /* end confdefs.h. */
23399 /* Override any gcc2 internal prototype to avoid an error. */
23403 /* We use char because int might match the return type of a gcc2
23404 builtin and then its argument prototype would still apply. */
23414 rm -f conftest.$ac_objext conftest$ac_exeext
23415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23416 (eval $ac_link) 2>conftest.er1
23418 grep -v '^ *+' conftest.er1 >conftest.err
23420 cat conftest.err >&5
23421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23422 (exit $ac_status); } &&
23423 { ac_try='test -z "$ac_c_werror_flag"
23424 || test ! -s conftest.err'
23425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23426 (eval $ac_try) 2>&5
23428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23429 (exit $ac_status); }; } &&
23430 { ac_try='test -s conftest$ac_exeext'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; }; then
23436 ac_cv_lib_m_exp=yes
23438 echo "$as_me: failed program was:" >&5
23439 sed 's/^/| /' conftest.$ac_ext >&5
23443 rm -f conftest.err conftest.$ac_objext \
23444 conftest$ac_exeext conftest.$ac_ext
23445 LIBS=$ac_check_lib_save_LIBS
23447 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23448 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23449 if test $ac_cv_lib_m_exp = yes; then
23451 cat >>confdefs.h <<\_ACEOF
23457 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23458 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23459 if test "${ac_cv_lib_m_expl+set}" = set; then
23460 echo $ECHO_N "(cached) $ECHO_C" >&6
23462 ac_check_lib_save_LIBS=$LIBS
23464 if test x$gcc_no_link = xyes; then
23465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23467 { (exit 1); exit 1; }; }
23469 cat >conftest.$ac_ext <<_ACEOF
23472 cat confdefs.h >>conftest.$ac_ext
23473 cat >>conftest.$ac_ext <<_ACEOF
23474 /* end confdefs.h. */
23476 /* Override any gcc2 internal prototype to avoid an error. */
23480 /* We use char because int might match the return type of a gcc2
23481 builtin and then its argument prototype would still apply. */
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23493 (eval $ac_link) 2>conftest.er1
23495 grep -v '^ *+' conftest.er1 >conftest.err
23497 cat conftest.err >&5
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); } &&
23500 { ac_try='test -z "$ac_c_werror_flag"
23501 || test ! -s conftest.err'
23502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23503 (eval $ac_try) 2>&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); }; } &&
23507 { ac_try='test -s conftest$ac_exeext'
23508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23509 (eval $ac_try) 2>&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); }; }; then
23513 ac_cv_lib_m_expl=yes
23515 echo "$as_me: failed program was:" >&5
23516 sed 's/^/| /' conftest.$ac_ext >&5
23518 ac_cv_lib_m_expl=no
23520 rm -f conftest.err conftest.$ac_objext \
23521 conftest$ac_exeext conftest.$ac_ext
23522 LIBS=$ac_check_lib_save_LIBS
23524 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23525 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23526 if test $ac_cv_lib_m_expl = yes; then
23528 cat >>confdefs.h <<\_ACEOF
23529 #define HAVE_EXPL 1
23534 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23535 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23536 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23537 echo $ECHO_N "(cached) $ECHO_C" >&6
23539 ac_check_lib_save_LIBS=$LIBS
23541 if test x$gcc_no_link = xyes; then
23542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23544 { (exit 1); exit 1; }; }
23546 cat >conftest.$ac_ext <<_ACEOF
23549 cat confdefs.h >>conftest.$ac_ext
23550 cat >>conftest.$ac_ext <<_ACEOF
23551 /* end confdefs.h. */
23553 /* Override any gcc2 internal prototype to avoid an error. */
23557 /* We use char because int might match the return type of a gcc2
23558 builtin and then its argument prototype would still apply. */
23568 rm -f conftest.$ac_objext conftest$ac_exeext
23569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23570 (eval $ac_link) 2>conftest.er1
23572 grep -v '^ *+' conftest.er1 >conftest.err
23574 cat conftest.err >&5
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); } &&
23577 { ac_try='test -z "$ac_c_werror_flag"
23578 || test ! -s conftest.err'
23579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23580 (eval $ac_try) 2>&5
23582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23583 (exit $ac_status); }; } &&
23584 { ac_try='test -s conftest$ac_exeext'
23585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23586 (eval $ac_try) 2>&5
23588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23589 (exit $ac_status); }; }; then
23590 ac_cv_lib_m_cexpf=yes
23592 echo "$as_me: failed program was:" >&5
23593 sed 's/^/| /' conftest.$ac_ext >&5
23595 ac_cv_lib_m_cexpf=no
23597 rm -f conftest.err conftest.$ac_objext \
23598 conftest$ac_exeext conftest.$ac_ext
23599 LIBS=$ac_check_lib_save_LIBS
23601 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23602 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23603 if test $ac_cv_lib_m_cexpf = yes; then
23605 cat >>confdefs.h <<\_ACEOF
23606 #define HAVE_CEXPF 1
23611 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23612 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23613 if test "${ac_cv_lib_m_cexp+set}" = set; then
23614 echo $ECHO_N "(cached) $ECHO_C" >&6
23616 ac_check_lib_save_LIBS=$LIBS
23618 if test x$gcc_no_link = xyes; then
23619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23621 { (exit 1); exit 1; }; }
23623 cat >conftest.$ac_ext <<_ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23630 /* Override any gcc2 internal prototype to avoid an error. */
23634 /* We use char because int might match the return type of a gcc2
23635 builtin and then its argument prototype would still apply. */
23645 rm -f conftest.$ac_objext conftest$ac_exeext
23646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23647 (eval $ac_link) 2>conftest.er1
23649 grep -v '^ *+' conftest.er1 >conftest.err
23651 cat conftest.err >&5
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); } &&
23654 { ac_try='test -z "$ac_c_werror_flag"
23655 || test ! -s conftest.err'
23656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23657 (eval $ac_try) 2>&5
23659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23660 (exit $ac_status); }; } &&
23661 { ac_try='test -s conftest$ac_exeext'
23662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23663 (eval $ac_try) 2>&5
23665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23666 (exit $ac_status); }; }; then
23667 ac_cv_lib_m_cexp=yes
23669 echo "$as_me: failed program was:" >&5
23670 sed 's/^/| /' conftest.$ac_ext >&5
23672 ac_cv_lib_m_cexp=no
23674 rm -f conftest.err conftest.$ac_objext \
23675 conftest$ac_exeext conftest.$ac_ext
23676 LIBS=$ac_check_lib_save_LIBS
23678 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23679 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23680 if test $ac_cv_lib_m_cexp = yes; then
23682 cat >>confdefs.h <<\_ACEOF
23683 #define HAVE_CEXP 1
23688 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23689 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23690 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23691 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 ac_check_lib_save_LIBS=$LIBS
23695 if test x$gcc_no_link = xyes; then
23696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23698 { (exit 1); exit 1; }; }
23700 cat >conftest.$ac_ext <<_ACEOF
23703 cat confdefs.h >>conftest.$ac_ext
23704 cat >>conftest.$ac_ext <<_ACEOF
23705 /* end confdefs.h. */
23707 /* Override any gcc2 internal prototype to avoid an error. */
23711 /* We use char because int might match the return type of a gcc2
23712 builtin and then its argument prototype would still apply. */
23722 rm -f conftest.$ac_objext conftest$ac_exeext
23723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23724 (eval $ac_link) 2>conftest.er1
23726 grep -v '^ *+' conftest.er1 >conftest.err
23728 cat conftest.err >&5
23729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23730 (exit $ac_status); } &&
23731 { ac_try='test -z "$ac_c_werror_flag"
23732 || test ! -s conftest.err'
23733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23734 (eval $ac_try) 2>&5
23736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23737 (exit $ac_status); }; } &&
23738 { ac_try='test -s conftest$ac_exeext'
23739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23740 (eval $ac_try) 2>&5
23742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23743 (exit $ac_status); }; }; then
23744 ac_cv_lib_m_cexpl=yes
23746 echo "$as_me: failed program was:" >&5
23747 sed 's/^/| /' conftest.$ac_ext >&5
23749 ac_cv_lib_m_cexpl=no
23751 rm -f conftest.err conftest.$ac_objext \
23752 conftest$ac_exeext conftest.$ac_ext
23753 LIBS=$ac_check_lib_save_LIBS
23755 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23756 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23757 if test $ac_cv_lib_m_cexpl = yes; then
23759 cat >>confdefs.h <<\_ACEOF
23760 #define HAVE_CEXPL 1
23765 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23766 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23767 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23768 echo $ECHO_N "(cached) $ECHO_C" >&6
23770 ac_check_lib_save_LIBS=$LIBS
23772 if test x$gcc_no_link = xyes; then
23773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23775 { (exit 1); exit 1; }; }
23777 cat >conftest.$ac_ext <<_ACEOF
23780 cat confdefs.h >>conftest.$ac_ext
23781 cat >>conftest.$ac_ext <<_ACEOF
23782 /* end confdefs.h. */
23784 /* Override any gcc2 internal prototype to avoid an error. */
23788 /* We use char because int might match the return type of a gcc2
23789 builtin and then its argument prototype would still apply. */
23799 rm -f conftest.$ac_objext conftest$ac_exeext
23800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23801 (eval $ac_link) 2>conftest.er1
23803 grep -v '^ *+' conftest.er1 >conftest.err
23805 cat conftest.err >&5
23806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23807 (exit $ac_status); } &&
23808 { ac_try='test -z "$ac_c_werror_flag"
23809 || test ! -s conftest.err'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; } &&
23815 { ac_try='test -s conftest$ac_exeext'
23816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817 (eval $ac_try) 2>&5
23819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820 (exit $ac_status); }; }; then
23821 ac_cv_lib_m_fabsf=yes
23823 echo "$as_me: failed program was:" >&5
23824 sed 's/^/| /' conftest.$ac_ext >&5
23826 ac_cv_lib_m_fabsf=no
23828 rm -f conftest.err conftest.$ac_objext \
23829 conftest$ac_exeext conftest.$ac_ext
23830 LIBS=$ac_check_lib_save_LIBS
23832 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23833 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23834 if test $ac_cv_lib_m_fabsf = yes; then
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_FABSF 1
23842 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23843 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23844 if test "${ac_cv_lib_m_fabs+set}" = set; then
23845 echo $ECHO_N "(cached) $ECHO_C" >&6
23847 ac_check_lib_save_LIBS=$LIBS
23849 if test x$gcc_no_link = xyes; then
23850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23852 { (exit 1); exit 1; }; }
23854 cat >conftest.$ac_ext <<_ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h. */
23861 /* Override any gcc2 internal prototype to avoid an error. */
23865 /* We use char because int might match the return type of a gcc2
23866 builtin and then its argument prototype would still apply. */
23876 rm -f conftest.$ac_objext conftest$ac_exeext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23878 (eval $ac_link) 2>conftest.er1
23880 grep -v '^ *+' conftest.er1 >conftest.err
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_c_werror_flag"
23886 || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try='test -s conftest$ac_exeext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 ac_cv_lib_m_fabs=yes
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23903 ac_cv_lib_m_fabs=no
23905 rm -f conftest.err conftest.$ac_objext \
23906 conftest$ac_exeext conftest.$ac_ext
23907 LIBS=$ac_check_lib_save_LIBS
23909 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23910 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23911 if test $ac_cv_lib_m_fabs = yes; then
23913 cat >>confdefs.h <<\_ACEOF
23914 #define HAVE_FABS 1
23919 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23920 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23921 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23922 echo $ECHO_N "(cached) $ECHO_C" >&6
23924 ac_check_lib_save_LIBS=$LIBS
23926 if test x$gcc_no_link = xyes; then
23927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23929 { (exit 1); exit 1; }; }
23931 cat >conftest.$ac_ext <<_ACEOF
23934 cat confdefs.h >>conftest.$ac_ext
23935 cat >>conftest.$ac_ext <<_ACEOF
23936 /* end confdefs.h. */
23938 /* Override any gcc2 internal prototype to avoid an error. */
23942 /* We use char because int might match the return type of a gcc2
23943 builtin and then its argument prototype would still apply. */
23953 rm -f conftest.$ac_objext conftest$ac_exeext
23954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23955 (eval $ac_link) 2>conftest.er1
23957 grep -v '^ *+' conftest.er1 >conftest.err
23959 cat conftest.err >&5
23960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23961 (exit $ac_status); } &&
23962 { ac_try='test -z "$ac_c_werror_flag"
23963 || test ! -s conftest.err'
23964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23965 (eval $ac_try) 2>&5
23967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23968 (exit $ac_status); }; } &&
23969 { ac_try='test -s conftest$ac_exeext'
23970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23971 (eval $ac_try) 2>&5
23973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23974 (exit $ac_status); }; }; then
23975 ac_cv_lib_m_fabsl=yes
23977 echo "$as_me: failed program was:" >&5
23978 sed 's/^/| /' conftest.$ac_ext >&5
23980 ac_cv_lib_m_fabsl=no
23982 rm -f conftest.err conftest.$ac_objext \
23983 conftest$ac_exeext conftest.$ac_ext
23984 LIBS=$ac_check_lib_save_LIBS
23986 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23987 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23988 if test $ac_cv_lib_m_fabsl = yes; then
23990 cat >>confdefs.h <<\_ACEOF
23991 #define HAVE_FABSL 1
23996 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23997 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23998 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23999 echo $ECHO_N "(cached) $ECHO_C" >&6
24001 ac_check_lib_save_LIBS=$LIBS
24003 if test x$gcc_no_link = xyes; then
24004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24006 { (exit 1); exit 1; }; }
24008 cat >conftest.$ac_ext <<_ACEOF
24011 cat confdefs.h >>conftest.$ac_ext
24012 cat >>conftest.$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24015 /* Override any gcc2 internal prototype to avoid an error. */
24019 /* We use char because int might match the return type of a gcc2
24020 builtin and then its argument prototype would still apply. */
24030 rm -f conftest.$ac_objext conftest$ac_exeext
24031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24032 (eval $ac_link) 2>conftest.er1
24034 grep -v '^ *+' conftest.er1 >conftest.err
24036 cat conftest.err >&5
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); } &&
24039 { ac_try='test -z "$ac_c_werror_flag"
24040 || test ! -s conftest.err'
24041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24042 (eval $ac_try) 2>&5
24044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24045 (exit $ac_status); }; } &&
24046 { ac_try='test -s conftest$ac_exeext'
24047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24048 (eval $ac_try) 2>&5
24050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24051 (exit $ac_status); }; }; then
24052 ac_cv_lib_m_cabsf=yes
24054 echo "$as_me: failed program was:" >&5
24055 sed 's/^/| /' conftest.$ac_ext >&5
24057 ac_cv_lib_m_cabsf=no
24059 rm -f conftest.err conftest.$ac_objext \
24060 conftest$ac_exeext conftest.$ac_ext
24061 LIBS=$ac_check_lib_save_LIBS
24063 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24064 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24065 if test $ac_cv_lib_m_cabsf = yes; then
24067 cat >>confdefs.h <<\_ACEOF
24068 #define HAVE_CABSF 1
24073 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24074 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24075 if test "${ac_cv_lib_m_cabs+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24078 ac_check_lib_save_LIBS=$LIBS
24080 if test x$gcc_no_link = xyes; then
24081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24083 { (exit 1); exit 1; }; }
24085 cat >conftest.$ac_ext <<_ACEOF
24088 cat confdefs.h >>conftest.$ac_ext
24089 cat >>conftest.$ac_ext <<_ACEOF
24090 /* end confdefs.h. */
24092 /* Override any gcc2 internal prototype to avoid an error. */
24096 /* We use char because int might match the return type of a gcc2
24097 builtin and then its argument prototype would still apply. */
24107 rm -f conftest.$ac_objext conftest$ac_exeext
24108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24109 (eval $ac_link) 2>conftest.er1
24111 grep -v '^ *+' conftest.er1 >conftest.err
24113 cat conftest.err >&5
24114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24115 (exit $ac_status); } &&
24116 { ac_try='test -z "$ac_c_werror_flag"
24117 || test ! -s conftest.err'
24118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24119 (eval $ac_try) 2>&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); }; } &&
24123 { ac_try='test -s conftest$ac_exeext'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; }; then
24129 ac_cv_lib_m_cabs=yes
24131 echo "$as_me: failed program was:" >&5
24132 sed 's/^/| /' conftest.$ac_ext >&5
24134 ac_cv_lib_m_cabs=no
24136 rm -f conftest.err conftest.$ac_objext \
24137 conftest$ac_exeext conftest.$ac_ext
24138 LIBS=$ac_check_lib_save_LIBS
24140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24141 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24142 if test $ac_cv_lib_m_cabs = yes; then
24144 cat >>confdefs.h <<\_ACEOF
24145 #define HAVE_CABS 1
24150 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24151 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24152 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24153 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 ac_check_lib_save_LIBS=$LIBS
24157 if test x$gcc_no_link = xyes; then
24158 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24159 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24160 { (exit 1); exit 1; }; }
24162 cat >conftest.$ac_ext <<_ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24169 /* Override any gcc2 internal prototype to avoid an error. */
24173 /* We use char because int might match the return type of a gcc2
24174 builtin and then its argument prototype would still apply. */
24184 rm -f conftest.$ac_objext conftest$ac_exeext
24185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24186 (eval $ac_link) 2>conftest.er1
24188 grep -v '^ *+' conftest.er1 >conftest.err
24190 cat conftest.err >&5
24191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24192 (exit $ac_status); } &&
24193 { ac_try='test -z "$ac_c_werror_flag"
24194 || test ! -s conftest.err'
24195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24196 (eval $ac_try) 2>&5
24198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24199 (exit $ac_status); }; } &&
24200 { ac_try='test -s conftest$ac_exeext'
24201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24202 (eval $ac_try) 2>&5
24204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24205 (exit $ac_status); }; }; then
24206 ac_cv_lib_m_cabsl=yes
24208 echo "$as_me: failed program was:" >&5
24209 sed 's/^/| /' conftest.$ac_ext >&5
24211 ac_cv_lib_m_cabsl=no
24213 rm -f conftest.err conftest.$ac_objext \
24214 conftest$ac_exeext conftest.$ac_ext
24215 LIBS=$ac_check_lib_save_LIBS
24217 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24218 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24219 if test $ac_cv_lib_m_cabsl = yes; then
24221 cat >>confdefs.h <<\_ACEOF
24222 #define HAVE_CABSL 1
24227 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24228 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24229 if test "${ac_cv_lib_m_floorf+set}" = set; then
24230 echo $ECHO_N "(cached) $ECHO_C" >&6
24232 ac_check_lib_save_LIBS=$LIBS
24234 if test x$gcc_no_link = xyes; then
24235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24237 { (exit 1); exit 1; }; }
24239 cat >conftest.$ac_ext <<_ACEOF
24242 cat confdefs.h >>conftest.$ac_ext
24243 cat >>conftest.$ac_ext <<_ACEOF
24244 /* end confdefs.h. */
24246 /* Override any gcc2 internal prototype to avoid an error. */
24250 /* We use char because int might match the return type of a gcc2
24251 builtin and then its argument prototype would still apply. */
24261 rm -f conftest.$ac_objext conftest$ac_exeext
24262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24263 (eval $ac_link) 2>conftest.er1
24265 grep -v '^ *+' conftest.er1 >conftest.err
24267 cat conftest.err >&5
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); } &&
24270 { ac_try='test -z "$ac_c_werror_flag"
24271 || test ! -s conftest.err'
24272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24273 (eval $ac_try) 2>&5
24275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24276 (exit $ac_status); }; } &&
24277 { ac_try='test -s conftest$ac_exeext'
24278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24279 (eval $ac_try) 2>&5
24281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24282 (exit $ac_status); }; }; then
24283 ac_cv_lib_m_floorf=yes
24285 echo "$as_me: failed program was:" >&5
24286 sed 's/^/| /' conftest.$ac_ext >&5
24288 ac_cv_lib_m_floorf=no
24290 rm -f conftest.err conftest.$ac_objext \
24291 conftest$ac_exeext conftest.$ac_ext
24292 LIBS=$ac_check_lib_save_LIBS
24294 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24295 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24296 if test $ac_cv_lib_m_floorf = yes; then
24298 cat >>confdefs.h <<\_ACEOF
24299 #define HAVE_FLOORF 1
24304 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24305 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24306 if test "${ac_cv_lib_m_floor+set}" = set; then
24307 echo $ECHO_N "(cached) $ECHO_C" >&6
24309 ac_check_lib_save_LIBS=$LIBS
24311 if test x$gcc_no_link = xyes; then
24312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24314 { (exit 1); exit 1; }; }
24316 cat >conftest.$ac_ext <<_ACEOF
24319 cat confdefs.h >>conftest.$ac_ext
24320 cat >>conftest.$ac_ext <<_ACEOF
24321 /* end confdefs.h. */
24323 /* Override any gcc2 internal prototype to avoid an error. */
24327 /* We use char because int might match the return type of a gcc2
24328 builtin and then its argument prototype would still apply. */
24338 rm -f conftest.$ac_objext conftest$ac_exeext
24339 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24340 (eval $ac_link) 2>conftest.er1
24342 grep -v '^ *+' conftest.er1 >conftest.err
24344 cat conftest.err >&5
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); } &&
24347 { ac_try='test -z "$ac_c_werror_flag"
24348 || test ! -s conftest.err'
24349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24350 (eval $ac_try) 2>&5
24352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24353 (exit $ac_status); }; } &&
24354 { ac_try='test -s conftest$ac_exeext'
24355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24356 (eval $ac_try) 2>&5
24358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24359 (exit $ac_status); }; }; then
24360 ac_cv_lib_m_floor=yes
24362 echo "$as_me: failed program was:" >&5
24363 sed 's/^/| /' conftest.$ac_ext >&5
24365 ac_cv_lib_m_floor=no
24367 rm -f conftest.err conftest.$ac_objext \
24368 conftest$ac_exeext conftest.$ac_ext
24369 LIBS=$ac_check_lib_save_LIBS
24371 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24372 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24373 if test $ac_cv_lib_m_floor = yes; then
24375 cat >>confdefs.h <<\_ACEOF
24376 #define HAVE_FLOOR 1
24381 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24382 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24383 if test "${ac_cv_lib_m_floorl+set}" = set; then
24384 echo $ECHO_N "(cached) $ECHO_C" >&6
24386 ac_check_lib_save_LIBS=$LIBS
24388 if test x$gcc_no_link = xyes; then
24389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24391 { (exit 1); exit 1; }; }
24393 cat >conftest.$ac_ext <<_ACEOF
24396 cat confdefs.h >>conftest.$ac_ext
24397 cat >>conftest.$ac_ext <<_ACEOF
24398 /* end confdefs.h. */
24400 /* Override any gcc2 internal prototype to avoid an error. */
24404 /* We use char because int might match the return type of a gcc2
24405 builtin and then its argument prototype would still apply. */
24415 rm -f conftest.$ac_objext conftest$ac_exeext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24417 (eval $ac_link) 2>conftest.er1
24419 grep -v '^ *+' conftest.er1 >conftest.err
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_c_werror_flag"
24425 || test ! -s conftest.err'
24426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24427 (eval $ac_try) 2>&5
24429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24430 (exit $ac_status); }; } &&
24431 { ac_try='test -s conftest$ac_exeext'
24432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24433 (eval $ac_try) 2>&5
24435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24436 (exit $ac_status); }; }; then
24437 ac_cv_lib_m_floorl=yes
24439 echo "$as_me: failed program was:" >&5
24440 sed 's/^/| /' conftest.$ac_ext >&5
24442 ac_cv_lib_m_floorl=no
24444 rm -f conftest.err conftest.$ac_objext \
24445 conftest$ac_exeext conftest.$ac_ext
24446 LIBS=$ac_check_lib_save_LIBS
24448 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24449 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24450 if test $ac_cv_lib_m_floorl = yes; then
24452 cat >>confdefs.h <<\_ACEOF
24453 #define HAVE_FLOORL 1
24458 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24459 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24460 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24461 echo $ECHO_N "(cached) $ECHO_C" >&6
24463 ac_check_lib_save_LIBS=$LIBS
24465 if test x$gcc_no_link = xyes; then
24466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24468 { (exit 1); exit 1; }; }
24470 cat >conftest.$ac_ext <<_ACEOF
24473 cat confdefs.h >>conftest.$ac_ext
24474 cat >>conftest.$ac_ext <<_ACEOF
24475 /* end confdefs.h. */
24477 /* Override any gcc2 internal prototype to avoid an error. */
24481 /* We use char because int might match the return type of a gcc2
24482 builtin and then its argument prototype would still apply. */
24492 rm -f conftest.$ac_objext conftest$ac_exeext
24493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24494 (eval $ac_link) 2>conftest.er1
24496 grep -v '^ *+' conftest.er1 >conftest.err
24498 cat conftest.err >&5
24499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24500 (exit $ac_status); } &&
24501 { ac_try='test -z "$ac_c_werror_flag"
24502 || test ! -s conftest.err'
24503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24504 (eval $ac_try) 2>&5
24506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24507 (exit $ac_status); }; } &&
24508 { ac_try='test -s conftest$ac_exeext'
24509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24510 (eval $ac_try) 2>&5
24512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24513 (exit $ac_status); }; }; then
24514 ac_cv_lib_m_fmodf=yes
24516 echo "$as_me: failed program was:" >&5
24517 sed 's/^/| /' conftest.$ac_ext >&5
24519 ac_cv_lib_m_fmodf=no
24521 rm -f conftest.err conftest.$ac_objext \
24522 conftest$ac_exeext conftest.$ac_ext
24523 LIBS=$ac_check_lib_save_LIBS
24525 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24526 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24527 if test $ac_cv_lib_m_fmodf = yes; then
24529 cat >>confdefs.h <<\_ACEOF
24530 #define HAVE_FMODF 1
24535 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24536 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24537 if test "${ac_cv_lib_m_fmod+set}" = set; then
24538 echo $ECHO_N "(cached) $ECHO_C" >&6
24540 ac_check_lib_save_LIBS=$LIBS
24542 if test x$gcc_no_link = xyes; then
24543 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24544 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24545 { (exit 1); exit 1; }; }
24547 cat >conftest.$ac_ext <<_ACEOF
24550 cat confdefs.h >>conftest.$ac_ext
24551 cat >>conftest.$ac_ext <<_ACEOF
24552 /* end confdefs.h. */
24554 /* Override any gcc2 internal prototype to avoid an error. */
24558 /* We use char because int might match the return type of a gcc2
24559 builtin and then its argument prototype would still apply. */
24569 rm -f conftest.$ac_objext conftest$ac_exeext
24570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24571 (eval $ac_link) 2>conftest.er1
24573 grep -v '^ *+' conftest.er1 >conftest.err
24575 cat conftest.err >&5
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); } &&
24578 { ac_try='test -z "$ac_c_werror_flag"
24579 || test ! -s conftest.err'
24580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24581 (eval $ac_try) 2>&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); }; } &&
24585 { ac_try='test -s conftest$ac_exeext'
24586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24587 (eval $ac_try) 2>&5
24589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24590 (exit $ac_status); }; }; then
24591 ac_cv_lib_m_fmod=yes
24593 echo "$as_me: failed program was:" >&5
24594 sed 's/^/| /' conftest.$ac_ext >&5
24596 ac_cv_lib_m_fmod=no
24598 rm -f conftest.err conftest.$ac_objext \
24599 conftest$ac_exeext conftest.$ac_ext
24600 LIBS=$ac_check_lib_save_LIBS
24602 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24603 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24604 if test $ac_cv_lib_m_fmod = yes; then
24606 cat >>confdefs.h <<\_ACEOF
24607 #define HAVE_FMOD 1
24612 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24613 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24614 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24615 echo $ECHO_N "(cached) $ECHO_C" >&6
24617 ac_check_lib_save_LIBS=$LIBS
24619 if test x$gcc_no_link = xyes; then
24620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24622 { (exit 1); exit 1; }; }
24624 cat >conftest.$ac_ext <<_ACEOF
24627 cat confdefs.h >>conftest.$ac_ext
24628 cat >>conftest.$ac_ext <<_ACEOF
24629 /* end confdefs.h. */
24631 /* Override any gcc2 internal prototype to avoid an error. */
24635 /* We use char because int might match the return type of a gcc2
24636 builtin and then its argument prototype would still apply. */
24646 rm -f conftest.$ac_objext conftest$ac_exeext
24647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24648 (eval $ac_link) 2>conftest.er1
24650 grep -v '^ *+' conftest.er1 >conftest.err
24652 cat conftest.err >&5
24653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24654 (exit $ac_status); } &&
24655 { ac_try='test -z "$ac_c_werror_flag"
24656 || test ! -s conftest.err'
24657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24658 (eval $ac_try) 2>&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); }; } &&
24662 { ac_try='test -s conftest$ac_exeext'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; }; then
24668 ac_cv_lib_m_fmodl=yes
24670 echo "$as_me: failed program was:" >&5
24671 sed 's/^/| /' conftest.$ac_ext >&5
24673 ac_cv_lib_m_fmodl=no
24675 rm -f conftest.err conftest.$ac_objext \
24676 conftest$ac_exeext conftest.$ac_ext
24677 LIBS=$ac_check_lib_save_LIBS
24679 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24680 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24681 if test $ac_cv_lib_m_fmodl = yes; then
24683 cat >>confdefs.h <<\_ACEOF
24684 #define HAVE_FMODL 1
24689 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24690 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24691 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24692 echo $ECHO_N "(cached) $ECHO_C" >&6
24694 ac_check_lib_save_LIBS=$LIBS
24696 if test x$gcc_no_link = xyes; then
24697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24699 { (exit 1); exit 1; }; }
24701 cat >conftest.$ac_ext <<_ACEOF
24704 cat confdefs.h >>conftest.$ac_ext
24705 cat >>conftest.$ac_ext <<_ACEOF
24706 /* end confdefs.h. */
24708 /* Override any gcc2 internal prototype to avoid an error. */
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24723 rm -f conftest.$ac_objext conftest$ac_exeext
24724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24725 (eval $ac_link) 2>conftest.er1
24727 grep -v '^ *+' conftest.er1 >conftest.err
24729 cat conftest.err >&5
24730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24731 (exit $ac_status); } &&
24732 { ac_try='test -z "$ac_c_werror_flag"
24733 || test ! -s conftest.err'
24734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24735 (eval $ac_try) 2>&5
24737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24738 (exit $ac_status); }; } &&
24739 { ac_try='test -s conftest$ac_exeext'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; }; then
24745 ac_cv_lib_m_frexpf=yes
24747 echo "$as_me: failed program was:" >&5
24748 sed 's/^/| /' conftest.$ac_ext >&5
24750 ac_cv_lib_m_frexpf=no
24752 rm -f conftest.err conftest.$ac_objext \
24753 conftest$ac_exeext conftest.$ac_ext
24754 LIBS=$ac_check_lib_save_LIBS
24756 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24757 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24758 if test $ac_cv_lib_m_frexpf = yes; then
24760 cat >>confdefs.h <<\_ACEOF
24761 #define HAVE_FREXPF 1
24766 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24767 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24768 if test "${ac_cv_lib_m_frexp+set}" = set; then
24769 echo $ECHO_N "(cached) $ECHO_C" >&6
24771 ac_check_lib_save_LIBS=$LIBS
24773 if test x$gcc_no_link = xyes; then
24774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24776 { (exit 1); exit 1; }; }
24778 cat >conftest.$ac_ext <<_ACEOF
24781 cat confdefs.h >>conftest.$ac_ext
24782 cat >>conftest.$ac_ext <<_ACEOF
24783 /* end confdefs.h. */
24785 /* Override any gcc2 internal prototype to avoid an error. */
24789 /* We use char because int might match the return type of a gcc2
24790 builtin and then its argument prototype would still apply. */
24800 rm -f conftest.$ac_objext conftest$ac_exeext
24801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24802 (eval $ac_link) 2>conftest.er1
24804 grep -v '^ *+' conftest.er1 >conftest.err
24806 cat conftest.err >&5
24807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24808 (exit $ac_status); } &&
24809 { ac_try='test -z "$ac_c_werror_flag"
24810 || test ! -s conftest.err'
24811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24812 (eval $ac_try) 2>&5
24814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24815 (exit $ac_status); }; } &&
24816 { ac_try='test -s conftest$ac_exeext'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; }; then
24822 ac_cv_lib_m_frexp=yes
24824 echo "$as_me: failed program was:" >&5
24825 sed 's/^/| /' conftest.$ac_ext >&5
24827 ac_cv_lib_m_frexp=no
24829 rm -f conftest.err conftest.$ac_objext \
24830 conftest$ac_exeext conftest.$ac_ext
24831 LIBS=$ac_check_lib_save_LIBS
24833 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24834 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24835 if test $ac_cv_lib_m_frexp = yes; then
24837 cat >>confdefs.h <<\_ACEOF
24838 #define HAVE_FREXP 1
24843 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24844 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24845 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24846 echo $ECHO_N "(cached) $ECHO_C" >&6
24848 ac_check_lib_save_LIBS=$LIBS
24850 if test x$gcc_no_link = xyes; then
24851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24853 { (exit 1); exit 1; }; }
24855 cat >conftest.$ac_ext <<_ACEOF
24858 cat confdefs.h >>conftest.$ac_ext
24859 cat >>conftest.$ac_ext <<_ACEOF
24860 /* end confdefs.h. */
24862 /* Override any gcc2 internal prototype to avoid an error. */
24866 /* We use char because int might match the return type of a gcc2
24867 builtin and then its argument prototype would still apply. */
24877 rm -f conftest.$ac_objext conftest$ac_exeext
24878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24879 (eval $ac_link) 2>conftest.er1
24881 grep -v '^ *+' conftest.er1 >conftest.err
24883 cat conftest.err >&5
24884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24885 (exit $ac_status); } &&
24886 { ac_try='test -z "$ac_c_werror_flag"
24887 || test ! -s conftest.err'
24888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24889 (eval $ac_try) 2>&5
24891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24892 (exit $ac_status); }; } &&
24893 { ac_try='test -s conftest$ac_exeext'
24894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24895 (eval $ac_try) 2>&5
24897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24898 (exit $ac_status); }; }; then
24899 ac_cv_lib_m_frexpl=yes
24901 echo "$as_me: failed program was:" >&5
24902 sed 's/^/| /' conftest.$ac_ext >&5
24904 ac_cv_lib_m_frexpl=no
24906 rm -f conftest.err conftest.$ac_objext \
24907 conftest$ac_exeext conftest.$ac_ext
24908 LIBS=$ac_check_lib_save_LIBS
24910 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24911 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24912 if test $ac_cv_lib_m_frexpl = yes; then
24914 cat >>confdefs.h <<\_ACEOF
24915 #define HAVE_FREXPL 1
24920 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24921 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24922 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24923 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 ac_check_lib_save_LIBS=$LIBS
24927 if test x$gcc_no_link = xyes; then
24928 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24930 { (exit 1); exit 1; }; }
24932 cat >conftest.$ac_ext <<_ACEOF
24935 cat confdefs.h >>conftest.$ac_ext
24936 cat >>conftest.$ac_ext <<_ACEOF
24937 /* end confdefs.h. */
24939 /* Override any gcc2 internal prototype to avoid an error. */
24943 /* We use char because int might match the return type of a gcc2
24944 builtin and then its argument prototype would still apply. */
24954 rm -f conftest.$ac_objext conftest$ac_exeext
24955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24956 (eval $ac_link) 2>conftest.er1
24958 grep -v '^ *+' conftest.er1 >conftest.err
24960 cat conftest.err >&5
24961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24962 (exit $ac_status); } &&
24963 { ac_try='test -z "$ac_c_werror_flag"
24964 || test ! -s conftest.err'
24965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966 (eval $ac_try) 2>&5
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); }; } &&
24970 { ac_try='test -s conftest$ac_exeext'
24971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24972 (eval $ac_try) 2>&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); }; }; then
24976 ac_cv_lib_m_hypotf=yes
24978 echo "$as_me: failed program was:" >&5
24979 sed 's/^/| /' conftest.$ac_ext >&5
24981 ac_cv_lib_m_hypotf=no
24983 rm -f conftest.err conftest.$ac_objext \
24984 conftest$ac_exeext conftest.$ac_ext
24985 LIBS=$ac_check_lib_save_LIBS
24987 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24988 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24989 if test $ac_cv_lib_m_hypotf = yes; then
24991 cat >>confdefs.h <<\_ACEOF
24992 #define HAVE_HYPOTF 1
24997 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24998 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24999 if test "${ac_cv_lib_m_hypot+set}" = set; then
25000 echo $ECHO_N "(cached) $ECHO_C" >&6
25002 ac_check_lib_save_LIBS=$LIBS
25004 if test x$gcc_no_link = xyes; then
25005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25007 { (exit 1); exit 1; }; }
25009 cat >conftest.$ac_ext <<_ACEOF
25012 cat confdefs.h >>conftest.$ac_ext
25013 cat >>conftest.$ac_ext <<_ACEOF
25014 /* end confdefs.h. */
25016 /* Override any gcc2 internal prototype to avoid an error. */
25020 /* We use char because int might match the return type of a gcc2
25021 builtin and then its argument prototype would still apply. */
25031 rm -f conftest.$ac_objext conftest$ac_exeext
25032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25033 (eval $ac_link) 2>conftest.er1
25035 grep -v '^ *+' conftest.er1 >conftest.err
25037 cat conftest.err >&5
25038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25039 (exit $ac_status); } &&
25040 { ac_try='test -z "$ac_c_werror_flag"
25041 || test ! -s conftest.err'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; } &&
25047 { ac_try='test -s conftest$ac_exeext'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; }; then
25053 ac_cv_lib_m_hypot=yes
25055 echo "$as_me: failed program was:" >&5
25056 sed 's/^/| /' conftest.$ac_ext >&5
25058 ac_cv_lib_m_hypot=no
25060 rm -f conftest.err conftest.$ac_objext \
25061 conftest$ac_exeext conftest.$ac_ext
25062 LIBS=$ac_check_lib_save_LIBS
25064 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25065 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25066 if test $ac_cv_lib_m_hypot = yes; then
25068 cat >>confdefs.h <<\_ACEOF
25069 #define HAVE_HYPOT 1
25074 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25075 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25076 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25077 echo $ECHO_N "(cached) $ECHO_C" >&6
25079 ac_check_lib_save_LIBS=$LIBS
25081 if test x$gcc_no_link = xyes; then
25082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25084 { (exit 1); exit 1; }; }
25086 cat >conftest.$ac_ext <<_ACEOF
25089 cat confdefs.h >>conftest.$ac_ext
25090 cat >>conftest.$ac_ext <<_ACEOF
25091 /* end confdefs.h. */
25093 /* Override any gcc2 internal prototype to avoid an error. */
25097 /* We use char because int might match the return type of a gcc2
25098 builtin and then its argument prototype would still apply. */
25108 rm -f conftest.$ac_objext conftest$ac_exeext
25109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25110 (eval $ac_link) 2>conftest.er1
25112 grep -v '^ *+' conftest.er1 >conftest.err
25114 cat conftest.err >&5
25115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25116 (exit $ac_status); } &&
25117 { ac_try='test -z "$ac_c_werror_flag"
25118 || test ! -s conftest.err'
25119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25120 (eval $ac_try) 2>&5
25122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25123 (exit $ac_status); }; } &&
25124 { ac_try='test -s conftest$ac_exeext'
25125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25126 (eval $ac_try) 2>&5
25128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25129 (exit $ac_status); }; }; then
25130 ac_cv_lib_m_hypotl=yes
25132 echo "$as_me: failed program was:" >&5
25133 sed 's/^/| /' conftest.$ac_ext >&5
25135 ac_cv_lib_m_hypotl=no
25137 rm -f conftest.err conftest.$ac_objext \
25138 conftest$ac_exeext conftest.$ac_ext
25139 LIBS=$ac_check_lib_save_LIBS
25141 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25142 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25143 if test $ac_cv_lib_m_hypotl = yes; then
25145 cat >>confdefs.h <<\_ACEOF
25146 #define HAVE_HYPOTL 1
25151 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25152 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25153 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25154 echo $ECHO_N "(cached) $ECHO_C" >&6
25156 ac_check_lib_save_LIBS=$LIBS
25158 if test x$gcc_no_link = xyes; then
25159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25161 { (exit 1); exit 1; }; }
25163 cat >conftest.$ac_ext <<_ACEOF
25166 cat confdefs.h >>conftest.$ac_ext
25167 cat >>conftest.$ac_ext <<_ACEOF
25168 /* end confdefs.h. */
25170 /* Override any gcc2 internal prototype to avoid an error. */
25174 /* We use char because int might match the return type of a gcc2
25175 builtin and then its argument prototype would still apply. */
25185 rm -f conftest.$ac_objext conftest$ac_exeext
25186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25187 (eval $ac_link) 2>conftest.er1
25189 grep -v '^ *+' conftest.er1 >conftest.err
25191 cat conftest.err >&5
25192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25193 (exit $ac_status); } &&
25194 { ac_try='test -z "$ac_c_werror_flag"
25195 || test ! -s conftest.err'
25196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25197 (eval $ac_try) 2>&5
25199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25200 (exit $ac_status); }; } &&
25201 { ac_try='test -s conftest$ac_exeext'
25202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25203 (eval $ac_try) 2>&5
25205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25206 (exit $ac_status); }; }; then
25207 ac_cv_lib_m_ldexpf=yes
25209 echo "$as_me: failed program was:" >&5
25210 sed 's/^/| /' conftest.$ac_ext >&5
25212 ac_cv_lib_m_ldexpf=no
25214 rm -f conftest.err conftest.$ac_objext \
25215 conftest$ac_exeext conftest.$ac_ext
25216 LIBS=$ac_check_lib_save_LIBS
25218 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25219 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25220 if test $ac_cv_lib_m_ldexpf = yes; then
25222 cat >>confdefs.h <<\_ACEOF
25223 #define HAVE_LDEXPF 1
25228 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25229 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25230 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25233 ac_check_lib_save_LIBS=$LIBS
25235 if test x$gcc_no_link = xyes; then
25236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25238 { (exit 1); exit 1; }; }
25240 cat >conftest.$ac_ext <<_ACEOF
25243 cat confdefs.h >>conftest.$ac_ext
25244 cat >>conftest.$ac_ext <<_ACEOF
25245 /* end confdefs.h. */
25247 /* Override any gcc2 internal prototype to avoid an error. */
25251 /* We use char because int might match the return type of a gcc2
25252 builtin and then its argument prototype would still apply. */
25262 rm -f conftest.$ac_objext conftest$ac_exeext
25263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25264 (eval $ac_link) 2>conftest.er1
25266 grep -v '^ *+' conftest.er1 >conftest.err
25268 cat conftest.err >&5
25269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25270 (exit $ac_status); } &&
25271 { ac_try='test -z "$ac_c_werror_flag"
25272 || test ! -s conftest.err'
25273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25274 (eval $ac_try) 2>&5
25276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25277 (exit $ac_status); }; } &&
25278 { ac_try='test -s conftest$ac_exeext'
25279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25280 (eval $ac_try) 2>&5
25282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25283 (exit $ac_status); }; }; then
25284 ac_cv_lib_m_ldexp=yes
25286 echo "$as_me: failed program was:" >&5
25287 sed 's/^/| /' conftest.$ac_ext >&5
25289 ac_cv_lib_m_ldexp=no
25291 rm -f conftest.err conftest.$ac_objext \
25292 conftest$ac_exeext conftest.$ac_ext
25293 LIBS=$ac_check_lib_save_LIBS
25295 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25296 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25297 if test $ac_cv_lib_m_ldexp = yes; then
25299 cat >>confdefs.h <<\_ACEOF
25300 #define HAVE_LDEXP 1
25305 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25306 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25307 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25308 echo $ECHO_N "(cached) $ECHO_C" >&6
25310 ac_check_lib_save_LIBS=$LIBS
25312 if test x$gcc_no_link = xyes; then
25313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25315 { (exit 1); exit 1; }; }
25317 cat >conftest.$ac_ext <<_ACEOF
25320 cat confdefs.h >>conftest.$ac_ext
25321 cat >>conftest.$ac_ext <<_ACEOF
25322 /* end confdefs.h. */
25324 /* Override any gcc2 internal prototype to avoid an error. */
25328 /* We use char because int might match the return type of a gcc2
25329 builtin and then its argument prototype would still apply. */
25339 rm -f conftest.$ac_objext conftest$ac_exeext
25340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25341 (eval $ac_link) 2>conftest.er1
25343 grep -v '^ *+' conftest.er1 >conftest.err
25345 cat conftest.err >&5
25346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25347 (exit $ac_status); } &&
25348 { ac_try='test -z "$ac_c_werror_flag"
25349 || test ! -s conftest.err'
25350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25351 (eval $ac_try) 2>&5
25353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25354 (exit $ac_status); }; } &&
25355 { ac_try='test -s conftest$ac_exeext'
25356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25357 (eval $ac_try) 2>&5
25359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25360 (exit $ac_status); }; }; then
25361 ac_cv_lib_m_ldexpl=yes
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25366 ac_cv_lib_m_ldexpl=no
25368 rm -f conftest.err conftest.$ac_objext \
25369 conftest$ac_exeext conftest.$ac_ext
25370 LIBS=$ac_check_lib_save_LIBS
25372 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25373 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25374 if test $ac_cv_lib_m_ldexpl = yes; then
25376 cat >>confdefs.h <<\_ACEOF
25377 #define HAVE_LDEXPL 1
25382 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25383 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25384 if test "${ac_cv_lib_m_logf+set}" = set; then
25385 echo $ECHO_N "(cached) $ECHO_C" >&6
25387 ac_check_lib_save_LIBS=$LIBS
25389 if test x$gcc_no_link = xyes; then
25390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25392 { (exit 1); exit 1; }; }
25394 cat >conftest.$ac_ext <<_ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25401 /* Override any gcc2 internal prototype to avoid an error. */
25405 /* We use char because int might match the return type of a gcc2
25406 builtin and then its argument prototype would still apply. */
25416 rm -f conftest.$ac_objext conftest$ac_exeext
25417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25418 (eval $ac_link) 2>conftest.er1
25420 grep -v '^ *+' conftest.er1 >conftest.err
25422 cat conftest.err >&5
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); } &&
25425 { ac_try='test -z "$ac_c_werror_flag"
25426 || test ! -s conftest.err'
25427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25428 (eval $ac_try) 2>&5
25430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25431 (exit $ac_status); }; } &&
25432 { ac_try='test -s conftest$ac_exeext'
25433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25434 (eval $ac_try) 2>&5
25436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25437 (exit $ac_status); }; }; then
25438 ac_cv_lib_m_logf=yes
25440 echo "$as_me: failed program was:" >&5
25441 sed 's/^/| /' conftest.$ac_ext >&5
25443 ac_cv_lib_m_logf=no
25445 rm -f conftest.err conftest.$ac_objext \
25446 conftest$ac_exeext conftest.$ac_ext
25447 LIBS=$ac_check_lib_save_LIBS
25449 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25450 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25451 if test $ac_cv_lib_m_logf = yes; then
25453 cat >>confdefs.h <<\_ACEOF
25454 #define HAVE_LOGF 1
25459 echo "$as_me:$LINENO: checking for log in -lm" >&5
25460 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25461 if test "${ac_cv_lib_m_log+set}" = set; then
25462 echo $ECHO_N "(cached) $ECHO_C" >&6
25464 ac_check_lib_save_LIBS=$LIBS
25466 if test x$gcc_no_link = xyes; then
25467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25469 { (exit 1); exit 1; }; }
25471 cat >conftest.$ac_ext <<_ACEOF
25474 cat confdefs.h >>conftest.$ac_ext
25475 cat >>conftest.$ac_ext <<_ACEOF
25476 /* end confdefs.h. */
25478 /* Override any gcc2 internal prototype to avoid an error. */
25482 /* We use char because int might match the return type of a gcc2
25483 builtin and then its argument prototype would still apply. */
25493 rm -f conftest.$ac_objext conftest$ac_exeext
25494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25495 (eval $ac_link) 2>conftest.er1
25497 grep -v '^ *+' conftest.er1 >conftest.err
25499 cat conftest.err >&5
25500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25501 (exit $ac_status); } &&
25502 { ac_try='test -z "$ac_c_werror_flag"
25503 || test ! -s conftest.err'
25504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25505 (eval $ac_try) 2>&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); }; } &&
25509 { ac_try='test -s conftest$ac_exeext'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; }; then
25515 ac_cv_lib_m_log=yes
25517 echo "$as_me: failed program was:" >&5
25518 sed 's/^/| /' conftest.$ac_ext >&5
25522 rm -f conftest.err conftest.$ac_objext \
25523 conftest$ac_exeext conftest.$ac_ext
25524 LIBS=$ac_check_lib_save_LIBS
25526 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25527 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25528 if test $ac_cv_lib_m_log = yes; then
25530 cat >>confdefs.h <<\_ACEOF
25536 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25537 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25538 if test "${ac_cv_lib_m_logl+set}" = set; then
25539 echo $ECHO_N "(cached) $ECHO_C" >&6
25541 ac_check_lib_save_LIBS=$LIBS
25543 if test x$gcc_no_link = xyes; then
25544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25546 { (exit 1); exit 1; }; }
25548 cat >conftest.$ac_ext <<_ACEOF
25551 cat confdefs.h >>conftest.$ac_ext
25552 cat >>conftest.$ac_ext <<_ACEOF
25553 /* end confdefs.h. */
25555 /* Override any gcc2 internal prototype to avoid an error. */
25559 /* We use char because int might match the return type of a gcc2
25560 builtin and then its argument prototype would still apply. */
25570 rm -f conftest.$ac_objext conftest$ac_exeext
25571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25572 (eval $ac_link) 2>conftest.er1
25574 grep -v '^ *+' conftest.er1 >conftest.err
25576 cat conftest.err >&5
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); } &&
25579 { ac_try='test -z "$ac_c_werror_flag"
25580 || test ! -s conftest.err'
25581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25582 (eval $ac_try) 2>&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); }; } &&
25586 { ac_try='test -s conftest$ac_exeext'
25587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25588 (eval $ac_try) 2>&5
25590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25591 (exit $ac_status); }; }; then
25592 ac_cv_lib_m_logl=yes
25594 echo "$as_me: failed program was:" >&5
25595 sed 's/^/| /' conftest.$ac_ext >&5
25597 ac_cv_lib_m_logl=no
25599 rm -f conftest.err conftest.$ac_objext \
25600 conftest$ac_exeext conftest.$ac_ext
25601 LIBS=$ac_check_lib_save_LIBS
25603 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25604 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25605 if test $ac_cv_lib_m_logl = yes; then
25607 cat >>confdefs.h <<\_ACEOF
25608 #define HAVE_LOGL 1
25613 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25614 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25615 if test "${ac_cv_lib_m_clogf+set}" = set; then
25616 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 ac_check_lib_save_LIBS=$LIBS
25620 if test x$gcc_no_link = xyes; then
25621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25623 { (exit 1); exit 1; }; }
25625 cat >conftest.$ac_ext <<_ACEOF
25628 cat confdefs.h >>conftest.$ac_ext
25629 cat >>conftest.$ac_ext <<_ACEOF
25630 /* end confdefs.h. */
25632 /* Override any gcc2 internal prototype to avoid an error. */
25636 /* We use char because int might match the return type of a gcc2
25637 builtin and then its argument prototype would still apply. */
25647 rm -f conftest.$ac_objext conftest$ac_exeext
25648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25649 (eval $ac_link) 2>conftest.er1
25651 grep -v '^ *+' conftest.er1 >conftest.err
25653 cat conftest.err >&5
25654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25655 (exit $ac_status); } &&
25656 { ac_try='test -z "$ac_c_werror_flag"
25657 || test ! -s conftest.err'
25658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25659 (eval $ac_try) 2>&5
25661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25662 (exit $ac_status); }; } &&
25663 { ac_try='test -s conftest$ac_exeext'
25664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25665 (eval $ac_try) 2>&5
25667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25668 (exit $ac_status); }; }; then
25669 ac_cv_lib_m_clogf=yes
25671 echo "$as_me: failed program was:" >&5
25672 sed 's/^/| /' conftest.$ac_ext >&5
25674 ac_cv_lib_m_clogf=no
25676 rm -f conftest.err conftest.$ac_objext \
25677 conftest$ac_exeext conftest.$ac_ext
25678 LIBS=$ac_check_lib_save_LIBS
25680 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25681 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25682 if test $ac_cv_lib_m_clogf = yes; then
25684 cat >>confdefs.h <<\_ACEOF
25685 #define HAVE_CLOGF 1
25690 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25691 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25692 if test "${ac_cv_lib_m_clog+set}" = set; then
25693 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 ac_check_lib_save_LIBS=$LIBS
25697 if test x$gcc_no_link = xyes; then
25698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25700 { (exit 1); exit 1; }; }
25702 cat >conftest.$ac_ext <<_ACEOF
25705 cat confdefs.h >>conftest.$ac_ext
25706 cat >>conftest.$ac_ext <<_ACEOF
25707 /* end confdefs.h. */
25709 /* Override any gcc2 internal prototype to avoid an error. */
25713 /* We use char because int might match the return type of a gcc2
25714 builtin and then its argument prototype would still apply. */
25724 rm -f conftest.$ac_objext conftest$ac_exeext
25725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25726 (eval $ac_link) 2>conftest.er1
25728 grep -v '^ *+' conftest.er1 >conftest.err
25730 cat conftest.err >&5
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); } &&
25733 { ac_try='test -z "$ac_c_werror_flag"
25734 || test ! -s conftest.err'
25735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25736 (eval $ac_try) 2>&5
25738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25739 (exit $ac_status); }; } &&
25740 { ac_try='test -s conftest$ac_exeext'
25741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25742 (eval $ac_try) 2>&5
25744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25745 (exit $ac_status); }; }; then
25746 ac_cv_lib_m_clog=yes
25748 echo "$as_me: failed program was:" >&5
25749 sed 's/^/| /' conftest.$ac_ext >&5
25751 ac_cv_lib_m_clog=no
25753 rm -f conftest.err conftest.$ac_objext \
25754 conftest$ac_exeext conftest.$ac_ext
25755 LIBS=$ac_check_lib_save_LIBS
25757 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25758 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25759 if test $ac_cv_lib_m_clog = yes; then
25761 cat >>confdefs.h <<\_ACEOF
25762 #define HAVE_CLOG 1
25767 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25768 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25769 if test "${ac_cv_lib_m_clogl+set}" = set; then
25770 echo $ECHO_N "(cached) $ECHO_C" >&6
25772 ac_check_lib_save_LIBS=$LIBS
25774 if test x$gcc_no_link = xyes; then
25775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25777 { (exit 1); exit 1; }; }
25779 cat >conftest.$ac_ext <<_ACEOF
25782 cat confdefs.h >>conftest.$ac_ext
25783 cat >>conftest.$ac_ext <<_ACEOF
25784 /* end confdefs.h. */
25786 /* Override any gcc2 internal prototype to avoid an error. */
25790 /* We use char because int might match the return type of a gcc2
25791 builtin and then its argument prototype would still apply. */
25801 rm -f conftest.$ac_objext conftest$ac_exeext
25802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25803 (eval $ac_link) 2>conftest.er1
25805 grep -v '^ *+' conftest.er1 >conftest.err
25807 cat conftest.err >&5
25808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25809 (exit $ac_status); } &&
25810 { ac_try='test -z "$ac_c_werror_flag"
25811 || test ! -s conftest.err'
25812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25813 (eval $ac_try) 2>&5
25815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25816 (exit $ac_status); }; } &&
25817 { ac_try='test -s conftest$ac_exeext'
25818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25819 (eval $ac_try) 2>&5
25821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25822 (exit $ac_status); }; }; then
25823 ac_cv_lib_m_clogl=yes
25825 echo "$as_me: failed program was:" >&5
25826 sed 's/^/| /' conftest.$ac_ext >&5
25828 ac_cv_lib_m_clogl=no
25830 rm -f conftest.err conftest.$ac_objext \
25831 conftest$ac_exeext conftest.$ac_ext
25832 LIBS=$ac_check_lib_save_LIBS
25834 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25835 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25836 if test $ac_cv_lib_m_clogl = yes; then
25838 cat >>confdefs.h <<\_ACEOF
25839 #define HAVE_CLOGL 1
25844 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25845 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25846 if test "${ac_cv_lib_m_log10f+set}" = set; then
25847 echo $ECHO_N "(cached) $ECHO_C" >&6
25849 ac_check_lib_save_LIBS=$LIBS
25851 if test x$gcc_no_link = xyes; then
25852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25854 { (exit 1); exit 1; }; }
25856 cat >conftest.$ac_ext <<_ACEOF
25859 cat confdefs.h >>conftest.$ac_ext
25860 cat >>conftest.$ac_ext <<_ACEOF
25861 /* end confdefs.h. */
25863 /* Override any gcc2 internal prototype to avoid an error. */
25867 /* We use char because int might match the return type of a gcc2
25868 builtin and then its argument prototype would still apply. */
25878 rm -f conftest.$ac_objext conftest$ac_exeext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25880 (eval $ac_link) 2>conftest.er1
25882 grep -v '^ *+' conftest.er1 >conftest.err
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } &&
25887 { ac_try='test -z "$ac_c_werror_flag"
25888 || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest$ac_exeext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 ac_cv_lib_m_log10f=yes
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25905 ac_cv_lib_m_log10f=no
25907 rm -f conftest.err conftest.$ac_objext \
25908 conftest$ac_exeext conftest.$ac_ext
25909 LIBS=$ac_check_lib_save_LIBS
25911 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25912 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25913 if test $ac_cv_lib_m_log10f = yes; then
25915 cat >>confdefs.h <<\_ACEOF
25916 #define HAVE_LOG10F 1
25921 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25922 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25923 if test "${ac_cv_lib_m_log10+set}" = set; then
25924 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 ac_check_lib_save_LIBS=$LIBS
25928 if test x$gcc_no_link = xyes; then
25929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25931 { (exit 1); exit 1; }; }
25933 cat >conftest.$ac_ext <<_ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25940 /* Override any gcc2 internal prototype to avoid an error. */
25944 /* We use char because int might match the return type of a gcc2
25945 builtin and then its argument prototype would still apply. */
25955 rm -f conftest.$ac_objext conftest$ac_exeext
25956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25957 (eval $ac_link) 2>conftest.er1
25959 grep -v '^ *+' conftest.er1 >conftest.err
25961 cat conftest.err >&5
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); } &&
25964 { ac_try='test -z "$ac_c_werror_flag"
25965 || test ! -s conftest.err'
25966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25967 (eval $ac_try) 2>&5
25969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25970 (exit $ac_status); }; } &&
25971 { ac_try='test -s conftest$ac_exeext'
25972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25973 (eval $ac_try) 2>&5
25975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25976 (exit $ac_status); }; }; then
25977 ac_cv_lib_m_log10=yes
25979 echo "$as_me: failed program was:" >&5
25980 sed 's/^/| /' conftest.$ac_ext >&5
25982 ac_cv_lib_m_log10=no
25984 rm -f conftest.err conftest.$ac_objext \
25985 conftest$ac_exeext conftest.$ac_ext
25986 LIBS=$ac_check_lib_save_LIBS
25988 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25989 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25990 if test $ac_cv_lib_m_log10 = yes; then
25992 cat >>confdefs.h <<\_ACEOF
25993 #define HAVE_LOG10 1
25998 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25999 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
26000 if test "${ac_cv_lib_m_log10l+set}" = set; then
26001 echo $ECHO_N "(cached) $ECHO_C" >&6
26003 ac_check_lib_save_LIBS=$LIBS
26005 if test x$gcc_no_link = xyes; then
26006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26008 { (exit 1); exit 1; }; }
26010 cat >conftest.$ac_ext <<_ACEOF
26013 cat confdefs.h >>conftest.$ac_ext
26014 cat >>conftest.$ac_ext <<_ACEOF
26015 /* end confdefs.h. */
26017 /* Override any gcc2 internal prototype to avoid an error. */
26021 /* We use char because int might match the return type of a gcc2
26022 builtin and then its argument prototype would still apply. */
26032 rm -f conftest.$ac_objext conftest$ac_exeext
26033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26034 (eval $ac_link) 2>conftest.er1
26036 grep -v '^ *+' conftest.er1 >conftest.err
26038 cat conftest.err >&5
26039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26040 (exit $ac_status); } &&
26041 { ac_try='test -z "$ac_c_werror_flag"
26042 || test ! -s conftest.err'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; } &&
26048 { ac_try='test -s conftest$ac_exeext'
26049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26050 (eval $ac_try) 2>&5
26052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26053 (exit $ac_status); }; }; then
26054 ac_cv_lib_m_log10l=yes
26056 echo "$as_me: failed program was:" >&5
26057 sed 's/^/| /' conftest.$ac_ext >&5
26059 ac_cv_lib_m_log10l=no
26061 rm -f conftest.err conftest.$ac_objext \
26062 conftest$ac_exeext conftest.$ac_ext
26063 LIBS=$ac_check_lib_save_LIBS
26065 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26066 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26067 if test $ac_cv_lib_m_log10l = yes; then
26069 cat >>confdefs.h <<\_ACEOF
26070 #define HAVE_LOG10L 1
26075 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26076 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26077 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26078 echo $ECHO_N "(cached) $ECHO_C" >&6
26080 ac_check_lib_save_LIBS=$LIBS
26082 if test x$gcc_no_link = xyes; then
26083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26085 { (exit 1); exit 1; }; }
26087 cat >conftest.$ac_ext <<_ACEOF
26090 cat confdefs.h >>conftest.$ac_ext
26091 cat >>conftest.$ac_ext <<_ACEOF
26092 /* end confdefs.h. */
26094 /* Override any gcc2 internal prototype to avoid an error. */
26098 /* We use char because int might match the return type of a gcc2
26099 builtin and then its argument prototype would still apply. */
26109 rm -f conftest.$ac_objext conftest$ac_exeext
26110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26111 (eval $ac_link) 2>conftest.er1
26113 grep -v '^ *+' conftest.er1 >conftest.err
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); } &&
26118 { ac_try='test -z "$ac_c_werror_flag"
26119 || test ! -s conftest.err'
26120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26121 (eval $ac_try) 2>&5
26123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26124 (exit $ac_status); }; } &&
26125 { ac_try='test -s conftest$ac_exeext'
26126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26127 (eval $ac_try) 2>&5
26129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130 (exit $ac_status); }; }; then
26131 ac_cv_lib_m_clog10f=yes
26133 echo "$as_me: failed program was:" >&5
26134 sed 's/^/| /' conftest.$ac_ext >&5
26136 ac_cv_lib_m_clog10f=no
26138 rm -f conftest.err conftest.$ac_objext \
26139 conftest$ac_exeext conftest.$ac_ext
26140 LIBS=$ac_check_lib_save_LIBS
26142 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26143 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26144 if test $ac_cv_lib_m_clog10f = yes; then
26146 cat >>confdefs.h <<\_ACEOF
26147 #define HAVE_CLOG10F 1
26152 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26153 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26154 if test "${ac_cv_lib_m_clog10+set}" = set; then
26155 echo $ECHO_N "(cached) $ECHO_C" >&6
26157 ac_check_lib_save_LIBS=$LIBS
26159 if test x$gcc_no_link = xyes; then
26160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26162 { (exit 1); exit 1; }; }
26164 cat >conftest.$ac_ext <<_ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26171 /* Override any gcc2 internal prototype to avoid an error. */
26175 /* We use char because int might match the return type of a gcc2
26176 builtin and then its argument prototype would still apply. */
26186 rm -f conftest.$ac_objext conftest$ac_exeext
26187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26188 (eval $ac_link) 2>conftest.er1
26190 grep -v '^ *+' conftest.er1 >conftest.err
26192 cat conftest.err >&5
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); } &&
26195 { ac_try='test -z "$ac_c_werror_flag"
26196 || test ! -s conftest.err'
26197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26198 (eval $ac_try) 2>&5
26200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26201 (exit $ac_status); }; } &&
26202 { ac_try='test -s conftest$ac_exeext'
26203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26204 (eval $ac_try) 2>&5
26206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26207 (exit $ac_status); }; }; then
26208 ac_cv_lib_m_clog10=yes
26210 echo "$as_me: failed program was:" >&5
26211 sed 's/^/| /' conftest.$ac_ext >&5
26213 ac_cv_lib_m_clog10=no
26215 rm -f conftest.err conftest.$ac_objext \
26216 conftest$ac_exeext conftest.$ac_ext
26217 LIBS=$ac_check_lib_save_LIBS
26219 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26220 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26221 if test $ac_cv_lib_m_clog10 = yes; then
26223 cat >>confdefs.h <<\_ACEOF
26224 #define HAVE_CLOG10 1
26229 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26230 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26231 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26232 echo $ECHO_N "(cached) $ECHO_C" >&6
26234 ac_check_lib_save_LIBS=$LIBS
26236 if test x$gcc_no_link = xyes; then
26237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26239 { (exit 1); exit 1; }; }
26241 cat >conftest.$ac_ext <<_ACEOF
26244 cat confdefs.h >>conftest.$ac_ext
26245 cat >>conftest.$ac_ext <<_ACEOF
26246 /* end confdefs.h. */
26248 /* Override any gcc2 internal prototype to avoid an error. */
26252 /* We use char because int might match the return type of a gcc2
26253 builtin and then its argument prototype would still apply. */
26263 rm -f conftest.$ac_objext conftest$ac_exeext
26264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26265 (eval $ac_link) 2>conftest.er1
26267 grep -v '^ *+' conftest.er1 >conftest.err
26269 cat conftest.err >&5
26270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26271 (exit $ac_status); } &&
26272 { ac_try='test -z "$ac_c_werror_flag"
26273 || test ! -s conftest.err'
26274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26275 (eval $ac_try) 2>&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); }; } &&
26279 { ac_try='test -s conftest$ac_exeext'
26280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26281 (eval $ac_try) 2>&5
26283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26284 (exit $ac_status); }; }; then
26285 ac_cv_lib_m_clog10l=yes
26287 echo "$as_me: failed program was:" >&5
26288 sed 's/^/| /' conftest.$ac_ext >&5
26290 ac_cv_lib_m_clog10l=no
26292 rm -f conftest.err conftest.$ac_objext \
26293 conftest$ac_exeext conftest.$ac_ext
26294 LIBS=$ac_check_lib_save_LIBS
26296 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26297 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26298 if test $ac_cv_lib_m_clog10l = yes; then
26300 cat >>confdefs.h <<\_ACEOF
26301 #define HAVE_CLOG10L 1
26306 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26307 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26308 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26311 ac_check_lib_save_LIBS=$LIBS
26313 if test x$gcc_no_link = xyes; then
26314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26316 { (exit 1); exit 1; }; }
26318 cat >conftest.$ac_ext <<_ACEOF
26321 cat confdefs.h >>conftest.$ac_ext
26322 cat >>conftest.$ac_ext <<_ACEOF
26323 /* end confdefs.h. */
26325 /* Override any gcc2 internal prototype to avoid an error. */
26329 /* We use char because int might match the return type of a gcc2
26330 builtin and then its argument prototype would still apply. */
26331 char nextafterf ();
26340 rm -f conftest.$ac_objext conftest$ac_exeext
26341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26342 (eval $ac_link) 2>conftest.er1
26344 grep -v '^ *+' conftest.er1 >conftest.err
26346 cat conftest.err >&5
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); } &&
26349 { ac_try='test -z "$ac_c_werror_flag"
26350 || test ! -s conftest.err'
26351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26352 (eval $ac_try) 2>&5
26354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26355 (exit $ac_status); }; } &&
26356 { ac_try='test -s conftest$ac_exeext'
26357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26358 (eval $ac_try) 2>&5
26360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26361 (exit $ac_status); }; }; then
26362 ac_cv_lib_m_nextafterf=yes
26364 echo "$as_me: failed program was:" >&5
26365 sed 's/^/| /' conftest.$ac_ext >&5
26367 ac_cv_lib_m_nextafterf=no
26369 rm -f conftest.err conftest.$ac_objext \
26370 conftest$ac_exeext conftest.$ac_ext
26371 LIBS=$ac_check_lib_save_LIBS
26373 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26374 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26375 if test $ac_cv_lib_m_nextafterf = yes; then
26377 cat >>confdefs.h <<\_ACEOF
26378 #define HAVE_NEXTAFTERF 1
26383 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26384 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26385 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26388 ac_check_lib_save_LIBS=$LIBS
26390 if test x$gcc_no_link = xyes; then
26391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26393 { (exit 1); exit 1; }; }
26395 cat >conftest.$ac_ext <<_ACEOF
26398 cat confdefs.h >>conftest.$ac_ext
26399 cat >>conftest.$ac_ext <<_ACEOF
26400 /* end confdefs.h. */
26402 /* Override any gcc2 internal prototype to avoid an error. */
26406 /* We use char because int might match the return type of a gcc2
26407 builtin and then its argument prototype would still apply. */
26417 rm -f conftest.$ac_objext conftest$ac_exeext
26418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26419 (eval $ac_link) 2>conftest.er1
26421 grep -v '^ *+' conftest.er1 >conftest.err
26423 cat conftest.err >&5
26424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26425 (exit $ac_status); } &&
26426 { ac_try='test -z "$ac_c_werror_flag"
26427 || test ! -s conftest.err'
26428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26429 (eval $ac_try) 2>&5
26431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26432 (exit $ac_status); }; } &&
26433 { ac_try='test -s conftest$ac_exeext'
26434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26435 (eval $ac_try) 2>&5
26437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26438 (exit $ac_status); }; }; then
26439 ac_cv_lib_m_nextafter=yes
26441 echo "$as_me: failed program was:" >&5
26442 sed 's/^/| /' conftest.$ac_ext >&5
26444 ac_cv_lib_m_nextafter=no
26446 rm -f conftest.err conftest.$ac_objext \
26447 conftest$ac_exeext conftest.$ac_ext
26448 LIBS=$ac_check_lib_save_LIBS
26450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26451 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26452 if test $ac_cv_lib_m_nextafter = yes; then
26454 cat >>confdefs.h <<\_ACEOF
26455 #define HAVE_NEXTAFTER 1
26460 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26461 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26462 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26463 echo $ECHO_N "(cached) $ECHO_C" >&6
26465 ac_check_lib_save_LIBS=$LIBS
26467 if test x$gcc_no_link = xyes; then
26468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26470 { (exit 1); exit 1; }; }
26472 cat >conftest.$ac_ext <<_ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26479 /* Override any gcc2 internal prototype to avoid an error. */
26483 /* We use char because int might match the return type of a gcc2
26484 builtin and then its argument prototype would still apply. */
26485 char nextafterl ();
26494 rm -f conftest.$ac_objext conftest$ac_exeext
26495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26496 (eval $ac_link) 2>conftest.er1
26498 grep -v '^ *+' conftest.er1 >conftest.err
26500 cat conftest.err >&5
26501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26502 (exit $ac_status); } &&
26503 { ac_try='test -z "$ac_c_werror_flag"
26504 || test ! -s conftest.err'
26505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26506 (eval $ac_try) 2>&5
26508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26509 (exit $ac_status); }; } &&
26510 { ac_try='test -s conftest$ac_exeext'
26511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26512 (eval $ac_try) 2>&5
26514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26515 (exit $ac_status); }; }; then
26516 ac_cv_lib_m_nextafterl=yes
26518 echo "$as_me: failed program was:" >&5
26519 sed 's/^/| /' conftest.$ac_ext >&5
26521 ac_cv_lib_m_nextafterl=no
26523 rm -f conftest.err conftest.$ac_objext \
26524 conftest$ac_exeext conftest.$ac_ext
26525 LIBS=$ac_check_lib_save_LIBS
26527 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26528 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26529 if test $ac_cv_lib_m_nextafterl = yes; then
26531 cat >>confdefs.h <<\_ACEOF
26532 #define HAVE_NEXTAFTERL 1
26537 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26538 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26539 if test "${ac_cv_lib_m_powf+set}" = set; then
26540 echo $ECHO_N "(cached) $ECHO_C" >&6
26542 ac_check_lib_save_LIBS=$LIBS
26544 if test x$gcc_no_link = xyes; then
26545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26547 { (exit 1); exit 1; }; }
26549 cat >conftest.$ac_ext <<_ACEOF
26552 cat confdefs.h >>conftest.$ac_ext
26553 cat >>conftest.$ac_ext <<_ACEOF
26554 /* end confdefs.h. */
26556 /* Override any gcc2 internal prototype to avoid an error. */
26560 /* We use char because int might match the return type of a gcc2
26561 builtin and then its argument prototype would still apply. */
26571 rm -f conftest.$ac_objext conftest$ac_exeext
26572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26573 (eval $ac_link) 2>conftest.er1
26575 grep -v '^ *+' conftest.er1 >conftest.err
26577 cat conftest.err >&5
26578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26579 (exit $ac_status); } &&
26580 { ac_try='test -z "$ac_c_werror_flag"
26581 || test ! -s conftest.err'
26582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26583 (eval $ac_try) 2>&5
26585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26586 (exit $ac_status); }; } &&
26587 { ac_try='test -s conftest$ac_exeext'
26588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26589 (eval $ac_try) 2>&5
26591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26592 (exit $ac_status); }; }; then
26593 ac_cv_lib_m_powf=yes
26595 echo "$as_me: failed program was:" >&5
26596 sed 's/^/| /' conftest.$ac_ext >&5
26598 ac_cv_lib_m_powf=no
26600 rm -f conftest.err conftest.$ac_objext \
26601 conftest$ac_exeext conftest.$ac_ext
26602 LIBS=$ac_check_lib_save_LIBS
26604 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26605 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26606 if test $ac_cv_lib_m_powf = yes; then
26608 cat >>confdefs.h <<\_ACEOF
26609 #define HAVE_POWF 1
26614 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26615 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26616 if test "${ac_cv_lib_m_pow+set}" = set; then
26617 echo $ECHO_N "(cached) $ECHO_C" >&6
26619 ac_check_lib_save_LIBS=$LIBS
26621 if test x$gcc_no_link = xyes; then
26622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26624 { (exit 1); exit 1; }; }
26626 cat >conftest.$ac_ext <<_ACEOF
26629 cat confdefs.h >>conftest.$ac_ext
26630 cat >>conftest.$ac_ext <<_ACEOF
26631 /* end confdefs.h. */
26633 /* Override any gcc2 internal prototype to avoid an error. */
26637 /* We use char because int might match the return type of a gcc2
26638 builtin and then its argument prototype would still apply. */
26648 rm -f conftest.$ac_objext conftest$ac_exeext
26649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26650 (eval $ac_link) 2>conftest.er1
26652 grep -v '^ *+' conftest.er1 >conftest.err
26654 cat conftest.err >&5
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); } &&
26657 { ac_try='test -z "$ac_c_werror_flag"
26658 || test ! -s conftest.err'
26659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26660 (eval $ac_try) 2>&5
26662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26663 (exit $ac_status); }; } &&
26664 { ac_try='test -s conftest$ac_exeext'
26665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26666 (eval $ac_try) 2>&5
26668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26669 (exit $ac_status); }; }; then
26670 ac_cv_lib_m_pow=yes
26672 echo "$as_me: failed program was:" >&5
26673 sed 's/^/| /' conftest.$ac_ext >&5
26677 rm -f conftest.err conftest.$ac_objext \
26678 conftest$ac_exeext conftest.$ac_ext
26679 LIBS=$ac_check_lib_save_LIBS
26681 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26682 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26683 if test $ac_cv_lib_m_pow = yes; then
26685 cat >>confdefs.h <<\_ACEOF
26691 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26692 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26693 if test "${ac_cv_lib_m_powl+set}" = set; then
26694 echo $ECHO_N "(cached) $ECHO_C" >&6
26696 ac_check_lib_save_LIBS=$LIBS
26698 if test x$gcc_no_link = xyes; then
26699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26701 { (exit 1); exit 1; }; }
26703 cat >conftest.$ac_ext <<_ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26710 /* Override any gcc2 internal prototype to avoid an error. */
26714 /* We use char because int might match the return type of a gcc2
26715 builtin and then its argument prototype would still apply. */
26725 rm -f conftest.$ac_objext conftest$ac_exeext
26726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26727 (eval $ac_link) 2>conftest.er1
26729 grep -v '^ *+' conftest.er1 >conftest.err
26731 cat conftest.err >&5
26732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26733 (exit $ac_status); } &&
26734 { ac_try='test -z "$ac_c_werror_flag"
26735 || test ! -s conftest.err'
26736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26737 (eval $ac_try) 2>&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); }; } &&
26741 { ac_try='test -s conftest$ac_exeext'
26742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26743 (eval $ac_try) 2>&5
26745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26746 (exit $ac_status); }; }; then
26747 ac_cv_lib_m_powl=yes
26749 echo "$as_me: failed program was:" >&5
26750 sed 's/^/| /' conftest.$ac_ext >&5
26752 ac_cv_lib_m_powl=no
26754 rm -f conftest.err conftest.$ac_objext \
26755 conftest$ac_exeext conftest.$ac_ext
26756 LIBS=$ac_check_lib_save_LIBS
26758 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26759 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26760 if test $ac_cv_lib_m_powl = yes; then
26762 cat >>confdefs.h <<\_ACEOF
26763 #define HAVE_POWL 1
26768 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26769 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26770 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26771 echo $ECHO_N "(cached) $ECHO_C" >&6
26773 ac_check_lib_save_LIBS=$LIBS
26775 if test x$gcc_no_link = xyes; then
26776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26778 { (exit 1); exit 1; }; }
26780 cat >conftest.$ac_ext <<_ACEOF
26783 cat confdefs.h >>conftest.$ac_ext
26784 cat >>conftest.$ac_ext <<_ACEOF
26785 /* end confdefs.h. */
26787 /* Override any gcc2 internal prototype to avoid an error. */
26791 /* We use char because int might match the return type of a gcc2
26792 builtin and then its argument prototype would still apply. */
26802 rm -f conftest.$ac_objext conftest$ac_exeext
26803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26804 (eval $ac_link) 2>conftest.er1
26806 grep -v '^ *+' conftest.er1 >conftest.err
26808 cat conftest.err >&5
26809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26810 (exit $ac_status); } &&
26811 { ac_try='test -z "$ac_c_werror_flag"
26812 || test ! -s conftest.err'
26813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26814 (eval $ac_try) 2>&5
26816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26817 (exit $ac_status); }; } &&
26818 { ac_try='test -s conftest$ac_exeext'
26819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26820 (eval $ac_try) 2>&5
26822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26823 (exit $ac_status); }; }; then
26824 ac_cv_lib_m_cpowf=yes
26826 echo "$as_me: failed program was:" >&5
26827 sed 's/^/| /' conftest.$ac_ext >&5
26829 ac_cv_lib_m_cpowf=no
26831 rm -f conftest.err conftest.$ac_objext \
26832 conftest$ac_exeext conftest.$ac_ext
26833 LIBS=$ac_check_lib_save_LIBS
26835 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26836 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26837 if test $ac_cv_lib_m_cpowf = yes; then
26839 cat >>confdefs.h <<\_ACEOF
26840 #define HAVE_CPOWF 1
26845 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26846 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26847 if test "${ac_cv_lib_m_cpow+set}" = set; then
26848 echo $ECHO_N "(cached) $ECHO_C" >&6
26850 ac_check_lib_save_LIBS=$LIBS
26852 if test x$gcc_no_link = xyes; then
26853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26855 { (exit 1); exit 1; }; }
26857 cat >conftest.$ac_ext <<_ACEOF
26860 cat confdefs.h >>conftest.$ac_ext
26861 cat >>conftest.$ac_ext <<_ACEOF
26862 /* end confdefs.h. */
26864 /* Override any gcc2 internal prototype to avoid an error. */
26868 /* We use char because int might match the return type of a gcc2
26869 builtin and then its argument prototype would still apply. */
26879 rm -f conftest.$ac_objext conftest$ac_exeext
26880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26881 (eval $ac_link) 2>conftest.er1
26883 grep -v '^ *+' conftest.er1 >conftest.err
26885 cat conftest.err >&5
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); } &&
26888 { ac_try='test -z "$ac_c_werror_flag"
26889 || test ! -s conftest.err'
26890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891 (eval $ac_try) 2>&5
26893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894 (exit $ac_status); }; } &&
26895 { ac_try='test -s conftest$ac_exeext'
26896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26897 (eval $ac_try) 2>&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); }; }; then
26901 ac_cv_lib_m_cpow=yes
26903 echo "$as_me: failed program was:" >&5
26904 sed 's/^/| /' conftest.$ac_ext >&5
26906 ac_cv_lib_m_cpow=no
26908 rm -f conftest.err conftest.$ac_objext \
26909 conftest$ac_exeext conftest.$ac_ext
26910 LIBS=$ac_check_lib_save_LIBS
26912 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26913 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26914 if test $ac_cv_lib_m_cpow = yes; then
26916 cat >>confdefs.h <<\_ACEOF
26917 #define HAVE_CPOW 1
26922 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26923 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26924 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26925 echo $ECHO_N "(cached) $ECHO_C" >&6
26927 ac_check_lib_save_LIBS=$LIBS
26929 if test x$gcc_no_link = xyes; then
26930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26932 { (exit 1); exit 1; }; }
26934 cat >conftest.$ac_ext <<_ACEOF
26937 cat confdefs.h >>conftest.$ac_ext
26938 cat >>conftest.$ac_ext <<_ACEOF
26939 /* end confdefs.h. */
26941 /* Override any gcc2 internal prototype to avoid an error. */
26945 /* We use char because int might match the return type of a gcc2
26946 builtin and then its argument prototype would still apply. */
26956 rm -f conftest.$ac_objext conftest$ac_exeext
26957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26958 (eval $ac_link) 2>conftest.er1
26960 grep -v '^ *+' conftest.er1 >conftest.err
26962 cat conftest.err >&5
26963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964 (exit $ac_status); } &&
26965 { ac_try='test -z "$ac_c_werror_flag"
26966 || test ! -s conftest.err'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; } &&
26972 { ac_try='test -s conftest$ac_exeext'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; }; then
26978 ac_cv_lib_m_cpowl=yes
26980 echo "$as_me: failed program was:" >&5
26981 sed 's/^/| /' conftest.$ac_ext >&5
26983 ac_cv_lib_m_cpowl=no
26985 rm -f conftest.err conftest.$ac_objext \
26986 conftest$ac_exeext conftest.$ac_ext
26987 LIBS=$ac_check_lib_save_LIBS
26989 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26990 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26991 if test $ac_cv_lib_m_cpowl = yes; then
26993 cat >>confdefs.h <<\_ACEOF
26994 #define HAVE_CPOWL 1
26999 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
27000 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
27001 if test "${ac_cv_lib_m_roundf+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27004 ac_check_lib_save_LIBS=$LIBS
27006 if test x$gcc_no_link = xyes; then
27007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27009 { (exit 1); exit 1; }; }
27011 cat >conftest.$ac_ext <<_ACEOF
27014 cat confdefs.h >>conftest.$ac_ext
27015 cat >>conftest.$ac_ext <<_ACEOF
27016 /* end confdefs.h. */
27018 /* Override any gcc2 internal prototype to avoid an error. */
27022 /* We use char because int might match the return type of a gcc2
27023 builtin and then its argument prototype would still apply. */
27033 rm -f conftest.$ac_objext conftest$ac_exeext
27034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27035 (eval $ac_link) 2>conftest.er1
27037 grep -v '^ *+' conftest.er1 >conftest.err
27039 cat conftest.err >&5
27040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27041 (exit $ac_status); } &&
27042 { ac_try='test -z "$ac_c_werror_flag"
27043 || test ! -s conftest.err'
27044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27045 (eval $ac_try) 2>&5
27047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27048 (exit $ac_status); }; } &&
27049 { ac_try='test -s conftest$ac_exeext'
27050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27051 (eval $ac_try) 2>&5
27053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27054 (exit $ac_status); }; }; then
27055 ac_cv_lib_m_roundf=yes
27057 echo "$as_me: failed program was:" >&5
27058 sed 's/^/| /' conftest.$ac_ext >&5
27060 ac_cv_lib_m_roundf=no
27062 rm -f conftest.err conftest.$ac_objext \
27063 conftest$ac_exeext conftest.$ac_ext
27064 LIBS=$ac_check_lib_save_LIBS
27066 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27067 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27068 if test $ac_cv_lib_m_roundf = yes; then
27070 cat >>confdefs.h <<\_ACEOF
27071 #define HAVE_ROUNDF 1
27076 echo "$as_me:$LINENO: checking for round in -lm" >&5
27077 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27078 if test "${ac_cv_lib_m_round+set}" = set; then
27079 echo $ECHO_N "(cached) $ECHO_C" >&6
27081 ac_check_lib_save_LIBS=$LIBS
27083 if test x$gcc_no_link = xyes; then
27084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27086 { (exit 1); exit 1; }; }
27088 cat >conftest.$ac_ext <<_ACEOF
27091 cat confdefs.h >>conftest.$ac_ext
27092 cat >>conftest.$ac_ext <<_ACEOF
27093 /* end confdefs.h. */
27095 /* Override any gcc2 internal prototype to avoid an error. */
27099 /* We use char because int might match the return type of a gcc2
27100 builtin and then its argument prototype would still apply. */
27110 rm -f conftest.$ac_objext conftest$ac_exeext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27112 (eval $ac_link) 2>conftest.er1
27114 grep -v '^ *+' conftest.er1 >conftest.err
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try='test -z "$ac_c_werror_flag"
27120 || test ! -s conftest.err'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; } &&
27126 { ac_try='test -s conftest$ac_exeext'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; }; then
27132 ac_cv_lib_m_round=yes
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27137 ac_cv_lib_m_round=no
27139 rm -f conftest.err conftest.$ac_objext \
27140 conftest$ac_exeext conftest.$ac_ext
27141 LIBS=$ac_check_lib_save_LIBS
27143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27144 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27145 if test $ac_cv_lib_m_round = yes; then
27147 cat >>confdefs.h <<\_ACEOF
27148 #define HAVE_ROUND 1
27153 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27154 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27155 if test "${ac_cv_lib_m_roundl+set}" = set; then
27156 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 ac_check_lib_save_LIBS=$LIBS
27160 if test x$gcc_no_link = xyes; then
27161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27163 { (exit 1); exit 1; }; }
27165 cat >conftest.$ac_ext <<_ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27172 /* Override any gcc2 internal prototype to avoid an error. */
27176 /* We use char because int might match the return type of a gcc2
27177 builtin and then its argument prototype would still apply. */
27187 rm -f conftest.$ac_objext conftest$ac_exeext
27188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27189 (eval $ac_link) 2>conftest.er1
27191 grep -v '^ *+' conftest.er1 >conftest.err
27193 cat conftest.err >&5
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); } &&
27196 { ac_try='test -z "$ac_c_werror_flag"
27197 || test ! -s conftest.err'
27198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27199 (eval $ac_try) 2>&5
27201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27202 (exit $ac_status); }; } &&
27203 { ac_try='test -s conftest$ac_exeext'
27204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27205 (eval $ac_try) 2>&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); }; }; then
27209 ac_cv_lib_m_roundl=yes
27211 echo "$as_me: failed program was:" >&5
27212 sed 's/^/| /' conftest.$ac_ext >&5
27214 ac_cv_lib_m_roundl=no
27216 rm -f conftest.err conftest.$ac_objext \
27217 conftest$ac_exeext conftest.$ac_ext
27218 LIBS=$ac_check_lib_save_LIBS
27220 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27221 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27222 if test $ac_cv_lib_m_roundl = yes; then
27224 cat >>confdefs.h <<\_ACEOF
27225 #define HAVE_ROUNDL 1
27230 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27231 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27232 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27233 echo $ECHO_N "(cached) $ECHO_C" >&6
27235 ac_check_lib_save_LIBS=$LIBS
27237 if test x$gcc_no_link = xyes; then
27238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27240 { (exit 1); exit 1; }; }
27242 cat >conftest.$ac_ext <<_ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27249 /* Override any gcc2 internal prototype to avoid an error. */
27253 /* We use char because int might match the return type of a gcc2
27254 builtin and then its argument prototype would still apply. */
27264 rm -f conftest.$ac_objext conftest$ac_exeext
27265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27266 (eval $ac_link) 2>conftest.er1
27268 grep -v '^ *+' conftest.er1 >conftest.err
27270 cat conftest.err >&5
27271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27272 (exit $ac_status); } &&
27273 { ac_try='test -z "$ac_c_werror_flag"
27274 || test ! -s conftest.err'
27275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276 (eval $ac_try) 2>&5
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; } &&
27280 { ac_try='test -s conftest$ac_exeext'
27281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27282 (eval $ac_try) 2>&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); }; }; then
27286 ac_cv_lib_m_lroundf=yes
27288 echo "$as_me: failed program was:" >&5
27289 sed 's/^/| /' conftest.$ac_ext >&5
27291 ac_cv_lib_m_lroundf=no
27293 rm -f conftest.err conftest.$ac_objext \
27294 conftest$ac_exeext conftest.$ac_ext
27295 LIBS=$ac_check_lib_save_LIBS
27297 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27298 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27299 if test $ac_cv_lib_m_lroundf = yes; then
27301 cat >>confdefs.h <<\_ACEOF
27302 #define HAVE_LROUNDF 1
27307 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27308 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27309 if test "${ac_cv_lib_m_lround+set}" = set; then
27310 echo $ECHO_N "(cached) $ECHO_C" >&6
27312 ac_check_lib_save_LIBS=$LIBS
27314 if test x$gcc_no_link = xyes; then
27315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27317 { (exit 1); exit 1; }; }
27319 cat >conftest.$ac_ext <<_ACEOF
27322 cat confdefs.h >>conftest.$ac_ext
27323 cat >>conftest.$ac_ext <<_ACEOF
27324 /* end confdefs.h. */
27326 /* Override any gcc2 internal prototype to avoid an error. */
27330 /* We use char because int might match the return type of a gcc2
27331 builtin and then its argument prototype would still apply. */
27341 rm -f conftest.$ac_objext conftest$ac_exeext
27342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27343 (eval $ac_link) 2>conftest.er1
27345 grep -v '^ *+' conftest.er1 >conftest.err
27347 cat conftest.err >&5
27348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27349 (exit $ac_status); } &&
27350 { ac_try='test -z "$ac_c_werror_flag"
27351 || test ! -s conftest.err'
27352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27353 (eval $ac_try) 2>&5
27355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27356 (exit $ac_status); }; } &&
27357 { ac_try='test -s conftest$ac_exeext'
27358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27359 (eval $ac_try) 2>&5
27361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27362 (exit $ac_status); }; }; then
27363 ac_cv_lib_m_lround=yes
27365 echo "$as_me: failed program was:" >&5
27366 sed 's/^/| /' conftest.$ac_ext >&5
27368 ac_cv_lib_m_lround=no
27370 rm -f conftest.err conftest.$ac_objext \
27371 conftest$ac_exeext conftest.$ac_ext
27372 LIBS=$ac_check_lib_save_LIBS
27374 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27375 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27376 if test $ac_cv_lib_m_lround = yes; then
27378 cat >>confdefs.h <<\_ACEOF
27379 #define HAVE_LROUND 1
27384 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27385 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27386 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27387 echo $ECHO_N "(cached) $ECHO_C" >&6
27389 ac_check_lib_save_LIBS=$LIBS
27391 if test x$gcc_no_link = xyes; then
27392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27394 { (exit 1); exit 1; }; }
27396 cat >conftest.$ac_ext <<_ACEOF
27399 cat confdefs.h >>conftest.$ac_ext
27400 cat >>conftest.$ac_ext <<_ACEOF
27401 /* end confdefs.h. */
27403 /* Override any gcc2 internal prototype to avoid an error. */
27407 /* We use char because int might match the return type of a gcc2
27408 builtin and then its argument prototype would still apply. */
27418 rm -f conftest.$ac_objext conftest$ac_exeext
27419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27420 (eval $ac_link) 2>conftest.er1
27422 grep -v '^ *+' conftest.er1 >conftest.err
27424 cat conftest.err >&5
27425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27426 (exit $ac_status); } &&
27427 { ac_try='test -z "$ac_c_werror_flag"
27428 || test ! -s conftest.err'
27429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27430 (eval $ac_try) 2>&5
27432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27433 (exit $ac_status); }; } &&
27434 { ac_try='test -s conftest$ac_exeext'
27435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27436 (eval $ac_try) 2>&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); }; }; then
27440 ac_cv_lib_m_lroundl=yes
27442 echo "$as_me: failed program was:" >&5
27443 sed 's/^/| /' conftest.$ac_ext >&5
27445 ac_cv_lib_m_lroundl=no
27447 rm -f conftest.err conftest.$ac_objext \
27448 conftest$ac_exeext conftest.$ac_ext
27449 LIBS=$ac_check_lib_save_LIBS
27451 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27452 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27453 if test $ac_cv_lib_m_lroundl = yes; then
27455 cat >>confdefs.h <<\_ACEOF
27456 #define HAVE_LROUNDL 1
27461 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27462 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27463 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27464 echo $ECHO_N "(cached) $ECHO_C" >&6
27466 ac_check_lib_save_LIBS=$LIBS
27468 if test x$gcc_no_link = xyes; then
27469 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27470 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27471 { (exit 1); exit 1; }; }
27473 cat >conftest.$ac_ext <<_ACEOF
27476 cat confdefs.h >>conftest.$ac_ext
27477 cat >>conftest.$ac_ext <<_ACEOF
27478 /* end confdefs.h. */
27480 /* Override any gcc2 internal prototype to avoid an error. */
27484 /* We use char because int might match the return type of a gcc2
27485 builtin and then its argument prototype would still apply. */
27495 rm -f conftest.$ac_objext conftest$ac_exeext
27496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27497 (eval $ac_link) 2>conftest.er1
27499 grep -v '^ *+' conftest.er1 >conftest.err
27501 cat conftest.err >&5
27502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27503 (exit $ac_status); } &&
27504 { ac_try='test -z "$ac_c_werror_flag"
27505 || test ! -s conftest.err'
27506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27507 (eval $ac_try) 2>&5
27509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27510 (exit $ac_status); }; } &&
27511 { ac_try='test -s conftest$ac_exeext'
27512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27513 (eval $ac_try) 2>&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); }; }; then
27517 ac_cv_lib_m_llroundf=yes
27519 echo "$as_me: failed program was:" >&5
27520 sed 's/^/| /' conftest.$ac_ext >&5
27522 ac_cv_lib_m_llroundf=no
27524 rm -f conftest.err conftest.$ac_objext \
27525 conftest$ac_exeext conftest.$ac_ext
27526 LIBS=$ac_check_lib_save_LIBS
27528 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27529 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27530 if test $ac_cv_lib_m_llroundf = yes; then
27532 cat >>confdefs.h <<\_ACEOF
27533 #define HAVE_LLROUNDF 1
27538 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27539 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27540 if test "${ac_cv_lib_m_llround+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 ac_check_lib_save_LIBS=$LIBS
27545 if test x$gcc_no_link = xyes; then
27546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27548 { (exit 1); exit 1; }; }
27550 cat >conftest.$ac_ext <<_ACEOF
27553 cat confdefs.h >>conftest.$ac_ext
27554 cat >>conftest.$ac_ext <<_ACEOF
27555 /* end confdefs.h. */
27557 /* Override any gcc2 internal prototype to avoid an error. */
27561 /* We use char because int might match the return type of a gcc2
27562 builtin and then its argument prototype would still apply. */
27572 rm -f conftest.$ac_objext conftest$ac_exeext
27573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27574 (eval $ac_link) 2>conftest.er1
27576 grep -v '^ *+' conftest.er1 >conftest.err
27578 cat conftest.err >&5
27579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27580 (exit $ac_status); } &&
27581 { ac_try='test -z "$ac_c_werror_flag"
27582 || test ! -s conftest.err'
27583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27584 (eval $ac_try) 2>&5
27586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27587 (exit $ac_status); }; } &&
27588 { ac_try='test -s conftest$ac_exeext'
27589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27590 (eval $ac_try) 2>&5
27592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27593 (exit $ac_status); }; }; then
27594 ac_cv_lib_m_llround=yes
27596 echo "$as_me: failed program was:" >&5
27597 sed 's/^/| /' conftest.$ac_ext >&5
27599 ac_cv_lib_m_llround=no
27601 rm -f conftest.err conftest.$ac_objext \
27602 conftest$ac_exeext conftest.$ac_ext
27603 LIBS=$ac_check_lib_save_LIBS
27605 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27606 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27607 if test $ac_cv_lib_m_llround = yes; then
27609 cat >>confdefs.h <<\_ACEOF
27610 #define HAVE_LLROUND 1
27615 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27616 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27617 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27618 echo $ECHO_N "(cached) $ECHO_C" >&6
27620 ac_check_lib_save_LIBS=$LIBS
27622 if test x$gcc_no_link = xyes; then
27623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27625 { (exit 1); exit 1; }; }
27627 cat >conftest.$ac_ext <<_ACEOF
27630 cat confdefs.h >>conftest.$ac_ext
27631 cat >>conftest.$ac_ext <<_ACEOF
27632 /* end confdefs.h. */
27634 /* Override any gcc2 internal prototype to avoid an error. */
27638 /* We use char because int might match the return type of a gcc2
27639 builtin and then its argument prototype would still apply. */
27649 rm -f conftest.$ac_objext conftest$ac_exeext
27650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27651 (eval $ac_link) 2>conftest.er1
27653 grep -v '^ *+' conftest.er1 >conftest.err
27655 cat conftest.err >&5
27656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27657 (exit $ac_status); } &&
27658 { ac_try='test -z "$ac_c_werror_flag"
27659 || test ! -s conftest.err'
27660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27661 (eval $ac_try) 2>&5
27663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27664 (exit $ac_status); }; } &&
27665 { ac_try='test -s conftest$ac_exeext'
27666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27667 (eval $ac_try) 2>&5
27669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27670 (exit $ac_status); }; }; then
27671 ac_cv_lib_m_llroundl=yes
27673 echo "$as_me: failed program was:" >&5
27674 sed 's/^/| /' conftest.$ac_ext >&5
27676 ac_cv_lib_m_llroundl=no
27678 rm -f conftest.err conftest.$ac_objext \
27679 conftest$ac_exeext conftest.$ac_ext
27680 LIBS=$ac_check_lib_save_LIBS
27682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27683 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27684 if test $ac_cv_lib_m_llroundl = yes; then
27686 cat >>confdefs.h <<\_ACEOF
27687 #define HAVE_LLROUNDL 1
27692 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27693 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27694 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27695 echo $ECHO_N "(cached) $ECHO_C" >&6
27697 ac_check_lib_save_LIBS=$LIBS
27699 if test x$gcc_no_link = xyes; then
27700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27702 { (exit 1); exit 1; }; }
27704 cat >conftest.$ac_ext <<_ACEOF
27707 cat confdefs.h >>conftest.$ac_ext
27708 cat >>conftest.$ac_ext <<_ACEOF
27709 /* end confdefs.h. */
27711 /* Override any gcc2 internal prototype to avoid an error. */
27715 /* We use char because int might match the return type of a gcc2
27716 builtin and then its argument prototype would still apply. */
27726 rm -f conftest.$ac_objext conftest$ac_exeext
27727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27728 (eval $ac_link) 2>conftest.er1
27730 grep -v '^ *+' conftest.er1 >conftest.err
27732 cat conftest.err >&5
27733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27734 (exit $ac_status); } &&
27735 { ac_try='test -z "$ac_c_werror_flag"
27736 || test ! -s conftest.err'
27737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27738 (eval $ac_try) 2>&5
27740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27741 (exit $ac_status); }; } &&
27742 { ac_try='test -s conftest$ac_exeext'
27743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27744 (eval $ac_try) 2>&5
27746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27747 (exit $ac_status); }; }; then
27748 ac_cv_lib_m_scalbnf=yes
27750 echo "$as_me: failed program was:" >&5
27751 sed 's/^/| /' conftest.$ac_ext >&5
27753 ac_cv_lib_m_scalbnf=no
27755 rm -f conftest.err conftest.$ac_objext \
27756 conftest$ac_exeext conftest.$ac_ext
27757 LIBS=$ac_check_lib_save_LIBS
27759 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27760 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27761 if test $ac_cv_lib_m_scalbnf = yes; then
27763 cat >>confdefs.h <<\_ACEOF
27764 #define HAVE_SCALBNF 1
27769 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27770 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27771 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 ac_check_lib_save_LIBS=$LIBS
27776 if test x$gcc_no_link = xyes; then
27777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27779 { (exit 1); exit 1; }; }
27781 cat >conftest.$ac_ext <<_ACEOF
27784 cat confdefs.h >>conftest.$ac_ext
27785 cat >>conftest.$ac_ext <<_ACEOF
27786 /* end confdefs.h. */
27788 /* Override any gcc2 internal prototype to avoid an error. */
27792 /* We use char because int might match the return type of a gcc2
27793 builtin and then its argument prototype would still apply. */
27803 rm -f conftest.$ac_objext conftest$ac_exeext
27804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27805 (eval $ac_link) 2>conftest.er1
27807 grep -v '^ *+' conftest.er1 >conftest.err
27809 cat conftest.err >&5
27810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27811 (exit $ac_status); } &&
27812 { ac_try='test -z "$ac_c_werror_flag"
27813 || test ! -s conftest.err'
27814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27815 (eval $ac_try) 2>&5
27817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27818 (exit $ac_status); }; } &&
27819 { ac_try='test -s conftest$ac_exeext'
27820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27821 (eval $ac_try) 2>&5
27823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27824 (exit $ac_status); }; }; then
27825 ac_cv_lib_m_scalbn=yes
27827 echo "$as_me: failed program was:" >&5
27828 sed 's/^/| /' conftest.$ac_ext >&5
27830 ac_cv_lib_m_scalbn=no
27832 rm -f conftest.err conftest.$ac_objext \
27833 conftest$ac_exeext conftest.$ac_ext
27834 LIBS=$ac_check_lib_save_LIBS
27836 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27837 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27838 if test $ac_cv_lib_m_scalbn = yes; then
27840 cat >>confdefs.h <<\_ACEOF
27841 #define HAVE_SCALBN 1
27846 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27847 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27848 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27849 echo $ECHO_N "(cached) $ECHO_C" >&6
27851 ac_check_lib_save_LIBS=$LIBS
27853 if test x$gcc_no_link = xyes; then
27854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27856 { (exit 1); exit 1; }; }
27858 cat >conftest.$ac_ext <<_ACEOF
27861 cat confdefs.h >>conftest.$ac_ext
27862 cat >>conftest.$ac_ext <<_ACEOF
27863 /* end confdefs.h. */
27865 /* Override any gcc2 internal prototype to avoid an error. */
27869 /* We use char because int might match the return type of a gcc2
27870 builtin and then its argument prototype would still apply. */
27880 rm -f conftest.$ac_objext conftest$ac_exeext
27881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27882 (eval $ac_link) 2>conftest.er1
27884 grep -v '^ *+' conftest.er1 >conftest.err
27886 cat conftest.err >&5
27887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27888 (exit $ac_status); } &&
27889 { ac_try='test -z "$ac_c_werror_flag"
27890 || test ! -s conftest.err'
27891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27892 (eval $ac_try) 2>&5
27894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27895 (exit $ac_status); }; } &&
27896 { ac_try='test -s conftest$ac_exeext'
27897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27898 (eval $ac_try) 2>&5
27900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27901 (exit $ac_status); }; }; then
27902 ac_cv_lib_m_scalbnl=yes
27904 echo "$as_me: failed program was:" >&5
27905 sed 's/^/| /' conftest.$ac_ext >&5
27907 ac_cv_lib_m_scalbnl=no
27909 rm -f conftest.err conftest.$ac_objext \
27910 conftest$ac_exeext conftest.$ac_ext
27911 LIBS=$ac_check_lib_save_LIBS
27913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27914 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27915 if test $ac_cv_lib_m_scalbnl = yes; then
27917 cat >>confdefs.h <<\_ACEOF
27918 #define HAVE_SCALBNL 1
27923 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27924 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27925 if test "${ac_cv_lib_m_sinf+set}" = set; then
27926 echo $ECHO_N "(cached) $ECHO_C" >&6
27928 ac_check_lib_save_LIBS=$LIBS
27930 if test x$gcc_no_link = xyes; then
27931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27933 { (exit 1); exit 1; }; }
27935 cat >conftest.$ac_ext <<_ACEOF
27938 cat confdefs.h >>conftest.$ac_ext
27939 cat >>conftest.$ac_ext <<_ACEOF
27940 /* end confdefs.h. */
27942 /* Override any gcc2 internal prototype to avoid an error. */
27946 /* We use char because int might match the return type of a gcc2
27947 builtin and then its argument prototype would still apply. */
27957 rm -f conftest.$ac_objext conftest$ac_exeext
27958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27959 (eval $ac_link) 2>conftest.er1
27961 grep -v '^ *+' conftest.er1 >conftest.err
27963 cat conftest.err >&5
27964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27965 (exit $ac_status); } &&
27966 { ac_try='test -z "$ac_c_werror_flag"
27967 || test ! -s conftest.err'
27968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27969 (eval $ac_try) 2>&5
27971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27972 (exit $ac_status); }; } &&
27973 { ac_try='test -s conftest$ac_exeext'
27974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27975 (eval $ac_try) 2>&5
27977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27978 (exit $ac_status); }; }; then
27979 ac_cv_lib_m_sinf=yes
27981 echo "$as_me: failed program was:" >&5
27982 sed 's/^/| /' conftest.$ac_ext >&5
27984 ac_cv_lib_m_sinf=no
27986 rm -f conftest.err conftest.$ac_objext \
27987 conftest$ac_exeext conftest.$ac_ext
27988 LIBS=$ac_check_lib_save_LIBS
27990 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27991 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27992 if test $ac_cv_lib_m_sinf = yes; then
27994 cat >>confdefs.h <<\_ACEOF
27995 #define HAVE_SINF 1
28000 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28001 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28002 if test "${ac_cv_lib_m_sin+set}" = set; then
28003 echo $ECHO_N "(cached) $ECHO_C" >&6
28005 ac_check_lib_save_LIBS=$LIBS
28007 if test x$gcc_no_link = xyes; then
28008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28010 { (exit 1); exit 1; }; }
28012 cat >conftest.$ac_ext <<_ACEOF
28015 cat confdefs.h >>conftest.$ac_ext
28016 cat >>conftest.$ac_ext <<_ACEOF
28017 /* end confdefs.h. */
28019 /* Override any gcc2 internal prototype to avoid an error. */
28023 /* We use char because int might match the return type of a gcc2
28024 builtin and then its argument prototype would still apply. */
28034 rm -f conftest.$ac_objext conftest$ac_exeext
28035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28036 (eval $ac_link) 2>conftest.er1
28038 grep -v '^ *+' conftest.er1 >conftest.err
28040 cat conftest.err >&5
28041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28042 (exit $ac_status); } &&
28043 { ac_try='test -z "$ac_c_werror_flag"
28044 || test ! -s conftest.err'
28045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28046 (eval $ac_try) 2>&5
28048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28049 (exit $ac_status); }; } &&
28050 { ac_try='test -s conftest$ac_exeext'
28051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28052 (eval $ac_try) 2>&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); }; }; then
28056 ac_cv_lib_m_sin=yes
28058 echo "$as_me: failed program was:" >&5
28059 sed 's/^/| /' conftest.$ac_ext >&5
28063 rm -f conftest.err conftest.$ac_objext \
28064 conftest$ac_exeext conftest.$ac_ext
28065 LIBS=$ac_check_lib_save_LIBS
28067 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28068 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28069 if test $ac_cv_lib_m_sin = yes; then
28071 cat >>confdefs.h <<\_ACEOF
28077 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28078 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28079 if test "${ac_cv_lib_m_sinl+set}" = set; then
28080 echo $ECHO_N "(cached) $ECHO_C" >&6
28082 ac_check_lib_save_LIBS=$LIBS
28084 if test x$gcc_no_link = xyes; then
28085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28087 { (exit 1); exit 1; }; }
28089 cat >conftest.$ac_ext <<_ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28096 /* Override any gcc2 internal prototype to avoid an error. */
28100 /* We use char because int might match the return type of a gcc2
28101 builtin and then its argument prototype would still apply. */
28111 rm -f conftest.$ac_objext conftest$ac_exeext
28112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28113 (eval $ac_link) 2>conftest.er1
28115 grep -v '^ *+' conftest.er1 >conftest.err
28117 cat conftest.err >&5
28118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28119 (exit $ac_status); } &&
28120 { ac_try='test -z "$ac_c_werror_flag"
28121 || test ! -s conftest.err'
28122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28123 (eval $ac_try) 2>&5
28125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28126 (exit $ac_status); }; } &&
28127 { ac_try='test -s conftest$ac_exeext'
28128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28129 (eval $ac_try) 2>&5
28131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28132 (exit $ac_status); }; }; then
28133 ac_cv_lib_m_sinl=yes
28135 echo "$as_me: failed program was:" >&5
28136 sed 's/^/| /' conftest.$ac_ext >&5
28138 ac_cv_lib_m_sinl=no
28140 rm -f conftest.err conftest.$ac_objext \
28141 conftest$ac_exeext conftest.$ac_ext
28142 LIBS=$ac_check_lib_save_LIBS
28144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28145 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28146 if test $ac_cv_lib_m_sinl = yes; then
28148 cat >>confdefs.h <<\_ACEOF
28149 #define HAVE_SINL 1
28154 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28155 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28156 if test "${ac_cv_lib_m_csinf+set}" = set; then
28157 echo $ECHO_N "(cached) $ECHO_C" >&6
28159 ac_check_lib_save_LIBS=$LIBS
28161 if test x$gcc_no_link = xyes; then
28162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28164 { (exit 1); exit 1; }; }
28166 cat >conftest.$ac_ext <<_ACEOF
28169 cat confdefs.h >>conftest.$ac_ext
28170 cat >>conftest.$ac_ext <<_ACEOF
28171 /* end confdefs.h. */
28173 /* Override any gcc2 internal prototype to avoid an error. */
28177 /* We use char because int might match the return type of a gcc2
28178 builtin and then its argument prototype would still apply. */
28188 rm -f conftest.$ac_objext conftest$ac_exeext
28189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28190 (eval $ac_link) 2>conftest.er1
28192 grep -v '^ *+' conftest.er1 >conftest.err
28194 cat conftest.err >&5
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } &&
28197 { ac_try='test -z "$ac_c_werror_flag"
28198 || test ! -s conftest.err'
28199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28200 (eval $ac_try) 2>&5
28202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28203 (exit $ac_status); }; } &&
28204 { ac_try='test -s conftest$ac_exeext'
28205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28206 (eval $ac_try) 2>&5
28208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28209 (exit $ac_status); }; }; then
28210 ac_cv_lib_m_csinf=yes
28212 echo "$as_me: failed program was:" >&5
28213 sed 's/^/| /' conftest.$ac_ext >&5
28215 ac_cv_lib_m_csinf=no
28217 rm -f conftest.err conftest.$ac_objext \
28218 conftest$ac_exeext conftest.$ac_ext
28219 LIBS=$ac_check_lib_save_LIBS
28221 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28222 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28223 if test $ac_cv_lib_m_csinf = yes; then
28225 cat >>confdefs.h <<\_ACEOF
28226 #define HAVE_CSINF 1
28231 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28232 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28233 if test "${ac_cv_lib_m_csin+set}" = set; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28236 ac_check_lib_save_LIBS=$LIBS
28238 if test x$gcc_no_link = xyes; then
28239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28241 { (exit 1); exit 1; }; }
28243 cat >conftest.$ac_ext <<_ACEOF
28246 cat confdefs.h >>conftest.$ac_ext
28247 cat >>conftest.$ac_ext <<_ACEOF
28248 /* end confdefs.h. */
28250 /* Override any gcc2 internal prototype to avoid an error. */
28254 /* We use char because int might match the return type of a gcc2
28255 builtin and then its argument prototype would still apply. */
28265 rm -f conftest.$ac_objext conftest$ac_exeext
28266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28267 (eval $ac_link) 2>conftest.er1
28269 grep -v '^ *+' conftest.er1 >conftest.err
28271 cat conftest.err >&5
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); } &&
28274 { ac_try='test -z "$ac_c_werror_flag"
28275 || test ! -s conftest.err'
28276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28277 (eval $ac_try) 2>&5
28279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28280 (exit $ac_status); }; } &&
28281 { ac_try='test -s conftest$ac_exeext'
28282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28283 (eval $ac_try) 2>&5
28285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28286 (exit $ac_status); }; }; then
28287 ac_cv_lib_m_csin=yes
28289 echo "$as_me: failed program was:" >&5
28290 sed 's/^/| /' conftest.$ac_ext >&5
28292 ac_cv_lib_m_csin=no
28294 rm -f conftest.err conftest.$ac_objext \
28295 conftest$ac_exeext conftest.$ac_ext
28296 LIBS=$ac_check_lib_save_LIBS
28298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28299 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28300 if test $ac_cv_lib_m_csin = yes; then
28302 cat >>confdefs.h <<\_ACEOF
28303 #define HAVE_CSIN 1
28308 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28309 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28310 if test "${ac_cv_lib_m_csinl+set}" = set; then
28311 echo $ECHO_N "(cached) $ECHO_C" >&6
28313 ac_check_lib_save_LIBS=$LIBS
28315 if test x$gcc_no_link = xyes; then
28316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28318 { (exit 1); exit 1; }; }
28320 cat >conftest.$ac_ext <<_ACEOF
28323 cat confdefs.h >>conftest.$ac_ext
28324 cat >>conftest.$ac_ext <<_ACEOF
28325 /* end confdefs.h. */
28327 /* Override any gcc2 internal prototype to avoid an error. */
28331 /* We use char because int might match the return type of a gcc2
28332 builtin and then its argument prototype would still apply. */
28342 rm -f conftest.$ac_objext conftest$ac_exeext
28343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28344 (eval $ac_link) 2>conftest.er1
28346 grep -v '^ *+' conftest.er1 >conftest.err
28348 cat conftest.err >&5
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); } &&
28351 { ac_try='test -z "$ac_c_werror_flag"
28352 || test ! -s conftest.err'
28353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28354 (eval $ac_try) 2>&5
28356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28357 (exit $ac_status); }; } &&
28358 { ac_try='test -s conftest$ac_exeext'
28359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28360 (eval $ac_try) 2>&5
28362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363 (exit $ac_status); }; }; then
28364 ac_cv_lib_m_csinl=yes
28366 echo "$as_me: failed program was:" >&5
28367 sed 's/^/| /' conftest.$ac_ext >&5
28369 ac_cv_lib_m_csinl=no
28371 rm -f conftest.err conftest.$ac_objext \
28372 conftest$ac_exeext conftest.$ac_ext
28373 LIBS=$ac_check_lib_save_LIBS
28375 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28376 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28377 if test $ac_cv_lib_m_csinl = yes; then
28379 cat >>confdefs.h <<\_ACEOF
28380 #define HAVE_CSINL 1
28385 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28386 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28387 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28388 echo $ECHO_N "(cached) $ECHO_C" >&6
28390 ac_check_lib_save_LIBS=$LIBS
28392 if test x$gcc_no_link = xyes; then
28393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28395 { (exit 1); exit 1; }; }
28397 cat >conftest.$ac_ext <<_ACEOF
28400 cat confdefs.h >>conftest.$ac_ext
28401 cat >>conftest.$ac_ext <<_ACEOF
28402 /* end confdefs.h. */
28404 /* Override any gcc2 internal prototype to avoid an error. */
28408 /* We use char because int might match the return type of a gcc2
28409 builtin and then its argument prototype would still apply. */
28419 rm -f conftest.$ac_objext conftest$ac_exeext
28420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28421 (eval $ac_link) 2>conftest.er1
28423 grep -v '^ *+' conftest.er1 >conftest.err
28425 cat conftest.err >&5
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); } &&
28428 { ac_try='test -z "$ac_c_werror_flag"
28429 || test ! -s conftest.err'
28430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28431 (eval $ac_try) 2>&5
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); }; } &&
28435 { ac_try='test -s conftest$ac_exeext'
28436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437 (eval $ac_try) 2>&5
28439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440 (exit $ac_status); }; }; then
28441 ac_cv_lib_m_sinhf=yes
28443 echo "$as_me: failed program was:" >&5
28444 sed 's/^/| /' conftest.$ac_ext >&5
28446 ac_cv_lib_m_sinhf=no
28448 rm -f conftest.err conftest.$ac_objext \
28449 conftest$ac_exeext conftest.$ac_ext
28450 LIBS=$ac_check_lib_save_LIBS
28452 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28453 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28454 if test $ac_cv_lib_m_sinhf = yes; then
28456 cat >>confdefs.h <<\_ACEOF
28457 #define HAVE_SINHF 1
28462 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28463 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28464 if test "${ac_cv_lib_m_sinh+set}" = set; then
28465 echo $ECHO_N "(cached) $ECHO_C" >&6
28467 ac_check_lib_save_LIBS=$LIBS
28469 if test x$gcc_no_link = xyes; then
28470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28472 { (exit 1); exit 1; }; }
28474 cat >conftest.$ac_ext <<_ACEOF
28477 cat confdefs.h >>conftest.$ac_ext
28478 cat >>conftest.$ac_ext <<_ACEOF
28479 /* end confdefs.h. */
28481 /* Override any gcc2 internal prototype to avoid an error. */
28485 /* We use char because int might match the return type of a gcc2
28486 builtin and then its argument prototype would still apply. */
28496 rm -f conftest.$ac_objext conftest$ac_exeext
28497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28498 (eval $ac_link) 2>conftest.er1
28500 grep -v '^ *+' conftest.er1 >conftest.err
28502 cat conftest.err >&5
28503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28504 (exit $ac_status); } &&
28505 { ac_try='test -z "$ac_c_werror_flag"
28506 || test ! -s conftest.err'
28507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28508 (eval $ac_try) 2>&5
28510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28511 (exit $ac_status); }; } &&
28512 { ac_try='test -s conftest$ac_exeext'
28513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28514 (eval $ac_try) 2>&5
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); }; }; then
28518 ac_cv_lib_m_sinh=yes
28520 echo "$as_me: failed program was:" >&5
28521 sed 's/^/| /' conftest.$ac_ext >&5
28523 ac_cv_lib_m_sinh=no
28525 rm -f conftest.err conftest.$ac_objext \
28526 conftest$ac_exeext conftest.$ac_ext
28527 LIBS=$ac_check_lib_save_LIBS
28529 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28530 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28531 if test $ac_cv_lib_m_sinh = yes; then
28533 cat >>confdefs.h <<\_ACEOF
28534 #define HAVE_SINH 1
28539 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28540 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28541 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28542 echo $ECHO_N "(cached) $ECHO_C" >&6
28544 ac_check_lib_save_LIBS=$LIBS
28546 if test x$gcc_no_link = xyes; then
28547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28549 { (exit 1); exit 1; }; }
28551 cat >conftest.$ac_ext <<_ACEOF
28554 cat confdefs.h >>conftest.$ac_ext
28555 cat >>conftest.$ac_ext <<_ACEOF
28556 /* end confdefs.h. */
28558 /* Override any gcc2 internal prototype to avoid an error. */
28562 /* We use char because int might match the return type of a gcc2
28563 builtin and then its argument prototype would still apply. */
28573 rm -f conftest.$ac_objext conftest$ac_exeext
28574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28575 (eval $ac_link) 2>conftest.er1
28577 grep -v '^ *+' conftest.er1 >conftest.err
28579 cat conftest.err >&5
28580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28581 (exit $ac_status); } &&
28582 { ac_try='test -z "$ac_c_werror_flag"
28583 || test ! -s conftest.err'
28584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28585 (eval $ac_try) 2>&5
28587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28588 (exit $ac_status); }; } &&
28589 { ac_try='test -s conftest$ac_exeext'
28590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28591 (eval $ac_try) 2>&5
28593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28594 (exit $ac_status); }; }; then
28595 ac_cv_lib_m_sinhl=yes
28597 echo "$as_me: failed program was:" >&5
28598 sed 's/^/| /' conftest.$ac_ext >&5
28600 ac_cv_lib_m_sinhl=no
28602 rm -f conftest.err conftest.$ac_objext \
28603 conftest$ac_exeext conftest.$ac_ext
28604 LIBS=$ac_check_lib_save_LIBS
28606 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28607 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28608 if test $ac_cv_lib_m_sinhl = yes; then
28610 cat >>confdefs.h <<\_ACEOF
28611 #define HAVE_SINHL 1
28616 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28617 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28618 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28621 ac_check_lib_save_LIBS=$LIBS
28623 if test x$gcc_no_link = xyes; then
28624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28626 { (exit 1); exit 1; }; }
28628 cat >conftest.$ac_ext <<_ACEOF
28631 cat confdefs.h >>conftest.$ac_ext
28632 cat >>conftest.$ac_ext <<_ACEOF
28633 /* end confdefs.h. */
28635 /* Override any gcc2 internal prototype to avoid an error. */
28639 /* We use char because int might match the return type of a gcc2
28640 builtin and then its argument prototype would still apply. */
28650 rm -f conftest.$ac_objext conftest$ac_exeext
28651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28652 (eval $ac_link) 2>conftest.er1
28654 grep -v '^ *+' conftest.er1 >conftest.err
28656 cat conftest.err >&5
28657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28658 (exit $ac_status); } &&
28659 { ac_try='test -z "$ac_c_werror_flag"
28660 || test ! -s conftest.err'
28661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28662 (eval $ac_try) 2>&5
28664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28665 (exit $ac_status); }; } &&
28666 { ac_try='test -s conftest$ac_exeext'
28667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28668 (eval $ac_try) 2>&5
28670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28671 (exit $ac_status); }; }; then
28672 ac_cv_lib_m_csinhf=yes
28674 echo "$as_me: failed program was:" >&5
28675 sed 's/^/| /' conftest.$ac_ext >&5
28677 ac_cv_lib_m_csinhf=no
28679 rm -f conftest.err conftest.$ac_objext \
28680 conftest$ac_exeext conftest.$ac_ext
28681 LIBS=$ac_check_lib_save_LIBS
28683 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28684 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28685 if test $ac_cv_lib_m_csinhf = yes; then
28687 cat >>confdefs.h <<\_ACEOF
28688 #define HAVE_CSINHF 1
28693 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28694 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28695 if test "${ac_cv_lib_m_csinh+set}" = set; then
28696 echo $ECHO_N "(cached) $ECHO_C" >&6
28698 ac_check_lib_save_LIBS=$LIBS
28700 if test x$gcc_no_link = xyes; then
28701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28703 { (exit 1); exit 1; }; }
28705 cat >conftest.$ac_ext <<_ACEOF
28708 cat confdefs.h >>conftest.$ac_ext
28709 cat >>conftest.$ac_ext <<_ACEOF
28710 /* end confdefs.h. */
28712 /* Override any gcc2 internal prototype to avoid an error. */
28716 /* We use char because int might match the return type of a gcc2
28717 builtin and then its argument prototype would still apply. */
28727 rm -f conftest.$ac_objext conftest$ac_exeext
28728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28729 (eval $ac_link) 2>conftest.er1
28731 grep -v '^ *+' conftest.er1 >conftest.err
28733 cat conftest.err >&5
28734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28735 (exit $ac_status); } &&
28736 { ac_try='test -z "$ac_c_werror_flag"
28737 || test ! -s conftest.err'
28738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28739 (eval $ac_try) 2>&5
28741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28742 (exit $ac_status); }; } &&
28743 { ac_try='test -s conftest$ac_exeext'
28744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28745 (eval $ac_try) 2>&5
28747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28748 (exit $ac_status); }; }; then
28749 ac_cv_lib_m_csinh=yes
28751 echo "$as_me: failed program was:" >&5
28752 sed 's/^/| /' conftest.$ac_ext >&5
28754 ac_cv_lib_m_csinh=no
28756 rm -f conftest.err conftest.$ac_objext \
28757 conftest$ac_exeext conftest.$ac_ext
28758 LIBS=$ac_check_lib_save_LIBS
28760 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28761 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28762 if test $ac_cv_lib_m_csinh = yes; then
28764 cat >>confdefs.h <<\_ACEOF
28765 #define HAVE_CSINH 1
28770 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28771 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28772 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28773 echo $ECHO_N "(cached) $ECHO_C" >&6
28775 ac_check_lib_save_LIBS=$LIBS
28777 if test x$gcc_no_link = xyes; then
28778 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28780 { (exit 1); exit 1; }; }
28782 cat >conftest.$ac_ext <<_ACEOF
28785 cat confdefs.h >>conftest.$ac_ext
28786 cat >>conftest.$ac_ext <<_ACEOF
28787 /* end confdefs.h. */
28789 /* Override any gcc2 internal prototype to avoid an error. */
28793 /* We use char because int might match the return type of a gcc2
28794 builtin and then its argument prototype would still apply. */
28804 rm -f conftest.$ac_objext conftest$ac_exeext
28805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28806 (eval $ac_link) 2>conftest.er1
28808 grep -v '^ *+' conftest.er1 >conftest.err
28810 cat conftest.err >&5
28811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28812 (exit $ac_status); } &&
28813 { ac_try='test -z "$ac_c_werror_flag"
28814 || test ! -s conftest.err'
28815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28816 (eval $ac_try) 2>&5
28818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28819 (exit $ac_status); }; } &&
28820 { ac_try='test -s conftest$ac_exeext'
28821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28822 (eval $ac_try) 2>&5
28824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28825 (exit $ac_status); }; }; then
28826 ac_cv_lib_m_csinhl=yes
28828 echo "$as_me: failed program was:" >&5
28829 sed 's/^/| /' conftest.$ac_ext >&5
28831 ac_cv_lib_m_csinhl=no
28833 rm -f conftest.err conftest.$ac_objext \
28834 conftest$ac_exeext conftest.$ac_ext
28835 LIBS=$ac_check_lib_save_LIBS
28837 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28838 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28839 if test $ac_cv_lib_m_csinhl = yes; then
28841 cat >>confdefs.h <<\_ACEOF
28842 #define HAVE_CSINHL 1
28847 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28848 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28849 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28850 echo $ECHO_N "(cached) $ECHO_C" >&6
28852 ac_check_lib_save_LIBS=$LIBS
28854 if test x$gcc_no_link = xyes; then
28855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28857 { (exit 1); exit 1; }; }
28859 cat >conftest.$ac_ext <<_ACEOF
28862 cat confdefs.h >>conftest.$ac_ext
28863 cat >>conftest.$ac_ext <<_ACEOF
28864 /* end confdefs.h. */
28866 /* Override any gcc2 internal prototype to avoid an error. */
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28881 rm -f conftest.$ac_objext conftest$ac_exeext
28882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28883 (eval $ac_link) 2>conftest.er1
28885 grep -v '^ *+' conftest.er1 >conftest.err
28887 cat conftest.err >&5
28888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28889 (exit $ac_status); } &&
28890 { ac_try='test -z "$ac_c_werror_flag"
28891 || test ! -s conftest.err'
28892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28893 (eval $ac_try) 2>&5
28895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28896 (exit $ac_status); }; } &&
28897 { ac_try='test -s conftest$ac_exeext'
28898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28899 (eval $ac_try) 2>&5
28901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28902 (exit $ac_status); }; }; then
28903 ac_cv_lib_m_sqrtf=yes
28905 echo "$as_me: failed program was:" >&5
28906 sed 's/^/| /' conftest.$ac_ext >&5
28908 ac_cv_lib_m_sqrtf=no
28910 rm -f conftest.err conftest.$ac_objext \
28911 conftest$ac_exeext conftest.$ac_ext
28912 LIBS=$ac_check_lib_save_LIBS
28914 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28915 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28916 if test $ac_cv_lib_m_sqrtf = yes; then
28918 cat >>confdefs.h <<\_ACEOF
28919 #define HAVE_SQRTF 1
28924 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28925 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28926 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28929 ac_check_lib_save_LIBS=$LIBS
28931 if test x$gcc_no_link = xyes; then
28932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28934 { (exit 1); exit 1; }; }
28936 cat >conftest.$ac_ext <<_ACEOF
28939 cat confdefs.h >>conftest.$ac_ext
28940 cat >>conftest.$ac_ext <<_ACEOF
28941 /* end confdefs.h. */
28943 /* Override any gcc2 internal prototype to avoid an error. */
28947 /* We use char because int might match the return type of a gcc2
28948 builtin and then its argument prototype would still apply. */
28958 rm -f conftest.$ac_objext conftest$ac_exeext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28960 (eval $ac_link) 2>conftest.er1
28962 grep -v '^ *+' conftest.er1 >conftest.err
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } &&
28967 { ac_try='test -z "$ac_c_werror_flag"
28968 || test ! -s conftest.err'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; } &&
28974 { ac_try='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 ac_cv_lib_m_sqrt=yes
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28985 ac_cv_lib_m_sqrt=no
28987 rm -f conftest.err conftest.$ac_objext \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28992 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28993 if test $ac_cv_lib_m_sqrt = yes; then
28995 cat >>confdefs.h <<\_ACEOF
28996 #define HAVE_SQRT 1
29001 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
29002 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
29003 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
29004 echo $ECHO_N "(cached) $ECHO_C" >&6
29006 ac_check_lib_save_LIBS=$LIBS
29008 if test x$gcc_no_link = xyes; then
29009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29011 { (exit 1); exit 1; }; }
29013 cat >conftest.$ac_ext <<_ACEOF
29016 cat confdefs.h >>conftest.$ac_ext
29017 cat >>conftest.$ac_ext <<_ACEOF
29018 /* end confdefs.h. */
29020 /* Override any gcc2 internal prototype to avoid an error. */
29024 /* We use char because int might match the return type of a gcc2
29025 builtin and then its argument prototype would still apply. */
29035 rm -f conftest.$ac_objext conftest$ac_exeext
29036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29037 (eval $ac_link) 2>conftest.er1
29039 grep -v '^ *+' conftest.er1 >conftest.err
29041 cat conftest.err >&5
29042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29043 (exit $ac_status); } &&
29044 { ac_try='test -z "$ac_c_werror_flag"
29045 || test ! -s conftest.err'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; } &&
29051 { ac_try='test -s conftest$ac_exeext'
29052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29053 (eval $ac_try) 2>&5
29055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29056 (exit $ac_status); }; }; then
29057 ac_cv_lib_m_sqrtl=yes
29059 echo "$as_me: failed program was:" >&5
29060 sed 's/^/| /' conftest.$ac_ext >&5
29062 ac_cv_lib_m_sqrtl=no
29064 rm -f conftest.err conftest.$ac_objext \
29065 conftest$ac_exeext conftest.$ac_ext
29066 LIBS=$ac_check_lib_save_LIBS
29068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29069 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29070 if test $ac_cv_lib_m_sqrtl = yes; then
29072 cat >>confdefs.h <<\_ACEOF
29073 #define HAVE_SQRTL 1
29078 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29079 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29080 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29081 echo $ECHO_N "(cached) $ECHO_C" >&6
29083 ac_check_lib_save_LIBS=$LIBS
29085 if test x$gcc_no_link = xyes; then
29086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29088 { (exit 1); exit 1; }; }
29090 cat >conftest.$ac_ext <<_ACEOF
29093 cat confdefs.h >>conftest.$ac_ext
29094 cat >>conftest.$ac_ext <<_ACEOF
29095 /* end confdefs.h. */
29097 /* Override any gcc2 internal prototype to avoid an error. */
29101 /* We use char because int might match the return type of a gcc2
29102 builtin and then its argument prototype would still apply. */
29112 rm -f conftest.$ac_objext conftest$ac_exeext
29113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29114 (eval $ac_link) 2>conftest.er1
29116 grep -v '^ *+' conftest.er1 >conftest.err
29118 cat conftest.err >&5
29119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29120 (exit $ac_status); } &&
29121 { ac_try='test -z "$ac_c_werror_flag"
29122 || test ! -s conftest.err'
29123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29124 (eval $ac_try) 2>&5
29126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29127 (exit $ac_status); }; } &&
29128 { ac_try='test -s conftest$ac_exeext'
29129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29130 (eval $ac_try) 2>&5
29132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29133 (exit $ac_status); }; }; then
29134 ac_cv_lib_m_csqrtf=yes
29136 echo "$as_me: failed program was:" >&5
29137 sed 's/^/| /' conftest.$ac_ext >&5
29139 ac_cv_lib_m_csqrtf=no
29141 rm -f conftest.err conftest.$ac_objext \
29142 conftest$ac_exeext conftest.$ac_ext
29143 LIBS=$ac_check_lib_save_LIBS
29145 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29146 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29147 if test $ac_cv_lib_m_csqrtf = yes; then
29149 cat >>confdefs.h <<\_ACEOF
29150 #define HAVE_CSQRTF 1
29155 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29156 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29157 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29158 echo $ECHO_N "(cached) $ECHO_C" >&6
29160 ac_check_lib_save_LIBS=$LIBS
29162 if test x$gcc_no_link = xyes; then
29163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29165 { (exit 1); exit 1; }; }
29167 cat >conftest.$ac_ext <<_ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29174 /* Override any gcc2 internal prototype to avoid an error. */
29178 /* We use char because int might match the return type of a gcc2
29179 builtin and then its argument prototype would still apply. */
29189 rm -f conftest.$ac_objext conftest$ac_exeext
29190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29191 (eval $ac_link) 2>conftest.er1
29193 grep -v '^ *+' conftest.er1 >conftest.err
29195 cat conftest.err >&5
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); } &&
29198 { ac_try='test -z "$ac_c_werror_flag"
29199 || test ! -s conftest.err'
29200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29201 (eval $ac_try) 2>&5
29203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29204 (exit $ac_status); }; } &&
29205 { ac_try='test -s conftest$ac_exeext'
29206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29207 (eval $ac_try) 2>&5
29209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29210 (exit $ac_status); }; }; then
29211 ac_cv_lib_m_csqrt=yes
29213 echo "$as_me: failed program was:" >&5
29214 sed 's/^/| /' conftest.$ac_ext >&5
29216 ac_cv_lib_m_csqrt=no
29218 rm -f conftest.err conftest.$ac_objext \
29219 conftest$ac_exeext conftest.$ac_ext
29220 LIBS=$ac_check_lib_save_LIBS
29222 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29223 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29224 if test $ac_cv_lib_m_csqrt = yes; then
29226 cat >>confdefs.h <<\_ACEOF
29227 #define HAVE_CSQRT 1
29232 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29233 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29234 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29235 echo $ECHO_N "(cached) $ECHO_C" >&6
29237 ac_check_lib_save_LIBS=$LIBS
29239 if test x$gcc_no_link = xyes; then
29240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29242 { (exit 1); exit 1; }; }
29244 cat >conftest.$ac_ext <<_ACEOF
29247 cat confdefs.h >>conftest.$ac_ext
29248 cat >>conftest.$ac_ext <<_ACEOF
29249 /* end confdefs.h. */
29251 /* Override any gcc2 internal prototype to avoid an error. */
29255 /* We use char because int might match the return type of a gcc2
29256 builtin and then its argument prototype would still apply. */
29266 rm -f conftest.$ac_objext conftest$ac_exeext
29267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29268 (eval $ac_link) 2>conftest.er1
29270 grep -v '^ *+' conftest.er1 >conftest.err
29272 cat conftest.err >&5
29273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29274 (exit $ac_status); } &&
29275 { ac_try='test -z "$ac_c_werror_flag"
29276 || test ! -s conftest.err'
29277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29278 (eval $ac_try) 2>&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); }; } &&
29282 { ac_try='test -s conftest$ac_exeext'
29283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29284 (eval $ac_try) 2>&5
29286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29287 (exit $ac_status); }; }; then
29288 ac_cv_lib_m_csqrtl=yes
29290 echo "$as_me: failed program was:" >&5
29291 sed 's/^/| /' conftest.$ac_ext >&5
29293 ac_cv_lib_m_csqrtl=no
29295 rm -f conftest.err conftest.$ac_objext \
29296 conftest$ac_exeext conftest.$ac_ext
29297 LIBS=$ac_check_lib_save_LIBS
29299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29300 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29301 if test $ac_cv_lib_m_csqrtl = yes; then
29303 cat >>confdefs.h <<\_ACEOF
29304 #define HAVE_CSQRTL 1
29309 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29310 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29311 if test "${ac_cv_lib_m_tanf+set}" = set; then
29312 echo $ECHO_N "(cached) $ECHO_C" >&6
29314 ac_check_lib_save_LIBS=$LIBS
29316 if test x$gcc_no_link = xyes; then
29317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29319 { (exit 1); exit 1; }; }
29321 cat >conftest.$ac_ext <<_ACEOF
29324 cat confdefs.h >>conftest.$ac_ext
29325 cat >>conftest.$ac_ext <<_ACEOF
29326 /* end confdefs.h. */
29328 /* Override any gcc2 internal prototype to avoid an error. */
29332 /* We use char because int might match the return type of a gcc2
29333 builtin and then its argument prototype would still apply. */
29343 rm -f conftest.$ac_objext conftest$ac_exeext
29344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29345 (eval $ac_link) 2>conftest.er1
29347 grep -v '^ *+' conftest.er1 >conftest.err
29349 cat conftest.err >&5
29350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29351 (exit $ac_status); } &&
29352 { ac_try='test -z "$ac_c_werror_flag"
29353 || test ! -s conftest.err'
29354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29355 (eval $ac_try) 2>&5
29357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29358 (exit $ac_status); }; } &&
29359 { ac_try='test -s conftest$ac_exeext'
29360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29361 (eval $ac_try) 2>&5
29363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29364 (exit $ac_status); }; }; then
29365 ac_cv_lib_m_tanf=yes
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29370 ac_cv_lib_m_tanf=no
29372 rm -f conftest.err conftest.$ac_objext \
29373 conftest$ac_exeext conftest.$ac_ext
29374 LIBS=$ac_check_lib_save_LIBS
29376 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29377 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29378 if test $ac_cv_lib_m_tanf = yes; then
29380 cat >>confdefs.h <<\_ACEOF
29381 #define HAVE_TANF 1
29386 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29387 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29388 if test "${ac_cv_lib_m_tan+set}" = set; then
29389 echo $ECHO_N "(cached) $ECHO_C" >&6
29391 ac_check_lib_save_LIBS=$LIBS
29393 if test x$gcc_no_link = xyes; then
29394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29396 { (exit 1); exit 1; }; }
29398 cat >conftest.$ac_ext <<_ACEOF
29401 cat confdefs.h >>conftest.$ac_ext
29402 cat >>conftest.$ac_ext <<_ACEOF
29403 /* end confdefs.h. */
29405 /* Override any gcc2 internal prototype to avoid an error. */
29409 /* We use char because int might match the return type of a gcc2
29410 builtin and then its argument prototype would still apply. */
29420 rm -f conftest.$ac_objext conftest$ac_exeext
29421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29422 (eval $ac_link) 2>conftest.er1
29424 grep -v '^ *+' conftest.er1 >conftest.err
29426 cat conftest.err >&5
29427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29428 (exit $ac_status); } &&
29429 { ac_try='test -z "$ac_c_werror_flag"
29430 || test ! -s conftest.err'
29431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29432 (eval $ac_try) 2>&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); }; } &&
29436 { ac_try='test -s conftest$ac_exeext'
29437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29438 (eval $ac_try) 2>&5
29440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29441 (exit $ac_status); }; }; then
29442 ac_cv_lib_m_tan=yes
29444 echo "$as_me: failed program was:" >&5
29445 sed 's/^/| /' conftest.$ac_ext >&5
29449 rm -f conftest.err conftest.$ac_objext \
29450 conftest$ac_exeext conftest.$ac_ext
29451 LIBS=$ac_check_lib_save_LIBS
29453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29454 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29455 if test $ac_cv_lib_m_tan = yes; then
29457 cat >>confdefs.h <<\_ACEOF
29463 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29464 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29465 if test "${ac_cv_lib_m_tanl+set}" = set; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29468 ac_check_lib_save_LIBS=$LIBS
29470 if test x$gcc_no_link = xyes; then
29471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29473 { (exit 1); exit 1; }; }
29475 cat >conftest.$ac_ext <<_ACEOF
29478 cat confdefs.h >>conftest.$ac_ext
29479 cat >>conftest.$ac_ext <<_ACEOF
29480 /* end confdefs.h. */
29482 /* Override any gcc2 internal prototype to avoid an error. */
29486 /* We use char because int might match the return type of a gcc2
29487 builtin and then its argument prototype would still apply. */
29497 rm -f conftest.$ac_objext conftest$ac_exeext
29498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29499 (eval $ac_link) 2>conftest.er1
29501 grep -v '^ *+' conftest.er1 >conftest.err
29503 cat conftest.err >&5
29504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29505 (exit $ac_status); } &&
29506 { ac_try='test -z "$ac_c_werror_flag"
29507 || test ! -s conftest.err'
29508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29509 (eval $ac_try) 2>&5
29511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29512 (exit $ac_status); }; } &&
29513 { ac_try='test -s conftest$ac_exeext'
29514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29515 (eval $ac_try) 2>&5
29517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29518 (exit $ac_status); }; }; then
29519 ac_cv_lib_m_tanl=yes
29521 echo "$as_me: failed program was:" >&5
29522 sed 's/^/| /' conftest.$ac_ext >&5
29524 ac_cv_lib_m_tanl=no
29526 rm -f conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 LIBS=$ac_check_lib_save_LIBS
29530 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29531 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29532 if test $ac_cv_lib_m_tanl = yes; then
29534 cat >>confdefs.h <<\_ACEOF
29535 #define HAVE_TANL 1
29540 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29541 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29542 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29543 echo $ECHO_N "(cached) $ECHO_C" >&6
29545 ac_check_lib_save_LIBS=$LIBS
29547 if test x$gcc_no_link = xyes; then
29548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29550 { (exit 1); exit 1; }; }
29552 cat >conftest.$ac_ext <<_ACEOF
29555 cat confdefs.h >>conftest.$ac_ext
29556 cat >>conftest.$ac_ext <<_ACEOF
29557 /* end confdefs.h. */
29559 /* Override any gcc2 internal prototype to avoid an error. */
29563 /* We use char because int might match the return type of a gcc2
29564 builtin and then its argument prototype would still apply. */
29574 rm -f conftest.$ac_objext conftest$ac_exeext
29575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29576 (eval $ac_link) 2>conftest.er1
29578 grep -v '^ *+' conftest.er1 >conftest.err
29580 cat conftest.err >&5
29581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29582 (exit $ac_status); } &&
29583 { ac_try='test -z "$ac_c_werror_flag"
29584 || test ! -s conftest.err'
29585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29586 (eval $ac_try) 2>&5
29588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29589 (exit $ac_status); }; } &&
29590 { ac_try='test -s conftest$ac_exeext'
29591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29592 (eval $ac_try) 2>&5
29594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29595 (exit $ac_status); }; }; then
29596 ac_cv_lib_m_ctanf=yes
29598 echo "$as_me: failed program was:" >&5
29599 sed 's/^/| /' conftest.$ac_ext >&5
29601 ac_cv_lib_m_ctanf=no
29603 rm -f conftest.err conftest.$ac_objext \
29604 conftest$ac_exeext conftest.$ac_ext
29605 LIBS=$ac_check_lib_save_LIBS
29607 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29608 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29609 if test $ac_cv_lib_m_ctanf = yes; then
29611 cat >>confdefs.h <<\_ACEOF
29612 #define HAVE_CTANF 1
29617 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29618 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29619 if test "${ac_cv_lib_m_ctan+set}" = set; then
29620 echo $ECHO_N "(cached) $ECHO_C" >&6
29622 ac_check_lib_save_LIBS=$LIBS
29624 if test x$gcc_no_link = xyes; then
29625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29627 { (exit 1); exit 1; }; }
29629 cat >conftest.$ac_ext <<_ACEOF
29632 cat confdefs.h >>conftest.$ac_ext
29633 cat >>conftest.$ac_ext <<_ACEOF
29634 /* end confdefs.h. */
29636 /* Override any gcc2 internal prototype to avoid an error. */
29640 /* We use char because int might match the return type of a gcc2
29641 builtin and then its argument prototype would still apply. */
29651 rm -f conftest.$ac_objext conftest$ac_exeext
29652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29653 (eval $ac_link) 2>conftest.er1
29655 grep -v '^ *+' conftest.er1 >conftest.err
29657 cat conftest.err >&5
29658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29659 (exit $ac_status); } &&
29660 { ac_try='test -z "$ac_c_werror_flag"
29661 || test ! -s conftest.err'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; } &&
29667 { ac_try='test -s conftest$ac_exeext'
29668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29669 (eval $ac_try) 2>&5
29671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29672 (exit $ac_status); }; }; then
29673 ac_cv_lib_m_ctan=yes
29675 echo "$as_me: failed program was:" >&5
29676 sed 's/^/| /' conftest.$ac_ext >&5
29678 ac_cv_lib_m_ctan=no
29680 rm -f conftest.err conftest.$ac_objext \
29681 conftest$ac_exeext conftest.$ac_ext
29682 LIBS=$ac_check_lib_save_LIBS
29684 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29685 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29686 if test $ac_cv_lib_m_ctan = yes; then
29688 cat >>confdefs.h <<\_ACEOF
29689 #define HAVE_CTAN 1
29694 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29695 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29696 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29699 ac_check_lib_save_LIBS=$LIBS
29701 if test x$gcc_no_link = xyes; then
29702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29704 { (exit 1); exit 1; }; }
29706 cat >conftest.$ac_ext <<_ACEOF
29709 cat confdefs.h >>conftest.$ac_ext
29710 cat >>conftest.$ac_ext <<_ACEOF
29711 /* end confdefs.h. */
29713 /* Override any gcc2 internal prototype to avoid an error. */
29717 /* We use char because int might match the return type of a gcc2
29718 builtin and then its argument prototype would still apply. */
29728 rm -f conftest.$ac_objext conftest$ac_exeext
29729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29730 (eval $ac_link) 2>conftest.er1
29732 grep -v '^ *+' conftest.er1 >conftest.err
29734 cat conftest.err >&5
29735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29736 (exit $ac_status); } &&
29737 { ac_try='test -z "$ac_c_werror_flag"
29738 || test ! -s conftest.err'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; } &&
29744 { ac_try='test -s conftest$ac_exeext'
29745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29746 (eval $ac_try) 2>&5
29748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29749 (exit $ac_status); }; }; then
29750 ac_cv_lib_m_ctanl=yes
29752 echo "$as_me: failed program was:" >&5
29753 sed 's/^/| /' conftest.$ac_ext >&5
29755 ac_cv_lib_m_ctanl=no
29757 rm -f conftest.err conftest.$ac_objext \
29758 conftest$ac_exeext conftest.$ac_ext
29759 LIBS=$ac_check_lib_save_LIBS
29761 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29762 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29763 if test $ac_cv_lib_m_ctanl = yes; then
29765 cat >>confdefs.h <<\_ACEOF
29766 #define HAVE_CTANL 1
29771 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29772 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29773 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29774 echo $ECHO_N "(cached) $ECHO_C" >&6
29776 ac_check_lib_save_LIBS=$LIBS
29778 if test x$gcc_no_link = xyes; then
29779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29781 { (exit 1); exit 1; }; }
29783 cat >conftest.$ac_ext <<_ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29790 /* Override any gcc2 internal prototype to avoid an error. */
29794 /* We use char because int might match the return type of a gcc2
29795 builtin and then its argument prototype would still apply. */
29805 rm -f conftest.$ac_objext conftest$ac_exeext
29806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29807 (eval $ac_link) 2>conftest.er1
29809 grep -v '^ *+' conftest.er1 >conftest.err
29811 cat conftest.err >&5
29812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29813 (exit $ac_status); } &&
29814 { ac_try='test -z "$ac_c_werror_flag"
29815 || test ! -s conftest.err'
29816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29817 (eval $ac_try) 2>&5
29819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29820 (exit $ac_status); }; } &&
29821 { ac_try='test -s conftest$ac_exeext'
29822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29823 (eval $ac_try) 2>&5
29825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29826 (exit $ac_status); }; }; then
29827 ac_cv_lib_m_tanhf=yes
29829 echo "$as_me: failed program was:" >&5
29830 sed 's/^/| /' conftest.$ac_ext >&5
29832 ac_cv_lib_m_tanhf=no
29834 rm -f conftest.err conftest.$ac_objext \
29835 conftest$ac_exeext conftest.$ac_ext
29836 LIBS=$ac_check_lib_save_LIBS
29838 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29839 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29840 if test $ac_cv_lib_m_tanhf = yes; then
29842 cat >>confdefs.h <<\_ACEOF
29843 #define HAVE_TANHF 1
29848 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29849 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29850 if test "${ac_cv_lib_m_tanh+set}" = set; then
29851 echo $ECHO_N "(cached) $ECHO_C" >&6
29853 ac_check_lib_save_LIBS=$LIBS
29855 if test x$gcc_no_link = xyes; then
29856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29858 { (exit 1); exit 1; }; }
29860 cat >conftest.$ac_ext <<_ACEOF
29863 cat confdefs.h >>conftest.$ac_ext
29864 cat >>conftest.$ac_ext <<_ACEOF
29865 /* end confdefs.h. */
29867 /* Override any gcc2 internal prototype to avoid an error. */
29871 /* We use char because int might match the return type of a gcc2
29872 builtin and then its argument prototype would still apply. */
29882 rm -f conftest.$ac_objext conftest$ac_exeext
29883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29884 (eval $ac_link) 2>conftest.er1
29886 grep -v '^ *+' conftest.er1 >conftest.err
29888 cat conftest.err >&5
29889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29890 (exit $ac_status); } &&
29891 { ac_try='test -z "$ac_c_werror_flag"
29892 || test ! -s conftest.err'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; } &&
29898 { ac_try='test -s conftest$ac_exeext'
29899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29900 (eval $ac_try) 2>&5
29902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29903 (exit $ac_status); }; }; then
29904 ac_cv_lib_m_tanh=yes
29906 echo "$as_me: failed program was:" >&5
29907 sed 's/^/| /' conftest.$ac_ext >&5
29909 ac_cv_lib_m_tanh=no
29911 rm -f conftest.err conftest.$ac_objext \
29912 conftest$ac_exeext conftest.$ac_ext
29913 LIBS=$ac_check_lib_save_LIBS
29915 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29916 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29917 if test $ac_cv_lib_m_tanh = yes; then
29919 cat >>confdefs.h <<\_ACEOF
29920 #define HAVE_TANH 1
29925 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29926 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29927 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29928 echo $ECHO_N "(cached) $ECHO_C" >&6
29930 ac_check_lib_save_LIBS=$LIBS
29932 if test x$gcc_no_link = xyes; then
29933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29935 { (exit 1); exit 1; }; }
29937 cat >conftest.$ac_ext <<_ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29944 /* Override any gcc2 internal prototype to avoid an error. */
29948 /* We use char because int might match the return type of a gcc2
29949 builtin and then its argument prototype would still apply. */
29959 rm -f conftest.$ac_objext conftest$ac_exeext
29960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29961 (eval $ac_link) 2>conftest.er1
29963 grep -v '^ *+' conftest.er1 >conftest.err
29965 cat conftest.err >&5
29966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29967 (exit $ac_status); } &&
29968 { ac_try='test -z "$ac_c_werror_flag"
29969 || test ! -s conftest.err'
29970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29971 (eval $ac_try) 2>&5
29973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29974 (exit $ac_status); }; } &&
29975 { ac_try='test -s conftest$ac_exeext'
29976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29977 (eval $ac_try) 2>&5
29979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29980 (exit $ac_status); }; }; then
29981 ac_cv_lib_m_tanhl=yes
29983 echo "$as_me: failed program was:" >&5
29984 sed 's/^/| /' conftest.$ac_ext >&5
29986 ac_cv_lib_m_tanhl=no
29988 rm -f conftest.err conftest.$ac_objext \
29989 conftest$ac_exeext conftest.$ac_ext
29990 LIBS=$ac_check_lib_save_LIBS
29992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29993 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29994 if test $ac_cv_lib_m_tanhl = yes; then
29996 cat >>confdefs.h <<\_ACEOF
29997 #define HAVE_TANHL 1
30002 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
30003 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
30004 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
30005 echo $ECHO_N "(cached) $ECHO_C" >&6
30007 ac_check_lib_save_LIBS=$LIBS
30009 if test x$gcc_no_link = xyes; then
30010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30012 { (exit 1); exit 1; }; }
30014 cat >conftest.$ac_ext <<_ACEOF
30017 cat confdefs.h >>conftest.$ac_ext
30018 cat >>conftest.$ac_ext <<_ACEOF
30019 /* end confdefs.h. */
30021 /* Override any gcc2 internal prototype to avoid an error. */
30025 /* We use char because int might match the return type of a gcc2
30026 builtin and then its argument prototype would still apply. */
30036 rm -f conftest.$ac_objext conftest$ac_exeext
30037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30038 (eval $ac_link) 2>conftest.er1
30040 grep -v '^ *+' conftest.er1 >conftest.err
30042 cat conftest.err >&5
30043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30044 (exit $ac_status); } &&
30045 { ac_try='test -z "$ac_c_werror_flag"
30046 || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_cv_lib_m_ctanhf=yes
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30063 ac_cv_lib_m_ctanhf=no
30065 rm -f conftest.err conftest.$ac_objext \
30066 conftest$ac_exeext conftest.$ac_ext
30067 LIBS=$ac_check_lib_save_LIBS
30069 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30070 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30071 if test $ac_cv_lib_m_ctanhf = yes; then
30073 cat >>confdefs.h <<\_ACEOF
30074 #define HAVE_CTANHF 1
30079 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30080 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30081 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30082 echo $ECHO_N "(cached) $ECHO_C" >&6
30084 ac_check_lib_save_LIBS=$LIBS
30086 if test x$gcc_no_link = xyes; then
30087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30089 { (exit 1); exit 1; }; }
30091 cat >conftest.$ac_ext <<_ACEOF
30094 cat confdefs.h >>conftest.$ac_ext
30095 cat >>conftest.$ac_ext <<_ACEOF
30096 /* end confdefs.h. */
30098 /* Override any gcc2 internal prototype to avoid an error. */
30102 /* We use char because int might match the return type of a gcc2
30103 builtin and then its argument prototype would still apply. */
30113 rm -f conftest.$ac_objext conftest$ac_exeext
30114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30115 (eval $ac_link) 2>conftest.er1
30117 grep -v '^ *+' conftest.er1 >conftest.err
30119 cat conftest.err >&5
30120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30121 (exit $ac_status); } &&
30122 { ac_try='test -z "$ac_c_werror_flag"
30123 || test ! -s conftest.err'
30124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30125 (eval $ac_try) 2>&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); }; } &&
30129 { ac_try='test -s conftest$ac_exeext'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; }; then
30135 ac_cv_lib_m_ctanh=yes
30137 echo "$as_me: failed program was:" >&5
30138 sed 's/^/| /' conftest.$ac_ext >&5
30140 ac_cv_lib_m_ctanh=no
30142 rm -f conftest.err conftest.$ac_objext \
30143 conftest$ac_exeext conftest.$ac_ext
30144 LIBS=$ac_check_lib_save_LIBS
30146 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30147 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30148 if test $ac_cv_lib_m_ctanh = yes; then
30150 cat >>confdefs.h <<\_ACEOF
30151 #define HAVE_CTANH 1
30156 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30157 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30158 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30159 echo $ECHO_N "(cached) $ECHO_C" >&6
30161 ac_check_lib_save_LIBS=$LIBS
30163 if test x$gcc_no_link = xyes; then
30164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30166 { (exit 1); exit 1; }; }
30168 cat >conftest.$ac_ext <<_ACEOF
30171 cat confdefs.h >>conftest.$ac_ext
30172 cat >>conftest.$ac_ext <<_ACEOF
30173 /* end confdefs.h. */
30175 /* Override any gcc2 internal prototype to avoid an error. */
30179 /* We use char because int might match the return type of a gcc2
30180 builtin and then its argument prototype would still apply. */
30190 rm -f conftest.$ac_objext conftest$ac_exeext
30191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30192 (eval $ac_link) 2>conftest.er1
30194 grep -v '^ *+' conftest.er1 >conftest.err
30196 cat conftest.err >&5
30197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30198 (exit $ac_status); } &&
30199 { ac_try='test -z "$ac_c_werror_flag"
30200 || test ! -s conftest.err'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; } &&
30206 { ac_try='test -s conftest$ac_exeext'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; }; then
30212 ac_cv_lib_m_ctanhl=yes
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30217 ac_cv_lib_m_ctanhl=no
30219 rm -f conftest.err conftest.$ac_objext \
30220 conftest$ac_exeext conftest.$ac_ext
30221 LIBS=$ac_check_lib_save_LIBS
30223 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30224 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30225 if test $ac_cv_lib_m_ctanhl = yes; then
30227 cat >>confdefs.h <<\_ACEOF
30228 #define HAVE_CTANHL 1
30233 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30234 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30235 if test "${ac_cv_lib_m_truncf+set}" = set; then
30236 echo $ECHO_N "(cached) $ECHO_C" >&6
30238 ac_check_lib_save_LIBS=$LIBS
30240 if test x$gcc_no_link = xyes; then
30241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30243 { (exit 1); exit 1; }; }
30245 cat >conftest.$ac_ext <<_ACEOF
30248 cat confdefs.h >>conftest.$ac_ext
30249 cat >>conftest.$ac_ext <<_ACEOF
30250 /* end confdefs.h. */
30252 /* Override any gcc2 internal prototype to avoid an error. */
30256 /* We use char because int might match the return type of a gcc2
30257 builtin and then its argument prototype would still apply. */
30267 rm -f conftest.$ac_objext conftest$ac_exeext
30268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30269 (eval $ac_link) 2>conftest.er1
30271 grep -v '^ *+' conftest.er1 >conftest.err
30273 cat conftest.err >&5
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); } &&
30276 { ac_try='test -z "$ac_c_werror_flag"
30277 || test ! -s conftest.err'
30278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30279 (eval $ac_try) 2>&5
30281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30282 (exit $ac_status); }; } &&
30283 { ac_try='test -s conftest$ac_exeext'
30284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30285 (eval $ac_try) 2>&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); }; }; then
30289 ac_cv_lib_m_truncf=yes
30291 echo "$as_me: failed program was:" >&5
30292 sed 's/^/| /' conftest.$ac_ext >&5
30294 ac_cv_lib_m_truncf=no
30296 rm -f conftest.err conftest.$ac_objext \
30297 conftest$ac_exeext conftest.$ac_ext
30298 LIBS=$ac_check_lib_save_LIBS
30300 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30301 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30302 if test $ac_cv_lib_m_truncf = yes; then
30304 cat >>confdefs.h <<\_ACEOF
30305 #define HAVE_TRUNCF 1
30310 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30311 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30312 if test "${ac_cv_lib_m_trunc+set}" = set; then
30313 echo $ECHO_N "(cached) $ECHO_C" >&6
30315 ac_check_lib_save_LIBS=$LIBS
30317 if test x$gcc_no_link = xyes; then
30318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30320 { (exit 1); exit 1; }; }
30322 cat >conftest.$ac_ext <<_ACEOF
30325 cat confdefs.h >>conftest.$ac_ext
30326 cat >>conftest.$ac_ext <<_ACEOF
30327 /* end confdefs.h. */
30329 /* Override any gcc2 internal prototype to avoid an error. */
30333 /* We use char because int might match the return type of a gcc2
30334 builtin and then its argument prototype would still apply. */
30344 rm -f conftest.$ac_objext conftest$ac_exeext
30345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30346 (eval $ac_link) 2>conftest.er1
30348 grep -v '^ *+' conftest.er1 >conftest.err
30350 cat conftest.err >&5
30351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30352 (exit $ac_status); } &&
30353 { ac_try='test -z "$ac_c_werror_flag"
30354 || test ! -s conftest.err'
30355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30356 (eval $ac_try) 2>&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); }; } &&
30360 { ac_try='test -s conftest$ac_exeext'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; }; then
30366 ac_cv_lib_m_trunc=yes
30368 echo "$as_me: failed program was:" >&5
30369 sed 's/^/| /' conftest.$ac_ext >&5
30371 ac_cv_lib_m_trunc=no
30373 rm -f conftest.err conftest.$ac_objext \
30374 conftest$ac_exeext conftest.$ac_ext
30375 LIBS=$ac_check_lib_save_LIBS
30377 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30378 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30379 if test $ac_cv_lib_m_trunc = yes; then
30381 cat >>confdefs.h <<\_ACEOF
30382 #define HAVE_TRUNC 1
30387 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30388 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30389 if test "${ac_cv_lib_m_truncl+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 ac_check_lib_save_LIBS=$LIBS
30394 if test x$gcc_no_link = xyes; then
30395 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30396 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30397 { (exit 1); exit 1; }; }
30399 cat >conftest.$ac_ext <<_ACEOF
30402 cat confdefs.h >>conftest.$ac_ext
30403 cat >>conftest.$ac_ext <<_ACEOF
30404 /* end confdefs.h. */
30406 /* Override any gcc2 internal prototype to avoid an error. */
30410 /* We use char because int might match the return type of a gcc2
30411 builtin and then its argument prototype would still apply. */
30421 rm -f conftest.$ac_objext conftest$ac_exeext
30422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30423 (eval $ac_link) 2>conftest.er1
30425 grep -v '^ *+' conftest.er1 >conftest.err
30427 cat conftest.err >&5
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); } &&
30430 { ac_try='test -z "$ac_c_werror_flag"
30431 || test ! -s conftest.err'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; } &&
30437 { ac_try='test -s conftest$ac_exeext'
30438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30439 (eval $ac_try) 2>&5
30441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30442 (exit $ac_status); }; }; then
30443 ac_cv_lib_m_truncl=yes
30445 echo "$as_me: failed program was:" >&5
30446 sed 's/^/| /' conftest.$ac_ext >&5
30448 ac_cv_lib_m_truncl=no
30450 rm -f conftest.err conftest.$ac_objext \
30451 conftest$ac_exeext conftest.$ac_ext
30452 LIBS=$ac_check_lib_save_LIBS
30454 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30455 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30456 if test $ac_cv_lib_m_truncl = yes; then
30458 cat >>confdefs.h <<\_ACEOF
30459 #define HAVE_TRUNCL 1
30464 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30465 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30466 if test "${ac_cv_lib_m_erff+set}" = set; then
30467 echo $ECHO_N "(cached) $ECHO_C" >&6
30469 ac_check_lib_save_LIBS=$LIBS
30471 if test x$gcc_no_link = xyes; then
30472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30474 { (exit 1); exit 1; }; }
30476 cat >conftest.$ac_ext <<_ACEOF
30479 cat confdefs.h >>conftest.$ac_ext
30480 cat >>conftest.$ac_ext <<_ACEOF
30481 /* end confdefs.h. */
30483 /* Override any gcc2 internal prototype to avoid an error. */
30487 /* We use char because int might match the return type of a gcc2
30488 builtin and then its argument prototype would still apply. */
30498 rm -f conftest.$ac_objext conftest$ac_exeext
30499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30500 (eval $ac_link) 2>conftest.er1
30502 grep -v '^ *+' conftest.er1 >conftest.err
30504 cat conftest.err >&5
30505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30506 (exit $ac_status); } &&
30507 { ac_try='test -z "$ac_c_werror_flag"
30508 || test ! -s conftest.err'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; } &&
30514 { ac_try='test -s conftest$ac_exeext'
30515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30516 (eval $ac_try) 2>&5
30518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30519 (exit $ac_status); }; }; then
30520 ac_cv_lib_m_erff=yes
30522 echo "$as_me: failed program was:" >&5
30523 sed 's/^/| /' conftest.$ac_ext >&5
30525 ac_cv_lib_m_erff=no
30527 rm -f conftest.err conftest.$ac_objext \
30528 conftest$ac_exeext conftest.$ac_ext
30529 LIBS=$ac_check_lib_save_LIBS
30531 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30532 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30533 if test $ac_cv_lib_m_erff = yes; then
30535 cat >>confdefs.h <<\_ACEOF
30536 #define HAVE_ERFF 1
30541 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30542 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30543 if test "${ac_cv_lib_m_erf+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30546 ac_check_lib_save_LIBS=$LIBS
30548 if test x$gcc_no_link = xyes; then
30549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30551 { (exit 1); exit 1; }; }
30553 cat >conftest.$ac_ext <<_ACEOF
30556 cat confdefs.h >>conftest.$ac_ext
30557 cat >>conftest.$ac_ext <<_ACEOF
30558 /* end confdefs.h. */
30560 /* Override any gcc2 internal prototype to avoid an error. */
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30575 rm -f conftest.$ac_objext conftest$ac_exeext
30576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30577 (eval $ac_link) 2>conftest.er1
30579 grep -v '^ *+' conftest.er1 >conftest.err
30581 cat conftest.err >&5
30582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30583 (exit $ac_status); } &&
30584 { ac_try='test -z "$ac_c_werror_flag"
30585 || test ! -s conftest.err'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; } &&
30591 { ac_try='test -s conftest$ac_exeext'
30592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30593 (eval $ac_try) 2>&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); }; }; then
30597 ac_cv_lib_m_erf=yes
30599 echo "$as_me: failed program was:" >&5
30600 sed 's/^/| /' conftest.$ac_ext >&5
30604 rm -f conftest.err conftest.$ac_objext \
30605 conftest$ac_exeext conftest.$ac_ext
30606 LIBS=$ac_check_lib_save_LIBS
30608 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30609 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30610 if test $ac_cv_lib_m_erf = yes; then
30612 cat >>confdefs.h <<\_ACEOF
30618 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30619 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30620 if test "${ac_cv_lib_m_erfl+set}" = set; then
30621 echo $ECHO_N "(cached) $ECHO_C" >&6
30623 ac_check_lib_save_LIBS=$LIBS
30625 if test x$gcc_no_link = xyes; then
30626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30628 { (exit 1); exit 1; }; }
30630 cat >conftest.$ac_ext <<_ACEOF
30633 cat confdefs.h >>conftest.$ac_ext
30634 cat >>conftest.$ac_ext <<_ACEOF
30635 /* end confdefs.h. */
30637 /* Override any gcc2 internal prototype to avoid an error. */
30641 /* We use char because int might match the return type of a gcc2
30642 builtin and then its argument prototype would still apply. */
30652 rm -f conftest.$ac_objext conftest$ac_exeext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30654 (eval $ac_link) 2>conftest.er1
30656 grep -v '^ *+' conftest.er1 >conftest.err
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_c_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try='test -s conftest$ac_exeext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 ac_cv_lib_m_erfl=yes
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 ac_cv_lib_m_erfl=no
30681 rm -f conftest.err conftest.$ac_objext \
30682 conftest$ac_exeext conftest.$ac_ext
30683 LIBS=$ac_check_lib_save_LIBS
30685 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30686 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30687 if test $ac_cv_lib_m_erfl = yes; then
30689 cat >>confdefs.h <<\_ACEOF
30690 #define HAVE_ERFL 1
30695 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30696 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30697 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30698 echo $ECHO_N "(cached) $ECHO_C" >&6
30700 ac_check_lib_save_LIBS=$LIBS
30702 if test x$gcc_no_link = xyes; then
30703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30705 { (exit 1); exit 1; }; }
30707 cat >conftest.$ac_ext <<_ACEOF
30710 cat confdefs.h >>conftest.$ac_ext
30711 cat >>conftest.$ac_ext <<_ACEOF
30712 /* end confdefs.h. */
30714 /* Override any gcc2 internal prototype to avoid an error. */
30718 /* We use char because int might match the return type of a gcc2
30719 builtin and then its argument prototype would still apply. */
30729 rm -f conftest.$ac_objext conftest$ac_exeext
30730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30731 (eval $ac_link) 2>conftest.er1
30733 grep -v '^ *+' conftest.er1 >conftest.err
30735 cat conftest.err >&5
30736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30737 (exit $ac_status); } &&
30738 { ac_try='test -z "$ac_c_werror_flag"
30739 || test ! -s conftest.err'
30740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30741 (eval $ac_try) 2>&5
30743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30744 (exit $ac_status); }; } &&
30745 { ac_try='test -s conftest$ac_exeext'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; }; then
30751 ac_cv_lib_m_erfcf=yes
30753 echo "$as_me: failed program was:" >&5
30754 sed 's/^/| /' conftest.$ac_ext >&5
30756 ac_cv_lib_m_erfcf=no
30758 rm -f conftest.err conftest.$ac_objext \
30759 conftest$ac_exeext conftest.$ac_ext
30760 LIBS=$ac_check_lib_save_LIBS
30762 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30763 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30764 if test $ac_cv_lib_m_erfcf = yes; then
30766 cat >>confdefs.h <<\_ACEOF
30767 #define HAVE_ERFCF 1
30772 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30773 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30774 if test "${ac_cv_lib_m_erfc+set}" = set; then
30775 echo $ECHO_N "(cached) $ECHO_C" >&6
30777 ac_check_lib_save_LIBS=$LIBS
30779 if test x$gcc_no_link = xyes; then
30780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30782 { (exit 1); exit 1; }; }
30784 cat >conftest.$ac_ext <<_ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30791 /* Override any gcc2 internal prototype to avoid an error. */
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30810 grep -v '^ *+' conftest.er1 >conftest.err
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_c_werror_flag"
30816 || test ! -s conftest.err'
30817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30818 (eval $ac_try) 2>&5
30820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30821 (exit $ac_status); }; } &&
30822 { ac_try='test -s conftest$ac_exeext'
30823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30824 (eval $ac_try) 2>&5
30826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30827 (exit $ac_status); }; }; then
30828 ac_cv_lib_m_erfc=yes
30830 echo "$as_me: failed program was:" >&5
30831 sed 's/^/| /' conftest.$ac_ext >&5
30833 ac_cv_lib_m_erfc=no
30835 rm -f conftest.err conftest.$ac_objext \
30836 conftest$ac_exeext conftest.$ac_ext
30837 LIBS=$ac_check_lib_save_LIBS
30839 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30840 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30841 if test $ac_cv_lib_m_erfc = yes; then
30843 cat >>confdefs.h <<\_ACEOF
30844 #define HAVE_ERFC 1
30849 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30850 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30851 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30852 echo $ECHO_N "(cached) $ECHO_C" >&6
30854 ac_check_lib_save_LIBS=$LIBS
30856 if test x$gcc_no_link = xyes; then
30857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30859 { (exit 1); exit 1; }; }
30861 cat >conftest.$ac_ext <<_ACEOF
30864 cat confdefs.h >>conftest.$ac_ext
30865 cat >>conftest.$ac_ext <<_ACEOF
30866 /* end confdefs.h. */
30868 /* Override any gcc2 internal prototype to avoid an error. */
30872 /* We use char because int might match the return type of a gcc2
30873 builtin and then its argument prototype would still apply. */
30883 rm -f conftest.$ac_objext conftest$ac_exeext
30884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30885 (eval $ac_link) 2>conftest.er1
30887 grep -v '^ *+' conftest.er1 >conftest.err
30889 cat conftest.err >&5
30890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30891 (exit $ac_status); } &&
30892 { ac_try='test -z "$ac_c_werror_flag"
30893 || test ! -s conftest.err'
30894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30895 (eval $ac_try) 2>&5
30897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30898 (exit $ac_status); }; } &&
30899 { ac_try='test -s conftest$ac_exeext'
30900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30901 (eval $ac_try) 2>&5
30903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30904 (exit $ac_status); }; }; then
30905 ac_cv_lib_m_erfcl=yes
30907 echo "$as_me: failed program was:" >&5
30908 sed 's/^/| /' conftest.$ac_ext >&5
30910 ac_cv_lib_m_erfcl=no
30912 rm -f conftest.err conftest.$ac_objext \
30913 conftest$ac_exeext conftest.$ac_ext
30914 LIBS=$ac_check_lib_save_LIBS
30916 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30917 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30918 if test $ac_cv_lib_m_erfcl = yes; then
30920 cat >>confdefs.h <<\_ACEOF
30921 #define HAVE_ERFCL 1
30926 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30927 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30928 if test "${ac_cv_lib_m_j0f+set}" = set; then
30929 echo $ECHO_N "(cached) $ECHO_C" >&6
30931 ac_check_lib_save_LIBS=$LIBS
30933 if test x$gcc_no_link = xyes; then
30934 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30935 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30936 { (exit 1); exit 1; }; }
30938 cat >conftest.$ac_ext <<_ACEOF
30941 cat confdefs.h >>conftest.$ac_ext
30942 cat >>conftest.$ac_ext <<_ACEOF
30943 /* end confdefs.h. */
30945 /* Override any gcc2 internal prototype to avoid an error. */
30949 /* We use char because int might match the return type of a gcc2
30950 builtin and then its argument prototype would still apply. */
30960 rm -f conftest.$ac_objext conftest$ac_exeext
30961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30962 (eval $ac_link) 2>conftest.er1
30964 grep -v '^ *+' conftest.er1 >conftest.err
30966 cat conftest.err >&5
30967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30968 (exit $ac_status); } &&
30969 { ac_try='test -z "$ac_c_werror_flag"
30970 || test ! -s conftest.err'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; } &&
30976 { ac_try='test -s conftest$ac_exeext'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; }; then
30982 ac_cv_lib_m_j0f=yes
30984 echo "$as_me: failed program was:" >&5
30985 sed 's/^/| /' conftest.$ac_ext >&5
30989 rm -f conftest.err conftest.$ac_objext \
30990 conftest$ac_exeext conftest.$ac_ext
30991 LIBS=$ac_check_lib_save_LIBS
30993 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30994 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30995 if test $ac_cv_lib_m_j0f = yes; then
30997 cat >>confdefs.h <<\_ACEOF
31003 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
31004 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
31005 if test "${ac_cv_lib_m_j0+set}" = set; then
31006 echo $ECHO_N "(cached) $ECHO_C" >&6
31008 ac_check_lib_save_LIBS=$LIBS
31010 if test x$gcc_no_link = xyes; then
31011 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31012 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31013 { (exit 1); exit 1; }; }
31015 cat >conftest.$ac_ext <<_ACEOF
31018 cat confdefs.h >>conftest.$ac_ext
31019 cat >>conftest.$ac_ext <<_ACEOF
31020 /* end confdefs.h. */
31022 /* Override any gcc2 internal prototype to avoid an error. */
31026 /* We use char because int might match the return type of a gcc2
31027 builtin and then its argument prototype would still apply. */
31037 rm -f conftest.$ac_objext conftest$ac_exeext
31038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31039 (eval $ac_link) 2>conftest.er1
31041 grep -v '^ *+' conftest.er1 >conftest.err
31043 cat conftest.err >&5
31044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31045 (exit $ac_status); } &&
31046 { ac_try='test -z "$ac_c_werror_flag"
31047 || test ! -s conftest.err'
31048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31049 (eval $ac_try) 2>&5
31051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31052 (exit $ac_status); }; } &&
31053 { ac_try='test -s conftest$ac_exeext'
31054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31055 (eval $ac_try) 2>&5
31057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31058 (exit $ac_status); }; }; then
31061 echo "$as_me: failed program was:" >&5
31062 sed 's/^/| /' conftest.$ac_ext >&5
31066 rm -f conftest.err conftest.$ac_objext \
31067 conftest$ac_exeext conftest.$ac_ext
31068 LIBS=$ac_check_lib_save_LIBS
31070 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31071 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31072 if test $ac_cv_lib_m_j0 = yes; then
31074 cat >>confdefs.h <<\_ACEOF
31080 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31081 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31082 if test "${ac_cv_lib_m_j0l+set}" = set; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31085 ac_check_lib_save_LIBS=$LIBS
31087 if test x$gcc_no_link = xyes; then
31088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31090 { (exit 1); exit 1; }; }
31092 cat >conftest.$ac_ext <<_ACEOF
31095 cat confdefs.h >>conftest.$ac_ext
31096 cat >>conftest.$ac_ext <<_ACEOF
31097 /* end confdefs.h. */
31099 /* Override any gcc2 internal prototype to avoid an error. */
31103 /* We use char because int might match the return type of a gcc2
31104 builtin and then its argument prototype would still apply. */
31114 rm -f conftest.$ac_objext conftest$ac_exeext
31115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31116 (eval $ac_link) 2>conftest.er1
31118 grep -v '^ *+' conftest.er1 >conftest.err
31120 cat conftest.err >&5
31121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31122 (exit $ac_status); } &&
31123 { ac_try='test -z "$ac_c_werror_flag"
31124 || test ! -s conftest.err'
31125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31126 (eval $ac_try) 2>&5
31128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31129 (exit $ac_status); }; } &&
31130 { ac_try='test -s conftest$ac_exeext'
31131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31132 (eval $ac_try) 2>&5
31134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31135 (exit $ac_status); }; }; then
31136 ac_cv_lib_m_j0l=yes
31138 echo "$as_me: failed program was:" >&5
31139 sed 's/^/| /' conftest.$ac_ext >&5
31143 rm -f conftest.err conftest.$ac_objext \
31144 conftest$ac_exeext conftest.$ac_ext
31145 LIBS=$ac_check_lib_save_LIBS
31147 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31148 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31149 if test $ac_cv_lib_m_j0l = yes; then
31151 cat >>confdefs.h <<\_ACEOF
31157 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31158 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31159 if test "${ac_cv_lib_m_j1f+set}" = set; then
31160 echo $ECHO_N "(cached) $ECHO_C" >&6
31162 ac_check_lib_save_LIBS=$LIBS
31164 if test x$gcc_no_link = xyes; then
31165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31167 { (exit 1); exit 1; }; }
31169 cat >conftest.$ac_ext <<_ACEOF
31172 cat confdefs.h >>conftest.$ac_ext
31173 cat >>conftest.$ac_ext <<_ACEOF
31174 /* end confdefs.h. */
31176 /* Override any gcc2 internal prototype to avoid an error. */
31180 /* We use char because int might match the return type of a gcc2
31181 builtin and then its argument prototype would still apply. */
31191 rm -f conftest.$ac_objext conftest$ac_exeext
31192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31193 (eval $ac_link) 2>conftest.er1
31195 grep -v '^ *+' conftest.er1 >conftest.err
31197 cat conftest.err >&5
31198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31199 (exit $ac_status); } &&
31200 { ac_try='test -z "$ac_c_werror_flag"
31201 || test ! -s conftest.err'
31202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31203 (eval $ac_try) 2>&5
31205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31206 (exit $ac_status); }; } &&
31207 { ac_try='test -s conftest$ac_exeext'
31208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31209 (eval $ac_try) 2>&5
31211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31212 (exit $ac_status); }; }; then
31213 ac_cv_lib_m_j1f=yes
31215 echo "$as_me: failed program was:" >&5
31216 sed 's/^/| /' conftest.$ac_ext >&5
31220 rm -f conftest.err conftest.$ac_objext \
31221 conftest$ac_exeext conftest.$ac_ext
31222 LIBS=$ac_check_lib_save_LIBS
31224 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31225 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31226 if test $ac_cv_lib_m_j1f = yes; then
31228 cat >>confdefs.h <<\_ACEOF
31234 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31235 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31236 if test "${ac_cv_lib_m_j1+set}" = set; then
31237 echo $ECHO_N "(cached) $ECHO_C" >&6
31239 ac_check_lib_save_LIBS=$LIBS
31241 if test x$gcc_no_link = xyes; then
31242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31244 { (exit 1); exit 1; }; }
31246 cat >conftest.$ac_ext <<_ACEOF
31249 cat confdefs.h >>conftest.$ac_ext
31250 cat >>conftest.$ac_ext <<_ACEOF
31251 /* end confdefs.h. */
31253 /* Override any gcc2 internal prototype to avoid an error. */
31257 /* We use char because int might match the return type of a gcc2
31258 builtin and then its argument prototype would still apply. */
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31270 (eval $ac_link) 2>conftest.er1
31272 grep -v '^ *+' conftest.er1 >conftest.err
31274 cat conftest.err >&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } &&
31277 { ac_try='test -z "$ac_c_werror_flag"
31278 || test ! -s conftest.err'
31279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31280 (eval $ac_try) 2>&5
31282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31283 (exit $ac_status); }; } &&
31284 { ac_try='test -s conftest$ac_exeext'
31285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31286 (eval $ac_try) 2>&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); }; }; then
31292 echo "$as_me: failed program was:" >&5
31293 sed 's/^/| /' conftest.$ac_ext >&5
31297 rm -f conftest.err conftest.$ac_objext \
31298 conftest$ac_exeext conftest.$ac_ext
31299 LIBS=$ac_check_lib_save_LIBS
31301 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31302 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31303 if test $ac_cv_lib_m_j1 = yes; then
31305 cat >>confdefs.h <<\_ACEOF
31311 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31312 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31313 if test "${ac_cv_lib_m_j1l+set}" = set; then
31314 echo $ECHO_N "(cached) $ECHO_C" >&6
31316 ac_check_lib_save_LIBS=$LIBS
31318 if test x$gcc_no_link = xyes; then
31319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31321 { (exit 1); exit 1; }; }
31323 cat >conftest.$ac_ext <<_ACEOF
31326 cat confdefs.h >>conftest.$ac_ext
31327 cat >>conftest.$ac_ext <<_ACEOF
31328 /* end confdefs.h. */
31330 /* Override any gcc2 internal prototype to avoid an error. */
31334 /* We use char because int might match the return type of a gcc2
31335 builtin and then its argument prototype would still apply. */
31345 rm -f conftest.$ac_objext conftest$ac_exeext
31346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31347 (eval $ac_link) 2>conftest.er1
31349 grep -v '^ *+' conftest.er1 >conftest.err
31351 cat conftest.err >&5
31352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31353 (exit $ac_status); } &&
31354 { ac_try='test -z "$ac_c_werror_flag"
31355 || test ! -s conftest.err'
31356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31357 (eval $ac_try) 2>&5
31359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31360 (exit $ac_status); }; } &&
31361 { ac_try='test -s conftest$ac_exeext'
31362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31363 (eval $ac_try) 2>&5
31365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31366 (exit $ac_status); }; }; then
31367 ac_cv_lib_m_j1l=yes
31369 echo "$as_me: failed program was:" >&5
31370 sed 's/^/| /' conftest.$ac_ext >&5
31374 rm -f conftest.err conftest.$ac_objext \
31375 conftest$ac_exeext conftest.$ac_ext
31376 LIBS=$ac_check_lib_save_LIBS
31378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31379 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31380 if test $ac_cv_lib_m_j1l = yes; then
31382 cat >>confdefs.h <<\_ACEOF
31388 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31389 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31390 if test "${ac_cv_lib_m_jnf+set}" = set; then
31391 echo $ECHO_N "(cached) $ECHO_C" >&6
31393 ac_check_lib_save_LIBS=$LIBS
31395 if test x$gcc_no_link = xyes; then
31396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31398 { (exit 1); exit 1; }; }
31400 cat >conftest.$ac_ext <<_ACEOF
31403 cat confdefs.h >>conftest.$ac_ext
31404 cat >>conftest.$ac_ext <<_ACEOF
31405 /* end confdefs.h. */
31407 /* Override any gcc2 internal prototype to avoid an error. */
31411 /* We use char because int might match the return type of a gcc2
31412 builtin and then its argument prototype would still apply. */
31422 rm -f conftest.$ac_objext conftest$ac_exeext
31423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31424 (eval $ac_link) 2>conftest.er1
31426 grep -v '^ *+' conftest.er1 >conftest.err
31428 cat conftest.err >&5
31429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31430 (exit $ac_status); } &&
31431 { ac_try='test -z "$ac_c_werror_flag"
31432 || test ! -s conftest.err'
31433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31434 (eval $ac_try) 2>&5
31436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31437 (exit $ac_status); }; } &&
31438 { ac_try='test -s conftest$ac_exeext'
31439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31440 (eval $ac_try) 2>&5
31442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31443 (exit $ac_status); }; }; then
31444 ac_cv_lib_m_jnf=yes
31446 echo "$as_me: failed program was:" >&5
31447 sed 's/^/| /' conftest.$ac_ext >&5
31451 rm -f conftest.err conftest.$ac_objext \
31452 conftest$ac_exeext conftest.$ac_ext
31453 LIBS=$ac_check_lib_save_LIBS
31455 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31456 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31457 if test $ac_cv_lib_m_jnf = yes; then
31459 cat >>confdefs.h <<\_ACEOF
31465 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31466 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31467 if test "${ac_cv_lib_m_jn+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31470 ac_check_lib_save_LIBS=$LIBS
31472 if test x$gcc_no_link = xyes; then
31473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31475 { (exit 1); exit 1; }; }
31477 cat >conftest.$ac_ext <<_ACEOF
31480 cat confdefs.h >>conftest.$ac_ext
31481 cat >>conftest.$ac_ext <<_ACEOF
31482 /* end confdefs.h. */
31484 /* Override any gcc2 internal prototype to avoid an error. */
31488 /* We use char because int might match the return type of a gcc2
31489 builtin and then its argument prototype would still apply. */
31499 rm -f conftest.$ac_objext conftest$ac_exeext
31500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31501 (eval $ac_link) 2>conftest.er1
31503 grep -v '^ *+' conftest.er1 >conftest.err
31505 cat conftest.err >&5
31506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31507 (exit $ac_status); } &&
31508 { ac_try='test -z "$ac_c_werror_flag"
31509 || test ! -s conftest.err'
31510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31511 (eval $ac_try) 2>&5
31513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31514 (exit $ac_status); }; } &&
31515 { ac_try='test -s conftest$ac_exeext'
31516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31517 (eval $ac_try) 2>&5
31519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31520 (exit $ac_status); }; }; then
31523 echo "$as_me: failed program was:" >&5
31524 sed 's/^/| /' conftest.$ac_ext >&5
31528 rm -f conftest.err conftest.$ac_objext \
31529 conftest$ac_exeext conftest.$ac_ext
31530 LIBS=$ac_check_lib_save_LIBS
31532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31533 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31534 if test $ac_cv_lib_m_jn = yes; then
31536 cat >>confdefs.h <<\_ACEOF
31542 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31543 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31544 if test "${ac_cv_lib_m_jnl+set}" = set; then
31545 echo $ECHO_N "(cached) $ECHO_C" >&6
31547 ac_check_lib_save_LIBS=$LIBS
31549 if test x$gcc_no_link = xyes; then
31550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31552 { (exit 1); exit 1; }; }
31554 cat >conftest.$ac_ext <<_ACEOF
31557 cat confdefs.h >>conftest.$ac_ext
31558 cat >>conftest.$ac_ext <<_ACEOF
31559 /* end confdefs.h. */
31561 /* Override any gcc2 internal prototype to avoid an error. */
31565 /* We use char because int might match the return type of a gcc2
31566 builtin and then its argument prototype would still apply. */
31576 rm -f conftest.$ac_objext conftest$ac_exeext
31577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31578 (eval $ac_link) 2>conftest.er1
31580 grep -v '^ *+' conftest.er1 >conftest.err
31582 cat conftest.err >&5
31583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31584 (exit $ac_status); } &&
31585 { ac_try='test -z "$ac_c_werror_flag"
31586 || test ! -s conftest.err'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; } &&
31592 { ac_try='test -s conftest$ac_exeext'
31593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31594 (eval $ac_try) 2>&5
31596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31597 (exit $ac_status); }; }; then
31598 ac_cv_lib_m_jnl=yes
31600 echo "$as_me: failed program was:" >&5
31601 sed 's/^/| /' conftest.$ac_ext >&5
31605 rm -f conftest.err conftest.$ac_objext \
31606 conftest$ac_exeext conftest.$ac_ext
31607 LIBS=$ac_check_lib_save_LIBS
31609 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31610 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31611 if test $ac_cv_lib_m_jnl = yes; then
31613 cat >>confdefs.h <<\_ACEOF
31619 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31620 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31621 if test "${ac_cv_lib_m_y0f+set}" = set; then
31622 echo $ECHO_N "(cached) $ECHO_C" >&6
31624 ac_check_lib_save_LIBS=$LIBS
31626 if test x$gcc_no_link = xyes; then
31627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31629 { (exit 1); exit 1; }; }
31631 cat >conftest.$ac_ext <<_ACEOF
31634 cat confdefs.h >>conftest.$ac_ext
31635 cat >>conftest.$ac_ext <<_ACEOF
31636 /* end confdefs.h. */
31638 /* Override any gcc2 internal prototype to avoid an error. */
31642 /* We use char because int might match the return type of a gcc2
31643 builtin and then its argument prototype would still apply. */
31653 rm -f conftest.$ac_objext conftest$ac_exeext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31655 (eval $ac_link) 2>conftest.er1
31657 grep -v '^ *+' conftest.er1 >conftest.err
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_c_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try='test -s conftest$ac_exeext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 ac_cv_lib_m_y0f=yes
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31682 rm -f conftest.err conftest.$ac_objext \
31683 conftest$ac_exeext conftest.$ac_ext
31684 LIBS=$ac_check_lib_save_LIBS
31686 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31687 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31688 if test $ac_cv_lib_m_y0f = yes; then
31690 cat >>confdefs.h <<\_ACEOF
31696 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31697 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31698 if test "${ac_cv_lib_m_y0+set}" = set; then
31699 echo $ECHO_N "(cached) $ECHO_C" >&6
31701 ac_check_lib_save_LIBS=$LIBS
31703 if test x$gcc_no_link = xyes; then
31704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31706 { (exit 1); exit 1; }; }
31708 cat >conftest.$ac_ext <<_ACEOF
31711 cat confdefs.h >>conftest.$ac_ext
31712 cat >>conftest.$ac_ext <<_ACEOF
31713 /* end confdefs.h. */
31715 /* Override any gcc2 internal prototype to avoid an error. */
31719 /* We use char because int might match the return type of a gcc2
31720 builtin and then its argument prototype would still apply. */
31730 rm -f conftest.$ac_objext conftest$ac_exeext
31731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31732 (eval $ac_link) 2>conftest.er1
31734 grep -v '^ *+' conftest.er1 >conftest.err
31736 cat conftest.err >&5
31737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31738 (exit $ac_status); } &&
31739 { ac_try='test -z "$ac_c_werror_flag"
31740 || test ! -s conftest.err'
31741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31742 (eval $ac_try) 2>&5
31744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31745 (exit $ac_status); }; } &&
31746 { ac_try='test -s conftest$ac_exeext'
31747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31748 (eval $ac_try) 2>&5
31750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31751 (exit $ac_status); }; }; then
31754 echo "$as_me: failed program was:" >&5
31755 sed 's/^/| /' conftest.$ac_ext >&5
31759 rm -f conftest.err conftest.$ac_objext \
31760 conftest$ac_exeext conftest.$ac_ext
31761 LIBS=$ac_check_lib_save_LIBS
31763 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31764 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31765 if test $ac_cv_lib_m_y0 = yes; then
31767 cat >>confdefs.h <<\_ACEOF
31773 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31774 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31775 if test "${ac_cv_lib_m_y0l+set}" = set; then
31776 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 ac_check_lib_save_LIBS=$LIBS
31780 if test x$gcc_no_link = xyes; then
31781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31783 { (exit 1); exit 1; }; }
31785 cat >conftest.$ac_ext <<_ACEOF
31788 cat confdefs.h >>conftest.$ac_ext
31789 cat >>conftest.$ac_ext <<_ACEOF
31790 /* end confdefs.h. */
31792 /* Override any gcc2 internal prototype to avoid an error. */
31796 /* We use char because int might match the return type of a gcc2
31797 builtin and then its argument prototype would still apply. */
31807 rm -f conftest.$ac_objext conftest$ac_exeext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31809 (eval $ac_link) 2>conftest.er1
31811 grep -v '^ *+' conftest.er1 >conftest.err
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try='test -z "$ac_c_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try='test -s conftest$ac_exeext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 ac_cv_lib_m_y0l=yes
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31836 rm -f conftest.err conftest.$ac_objext \
31837 conftest$ac_exeext conftest.$ac_ext
31838 LIBS=$ac_check_lib_save_LIBS
31840 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31841 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31842 if test $ac_cv_lib_m_y0l = yes; then
31844 cat >>confdefs.h <<\_ACEOF
31850 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31851 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31852 if test "${ac_cv_lib_m_y1f+set}" = set; then
31853 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 ac_check_lib_save_LIBS=$LIBS
31857 if test x$gcc_no_link = xyes; then
31858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31860 { (exit 1); exit 1; }; }
31862 cat >conftest.$ac_ext <<_ACEOF
31865 cat confdefs.h >>conftest.$ac_ext
31866 cat >>conftest.$ac_ext <<_ACEOF
31867 /* end confdefs.h. */
31869 /* Override any gcc2 internal prototype to avoid an error. */
31873 /* We use char because int might match the return type of a gcc2
31874 builtin and then its argument prototype would still apply. */
31884 rm -f conftest.$ac_objext conftest$ac_exeext
31885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31886 (eval $ac_link) 2>conftest.er1
31888 grep -v '^ *+' conftest.er1 >conftest.err
31890 cat conftest.err >&5
31891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31892 (exit $ac_status); } &&
31893 { ac_try='test -z "$ac_c_werror_flag"
31894 || test ! -s conftest.err'
31895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31896 (eval $ac_try) 2>&5
31898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899 (exit $ac_status); }; } &&
31900 { ac_try='test -s conftest$ac_exeext'
31901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31902 (eval $ac_try) 2>&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); }; }; then
31906 ac_cv_lib_m_y1f=yes
31908 echo "$as_me: failed program was:" >&5
31909 sed 's/^/| /' conftest.$ac_ext >&5
31913 rm -f conftest.err conftest.$ac_objext \
31914 conftest$ac_exeext conftest.$ac_ext
31915 LIBS=$ac_check_lib_save_LIBS
31917 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31918 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31919 if test $ac_cv_lib_m_y1f = yes; then
31921 cat >>confdefs.h <<\_ACEOF
31927 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31928 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31929 if test "${ac_cv_lib_m_y1+set}" = set; then
31930 echo $ECHO_N "(cached) $ECHO_C" >&6
31932 ac_check_lib_save_LIBS=$LIBS
31934 if test x$gcc_no_link = xyes; then
31935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31937 { (exit 1); exit 1; }; }
31939 cat >conftest.$ac_ext <<_ACEOF
31942 cat confdefs.h >>conftest.$ac_ext
31943 cat >>conftest.$ac_ext <<_ACEOF
31944 /* end confdefs.h. */
31946 /* Override any gcc2 internal prototype to avoid an error. */
31950 /* We use char because int might match the return type of a gcc2
31951 builtin and then its argument prototype would still apply. */
31961 rm -f conftest.$ac_objext conftest$ac_exeext
31962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31963 (eval $ac_link) 2>conftest.er1
31965 grep -v '^ *+' conftest.er1 >conftest.err
31967 cat conftest.err >&5
31968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31969 (exit $ac_status); } &&
31970 { ac_try='test -z "$ac_c_werror_flag"
31971 || test ! -s conftest.err'
31972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31973 (eval $ac_try) 2>&5
31975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31976 (exit $ac_status); }; } &&
31977 { ac_try='test -s conftest$ac_exeext'
31978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31979 (eval $ac_try) 2>&5
31981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31982 (exit $ac_status); }; }; then
31985 echo "$as_me: failed program was:" >&5
31986 sed 's/^/| /' conftest.$ac_ext >&5
31990 rm -f conftest.err conftest.$ac_objext \
31991 conftest$ac_exeext conftest.$ac_ext
31992 LIBS=$ac_check_lib_save_LIBS
31994 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31995 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31996 if test $ac_cv_lib_m_y1 = yes; then
31998 cat >>confdefs.h <<\_ACEOF
32004 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
32005 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
32006 if test "${ac_cv_lib_m_y1l+set}" = set; then
32007 echo $ECHO_N "(cached) $ECHO_C" >&6
32009 ac_check_lib_save_LIBS=$LIBS
32011 if test x$gcc_no_link = xyes; then
32012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32014 { (exit 1); exit 1; }; }
32016 cat >conftest.$ac_ext <<_ACEOF
32019 cat confdefs.h >>conftest.$ac_ext
32020 cat >>conftest.$ac_ext <<_ACEOF
32021 /* end confdefs.h. */
32023 /* Override any gcc2 internal prototype to avoid an error. */
32027 /* We use char because int might match the return type of a gcc2
32028 builtin and then its argument prototype would still apply. */
32038 rm -f conftest.$ac_objext conftest$ac_exeext
32039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32040 (eval $ac_link) 2>conftest.er1
32042 grep -v '^ *+' conftest.er1 >conftest.err
32044 cat conftest.err >&5
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); } &&
32047 { ac_try='test -z "$ac_c_werror_flag"
32048 || test ! -s conftest.err'
32049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32050 (eval $ac_try) 2>&5
32052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32053 (exit $ac_status); }; } &&
32054 { ac_try='test -s conftest$ac_exeext'
32055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32056 (eval $ac_try) 2>&5
32058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32059 (exit $ac_status); }; }; then
32060 ac_cv_lib_m_y1l=yes
32062 echo "$as_me: failed program was:" >&5
32063 sed 's/^/| /' conftest.$ac_ext >&5
32067 rm -f conftest.err conftest.$ac_objext \
32068 conftest$ac_exeext conftest.$ac_ext
32069 LIBS=$ac_check_lib_save_LIBS
32071 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32072 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32073 if test $ac_cv_lib_m_y1l = yes; then
32075 cat >>confdefs.h <<\_ACEOF
32081 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32082 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32083 if test "${ac_cv_lib_m_ynf+set}" = set; then
32084 echo $ECHO_N "(cached) $ECHO_C" >&6
32086 ac_check_lib_save_LIBS=$LIBS
32088 if test x$gcc_no_link = xyes; then
32089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32091 { (exit 1); exit 1; }; }
32093 cat >conftest.$ac_ext <<_ACEOF
32096 cat confdefs.h >>conftest.$ac_ext
32097 cat >>conftest.$ac_ext <<_ACEOF
32098 /* end confdefs.h. */
32100 /* Override any gcc2 internal prototype to avoid an error. */
32104 /* We use char because int might match the return type of a gcc2
32105 builtin and then its argument prototype would still apply. */
32115 rm -f conftest.$ac_objext conftest$ac_exeext
32116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32117 (eval $ac_link) 2>conftest.er1
32119 grep -v '^ *+' conftest.er1 >conftest.err
32121 cat conftest.err >&5
32122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32123 (exit $ac_status); } &&
32124 { ac_try='test -z "$ac_c_werror_flag"
32125 || test ! -s conftest.err'
32126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32127 (eval $ac_try) 2>&5
32129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32130 (exit $ac_status); }; } &&
32131 { ac_try='test -s conftest$ac_exeext'
32132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32133 (eval $ac_try) 2>&5
32135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32136 (exit $ac_status); }; }; then
32137 ac_cv_lib_m_ynf=yes
32139 echo "$as_me: failed program was:" >&5
32140 sed 's/^/| /' conftest.$ac_ext >&5
32144 rm -f conftest.err conftest.$ac_objext \
32145 conftest$ac_exeext conftest.$ac_ext
32146 LIBS=$ac_check_lib_save_LIBS
32148 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32149 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32150 if test $ac_cv_lib_m_ynf = yes; then
32152 cat >>confdefs.h <<\_ACEOF
32158 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32159 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32160 if test "${ac_cv_lib_m_yn+set}" = set; then
32161 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 ac_check_lib_save_LIBS=$LIBS
32165 if test x$gcc_no_link = xyes; then
32166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32168 { (exit 1); exit 1; }; }
32170 cat >conftest.$ac_ext <<_ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32177 /* Override any gcc2 internal prototype to avoid an error. */
32181 /* We use char because int might match the return type of a gcc2
32182 builtin and then its argument prototype would still apply. */
32192 rm -f conftest.$ac_objext conftest$ac_exeext
32193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32194 (eval $ac_link) 2>conftest.er1
32196 grep -v '^ *+' conftest.er1 >conftest.err
32198 cat conftest.err >&5
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); } &&
32201 { ac_try='test -z "$ac_c_werror_flag"
32202 || test ! -s conftest.err'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; } &&
32208 { ac_try='test -s conftest$ac_exeext'
32209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32210 (eval $ac_try) 2>&5
32212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32213 (exit $ac_status); }; }; then
32216 echo "$as_me: failed program was:" >&5
32217 sed 's/^/| /' conftest.$ac_ext >&5
32221 rm -f conftest.err conftest.$ac_objext \
32222 conftest$ac_exeext conftest.$ac_ext
32223 LIBS=$ac_check_lib_save_LIBS
32225 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32226 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32227 if test $ac_cv_lib_m_yn = yes; then
32229 cat >>confdefs.h <<\_ACEOF
32235 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32236 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32237 if test "${ac_cv_lib_m_ynl+set}" = set; then
32238 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 ac_check_lib_save_LIBS=$LIBS
32242 if test x$gcc_no_link = xyes; then
32243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32245 { (exit 1); exit 1; }; }
32247 cat >conftest.$ac_ext <<_ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32254 /* Override any gcc2 internal prototype to avoid an error. */
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32273 grep -v '^ *+' conftest.er1 >conftest.err
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_c_werror_flag"
32279 || test ! -s conftest.err'
32280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32281 (eval $ac_try) 2>&5
32283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32284 (exit $ac_status); }; } &&
32285 { ac_try='test -s conftest$ac_exeext'
32286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32287 (eval $ac_try) 2>&5
32289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32290 (exit $ac_status); }; }; then
32291 ac_cv_lib_m_ynl=yes
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32298 rm -f conftest.err conftest.$ac_objext \
32299 conftest$ac_exeext conftest.$ac_ext
32300 LIBS=$ac_check_lib_save_LIBS
32302 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32303 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32304 if test $ac_cv_lib_m_ynl = yes; then
32306 cat >>confdefs.h <<\_ACEOF
32312 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32313 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32314 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32315 echo $ECHO_N "(cached) $ECHO_C" >&6
32317 ac_check_lib_save_LIBS=$LIBS
32319 if test x$gcc_no_link = xyes; then
32320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32322 { (exit 1); exit 1; }; }
32324 cat >conftest.$ac_ext <<_ACEOF
32327 cat confdefs.h >>conftest.$ac_ext
32328 cat >>conftest.$ac_ext <<_ACEOF
32329 /* end confdefs.h. */
32331 /* Override any gcc2 internal prototype to avoid an error. */
32335 /* We use char because int might match the return type of a gcc2
32336 builtin and then its argument prototype would still apply. */
32346 rm -f conftest.$ac_objext conftest$ac_exeext
32347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32348 (eval $ac_link) 2>conftest.er1
32350 grep -v '^ *+' conftest.er1 >conftest.err
32352 cat conftest.err >&5
32353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32354 (exit $ac_status); } &&
32355 { ac_try='test -z "$ac_c_werror_flag"
32356 || test ! -s conftest.err'
32357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32358 (eval $ac_try) 2>&5
32360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32361 (exit $ac_status); }; } &&
32362 { ac_try='test -s conftest$ac_exeext'
32363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32364 (eval $ac_try) 2>&5
32366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32367 (exit $ac_status); }; }; then
32368 ac_cv_lib_m_tgamma=yes
32370 echo "$as_me: failed program was:" >&5
32371 sed 's/^/| /' conftest.$ac_ext >&5
32373 ac_cv_lib_m_tgamma=no
32375 rm -f conftest.err conftest.$ac_objext \
32376 conftest$ac_exeext conftest.$ac_ext
32377 LIBS=$ac_check_lib_save_LIBS
32379 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32380 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32381 if test $ac_cv_lib_m_tgamma = yes; then
32383 cat >>confdefs.h <<\_ACEOF
32384 #define HAVE_TGAMMA 1
32389 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32390 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32391 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32392 echo $ECHO_N "(cached) $ECHO_C" >&6
32394 ac_check_lib_save_LIBS=$LIBS
32396 if test x$gcc_no_link = xyes; then
32397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32399 { (exit 1); exit 1; }; }
32401 cat >conftest.$ac_ext <<_ACEOF
32404 cat confdefs.h >>conftest.$ac_ext
32405 cat >>conftest.$ac_ext <<_ACEOF
32406 /* end confdefs.h. */
32408 /* Override any gcc2 internal prototype to avoid an error. */
32412 /* We use char because int might match the return type of a gcc2
32413 builtin and then its argument prototype would still apply. */
32423 rm -f conftest.$ac_objext conftest$ac_exeext
32424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32425 (eval $ac_link) 2>conftest.er1
32427 grep -v '^ *+' conftest.er1 >conftest.err
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } &&
32432 { ac_try='test -z "$ac_c_werror_flag"
32433 || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest$ac_exeext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 ac_cv_lib_m_tgammaf=yes
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32450 ac_cv_lib_m_tgammaf=no
32452 rm -f conftest.err conftest.$ac_objext \
32453 conftest$ac_exeext conftest.$ac_ext
32454 LIBS=$ac_check_lib_save_LIBS
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32457 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32458 if test $ac_cv_lib_m_tgammaf = yes; then
32460 cat >>confdefs.h <<\_ACEOF
32461 #define HAVE_TGAMMAF 1
32466 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32467 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32468 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32469 echo $ECHO_N "(cached) $ECHO_C" >&6
32471 ac_check_lib_save_LIBS=$LIBS
32473 if test x$gcc_no_link = xyes; then
32474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32476 { (exit 1); exit 1; }; }
32478 cat >conftest.$ac_ext <<_ACEOF
32481 cat confdefs.h >>conftest.$ac_ext
32482 cat >>conftest.$ac_ext <<_ACEOF
32483 /* end confdefs.h. */
32485 /* Override any gcc2 internal prototype to avoid an error. */
32489 /* We use char because int might match the return type of a gcc2
32490 builtin and then its argument prototype would still apply. */
32500 rm -f conftest.$ac_objext conftest$ac_exeext
32501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32502 (eval $ac_link) 2>conftest.er1
32504 grep -v '^ *+' conftest.er1 >conftest.err
32506 cat conftest.err >&5
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); } &&
32509 { ac_try='test -z "$ac_c_werror_flag"
32510 || test ! -s conftest.err'
32511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32512 (eval $ac_try) 2>&5
32514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32515 (exit $ac_status); }; } &&
32516 { ac_try='test -s conftest$ac_exeext'
32517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32518 (eval $ac_try) 2>&5
32520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32521 (exit $ac_status); }; }; then
32522 ac_cv_lib_m_tgammal=yes
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32527 ac_cv_lib_m_tgammal=no
32529 rm -f conftest.err conftest.$ac_objext \
32530 conftest$ac_exeext conftest.$ac_ext
32531 LIBS=$ac_check_lib_save_LIBS
32533 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32534 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32535 if test $ac_cv_lib_m_tgammal = yes; then
32537 cat >>confdefs.h <<\_ACEOF
32538 #define HAVE_TGAMMAL 1
32543 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32544 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32545 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32546 echo $ECHO_N "(cached) $ECHO_C" >&6
32548 ac_check_lib_save_LIBS=$LIBS
32550 if test x$gcc_no_link = xyes; then
32551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32553 { (exit 1); exit 1; }; }
32555 cat >conftest.$ac_ext <<_ACEOF
32558 cat confdefs.h >>conftest.$ac_ext
32559 cat >>conftest.$ac_ext <<_ACEOF
32560 /* end confdefs.h. */
32562 /* Override any gcc2 internal prototype to avoid an error. */
32566 /* We use char because int might match the return type of a gcc2
32567 builtin and then its argument prototype would still apply. */
32577 rm -f conftest.$ac_objext conftest$ac_exeext
32578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32579 (eval $ac_link) 2>conftest.er1
32581 grep -v '^ *+' conftest.er1 >conftest.err
32583 cat conftest.err >&5
32584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32585 (exit $ac_status); } &&
32586 { ac_try='test -z "$ac_c_werror_flag"
32587 || test ! -s conftest.err'
32588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32589 (eval $ac_try) 2>&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); }; } &&
32593 { ac_try='test -s conftest$ac_exeext'
32594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32595 (eval $ac_try) 2>&5
32597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32598 (exit $ac_status); }; }; then
32599 ac_cv_lib_m_lgamma=yes
32601 echo "$as_me: failed program was:" >&5
32602 sed 's/^/| /' conftest.$ac_ext >&5
32604 ac_cv_lib_m_lgamma=no
32606 rm -f conftest.err conftest.$ac_objext \
32607 conftest$ac_exeext conftest.$ac_ext
32608 LIBS=$ac_check_lib_save_LIBS
32610 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32611 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32612 if test $ac_cv_lib_m_lgamma = yes; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define HAVE_LGAMMA 1
32620 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32621 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32622 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32623 echo $ECHO_N "(cached) $ECHO_C" >&6
32625 ac_check_lib_save_LIBS=$LIBS
32627 if test x$gcc_no_link = xyes; then
32628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32630 { (exit 1); exit 1; }; }
32632 cat >conftest.$ac_ext <<_ACEOF
32635 cat confdefs.h >>conftest.$ac_ext
32636 cat >>conftest.$ac_ext <<_ACEOF
32637 /* end confdefs.h. */
32639 /* Override any gcc2 internal prototype to avoid an error. */
32643 /* We use char because int might match the return type of a gcc2
32644 builtin and then its argument prototype would still apply. */
32654 rm -f conftest.$ac_objext conftest$ac_exeext
32655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32656 (eval $ac_link) 2>conftest.er1
32658 grep -v '^ *+' conftest.er1 >conftest.err
32660 cat conftest.err >&5
32661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32662 (exit $ac_status); } &&
32663 { ac_try='test -z "$ac_c_werror_flag"
32664 || test ! -s conftest.err'
32665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32666 (eval $ac_try) 2>&5
32668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32669 (exit $ac_status); }; } &&
32670 { ac_try='test -s conftest$ac_exeext'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; }; then
32676 ac_cv_lib_m_lgammaf=yes
32678 echo "$as_me: failed program was:" >&5
32679 sed 's/^/| /' conftest.$ac_ext >&5
32681 ac_cv_lib_m_lgammaf=no
32683 rm -f conftest.err conftest.$ac_objext \
32684 conftest$ac_exeext conftest.$ac_ext
32685 LIBS=$ac_check_lib_save_LIBS
32687 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32688 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32689 if test $ac_cv_lib_m_lgammaf = yes; then
32691 cat >>confdefs.h <<\_ACEOF
32692 #define HAVE_LGAMMAF 1
32697 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32698 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32699 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32700 echo $ECHO_N "(cached) $ECHO_C" >&6
32702 ac_check_lib_save_LIBS=$LIBS
32704 if test x$gcc_no_link = xyes; then
32705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32707 { (exit 1); exit 1; }; }
32709 cat >conftest.$ac_ext <<_ACEOF
32712 cat confdefs.h >>conftest.$ac_ext
32713 cat >>conftest.$ac_ext <<_ACEOF
32714 /* end confdefs.h. */
32716 /* Override any gcc2 internal prototype to avoid an error. */
32720 /* We use char because int might match the return type of a gcc2
32721 builtin and then its argument prototype would still apply. */
32731 rm -f conftest.$ac_objext conftest$ac_exeext
32732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32733 (eval $ac_link) 2>conftest.er1
32735 grep -v '^ *+' conftest.er1 >conftest.err
32737 cat conftest.err >&5
32738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32739 (exit $ac_status); } &&
32740 { ac_try='test -z "$ac_c_werror_flag"
32741 || test ! -s conftest.err'
32742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32743 (eval $ac_try) 2>&5
32745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32746 (exit $ac_status); }; } &&
32747 { ac_try='test -s conftest$ac_exeext'
32748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32749 (eval $ac_try) 2>&5
32751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32752 (exit $ac_status); }; }; then
32753 ac_cv_lib_m_lgammal=yes
32755 echo "$as_me: failed program was:" >&5
32756 sed 's/^/| /' conftest.$ac_ext >&5
32758 ac_cv_lib_m_lgammal=no
32760 rm -f conftest.err conftest.$ac_objext \
32761 conftest$ac_exeext conftest.$ac_ext
32762 LIBS=$ac_check_lib_save_LIBS
32764 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32765 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32766 if test $ac_cv_lib_m_lgammal = yes; then
32768 cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_LGAMMAL 1
32775 # On AIX, clog is present in libm as __clog
32776 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32777 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32778 if test "${ac_cv_lib_m___clog+set}" = set; then
32779 echo $ECHO_N "(cached) $ECHO_C" >&6
32781 ac_check_lib_save_LIBS=$LIBS
32783 if test x$gcc_no_link = xyes; then
32784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32786 { (exit 1); exit 1; }; }
32788 cat >conftest.$ac_ext <<_ACEOF
32791 cat confdefs.h >>conftest.$ac_ext
32792 cat >>conftest.$ac_ext <<_ACEOF
32793 /* end confdefs.h. */
32795 /* Override any gcc2 internal prototype to avoid an error. */
32799 /* We use char because int might match the return type of a gcc2
32800 builtin and then its argument prototype would still apply. */
32810 rm -f conftest.$ac_objext conftest$ac_exeext
32811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32812 (eval $ac_link) 2>conftest.er1
32814 grep -v '^ *+' conftest.er1 >conftest.err
32816 cat conftest.err >&5
32817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32818 (exit $ac_status); } &&
32819 { ac_try='test -z "$ac_c_werror_flag"
32820 || test ! -s conftest.err'
32821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32822 (eval $ac_try) 2>&5
32824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32825 (exit $ac_status); }; } &&
32826 { ac_try='test -s conftest$ac_exeext'
32827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32828 (eval $ac_try) 2>&5
32830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32831 (exit $ac_status); }; }; then
32832 ac_cv_lib_m___clog=yes
32834 echo "$as_me: failed program was:" >&5
32835 sed 's/^/| /' conftest.$ac_ext >&5
32837 ac_cv_lib_m___clog=no
32839 rm -f conftest.err conftest.$ac_objext \
32840 conftest$ac_exeext conftest.$ac_ext
32841 LIBS=$ac_check_lib_save_LIBS
32843 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32844 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32845 if test $ac_cv_lib_m___clog = yes; then
32847 cat >>confdefs.h <<\_ACEOF
32848 #define HAVE_CLOG 1
32854 # Check for a isfinite macro that works on long doubles.
32856 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32857 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32858 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32862 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32864 if test "$cross_compiling" = yes; then
32866 case "${target}" in
32867 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32868 *) libgfor_cv_have_broken_isfinite=no ;;
32871 cat >conftest.$ac_ext <<_ACEOF
32874 cat confdefs.h >>conftest.$ac_ext
32875 cat >>conftest.$ac_ext <<_ACEOF
32876 /* end confdefs.h. */
32884 if (!isfinite(LDBL_MAX)) return 1;
32887 if (!isfinite(DBL_MAX)) return 1;
32893 rm -f conftest$ac_exeext
32894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32895 (eval $ac_link) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32900 (eval $ac_try) 2>&5
32902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903 (exit $ac_status); }; }; then
32904 libgfor_cv_have_broken_isfinite=no
32906 echo "$as_me: program exited with status $ac_status" >&5
32907 echo "$as_me: failed program was:" >&5
32908 sed 's/^/| /' conftest.$ac_ext >&5
32910 ( exit $ac_status )
32911 libgfor_cv_have_broken_isfinite=yes
32913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32915 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32917 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32918 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32919 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32921 cat >>confdefs.h <<\_ACEOF
32922 #define HAVE_BROKEN_ISFINITE 1
32927 # Check for a isnan macro that works on long doubles.
32929 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32930 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32931 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32935 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
32937 if test "$cross_compiling" = yes; then
32939 case "${target}" in
32940 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
32941 *) libgfor_cv_have_broken_isnan=no ;;
32944 cat >conftest.$ac_ext <<_ACEOF
32947 cat confdefs.h >>conftest.$ac_ext
32948 cat >>conftest.$ac_ext <<_ACEOF
32949 /* end confdefs.h. */
32959 x = __builtin_nanl ("");
32960 if (!isnan(x)) return 1;
32961 if (isnan(LDBL_MAX)) return 1;
32963 x = (long double) NAN;
32964 if (!isnan(x)) return 1;
32971 y = __builtin_nan ("");
32972 if (!isnan(y)) return 1;
32973 if (isnan(DBL_MAX)) return 1;
32976 if (!isnan(y)) return 1;
32984 rm -f conftest$ac_exeext
32985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32986 (eval $ac_link) 2>&5
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; }; then
32995 libgfor_cv_have_broken_isnan=no
32997 echo "$as_me: program exited with status $ac_status" >&5
32998 echo "$as_me: failed program was:" >&5
32999 sed 's/^/| /' conftest.$ac_ext >&5
33001 ( exit $ac_status )
33002 libgfor_cv_have_broken_isnan=yes
33004 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33006 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
33008 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
33009 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
33010 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
33012 cat >>confdefs.h <<\_ACEOF
33013 #define HAVE_BROKEN_ISNAN 1
33018 # Check for a fpclassify macro that works on long doubles.
33020 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
33021 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
33022 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
33023 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
33028 if test "$cross_compiling" = yes; then
33030 case "${target}" in
33031 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33032 *) libgfor_cv_have_broken_fpclassify=no ;;
33035 cat >conftest.$ac_ext <<_ACEOF
33038 cat confdefs.h >>conftest.$ac_ext
33039 cat >>conftest.$ac_ext <<_ACEOF
33040 /* end confdefs.h. */
33048 if (fpclassify(LDBL_MAX) == FP_NAN
33049 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33052 if (fpclassify(DBL_MAX) == FP_NAN
33053 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33059 rm -f conftest$ac_exeext
33060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33061 (eval $ac_link) 2>&5
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33066 (eval $ac_try) 2>&5
33068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33069 (exit $ac_status); }; }; then
33070 libgfor_cv_have_broken_fpclassify=no
33072 echo "$as_me: program exited with status $ac_status" >&5
33073 echo "$as_me: failed program was:" >&5
33074 sed 's/^/| /' conftest.$ac_ext >&5
33076 ( exit $ac_status )
33077 libgfor_cv_have_broken_fpclassify=yes
33079 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33081 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33083 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33084 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33085 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33087 cat >>confdefs.h <<\_ACEOF
33088 #define HAVE_BROKEN_FPCLASSIFY 1
33093 # Check whether the system has a working stat()
33095 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33096 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33097 if test "${libgfor_cv_have_working_stat+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33101 if test "$cross_compiling" = yes; then
33103 case "${target}" in
33104 *mingw*) libgfor_cv_have_working_stat=no ;;
33105 *) libgfor_cv_have_working_stat=yes;;
33108 cat >conftest.$ac_ext <<_ACEOF
33111 cat confdefs.h >>conftest.$ac_ext
33112 cat >>conftest.$ac_ext <<_ACEOF
33113 /* end confdefs.h. */
33116 #include <sys/types.h>
33117 #include <sys/stat.h>
33118 #include <unistd.h>
33123 struct stat st1, st2;
33125 f = fopen ("foo", "w");
33126 g = fopen ("bar", "w");
33127 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33129 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33136 rm -f conftest$ac_exeext
33137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33138 (eval $ac_link) 2>&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33143 (eval $ac_try) 2>&5
33145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33146 (exit $ac_status); }; }; then
33147 libgfor_cv_have_working_stat=yes
33149 echo "$as_me: program exited with status $ac_status" >&5
33150 echo "$as_me: failed program was:" >&5
33151 sed 's/^/| /' conftest.$ac_ext >&5
33153 ( exit $ac_status )
33154 libgfor_cv_have_working_stat=no
33156 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33159 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33160 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33161 if test x"$libgfor_cv_have_working_stat" = xyes; then
33163 cat >>confdefs.h <<\_ACEOF
33164 #define HAVE_WORKING_STAT 1
33169 # Check whether __mingw_snprintf() is present
33171 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33172 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33173 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33174 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 if test x$gcc_no_link = xyes; then
33178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33180 { (exit 1); exit 1; }; }
33182 cat >conftest.$ac_ext <<_ACEOF
33185 cat confdefs.h >>conftest.$ac_ext
33186 cat >>conftest.$ac_ext <<_ACEOF
33187 /* end confdefs.h. */
33190 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33196 __mingw_snprintf (NULL, 0, "%d\n", 1);
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33206 grep -v '^ *+' conftest.er1 >conftest.err
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try='test -z "$ac_c_werror_flag"
33212 || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try='test -s conftest$ac_exeext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "libgfor_cv_have_mingw_snprintf=yes"
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33229 eval "libgfor_cv_have_mingw_snprintf=no"
33231 rm -f conftest.err conftest.$ac_objext \
33232 conftest$ac_exeext conftest.$ac_ext
33235 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33236 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33237 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33239 cat >>confdefs.h <<\_ACEOF
33240 #define HAVE_MINGW_SNPRINTF 1
33246 # Check for GNU libc feenableexcept
33247 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33248 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33249 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33250 echo $ECHO_N "(cached) $ECHO_C" >&6
33252 ac_check_lib_save_LIBS=$LIBS
33254 if test x$gcc_no_link = xyes; then
33255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33257 { (exit 1); exit 1; }; }
33259 cat >conftest.$ac_ext <<_ACEOF
33262 cat confdefs.h >>conftest.$ac_ext
33263 cat >>conftest.$ac_ext <<_ACEOF
33264 /* end confdefs.h. */
33266 /* Override any gcc2 internal prototype to avoid an error. */
33270 /* We use char because int might match the return type of a gcc2
33271 builtin and then its argument prototype would still apply. */
33272 char feenableexcept ();
33281 rm -f conftest.$ac_objext conftest$ac_exeext
33282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33283 (eval $ac_link) 2>conftest.er1
33285 grep -v '^ *+' conftest.er1 >conftest.err
33287 cat conftest.err >&5
33288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33289 (exit $ac_status); } &&
33290 { ac_try='test -z "$ac_c_werror_flag"
33291 || test ! -s conftest.err'
33292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33293 (eval $ac_try) 2>&5
33295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33296 (exit $ac_status); }; } &&
33297 { ac_try='test -s conftest$ac_exeext'
33298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33299 (eval $ac_try) 2>&5
33301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33302 (exit $ac_status); }; }; then
33303 ac_cv_lib_m_feenableexcept=yes
33305 echo "$as_me: failed program was:" >&5
33306 sed 's/^/| /' conftest.$ac_ext >&5
33308 ac_cv_lib_m_feenableexcept=no
33310 rm -f conftest.err conftest.$ac_objext \
33311 conftest$ac_exeext conftest.$ac_ext
33312 LIBS=$ac_check_lib_save_LIBS
33314 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33315 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33316 if test $ac_cv_lib_m_feenableexcept = yes; then
33317 have_feenableexcept=yes
33318 cat >>confdefs.h <<\_ACEOF
33319 #define HAVE_FEENABLEEXCEPT 1
33325 # Check for SysV fpsetmask
33327 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33328 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33329 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33330 echo $ECHO_N "(cached) $ECHO_C" >&6
33333 if test x$gcc_no_link = xyes; then
33334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33336 { (exit 1); exit 1; }; }
33338 cat >conftest.$ac_ext <<_ACEOF
33341 cat confdefs.h >>conftest.$ac_ext
33342 cat >>conftest.$ac_ext <<_ACEOF
33343 /* end confdefs.h. */
33345 #if HAVE_FLOATINGPOINT_H
33346 # include <floatingpoint.h>
33347 #endif /* HAVE_FLOATINGPOINT_H */
33349 # include <ieeefp.h>
33350 #endif /* HAVE_IEEEFP_H */
33359 rm -f conftest.$ac_objext conftest$ac_exeext
33360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33361 (eval $ac_link) 2>conftest.er1
33363 grep -v '^ *+' conftest.er1 >conftest.err
33365 cat conftest.err >&5
33366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33367 (exit $ac_status); } &&
33368 { ac_try='test -z "$ac_c_werror_flag"
33369 || test ! -s conftest.err'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; } &&
33375 { ac_try='test -s conftest$ac_exeext'
33376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33377 (eval $ac_try) 2>&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); }; }; then
33381 eval "libgfor_cv_have_fpsetmask=yes"
33383 echo "$as_me: failed program was:" >&5
33384 sed 's/^/| /' conftest.$ac_ext >&5
33386 eval "libgfor_cv_have_fpsetmask=no"
33388 rm -f conftest.err conftest.$ac_objext \
33389 conftest$ac_exeext conftest.$ac_ext
33392 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33393 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33394 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33396 cat >>confdefs.h <<\_ACEOF
33397 #define HAVE_FPSETMASK 1
33403 # Check for AIX fp_trap and fp_enable
33404 echo "$as_me:$LINENO: checking for fp_trap" >&5
33405 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33406 if test "${ac_cv_func_fp_trap+set}" = set; then
33407 echo $ECHO_N "(cached) $ECHO_C" >&6
33409 if test x$gcc_no_link = xyes; then
33410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33412 { (exit 1); exit 1; }; }
33414 cat >conftest.$ac_ext <<_ACEOF
33417 cat confdefs.h >>conftest.$ac_ext
33418 cat >>conftest.$ac_ext <<_ACEOF
33419 /* end confdefs.h. */
33420 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33422 #define fp_trap innocuous_fp_trap
33424 /* System header to define __stub macros and hopefully few prototypes,
33425 which can conflict with char fp_trap (); below.
33426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33427 <limits.h> exists even on freestanding compilers. */
33430 # include <limits.h>
33432 # include <assert.h>
33437 /* Override any gcc2 internal prototype to avoid an error. */
33442 /* We use char because int might match the return type of a gcc2
33443 builtin and then its argument prototype would still apply. */
33445 /* The GNU C library defines this for functions which it implements
33446 to always fail with ENOSYS. Some functions are actually named
33447 something starting with __ and the normal name is an alias. */
33448 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33451 char (*f) () = fp_trap;
33460 return f != fp_trap;
33465 rm -f conftest.$ac_objext conftest$ac_exeext
33466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33467 (eval $ac_link) 2>conftest.er1
33469 grep -v '^ *+' conftest.er1 >conftest.err
33471 cat conftest.err >&5
33472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33473 (exit $ac_status); } &&
33474 { ac_try='test -z "$ac_c_werror_flag"
33475 || test ! -s conftest.err'
33476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33477 (eval $ac_try) 2>&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); }; } &&
33481 { ac_try='test -s conftest$ac_exeext'
33482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33483 (eval $ac_try) 2>&5
33485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33486 (exit $ac_status); }; }; then
33487 ac_cv_func_fp_trap=yes
33489 echo "$as_me: failed program was:" >&5
33490 sed 's/^/| /' conftest.$ac_ext >&5
33492 ac_cv_func_fp_trap=no
33494 rm -f conftest.err conftest.$ac_objext \
33495 conftest$ac_exeext conftest.$ac_ext
33497 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33498 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33499 if test $ac_cv_func_fp_trap = yes; then
33501 cat >>confdefs.h <<\_ACEOF
33502 #define HAVE_FP_TRAP 1
33507 echo "$as_me:$LINENO: checking for fp_enable" >&5
33508 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33509 if test "${ac_cv_func_fp_enable+set}" = set; then
33510 echo $ECHO_N "(cached) $ECHO_C" >&6
33512 if test x$gcc_no_link = xyes; then
33513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33515 { (exit 1); exit 1; }; }
33517 cat >conftest.$ac_ext <<_ACEOF
33520 cat confdefs.h >>conftest.$ac_ext
33521 cat >>conftest.$ac_ext <<_ACEOF
33522 /* end confdefs.h. */
33523 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33525 #define fp_enable innocuous_fp_enable
33527 /* System header to define __stub macros and hopefully few prototypes,
33528 which can conflict with char fp_enable (); below.
33529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33530 <limits.h> exists even on freestanding compilers. */
33533 # include <limits.h>
33535 # include <assert.h>
33540 /* Override any gcc2 internal prototype to avoid an error. */
33545 /* We use char because int might match the return type of a gcc2
33546 builtin and then its argument prototype would still apply. */
33548 /* The GNU C library defines this for functions which it implements
33549 to always fail with ENOSYS. Some functions are actually named
33550 something starting with __ and the normal name is an alias. */
33551 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33554 char (*f) () = fp_enable;
33563 return f != fp_enable;
33568 rm -f conftest.$ac_objext conftest$ac_exeext
33569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33570 (eval $ac_link) 2>conftest.er1
33572 grep -v '^ *+' conftest.er1 >conftest.err
33574 cat conftest.err >&5
33575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33576 (exit $ac_status); } &&
33577 { ac_try='test -z "$ac_c_werror_flag"
33578 || test ! -s conftest.err'
33579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33580 (eval $ac_try) 2>&5
33582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33583 (exit $ac_status); }; } &&
33584 { ac_try='test -s conftest$ac_exeext'
33585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33586 (eval $ac_try) 2>&5
33588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33589 (exit $ac_status); }; }; then
33590 ac_cv_func_fp_enable=yes
33592 echo "$as_me: failed program was:" >&5
33593 sed 's/^/| /' conftest.$ac_ext >&5
33595 ac_cv_func_fp_enable=no
33597 rm -f conftest.err conftest.$ac_objext \
33598 conftest$ac_exeext conftest.$ac_ext
33600 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33601 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33602 if test $ac_cv_func_fp_enable = yes; then
33604 cat >>confdefs.h <<\_ACEOF
33605 #define HAVE_FP_ENABLE 1
33611 # Runs configure.host to set up necessary host-dependent shell variables.
33612 # We then display a message about it, and propagate them through the
33614 . ${srcdir}/configure.host
33615 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33616 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33617 FPU_HOST_HEADER=config/${fpu_host}.h
33620 # Check out attribute support.
33622 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33623 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33624 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33625 echo $ECHO_N "(cached) $ECHO_C" >&6
33628 save_CFLAGS="$CFLAGS"
33629 CFLAGS="$CFLAGS -Werror"
33630 cat >conftest.$ac_ext <<_ACEOF
33633 cat confdefs.h >>conftest.$ac_ext
33634 cat >>conftest.$ac_ext <<_ACEOF
33635 /* end confdefs.h. */
33636 void __attribute__((visibility("hidden"))) foo(void) { }
33645 rm -f conftest.$ac_objext
33646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33647 (eval $ac_compile) 2>conftest.er1
33649 grep -v '^ *+' conftest.er1 >conftest.err
33651 cat conftest.err >&5
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); } &&
33654 { ac_try='test -z "$ac_c_werror_flag"
33655 || test ! -s conftest.err'
33656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33657 (eval $ac_try) 2>&5
33659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33660 (exit $ac_status); }; } &&
33661 { ac_try='test -s conftest.$ac_objext'
33662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33663 (eval $ac_try) 2>&5
33665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33666 (exit $ac_status); }; }; then
33667 libgfor_cv_have_attribute_visibility=yes
33669 echo "$as_me: failed program was:" >&5
33670 sed 's/^/| /' conftest.$ac_ext >&5
33672 libgfor_cv_have_attribute_visibility=no
33674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33675 CFLAGS="$save_CFLAGS"
33677 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33678 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33679 if test $libgfor_cv_have_attribute_visibility = yes; then
33681 cat >>confdefs.h <<\_ACEOF
33682 #define HAVE_ATTRIBUTE_VISIBILITY 1
33687 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33688 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33689 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33690 echo $ECHO_N "(cached) $ECHO_C" >&6
33693 save_CFLAGS="$CFLAGS"
33694 CFLAGS="$CFLAGS -Werror"
33695 cat >conftest.$ac_ext <<_ACEOF
33698 cat confdefs.h >>conftest.$ac_ext
33699 cat >>conftest.$ac_ext <<_ACEOF
33700 /* end confdefs.h. */
33701 void __attribute__((dllexport)) foo(void) { }
33710 rm -f conftest.$ac_objext
33711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33712 (eval $ac_compile) 2>conftest.er1
33714 grep -v '^ *+' conftest.er1 >conftest.err
33716 cat conftest.err >&5
33717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33718 (exit $ac_status); } &&
33719 { ac_try='test -z "$ac_c_werror_flag"
33720 || test ! -s conftest.err'
33721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33722 (eval $ac_try) 2>&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); }; } &&
33726 { ac_try='test -s conftest.$ac_objext'
33727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33728 (eval $ac_try) 2>&5
33730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33731 (exit $ac_status); }; }; then
33732 libgfor_cv_have_attribute_dllexport=yes
33734 echo "$as_me: failed program was:" >&5
33735 sed 's/^/| /' conftest.$ac_ext >&5
33737 libgfor_cv_have_attribute_dllexport=no
33739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33740 CFLAGS="$save_CFLAGS"
33742 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33743 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33744 if test $libgfor_cv_have_attribute_dllexport = yes; then
33746 cat >>confdefs.h <<\_ACEOF
33747 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33752 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33753 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33754 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33755 echo $ECHO_N "(cached) $ECHO_C" >&6
33758 if test x$gcc_no_link = xyes; then
33759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33761 { (exit 1); exit 1; }; }
33763 cat >conftest.$ac_ext <<_ACEOF
33766 cat confdefs.h >>conftest.$ac_ext
33767 cat >>conftest.$ac_ext <<_ACEOF
33768 /* end confdefs.h. */
33771 extern void bar(void) __attribute__((alias("foo")));
33780 rm -f conftest.$ac_objext conftest$ac_exeext
33781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33782 (eval $ac_link) 2>conftest.er1
33784 grep -v '^ *+' conftest.er1 >conftest.err
33786 cat conftest.err >&5
33787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33788 (exit $ac_status); } &&
33789 { ac_try='test -z "$ac_c_werror_flag"
33790 || test ! -s conftest.err'
33791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33792 (eval $ac_try) 2>&5
33794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33795 (exit $ac_status); }; } &&
33796 { ac_try='test -s conftest$ac_exeext'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; }; then
33802 libgfor_cv_have_attribute_alias=yes
33804 echo "$as_me: failed program was:" >&5
33805 sed 's/^/| /' conftest.$ac_ext >&5
33807 libgfor_cv_have_attribute_alias=no
33809 rm -f conftest.err conftest.$ac_objext \
33810 conftest$ac_exeext conftest.$ac_ext
33812 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33813 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33814 if test $libgfor_cv_have_attribute_alias = yes; then
33816 cat >>confdefs.h <<\_ACEOF
33817 #define HAVE_ATTRIBUTE_ALIAS 1
33822 # Check out sync builtins support.
33824 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33825 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33826 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33827 echo $ECHO_N "(cached) $ECHO_C" >&6
33830 if test x$gcc_no_link = xyes; then
33831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33833 { (exit 1); exit 1; }; }
33835 cat >conftest.$ac_ext <<_ACEOF
33838 cat confdefs.h >>conftest.$ac_ext
33839 cat >>conftest.$ac_ext <<_ACEOF
33840 /* end confdefs.h. */
33846 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33847 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33852 rm -f conftest.$ac_objext conftest$ac_exeext
33853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33854 (eval $ac_link) 2>conftest.er1
33856 grep -v '^ *+' conftest.er1 >conftest.err
33858 cat conftest.err >&5
33859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33860 (exit $ac_status); } &&
33861 { ac_try='test -z "$ac_c_werror_flag"
33862 || test ! -s conftest.err'
33863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33864 (eval $ac_try) 2>&5
33866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33867 (exit $ac_status); }; } &&
33868 { ac_try='test -s conftest$ac_exeext'
33869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33870 (eval $ac_try) 2>&5
33872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33873 (exit $ac_status); }; }; then
33874 libgfor_cv_have_sync_fetch_and_add=yes
33876 echo "$as_me: failed program was:" >&5
33877 sed 's/^/| /' conftest.$ac_ext >&5
33879 libgfor_cv_have_sync_fetch_and_add=no
33881 rm -f conftest.err conftest.$ac_objext \
33882 conftest$ac_exeext conftest.$ac_ext
33884 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33885 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33886 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33888 cat >>confdefs.h <<\_ACEOF
33889 #define HAVE_SYNC_FETCH_AND_ADD 1
33894 # Check out thread support.
33896 echo "$as_me:$LINENO: checking configured target thread model" >&5
33897 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33898 if test "${libgfor_cv_target_thread_file+set}" = set; then
33899 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33904 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33905 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33907 if test $libgfor_cv_target_thread_file != single; then
33909 cat >>confdefs.h <<\_ACEOF
33910 #define HAVE_GTHR_DEFAULT 1
33915 # Check out #pragma weak.
33917 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33918 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33919 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33920 echo $ECHO_N "(cached) $ECHO_C" >&6
33923 gfor_save_CFLAGS="$CFLAGS"
33924 CFLAGS="$CFLAGS -Wunknown-pragmas"
33925 cat >conftest.$ac_ext <<_ACEOF
33928 cat confdefs.h >>conftest.$ac_ext
33929 cat >>conftest.$ac_ext <<_ACEOF
33930 /* end confdefs.h. */
33941 rm -f conftest.$ac_objext
33942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33943 (eval $ac_compile) 2>conftest.er1
33945 grep -v '^ *+' conftest.er1 >conftest.err
33947 cat conftest.err >&5
33948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33949 (exit $ac_status); } &&
33950 { ac_try='test -z "$ac_c_werror_flag"
33951 || test ! -s conftest.err'
33952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33953 (eval $ac_try) 2>&5
33955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33956 (exit $ac_status); }; } &&
33957 { ac_try='test -s conftest.$ac_objext'
33958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33959 (eval $ac_try) 2>&5
33961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33962 (exit $ac_status); }; }; then
33963 libgfor_cv_have_pragma_weak=yes
33965 echo "$as_me: failed program was:" >&5
33966 sed 's/^/| /' conftest.$ac_ext >&5
33968 libgfor_cv_have_pragma_weak=no
33970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33972 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33973 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33974 if test $libgfor_cv_have_pragma_weak = yes; then
33976 cat >>confdefs.h <<\_ACEOF
33977 #define SUPPORTS_WEAK 1
33982 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
33984 cat >>confdefs.h <<\_ACEOF
33985 #define GTHREAD_USE_WEAK 0
33991 # Various other checks on target
33993 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33994 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33995 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33996 echo $ECHO_N "(cached) $ECHO_C" >&6
33999 if test "$cross_compiling" = yes; then
34001 case "${target}" in
34002 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
34003 *) libgfor_cv_have_unlink_open_file=yes;;
34006 cat >conftest.$ac_ext <<_ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34015 #include <unistd.h>
34016 #include <sys/stat.h>
34022 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
34025 if (unlink ("testfile") == -1)
34027 write (fd, "This is a test\n", 15);
34030 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34036 rm -f conftest$ac_exeext
34037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34038 (eval $ac_link) 2>&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34043 (eval $ac_try) 2>&5
34045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34046 (exit $ac_status); }; }; then
34047 libgfor_cv_have_unlink_open_file=yes
34049 echo "$as_me: program exited with status $ac_status" >&5
34050 echo "$as_me: failed program was:" >&5
34051 sed 's/^/| /' conftest.$ac_ext >&5
34053 ( exit $ac_status )
34054 libgfor_cv_have_unlink_open_file=no
34056 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34059 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34060 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34061 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34063 cat >>confdefs.h <<\_ACEOF
34064 #define HAVE_UNLINK_OPEN_FILE 1
34069 # Check whether line terminator is LF or CRLF
34071 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34072 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34073 if test "${libgfor_cv_have_crlf+set}" = set; then
34074 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 if test "$cross_compiling" = yes; then
34079 case "${target}" in
34080 *mingw*) libgfor_cv_have_crlf=yes ;;
34081 *) libgfor_cv_have_crlf=no;;
34084 cat >conftest.$ac_ext <<_ACEOF
34087 cat confdefs.h >>conftest.$ac_ext
34088 cat >>conftest.$ac_ext <<_ACEOF
34089 /* end confdefs.h. */
34091 /* This test program should exit with status 0 if system uses a CRLF as
34092 line terminator, and status 1 otherwise.
34093 Since it is used to check for mingw systems, and should return 0 in any
34094 other case, in case of a failure we will not use CRLF. */
34095 #include <sys/stat.h>
34096 #include <stdlib.h>
34108 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34111 if (write (fd, "\n", 1) < 0)
34116 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34118 bytes = read (fd, buff, 5);
34119 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34126 rm -f conftest$ac_exeext
34127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34128 (eval $ac_link) 2>&5
34130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34133 (eval $ac_try) 2>&5
34135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34136 (exit $ac_status); }; }; then
34137 libgfor_cv_have_crlf=yes
34139 echo "$as_me: program exited with status $ac_status" >&5
34140 echo "$as_me: failed program was:" >&5
34141 sed 's/^/| /' conftest.$ac_ext >&5
34143 ( exit $ac_status )
34144 libgfor_cv_have_crlf=no
34146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34149 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34150 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34151 if test x"$libgfor_cv_have_crlf" = xyes; then
34153 cat >>confdefs.h <<\_ACEOF
34154 #define HAVE_CRLF 1
34159 cat >confcache <<\_ACEOF
34160 # This file is a shell script that caches the results of configure
34161 # tests run on this system so they can be shared between configure
34162 # scripts and configure runs, see configure's option --config-cache.
34163 # It is not useful on other systems. If it contains results you don't
34164 # want to keep, you may remove or edit it.
34166 # config.status only pays attention to the cache file if you give it
34167 # the --recheck option to rerun configure.
34169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34171 # following values.
34175 # The following way of writing the cache mishandles newlines in values,
34176 # but we know of no workaround that is simple, portable, and efficient.
34177 # So, don't put newlines in cache variables' values.
34178 # Ultrix sh set writes to stderr and can't be redirected directly,
34179 # and sets the high bit in the cache file unless we assign to the vars.
34182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34184 # `set' does not quote correctly, so add quotes (double-quote
34185 # substitution turns \\\\ into \\, and sed turns \\ into \).
34188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34191 # `set' quotes correctly as required by POSIX, so do not add quotes.
34193 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34202 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34204 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34205 if test -w $cache_file; then
34206 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34207 cat confcache >$cache_file
34209 echo "not updating unwritable cache $cache_file"
34214 if test ${multilib} = yes; then
34215 multilib_arg="--enable-multilib"
34220 # Write our Makefile.
34221 ac_config_files="$ac_config_files Makefile"
34223 cat >confcache <<\_ACEOF
34224 # This file is a shell script that caches the results of configure
34225 # tests run on this system so they can be shared between configure
34226 # scripts and configure runs, see configure's option --config-cache.
34227 # It is not useful on other systems. If it contains results you don't
34228 # want to keep, you may remove or edit it.
34230 # config.status only pays attention to the cache file if you give it
34231 # the --recheck option to rerun configure.
34233 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34234 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34235 # following values.
34239 # The following way of writing the cache mishandles newlines in values,
34240 # but we know of no workaround that is simple, portable, and efficient.
34241 # So, don't put newlines in cache variables' values.
34242 # Ultrix sh set writes to stderr and can't be redirected directly,
34243 # and sets the high bit in the cache file unless we assign to the vars.
34246 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34248 # `set' does not quote correctly, so add quotes (double-quote
34249 # substitution turns \\\\ into \\, and sed turns \\ into \).
34252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34255 # `set' quotes correctly as required by POSIX, so do not add quotes.
34257 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34264 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34266 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34268 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34269 if test -w $cache_file; then
34270 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34271 cat confcache >$cache_file
34273 echo "not updating unwritable cache $cache_file"
34278 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34279 # Let make expand exec_prefix.
34280 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34282 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34283 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34284 # trailing colons and then remove the whole line if VPATH becomes empty
34285 # (actually we leave an empty line to preserve line numbers).
34286 if test "x$srcdir" = x.; then
34287 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34288 s/:*\$(srcdir):*/:/;
34289 s/:*\${srcdir}:*/:/;
34291 s/^\([^=]*=[ ]*\):*/\1/;
34297 DEFS=-DHAVE_CONFIG_H
34301 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34302 # 1. Remove the extension, and $U if already installed.
34303 ac_i=`echo "$ac_i" |
34304 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34306 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34307 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34309 LIBOBJS=$ac_libobjs
34311 LTLIBOBJS=$ac_ltlibobjs
34314 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34315 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34316 Usually this means the macro was only invoked conditionally." >&5
34317 echo "$as_me: error: conditional \"onestep\" was never defined.
34318 Usually this means the macro was only invoked conditionally." >&2;}
34319 { (exit 1); exit 1; }; }
34321 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34322 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34323 Usually this means the macro was only invoked conditionally." >&5
34324 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34325 Usually this means the macro was only invoked conditionally." >&2;}
34326 { (exit 1); exit 1; }; }
34328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34329 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34330 Usually this means the macro was only invoked conditionally." >&5
34331 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34332 Usually this means the macro was only invoked conditionally." >&2;}
34333 { (exit 1); exit 1; }; }
34335 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34336 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34337 Usually this means the macro was only invoked conditionally." >&5
34338 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34339 Usually this means the macro was only invoked conditionally." >&2;}
34340 { (exit 1); exit 1; }; }
34342 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34343 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34344 Usually this means the macro was only invoked conditionally." >&5
34345 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34346 Usually this means the macro was only invoked conditionally." >&2;}
34347 { (exit 1); exit 1; }; }
34350 : ${CONFIG_STATUS=./config.status}
34351 ac_clean_files_save=$ac_clean_files
34352 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34353 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34354 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34355 cat >$CONFIG_STATUS <<_ACEOF
34357 # Generated by $as_me.
34358 # Run this file to recreate the current configuration.
34359 # Compiler output produced by configure, useful for debugging
34360 # configure, is in config.log if it exists.
34363 ac_cs_recheck=false
34365 SHELL=\${CONFIG_SHELL-$SHELL}
34368 cat >>$CONFIG_STATUS <<\_ACEOF
34369 ## --------------------- ##
34370 ## M4sh Initialization. ##
34371 ## --------------------- ##
34373 # Be Bourne compatible
34374 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34377 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34378 # is contrary to our usage. Disable this feature.
34379 alias -g '${1+"$@"}'='"$@"'
34380 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34383 DUALCASE=1; export DUALCASE # for MKS sh
34385 # Support unset when possible.
34386 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34393 # Work around bugs in pre-3.0 UWIN ksh.
34394 $as_unset ENV MAIL MAILPATH
34401 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34402 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34403 LC_TELEPHONE LC_TIME
34405 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34406 eval $as_var=C; export $as_var
34412 # Required to use basename.
34413 if expr a : '\(a\)' >/dev/null 2>&1; then
34419 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34420 as_basename=basename
34426 # Name of the executable.
34427 as_me=`$as_basename "$0" ||
34428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34429 X"$0" : 'X\(//\)$' \| \
34430 X"$0" : 'X\(/\)$' \| \
34431 . : '\(.\)' 2>/dev/null ||
34433 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34434 /^X\/\(\/\/\)$/{ s//\1/; q; }
34435 /^X\/\(\/\).*/{ s//\1/; q; }
34439 # PATH needs CR, and LINENO needs CR and PATH.
34440 # Avoid depending upon Character Ranges.
34441 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34442 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34443 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34444 as_cr_digits='0123456789'
34445 as_cr_alnum=$as_cr_Letters$as_cr_digits
34447 # The user is always right.
34448 if test "${PATH_SEPARATOR+set}" != set; then
34449 echo "#! /bin/sh" >conf$$.sh
34450 echo "exit 0" >>conf$$.sh
34452 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34461 as_lineno_1=$LINENO
34462 as_lineno_2=$LINENO
34463 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34464 test "x$as_lineno_1" != "x$as_lineno_2" &&
34465 test "x$as_lineno_3" = "x$as_lineno_2" || {
34466 # Find who we are. Look in the path if we contain no path at all
34469 *[\\/]* ) as_myself=$0 ;;
34470 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34471 for as_dir in $PATH
34474 test -z "$as_dir" && as_dir=.
34475 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34480 # We did not find ourselves, most probably we were run as `sh COMMAND'
34481 # in which case we are not to be found in the path.
34482 if test "x$as_myself" = x; then
34485 if test ! -f "$as_myself"; then
34486 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34487 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34488 { (exit 1); exit 1; }; }
34490 case $CONFIG_SHELL in
34492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34493 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34496 test -z "$as_dir" && as_dir=.
34497 for as_base in sh bash ksh sh5; do
34500 if ("$as_dir/$as_base" -c '
34501 as_lineno_1=$LINENO
34502 as_lineno_2=$LINENO
34503 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34504 test "x$as_lineno_1" != "x$as_lineno_2" &&
34505 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34506 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34507 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34508 CONFIG_SHELL=$as_dir/$as_base
34509 export CONFIG_SHELL
34510 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34518 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34519 # uniformly replaced by the line number. The first 'sed' inserts a
34520 # line-number line before each line; the second 'sed' does the real
34521 # work. The second script uses 'N' to pair each line-number line
34522 # with the numbered line, and appends trailing '-' during
34523 # substitution so that $LINENO is not a special case at line end.
34524 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34525 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34526 sed '=' <$as_myself |
34531 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34534 s,^['$as_cr_digits']*\n,,
34535 ' >$as_me.lineno &&
34536 chmod +x $as_me.lineno ||
34537 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34538 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34539 { (exit 1); exit 1; }; }
34541 # Don't try to exec as it changes $[0], causing all sort of problems
34542 # (the dirname of $[0] is not the place where we might find the
34543 # original and so on. Autoconf is especially sensible to this).
34545 # Exit status is that of the last command.
34550 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34551 *c*,-n*) ECHO_N= ECHO_C='
34553 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34554 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34557 if expr a : '\(a\)' >/dev/null 2>&1; then
34563 rm -f conf$$ conf$$.exe conf$$.file
34565 if ln -s conf$$.file conf$$ 2>/dev/null; then
34566 # We could just check for DJGPP; but this test a) works b) is more generic
34567 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34568 if test -f conf$$.exe; then
34569 # Don't use ln at all; we don't have any links
34574 elif ln conf$$.file conf$$ 2>/dev/null; then
34579 rm -f conf$$ conf$$.exe conf$$.file
34581 if mkdir -p . 2>/dev/null; then
34584 test -d ./-p && rmdir ./-p
34588 as_executable_p="test -f"
34590 # Sed expression to map a string onto a valid CPP name.
34591 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34593 # Sed expression to map a string onto a valid variable name.
34594 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34598 # We need space, tab and new line, in precisely that order.
34608 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34609 # report actual input values of CONFIG_FILES etc. instead of their
34610 # values after options handling. Logging --version etc. is OK.
34614 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34615 ## Running $as_me. ##
34620 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34621 generated by GNU Autoconf 2.59. Invocation command line was
34623 CONFIG_FILES = $CONFIG_FILES
34624 CONFIG_HEADERS = $CONFIG_HEADERS
34625 CONFIG_LINKS = $CONFIG_LINKS
34626 CONFIG_COMMANDS = $CONFIG_COMMANDS
34630 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34634 # Files that config.status was made for.
34635 if test -n "$ac_config_files"; then
34636 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34639 if test -n "$ac_config_headers"; then
34640 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34643 if test -n "$ac_config_links"; then
34644 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34647 if test -n "$ac_config_commands"; then
34648 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34651 cat >>$CONFIG_STATUS <<\_ACEOF
34654 \`$as_me' instantiates files from templates according to the
34655 current configuration.
34657 Usage: $0 [OPTIONS] [FILE]...
34659 -h, --help print this help, then exit
34660 -V, --version print version number, then exit
34661 -q, --quiet do not print progress messages
34662 -d, --debug don't remove temporary files
34663 --recheck update $as_me by reconfiguring in the same conditions
34664 --file=FILE[:TEMPLATE]
34665 instantiate the configuration file FILE
34666 --header=FILE[:TEMPLATE]
34667 instantiate the configuration header FILE
34669 Configuration files:
34672 Configuration headers:
34675 Configuration commands:
34678 Report bugs to <bug-autoconf@gnu.org>."
34681 cat >>$CONFIG_STATUS <<_ACEOF
34683 GNU Fortran Runtime Library config.status 0.3
34684 configured by $0, generated by GNU Autoconf 2.59,
34685 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34687 Copyright (C) 2003 Free Software Foundation, Inc.
34688 This config.status script is free software; the Free Software Foundation
34689 gives unlimited permission to copy, distribute and modify it."
34694 cat >>$CONFIG_STATUS <<\_ACEOF
34695 # If no file are specified by the user, then we need to provide default
34696 # value. By we need to know if files were specified by the user.
34702 ac_option=`expr "x$1" : 'x\([^=]*\)='`
34703 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34711 *) # This is not an option, so the user has probably given explicit
34714 ac_need_defaults=false;;
34718 # Handling of the options.
34720 cat >>$CONFIG_STATUS <<\_ACEOF
34721 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34723 --version | --vers* | -V )
34724 echo "$ac_cs_version"; exit 0 ;;
34726 # Conflict between --help and --header
34727 { { echo "$as_me:$LINENO: error: ambiguous option: $1
34728 Try \`$0 --help' for more information." >&5
34729 echo "$as_me: error: ambiguous option: $1
34730 Try \`$0 --help' for more information." >&2;}
34731 { (exit 1); exit 1; }; };;
34732 --help | --hel | -h )
34733 echo "$ac_cs_usage"; exit 0 ;;
34734 --debug | --d* | -d )
34736 --file | --fil | --fi | --f )
34738 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34739 ac_need_defaults=false;;
34740 --header | --heade | --head | --hea )
34742 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34743 ac_need_defaults=false;;
34744 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34745 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34748 # This is an error.
34749 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34750 Try \`$0 --help' for more information." >&5
34751 echo "$as_me: error: unrecognized option: $1
34752 Try \`$0 --help' for more information." >&2;}
34753 { (exit 1); exit 1; }; } ;;
34755 *) ac_config_targets="$ac_config_targets $1" ;;
34761 ac_configure_extra_args=
34763 if $ac_cs_silent; then
34765 ac_configure_extra_args="$ac_configure_extra_args --silent"
34769 cat >>$CONFIG_STATUS <<_ACEOF
34770 if \$ac_cs_recheck; then
34771 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34772 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34777 cat >>$CONFIG_STATUS <<_ACEOF
34779 # INIT-COMMANDS section.
34786 with_multisubdir="$with_multisubdir"
34787 with_multisrctop="$with_multisrctop"
34788 with_target_subdir="$with_target_subdir"
34789 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34790 multi_basedir="$multi_basedir"
34791 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34793 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34796 # The HP-UX ksh and POSIX shell print the target directory to stdout
34797 # if CDPATH is set.
34798 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34800 sed_quote_subst='$sed_quote_subst'
34801 double_quote_subst='$double_quote_subst'
34802 delay_variable_subst='$delay_variable_subst'
34803 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34804 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34805 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34806 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34807 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34808 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34809 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34810 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34811 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34812 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34813 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34814 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34815 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34816 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34817 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34818 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34819 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34820 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34821 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34822 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34823 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34824 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34825 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34826 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34827 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34828 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34829 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34830 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34831 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34832 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34833 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34834 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34835 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34836 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34837 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34838 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34839 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34840 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34841 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34842 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34843 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34844 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34845 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34846 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34847 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"`'
34848 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34849 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34850 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34851 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34852 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34853 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34854 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34855 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34856 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34857 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34858 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34859 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34860 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34861 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34862 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34863 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34864 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34865 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34866 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34867 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34868 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34869 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34870 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34871 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34872 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34873 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34874 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34875 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34876 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34877 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34878 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34879 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34880 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34881 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34882 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34883 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34884 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34885 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34886 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34887 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34888 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34889 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34890 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34891 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34892 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34893 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34894 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34895 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34896 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34897 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34898 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34899 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34900 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34901 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34902 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34903 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34904 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34905 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34906 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34907 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34908 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34909 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34910 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34911 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34912 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34913 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34914 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34915 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34916 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34917 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34918 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34919 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34920 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34921 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34922 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34923 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34924 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34925 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34926 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34927 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34928 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34929 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34930 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34931 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34932 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34933 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34934 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34935 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34936 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34937 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34938 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34939 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34940 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34941 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34942 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34943 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34944 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34945 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34946 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34947 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34948 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34949 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34950 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34951 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34952 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34953 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34954 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34955 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34956 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34957 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34958 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34959 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34960 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34961 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34962 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34963 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34964 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34965 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34966 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34967 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34968 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34969 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34970 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34971 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34972 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34973 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34976 LTCFLAGS='$LTCFLAGS'
34977 compiler='$compiler_DEFAULT'
34979 # Quote evaled strings.
34991 deplibs_check_method \
35000 lt_cv_sys_global_symbol_pipe \
35001 lt_cv_sys_global_symbol_to_cdecl \
35002 lt_cv_sys_global_symbol_to_c_name_address \
35003 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35006 lt_prog_compiler_no_builtin_flag \
35007 lt_prog_compiler_wl \
35008 lt_prog_compiler_pic \
35009 lt_prog_compiler_static \
35010 lt_cv_prog_compiler_c_o \
35018 export_dynamic_flag_spec \
35019 whole_archive_flag_spec \
35020 compiler_needs_object \
35022 allow_undefined_flag \
35023 no_undefined_flag \
35024 hardcode_libdir_flag_spec \
35025 hardcode_libdir_flag_spec_ld \
35026 hardcode_libdir_separator \
35031 variables_saved_for_relink \
35033 library_names_spec \
35038 compiler_lib_search_dirs \
35043 compiler_lib_search_path \
35046 lt_prog_compiler_no_builtin_flag_FC \
35047 lt_prog_compiler_wl_FC \
35048 lt_prog_compiler_pic_FC \
35049 lt_prog_compiler_static_FC \
35050 lt_cv_prog_compiler_c_o_FC \
35051 export_dynamic_flag_spec_FC \
35052 whole_archive_flag_spec_FC \
35053 compiler_needs_object_FC \
35055 allow_undefined_flag_FC \
35056 no_undefined_flag_FC \
35057 hardcode_libdir_flag_spec_FC \
35058 hardcode_libdir_flag_spec_ld_FC \
35059 hardcode_libdir_separator_FC \
35060 fix_srcfile_path_FC \
35061 exclude_expsyms_FC \
35062 include_expsyms_FC \
35063 file_list_spec_FC \
35064 compiler_lib_search_dirs_FC \
35065 predep_objects_FC \
35066 postdep_objects_FC \
35069 compiler_lib_search_path_FC; do
35070 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35071 *[\\\\\\\`\\"\\\$]*)
35072 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35075 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35080 # Double-quote double-evaled strings.
35081 for var in reload_cmds \
35082 old_postinstall_cmds \
35083 old_postuninstall_cmds \
35085 extract_expsyms_cmds \
35086 old_archive_from_new_cmds \
35087 old_archive_from_expsyms_cmds \
35089 archive_expsym_cmds \
35091 module_expsym_cmds \
35092 export_symbols_cmds \
35095 postuninstall_cmds \
35097 sys_lib_search_path_spec \
35098 sys_lib_dlsearch_path_spec \
35099 old_archive_cmds_FC \
35100 old_archive_from_new_cmds_FC \
35101 old_archive_from_expsyms_cmds_FC \
35103 archive_expsym_cmds_FC \
35105 module_expsym_cmds_FC \
35106 export_symbols_cmds_FC \
35107 prelink_cmds_FC; do
35108 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35109 *[\\\\\\\`\\"\\\$]*)
35110 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35113 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35118 # Fix-up fallback echo if it was mangled by the above quoting rules.
35120 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35124 ac_aux_dir='$ac_aux_dir'
35125 xsi_shell='$xsi_shell'
35126 lt_shell_append='$lt_shell_append'
35128 # See if we are running on zsh, and set the options which allow our
35129 # commands through without removal of \ escapes INIT.
35130 if test -n "\${ZSH_VERSION+set}" ; then
35131 setopt NO_GLOB_SUBST
35137 TIMESTAMP='$TIMESTAMP'
35148 acx_cv_header_stdint="$acx_cv_header_stdint"
35149 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35150 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35151 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35152 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35153 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35154 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35155 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35156 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35157 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35158 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35159 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35160 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35161 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35168 cat >>$CONFIG_STATUS <<\_ACEOF
35169 for ac_config_target in $ac_config_targets
35171 case "$ac_config_target" in
35172 # Handling of arguments.
35173 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35174 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35175 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35176 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35177 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35178 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35179 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35180 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35181 { (exit 1); exit 1; }; };;
35185 # If the user did not use the arguments to specify the items to instantiate,
35186 # then the envvar interface is used. Set only those that are not.
35187 # We use the long form for the default assignment because of an extremely
35188 # bizarre bug on SunOS 4.1.3.
35189 if $ac_need_defaults; then
35190 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35191 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35192 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35195 # Have a temporary directory for convenience. Make it in the build tree
35196 # simply because there is no reason to put it here, and in addition,
35197 # creating and moving files from /tmp can sometimes cause problems.
35198 # Create a temporary directory, and hook for its removal unless debugging.
35201 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35202 trap '{ (exit 1); exit 1; }' 1 2 13 15
35205 # Create a (secure) tmp directory for tmp files.
35208 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35209 test -n "$tmp" && test -d "$tmp"
35212 tmp=./confstat$$-$RANDOM
35213 (umask 077 && mkdir $tmp)
35216 echo "$me: cannot create a temporary directory in ." >&2
35217 { (exit 1); exit 1; }
35222 cat >>$CONFIG_STATUS <<_ACEOF
35225 # CONFIG_FILES section.
35228 # No need to generate the scripts if there are no CONFIG_FILES.
35229 # This happens for instance when ./config.status config.h
35230 if test -n "\$CONFIG_FILES"; then
35231 # Protect against being on the right side of a sed subst in config.status.
35232 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35233 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35234 s,@SHELL@,$SHELL,;t t
35235 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35236 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35237 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35238 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35239 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35240 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35241 s,@exec_prefix@,$exec_prefix,;t t
35242 s,@prefix@,$prefix,;t t
35243 s,@program_transform_name@,$program_transform_name,;t t
35244 s,@bindir@,$bindir,;t t
35245 s,@sbindir@,$sbindir,;t t
35246 s,@libexecdir@,$libexecdir,;t t
35247 s,@datadir@,$datadir,;t t
35248 s,@sysconfdir@,$sysconfdir,;t t
35249 s,@sharedstatedir@,$sharedstatedir,;t t
35250 s,@localstatedir@,$localstatedir,;t t
35251 s,@libdir@,$libdir,;t t
35252 s,@includedir@,$includedir,;t t
35253 s,@oldincludedir@,$oldincludedir,;t t
35254 s,@infodir@,$infodir,;t t
35255 s,@mandir@,$mandir,;t t
35256 s,@build_alias@,$build_alias,;t t
35257 s,@host_alias@,$host_alias,;t t
35258 s,@target_alias@,$target_alias,;t t
35259 s,@DEFS@,$DEFS,;t t
35260 s,@ECHO_C@,$ECHO_C,;t t
35261 s,@ECHO_N@,$ECHO_N,;t t
35262 s,@ECHO_T@,$ECHO_T,;t t
35263 s,@LIBS@,$LIBS,;t t
35264 s,@build@,$build,;t t
35265 s,@build_cpu@,$build_cpu,;t t
35266 s,@build_vendor@,$build_vendor,;t t
35267 s,@build_os@,$build_os,;t t
35268 s,@build_libsubdir@,$build_libsubdir,;t t
35269 s,@build_subdir@,$build_subdir,;t t
35270 s,@host_subdir@,$host_subdir,;t t
35271 s,@target_subdir@,$target_subdir,;t t
35272 s,@onestep_TRUE@,$onestep_TRUE,;t t
35273 s,@onestep_FALSE@,$onestep_FALSE,;t t
35274 s,@onestep@,$onestep,;t t
35275 s,@host@,$host,;t t
35276 s,@host_cpu@,$host_cpu,;t t
35277 s,@host_vendor@,$host_vendor,;t t
35278 s,@host_os@,$host_os,;t t
35279 s,@target@,$target,;t t
35280 s,@target_cpu@,$target_cpu,;t t
35281 s,@target_vendor@,$target_vendor,;t t
35282 s,@target_os@,$target_os,;t t
35283 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35284 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35285 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35286 s,@CYGPATH_W@,$CYGPATH_W,;t t
35287 s,@PACKAGE@,$PACKAGE,;t t
35288 s,@VERSION@,$VERSION,;t t
35289 s,@ACLOCAL@,$ACLOCAL,;t t
35290 s,@AUTOCONF@,$AUTOCONF,;t t
35291 s,@AUTOMAKE@,$AUTOMAKE,;t t
35292 s,@AUTOHEADER@,$AUTOHEADER,;t t
35293 s,@MAKEINFO@,$MAKEINFO,;t t
35294 s,@install_sh@,$install_sh,;t t
35295 s,@STRIP@,$STRIP,;t t
35296 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35297 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35298 s,@mkdir_p@,$mkdir_p,;t t
35300 s,@SET_MAKE@,$SET_MAKE,;t t
35301 s,@am__leading_dot@,$am__leading_dot,;t t
35302 s,@AMTAR@,$AMTAR,;t t
35303 s,@am__tar@,$am__tar,;t t
35304 s,@am__untar@,$am__untar,;t t
35305 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35306 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35307 s,@MAINT@,$MAINT,;t t
35308 s,@multi_basedir@,$multi_basedir,;t t
35309 s,@toolexecdir@,$toolexecdir,;t t
35310 s,@toolexeclibdir@,$toolexeclibdir,;t t
35312 s,@ac_ct_CC@,$ac_ct_CC,;t t
35313 s,@EXEEXT@,$EXEEXT,;t t
35314 s,@OBJEXT@,$OBJEXT,;t t
35315 s,@DEPDIR@,$DEPDIR,;t t
35316 s,@am__include@,$am__include,;t t
35317 s,@am__quote@,$am__quote,;t t
35318 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35319 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35320 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35321 s,@CCDEPMODE@,$CCDEPMODE,;t t
35322 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35323 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35324 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35325 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35326 s,@CFLAGS@,$CFLAGS,;t t
35327 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35328 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35330 s,@ac_ct_AS@,$ac_ct_AS,;t t
35332 s,@ac_ct_AR@,$ac_ct_AR,;t t
35333 s,@RANLIB@,$RANLIB,;t t
35334 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35335 s,@LIBTOOL@,$LIBTOOL,;t t
35337 s,@EGREP@,$EGREP,;t t
35338 s,@FGREP@,$FGREP,;t t
35339 s,@GREP@,$GREP,;t t
35341 s,@DUMPBIN@,$DUMPBIN,;t t
35342 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35344 s,@LN_S@,$LN_S,;t t
35345 s,@OBJDUMP@,$OBJDUMP,;t t
35346 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35347 s,@lt_ECHO@,$lt_ECHO,;t t
35348 s,@DSYMUTIL@,$DSYMUTIL,;t t
35349 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35350 s,@NMEDIT@,$NMEDIT,;t t
35351 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35352 s,@LIPO@,$LIPO,;t t
35353 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35354 s,@OTOOL@,$OTOOL,;t t
35355 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35356 s,@OTOOL64@,$OTOOL64,;t t
35357 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35359 s,@CPPFLAGS@,$CPPFLAGS,;t t
35360 s,@enable_shared@,$enable_shared,;t t
35361 s,@enable_static@,$enable_static,;t t
35363 s,@FCFLAGS@,$FCFLAGS,;t t
35364 s,@LDFLAGS@,$LDFLAGS,;t t
35365 s,@ac_ct_FC@,$ac_ct_FC,;t t
35366 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35367 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35368 s,@LIBOBJS@,$LIBOBJS,;t t
35369 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35374 cat >>$CONFIG_STATUS <<\_ACEOF
35375 # Split the substitutions into bite-sized pieces for seds with
35376 # small command number limits, like on Digital OSF/1 and HP-UX.
35377 ac_max_sed_lines=48
35378 ac_sed_frag=1 # Number of current file.
35379 ac_beg=1 # First line for current file.
35380 ac_end=$ac_max_sed_lines # Line after last line for current file.
35383 while $ac_more_lines; do
35384 if test $ac_beg -gt 1; then
35385 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35387 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35389 if test ! -s $tmp/subs.frag; then
35390 ac_more_lines=false
35392 # The purpose of the label and of the branching condition is to
35393 # speed up the sed processing (if there are no `@' at all, there
35394 # is no need to browse any of the substitutions).
35395 # These are the two extra sed commands mentioned above.
35397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35398 if test -z "$ac_sed_cmds"; then
35399 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35401 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35403 ac_sed_frag=`expr $ac_sed_frag + 1`
35405 ac_end=`expr $ac_end + $ac_max_sed_lines`
35408 if test -z "$ac_sed_cmds"; then
35411 fi # test -n "$CONFIG_FILES"
35414 cat >>$CONFIG_STATUS <<\_ACEOF
35415 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35416 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35418 - | *:- | *:-:* ) # input from stdin
35420 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35421 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35422 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35423 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35424 * ) ac_file_in=$ac_file.in ;;
35427 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35428 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35429 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35430 X"$ac_file" : 'X\(//\)[^/]' \| \
35431 X"$ac_file" : 'X\(//\)$' \| \
35432 X"$ac_file" : 'X\(/\)' \| \
35433 . : '\(.\)' 2>/dev/null ||
35435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35436 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35437 /^X\(\/\/\)$/{ s//\1/; q; }
35438 /^X\(\/\).*/{ s//\1/; q; }
35440 { if $as_mkdir_p; then
35445 while test ! -d "$as_dir"; do
35446 as_dirs="$as_dir $as_dirs"
35447 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35448 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35449 X"$as_dir" : 'X\(//\)[^/]' \| \
35450 X"$as_dir" : 'X\(//\)$' \| \
35451 X"$as_dir" : 'X\(/\)' \| \
35452 . : '\(.\)' 2>/dev/null ||
35454 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35455 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35456 /^X\(\/\/\)$/{ s//\1/; q; }
35457 /^X\(\/\).*/{ s//\1/; q; }
35460 test ! -n "$as_dirs" || mkdir $as_dirs
35461 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35462 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35463 { (exit 1); exit 1; }; }; }
35467 if test "$ac_dir" != .; then
35468 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35469 # A "../" for each directory in $ac_dir_suffix.
35470 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35472 ac_dir_suffix= ac_top_builddir=
35476 .) # No --srcdir option. We are building in place.
35478 if test -z "$ac_top_builddir"; then
35481 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35483 [\\/]* | ?:[\\/]* ) # Absolute path.
35484 ac_srcdir=$srcdir$ac_dir_suffix;
35485 ac_top_srcdir=$srcdir ;;
35486 *) # Relative path.
35487 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35488 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35491 # Do not use `cd foo && pwd` to compute absolute paths, because
35492 # the directories may not exist.
35494 .) ac_abs_builddir="$ac_dir";;
35497 .) ac_abs_builddir=`pwd`;;
35498 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35499 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35502 case $ac_abs_builddir in
35503 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35505 case ${ac_top_builddir}. in
35506 .) ac_abs_top_builddir=$ac_abs_builddir;;
35507 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35508 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35511 case $ac_abs_builddir in
35512 .) ac_abs_srcdir=$ac_srcdir;;
35515 .) ac_abs_srcdir=$ac_abs_builddir;;
35516 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35517 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35520 case $ac_abs_builddir in
35521 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35523 case $ac_top_srcdir in
35524 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35525 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35526 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35532 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35533 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35536 if test x"$ac_file" != x-; then
35537 { echo "$as_me:$LINENO: creating $ac_file" >&5
35538 echo "$as_me: creating $ac_file" >&6;}
35541 # Let's still pretend it is `configure' which instantiates (i.e., don't
35542 # use $as_me), people would be surprised to read:
35543 # /* config.h. Generated by config.status. */
35544 if test x"$ac_file" = x-; then
35547 configure_input="$ac_file. "
35549 configure_input=$configure_input"Generated from `echo $ac_file_in |
35550 sed 's,.*/,,'` by configure."
35552 # First look for the input files in the build tree, otherwise in the
35554 ac_file_inputs=`IFS=:
35555 for f in $ac_file_in; do
35557 -) echo $tmp/stdin ;;
35559 # Absolute (can't be DOS-style, as IFS=:)
35560 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35561 echo "$as_me: error: cannot find input file: $f" >&2;}
35562 { (exit 1); exit 1; }; }
35565 if test -f "$f"; then
35568 elif test -f "$srcdir/$f"; then
35573 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35574 echo "$as_me: error: cannot find input file: $f" >&2;}
35575 { (exit 1); exit 1; }; }
35578 done` || { (exit 1); exit 1; }
35580 cat >>$CONFIG_STATUS <<_ACEOF
35584 cat >>$CONFIG_STATUS <<\_ACEOF
35586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35587 s,@configure_input@,$configure_input,;t t
35588 s,@srcdir@,$ac_srcdir,;t t
35589 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35590 s,@top_srcdir@,$ac_top_srcdir,;t t
35591 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35592 s,@builddir@,$ac_builddir,;t t
35593 s,@abs_builddir@,$ac_abs_builddir,;t t
35594 s,@top_builddir@,$ac_top_builddir,;t t
35595 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35596 s,@INSTALL@,$ac_INSTALL,;t t
35597 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35599 if test x"$ac_file" != x-; then
35600 mv $tmp/out $ac_file
35608 cat >>$CONFIG_STATUS <<\_ACEOF
35611 # CONFIG_HEADER section.
35614 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35615 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35617 # ac_d sets the value in "#define NAME VALUE" lines.
35618 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35619 ac_dB='[ ].*$,\1#\2'
35622 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35623 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35624 ac_uB='$,\1#\2define\3'
35628 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35629 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35631 - | *:- | *:-:* ) # input from stdin
35633 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35634 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35635 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35636 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35637 * ) ac_file_in=$ac_file.in ;;
35640 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35641 echo "$as_me: creating $ac_file" >&6;}
35643 # First look for the input files in the build tree, otherwise in the
35645 ac_file_inputs=`IFS=:
35646 for f in $ac_file_in; do
35648 -) echo $tmp/stdin ;;
35650 # Absolute (can't be DOS-style, as IFS=:)
35651 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35652 echo "$as_me: error: cannot find input file: $f" >&2;}
35653 { (exit 1); exit 1; }; }
35654 # Do quote $f, to prevent DOS paths from being IFS'd.
35657 if test -f "$f"; then
35660 elif test -f "$srcdir/$f"; then
35665 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35666 echo "$as_me: error: cannot find input file: $f" >&2;}
35667 { (exit 1); exit 1; }; }
35670 done` || { (exit 1); exit 1; }
35671 # Remove the trailing spaces.
35672 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35676 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35677 # `conftest.undefs', that substitutes the proper values into
35678 # config.h.in to produce config.h. The first handles `#define'
35679 # templates, and the second `#undef' templates.
35680 # And first: Protect against being on the right side of a sed subst in
35681 # config.status. Protect against being in an unquoted here document
35682 # in config.status.
35683 rm -f conftest.defines conftest.undefs
35684 # Using a here document instead of a string reduces the quoting nightmare.
35685 # Putting comments in sed scripts is not portable.
35687 # `end' is used to avoid that the second main sed command (meant for
35688 # 0-ary CPP macros) applies to n-ary macro definitions.
35689 # See the Autoconf documentation for `clear'.
35690 cat >confdef2sed.sed <<\_ACEOF
35695 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35697 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35700 # If some macros were called several times there might be several times
35701 # the same #defines, which is useless. Nevertheless, we may not want to
35702 # sort them, since we want the *last* AC-DEFINE to be honored.
35703 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35704 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35705 rm -f confdef2sed.sed
35707 # This sed command replaces #undef with comments. This is necessary, for
35708 # example, in the case of _POSIX_SOURCE, which is predefined and required
35709 # on some systems where configure will not decide to define it.
35710 cat >>conftest.undefs <<\_ACEOF
35711 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35714 # Break up conftest.defines because some shells have a limit on the size
35715 # of here documents, and old seds have small limits too (100 cmds).
35716 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35717 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35718 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35719 echo ' :' >>$CONFIG_STATUS
35720 rm -f conftest.tail
35721 while grep . conftest.defines >/dev/null
35723 # Write a limited-size here document to $tmp/defines.sed.
35724 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35725 # Speed up: don't consider the non `#define' lines.
35726 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35727 # Work around the forget-to-reset-the-flag bug.
35728 echo 't clr' >>$CONFIG_STATUS
35729 echo ': clr' >>$CONFIG_STATUS
35730 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35732 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35734 mv $tmp/out $tmp/in
35736 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35737 rm -f conftest.defines
35738 mv conftest.tail conftest.defines
35740 rm -f conftest.defines
35741 echo ' fi # grep' >>$CONFIG_STATUS
35742 echo >>$CONFIG_STATUS
35744 # Break up conftest.undefs because some shells have a limit on the size
35745 # of here documents, and old seds have small limits too (100 cmds).
35746 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35747 rm -f conftest.tail
35748 while grep . conftest.undefs >/dev/null
35750 # Write a limited-size here document to $tmp/undefs.sed.
35751 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35752 # Speed up: don't consider the non `#undef'
35753 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35754 # Work around the forget-to-reset-the-flag bug.
35755 echo 't clr' >>$CONFIG_STATUS
35756 echo ': clr' >>$CONFIG_STATUS
35757 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35759 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35761 mv $tmp/out $tmp/in
35763 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35764 rm -f conftest.undefs
35765 mv conftest.tail conftest.undefs
35767 rm -f conftest.undefs
35769 cat >>$CONFIG_STATUS <<\_ACEOF
35770 # Let's still pretend it is `configure' which instantiates (i.e., don't
35771 # use $as_me), people would be surprised to read:
35772 # /* config.h. Generated by config.status. */
35773 if test x"$ac_file" = x-; then
35774 echo "/* Generated by configure. */" >$tmp/config.h
35776 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35778 cat $tmp/in >>$tmp/config.h
35780 if test x"$ac_file" != x-; then
35781 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35782 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35783 echo "$as_me: $ac_file is unchanged" >&6;}
35785 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35786 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35787 X"$ac_file" : 'X\(//\)[^/]' \| \
35788 X"$ac_file" : 'X\(//\)$' \| \
35789 X"$ac_file" : 'X\(/\)' \| \
35790 . : '\(.\)' 2>/dev/null ||
35792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35793 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35794 /^X\(\/\/\)$/{ s//\1/; q; }
35795 /^X\(\/\).*/{ s//\1/; q; }
35797 { if $as_mkdir_p; then
35802 while test ! -d "$as_dir"; do
35803 as_dirs="$as_dir $as_dirs"
35804 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35805 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35806 X"$as_dir" : 'X\(//\)[^/]' \| \
35807 X"$as_dir" : 'X\(//\)$' \| \
35808 X"$as_dir" : 'X\(/\)' \| \
35809 . : '\(.\)' 2>/dev/null ||
35811 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35812 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35813 /^X\(\/\/\)$/{ s//\1/; q; }
35814 /^X\(\/\).*/{ s//\1/; q; }
35817 test ! -n "$as_dirs" || mkdir $as_dirs
35818 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35819 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35820 { (exit 1); exit 1; }; }; }
35823 mv $tmp/config.h $ac_file
35827 rm -f $tmp/config.h
35829 # Compute $ac_file's index in $config_headers.
35831 for _am_header in $config_headers :; do
35832 case $_am_header in
35833 $ac_file | $ac_file:* )
35836 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35839 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35840 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35841 X$ac_file : 'X\(//\)[^/]' \| \
35842 X$ac_file : 'X\(//\)$' \| \
35843 X$ac_file : 'X\(/\)' \| \
35844 . : '\(.\)' 2>/dev/null ||
35846 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35847 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35848 /^X\(\/\/\)$/{ s//\1/; q; }
35849 /^X\(\/\).*/{ s//\1/; q; }
35850 s/.*/./; q'`/stamp-h$_am_stamp_count
35853 cat >>$CONFIG_STATUS <<\_ACEOF
35856 # CONFIG_COMMANDS section.
35858 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35859 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35860 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35861 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35862 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35863 X"$ac_dest" : 'X\(//\)[^/]' \| \
35864 X"$ac_dest" : 'X\(//\)$' \| \
35865 X"$ac_dest" : 'X\(/\)' \| \
35866 . : '\(.\)' 2>/dev/null ||
35868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35870 /^X\(\/\/\)$/{ s//\1/; q; }
35871 /^X\(\/\).*/{ s//\1/; q; }
35873 { if $as_mkdir_p; then
35878 while test ! -d "$as_dir"; do
35879 as_dirs="$as_dir $as_dirs"
35880 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35882 X"$as_dir" : 'X\(//\)[^/]' \| \
35883 X"$as_dir" : 'X\(//\)$' \| \
35884 X"$as_dir" : 'X\(/\)' \| \
35885 . : '\(.\)' 2>/dev/null ||
35887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35889 /^X\(\/\/\)$/{ s//\1/; q; }
35890 /^X\(\/\).*/{ s//\1/; q; }
35893 test ! -n "$as_dirs" || mkdir $as_dirs
35894 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35896 { (exit 1); exit 1; }; }; }
35900 if test "$ac_dir" != .; then
35901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35902 # A "../" for each directory in $ac_dir_suffix.
35903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35905 ac_dir_suffix= ac_top_builddir=
35909 .) # No --srcdir option. We are building in place.
35911 if test -z "$ac_top_builddir"; then
35914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35916 [\\/]* | ?:[\\/]* ) # Absolute path.
35917 ac_srcdir=$srcdir$ac_dir_suffix;
35918 ac_top_srcdir=$srcdir ;;
35919 *) # Relative path.
35920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35924 # Do not use `cd foo && pwd` to compute absolute paths, because
35925 # the directories may not exist.
35927 .) ac_abs_builddir="$ac_dir";;
35930 .) ac_abs_builddir=`pwd`;;
35931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35935 case $ac_abs_builddir in
35936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35938 case ${ac_top_builddir}. in
35939 .) ac_abs_top_builddir=$ac_abs_builddir;;
35940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35944 case $ac_abs_builddir in
35945 .) ac_abs_srcdir=$ac_srcdir;;
35948 .) ac_abs_srcdir=$ac_abs_builddir;;
35949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35953 case $ac_abs_builddir in
35954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35956 case $ac_top_srcdir in
35957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35964 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35965 echo "$as_me: executing $ac_dest commands" >&6;}
35968 # Only add multilib support code if we just rebuilt the top-level
35970 case " $CONFIG_FILES " in
35972 ac_file=Makefile . ${multi_basedir}/config-ml.in
35975 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
35976 # Strip MF so we end up with the name of the file.
35977 mf=`echo "$mf" | sed -e 's/:.*$//'`
35978 # Check whether this is an Automake generated Makefile or not.
35979 # We used to match only the files named `Makefile.in', but
35980 # some people rename them; so instead we look at the file content.
35981 # Grep'ing the first line is not enough: some people post-process
35982 # each Makefile.in and add a new line on top of each file to say so.
35983 # So let's grep whole file.
35984 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
35985 dirpart=`(dirname "$mf") 2>/dev/null ||
35986 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35987 X"$mf" : 'X\(//\)[^/]' \| \
35988 X"$mf" : 'X\(//\)$' \| \
35989 X"$mf" : 'X\(/\)' \| \
35990 . : '\(.\)' 2>/dev/null ||
35992 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35993 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35994 /^X\(\/\/\)$/{ s//\1/; q; }
35995 /^X\(\/\).*/{ s//\1/; q; }
36000 # Extract the definition of DEPDIR, am__include, and am__quote
36001 # from the Makefile without running `make'.
36002 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36003 test -z "$DEPDIR" && continue
36004 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36005 test -z "am__include" && continue
36006 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36007 # When using ansi2knr, U may be empty or an underscore; expand it
36008 U=`sed -n 's/^U = //p' < "$mf"`
36009 # Find all dependency output files, they are included files with
36010 # $(DEPDIR) in their names. We invoke sed twice because it is the
36011 # simplest approach to changing $(DEPDIR) to its actual value in the
36013 for file in `sed -n "
36014 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36015 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36016 # Make sure the directory exists.
36017 test -f "$dirpart/$file" && continue
36018 fdir=`(dirname "$file") 2>/dev/null ||
36019 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36020 X"$file" : 'X\(//\)[^/]' \| \
36021 X"$file" : 'X\(//\)$' \| \
36022 X"$file" : 'X\(/\)' \| \
36023 . : '\(.\)' 2>/dev/null ||
36025 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36026 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36027 /^X\(\/\/\)$/{ s//\1/; q; }
36028 /^X\(\/\).*/{ s//\1/; q; }
36030 { if $as_mkdir_p; then
36031 mkdir -p $dirpart/$fdir
36033 as_dir=$dirpart/$fdir
36035 while test ! -d "$as_dir"; do
36036 as_dirs="$as_dir $as_dirs"
36037 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36038 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36039 X"$as_dir" : 'X\(//\)[^/]' \| \
36040 X"$as_dir" : 'X\(//\)$' \| \
36041 X"$as_dir" : 'X\(/\)' \| \
36042 . : '\(.\)' 2>/dev/null ||
36044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36045 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36046 /^X\(\/\/\)$/{ s//\1/; q; }
36047 /^X\(\/\).*/{ s//\1/; q; }
36050 test ! -n "$as_dirs" || mkdir $as_dirs
36051 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36052 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36053 { (exit 1); exit 1; }; }; }
36055 # echo "creating $dirpart/$file"
36056 echo '# dummy' > "$dirpart/$file"
36062 # See if we are running on zsh, and set the options which allow our
36063 # commands through without removal of \ escapes.
36064 if test -n "${ZSH_VERSION+set}" ; then
36065 setopt NO_GLOB_SUBST
36068 cfgfile="${ofile}T"
36069 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36072 cat <<_LT_EOF >> "$cfgfile"
36075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36081 # 2006, 2007, 2008 Free Software Foundation, Inc.
36082 # Written by Gordon Matzigkeit, 1996
36084 # This file is part of GNU Libtool.
36086 # GNU Libtool is free software; you can redistribute it and/or
36087 # modify it under the terms of the GNU General Public License as
36088 # published by the Free Software Foundation; either version 2 of
36089 # the License, or (at your option) any later version.
36091 # As a special exception to the GNU General Public License,
36092 # if you distribute this file as part of a program or library that
36093 # is built using GNU Libtool, you may include this file under the
36094 # same distribution terms that you use for the rest of that program.
36096 # GNU Libtool is distributed in the hope that it will be useful,
36097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36099 # GNU General Public License for more details.
36101 # You should have received a copy of the GNU General Public License
36102 # along with GNU Libtool; see the file COPYING. If not, a copy
36103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36104 # obtained by writing to the Free Software Foundation, Inc.,
36105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36108 # The names of the tagged configurations supported by this script.
36109 available_tags="FC "
36111 # ### BEGIN LIBTOOL CONFIG
36113 # Which release of libtool.m4 was used?
36114 macro_version=$macro_version
36115 macro_revision=$macro_revision
36117 # Whether or not to build shared libraries.
36118 build_libtool_libs=$enable_shared
36120 # Whether or not to build static libraries.
36121 build_old_libs=$enable_static
36123 # What type of objects to build.
36126 # Whether or not to optimize for fast installation.
36127 fast_install=$enable_fast_install
36130 host_alias=$host_alias
36134 # The build system.
36135 build_alias=$build_alias
36139 # A sed program that does not truncate output.
36142 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36143 Xsed="\$SED -e 1s/^X//"
36145 # A grep program that handles long lines.
36151 # A literal string matcher.
36154 # A BSD- or MS-compatible name lister.
36157 # Whether we need soft or hard links.
36160 # What is the maximum length of a command?
36161 max_cmd_len=$max_cmd_len
36163 # Object file suffix (normally "o").
36166 # Executable file suffix (normally "").
36169 # whether the shell understands "unset".
36172 # turn spaces into newlines.
36175 # turn newlines into spaces.
36178 # How to create reloadable object files.
36179 reload_flag=$lt_reload_flag
36180 reload_cmds=$lt_reload_cmds
36182 # An object symbol dumper.
36183 OBJDUMP=$lt_OBJDUMP
36185 # Method to check whether dependent libraries are shared objects.
36186 deplibs_check_method=$lt_deplibs_check_method
36188 # Command to use when deplibs_check_method == "file_magic".
36189 file_magic_cmd=$lt_file_magic_cmd
36193 AR_FLAGS=$lt_AR_FLAGS
36195 # A symbol stripping program.
36198 # Commands used to install an old-style archive.
36200 old_postinstall_cmds=$lt_old_postinstall_cmds
36201 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36206 # LTCC compiler flags.
36207 LTCFLAGS=$lt_CFLAGS
36209 # Take the output of nm and produce a listing of raw symbols and C names.
36210 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36212 # Transform the output of nm in a proper C declaration.
36213 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36215 # Transform the output of nm in a C name address pair.
36216 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36218 # Transform the output of nm in a C name address pair when lib prefix is needed.
36219 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36221 # The name of the directory that contains temporary libtool files.
36224 # Shell to use when invoking shell scripts.
36227 # An echo program that does not interpret backslashes.
36230 # Used to examine libraries when file_magic_cmd begins with "file".
36231 MAGIC_CMD=$MAGIC_CMD
36233 # Must we lock files when doing compilation?
36234 need_locks=$lt_need_locks
36236 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36237 DSYMUTIL=$lt_DSYMUTIL
36239 # Tool to change global to local symbols on Mac OS X.
36242 # Tool to manipulate fat objects and archives on Mac OS X.
36245 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36248 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36249 OTOOL64=$lt_OTOOL64
36251 # Old archive suffix (normally "a").
36254 # Shared library suffix (normally ".so").
36255 shrext_cmds=$lt_shrext_cmds
36257 # The commands to extract the exported symbol list from a shared archive.
36258 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36260 # Variables whose values should be saved in libtool wrapper scripts and
36261 # restored at link time.
36262 variables_saved_for_relink=$lt_variables_saved_for_relink
36264 # Do we need the "lib" prefix for modules?
36265 need_lib_prefix=$need_lib_prefix
36267 # Do we need a version for libraries?
36268 need_version=$need_version
36270 # Library versioning type.
36271 version_type=$version_type
36273 # Shared library runtime path variable.
36274 runpath_var=$runpath_var
36276 # Shared library path variable.
36277 shlibpath_var=$shlibpath_var
36279 # Is shlibpath searched before the hard-coded library search path?
36280 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36282 # Format of library name prefix.
36283 libname_spec=$lt_libname_spec
36285 # List of archive names. First name is the real one, the rest are links.
36286 # The last name is the one that the linker finds with -lNAME
36287 library_names_spec=$lt_library_names_spec
36289 # The coded name of the library, if different from the real name.
36290 soname_spec=$lt_soname_spec
36292 # Command to use after installation of a shared archive.
36293 postinstall_cmds=$lt_postinstall_cmds
36295 # Command to use after uninstallation of a shared archive.
36296 postuninstall_cmds=$lt_postuninstall_cmds
36298 # Commands used to finish a libtool library installation in a directory.
36299 finish_cmds=$lt_finish_cmds
36301 # As "finish_cmds", except a single script fragment to be evaled but
36303 finish_eval=$lt_finish_eval
36305 # Whether we should hardcode library paths into libraries.
36306 hardcode_into_libs=$hardcode_into_libs
36308 # Compile-time system search path for libraries.
36309 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36311 # Run-time system search path for libraries.
36312 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36314 # Whether dlopen is supported.
36315 dlopen_support=$enable_dlopen
36317 # Whether dlopen of programs is supported.
36318 dlopen_self=$enable_dlopen_self
36320 # Whether dlopen of statically linked programs is supported.
36321 dlopen_self_static=$enable_dlopen_self_static
36323 # Commands to strip libraries.
36324 old_striplib=$lt_old_striplib
36325 striplib=$lt_striplib
36328 # The linker used to build libraries.
36331 # Commands used to build an old-style archive.
36332 old_archive_cmds=$lt_old_archive_cmds
36334 # A language specific compiler.
36337 # Is the compiler the GNU compiler?
36340 # Compiler flag to turn off builtin functions.
36341 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36343 # How to pass a linker flag through the compiler.
36344 wl=$lt_lt_prog_compiler_wl
36346 # Additional compiler flags for building library objects.
36347 pic_flag=$lt_lt_prog_compiler_pic
36349 # Compiler flag to prevent dynamic linking.
36350 link_static_flag=$lt_lt_prog_compiler_static
36352 # Does compiler simultaneously support -c and -o options?
36353 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36355 # Whether or not to add -lc for building shared libraries.
36356 build_libtool_need_lc=$archive_cmds_need_lc
36358 # Whether or not to disallow shared libs when runtime libs are static.
36359 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36361 # Compiler flag to allow reflexive dlopens.
36362 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36364 # Compiler flag to generate shared objects directly from archives.
36365 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36367 # Whether the compiler copes with passing no objects directly.
36368 compiler_needs_object=$lt_compiler_needs_object
36370 # Create an old-style archive from a shared archive.
36371 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36373 # Create a temporary old-style archive to link instead of a shared archive.
36374 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36376 # Commands used to build a shared archive.
36377 archive_cmds=$lt_archive_cmds
36378 archive_expsym_cmds=$lt_archive_expsym_cmds
36380 # Commands used to build a loadable module if different from building
36381 # a shared archive.
36382 module_cmds=$lt_module_cmds
36383 module_expsym_cmds=$lt_module_expsym_cmds
36385 # Whether we are building with GNU ld or not.
36386 with_gnu_ld=$lt_with_gnu_ld
36388 # Flag that allows shared libraries with undefined symbols to be built.
36389 allow_undefined_flag=$lt_allow_undefined_flag
36391 # Flag that enforces no undefined symbols.
36392 no_undefined_flag=$lt_no_undefined_flag
36394 # Flag to hardcode \$libdir into a binary during linking.
36395 # This must work even if \$libdir does not exist
36396 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36398 # If ld is used when linking, flag to hardcode \$libdir into a binary
36399 # during linking. This must work even if \$libdir does not exist.
36400 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36402 # Whether we need a single "-rpath" flag with a separated argument.
36403 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36405 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36406 # DIR into the resulting binary.
36407 hardcode_direct=$hardcode_direct
36409 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36410 # DIR into the resulting binary and the resulting library dependency is
36411 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36412 # library is relocated.
36413 hardcode_direct_absolute=$hardcode_direct_absolute
36415 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36416 # into the resulting binary.
36417 hardcode_minus_L=$hardcode_minus_L
36419 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36420 # into the resulting binary.
36421 hardcode_shlibpath_var=$hardcode_shlibpath_var
36423 # Set to "yes" if building a shared library automatically hardcodes DIR
36424 # into the library and all subsequent libraries and executables linked
36426 hardcode_automatic=$hardcode_automatic
36428 # Set to yes if linker adds runtime paths of dependent libraries
36429 # to runtime path list.
36430 inherit_rpath=$inherit_rpath
36432 # Whether libtool must link a program against all its dependency libraries.
36433 link_all_deplibs=$link_all_deplibs
36435 # Fix the shell variable \$srcfile for the compiler.
36436 fix_srcfile_path=$lt_fix_srcfile_path
36438 # Set to "yes" if exported symbols are required.
36439 always_export_symbols=$always_export_symbols
36441 # The commands to list exported symbols.
36442 export_symbols_cmds=$lt_export_symbols_cmds
36444 # Symbols that should not be listed in the preloaded symbols.
36445 exclude_expsyms=$lt_exclude_expsyms
36447 # Symbols that must always be exported.
36448 include_expsyms=$lt_include_expsyms
36450 # Commands necessary for linking programs (against libraries) with templates.
36451 prelink_cmds=$lt_prelink_cmds
36453 # Specify filename containing input files.
36454 file_list_spec=$lt_file_list_spec
36456 # How to hardcode a shared library path into an executable.
36457 hardcode_action=$hardcode_action
36459 # The directories searched by this compiler when creating a shared library.
36460 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36462 # Dependencies to place before and after the objects being linked to
36463 # create a shared library.
36464 predep_objects=$lt_predep_objects
36465 postdep_objects=$lt_postdep_objects
36466 predeps=$lt_predeps
36467 postdeps=$lt_postdeps
36469 # The library search path used internally by the compiler when linking
36470 # a shared library.
36471 compiler_lib_search_path=$lt_compiler_lib_search_path
36473 # ### END LIBTOOL CONFIG
36479 cat <<\_LT_EOF >> "$cfgfile"
36480 # AIX sometimes has problems with the GCC collect2 program. For some
36481 # reason, if we set the COLLECT_NAMES environment variable, the problems
36482 # vanish in a puff of smoke.
36483 if test "X${COLLECT_NAMES+set}" != Xset; then
36485 export COLLECT_NAMES
36492 ltmain="$ac_aux_dir/ltmain.sh"
36495 # We use sed instead of cat because bash on DJGPP gets confused if
36496 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36497 # text mode, it properly converts lines to CR/LF. This bash problem
36498 # is reportedly fixed, but why not run on old versions too?
36499 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36500 || (rm -f "$cfgfile"; exit 1)
36504 cat << \_LT_EOF >> "$cfgfile"
36506 # func_dirname file append nondir_replacement
36507 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36508 # otherwise set result to NONDIR_REPLACEMENT.
36512 */*) func_dirname_result="${1%/*}${2}" ;;
36513 * ) func_dirname_result="${3}" ;;
36517 # func_basename file
36520 func_basename_result="${1##*/}"
36523 # func_dirname_and_basename file append nondir_replacement
36524 # perform func_basename and func_dirname in a single function
36526 # dirname: Compute the dirname of FILE. If nonempty,
36527 # add APPEND to the result, otherwise set result
36528 # to NONDIR_REPLACEMENT.
36529 # value returned in "$func_dirname_result"
36530 # basename: Compute filename of FILE.
36531 # value retuned in "$func_basename_result"
36532 # Implementation must be kept synchronized with func_dirname
36533 # and func_basename. For efficiency, we do not delegate to
36534 # those functions but instead duplicate the functionality here.
36535 func_dirname_and_basename ()
36538 */*) func_dirname_result="${1%/*}${2}" ;;
36539 * ) func_dirname_result="${3}" ;;
36541 func_basename_result="${1##*/}"
36544 # func_stripname prefix suffix name
36545 # strip PREFIX and SUFFIX off of NAME.
36546 # PREFIX and SUFFIX must not contain globbing or regex special
36547 # characters, hashes, percent signs, but SUFFIX may contain a leading
36548 # dot (in which case that matches only a dot).
36551 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36552 # positional parameters, so assign one to ordinary parameter first.
36553 func_stripname_result=${3}
36554 func_stripname_result=${func_stripname_result#"${1}"}
36555 func_stripname_result=${func_stripname_result%"${2}"}
36561 func_opt_split_opt=${1%%=*}
36562 func_opt_split_arg=${1#*=}
36569 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36570 *) func_lo2o_result=${1} ;;
36574 # func_xform libobj-or-source
36577 func_xform_result=${1%.*}.lo
36580 # func_arith arithmetic-term...
36583 func_arith_result=$(( $* ))
36587 # STRING may not start with a hyphen.
36590 func_len_result=${#1}
36595 *) # Bourne compatible functions.
36596 cat << \_LT_EOF >> "$cfgfile"
36598 # func_dirname file append nondir_replacement
36599 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36600 # otherwise set result to NONDIR_REPLACEMENT.
36603 # Extract subdirectory from the argument.
36604 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36605 if test "X$func_dirname_result" = "X${1}"; then
36606 func_dirname_result="${3}"
36608 func_dirname_result="$func_dirname_result${2}"
36612 # func_basename file
36615 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36619 # func_stripname prefix suffix name
36620 # strip PREFIX and SUFFIX off of NAME.
36621 # PREFIX and SUFFIX must not contain globbing or regex special
36622 # characters, hashes, percent signs, but SUFFIX may contain a leading
36623 # dot (in which case that matches only a dot).
36624 # func_strip_suffix prefix name
36628 .*) func_stripname_result=`$ECHO "X${3}" \
36629 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36630 *) func_stripname_result=`$ECHO "X${3}" \
36631 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36636 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36637 my_sed_long_arg='1s/^-[^=]*=//'
36642 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36643 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36649 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36652 # func_xform libobj-or-source
36655 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36658 # func_arith arithmetic-term...
36661 func_arith_result=`expr "$@"`
36665 # STRING may not start with a hyphen.
36668 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36674 case $lt_shell_append in
36676 cat << \_LT_EOF >> "$cfgfile"
36678 # func_append var value
36679 # Append VALUE to the end of shell variable VAR.
36687 cat << \_LT_EOF >> "$cfgfile"
36689 # func_append var value
36690 # Append VALUE to the end of shell variable VAR.
36701 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36702 || (rm -f "$cfgfile"; exit 1)
36704 mv -f "$cfgfile" "$ofile" ||
36705 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36709 cat <<_LT_EOF >> "$ofile"
36711 # ### BEGIN LIBTOOL TAG CONFIG: FC
36713 # The linker used to build libraries.
36716 # Commands used to build an old-style archive.
36717 old_archive_cmds=$lt_old_archive_cmds_FC
36719 # A language specific compiler.
36722 # Is the compiler the GNU compiler?
36725 # Compiler flag to turn off builtin functions.
36726 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36728 # How to pass a linker flag through the compiler.
36729 wl=$lt_lt_prog_compiler_wl_FC
36731 # Additional compiler flags for building library objects.
36732 pic_flag=$lt_lt_prog_compiler_pic_FC
36734 # Compiler flag to prevent dynamic linking.
36735 link_static_flag=$lt_lt_prog_compiler_static_FC
36737 # Does compiler simultaneously support -c and -o options?
36738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36740 # Whether or not to add -lc for building shared libraries.
36741 build_libtool_need_lc=$archive_cmds_need_lc_FC
36743 # Whether or not to disallow shared libs when runtime libs are static.
36744 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36746 # Compiler flag to allow reflexive dlopens.
36747 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36749 # Compiler flag to generate shared objects directly from archives.
36750 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36752 # Whether the compiler copes with passing no objects directly.
36753 compiler_needs_object=$lt_compiler_needs_object_FC
36755 # Create an old-style archive from a shared archive.
36756 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36758 # Create a temporary old-style archive to link instead of a shared archive.
36759 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36761 # Commands used to build a shared archive.
36762 archive_cmds=$lt_archive_cmds_FC
36763 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36765 # Commands used to build a loadable module if different from building
36766 # a shared archive.
36767 module_cmds=$lt_module_cmds_FC
36768 module_expsym_cmds=$lt_module_expsym_cmds_FC
36770 # Whether we are building with GNU ld or not.
36771 with_gnu_ld=$lt_with_gnu_ld_FC
36773 # Flag that allows shared libraries with undefined symbols to be built.
36774 allow_undefined_flag=$lt_allow_undefined_flag_FC
36776 # Flag that enforces no undefined symbols.
36777 no_undefined_flag=$lt_no_undefined_flag_FC
36779 # Flag to hardcode \$libdir into a binary during linking.
36780 # This must work even if \$libdir does not exist
36781 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36783 # If ld is used when linking, flag to hardcode \$libdir into a binary
36784 # during linking. This must work even if \$libdir does not exist.
36785 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36787 # Whether we need a single "-rpath" flag with a separated argument.
36788 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36790 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36791 # DIR into the resulting binary.
36792 hardcode_direct=$hardcode_direct_FC
36794 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36795 # DIR into the resulting binary and the resulting library dependency is
36796 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36797 # library is relocated.
36798 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36800 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36801 # into the resulting binary.
36802 hardcode_minus_L=$hardcode_minus_L_FC
36804 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36805 # into the resulting binary.
36806 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36808 # Set to "yes" if building a shared library automatically hardcodes DIR
36809 # into the library and all subsequent libraries and executables linked
36811 hardcode_automatic=$hardcode_automatic_FC
36813 # Set to yes if linker adds runtime paths of dependent libraries
36814 # to runtime path list.
36815 inherit_rpath=$inherit_rpath_FC
36817 # Whether libtool must link a program against all its dependency libraries.
36818 link_all_deplibs=$link_all_deplibs_FC
36820 # Fix the shell variable \$srcfile for the compiler.
36821 fix_srcfile_path=$lt_fix_srcfile_path_FC
36823 # Set to "yes" if exported symbols are required.
36824 always_export_symbols=$always_export_symbols_FC
36826 # The commands to list exported symbols.
36827 export_symbols_cmds=$lt_export_symbols_cmds_FC
36829 # Symbols that should not be listed in the preloaded symbols.
36830 exclude_expsyms=$lt_exclude_expsyms_FC
36832 # Symbols that must always be exported.
36833 include_expsyms=$lt_include_expsyms_FC
36835 # Commands necessary for linking programs (against libraries) with templates.
36836 prelink_cmds=$lt_prelink_cmds_FC
36838 # Specify filename containing input files.
36839 file_list_spec=$lt_file_list_spec_FC
36841 # How to hardcode a shared library path into an executable.
36842 hardcode_action=$hardcode_action_FC
36844 # The directories searched by this compiler when creating a shared library.
36845 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36847 # Dependencies to place before and after the objects being linked to
36848 # create a shared library.
36849 predep_objects=$lt_predep_objects_FC
36850 postdep_objects=$lt_postdep_objects_FC
36851 predeps=$lt_predeps_FC
36852 postdeps=$lt_postdeps_FC
36854 # The library search path used internally by the compiler when linking
36855 # a shared library.
36856 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36858 # ### END LIBTOOL TAG CONFIG: FC
36863 if test "$GCC" = yes; then
36864 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36866 echo "/* generated for $CC */" > tmp-stdint.h
36869 sed 's/^ *//' >> tmp-stdint.h <<EOF
36871 #ifndef GCC_GENERATED_STDINT_H
36872 #define GCC_GENERATED_STDINT_H 1
36874 #include <sys/types.h>
36877 if test "$acx_cv_header_stdint" != stdint.h; then
36878 echo "#include <stddef.h>" >> tmp-stdint.h
36880 if test "$acx_cv_header_stdint" != stddef.h; then
36881 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36884 sed 's/^ *//' >> tmp-stdint.h <<EOF
36885 /* glibc uses these symbols as guards to prevent redefinitions. */
36886 #ifdef __int8_t_defined
36891 #ifdef __uint32_t_defined
36897 # ----------------- done header, emit basic int types -------------
36898 if test "$acx_cv_header_stdint" = stddef.h; then
36899 sed 's/^ *//' >> tmp-stdint.h <<EOF
36903 #ifndef __uint8_t_defined
36904 #define __uint8_t_defined
36905 typedef unsigned $acx_cv_type_int8_t uint8_t;
36911 #ifndef __uint16_t_defined
36912 #define __uint16_t_defined
36913 typedef unsigned $acx_cv_type_int16_t uint16_t;
36919 #ifndef __uint32_t_defined
36920 #define __uint32_t_defined
36921 typedef unsigned $acx_cv_type_int32_t uint32_t;
36927 #ifndef __int8_t_defined
36928 #define __int8_t_defined
36929 typedef $acx_cv_type_int8_t int8_t;
36935 #ifndef __int16_t_defined
36936 #define __int16_t_defined
36937 typedef $acx_cv_type_int16_t int16_t;
36943 #ifndef __int32_t_defined
36944 #define __int32_t_defined
36945 typedef $acx_cv_type_int32_t int32_t;
36949 elif test "$ac_cv_type_u_int32_t" = yes; then
36950 sed 's/^ *//' >> tmp-stdint.h <<EOF
36952 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36965 #ifndef __uint8_t_defined
36966 #define __uint8_t_defined
36967 typedef u_int8_t uint8_t;
36973 #ifndef __uint16_t_defined
36974 #define __uint16_t_defined
36975 typedef u_int16_t uint16_t;
36981 #ifndef __uint32_t_defined
36982 #define __uint32_t_defined
36983 typedef u_int32_t uint32_t;
36988 sed 's/^ *//' >> tmp-stdint.h <<EOF
36990 /* Some systems have guard macros to prevent redefinitions, define them. */
37012 # ------------- done basic int types, emit int64_t types ------------
37013 if test "$ac_cv_type_uint64_t" = yes; then
37014 sed 's/^ *//' >> tmp-stdint.h <<EOF
37016 /* system headers have good uint64_t and int64_t */
37024 elif test "$ac_cv_type_u_int64_t" = yes; then
37025 sed 's/^ *//' >> tmp-stdint.h <<EOF
37027 /* system headers have an u_int64_t (and int64_t) */
37033 #ifndef __uint64_t_defined
37034 #define __uint64_t_defined
37035 typedef u_int64_t uint64_t;
37039 elif test -n "$acx_cv_type_int64_t"; then
37040 sed 's/^ *//' >> tmp-stdint.h <<EOF
37042 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37045 typedef $acx_cv_type_int64_t int64_t;
37049 #ifndef __uint64_t_defined
37050 #define __uint64_t_defined
37051 typedef unsigned $acx_cv_type_int64_t uint64_t;
37056 sed 's/^ *//' >> tmp-stdint.h <<EOF
37058 /* some common heuristics for int64_t, using compiler-specific tests */
37059 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37062 #ifndef __int64_t_defined
37063 typedef long long int64_t;
37068 typedef unsigned long long uint64_t;
37071 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37072 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37073 does not implement __extension__. But that compiler doesn't define
37075 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37076 # define __extension__
37081 __extension__ typedef long long int64_t;
37085 __extension__ typedef unsigned long long uint64_t;
37088 #elif !defined __STRICT_ANSI__
37089 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37093 typedef __int64 int64_t;
37097 typedef unsigned __int64 uint64_t;
37099 # endif /* compiler */
37101 #endif /* ANSI version */
37105 # ------------- done int64_t types, emit intptr types ------------
37106 if test "$ac_cv_type_uintptr_t" != yes; then
37107 sed 's/^ *//' >> tmp-stdint.h <<EOF
37109 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37110 #ifndef __uintptr_t_defined
37111 typedef u$acx_cv_type_intptr_t uintptr_t;
37113 #ifndef __intptr_t_defined
37114 typedef $acx_cv_type_intptr_t intptr_t;
37119 # ------------- done intptr types, emit int_least types ------------
37120 if test "$ac_cv_type_int_least32_t" != yes; then
37121 sed 's/^ *//' >> tmp-stdint.h <<EOF
37123 /* Define int_least types */
37124 typedef int8_t int_least8_t;
37125 typedef int16_t int_least16_t;
37126 typedef int32_t int_least32_t;
37128 typedef int64_t int_least64_t;
37131 typedef uint8_t uint_least8_t;
37132 typedef uint16_t uint_least16_t;
37133 typedef uint32_t uint_least32_t;
37135 typedef uint64_t uint_least64_t;
37140 # ------------- done intptr types, emit int_fast types ------------
37141 if test "$ac_cv_type_int_fast32_t" != yes; then
37142 sed 's/^ *//' >> tmp-stdint.h <<EOF
37144 /* Define int_fast types. short is often slow */
37145 typedef int8_t int_fast8_t;
37146 typedef int int_fast16_t;
37147 typedef int32_t int_fast32_t;
37149 typedef int64_t int_fast64_t;
37152 typedef uint8_t uint_fast8_t;
37153 typedef unsigned int uint_fast16_t;
37154 typedef uint32_t uint_fast32_t;
37156 typedef uint64_t uint_fast64_t;
37161 if test "$ac_cv_type_uintmax_t" != yes; then
37162 sed 's/^ *//' >> tmp-stdint.h <<EOF
37164 /* Define intmax based on what we found */
37166 typedef int64_t intmax_t;
37168 typedef long intmax_t;
37171 typedef uint64_t uintmax_t;
37173 typedef unsigned long uintmax_t;
37178 sed 's/^ *//' >> tmp-stdint.h <<EOF
37180 #endif /* GCC_GENERATED_STDINT_H */
37183 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37186 mv -f tmp-stdint.h gstdint.h
37194 cat >>$CONFIG_STATUS <<\_ACEOF
37196 { (exit 0); exit 0; }
37198 chmod +x $CONFIG_STATUS
37199 ac_clean_files=$ac_clean_files_save
37202 # configure is writing to config.log, and then calls config.status.
37203 # config.status does its own redirection, appending to config.log.
37204 # Unfortunately, on DOS this fails, as config.log is still kept open
37205 # by configure, so config.status won't be able to write to it; its
37206 # output is simply discarded. So we exec the FD to /dev/null,
37207 # effectively closing config.log, so it can be properly (re)opened and
37208 # appended to by config.status. When coming back to configure, we
37209 # need to make the FD available again.
37210 if test "$no_create" != yes; then
37212 ac_config_status_args=
37213 test "$silent" = yes &&
37214 ac_config_status_args="$ac_config_status_args --quiet"
37216 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37218 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37219 # would make configure fail if this is the last instruction.
37220 $ac_cs_success || { (exit 1); exit 1; }