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 SECTION_FLAGS 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 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
3504 # similarly to how libstdc++ does it
3505 ac_test_CFLAGS="${CFLAGS+set}"
3506 ac_save_CFLAGS="$CFLAGS"
3508 # Check for -ffunction-sections -fdata-sections
3509 echo "$as_me:$LINENO: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
3510 echo $ECHO_N "checking for gcc that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
3511 CFLAGS='-Werror -ffunction-sections -fdata-sections'
3512 cat >conftest.$ac_ext <<_ACEOF
3515 cat confdefs.h >>conftest.$ac_ext
3516 cat >>conftest.$ac_ext <<_ACEOF
3517 /* end confdefs.h. */
3527 rm -f conftest.$ac_objext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3529 (eval $ac_compile) 2>conftest.er1
3531 grep -v '^ *+' conftest.er1 >conftest.err
3533 cat conftest.err >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); } &&
3536 { ac_try='test -z "$ac_c_werror_flag"
3537 || test ! -s conftest.err'
3538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3542 (exit $ac_status); }; } &&
3543 { ac_try='test -s conftest.$ac_objext'
3544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3548 (exit $ac_status); }; }; then
3551 echo "$as_me: failed program was:" >&5
3552 sed 's/^/| /' conftest.$ac_ext >&5
3556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3557 if test "$ac_test_CFLAGS" = set; then
3558 CFLAGS="$ac_save_CFLAGS"
3560 # this is the suspicious part
3563 if test x"$ac_fdsections" = x"yes"; then
3564 SECTION_FLAGS='-ffunction-sections -fdata-sections'
3566 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
3567 echo "${ECHO_T}$ac_fdsections" >&6
3570 # Find other programs we need.
3571 if test -n "$ac_tool_prefix"; then
3572 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3573 set dummy ${ac_tool_prefix}as; ac_word=$2
3574 echo "$as_me:$LINENO: checking for $ac_word" >&5
3575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3576 if test "${ac_cv_prog_AS+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 if test -n "$AS"; then
3580 ac_cv_prog_AS="$AS" # Let the user override the test.
3582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 test -z "$as_dir" && as_dir=.
3587 for ac_exec_ext in '' $ac_executable_extensions; do
3588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3589 ac_cv_prog_AS="${ac_tool_prefix}as"
3590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3599 if test -n "$AS"; then
3600 echo "$as_me:$LINENO: result: $AS" >&5
3601 echo "${ECHO_T}$AS" >&6
3603 echo "$as_me:$LINENO: result: no" >&5
3604 echo "${ECHO_T}no" >&6
3608 if test -z "$ac_cv_prog_AS"; then
3610 # Extract the first word of "as", so it can be a program name with args.
3611 set dummy as; ac_word=$2
3612 echo "$as_me:$LINENO: checking for $ac_word" >&5
3613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3614 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 if test -n "$ac_ct_AS"; then
3618 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3624 test -z "$as_dir" && as_dir=.
3625 for ac_exec_ext in '' $ac_executable_extensions; do
3626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3627 ac_cv_prog_ac_ct_AS="as"
3628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3637 if test -n "$ac_ct_AS"; then
3638 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3639 echo "${ECHO_T}$ac_ct_AS" >&6
3641 echo "$as_me:$LINENO: result: no" >&5
3642 echo "${ECHO_T}no" >&6
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}ar; ac_word=$2
3653 echo "$as_me:$LINENO: checking for $ac_word" >&5
3654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3655 if test "${ac_cv_prog_AR+set}" = set; then
3656 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 if test -n "$AR"; then
3659 ac_cv_prog_AR="$AR" # Let the user override the test.
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3668 ac_cv_prog_AR="${ac_tool_prefix}ar"
3669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3678 if test -n "$AR"; then
3679 echo "$as_me:$LINENO: result: $AR" >&5
3680 echo "${ECHO_T}$AR" >&6
3682 echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6
3687 if test -z "$ac_cv_prog_AR"; then
3689 # Extract the first word of "ar", so it can be a program name with args.
3690 set dummy ar; ac_word=$2
3691 echo "$as_me:$LINENO: checking for $ac_word" >&5
3692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3693 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 if test -n "$ac_ct_AR"; then
3697 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3706 ac_cv_prog_ac_ct_AR="ar"
3707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3716 if test -n "$ac_ct_AR"; then
3717 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3718 echo "${ECHO_T}$ac_ct_AR" >&6
3720 echo "$as_me:$LINENO: result: no" >&5
3721 echo "${ECHO_T}no" >&6
3729 if test -n "$ac_tool_prefix"; then
3730 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3731 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3732 echo "$as_me:$LINENO: checking for $ac_word" >&5
3733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3734 if test "${ac_cv_prog_RANLIB+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 if test -n "$RANLIB"; then
3738 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 RANLIB=$ac_cv_prog_RANLIB
3757 if test -n "$RANLIB"; then
3758 echo "$as_me:$LINENO: result: $RANLIB" >&5
3759 echo "${ECHO_T}$RANLIB" >&6
3761 echo "$as_me:$LINENO: result: no" >&5
3762 echo "${ECHO_T}no" >&6
3766 if test -z "$ac_cv_prog_RANLIB"; then
3767 ac_ct_RANLIB=$RANLIB
3768 # Extract the first word of "ranlib", so it can be a program name with args.
3769 set dummy ranlib; ac_word=$2
3770 echo "$as_me:$LINENO: checking for $ac_word" >&5
3771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3772 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 if test -n "$ac_ct_RANLIB"; then
3776 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3785 ac_cv_prog_ac_ct_RANLIB="ranlib"
3786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3795 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3796 if test -n "$ac_ct_RANLIB"; then
3797 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3798 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3800 echo "$as_me:$LINENO: result: no" >&5
3801 echo "${ECHO_T}no" >&6
3804 RANLIB=$ac_ct_RANLIB
3806 RANLIB="$ac_cv_prog_RANLIB"
3809 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3810 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3811 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3812 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3813 echo $ECHO_N "(cached) $ECHO_C" >&6
3815 cat >conftest.make <<\_ACEOF
3817 @echo 'ac_maketemp="$(MAKE)"'
3819 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3820 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3821 if test -n "$ac_maketemp"; then
3822 eval ac_cv_prog_make_${ac_make}_set=yes
3824 eval ac_cv_prog_make_${ac_make}_set=no
3828 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3829 echo "$as_me:$LINENO: result: yes" >&5
3830 echo "${ECHO_T}yes" >&6
3833 echo "$as_me:$LINENO: result: no" >&5
3834 echo "${ECHO_T}no" >&6
3835 SET_MAKE="MAKE=${MAKE-make}"
3838 # Find a good install program. We prefer a C program (faster),
3839 # so one script is as good as another. But avoid the broken or
3840 # incompatible versions:
3841 # SysV /etc/install, /usr/sbin/install
3842 # SunOS /usr/etc/install
3843 # IRIX /sbin/install
3845 # AmigaOS /C/install, which installs bootblocks on floppy discs
3846 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3847 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3848 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3849 # OS/2's system install, which has a completely different semantic
3850 # ./install, which can be erroneously created by make from ./install.sh.
3851 # Reject install programs that cannot install multiple files.
3852 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3853 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3854 if test -z "$INSTALL"; then
3855 if test "${ac_cv_path_install+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3862 test -z "$as_dir" && as_dir=.
3863 # Account for people who put trailing slashes in PATH elements.
3865 ./ | .// | /cC/* | \
3866 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3867 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3870 # OSF1 and SCO ODT 3.0 have their own names for install.
3871 # Don't use installbsd from OSF since it installs stuff as root
3873 for ac_prog in ginstall scoinst install; do
3874 for ac_exec_ext in '' $ac_executable_extensions; do
3875 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3876 if test $ac_prog = install &&
3877 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3878 # AIX install. It has an incompatible calling convention.
3880 elif test $ac_prog = install &&
3881 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3882 # program-specific install script used by HP pwplus--don't use.
3885 rm -rf conftest.one conftest.two conftest.dir
3886 echo one > conftest.one
3887 echo two > conftest.two
3889 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3890 test -s conftest.one && test -s conftest.two &&
3891 test -s conftest.dir/conftest.one &&
3892 test -s conftest.dir/conftest.two
3894 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3905 rm -rf conftest.one conftest.two conftest.dir
3908 if test "${ac_cv_path_install+set}" = set; then
3909 INSTALL=$ac_cv_path_install
3911 # As a last resort, use the slow shell script. Don't cache a
3912 # value for INSTALL within a source directory, because that will
3913 # break other packages using the cache if that directory is
3914 # removed, or if the value is a relative name.
3915 INSTALL=$ac_install_sh
3918 echo "$as_me:$LINENO: result: $INSTALL" >&5
3919 echo "${ECHO_T}$INSTALL" >&6
3921 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3922 # It thinks the first close brace ends the variable substitution.
3923 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3925 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3927 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3931 #AC_MSG_NOTICE([====== Starting libtool configuration])
3938 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3939 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3944 macro_version='2.2.6'
3945 macro_revision='1.3012'
3959 ltmain="$ac_aux_dir/ltmain.sh"
3961 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3962 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3963 if test "${lt_cv_path_SED+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 # Loop through the user's path and test for sed and gsed.
3967 # Then use that list of sed's as ones to test for truncation.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for lt_ac_prog in sed gsed; do
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3976 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3984 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3985 # along with /bin/sed that truncates output.
3986 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3987 test ! -f $lt_ac_sed && continue
3988 cat /dev/null > conftest.in
3990 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3991 # Check for GNU sed and select it if it is found.
3992 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3993 lt_cv_path_SED=$lt_ac_sed
3997 cat conftest.in conftest.in >conftest.tmp
3998 mv conftest.tmp conftest.in
3999 cp conftest.in conftest.nl
4001 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4002 cmp -s conftest.out conftest.nl || break
4003 # 10000 chars as input seems more than enough
4004 test $lt_ac_count -gt 10 && break
4005 lt_ac_count=`expr $lt_ac_count + 1`
4006 if test $lt_ac_count -gt $lt_ac_max; then
4007 lt_ac_max=$lt_ac_count
4008 lt_cv_path_SED=$lt_ac_sed
4017 echo "$as_me:$LINENO: result: $SED" >&5
4018 echo "${ECHO_T}$SED" >&6
4020 test -z "$SED" && SED=sed
4021 Xsed="$SED -e 1s/^X//"
4033 echo "$as_me:$LINENO: checking for egrep" >&5
4034 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4035 if test "${ac_cv_prog_egrep+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4039 then ac_cv_prog_egrep='grep -E'
4040 else ac_cv_prog_egrep='egrep'
4043 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4044 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4045 EGREP=$ac_cv_prog_egrep
4048 echo "$as_me:$LINENO: checking for fgrep" >&5
4049 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4050 if test "${ac_cv_prog_fgrep+set}" = set; then
4051 echo $ECHO_N "(cached) $ECHO_C" >&6
4053 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4054 then ac_cv_prog_fgrep='grep -F'
4055 else ac_cv_prog_fgrep='fgrep'
4058 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4059 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4060 FGREP=$ac_cv_prog_fgrep
4063 test -z "$GREP" && GREP=grep
4083 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4084 if test "${with_gnu_ld+set}" = set; then
4085 withval="$with_gnu_ld"
4086 test "$withval" = no || with_gnu_ld=yes
4091 if test "$GCC" = yes; then
4092 # Check if gcc -print-prog-name=ld gives a path.
4093 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4094 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4097 # gcc leaves a trailing carriage return which upsets mingw
4098 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4100 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4103 # Accept absolute paths.
4105 re_direlt='/[^/][^/]*/\.\./'
4106 # Canonicalize the pathname of ld
4107 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4108 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4109 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4111 test -z "$LD" && LD="$ac_prog"
4114 # If it fails, then pretend we aren't using GCC.
4118 # If it is relative, then search for the first ld in PATH.
4122 elif test "$with_gnu_ld" = yes; then
4123 echo "$as_me:$LINENO: checking for GNU ld" >&5
4124 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4126 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4127 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4129 if test "${lt_cv_path_LD+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 if test -z "$LD"; then
4133 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4134 for ac_dir in $PATH; do
4136 test -z "$ac_dir" && ac_dir=.
4137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4138 lt_cv_path_LD="$ac_dir/$ac_prog"
4139 # Check to see if the program is GNU ld. I'd rather use --version,
4140 # but apparently some variants of GNU ld only accept -v.
4141 # Break only if it was the GNU/non-GNU ld that we prefer.
4142 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4143 *GNU* | *'with BFD'*)
4144 test "$with_gnu_ld" != no && break
4147 test "$with_gnu_ld" != yes && break
4154 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4159 if test -n "$LD"; then
4160 echo "$as_me:$LINENO: result: $LD" >&5
4161 echo "${ECHO_T}$LD" >&6
4163 echo "$as_me:$LINENO: result: no" >&5
4164 echo "${ECHO_T}no" >&6
4166 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4167 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4168 { (exit 1); exit 1; }; }
4169 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4170 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4171 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4175 case `$LD -v 2>&1 </dev/null` in
4176 *GNU* | *'with BFD'*)
4177 lt_cv_prog_gnu_ld=yes
4180 lt_cv_prog_gnu_ld=no
4184 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4185 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4186 with_gnu_ld=$lt_cv_prog_gnu_ld
4196 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4197 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4198 if test "${lt_cv_path_NM+set}" = set; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 if test -n "$NM"; then
4202 # Let the user override the test.
4205 lt_nm_to_check="${ac_tool_prefix}nm"
4206 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4207 lt_nm_to_check="$lt_nm_to_check nm"
4209 for lt_tmp_nm in $lt_nm_to_check; do
4210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4211 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4213 test -z "$ac_dir" && ac_dir=.
4214 tmp_nm="$ac_dir/$lt_tmp_nm"
4215 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4216 # Check to see if the nm accepts a BSD-compat flag.
4217 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4218 # nm: unknown option "B" ignored
4219 # Tru64's nm complains that /dev/null is an invalid object file
4220 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4221 */dev/null* | *'Invalid file or object type'*)
4222 lt_cv_path_NM="$tmp_nm -B"
4226 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4228 lt_cv_path_NM="$tmp_nm -p"
4232 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4233 continue # so that we can try to find one that supports BSD flags
4242 : ${lt_cv_path_NM=no}
4245 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4246 echo "${ECHO_T}$lt_cv_path_NM" >&6
4247 if test "$lt_cv_path_NM" != "no"; then
4250 # Didn't find any BSD compatible name lister, look for dumpbin.
4251 if test -n "$ac_tool_prefix"; then
4252 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4256 echo "$as_me:$LINENO: checking for $ac_word" >&5
4257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4258 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4259 echo $ECHO_N "(cached) $ECHO_C" >&6
4261 if test -n "$DUMPBIN"; then
4262 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4268 test -z "$as_dir" && as_dir=.
4269 for ac_exec_ext in '' $ac_executable_extensions; do
4270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4271 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 DUMPBIN=$ac_cv_prog_DUMPBIN
4281 if test -n "$DUMPBIN"; then
4282 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4283 echo "${ECHO_T}$DUMPBIN" >&6
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4289 test -n "$DUMPBIN" && break
4292 if test -z "$DUMPBIN"; then
4293 ac_ct_DUMPBIN=$DUMPBIN
4294 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4296 # Extract the first word of "$ac_prog", so it can be a program name with args.
4297 set dummy $ac_prog; ac_word=$2
4298 echo "$as_me:$LINENO: checking for $ac_word" >&5
4299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4300 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4301 echo $ECHO_N "(cached) $ECHO_C" >&6
4303 if test -n "$ac_ct_DUMPBIN"; then
4304 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4310 test -z "$as_dir" && as_dir=.
4311 for ac_exec_ext in '' $ac_executable_extensions; do
4312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4313 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4322 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4323 if test -n "$ac_ct_DUMPBIN"; then
4324 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4325 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4327 echo "$as_me:$LINENO: result: no" >&5
4328 echo "${ECHO_T}no" >&6
4331 test -n "$ac_ct_DUMPBIN" && break
4333 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4335 DUMPBIN=$ac_ct_DUMPBIN
4339 if test "$DUMPBIN" != ":"; then
4343 test -z "$NM" && NM=nm
4350 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4351 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4352 if test "${lt_cv_nm_interface+set}" = set; then
4353 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 lt_cv_nm_interface="BSD nm"
4356 echo "int some_variable = 0;" > conftest.$ac_ext
4357 (eval echo "\"\$as_me:4357: $ac_compile\"" >&5)
4358 (eval "$ac_compile" 2>conftest.err)
4359 cat conftest.err >&5
4360 (eval echo "\"\$as_me:4360: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4361 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4362 cat conftest.err >&5
4363 (eval echo "\"\$as_me:4363: output\"" >&5)
4364 cat conftest.out >&5
4365 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4366 lt_cv_nm_interface="MS dumpbin"
4370 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4371 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4373 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4376 if test "$LN_S" = "ln -s"; then
4377 echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6
4380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4381 echo "${ECHO_T}no, using $LN_S" >&6
4384 # find the maximum length of command line arguments
4385 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4386 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4387 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4388 echo $ECHO_N "(cached) $ECHO_C" >&6
4395 # On DJGPP, this test can blow up pretty badly due to problems in libc
4396 # (any single argument exceeding 2000 bytes causes a buffer overrun
4397 # during glob expansion). Even if it were fixed, the result of this
4398 # check would be larger than it should be.
4399 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4403 # Under GNU Hurd, this test is not required because there is
4404 # no limit to the length of command line arguments.
4405 # Libtool will interpret -1 as no limit whatsoever
4406 lt_cv_sys_max_cmd_len=-1;
4409 cygwin* | mingw* | cegcc*)
4410 # On Win9x/ME, this test blows up -- it succeeds, but takes
4411 # about 5 minutes as the teststring grows exponentially.
4412 # Worse, since 9x/ME are not pre-emptively multitasking,
4413 # you end up with a "frozen" computer, even though with patience
4414 # the test eventually succeeds (with a max line length of 256k).
4415 # Instead, let's just punt: use the minimum linelength reported by
4416 # all of the supported platforms: 8192 (on NT/2K/XP).
4417 lt_cv_sys_max_cmd_len=8192;
4421 # On AmigaOS with pdksh, this test takes hours, literally.
4422 # So we just punt and use a minimum line length of 8192.
4423 lt_cv_sys_max_cmd_len=8192;
4426 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4427 # This has been around since 386BSD, at least. Likely further.
4428 if test -x /sbin/sysctl; then
4429 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4430 elif test -x /usr/sbin/sysctl; then
4431 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4433 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4435 # And add a safety zone
4436 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4437 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4441 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4442 lt_cv_sys_max_cmd_len=196608
4446 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4447 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4448 # nice to cause kernel panics so lets avoid the loop below.
4449 # First set a reasonable default.
4450 lt_cv_sys_max_cmd_len=16384
4452 if test -x /sbin/sysconfig; then
4453 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4454 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4459 lt_cv_sys_max_cmd_len=102400
4461 sysv5* | sco5v6* | sysv4.2uw2*)
4462 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4463 if test -n "$kargmax"; then
4464 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4466 lt_cv_sys_max_cmd_len=32768
4470 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4471 if test -n "$lt_cv_sys_max_cmd_len"; then
4472 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4473 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4475 # Make teststring a little bigger before we do anything with it.
4476 # a 1K string should be a reasonable start.
4477 for i in 1 2 3 4 5 6 7 8 ; do
4478 teststring=$teststring$teststring
4480 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4481 # If test is not a shell built-in, we'll probably end up computing a
4482 # maximum length that is only half of the actual maximum length, but
4484 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4485 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4486 test $i != 17 # 1/2 MB should be enough
4489 teststring=$teststring$teststring
4491 # Only check the string length outside the loop.
4492 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4494 # Add a significant safety factor because C++ compilers can tack on
4495 # massive amounts of additional arguments before passing them to the
4496 # linker. It appears as though 1/2 is a usable value.
4497 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4504 if test -n $lt_cv_sys_max_cmd_len ; then
4505 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4506 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4508 echo "$as_me:$LINENO: result: none" >&5
4509 echo "${ECHO_T}none" >&6
4511 max_cmd_len=$lt_cv_sys_max_cmd_len
4522 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4523 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4524 # Try some XSI features
4527 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4529 && eval 'test $(( 1 + 1 )) -eq 2 \
4530 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4532 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4533 echo "${ECHO_T}$xsi_shell" >&6
4536 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4537 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4539 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4541 && lt_shell_append=yes
4542 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4543 echo "${ECHO_T}$lt_shell_append" >&6
4546 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4556 # test EBCDIC or ASCII
4557 case `echo X|tr X '\101'` in
4558 A) # ASCII based system
4559 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4560 lt_SP2NL='tr \040 \012'
4561 lt_NL2SP='tr \015\012 \040\040'
4563 *) # EBCDIC based system
4564 lt_SP2NL='tr \100 \n'
4565 lt_NL2SP='tr \r\n \100\100'
4577 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4578 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4579 if test "${lt_cv_ld_reload_flag+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 lt_cv_ld_reload_flag='-r'
4584 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4585 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4586 reload_flag=$lt_cv_ld_reload_flag
4587 case $reload_flag in
4589 *) reload_flag=" $reload_flag" ;;
4591 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4594 if test "$GCC" = yes; then
4595 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4597 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4610 if test -n "$ac_tool_prefix"; then
4611 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4612 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4613 echo "$as_me:$LINENO: checking for $ac_word" >&5
4614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4615 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4616 echo $ECHO_N "(cached) $ECHO_C" >&6
4618 if test -n "$OBJDUMP"; then
4619 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4625 test -z "$as_dir" && as_dir=.
4626 for ac_exec_ext in '' $ac_executable_extensions; do
4627 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4628 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4629 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 OBJDUMP=$ac_cv_prog_OBJDUMP
4638 if test -n "$OBJDUMP"; then
4639 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4640 echo "${ECHO_T}$OBJDUMP" >&6
4642 echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6
4647 if test -z "$ac_cv_prog_OBJDUMP"; then
4648 ac_ct_OBJDUMP=$OBJDUMP
4649 # Extract the first word of "objdump", so it can be a program name with args.
4650 set dummy objdump; ac_word=$2
4651 echo "$as_me:$LINENO: checking for $ac_word" >&5
4652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4653 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 if test -n "$ac_ct_OBJDUMP"; then
4657 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir=.
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4676 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4677 if test -n "$ac_ct_OBJDUMP"; then
4678 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4679 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4681 echo "$as_me:$LINENO: result: no" >&5
4682 echo "${ECHO_T}no" >&6
4685 OBJDUMP=$ac_ct_OBJDUMP
4687 OBJDUMP="$ac_cv_prog_OBJDUMP"
4690 test -z "$OBJDUMP" && OBJDUMP=objdump
4700 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4701 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4702 if test "${lt_cv_deplibs_check_method+set}" = set; then
4703 echo $ECHO_N "(cached) $ECHO_C" >&6
4705 lt_cv_file_magic_cmd='$MAGIC_CMD'
4706 lt_cv_file_magic_test_file=
4707 lt_cv_deplibs_check_method='unknown'
4708 # Need to set the preceding variable on all platforms that support
4709 # interlibrary dependencies.
4710 # 'none' -- dependencies not supported.
4711 # `unknown' -- same as none, but documents that we really don't know.
4712 # 'pass_all' -- all dependencies passed with no checks.
4713 # 'test_compile' -- check by making test program.
4714 # 'file_magic [[regex]]' -- check by looking for files in library path
4715 # which responds to the $file_magic_cmd with a given extended regex.
4716 # If you have `file' or equivalent on your system and you're not sure
4717 # whether `pass_all' will *always* work, you probably want this one.
4721 lt_cv_deplibs_check_method=pass_all
4725 lt_cv_deplibs_check_method=pass_all
4729 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4730 lt_cv_file_magic_cmd='/usr/bin/file -L'
4731 lt_cv_file_magic_test_file=/shlib/libc.so
4735 # func_win32_libid is a shell function defined in ltmain.sh
4736 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4737 lt_cv_file_magic_cmd='func_win32_libid'
4741 # Base MSYS/MinGW do not provide the 'file' command needed by
4742 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4743 # unless we find 'file', for example because we are cross-compiling.
4744 if ( file / ) >/dev/null 2>&1; then
4745 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4746 lt_cv_file_magic_cmd='func_win32_libid'
4748 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4749 lt_cv_file_magic_cmd='$OBJDUMP -f'
4754 # use the weaker test based on 'objdump'. See mingw*.
4755 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4756 lt_cv_file_magic_cmd='$OBJDUMP -f'
4759 darwin* | rhapsody*)
4760 lt_cv_deplibs_check_method=pass_all
4763 freebsd* | dragonfly*)
4764 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4767 # Not sure whether the presence of OpenBSD here was a mistake.
4768 # Let's accept both of them until this is cleared up.
4769 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4770 lt_cv_file_magic_cmd=/usr/bin/file
4771 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4775 lt_cv_deplibs_check_method=pass_all
4780 lt_cv_deplibs_check_method=pass_all
4783 hpux10.20* | hpux11*)
4784 lt_cv_file_magic_cmd=/usr/bin/file
4787 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4788 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4791 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]'
4792 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4795 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4796 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4802 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4803 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4806 irix5* | irix6* | nonstopux*)
4808 *-32|*"-32 ") libmagic=32-bit;;
4809 *-n32|*"-n32 ") libmagic=N32;;
4810 *-64|*"-64 ") libmagic=64-bit;;
4811 *) libmagic=never-match;;
4813 lt_cv_deplibs_check_method=pass_all
4816 # This must be Linux ELF.
4817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
4818 lt_cv_deplibs_check_method=pass_all
4822 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4823 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4825 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4830 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4831 lt_cv_file_magic_cmd=/usr/bin/file
4832 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4836 lt_cv_deplibs_check_method=pass_all
4840 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4841 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4843 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4847 osf3* | osf4* | osf5*)
4848 lt_cv_deplibs_check_method=pass_all
4852 lt_cv_deplibs_check_method=pass_all
4856 lt_cv_deplibs_check_method=pass_all
4859 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4860 lt_cv_deplibs_check_method=pass_all
4864 case $host_vendor in
4866 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]'
4867 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4870 lt_cv_deplibs_check_method=pass_all
4873 lt_cv_file_magic_cmd='/bin/file'
4874 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4877 lt_cv_file_magic_cmd='/bin/file'
4878 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4879 lt_cv_file_magic_test_file=/lib/libc.so
4882 lt_cv_deplibs_check_method=pass_all
4885 lt_cv_deplibs_check_method=pass_all
4891 lt_cv_deplibs_check_method=pass_all
4896 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4897 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4898 file_magic_cmd=$lt_cv_file_magic_cmd
4899 deplibs_check_method=$lt_cv_deplibs_check_method
4900 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4913 if test -n "$ac_tool_prefix"; then
4914 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4915 set dummy ${ac_tool_prefix}ar; ac_word=$2
4916 echo "$as_me:$LINENO: checking for $ac_word" >&5
4917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4918 if test "${ac_cv_prog_AR+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4921 if test -n "$AR"; then
4922 ac_cv_prog_AR="$AR" # Let the user override the test.
4924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir=.
4929 for ac_exec_ext in '' $ac_executable_extensions; do
4930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_AR="${ac_tool_prefix}ar"
4932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 if test -n "$AR"; then
4942 echo "$as_me:$LINENO: result: $AR" >&5
4943 echo "${ECHO_T}$AR" >&6
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6
4950 if test -z "$ac_cv_prog_AR"; then
4952 # Extract the first word of "ar", so it can be a program name with args.
4953 set dummy ar; ac_word=$2
4954 echo "$as_me:$LINENO: checking for $ac_word" >&5
4955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4956 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 if test -n "$ac_ct_AR"; then
4960 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4966 test -z "$as_dir" && as_dir=.
4967 for ac_exec_ext in '' $ac_executable_extensions; do
4968 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4969 ac_cv_prog_ac_ct_AR="ar"
4970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4976 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
4979 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4980 if test -n "$ac_ct_AR"; then
4981 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4982 echo "${ECHO_T}$ac_ct_AR" >&6
4984 echo "$as_me:$LINENO: result: no" >&5
4985 echo "${ECHO_T}no" >&6
4993 test -z "$AR" && AR=ar
4994 test -z "$AR_FLAGS" && AR_FLAGS=cru
5006 if test -n "$ac_tool_prefix"; then
5007 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5008 set dummy ${ac_tool_prefix}strip; ac_word=$2
5009 echo "$as_me:$LINENO: checking for $ac_word" >&5
5010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5011 if test "${ac_cv_prog_STRIP+set}" = set; then
5012 echo $ECHO_N "(cached) $ECHO_C" >&6
5014 if test -n "$STRIP"; then
5015 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5021 test -z "$as_dir" && as_dir=.
5022 for ac_exec_ext in '' $ac_executable_extensions; do
5023 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5024 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5025 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 STRIP=$ac_cv_prog_STRIP
5034 if test -n "$STRIP"; then
5035 echo "$as_me:$LINENO: result: $STRIP" >&5
5036 echo "${ECHO_T}$STRIP" >&6
5038 echo "$as_me:$LINENO: result: no" >&5
5039 echo "${ECHO_T}no" >&6
5043 if test -z "$ac_cv_prog_STRIP"; then
5045 # Extract the first word of "strip", so it can be a program name with args.
5046 set dummy strip; ac_word=$2
5047 echo "$as_me:$LINENO: checking for $ac_word" >&5
5048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5052 if test -n "$ac_ct_STRIP"; then
5053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir=.
5060 for ac_exec_ext in '' $ac_executable_extensions; do
5061 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5062 ac_cv_prog_ac_ct_STRIP="strip"
5063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5073 if test -n "$ac_ct_STRIP"; then
5074 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5075 echo "${ECHO_T}$ac_ct_STRIP" >&6
5077 echo "$as_me:$LINENO: result: no" >&5
5078 echo "${ECHO_T}no" >&6
5083 STRIP="$ac_cv_prog_STRIP"
5086 test -z "$STRIP" && STRIP=:
5093 if test -n "$ac_tool_prefix"; then
5094 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5095 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5096 echo "$as_me:$LINENO: checking for $ac_word" >&5
5097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5098 if test "${ac_cv_prog_RANLIB+set}" = set; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 if test -n "$RANLIB"; then
5102 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5108 test -z "$as_dir" && as_dir=.
5109 for ac_exec_ext in '' $ac_executable_extensions; do
5110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5111 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 RANLIB=$ac_cv_prog_RANLIB
5121 if test -n "$RANLIB"; then
5122 echo "$as_me:$LINENO: result: $RANLIB" >&5
5123 echo "${ECHO_T}$RANLIB" >&6
5125 echo "$as_me:$LINENO: result: no" >&5
5126 echo "${ECHO_T}no" >&6
5130 if test -z "$ac_cv_prog_RANLIB"; then
5131 ac_ct_RANLIB=$RANLIB
5132 # Extract the first word of "ranlib", so it can be a program name with args.
5133 set dummy ranlib; ac_word=$2
5134 echo "$as_me:$LINENO: checking for $ac_word" >&5
5135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5136 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5137 echo $ECHO_N "(cached) $ECHO_C" >&6
5139 if test -n "$ac_ct_RANLIB"; then
5140 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5149 ac_cv_prog_ac_ct_RANLIB="ranlib"
5150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5159 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5160 if test -n "$ac_ct_RANLIB"; then
5161 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5162 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5168 RANLIB=$ac_ct_RANLIB
5170 RANLIB="$ac_cv_prog_RANLIB"
5173 test -z "$RANLIB" && RANLIB=:
5180 # Determine commands to create old-style static archives.
5181 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5182 old_postinstall_cmds='chmod 644 $oldlib'
5183 old_postuninstall_cmds=
5185 if test -n "$RANLIB"; then
5188 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5191 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5194 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5230 # If no C compiler was specified, use CC.
5233 # If no C compiler flags were specified, use CFLAGS.
5234 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5236 # Allow CC to be a program name with arguments.
5240 # Check for command to grab the raw symbol name followed by C symbol from nm.
5241 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5242 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5243 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5247 # These are sane defaults that work on at least a few old systems.
5248 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5250 # Character class describing NM global symbol codes.
5251 symcode='[BCDEGRST]'
5253 # Regexp to match symbols that can be accessed directly from C.
5254 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5256 # Define system-specific variables.
5261 cygwin* | mingw* | pw32* | cegcc*)
5262 symcode='[ABCDGISTW]'
5265 if test "$host_cpu" = ia64; then
5266 symcode='[ABCDEGRST]'
5270 symcode='[BCDEGRST]'
5273 symcode='[BCDEGQRST]'
5284 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5292 # If we're using GNU nm, then use its standard symbol codes.
5293 case `$NM -V 2>&1` in
5294 *GNU* | *'with BFD'*)
5295 symcode='[ABCDGIRSTW]' ;;
5298 # Transform an extracted symbol line into a proper C declaration.
5299 # Some systems (esp. on ia64) link data and code symbols differently,
5300 # so use this general approach.
5301 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5303 # Transform an extracted symbol line into symbol name and symbol address
5304 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5305 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'"
5307 # Handle CRLF in mingw tool chain
5311 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5315 # Try without a prefix underscore, then with it.
5316 for ac_symprfx in "" "_"; do
5318 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5319 symxfrm="\\1 $ac_symprfx\\2 \\2"
5321 # Write the raw and C identifiers.
5322 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5323 # Fake it for dumpbin and say T for any non-static function
5324 # and D for any global variable.
5325 # Also find C++ and __fastcall symbols from MSVC++,
5326 # which start with @ or ?.
5327 lt_cv_sys_global_symbol_pipe="$AWK '"\
5328 " {last_section=section; section=\$ 3};"\
5329 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5330 " \$ 0!~/External *\|/{next};"\
5331 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5332 " {if(hide[section]) next};"\
5333 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5334 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5335 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5336 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5337 " ' prfx=^$ac_symprfx"
5339 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5342 # Check to see that the pipe works correctly.
5346 cat > conftest.$ac_ext <<_LT_EOF
5351 void nm_test_func(void);
5352 void nm_test_func(void){}
5356 int main(){nm_test_var='a';nm_test_func();return(0);}
5359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5360 (eval $ac_compile) 2>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); }; then
5364 # Now try to grab the symbols.
5366 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5367 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); } && test -s "$nlist"; then
5371 # Try sorting and uniquifying the output.
5372 if sort "$nlist" | uniq > "$nlist"T; then
5373 mv -f "$nlist"T "$nlist"
5378 # Make sure that we snagged all the symbols we need.
5379 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5380 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5381 cat <<_LT_EOF > conftest.$ac_ext
5387 # Now generate the symbol file.
5388 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5390 cat <<_LT_EOF >> conftest.$ac_ext
5392 /* The mapping between symbol names and symbols. */
5397 lt__PROGRAM__LTX_preloaded_symbols[] =
5399 { "@PROGRAM@", (void *) 0 },
5401 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5402 cat <<\_LT_EOF >> conftest.$ac_ext
5406 /* This works around a problem in FreeBSD linker */
5407 #ifdef FREEBSD_WORKAROUND
5408 static const void *lt_preloaded_setup() {
5409 return lt__PROGRAM__LTX_preloaded_symbols;
5417 # Now try linking the two files.
5418 mv conftest.$ac_objext conftstm.$ac_objext
5419 lt_save_LIBS="$LIBS"
5420 lt_save_CFLAGS="$CFLAGS"
5421 LIBS="conftstm.$ac_objext"
5422 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5424 (eval $ac_link) 2>&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5430 LIBS="$lt_save_LIBS"
5431 CFLAGS="$lt_save_CFLAGS"
5433 echo "cannot find nm_test_func in $nlist" >&5
5436 echo "cannot find nm_test_var in $nlist" >&5
5439 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5442 echo "$progname: failed program was:" >&5
5443 cat conftest.$ac_ext >&5
5445 rm -rf conftest* conftst*
5447 # Do not use the global_symbol_pipe unless it works.
5448 if test "$pipe_works" = yes; then
5451 lt_cv_sys_global_symbol_pipe=
5457 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5458 lt_cv_sys_global_symbol_to_cdecl=
5460 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5461 echo "$as_me:$LINENO: result: failed" >&5
5462 echo "${ECHO_T}failed" >&6
5464 echo "$as_me:$LINENO: result: ok" >&5
5465 echo "${ECHO_T}ok" >&6
5489 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5490 if test "${enable_libtool_lock+set}" = set; then
5491 enableval="$enable_libtool_lock"
5494 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5496 # Some flags need to be propagated to the compiler or linker for good
5500 # Find out which ABI we are using.
5501 echo 'int i;' > conftest.$ac_ext
5502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5503 (eval $ac_compile) 2>&5
5505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5506 (exit $ac_status); }; then
5507 case `/usr/bin/file conftest.$ac_objext` in
5519 # Find out which ABI we are using.
5520 echo '#line 5520 "configure"' > conftest.$ac_ext
5521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5522 (eval $ac_compile) 2>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; then
5526 if test "$lt_cv_prog_gnu_ld" = yes; then
5527 case `/usr/bin/file conftest.$ac_objext` in
5529 LD="${LD-ld} -melf32bsmip"
5532 LD="${LD-ld} -melf32bmipn32"
5535 LD="${LD-ld} -melf64bmip"
5539 case `/usr/bin/file conftest.$ac_objext` in
5555 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5556 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5557 # Find out which ABI we are using.
5558 echo 'int i;' > conftest.$ac_ext
5559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5560 (eval $ac_compile) 2>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; then
5564 case `/usr/bin/file conftest.o` in
5567 x86_64-*kfreebsd*-gnu)
5568 LD="${LD-ld} -m elf_i386_fbsd"
5571 LD="${LD-ld} -m elf_i386"
5573 ppc64-*linux*|powerpc64-*linux*)
5574 LD="${LD-ld} -m elf32ppclinux"
5577 LD="${LD-ld} -m elf_s390"
5580 LD="${LD-ld} -m elf32_sparc"
5586 x86_64-*kfreebsd*-gnu)
5587 LD="${LD-ld} -m elf_x86_64_fbsd"
5590 LD="${LD-ld} -m elf_x86_64"
5592 ppc*-*linux*|powerpc*-*linux*)
5593 LD="${LD-ld} -m elf64ppc"
5595 s390*-*linux*|s390*-*tpf*)
5596 LD="${LD-ld} -m elf64_s390"
5599 LD="${LD-ld} -m elf64_sparc"
5609 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5610 SAVE_CFLAGS="$CFLAGS"
5611 CFLAGS="$CFLAGS -belf"
5612 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5613 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5614 if test "${lt_cv_cc_needs_belf+set}" = set; then
5615 echo $ECHO_N "(cached) $ECHO_C" >&6
5618 ac_cpp='$CPP $CPPFLAGS'
5619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5623 if test x$gcc_no_link = xyes; then
5624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5626 { (exit 1); exit 1; }; }
5628 cat >conftest.$ac_ext <<_ACEOF
5631 cat confdefs.h >>conftest.$ac_ext
5632 cat >>conftest.$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5643 rm -f conftest.$ac_objext conftest$ac_exeext
5644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5645 (eval $ac_link) 2>conftest.er1
5647 grep -v '^ *+' conftest.er1 >conftest.err
5649 cat conftest.err >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } &&
5652 { ac_try='test -z "$ac_c_werror_flag"
5653 || test ! -s conftest.err'
5654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try='test -s conftest$ac_exeext'
5660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5664 (exit $ac_status); }; }; then
5665 lt_cv_cc_needs_belf=yes
5667 echo "$as_me: failed program was:" >&5
5668 sed 's/^/| /' conftest.$ac_ext >&5
5670 lt_cv_cc_needs_belf=no
5672 rm -f conftest.err conftest.$ac_objext \
5673 conftest$ac_exeext conftest.$ac_ext
5675 ac_cpp='$CPP $CPPFLAGS'
5676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5681 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5682 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5683 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5684 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5685 CFLAGS="$SAVE_CFLAGS"
5689 # Find out which ABI we are using.
5690 echo 'int i;' > conftest.$ac_ext
5691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5692 (eval $ac_compile) 2>&5
5694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5695 (exit $ac_status); }; then
5696 case `/usr/bin/file conftest.o` in
5698 case $lt_cv_prog_gnu_ld in
5699 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5701 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5713 need_locks="$enable_libtool_lock"
5717 rhapsody* | darwin*)
5718 if test -n "$ac_tool_prefix"; then
5719 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5720 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5721 echo "$as_me:$LINENO: checking for $ac_word" >&5
5722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5723 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5724 echo $ECHO_N "(cached) $ECHO_C" >&6
5726 if test -n "$DSYMUTIL"; then
5727 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 test -z "$as_dir" && as_dir=.
5734 for ac_exec_ext in '' $ac_executable_extensions; do
5735 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5736 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5745 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5746 if test -n "$DSYMUTIL"; then
5747 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5748 echo "${ECHO_T}$DSYMUTIL" >&6
5750 echo "$as_me:$LINENO: result: no" >&5
5751 echo "${ECHO_T}no" >&6
5755 if test -z "$ac_cv_prog_DSYMUTIL"; then
5756 ac_ct_DSYMUTIL=$DSYMUTIL
5757 # Extract the first word of "dsymutil", so it can be a program name with args.
5758 set dummy dsymutil; ac_word=$2
5759 echo "$as_me:$LINENO: checking for $ac_word" >&5
5760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5761 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5762 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 if test -n "$ac_ct_DSYMUTIL"; then
5765 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 test -z "$as_dir" && as_dir=.
5772 for ac_exec_ext in '' $ac_executable_extensions; do
5773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5774 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5781 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5784 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5785 if test -n "$ac_ct_DSYMUTIL"; then
5786 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
5787 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5789 echo "$as_me:$LINENO: result: no" >&5
5790 echo "${ECHO_T}no" >&6
5793 DSYMUTIL=$ac_ct_DSYMUTIL
5795 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5798 if test -n "$ac_tool_prefix"; then
5799 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
5800 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5801 echo "$as_me:$LINENO: checking for $ac_word" >&5
5802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5803 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5804 echo $ECHO_N "(cached) $ECHO_C" >&6
5806 if test -n "$NMEDIT"; then
5807 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5813 test -z "$as_dir" && as_dir=.
5814 for ac_exec_ext in '' $ac_executable_extensions; do
5815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5816 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
5817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 NMEDIT=$ac_cv_prog_NMEDIT
5826 if test -n "$NMEDIT"; then
5827 echo "$as_me:$LINENO: result: $NMEDIT" >&5
5828 echo "${ECHO_T}$NMEDIT" >&6
5830 echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6
5835 if test -z "$ac_cv_prog_NMEDIT"; then
5836 ac_ct_NMEDIT=$NMEDIT
5837 # Extract the first word of "nmedit", so it can be a program name with args.
5838 set dummy nmedit; ac_word=$2
5839 echo "$as_me:$LINENO: checking for $ac_word" >&5
5840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5841 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5842 echo $ECHO_N "(cached) $ECHO_C" >&6
5844 if test -n "$ac_ct_NMEDIT"; then
5845 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 test -z "$as_dir" && as_dir=.
5852 for ac_exec_ext in '' $ac_executable_extensions; do
5853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5854 ac_cv_prog_ac_ct_NMEDIT="nmedit"
5855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5861 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5864 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5865 if test -n "$ac_ct_NMEDIT"; then
5866 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
5867 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5869 echo "$as_me:$LINENO: result: no" >&5
5870 echo "${ECHO_T}no" >&6
5873 NMEDIT=$ac_ct_NMEDIT
5875 NMEDIT="$ac_cv_prog_NMEDIT"
5878 if test -n "$ac_tool_prefix"; then
5879 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
5880 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5881 echo "$as_me:$LINENO: checking for $ac_word" >&5
5882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5883 if test "${ac_cv_prog_LIPO+set}" = set; then
5884 echo $ECHO_N "(cached) $ECHO_C" >&6
5886 if test -n "$LIPO"; then
5887 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 test -z "$as_dir" && as_dir=.
5894 for ac_exec_ext in '' $ac_executable_extensions; do
5895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5896 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
5897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5905 LIPO=$ac_cv_prog_LIPO
5906 if test -n "$LIPO"; then
5907 echo "$as_me:$LINENO: result: $LIPO" >&5
5908 echo "${ECHO_T}$LIPO" >&6
5910 echo "$as_me:$LINENO: result: no" >&5
5911 echo "${ECHO_T}no" >&6
5915 if test -z "$ac_cv_prog_LIPO"; then
5917 # Extract the first word of "lipo", so it can be a program name with args.
5918 set dummy lipo; ac_word=$2
5919 echo "$as_me:$LINENO: checking for $ac_word" >&5
5920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5921 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 if test -n "$ac_ct_LIPO"; then
5925 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931 test -z "$as_dir" && as_dir=.
5932 for ac_exec_ext in '' $ac_executable_extensions; do
5933 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934 ac_cv_prog_ac_ct_LIPO="lipo"
5935 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5941 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5944 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5945 if test -n "$ac_ct_LIPO"; then
5946 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
5947 echo "${ECHO_T}$ac_ct_LIPO" >&6
5949 echo "$as_me:$LINENO: result: no" >&5
5950 echo "${ECHO_T}no" >&6
5955 LIPO="$ac_cv_prog_LIPO"
5958 if test -n "$ac_tool_prefix"; then
5959 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
5960 set dummy ${ac_tool_prefix}otool; ac_word=$2
5961 echo "$as_me:$LINENO: checking for $ac_word" >&5
5962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5963 if test "${ac_cv_prog_OTOOL+set}" = set; then
5964 echo $ECHO_N "(cached) $ECHO_C" >&6
5966 if test -n "$OTOOL"; then
5967 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
5977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5985 OTOOL=$ac_cv_prog_OTOOL
5986 if test -n "$OTOOL"; then
5987 echo "$as_me:$LINENO: result: $OTOOL" >&5
5988 echo "${ECHO_T}$OTOOL" >&6
5990 echo "$as_me:$LINENO: result: no" >&5
5991 echo "${ECHO_T}no" >&6
5995 if test -z "$ac_cv_prog_OTOOL"; then
5997 # Extract the first word of "otool", so it can be a program name with args.
5998 set dummy otool; ac_word=$2
5999 echo "$as_me:$LINENO: checking for $ac_word" >&5
6000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6001 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6002 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 if test -n "$ac_ct_OTOOL"; then
6005 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 test -z "$as_dir" && as_dir=.
6012 for ac_exec_ext in '' $ac_executable_extensions; do
6013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6014 ac_cv_prog_ac_ct_OTOOL="otool"
6015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6021 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6024 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6025 if test -n "$ac_ct_OTOOL"; then
6026 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6027 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6035 OTOOL="$ac_cv_prog_OTOOL"
6038 if test -n "$ac_tool_prefix"; then
6039 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6040 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6041 echo "$as_me:$LINENO: checking for $ac_word" >&5
6042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6043 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 if test -n "$OTOOL64"; then
6047 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6053 test -z "$as_dir" && as_dir=.
6054 for ac_exec_ext in '' $ac_executable_extensions; do
6055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6056 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 OTOOL64=$ac_cv_prog_OTOOL64
6066 if test -n "$OTOOL64"; then
6067 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6068 echo "${ECHO_T}$OTOOL64" >&6
6070 echo "$as_me:$LINENO: result: no" >&5
6071 echo "${ECHO_T}no" >&6
6075 if test -z "$ac_cv_prog_OTOOL64"; then
6076 ac_ct_OTOOL64=$OTOOL64
6077 # Extract the first word of "otool64", so it can be a program name with args.
6078 set dummy otool64; ac_word=$2
6079 echo "$as_me:$LINENO: checking for $ac_word" >&5
6080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6081 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6082 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 if test -n "$ac_ct_OTOOL64"; then
6085 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6091 test -z "$as_dir" && as_dir=.
6092 for ac_exec_ext in '' $ac_executable_extensions; do
6093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6094 ac_cv_prog_ac_ct_OTOOL64="otool64"
6095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6101 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6104 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6105 if test -n "$ac_ct_OTOOL64"; then
6106 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6107 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6109 echo "$as_me:$LINENO: result: no" >&5
6110 echo "${ECHO_T}no" >&6
6113 OTOOL64=$ac_ct_OTOOL64
6115 OTOOL64="$ac_cv_prog_OTOOL64"
6144 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6145 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6146 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6147 echo $ECHO_N "(cached) $ECHO_C" >&6
6149 lt_cv_apple_cc_single_mod=no
6150 if test -z "${LT_MULTI_MODULE}"; then
6151 # By default we will add the -single_module flag. You can override
6152 # by either setting the environment variable LT_MULTI_MODULE
6153 # non-empty at configure time, or by adding -multi_module to the
6155 rm -rf libconftest.dylib*
6156 echo "int foo(void){return 1;}" > conftest.c
6157 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6158 -dynamiclib -Wl,-single_module conftest.c" >&5
6159 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6160 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6162 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6163 lt_cv_apple_cc_single_mod=yes
6165 cat conftest.err >&5
6167 rm -rf libconftest.dylib*
6171 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6172 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6173 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6174 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6175 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6176 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 lt_cv_ld_exported_symbols_list=no
6179 save_LDFLAGS=$LDFLAGS
6180 echo "_main" > conftest.sym
6181 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6182 if test x$gcc_no_link = xyes; then
6183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6185 { (exit 1); exit 1; }; }
6187 cat >conftest.$ac_ext <<_ACEOF
6190 cat confdefs.h >>conftest.$ac_ext
6191 cat >>conftest.$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6202 rm -f conftest.$ac_objext conftest$ac_exeext
6203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6204 (eval $ac_link) 2>conftest.er1
6206 grep -v '^ *+' conftest.er1 >conftest.err
6208 cat conftest.err >&5
6209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6210 (exit $ac_status); } &&
6211 { ac_try='test -z "$ac_c_werror_flag"
6212 || test ! -s conftest.err'
6213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6217 (exit $ac_status); }; } &&
6218 { ac_try='test -s conftest$ac_exeext'
6219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6223 (exit $ac_status); }; }; then
6224 lt_cv_ld_exported_symbols_list=yes
6226 echo "$as_me: failed program was:" >&5
6227 sed 's/^/| /' conftest.$ac_ext >&5
6229 lt_cv_ld_exported_symbols_list=no
6231 rm -f conftest.err conftest.$ac_objext \
6232 conftest$ac_exeext conftest.$ac_ext
6233 LDFLAGS="$save_LDFLAGS"
6236 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6237 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6239 rhapsody* | darwin1.[012])
6240 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6242 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6243 darwin*) # darwin 5.x on
6244 # if running on 10.5 or later, the deployment target defaults
6245 # to the OS version, if on x86, and 10.4, the deployment
6246 # target defaults to 10.4. Don't you love it?
6247 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6248 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6249 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6251 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6253 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6257 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6258 _lt_dar_single_mod='$single_module'
6260 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6261 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6263 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6265 if test "$DSYMUTIL" != ":"; then
6266 _lt_dsymutil='~$DSYMUTIL $lib || :'
6274 ac_cpp='$CPP $CPPFLAGS'
6275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6278 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
6279 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
6280 # On Suns, sometimes $CPP names a directory.
6281 if test -n "$CPP" && test -d "$CPP"; then
6284 if test -z "$CPP"; then
6285 if test "${ac_cv_prog_CPP+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6288 # Double quotes because CPP needs to be expanded
6289 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6292 for ac_c_preproc_warn_flag in '' yes
6294 # Use a header file that comes with gcc, so configuring glibc
6295 # with a fresh cross-compiler works.
6296 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6297 # <limits.h> exists even on freestanding compilers.
6298 # On the NeXT, cc -E runs the code through the compiler's parser,
6299 # not just through cpp. "Syntax error" is here to catch this case.
6300 cat >conftest.$ac_ext <<_ACEOF
6303 cat confdefs.h >>conftest.$ac_ext
6304 cat >>conftest.$ac_ext <<_ACEOF
6305 /* end confdefs.h. */
6307 # include <limits.h>
6309 # include <assert.h>
6313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6316 grep -v '^ *+' conftest.er1 >conftest.err
6318 cat conftest.err >&5
6319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6320 (exit $ac_status); } >/dev/null; then
6321 if test -s conftest.err; then
6322 ac_cpp_err=$ac_c_preproc_warn_flag
6323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6330 if test -z "$ac_cpp_err"; then
6333 echo "$as_me: failed program was:" >&5
6334 sed 's/^/| /' conftest.$ac_ext >&5
6336 # Broken: fails on valid input.
6339 rm -f conftest.err conftest.$ac_ext
6341 # OK, works on sane cases. Now check whether non-existent headers
6342 # can be detected and how.
6343 cat >conftest.$ac_ext <<_ACEOF
6346 cat confdefs.h >>conftest.$ac_ext
6347 cat >>conftest.$ac_ext <<_ACEOF
6348 /* end confdefs.h. */
6349 #include <ac_nonexistent.h>
6351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6354 grep -v '^ *+' conftest.er1 >conftest.err
6356 cat conftest.err >&5
6357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6358 (exit $ac_status); } >/dev/null; then
6359 if test -s conftest.err; then
6360 ac_cpp_err=$ac_c_preproc_warn_flag
6361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6368 if test -z "$ac_cpp_err"; then
6369 # Broken: success on invalid input.
6372 echo "$as_me: failed program was:" >&5
6373 sed 's/^/| /' conftest.$ac_ext >&5
6375 # Passes both tests.
6379 rm -f conftest.err conftest.$ac_ext
6382 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6383 rm -f conftest.err conftest.$ac_ext
6384 if $ac_preproc_ok; then
6396 echo "$as_me:$LINENO: result: $CPP" >&5
6397 echo "${ECHO_T}$CPP" >&6
6399 for ac_c_preproc_warn_flag in '' yes
6401 # Use a header file that comes with gcc, so configuring glibc
6402 # with a fresh cross-compiler works.
6403 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6404 # <limits.h> exists even on freestanding compilers.
6405 # On the NeXT, cc -E runs the code through the compiler's parser,
6406 # not just through cpp. "Syntax error" is here to catch this case.
6407 cat >conftest.$ac_ext <<_ACEOF
6410 cat confdefs.h >>conftest.$ac_ext
6411 cat >>conftest.$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6414 # include <limits.h>
6416 # include <assert.h>
6420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6421 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6423 grep -v '^ *+' conftest.er1 >conftest.err
6425 cat conftest.err >&5
6426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6427 (exit $ac_status); } >/dev/null; then
6428 if test -s conftest.err; then
6429 ac_cpp_err=$ac_c_preproc_warn_flag
6430 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6437 if test -z "$ac_cpp_err"; then
6440 echo "$as_me: failed program was:" >&5
6441 sed 's/^/| /' conftest.$ac_ext >&5
6443 # Broken: fails on valid input.
6446 rm -f conftest.err conftest.$ac_ext
6448 # OK, works on sane cases. Now check whether non-existent headers
6449 # can be detected and how.
6450 cat >conftest.$ac_ext <<_ACEOF
6453 cat confdefs.h >>conftest.$ac_ext
6454 cat >>conftest.$ac_ext <<_ACEOF
6455 /* end confdefs.h. */
6456 #include <ac_nonexistent.h>
6458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6461 grep -v '^ *+' conftest.er1 >conftest.err
6463 cat conftest.err >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); } >/dev/null; then
6466 if test -s conftest.err; then
6467 ac_cpp_err=$ac_c_preproc_warn_flag
6468 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6475 if test -z "$ac_cpp_err"; then
6476 # Broken: success on invalid input.
6479 echo "$as_me: failed program was:" >&5
6480 sed 's/^/| /' conftest.$ac_ext >&5
6482 # Passes both tests.
6486 rm -f conftest.err conftest.$ac_ext
6489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6490 rm -f conftest.err conftest.$ac_ext
6491 if $ac_preproc_ok; then
6494 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6495 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6496 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6497 See \`config.log' for more details." >&5
6498 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
6499 See \`config.log' for more details." >&2;}
6500 { (exit 1); exit 1; }; }; }
6504 ac_cpp='$CPP $CPPFLAGS'
6505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6510 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6511 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6512 if test "${ac_cv_header_stdc+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 cat >conftest.$ac_ext <<_ACEOF
6518 cat confdefs.h >>conftest.$ac_ext
6519 cat >>conftest.$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6534 rm -f conftest.$ac_objext
6535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6536 (eval $ac_compile) 2>conftest.er1
6538 grep -v '^ *+' conftest.er1 >conftest.err
6540 cat conftest.err >&5
6541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6542 (exit $ac_status); } &&
6543 { ac_try='test -z "$ac_c_werror_flag"
6544 || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try='test -s conftest.$ac_objext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6556 ac_cv_header_stdc=yes
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.$ac_ext >&5
6561 ac_cv_header_stdc=no
6563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6565 if test $ac_cv_header_stdc = yes; then
6566 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6567 cat >conftest.$ac_ext <<_ACEOF
6570 cat confdefs.h >>conftest.$ac_ext
6571 cat >>conftest.$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6577 $EGREP "memchr" >/dev/null 2>&1; then
6580 ac_cv_header_stdc=no
6586 if test $ac_cv_header_stdc = yes; then
6587 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6588 cat >conftest.$ac_ext <<_ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6598 $EGREP "free" >/dev/null 2>&1; then
6601 ac_cv_header_stdc=no
6607 if test $ac_cv_header_stdc = yes; then
6608 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6609 if test "$cross_compiling" = yes; then
6612 cat >conftest.$ac_ext <<_ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6619 #if ((' ' & 0x0FF) == 0x020)
6620 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6621 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6623 # define ISLOWER(c) \
6624 (('a' <= (c) && (c) <= 'i') \
6625 || ('j' <= (c) && (c) <= 'r') \
6626 || ('s' <= (c) && (c) <= 'z'))
6627 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6630 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6635 for (i = 0; i < 256; i++)
6636 if (XOR (islower (i), ISLOWER (i))
6637 || toupper (i) != TOUPPER (i))
6642 rm -f conftest$ac_exeext
6643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6644 (eval $ac_link) 2>&5
6646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6647 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6652 (exit $ac_status); }; }; then
6655 echo "$as_me: program exited with status $ac_status" >&5
6656 echo "$as_me: failed program was:" >&5
6657 sed 's/^/| /' conftest.$ac_ext >&5
6660 ac_cv_header_stdc=no
6662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6666 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6667 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6668 if test $ac_cv_header_stdc = yes; then
6670 cat >>confdefs.h <<\_ACEOF
6671 #define STDC_HEADERS 1
6676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6687 inttypes.h stdint.h unistd.h
6689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6690 echo "$as_me:$LINENO: checking for $ac_header" >&5
6691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6693 echo $ECHO_N "(cached) $ECHO_C" >&6
6695 cat >conftest.$ac_ext <<_ACEOF
6698 cat confdefs.h >>conftest.$ac_ext
6699 cat >>conftest.$ac_ext <<_ACEOF
6700 /* end confdefs.h. */
6701 $ac_includes_default
6703 #include <$ac_header>
6705 rm -f conftest.$ac_objext
6706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6707 (eval $ac_compile) 2>conftest.er1
6709 grep -v '^ *+' conftest.er1 >conftest.err
6711 cat conftest.err >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); } &&
6714 { ac_try='test -z "$ac_c_werror_flag"
6715 || test ! -s conftest.err'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6727 eval "$as_ac_Header=yes"
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.$ac_ext >&5
6732 eval "$as_ac_Header=no"
6734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6737 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6739 cat >>confdefs.h <<_ACEOF
6740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6749 for ac_header in dlfcn.h
6751 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6752 echo "$as_me:$LINENO: checking for $ac_header" >&5
6753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6755 echo $ECHO_N "(cached) $ECHO_C" >&6
6757 cat >conftest.$ac_ext <<_ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 $ac_includes_default
6765 #include <$ac_header>
6767 rm -f conftest.$ac_objext
6768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6769 (eval $ac_compile) 2>conftest.er1
6771 grep -v '^ *+' conftest.er1 >conftest.err
6773 cat conftest.err >&5
6774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6775 (exit $ac_status); } &&
6776 { ac_try='test -z "$ac_c_werror_flag"
6777 || test ! -s conftest.err'
6778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6782 (exit $ac_status); }; } &&
6783 { ac_try='test -s conftest.$ac_objext'
6784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6788 (exit $ac_status); }; }; then
6789 eval "$as_ac_Header=yes"
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 eval "$as_ac_Header=no"
6796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6801 cat >>confdefs.h <<_ACEOF
6802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6819 # Check whether --enable-shared or --disable-shared was given.
6820 if test "${enable_shared+set}" = set; then
6821 enableval="$enable_shared"
6822 p=${PACKAGE-default}
6824 yes) enable_shared=yes ;;
6825 no) enable_shared=no ;;
6828 # Look at the argument we got. We use all the common list separators.
6829 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6830 for pkg in $enableval; do
6832 if test "X$pkg" = "X$p"; then
6850 # Check whether --enable-static or --disable-static was given.
6851 if test "${enable_static+set}" = set; then
6852 enableval="$enable_static"
6853 p=${PACKAGE-default}
6855 yes) enable_static=yes ;;
6856 no) enable_static=no ;;
6859 # Look at the argument we got. We use all the common list separators.
6860 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6861 for pkg in $enableval; do
6863 if test "X$pkg" = "X$p"; then
6882 # Check whether --with-pic or --without-pic was given.
6883 if test "${with_pic+set}" = set; then
6890 test -z "$pic_mode" && pic_mode=default
6898 # Check whether --enable-fast-install or --disable-fast-install was given.
6899 if test "${enable_fast_install+set}" = set; then
6900 enableval="$enable_fast_install"
6901 p=${PACKAGE-default}
6903 yes) enable_fast_install=yes ;;
6904 no) enable_fast_install=no ;;
6906 enable_fast_install=no
6907 # Look at the argument we got. We use all the common list separators.
6908 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6909 for pkg in $enableval; do
6911 if test "X$pkg" = "X$p"; then
6912 enable_fast_install=yes
6919 enable_fast_install=yes
6931 # This can be used to rebuild libtool when needed
6932 LIBTOOL_DEPS="$ltmain"
6934 # Always use our own libtool.
6935 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6961 test -z "$LN_S" && LN_S="ln -s"
6976 if test -n "${ZSH_VERSION+set}" ; then
6977 setopt NO_GLOB_SUBST
6980 echo "$as_me:$LINENO: checking for objdir" >&5
6981 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6982 if test "${lt_cv_objdir+set}" = set; then
6983 echo $ECHO_N "(cached) $ECHO_C" >&6
6985 rm -f .libs 2>/dev/null
6986 mkdir .libs 2>/dev/null
6987 if test -d .libs; then
6990 # MS-DOS does not allow filenames that begin with a dot.
6993 rmdir .libs 2>/dev/null
6995 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6996 echo "${ECHO_T}$lt_cv_objdir" >&6
6997 objdir=$lt_cv_objdir
7003 cat >>confdefs.h <<_ACEOF
7004 #define LT_OBJDIR "$lt_cv_objdir/"
7025 # AIX sometimes has problems with the GCC collect2 program. For some
7026 # reason, if we set the COLLECT_NAMES environment variable, the problems
7027 # vanish in a puff of smoke.
7028 if test "X${COLLECT_NAMES+set}" != Xset; then
7030 export COLLECT_NAMES
7035 # Sed substitution that helps us do robust quoting. It backslashifies
7036 # metacharacters that are still active within double-quoted strings.
7037 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7039 # Same as above, but do not quote variable references.
7040 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7042 # Sed substitution to delay expansion of an escaped shell variable in a
7043 # double_quote_subst'ed string.
7044 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7046 # Sed substitution to delay expansion of an escaped single quote.
7047 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7049 # Sed substitution to avoid accidental globbing in evaled expressions
7050 no_glob_subst='s/\*/\\\*/g'
7054 can_build_shared=yes
7056 # All known linkers require a `.a' archive for static linking (except MSVC,
7057 # which needs '.lib').
7060 with_gnu_ld="$lt_cv_prog_gnu_ld"
7063 old_CFLAGS="$CFLAGS"
7065 # Set sane defaults for various variables
7066 test -z "$CC" && CC=cc
7067 test -z "$LTCC" && LTCC=$CC
7068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7069 test -z "$LD" && LD=ld
7070 test -z "$ac_objext" && ac_objext=o
7072 for cc_temp in $compiler""; do
7074 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7075 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7080 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7083 # Only perform the check for file, if the check method requires it
7084 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7085 case $deplibs_check_method in
7087 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7088 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7089 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7090 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7091 echo $ECHO_N "(cached) $ECHO_C" >&6
7095 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7098 lt_save_MAGIC_CMD="$MAGIC_CMD"
7099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7100 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7101 for ac_dir in $ac_dummy; do
7103 test -z "$ac_dir" && ac_dir=.
7104 if test -f $ac_dir/${ac_tool_prefix}file; then
7105 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7106 if test -n "$file_magic_test_file"; then
7107 case $deplibs_check_method in
7109 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7111 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7112 $EGREP "$file_magic_regex" > /dev/null; then
7117 *** Warning: the command libtool uses to detect shared libraries,
7118 *** $file_magic_cmd, produces output that libtool cannot recognize.
7119 *** The result is that libtool may fail to recognize shared libraries
7120 *** as such. This will affect the creation of libtool libraries that
7121 *** depend on shared libraries, but programs linked with such libtool
7122 *** libraries will work regardless of this problem. Nevertheless, you
7123 *** may want to report the problem to your system manager and/or to
7124 *** bug-libtool@gnu.org
7134 MAGIC_CMD="$lt_save_MAGIC_CMD"
7139 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7140 if test -n "$MAGIC_CMD"; then
7141 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7142 echo "${ECHO_T}$MAGIC_CMD" >&6
7144 echo "$as_me:$LINENO: result: no" >&5
7145 echo "${ECHO_T}no" >&6
7152 if test -z "$lt_cv_path_MAGIC_CMD"; then
7153 if test -n "$ac_tool_prefix"; then
7154 echo "$as_me:$LINENO: checking for file" >&5
7155 echo $ECHO_N "checking for file... $ECHO_C" >&6
7156 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7161 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7164 lt_save_MAGIC_CMD="$MAGIC_CMD"
7165 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7166 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7167 for ac_dir in $ac_dummy; do
7169 test -z "$ac_dir" && ac_dir=.
7170 if test -f $ac_dir/file; then
7171 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7172 if test -n "$file_magic_test_file"; then
7173 case $deplibs_check_method in
7175 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7176 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7177 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7178 $EGREP "$file_magic_regex" > /dev/null; then
7183 *** Warning: the command libtool uses to detect shared libraries,
7184 *** $file_magic_cmd, produces output that libtool cannot recognize.
7185 *** The result is that libtool may fail to recognize shared libraries
7186 *** as such. This will affect the creation of libtool libraries that
7187 *** depend on shared libraries, but programs linked with such libtool
7188 *** libraries will work regardless of this problem. Nevertheless, you
7189 *** may want to report the problem to your system manager and/or to
7190 *** bug-libtool@gnu.org
7200 MAGIC_CMD="$lt_save_MAGIC_CMD"
7205 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7206 if test -n "$MAGIC_CMD"; then
7207 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7208 echo "${ECHO_T}$MAGIC_CMD" >&6
7210 echo "$as_me:$LINENO: result: no" >&5
7211 echo "${ECHO_T}no" >&6
7224 # Use C for the default configuration in the libtool script
7228 ac_cpp='$CPP $CPPFLAGS'
7229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7234 # Source file extension for C test sources.
7237 # Object file extension for compiled C test sources.
7241 # Code to be used in simple compile tests
7242 lt_simple_compile_test_code="int some_variable = 0;"
7244 # Code to be used in simple link tests
7245 lt_simple_link_test_code='int main(){return(0);}'
7253 # If no C compiler was specified, use CC.
7256 # If no C compiler flags were specified, use CFLAGS.
7257 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7259 # Allow CC to be a program name with arguments.
7262 # Save the default compiler, since it gets overwritten when the other
7263 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7264 compiler_DEFAULT=$CC
7266 # save warnings/boilerplate of simple test code
7267 ac_outfile=conftest.$ac_objext
7268 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7269 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7270 _lt_compiler_boilerplate=`cat conftest.err`
7273 ac_outfile=conftest.$ac_objext
7274 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7275 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7276 _lt_linker_boilerplate=`cat conftest.err`
7281 ## There is no encapsulation within the following macros, do not change
7282 ## the running order or otherwise move them around unless you know exactly
7283 ## what you are doing...
7284 if test -n "$compiler"; then
7286 lt_prog_compiler_no_builtin_flag=
7288 if test "$GCC" = yes; then
7289 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7291 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7292 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7293 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7294 echo $ECHO_N "(cached) $ECHO_C" >&6
7296 lt_cv_prog_compiler_rtti_exceptions=no
7297 ac_outfile=conftest.$ac_objext
7298 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7299 lt_compiler_flag="-fno-rtti -fno-exceptions"
7300 # Insert the option either (1) after the last *FLAGS variable, or
7301 # (2) before a word containing "conftest.", or (3) at the end.
7302 # Note that $ac_compile itself does not contain backslashes and begins
7303 # with a dollar sign (not a hyphen), so the echo should work correctly.
7304 # The option is referenced via a variable to avoid confusing sed.
7305 lt_compile=`echo "$ac_compile" | $SED \
7306 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7307 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7308 -e 's:$: $lt_compiler_flag:'`
7309 (eval echo "\"\$as_me:7309: $lt_compile\"" >&5)
7310 (eval "$lt_compile" 2>conftest.err)
7312 cat conftest.err >&5
7313 echo "$as_me:7313: \$? = $ac_status" >&5
7314 if (exit $ac_status) && test -s "$ac_outfile"; then
7315 # The compiler can only warn and ignore the option if not recognized
7316 # So say no if there are warnings other than the usual output.
7317 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7318 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7319 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7320 lt_cv_prog_compiler_rtti_exceptions=yes
7326 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7327 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7329 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7330 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7342 lt_prog_compiler_wl=
7343 lt_prog_compiler_pic=
7344 lt_prog_compiler_static=
7346 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7347 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7349 if test "$GCC" = yes; then
7350 lt_prog_compiler_wl='-Wl,'
7351 lt_prog_compiler_static='-static'
7355 # All AIX code is PIC.
7356 if test "$host_cpu" = ia64; then
7357 # AIX 5 now supports IA64 processor
7358 lt_prog_compiler_static='-Bstatic'
7365 # see comment about AmigaOS4 .so support
7366 lt_prog_compiler_pic='-fPIC'
7369 # FIXME: we need at least 68020 code to build shared libraries, but
7370 # adding the `-m68020' flag to GCC prevents building anything better,
7372 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7377 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7378 # PIC is the default for these OSes.
7381 mingw* | cygwin* | pw32* | os2* | cegcc*)
7382 # This hack is so that the source file can tell whether it is being
7383 # built for inclusion in a dll (and should export symbols for example).
7384 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7385 # (--disable-auto-import) libraries
7386 lt_prog_compiler_pic='-DDLL_EXPORT'
7389 darwin* | rhapsody*)
7390 # PIC is the default on this platform
7391 # Common symbols not allowed in MH_DYLIB files
7392 lt_prog_compiler_pic='-fno-common'
7396 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7397 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7398 # sets the default TLS model and affects inlining.
7404 lt_prog_compiler_pic='-fPIC'
7410 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7411 # Instead, we relocate shared libraries at runtime.
7415 # Just because we use GCC doesn't mean we suddenly get shared libraries
7416 # on systems that don't support them.
7417 lt_prog_compiler_can_build_shared=no
7422 # QNX uses GNU C++, but need to define -shared option too, otherwise
7424 lt_prog_compiler_pic='-fPIC -shared'
7428 if test -d /usr/nec; then
7429 lt_prog_compiler_pic=-Kconform_pic
7434 lt_prog_compiler_pic='-fPIC'
7438 # PORTME Check for flag to pass linker flags through the system compiler.
7441 lt_prog_compiler_wl='-Wl,'
7442 if test "$host_cpu" = ia64; then
7443 # AIX 5 now supports IA64 processor
7444 lt_prog_compiler_static='-Bstatic'
7446 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7450 mingw* | cygwin* | pw32* | os2* | cegcc*)
7451 # This hack is so that the source file can tell whether it is being
7452 # built for inclusion in a dll (and should export symbols for example).
7453 lt_prog_compiler_pic='-DDLL_EXPORT'
7456 hpux9* | hpux10* | hpux11*)
7457 lt_prog_compiler_wl='-Wl,'
7458 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7465 lt_prog_compiler_pic='+Z'
7468 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7469 lt_prog_compiler_static='${wl}-a ${wl}archive'
7472 irix5* | irix6* | nonstopux*)
7473 lt_prog_compiler_wl='-Wl,'
7474 # PIC (with -KPIC) is the default.
7475 lt_prog_compiler_static='-non_shared'
7478 linux* | k*bsd*-gnu | kopensolaris*-gnu)
7479 case $cc_basename in
7480 # old Intel for x86_64 which still supported -KPIC.
7482 lt_prog_compiler_wl='-Wl,'
7483 lt_prog_compiler_pic='-KPIC'
7484 lt_prog_compiler_static='-static'
7486 # icc used to be incompatible with GCC.
7487 # ICC 10 doesn't accept -KPIC any more.
7489 lt_prog_compiler_wl='-Wl,'
7490 lt_prog_compiler_pic='-fPIC'
7491 lt_prog_compiler_static='-static'
7493 # Lahey Fortran 8.1.
7495 lt_prog_compiler_wl='-Wl,'
7496 lt_prog_compiler_pic='--shared'
7497 lt_prog_compiler_static='--static'
7499 pgcc* | pgf77* | pgf90* | pgf95*)
7500 # Portland Group compilers (*not* the Pentium gcc compiler,
7501 # which looks to be a dead project)
7502 lt_prog_compiler_wl='-Wl,'
7503 lt_prog_compiler_pic='-fpic'
7504 lt_prog_compiler_static='-Bstatic'
7507 lt_prog_compiler_wl='-Wl,'
7508 # All Alpha code is PIC.
7509 lt_prog_compiler_static='-non_shared'
7512 # IBM XL C 8.0/Fortran 10.1 on PPC
7513 lt_prog_compiler_wl='-Wl,'
7514 lt_prog_compiler_pic='-qpic'
7515 lt_prog_compiler_static='-qstaticlink'
7518 case `$CC -V 2>&1 | sed 5q` in
7521 lt_prog_compiler_pic='-KPIC'
7522 lt_prog_compiler_static='-Bstatic'
7523 lt_prog_compiler_wl='-Wl,'
7526 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7527 lt_prog_compiler_pic='-KPIC'
7528 lt_prog_compiler_static='-Bstatic'
7529 lt_prog_compiler_wl=''
7537 lt_prog_compiler_pic='-KPIC'
7538 lt_prog_compiler_static='-Bstatic'
7542 # QNX uses GNU C++, but need to define -shared option too, otherwise
7544 lt_prog_compiler_pic='-fPIC -shared'
7547 osf3* | osf4* | osf5*)
7548 lt_prog_compiler_wl='-Wl,'
7549 # All OSF/1 code is PIC.
7550 lt_prog_compiler_static='-non_shared'
7554 lt_prog_compiler_static='-non_shared'
7558 lt_prog_compiler_pic='-KPIC'
7559 lt_prog_compiler_static='-Bstatic'
7560 case $cc_basename in
7562 lt_prog_compiler_wl='-Qoption ld ';;
7564 lt_prog_compiler_wl='-Wl,';;
7569 lt_prog_compiler_wl='-Qoption ld '
7570 lt_prog_compiler_pic='-PIC'
7571 lt_prog_compiler_static='-Bstatic'
7574 sysv4 | sysv4.2uw2* | sysv4.3*)
7575 lt_prog_compiler_wl='-Wl,'
7576 lt_prog_compiler_pic='-KPIC'
7577 lt_prog_compiler_static='-Bstatic'
7581 if test -d /usr/nec ;then
7582 lt_prog_compiler_pic='-Kconform_pic'
7583 lt_prog_compiler_static='-Bstatic'
7587 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7588 lt_prog_compiler_wl='-Wl,'
7589 lt_prog_compiler_pic='-KPIC'
7590 lt_prog_compiler_static='-Bstatic'
7594 lt_prog_compiler_wl='-Wl,'
7595 lt_prog_compiler_can_build_shared=no
7599 lt_prog_compiler_pic='-pic'
7600 lt_prog_compiler_static='-Bstatic'
7604 lt_prog_compiler_can_build_shared=no
7610 # For platforms which do not support PIC, -DPIC is meaningless:
7612 lt_prog_compiler_pic=
7615 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7618 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7619 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7627 # Check to make sure the PIC flag actually works.
7629 if test -n "$lt_prog_compiler_pic"; then
7630 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7631 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7632 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7633 echo $ECHO_N "(cached) $ECHO_C" >&6
7635 lt_cv_prog_compiler_pic_works=no
7636 ac_outfile=conftest.$ac_objext
7637 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7638 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7639 # Insert the option either (1) after the last *FLAGS variable, or
7640 # (2) before a word containing "conftest.", or (3) at the end.
7641 # Note that $ac_compile itself does not contain backslashes and begins
7642 # with a dollar sign (not a hyphen), so the echo should work correctly.
7643 # The option is referenced via a variable to avoid confusing sed.
7644 lt_compile=`echo "$ac_compile" | $SED \
7645 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7646 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7647 -e 's:$: $lt_compiler_flag:'`
7648 (eval echo "\"\$as_me:7648: $lt_compile\"" >&5)
7649 (eval "$lt_compile" 2>conftest.err)
7651 cat conftest.err >&5
7652 echo "$as_me:7652: \$? = $ac_status" >&5
7653 if (exit $ac_status) && test -s "$ac_outfile"; then
7654 # The compiler can only warn and ignore the option if not recognized
7655 # So say no if there are warnings other than the usual output.
7656 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7657 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7658 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7659 lt_cv_prog_compiler_pic_works=yes
7665 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
7666 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7668 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7669 case $lt_prog_compiler_pic in
7671 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7674 lt_prog_compiler_pic=
7675 lt_prog_compiler_can_build_shared=no
7686 # Check to make sure the static flag actually works.
7688 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7689 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7690 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7691 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7692 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 lt_cv_prog_compiler_static_works=no
7695 save_LDFLAGS="$LDFLAGS"
7696 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7697 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7698 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7699 # The linker can only warn and ignore the option if not recognized
7700 # So say no if there are warnings
7701 if test -s conftest.err; then
7702 # Append any errors to the config.log.
7703 cat conftest.err 1>&5
7704 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7705 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7706 if diff conftest.exp conftest.er2 >/dev/null; then
7707 lt_cv_prog_compiler_static_works=yes
7710 lt_cv_prog_compiler_static_works=yes
7714 LDFLAGS="$save_LDFLAGS"
7717 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
7718 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7720 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7723 lt_prog_compiler_static=
7732 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7733 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7734 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 lt_cv_prog_compiler_c_o=no
7738 $RM -r conftest 2>/dev/null
7742 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7744 lt_compiler_flag="-o out/conftest2.$ac_objext"
7745 # Insert the option either (1) after the last *FLAGS variable, or
7746 # (2) before a word containing "conftest.", or (3) at the end.
7747 # Note that $ac_compile itself does not contain backslashes and begins
7748 # with a dollar sign (not a hyphen), so the echo should work correctly.
7749 lt_compile=`echo "$ac_compile" | $SED \
7750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7752 -e 's:$: $lt_compiler_flag:'`
7753 (eval echo "\"\$as_me:7753: $lt_compile\"" >&5)
7754 (eval "$lt_compile" 2>out/conftest.err)
7756 cat out/conftest.err >&5
7757 echo "$as_me:7757: \$? = $ac_status" >&5
7758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7760 # The compiler can only warn and ignore the option if not recognized
7761 # So say no if there are warnings
7762 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7763 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7764 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7765 lt_cv_prog_compiler_c_o=yes
7770 # SGI C++ compiler will create directory out/ii_files/ for
7771 # template instantiation
7772 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7773 $RM out/* && rmdir out
7779 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7780 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7787 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7788 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7789 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 lt_cv_prog_compiler_c_o=no
7793 $RM -r conftest 2>/dev/null
7797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7799 lt_compiler_flag="-o out/conftest2.$ac_objext"
7800 # Insert the option either (1) after the last *FLAGS variable, or
7801 # (2) before a word containing "conftest.", or (3) at the end.
7802 # Note that $ac_compile itself does not contain backslashes and begins
7803 # with a dollar sign (not a hyphen), so the echo should work correctly.
7804 lt_compile=`echo "$ac_compile" | $SED \
7805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7807 -e 's:$: $lt_compiler_flag:'`
7808 (eval echo "\"\$as_me:7808: $lt_compile\"" >&5)
7809 (eval "$lt_compile" 2>out/conftest.err)
7811 cat out/conftest.err >&5
7812 echo "$as_me:7812: \$? = $ac_status" >&5
7813 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7815 # The compiler can only warn and ignore the option if not recognized
7816 # So say no if there are warnings
7817 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7818 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7819 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7820 lt_cv_prog_compiler_c_o=yes
7825 # SGI C++ compiler will create directory out/ii_files/ for
7826 # template instantiation
7827 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7828 $RM out/* && rmdir out
7834 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7835 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7840 hard_links="nottested"
7841 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7842 # do not overwrite the value of need_locks provided by the user
7843 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7844 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7849 ln conftest.a conftest.b 2>&5 || hard_links=no
7850 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7851 echo "$as_me:$LINENO: result: $hard_links" >&5
7852 echo "${ECHO_T}$hard_links" >&6
7853 if test "$hard_links" = no; then
7854 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7855 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7867 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7868 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7871 allow_undefined_flag=
7872 always_export_symbols=no
7874 archive_expsym_cmds=
7875 compiler_needs_object=no
7876 enable_shared_with_static_runtimes=no
7877 export_dynamic_flag_spec=
7878 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7879 hardcode_automatic=no
7881 hardcode_direct_absolute=no
7882 hardcode_libdir_flag_spec=
7883 hardcode_libdir_flag_spec_ld=
7884 hardcode_libdir_separator=
7886 hardcode_shlibpath_var=unsupported
7888 link_all_deplibs=unknown
7891 old_archive_from_new_cmds=
7892 old_archive_from_expsyms_cmds=
7893 thread_safe_flag_spec=
7894 whole_archive_flag_spec=
7895 # include_expsyms should be a list of space-separated symbols to be *always*
7896 # included in the symbol list
7898 # exclude_expsyms can be an extended regexp of symbols to exclude
7899 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7900 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7901 # as well as any symbol that contains `d'.
7902 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7903 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7904 # platforms (ab)use it in PIC code, but their linkers get confused if
7905 # the symbol is explicitly referenced. Since portable code cannot
7906 # rely on this symbol name, it's probably fine to never include it in
7907 # preloaded symbol tables.
7908 # Exclude shared library initialization/finalization symbols.
7909 extract_expsyms_cmds=
7912 cygwin* | mingw* | pw32* | cegcc*)
7913 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7914 # When not using gcc, we currently assume that we are using
7915 # Microsoft Visual C++.
7916 if test "$GCC" != yes; then
7921 # we just hope/assume this is gcc and not c89 (= MSVC++)
7930 if test "$with_gnu_ld" = yes; then
7931 # If archive_cmds runs LD, not CC, wlarc should be empty
7934 # Set some defaults for GNU ld with shared library support. These
7935 # are reset later if shared libraries are not supported. Putting them
7936 # here allows them to be overridden if necessary.
7937 runpath_var=LD_RUN_PATH
7938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7939 export_dynamic_flag_spec='${wl}--export-dynamic'
7940 # ancient GNU ld didn't support --whole-archive et. al.
7941 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7942 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7944 whole_archive_flag_spec=
7946 supports_anon_versioning=no
7947 case `$LD -v 2>&1` in
7948 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7949 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7950 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7951 *\ 2.11.*) ;; # other 2.11 versions
7952 *) supports_anon_versioning=yes ;;
7955 # See if GNU ld supports shared libraries.
7958 # On AIX/PPC, the GNU linker is very broken
7959 if test "$host_cpu" != ia64; then
7963 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7964 *** to be unable to reliably create shared libraries on AIX.
7965 *** Therefore, libtool is disabling shared libraries support. If you
7966 *** really care for shared libraries, you may want to modify your PATH
7967 *** so that a non-GNU linker is found, and then restart.
7976 # see comment about AmigaOS4 .so support
7977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7978 archive_expsym_cmds=''
7981 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)'
7982 hardcode_libdir_flag_spec='-L$libdir'
7983 hardcode_minus_L=yes
7989 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7990 allow_undefined_flag=unsupported
7991 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7992 # support --undefined. This deserves some investigation. FIXME
7993 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7999 cygwin* | mingw* | pw32* | cegcc*)
8000 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8001 # as there is no search path for DLLs.
8002 hardcode_libdir_flag_spec='-L$libdir'
8003 allow_undefined_flag=unsupported
8004 always_export_symbols=no
8005 enable_shared_with_static_runtimes=yes
8006 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8008 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8010 # If the export-symbols file already is a .def file (1st line
8011 # is EXPORTS), use it as is; otherwise, prepend...
8012 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8013 cp $export_symbols $output_objdir/$soname.def;
8015 echo EXPORTS > $output_objdir/$soname.def;
8016 cat $export_symbols >> $output_objdir/$soname.def;
8018 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8026 hardcode_shlibpath_var=no
8027 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8028 export_dynamic_flag_spec='${wl}-E'
8029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8030 # Instead, shared libraries are loaded at an image base (0x10000000 by
8031 # default) and relocated if they conflict, which is a slow very memory
8032 # consuming and fragmenting process. To avoid this, we pick a random,
8033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8035 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8036 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'
8039 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8041 if test "$host_os" = linux-dietlibc; then
8042 case $cc_basename in
8043 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8046 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8047 && test "$tmp_diet" = no
8050 tmp_sharedflag='-shared'
8051 case $cc_basename,$host_cpu in
8052 pgcc*) # Portland Group C compiler
8053 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'
8054 tmp_addflag=' $pic_flag'
8056 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8057 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'
8058 tmp_addflag=' $pic_flag -Mnomain' ;;
8059 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8060 tmp_addflag=' -i_dynamic' ;;
8061 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8062 tmp_addflag=' -i_dynamic -nofor_main' ;;
8063 ifc* | ifort*) # Intel Fortran compiler
8064 tmp_addflag=' -nofor_main' ;;
8065 lf95*) # Lahey Fortran 8.1
8066 whole_archive_flag_spec=
8067 tmp_sharedflag='--shared' ;;
8068 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8069 tmp_sharedflag='-qmkshrobj'
8072 case `$CC -V 2>&1 | sed 5q` in
8073 *Sun\ C*) # Sun C 5.9
8074 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'
8075 compiler_needs_object=yes
8076 tmp_sharedflag='-G' ;;
8077 *Sun\ F*) # Sun Fortran 8.3
8078 tmp_sharedflag='-G' ;;
8080 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8082 if test "x$supports_anon_versioning" = xyes; then
8083 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8084 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8085 echo "local: *; };" >> $output_objdir/$libname.ver~
8086 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8089 case $cc_basename in
8091 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8092 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8093 hardcode_libdir_flag_spec=
8094 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8095 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8096 if test "x$supports_anon_versioning" = xyes; then
8097 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8098 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8099 echo "local: *; };" >> $output_objdir/$libname.ver~
8100 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8110 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8111 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8114 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8115 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8120 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8124 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8125 *** create shared libraries on Solaris systems. Therefore, libtool
8126 *** is disabling shared libraries support. We urge you to upgrade GNU
8127 *** binutils to release 2.9.1 or newer. Another option is to modify
8128 *** your PATH or compiler configuration so that the native linker is
8129 *** used, and then restart.
8132 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8133 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8134 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8140 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8141 case `$LD -v 2>&1` in
8142 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8146 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8147 *** reliably create shared libraries on SCO systems. Therefore, libtool
8148 *** is disabling shared libraries support. We urge you to upgrade GNU
8149 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8150 *** your PATH or compiler configuration so that the native linker is
8151 *** used, and then restart.
8156 # For security reasons, it is highly recommended that you always
8157 # use absolute paths for naming shared libraries, and exclude the
8158 # DT_RUNPATH tag from executables and libraries. But doing so
8159 # requires that you compile everything twice, which is a pain.
8160 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8162 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8163 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8172 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8175 hardcode_shlibpath_var=no
8179 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8180 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8181 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8188 if test "$ld_shlibs" = no; then
8190 hardcode_libdir_flag_spec=
8191 export_dynamic_flag_spec=
8192 whole_archive_flag_spec=
8195 # PORTME fill in a description of your system's linker (not GNU ld)
8198 allow_undefined_flag=unsupported
8199 always_export_symbols=yes
8200 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'
8201 # Note: this linker hardcodes the directories in LIBPATH if there
8202 # are no directories specified by -L.
8203 hardcode_minus_L=yes
8204 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8205 # Neither direct hardcoding nor static linking is supported with a
8207 hardcode_direct=unsupported
8212 if test "$host_cpu" = ia64; then
8213 # On IA64, the linker does run time linking by default, so we don't
8214 # have to do anything special.
8215 aix_use_runtimelinking=no
8216 exp_sym_flag='-Bexport'
8219 # If we're using GNU nm, then we don't want the "-C" option.
8220 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8221 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8222 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'
8224 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'
8226 aix_use_runtimelinking=no
8228 # Test if we are trying to use run time linking or normal
8229 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8230 # need to do runtime linking.
8231 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8232 for ld_flag in $LDFLAGS; do
8233 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8234 aix_use_runtimelinking=yes
8241 exp_sym_flag='-bexport'
8242 no_entry_flag='-bnoentry'
8245 # When large executables or shared objects are built, AIX ld can
8246 # have problems creating the table of contents. If linking a library
8247 # or program results in "error TOC overflow" add -mminimal-toc to
8248 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8249 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8253 hardcode_direct_absolute=yes
8254 hardcode_libdir_separator=':'
8255 link_all_deplibs=yes
8256 file_list_spec='${wl}-f,'
8258 if test "$GCC" = yes; then
8259 case $host_os in aix4.[012]|aix4.[012].*)
8260 # We only want to do this on AIX 4.2 and lower, the check
8261 # below for broken collect2 doesn't work under 4.3+
8262 collect2name=`${CC} -print-prog-name=collect2`
8263 if test -f "$collect2name" &&
8264 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8266 # We have reworked collect2
8269 # We have old collect2
8270 hardcode_direct=unsupported
8271 # It fails to find uninstalled libraries when the uninstalled
8272 # path is not listed in the libpath. Setting hardcode_minus_L
8273 # to unsupported forces relinking
8274 hardcode_minus_L=yes
8275 hardcode_libdir_flag_spec='-L$libdir'
8276 hardcode_libdir_separator=
8280 shared_flag='-shared'
8281 if test "$aix_use_runtimelinking" = yes; then
8282 shared_flag="$shared_flag "'${wl}-G'
8286 if test "$host_cpu" = ia64; then
8287 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8288 # chokes on -Wl,-G. The following line is correct:
8291 if test "$aix_use_runtimelinking" = yes; then
8292 shared_flag='${wl}-G'
8294 shared_flag='${wl}-bM:SRE'
8299 export_dynamic_flag_spec='${wl}-bexpall'
8300 # It seems that -bexpall does not export symbols beginning with
8301 # underscore (_), so it is better to generate a list of symbols to export.
8302 always_export_symbols=yes
8303 if test "$aix_use_runtimelinking" = yes; then
8304 # Warning - without using the other runtime loading flags (-brtl),
8305 # -berok will link without error, but may produce a broken library.
8306 allow_undefined_flag='-berok'
8307 # Determine the default libpath from the value encoded in an
8309 if test x$gcc_no_link = xyes; then
8310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8312 { (exit 1); exit 1; }; }
8314 cat >conftest.$ac_ext <<_ACEOF
8317 cat confdefs.h >>conftest.$ac_ext
8318 cat >>conftest.$ac_ext <<_ACEOF
8319 /* end confdefs.h. */
8329 rm -f conftest.$ac_objext conftest$ac_exeext
8330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8331 (eval $ac_link) 2>conftest.er1
8333 grep -v '^ *+' conftest.er1 >conftest.err
8335 cat conftest.err >&5
8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8337 (exit $ac_status); } &&
8338 { ac_try='test -z "$ac_c_werror_flag"
8339 || test ! -s conftest.err'
8340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); }; } &&
8345 { ac_try='test -s conftest$ac_exeext'
8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; }; then
8352 lt_aix_libpath_sed='
8353 /Import File Strings/,/^$/ {
8359 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8360 # Check for a 64-bit object if we didn't find anything.
8361 if test -z "$aix_libpath"; then
8362 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8365 echo "$as_me: failed program was:" >&5
8366 sed 's/^/| /' conftest.$ac_ext >&5
8369 rm -f conftest.err conftest.$ac_objext \
8370 conftest$ac_exeext conftest.$ac_ext
8371 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8373 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8374 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"
8376 if test "$host_cpu" = ia64; then
8377 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8378 allow_undefined_flag="-z nodefs"
8379 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"
8381 # Determine the default libpath from the value encoded in an
8383 if test x$gcc_no_link = xyes; then
8384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8386 { (exit 1); exit 1; }; }
8388 cat >conftest.$ac_ext <<_ACEOF
8391 cat confdefs.h >>conftest.$ac_ext
8392 cat >>conftest.$ac_ext <<_ACEOF
8393 /* end confdefs.h. */
8403 rm -f conftest.$ac_objext conftest$ac_exeext
8404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8405 (eval $ac_link) 2>conftest.er1
8407 grep -v '^ *+' conftest.er1 >conftest.err
8409 cat conftest.err >&5
8410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8411 (exit $ac_status); } &&
8412 { ac_try='test -z "$ac_c_werror_flag"
8413 || test ! -s conftest.err'
8414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8418 (exit $ac_status); }; } &&
8419 { ac_try='test -s conftest$ac_exeext'
8420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); }; }; then
8426 lt_aix_libpath_sed='
8427 /Import File Strings/,/^$/ {
8433 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8434 # Check for a 64-bit object if we didn't find anything.
8435 if test -z "$aix_libpath"; then
8436 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8439 echo "$as_me: failed program was:" >&5
8440 sed 's/^/| /' conftest.$ac_ext >&5
8443 rm -f conftest.err conftest.$ac_objext \
8444 conftest$ac_exeext conftest.$ac_ext
8445 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8447 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8448 # Warning - without using the other run time loading flags,
8449 # -berok will link without error, but may produce a broken library.
8450 no_undefined_flag=' ${wl}-bernotok'
8451 allow_undefined_flag=' ${wl}-berok'
8452 # Exported symbols can be pulled into shared objects from archives
8453 whole_archive_flag_spec='$convenience'
8454 archive_cmds_need_lc=yes
8455 # This is similar to how AIX traditionally builds its shared libraries.
8456 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'
8464 # see comment about AmigaOS4 .so support
8465 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8466 archive_expsym_cmds=''
8469 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)'
8470 hardcode_libdir_flag_spec='-L$libdir'
8471 hardcode_minus_L=yes
8477 export_dynamic_flag_spec=-rdynamic
8480 cygwin* | mingw* | pw32* | cegcc*)
8481 # When not using gcc, we currently assume that we are using
8482 # Microsoft Visual C++.
8483 # hardcode_libdir_flag_spec is actually meaningless, as there is
8484 # no search path for DLLs.
8485 hardcode_libdir_flag_spec=' '
8486 allow_undefined_flag=unsupported
8487 # Tell ltmain to make .lib files, not .a files.
8489 # Tell ltmain to make .dll files, not .so files.
8491 # FIXME: Setting linknames here is a bad hack.
8492 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8493 # The linker will automatically build a .lib file if we build a DLL.
8494 old_archive_from_new_cmds='true'
8495 # FIXME: Should let the user specify the lib program.
8496 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8497 fix_srcfile_path='`cygpath -w "$srcfile"`'
8498 enable_shared_with_static_runtimes=yes
8501 darwin* | rhapsody*)
8504 archive_cmds_need_lc=no
8506 hardcode_automatic=yes
8507 hardcode_shlibpath_var=unsupported
8508 whole_archive_flag_spec=''
8509 link_all_deplibs=yes
8510 allow_undefined_flag="$_lt_dar_allow_undefined"
8511 case $cc_basename in
8512 ifort*) _lt_dar_can_shared=yes ;;
8513 *) _lt_dar_can_shared=$GCC ;;
8515 if test "$_lt_dar_can_shared" = "yes"; then
8516 output_verbose_link_cmd=echo
8517 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8518 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8519 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}"
8520 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}"
8529 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8530 hardcode_libdir_flag_spec='-L$libdir'
8531 hardcode_shlibpath_var=no
8538 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8539 # support. Future versions do this automatically, but an explicit c++rt0.o
8540 # does not break anything, and helps significantly (at the cost of a little
8543 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8544 hardcode_libdir_flag_spec='-R$libdir'
8546 hardcode_shlibpath_var=no
8549 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8551 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8553 hardcode_minus_L=yes
8554 hardcode_shlibpath_var=no
8557 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8558 freebsd* | dragonfly*)
8559 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8560 hardcode_libdir_flag_spec='-R$libdir'
8562 hardcode_shlibpath_var=no
8566 if test "$GCC" = yes; then
8567 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'
8569 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'
8571 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8572 hardcode_libdir_separator=:
8575 # hardcode_minus_L: Not really in the search PATH,
8576 # but as the default location of the library.
8577 hardcode_minus_L=yes
8578 export_dynamic_flag_spec='${wl}-E'
8582 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8583 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8585 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8587 if test "$with_gnu_ld" = no; then
8588 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8589 hardcode_libdir_flag_spec_ld='+b $libdir'
8590 hardcode_libdir_separator=:
8592 hardcode_direct_absolute=yes
8593 export_dynamic_flag_spec='${wl}-E'
8594 # hardcode_minus_L: Not really in the search PATH,
8595 # but as the default location of the library.
8596 hardcode_minus_L=yes
8601 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8604 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8607 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8610 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8616 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8619 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8622 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8626 if test "$with_gnu_ld" = no; then
8627 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8628 hardcode_libdir_separator=:
8633 hardcode_shlibpath_var=no
8637 hardcode_direct_absolute=yes
8638 export_dynamic_flag_spec='${wl}-E'
8640 # hardcode_minus_L: Not really in the search PATH,
8641 # but as the default location of the library.
8642 hardcode_minus_L=yes
8648 irix5* | irix6* | nonstopux*)
8649 if test "$GCC" = yes; then
8650 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'
8651 # Try to use the -exported_symbol ld option, if it does not
8652 # work, assume that -exports_file does not work either and
8653 # implicitly export all symbols.
8654 save_LDFLAGS="$LDFLAGS"
8655 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8656 if test x$gcc_no_link = xyes; then
8657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8659 { (exit 1); exit 1; }; }
8661 cat >conftest.$ac_ext <<_ACEOF
8664 rm -f conftest.$ac_objext conftest$ac_exeext
8665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8666 (eval $ac_link) 2>conftest.er1
8668 grep -v '^ *+' conftest.er1 >conftest.err
8670 cat conftest.err >&5
8671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8672 (exit $ac_status); } &&
8673 { ac_try='test -z "$ac_c_werror_flag"
8674 || test ! -s conftest.err'
8675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8679 (exit $ac_status); }; } &&
8680 { ac_try='test -s conftest$ac_exeext'
8681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8685 (exit $ac_status); }; }; then
8686 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'
8689 echo "$as_me: failed program was:" >&5
8690 sed 's/^/| /' conftest.$ac_ext >&5
8693 rm -f conftest.err conftest.$ac_objext \
8694 conftest$ac_exeext conftest.$ac_ext
8695 LDFLAGS="$save_LDFLAGS"
8697 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'
8698 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'
8700 archive_cmds_need_lc='no'
8701 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8702 hardcode_libdir_separator=:
8704 link_all_deplibs=yes
8708 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8709 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8711 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8713 hardcode_libdir_flag_spec='-R$libdir'
8715 hardcode_shlibpath_var=no
8719 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8721 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8722 hardcode_libdir_separator=:
8723 hardcode_shlibpath_var=no
8730 if test -f /usr/libexec/ld.so; then
8732 hardcode_shlibpath_var=no
8733 hardcode_direct_absolute=yes
8734 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8735 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8736 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8737 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8738 export_dynamic_flag_spec='${wl}-E'
8741 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8742 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 hardcode_libdir_flag_spec='-R$libdir'
8746 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8747 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8757 hardcode_libdir_flag_spec='-L$libdir'
8758 hardcode_minus_L=yes
8759 allow_undefined_flag=unsupported
8760 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'
8761 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8765 if test "$GCC" = yes; then
8766 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8767 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'
8769 allow_undefined_flag=' -expect_unresolved \*'
8770 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'
8772 archive_cmds_need_lc='no'
8773 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8774 hardcode_libdir_separator=:
8777 osf4* | osf5*) # as osf3* with the addition of -msym flag
8778 if test "$GCC" = yes; then
8779 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8780 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'
8781 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8783 allow_undefined_flag=' -expect_unresolved \*'
8784 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'
8785 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~
8786 $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'
8788 # Both c and cxx compiler support -rpath directly
8789 hardcode_libdir_flag_spec='-rpath $libdir'
8791 archive_cmds_need_lc='no'
8792 hardcode_libdir_separator=:
8796 no_undefined_flag=' -z defs'
8797 if test "$GCC" = yes; then
8799 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8800 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8801 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8803 case `$CC -V 2>&1` in
8806 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8807 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8808 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8812 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8813 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8814 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8818 hardcode_libdir_flag_spec='-R$libdir'
8819 hardcode_shlibpath_var=no
8821 solaris2.[0-5] | solaris2.[0-5].*) ;;
8823 # The compiler driver will combine and reorder linker options,
8824 # but understands `-z linker_flag'. GCC discards it without `$wl',
8825 # but is careful enough not to reorder.
8826 # Supported since Solaris 2.6 (maybe 2.5.1?)
8827 if test "$GCC" = yes; then
8828 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8830 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8834 link_all_deplibs=yes
8838 if test "x$host_vendor" = xsequent; then
8839 # Use $CC to link under sequent, because it throws in some extra .o
8840 # files that make .init and .fini sections work.
8841 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8843 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8845 hardcode_libdir_flag_spec='-L$libdir'
8847 hardcode_minus_L=yes
8848 hardcode_shlibpath_var=no
8852 case $host_vendor in
8854 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8855 hardcode_direct=yes # is this really true???
8858 ## LD is ld it makes a PLAMLIB
8859 ## CC just makes a GrossModule.
8860 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8861 reload_cmds='$CC -r -o $output$reload_objs'
8865 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8866 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8869 runpath_var='LD_RUN_PATH'
8870 hardcode_shlibpath_var=no
8874 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8875 hardcode_shlibpath_var=no
8876 export_dynamic_flag_spec='-Bexport'
8880 if test -d /usr/nec; then
8881 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8882 hardcode_shlibpath_var=no
8883 runpath_var=LD_RUN_PATH
8884 hardcode_runpath_var=yes
8889 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8890 no_undefined_flag='${wl}-z,text'
8891 archive_cmds_need_lc=no
8892 hardcode_shlibpath_var=no
8893 runpath_var='LD_RUN_PATH'
8895 if test "$GCC" = yes; then
8896 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8897 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8899 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8900 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8904 sysv5* | sco3.2v5* | sco5v6*)
8905 # Note: We can NOT use -z defs as we might desire, because we do not
8906 # link with -lc, and that would cause any symbols used from libc to
8907 # always be unresolved, which means just about no library would
8908 # ever link correctly. If we're not using GNU ld we use -z text
8909 # though, which does catch some bad symbols but isn't as heavy-handed
8911 no_undefined_flag='${wl}-z,text'
8912 allow_undefined_flag='${wl}-z,nodefs'
8913 archive_cmds_need_lc=no
8914 hardcode_shlibpath_var=no
8915 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8916 hardcode_libdir_separator=':'
8917 link_all_deplibs=yes
8918 export_dynamic_flag_spec='${wl}-Bexport'
8919 runpath_var='LD_RUN_PATH'
8921 if test "$GCC" = yes; then
8922 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8923 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8925 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8926 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8931 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8932 hardcode_libdir_flag_spec='-L$libdir'
8933 hardcode_shlibpath_var=no
8941 if test x$host_vendor = xsni; then
8943 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8944 export_dynamic_flag_spec='${wl}-Blargedynsym'
8950 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8951 echo "${ECHO_T}$ld_shlibs" >&6
8952 test "$ld_shlibs" = no && can_build_shared=no
8954 with_gnu_ld=$with_gnu_ld
8971 # Do we need to explicitly link libc?
8973 case "x$archive_cmds_need_lc" in
8975 # Assume -lc should be added
8976 archive_cmds_need_lc=yes
8978 if test "$enable_shared" = yes && test "$GCC" = yes; then
8979 case $archive_cmds in
8981 # FIXME: we may have to deal with multi-command sequences.
8984 # Test whether the compiler implicitly links with -lc since on some
8985 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8986 # to ld, don't add -lc before -lgcc.
8987 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8988 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8989 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
8990 echo $ECHO_N "(cached) $ECHO_C" >&6
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8996 (eval $ac_compile) 2>&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); } 2>conftest.err; then
9002 libobjs=conftest.$ac_objext
9004 wl=$lt_prog_compiler_wl
9005 pic_flag=$lt_prog_compiler_pic
9011 lt_save_allow_undefined_flag=$allow_undefined_flag
9012 allow_undefined_flag=
9013 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9014 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9017 (exit $ac_status); }
9019 lt_cv_archive_cmds_need_lc=no
9021 lt_cv_archive_cmds_need_lc=yes
9023 allow_undefined_flag=$lt_save_allow_undefined_flag
9025 cat conftest.err 1>&5
9030 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9031 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9032 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9195 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9196 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9198 if test "$GCC" = yes; then
9200 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9201 *) lt_awk_arg="/^libraries:/" ;;
9203 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9204 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9205 # if the path contains ";" then we assume it to be the separator
9206 # otherwise default to the standard path separator (i.e. ":") - it is
9207 # assumed that no part of a normal pathname contains ";" but that should
9208 # okay in the real world where ";" in dirpaths is itself problematic.
9209 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9211 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9213 # Ok, now we have the path, separated by spaces, we can step through it
9214 # and add multilib dir if necessary.
9215 lt_tmp_lt_search_path_spec=
9216 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9217 for lt_sys_path in $lt_search_path_spec; do
9218 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9219 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9221 test -d "$lt_sys_path" && \
9222 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9225 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9226 BEGIN {RS=" "; FS="/|\n";} {
9229 for (lt_i = NF; lt_i > 0; lt_i--) {
9230 if ($lt_i != "" && $lt_i != ".") {
9231 if ($lt_i == "..") {
9234 if (lt_count == 0) {
9235 lt_foo="/" $lt_i lt_foo;
9242 if (lt_foo != "") { lt_freq[lt_foo]++; }
9243 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9245 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9247 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9250 libname_spec='lib$name'
9258 shlibpath_overrides_runpath=unknown
9260 dynamic_linker="$host_os ld.so"
9261 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9262 need_lib_prefix=unknown
9263 hardcode_into_libs=no
9265 # when you set need_version to no, make sure it does not cause -set_version
9266 # flags to be left without arguments
9267 need_version=unknown
9272 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9273 shlibpath_var=LIBPATH
9275 # AIX 3 has no versioning support, so we append a major version to the name.
9276 soname_spec='${libname}${release}${shared_ext}$major'
9283 hardcode_into_libs=yes
9284 if test "$host_cpu" = ia64; then
9285 # AIX 5 supports IA64
9286 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9287 shlibpath_var=LD_LIBRARY_PATH
9289 # With GCC up to 2.95.x, collect2 would create an import file
9290 # for dependence libraries. The import file would start with
9291 # the line `#! .'. This would cause the generated library to
9292 # depend on `.', always an invalid library. This was fixed in
9293 # development snapshots of GCC prior to 3.0.
9295 aix4 | aix4.[01] | aix4.[01].*)
9296 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9298 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9305 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9306 # soname into executable. Probably we can add versioning support to
9307 # collect2, so additional links can be useful in future.
9308 if test "$aix_use_runtimelinking" = yes; then
9309 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9310 # instead of lib<name>.a to let people know that these are not
9311 # typical AIX shared libraries.
9312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9314 # We preserve .a as extension for shared libraries through AIX4.2
9315 # and later when we are not doing run time linking.
9316 library_names_spec='${libname}${release}.a $libname.a'
9317 soname_spec='${libname}${release}${shared_ext}$major'
9319 shlibpath_var=LIBPATH
9326 # Since July 2007 AmigaOS4 officially supports .so libraries.
9327 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9331 library_names_spec='$libname.ixlibrary $libname.a'
9332 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9333 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'
9339 library_names_spec='${libname}${shared_ext}'
9340 dynamic_linker="$host_os ld.so"
9341 shlibpath_var=LIBRARY_PATH
9347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9348 soname_spec='${libname}${release}${shared_ext}$major'
9349 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9350 shlibpath_var=LD_LIBRARY_PATH
9351 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9352 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9353 # the default ld.so.conf also contains /usr/contrib/lib and
9354 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9355 # libtool to hard-code these into programs
9358 cygwin* | mingw* | pw32* | cegcc*)
9359 version_type=windows
9364 case $GCC,$host_os in
9365 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9366 library_names_spec='$libname.dll.a'
9367 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9368 postinstall_cmds='base_file=`basename \${file}`~
9369 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9370 dldir=$destdir/`dirname \$dlpath`~
9371 test -d \$dldir || mkdir -p \$dldir~
9372 $install_prog $dir/$dlname \$dldir/$dlname~
9373 chmod a+x \$dldir/$dlname~
9374 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9375 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9377 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9378 dlpath=$dir/\$dldll~
9380 shlibpath_overrides_runpath=yes
9384 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9385 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9386 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9389 # MinGW DLLs use traditional 'lib' prefix
9390 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9391 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9392 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9393 # It is most probably a Windows format PATH printed by
9394 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9395 # path with ; separators, and with drive letters. We can handle the
9396 # drive letters (cygwin fileutils understands them), so leave them,
9397 # especially as we might pass files found there to a mingw objdump,
9398 # which wouldn't understand a cygwinified path. Ahh.
9399 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9401 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9405 # pw32 DLLs use 'pw' prefix rather than 'lib'
9406 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9412 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9415 dynamic_linker='Win32 ld.exe'
9416 # FIXME: first we should search . and the directory the executable is in
9420 darwin* | rhapsody*)
9421 dynamic_linker="$host_os dyld"
9425 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9426 soname_spec='${libname}${release}${major}$shared_ext'
9427 shlibpath_overrides_runpath=yes
9428 shlibpath_var=DYLD_LIBRARY_PATH
9429 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9431 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9432 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9440 soname_spec='${libname}${release}${shared_ext}$major'
9441 shlibpath_var=LD_LIBRARY_PATH
9448 freebsd* | dragonfly*)
9449 # DragonFly does not have aout. When/if they implement a new
9450 # versioning mechanism, adjust this.
9451 if test -x /usr/bin/objformat; then
9452 objformat=`/usr/bin/objformat`
9455 freebsd[123]*) objformat=aout ;;
9459 version_type=freebsd-$objformat
9460 case $version_type in
9462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9467 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9471 shlibpath_var=LD_LIBRARY_PATH
9474 shlibpath_overrides_runpath=yes
9476 freebsd3.[01]* | freebsdelf3.[01]*)
9477 shlibpath_overrides_runpath=yes
9478 hardcode_into_libs=yes
9480 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9481 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9482 shlibpath_overrides_runpath=no
9483 hardcode_into_libs=yes
9485 *) # from 4.6 on, and DragonFly
9486 shlibpath_overrides_runpath=yes
9487 hardcode_into_libs=yes
9496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9497 soname_spec='${libname}${release}${shared_ext}$major'
9498 shlibpath_var=LD_LIBRARY_PATH
9499 hardcode_into_libs=yes
9502 hpux9* | hpux10* | hpux11*)
9503 # Give a soname corresponding to the major version so that dld.sl refuses to
9504 # link against other versions.
9511 hardcode_into_libs=yes
9512 dynamic_linker="$host_os dld.so"
9513 shlibpath_var=LD_LIBRARY_PATH
9514 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9516 soname_spec='${libname}${release}${shared_ext}$major'
9517 if test "X$HPUX_IA64_MODE" = X32; then
9518 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9520 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9522 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9526 hardcode_into_libs=yes
9527 dynamic_linker="$host_os dld.sl"
9528 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9529 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9531 soname_spec='${libname}${release}${shared_ext}$major'
9532 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9537 dynamic_linker="$host_os dld.sl"
9538 shlibpath_var=SHLIB_PATH
9539 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
9544 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9545 postinstall_cmds='chmod 555 $lib'
9552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9553 soname_spec='${libname}${release}${shared_ext}$major'
9554 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9555 shlibpath_var=LD_LIBRARY_PATH
9556 shlibpath_overrides_runpath=no
9557 hardcode_into_libs=yes
9560 irix5* | irix6* | nonstopux*)
9562 nonstopux*) version_type=nonstopux ;;
9564 if test "$lt_cv_prog_gnu_ld" = yes; then
9572 soname_spec='${libname}${release}${shared_ext}$major'
9573 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9575 irix5* | nonstopux*)
9579 case $LD in # libtool.m4 will add one of these switches to LD
9580 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9581 libsuff= shlibsuff= libmagic=32-bit;;
9582 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9583 libsuff=32 shlibsuff=N32 libmagic=N32;;
9584 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9585 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9586 *) libsuff= shlibsuff= libmagic=never-match;;
9590 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9591 shlibpath_overrides_runpath=no
9592 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9593 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9594 hardcode_into_libs=yes
9597 # No shared lib support for Linux oldld, aout, or coff.
9598 linux*oldld* | linux*aout* | linux*coff*)
9602 # This must be Linux ELF.
9603 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9608 soname_spec='${libname}${release}${shared_ext}$major'
9609 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9610 shlibpath_var=LD_LIBRARY_PATH
9611 shlibpath_overrides_runpath=no
9613 # Some binutils ld are patched to set DT_RUNPATH
9614 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
9615 echo $ECHO_N "(cached) $ECHO_C" >&6
9617 lt_cv_shlibpath_overrides_runpath=no
9618 save_LDFLAGS=$LDFLAGS
9620 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9621 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9622 if test x$gcc_no_link = xyes; then
9623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9625 { (exit 1); exit 1; }; }
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9642 rm -f conftest.$ac_objext conftest$ac_exeext
9643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9644 (eval $ac_link) 2>conftest.er1
9646 grep -v '^ *+' conftest.er1 >conftest.err
9648 cat conftest.err >&5
9649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9650 (exit $ac_status); } &&
9651 { ac_try='test -z "$ac_c_werror_flag"
9652 || test ! -s conftest.err'
9653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; } &&
9658 { ac_try='test -s conftest$ac_exeext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9664 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
9665 lt_cv_shlibpath_overrides_runpath=yes
9669 echo "$as_me: failed program was:" >&5
9670 sed 's/^/| /' conftest.$ac_ext >&5
9673 rm -f conftest.err conftest.$ac_objext \
9674 conftest$ac_exeext conftest.$ac_ext
9675 LDFLAGS=$save_LDFLAGS
9680 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
9682 # This implies no fast_install, which is unacceptable.
9683 # Some rework will be needed to allow for fast_install
9684 # before this can be enabled.
9685 hardcode_into_libs=yes
9687 # Append ld.so.conf contents to the search path
9688 if test -f /etc/ld.so.conf; then
9689 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' ' '`
9690 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9693 # We used to test for /lib/ld.so.1 and disable shared libraries on
9694 # powerpc, because MkLinux only supported shared libraries with the
9695 # GNU dynamic linker. Since this was broken with cross compilers,
9696 # most powerpc-linux boxes support dynamic linking these days and
9697 # people can always --disable-shared, the test was removed, and we
9698 # assume the GNU/Linux dynamic linker is in use.
9699 dynamic_linker='GNU/Linux ld.so'
9706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9709 dynamic_linker='NetBSD (a.out) ld.so'
9711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9712 soname_spec='${libname}${release}${shared_ext}$major'
9713 dynamic_linker='NetBSD ld.elf_so'
9715 shlibpath_var=LD_LIBRARY_PATH
9716 shlibpath_overrides_runpath=yes
9717 hardcode_into_libs=yes
9722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9723 shlibpath_var=LD_LIBRARY_PATH
9724 shlibpath_overrides_runpath=yes
9731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9732 soname_spec='${libname}${release}${shared_ext}$major'
9733 shlibpath_var=LD_LIBRARY_PATH
9734 shlibpath_overrides_runpath=no
9735 hardcode_into_libs=yes
9736 dynamic_linker='ldqnx.so'
9741 sys_lib_dlsearch_path_spec="/usr/lib"
9743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9746 *) need_version=no ;;
9748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9750 shlibpath_var=LD_LIBRARY_PATH
9751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9753 openbsd2.[89] | openbsd2.[89].*)
9754 shlibpath_overrides_runpath=no
9757 shlibpath_overrides_runpath=yes
9761 shlibpath_overrides_runpath=yes
9766 libname_spec='$name'
9769 library_names_spec='$libname${shared_ext} $libname.a'
9770 dynamic_linker='OS/2 ld.exe'
9771 shlibpath_var=LIBPATH
9774 osf3* | osf4* | osf5*)
9778 soname_spec='${libname}${release}${shared_ext}$major'
9779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9780 shlibpath_var=LD_LIBRARY_PATH
9781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9794 soname_spec='${libname}${release}${shared_ext}$major'
9795 shlibpath_var=LD_LIBRARY_PATH
9796 shlibpath_overrides_runpath=yes
9797 hardcode_into_libs=yes
9798 # ldd complains unless libraries are executable
9799 postinstall_cmds='chmod +x $lib'
9804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9806 shlibpath_var=LD_LIBRARY_PATH
9807 shlibpath_overrides_runpath=yes
9808 if test "$with_gnu_ld" = yes; then
9816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9817 soname_spec='${libname}${release}${shared_ext}$major'
9818 shlibpath_var=LD_LIBRARY_PATH
9819 case $host_vendor in
9821 shlibpath_overrides_runpath=no
9823 runpath_var=LD_RUN_PATH
9831 shlibpath_overrides_runpath=no
9832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9838 if test -d /usr/nec ;then
9840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9841 soname_spec='$libname${shared_ext}.$major'
9842 shlibpath_var=LD_LIBRARY_PATH
9846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9847 version_type=freebsd-elf
9850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9851 soname_spec='${libname}${release}${shared_ext}$major'
9852 shlibpath_var=LD_LIBRARY_PATH
9853 shlibpath_overrides_runpath=yes
9854 hardcode_into_libs=yes
9855 if test "$with_gnu_ld" = yes; then
9856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9865 sys_lib_dlsearch_path_spec='/usr/lib'
9869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9874 shlibpath_var=LD_LIBRARY_PATH
9875 shlibpath_overrides_runpath=no
9876 hardcode_into_libs=yes
9881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9882 soname_spec='${libname}${release}${shared_ext}$major'
9883 shlibpath_var=LD_LIBRARY_PATH
9890 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9891 echo "${ECHO_T}$dynamic_linker" >&6
9892 test "$dynamic_linker" = no && can_build_shared=no
9894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9895 if test "$GCC" = yes; then
9896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
9902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
9992 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9993 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9995 if test -n "$hardcode_libdir_flag_spec" ||
9996 test -n "$runpath_var" ||
9997 test "X$hardcode_automatic" = "Xyes" ; then
9999 # We can hardcode non-existent directories.
10000 if test "$hardcode_direct" != no &&
10001 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10002 # have to relink, otherwise we might link with an installed library
10003 # when we should be linking with a yet-to-be-installed one
10004 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10005 test "$hardcode_minus_L" != no; then
10006 # Linking always hardcodes the temporary library directory.
10007 hardcode_action=relink
10009 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10010 hardcode_action=immediate
10013 # We cannot hardcode anything, or else we can only hardcode existing
10015 hardcode_action=unsupported
10017 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10018 echo "${ECHO_T}$hardcode_action" >&6
10020 if test "$hardcode_action" = relink ||
10021 test "$inherit_rpath" = yes; then
10022 # Fast installation is not supported
10023 enable_fast_install=no
10024 elif test "$shlibpath_overrides_runpath" = yes ||
10025 test "$enable_shared" = no; then
10026 # Fast installation is not necessary
10027 enable_fast_install=needless
10035 if test "x$enable_dlopen" != xyes; then
10036 enable_dlopen=unknown
10037 enable_dlopen_self=unknown
10038 enable_dlopen_self_static=unknown
10045 lt_cv_dlopen="load_add_on"
10047 lt_cv_dlopen_self=yes
10050 mingw* | pw32* | cegcc*)
10051 lt_cv_dlopen="LoadLibrary"
10056 lt_cv_dlopen="dlopen"
10061 # if libdl is installed we need to link against it
10062 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10063 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 ac_check_lib_save_LIBS=$LIBS
10069 if test x$gcc_no_link = xyes; then
10070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10072 { (exit 1); exit 1; }; }
10074 cat >conftest.$ac_ext <<_ACEOF
10077 cat confdefs.h >>conftest.$ac_ext
10078 cat >>conftest.$ac_ext <<_ACEOF
10079 /* end confdefs.h. */
10081 /* Override any gcc2 internal prototype to avoid an error. */
10085 /* We use char because int might match the return type of a gcc2
10086 builtin and then its argument prototype would still apply. */
10096 rm -f conftest.$ac_objext conftest$ac_exeext
10097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10098 (eval $ac_link) 2>conftest.er1
10100 grep -v '^ *+' conftest.er1 >conftest.err
10102 cat conftest.err >&5
10103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10104 (exit $ac_status); } &&
10105 { ac_try='test -z "$ac_c_werror_flag"
10106 || test ! -s conftest.err'
10107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10108 (eval $ac_try) 2>&5
10110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10111 (exit $ac_status); }; } &&
10112 { ac_try='test -s conftest$ac_exeext'
10113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10114 (eval $ac_try) 2>&5
10116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10117 (exit $ac_status); }; }; then
10118 ac_cv_lib_dl_dlopen=yes
10120 echo "$as_me: failed program was:" >&5
10121 sed 's/^/| /' conftest.$ac_ext >&5
10123 ac_cv_lib_dl_dlopen=no
10125 rm -f conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10127 LIBS=$ac_check_lib_save_LIBS
10129 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10130 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10131 if test $ac_cv_lib_dl_dlopen = yes; then
10132 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10135 lt_cv_dlopen="dyld"
10137 lt_cv_dlopen_self=yes
10144 echo "$as_me:$LINENO: checking for shl_load" >&5
10145 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10146 if test "${ac_cv_func_shl_load+set}" = set; then
10147 echo $ECHO_N "(cached) $ECHO_C" >&6
10149 if test x$gcc_no_link = xyes; then
10150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10152 { (exit 1); exit 1; }; }
10154 cat >conftest.$ac_ext <<_ACEOF
10157 cat confdefs.h >>conftest.$ac_ext
10158 cat >>conftest.$ac_ext <<_ACEOF
10159 /* end confdefs.h. */
10160 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10162 #define shl_load innocuous_shl_load
10164 /* System header to define __stub macros and hopefully few prototypes,
10165 which can conflict with char shl_load (); below.
10166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10167 <limits.h> exists even on freestanding compilers. */
10170 # include <limits.h>
10172 # include <assert.h>
10177 /* Override any gcc2 internal prototype to avoid an error. */
10182 /* We use char because int might match the return type of a gcc2
10183 builtin and then its argument prototype would still apply. */
10185 /* The GNU C library defines this for functions which it implements
10186 to always fail with ENOSYS. Some functions are actually named
10187 something starting with __ and the normal name is an alias. */
10188 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10191 char (*f) () = shl_load;
10200 return f != shl_load;
10205 rm -f conftest.$ac_objext conftest$ac_exeext
10206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10207 (eval $ac_link) 2>conftest.er1
10209 grep -v '^ *+' conftest.er1 >conftest.err
10211 cat conftest.err >&5
10212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10213 (exit $ac_status); } &&
10214 { ac_try='test -z "$ac_c_werror_flag"
10215 || test ! -s conftest.err'
10216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10217 (eval $ac_try) 2>&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); }; } &&
10221 { ac_try='test -s conftest$ac_exeext'
10222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10223 (eval $ac_try) 2>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 (exit $ac_status); }; }; then
10227 ac_cv_func_shl_load=yes
10229 echo "$as_me: failed program was:" >&5
10230 sed 's/^/| /' conftest.$ac_ext >&5
10232 ac_cv_func_shl_load=no
10234 rm -f conftest.err conftest.$ac_objext \
10235 conftest$ac_exeext conftest.$ac_ext
10237 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10238 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10239 if test $ac_cv_func_shl_load = yes; then
10240 lt_cv_dlopen="shl_load"
10242 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10243 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10244 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10245 echo $ECHO_N "(cached) $ECHO_C" >&6
10247 ac_check_lib_save_LIBS=$LIBS
10249 if test x$gcc_no_link = xyes; then
10250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10252 { (exit 1); exit 1; }; }
10254 cat >conftest.$ac_ext <<_ACEOF
10257 cat confdefs.h >>conftest.$ac_ext
10258 cat >>conftest.$ac_ext <<_ACEOF
10259 /* end confdefs.h. */
10261 /* Override any gcc2 internal prototype to avoid an error. */
10265 /* We use char because int might match the return type of a gcc2
10266 builtin and then its argument prototype would still apply. */
10276 rm -f conftest.$ac_objext conftest$ac_exeext
10277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10278 (eval $ac_link) 2>conftest.er1
10280 grep -v '^ *+' conftest.er1 >conftest.err
10282 cat conftest.err >&5
10283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10284 (exit $ac_status); } &&
10285 { ac_try='test -z "$ac_c_werror_flag"
10286 || test ! -s conftest.err'
10287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10288 (eval $ac_try) 2>&5
10290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10291 (exit $ac_status); }; } &&
10292 { ac_try='test -s conftest$ac_exeext'
10293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10294 (eval $ac_try) 2>&5
10296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10297 (exit $ac_status); }; }; then
10298 ac_cv_lib_dld_shl_load=yes
10300 echo "$as_me: failed program was:" >&5
10301 sed 's/^/| /' conftest.$ac_ext >&5
10303 ac_cv_lib_dld_shl_load=no
10305 rm -f conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LIBS=$ac_check_lib_save_LIBS
10309 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10310 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10311 if test $ac_cv_lib_dld_shl_load = yes; then
10312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10314 echo "$as_me:$LINENO: checking for dlopen" >&5
10315 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10316 if test "${ac_cv_func_dlopen+set}" = set; then
10317 echo $ECHO_N "(cached) $ECHO_C" >&6
10319 if test x$gcc_no_link = xyes; then
10320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10322 { (exit 1); exit 1; }; }
10324 cat >conftest.$ac_ext <<_ACEOF
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h. */
10330 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10332 #define dlopen innocuous_dlopen
10334 /* System header to define __stub macros and hopefully few prototypes,
10335 which can conflict with char dlopen (); below.
10336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10337 <limits.h> exists even on freestanding compilers. */
10340 # include <limits.h>
10342 # include <assert.h>
10347 /* Override any gcc2 internal prototype to avoid an error. */
10352 /* We use char because int might match the return type of a gcc2
10353 builtin and then its argument prototype would still apply. */
10355 /* The GNU C library defines this for functions which it implements
10356 to always fail with ENOSYS. Some functions are actually named
10357 something starting with __ and the normal name is an alias. */
10358 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10361 char (*f) () = dlopen;
10370 return f != dlopen;
10375 rm -f conftest.$ac_objext conftest$ac_exeext
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377 (eval $ac_link) 2>conftest.er1
10379 grep -v '^ *+' conftest.er1 >conftest.err
10381 cat conftest.err >&5
10382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383 (exit $ac_status); } &&
10384 { ac_try='test -z "$ac_c_werror_flag"
10385 || test ! -s conftest.err'
10386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387 (eval $ac_try) 2>&5
10389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390 (exit $ac_status); }; } &&
10391 { ac_try='test -s conftest$ac_exeext'
10392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393 (eval $ac_try) 2>&5
10395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396 (exit $ac_status); }; }; then
10397 ac_cv_func_dlopen=yes
10399 echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10402 ac_cv_func_dlopen=no
10404 rm -f conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10407 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10408 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10409 if test $ac_cv_func_dlopen = yes; then
10410 lt_cv_dlopen="dlopen"
10412 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10413 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10414 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10417 ac_check_lib_save_LIBS=$LIBS
10419 if test x$gcc_no_link = xyes; then
10420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10422 { (exit 1); exit 1; }; }
10424 cat >conftest.$ac_ext <<_ACEOF
10427 cat confdefs.h >>conftest.$ac_ext
10428 cat >>conftest.$ac_ext <<_ACEOF
10429 /* end confdefs.h. */
10431 /* Override any gcc2 internal prototype to avoid an error. */
10435 /* We use char because int might match the return type of a gcc2
10436 builtin and then its argument prototype would still apply. */
10446 rm -f conftest.$ac_objext conftest$ac_exeext
10447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10448 (eval $ac_link) 2>conftest.er1
10450 grep -v '^ *+' conftest.er1 >conftest.err
10452 cat conftest.err >&5
10453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10454 (exit $ac_status); } &&
10455 { ac_try='test -z "$ac_c_werror_flag"
10456 || test ! -s conftest.err'
10457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10458 (eval $ac_try) 2>&5
10460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10461 (exit $ac_status); }; } &&
10462 { ac_try='test -s conftest$ac_exeext'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; }; then
10468 ac_cv_lib_dl_dlopen=yes
10470 echo "$as_me: failed program was:" >&5
10471 sed 's/^/| /' conftest.$ac_ext >&5
10473 ac_cv_lib_dl_dlopen=no
10475 rm -f conftest.err conftest.$ac_objext \
10476 conftest$ac_exeext conftest.$ac_ext
10477 LIBS=$ac_check_lib_save_LIBS
10479 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10480 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10481 if test $ac_cv_lib_dl_dlopen = yes; then
10482 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10484 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10485 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10486 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10487 echo $ECHO_N "(cached) $ECHO_C" >&6
10489 ac_check_lib_save_LIBS=$LIBS
10490 LIBS="-lsvld $LIBS"
10491 if test x$gcc_no_link = xyes; then
10492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10494 { (exit 1); exit 1; }; }
10496 cat >conftest.$ac_ext <<_ACEOF
10499 cat confdefs.h >>conftest.$ac_ext
10500 cat >>conftest.$ac_ext <<_ACEOF
10501 /* end confdefs.h. */
10503 /* Override any gcc2 internal prototype to avoid an error. */
10507 /* We use char because int might match the return type of a gcc2
10508 builtin and then its argument prototype would still apply. */
10518 rm -f conftest.$ac_objext conftest$ac_exeext
10519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10520 (eval $ac_link) 2>conftest.er1
10522 grep -v '^ *+' conftest.er1 >conftest.err
10524 cat conftest.err >&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); } &&
10527 { ac_try='test -z "$ac_c_werror_flag"
10528 || test ! -s conftest.err'
10529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10530 (eval $ac_try) 2>&5
10532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10533 (exit $ac_status); }; } &&
10534 { ac_try='test -s conftest$ac_exeext'
10535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10536 (eval $ac_try) 2>&5
10538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10539 (exit $ac_status); }; }; then
10540 ac_cv_lib_svld_dlopen=yes
10542 echo "$as_me: failed program was:" >&5
10543 sed 's/^/| /' conftest.$ac_ext >&5
10545 ac_cv_lib_svld_dlopen=no
10547 rm -f conftest.err conftest.$ac_objext \
10548 conftest$ac_exeext conftest.$ac_ext
10549 LIBS=$ac_check_lib_save_LIBS
10551 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10552 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10553 if test $ac_cv_lib_svld_dlopen = yes; then
10554 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10556 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10557 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10558 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10559 echo $ECHO_N "(cached) $ECHO_C" >&6
10561 ac_check_lib_save_LIBS=$LIBS
10563 if test x$gcc_no_link = xyes; then
10564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10566 { (exit 1); exit 1; }; }
10568 cat >conftest.$ac_ext <<_ACEOF
10571 cat confdefs.h >>conftest.$ac_ext
10572 cat >>conftest.$ac_ext <<_ACEOF
10573 /* end confdefs.h. */
10575 /* Override any gcc2 internal prototype to avoid an error. */
10579 /* We use char because int might match the return type of a gcc2
10580 builtin and then its argument prototype would still apply. */
10590 rm -f conftest.$ac_objext conftest$ac_exeext
10591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10592 (eval $ac_link) 2>conftest.er1
10594 grep -v '^ *+' conftest.er1 >conftest.err
10596 cat conftest.err >&5
10597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10598 (exit $ac_status); } &&
10599 { ac_try='test -z "$ac_c_werror_flag"
10600 || test ! -s conftest.err'
10601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10602 (eval $ac_try) 2>&5
10604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10605 (exit $ac_status); }; } &&
10606 { ac_try='test -s conftest$ac_exeext'
10607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10608 (eval $ac_try) 2>&5
10610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10611 (exit $ac_status); }; }; then
10612 ac_cv_lib_dld_dld_link=yes
10614 echo "$as_me: failed program was:" >&5
10615 sed 's/^/| /' conftest.$ac_ext >&5
10617 ac_cv_lib_dld_dld_link=no
10619 rm -f conftest.err conftest.$ac_objext \
10620 conftest$ac_exeext conftest.$ac_ext
10621 LIBS=$ac_check_lib_save_LIBS
10623 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10624 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10625 if test $ac_cv_lib_dld_dld_link = yes; then
10626 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
10647 if test "x$lt_cv_dlopen" != xno; then
10653 case $lt_cv_dlopen in
10655 save_CPPFLAGS="$CPPFLAGS"
10656 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10658 save_LDFLAGS="$LDFLAGS"
10659 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10662 LIBS="$lt_cv_dlopen_libs $LIBS"
10664 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10665 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10666 if test "${lt_cv_dlopen_self+set}" = set; then
10667 echo $ECHO_N "(cached) $ECHO_C" >&6
10669 if test "$cross_compiling" = yes; then :
10670 lt_cv_dlopen_self=cross
10672 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10673 lt_status=$lt_dlunknown
10674 cat > conftest.$ac_ext <<_LT_EOF
10675 #line 10675 "configure"
10676 #include "confdefs.h"
10685 # define LT_DLGLOBAL RTLD_GLOBAL
10688 # define LT_DLGLOBAL DL_GLOBAL
10690 # define LT_DLGLOBAL 0
10694 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10695 find out it does not work in some platform. */
10696 #ifndef LT_DLLAZY_OR_NOW
10698 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10701 # define LT_DLLAZY_OR_NOW DL_LAZY
10704 # define LT_DLLAZY_OR_NOW RTLD_NOW
10707 # define LT_DLLAZY_OR_NOW DL_NOW
10709 # define LT_DLLAZY_OR_NOW 0
10716 void fnord() { int i=42;}
10719 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10720 int status = $lt_dlunknown;
10724 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10725 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10726 /* dlclose (self); */
10734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10735 (eval $ac_link) 2>&5
10737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10738 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10739 (./conftest; exit; ) >&5 2>/dev/null
10741 case x$lt_status in
10742 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10743 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10744 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10747 # compilation failed
10748 lt_cv_dlopen_self=no
10755 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10756 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10758 if test "x$lt_cv_dlopen_self" = xyes; then
10759 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10760 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10761 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10762 if test "${lt_cv_dlopen_self_static+set}" = set; then
10763 echo $ECHO_N "(cached) $ECHO_C" >&6
10765 if test "$cross_compiling" = yes; then :
10766 lt_cv_dlopen_self_static=cross
10768 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10769 lt_status=$lt_dlunknown
10770 cat > conftest.$ac_ext <<_LT_EOF
10771 #line 10771 "configure"
10772 #include "confdefs.h"
10781 # define LT_DLGLOBAL RTLD_GLOBAL
10784 # define LT_DLGLOBAL DL_GLOBAL
10786 # define LT_DLGLOBAL 0
10790 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10791 find out it does not work in some platform. */
10792 #ifndef LT_DLLAZY_OR_NOW
10794 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10797 # define LT_DLLAZY_OR_NOW DL_LAZY
10800 # define LT_DLLAZY_OR_NOW RTLD_NOW
10803 # define LT_DLLAZY_OR_NOW DL_NOW
10805 # define LT_DLLAZY_OR_NOW 0
10812 void fnord() { int i=42;}
10815 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10816 int status = $lt_dlunknown;
10820 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10821 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10822 /* dlclose (self); */
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10835 (./conftest; exit; ) >&5 2>/dev/null
10837 case x$lt_status in
10838 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10839 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10840 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10843 # compilation failed
10844 lt_cv_dlopen_self_static=no
10851 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10852 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10855 CPPFLAGS="$save_CPPFLAGS"
10856 LDFLAGS="$save_LDFLAGS"
10861 case $lt_cv_dlopen_self in
10862 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10863 *) enable_dlopen_self=unknown ;;
10866 case $lt_cv_dlopen_self_static in
10867 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10868 *) enable_dlopen_self_static=unknown ;;
10890 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10891 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10892 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10893 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10894 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10898 # FIXME - insert some real tests, host_os isn't really good enough
10901 if test -n "$STRIP" ; then
10902 striplib="$STRIP -x"
10903 old_striplib="$STRIP -S"
10904 echo "$as_me:$LINENO: result: yes" >&5
10905 echo "${ECHO_T}yes" >&6
10907 echo "$as_me:$LINENO: result: no" >&5
10908 echo "${ECHO_T}no" >&6
10912 echo "$as_me:$LINENO: result: no" >&5
10913 echo "${ECHO_T}no" >&6
10929 # Report which library types will actually be built
10930 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10931 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10932 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10933 echo "${ECHO_T}$can_build_shared" >&6
10935 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10936 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10937 test "$can_build_shared" = "no" && enable_shared=no
10939 # On AIX, shared libraries and static libraries use the same namespace, and
10940 # are all built from PIC.
10943 test "$enable_shared" = yes && enable_static=no
10944 if test -n "$RANLIB"; then
10945 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10946 postinstall_cmds='$RANLIB $lib'
10951 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10952 test "$enable_shared" = yes && enable_static=no
10956 echo "$as_me:$LINENO: result: $enable_shared" >&5
10957 echo "${ECHO_T}$enable_shared" >&6
10959 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10960 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10961 # Make sure either enable_shared or enable_static is yes.
10962 test "$enable_shared" = yes || enable_static=yes
10963 echo "$as_me:$LINENO: result: $enable_static" >&5
10964 echo "${ECHO_T}$enable_static" >&6
10971 ac_cpp='$CPP $CPPFLAGS'
10972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10990 ac_config_commands="$ac_config_commands libtool"
10995 # Only expand once:
11000 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
11002 # We need gfortran to compile parts of the library
11003 #AC_PROG_FC(gfortran)
11005 ac_ext=${FC_SRCEXT-f}
11006 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11007 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11008 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11009 if test -n "$ac_tool_prefix"; then
11010 for ac_prog in gfortran
11012 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11013 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11014 echo "$as_me:$LINENO: checking for $ac_word" >&5
11015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11016 if test "${ac_cv_prog_FC+set}" = set; then
11017 echo $ECHO_N "(cached) $ECHO_C" >&6
11019 if test -n "$FC"; then
11020 ac_cv_prog_FC="$FC" # Let the user override the test.
11022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11023 for as_dir in $PATH
11026 test -z "$as_dir" && as_dir=.
11027 for ac_exec_ext in '' $ac_executable_extensions; do
11028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11029 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11039 if test -n "$FC"; then
11040 echo "$as_me:$LINENO: result: $FC" >&5
11041 echo "${ECHO_T}$FC" >&6
11043 echo "$as_me:$LINENO: result: no" >&5
11044 echo "${ECHO_T}no" >&6
11047 test -n "$FC" && break
11050 if test -z "$FC"; then
11052 for ac_prog in gfortran
11054 # Extract the first word of "$ac_prog", so it can be a program name with args.
11055 set dummy $ac_prog; ac_word=$2
11056 echo "$as_me:$LINENO: checking for $ac_word" >&5
11057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11058 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11061 if test -n "$ac_ct_FC"; then
11062 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11065 for as_dir in $PATH
11068 test -z "$as_dir" && as_dir=.
11069 for ac_exec_ext in '' $ac_executable_extensions; do
11070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11071 ac_cv_prog_ac_ct_FC="$ac_prog"
11072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11080 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11081 if test -n "$ac_ct_FC"; then
11082 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11083 echo "${ECHO_T}$ac_ct_FC" >&6
11085 echo "$as_me:$LINENO: result: no" >&5
11086 echo "${ECHO_T}no" >&6
11089 test -n "$ac_ct_FC" && break
11096 # Provide some information about the compiler.
11097 echo "$as_me:11097:" \
11098 "checking for Fortran compiler version" >&5
11099 ac_compiler=`set X $ac_compile; echo $2`
11100 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11101 (eval $ac_compiler --version </dev/null >&5) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }
11105 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11106 (eval $ac_compiler -v </dev/null >&5) 2>&5
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }
11110 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11111 (eval $ac_compiler -V </dev/null >&5) 2>&5
11113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11114 (exit $ac_status); }
11117 # If we don't use `.F' as extension, the preprocessor is not run on the
11118 # input file. (Note that this only needs to work for GNU compilers.)
11119 ac_save_ext=$ac_ext
11121 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11122 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11123 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11124 echo $ECHO_N "(cached) $ECHO_C" >&6
11126 cat >conftest.$ac_ext <<_ACEOF
11134 rm -f conftest.$ac_objext
11135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11136 (eval $ac_compile) 2>conftest.er1
11138 grep -v '^ *+' conftest.er1 >conftest.err
11140 cat conftest.err >&5
11141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11142 (exit $ac_status); } &&
11143 { ac_try='test -z "$ac_fc_werror_flag"
11144 || test ! -s conftest.err'
11145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11146 (eval $ac_try) 2>&5
11148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); }; } &&
11150 { ac_try='test -s conftest.$ac_objext'
11151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11152 (eval $ac_try) 2>&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); }; }; then
11156 ac_compiler_gnu=yes
11158 echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.$ac_ext >&5
11163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11164 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11167 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11168 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11169 ac_ext=$ac_save_ext
11170 ac_test_FFLAGS=${FCFLAGS+set}
11171 ac_save_FFLAGS=$FCFLAGS
11173 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11174 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11175 if test "${ac_cv_prog_fc_g+set}" = set; then
11176 echo $ECHO_N "(cached) $ECHO_C" >&6
11179 cat >conftest.$ac_ext <<_ACEOF
11184 rm -f conftest.$ac_objext
11185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11186 (eval $ac_compile) 2>conftest.er1
11188 grep -v '^ *+' conftest.er1 >conftest.err
11190 cat conftest.err >&5
11191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11192 (exit $ac_status); } &&
11193 { ac_try='test -z "$ac_fc_werror_flag"
11194 || test ! -s conftest.err'
11195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11196 (eval $ac_try) 2>&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); }; } &&
11200 { ac_try='test -s conftest.$ac_objext'
11201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11202 (eval $ac_try) 2>&5
11204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11205 (exit $ac_status); }; }; then
11206 ac_cv_prog_fc_g=yes
11208 echo "$as_me: failed program was:" >&5
11209 sed 's/^/| /' conftest.$ac_ext >&5
11213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11216 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11217 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11218 if test "$ac_test_FFLAGS" = set; then
11219 FCFLAGS=$ac_save_FFLAGS
11220 elif test $ac_cv_prog_fc_g = yes; then
11221 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11227 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11235 ac_cpp='$CPP $CPPFLAGS'
11236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11241 ac_ext=${FC_SRCEXT-f}
11242 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11243 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11244 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11245 if test -n "$ac_tool_prefix"; then
11246 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11250 echo "$as_me:$LINENO: checking for $ac_word" >&5
11251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11252 if test "${ac_cv_prog_FC+set}" = set; then
11253 echo $ECHO_N "(cached) $ECHO_C" >&6
11255 if test -n "$FC"; then
11256 ac_cv_prog_FC="$FC" # Let the user override the test.
11258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11259 for as_dir in $PATH
11262 test -z "$as_dir" && as_dir=.
11263 for ac_exec_ext in '' $ac_executable_extensions; do
11264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11265 ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
11266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11275 if test -n "$FC"; then
11276 echo "$as_me:$LINENO: result: $FC" >&5
11277 echo "${ECHO_T}$FC" >&6
11279 echo "$as_me:$LINENO: result: no" >&5
11280 echo "${ECHO_T}no" >&6
11283 test -n "$FC" && break
11286 if test -z "$FC"; then
11288 for ac_prog in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11290 # Extract the first word of "$ac_prog", so it can be a program name with args.
11291 set dummy $ac_prog; ac_word=$2
11292 echo "$as_me:$LINENO: checking for $ac_word" >&5
11293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11294 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11295 echo $ECHO_N "(cached) $ECHO_C" >&6
11297 if test -n "$ac_ct_FC"; then
11298 ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
11300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11301 for as_dir in $PATH
11304 test -z "$as_dir" && as_dir=.
11305 for ac_exec_ext in '' $ac_executable_extensions; do
11306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11307 ac_cv_prog_ac_ct_FC="$ac_prog"
11308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11316 ac_ct_FC=$ac_cv_prog_ac_ct_FC
11317 if test -n "$ac_ct_FC"; then
11318 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11319 echo "${ECHO_T}$ac_ct_FC" >&6
11321 echo "$as_me:$LINENO: result: no" >&5
11322 echo "${ECHO_T}no" >&6
11325 test -n "$ac_ct_FC" && break
11332 # Provide some information about the compiler.
11333 echo "$as_me:11333:" \
11334 "checking for Fortran compiler version" >&5
11335 ac_compiler=`set X $ac_compile; echo $2`
11336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11337 (eval $ac_compiler --version </dev/null >&5) 2>&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); }
11341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11342 (eval $ac_compiler -v </dev/null >&5) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }
11346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11347 (eval $ac_compiler -V </dev/null >&5) 2>&5
11349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11350 (exit $ac_status); }
11353 # If we don't use `.F' as extension, the preprocessor is not run on the
11354 # input file. (Note that this only needs to work for GNU compilers.)
11355 ac_save_ext=$ac_ext
11357 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11358 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11359 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11360 echo $ECHO_N "(cached) $ECHO_C" >&6
11362 cat >conftest.$ac_ext <<_ACEOF
11370 rm -f conftest.$ac_objext
11371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11372 (eval $ac_compile) 2>conftest.er1
11374 grep -v '^ *+' conftest.er1 >conftest.err
11376 cat conftest.err >&5
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); } &&
11379 { ac_try='test -z "$ac_fc_werror_flag"
11380 || test ! -s conftest.err'
11381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11382 (eval $ac_try) 2>&5
11384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11385 (exit $ac_status); }; } &&
11386 { ac_try='test -s conftest.$ac_objext'
11387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11388 (eval $ac_try) 2>&5
11390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11391 (exit $ac_status); }; }; then
11392 ac_compiler_gnu=yes
11394 echo "$as_me: failed program was:" >&5
11395 sed 's/^/| /' conftest.$ac_ext >&5
11399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11400 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
11403 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11404 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11405 ac_ext=$ac_save_ext
11406 ac_test_FFLAGS=${FCFLAGS+set}
11407 ac_save_FFLAGS=$FCFLAGS
11409 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11410 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11411 if test "${ac_cv_prog_fc_g+set}" = set; then
11412 echo $ECHO_N "(cached) $ECHO_C" >&6
11415 cat >conftest.$ac_ext <<_ACEOF
11420 rm -f conftest.$ac_objext
11421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11422 (eval $ac_compile) 2>conftest.er1
11424 grep -v '^ *+' conftest.er1 >conftest.err
11426 cat conftest.err >&5
11427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11428 (exit $ac_status); } &&
11429 { ac_try='test -z "$ac_fc_werror_flag"
11430 || test ! -s conftest.err'
11431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11432 (eval $ac_try) 2>&5
11434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11435 (exit $ac_status); }; } &&
11436 { ac_try='test -s conftest.$ac_objext'
11437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11438 (eval $ac_try) 2>&5
11440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11441 (exit $ac_status); }; }; then
11442 ac_cv_prog_fc_g=yes
11444 echo "$as_me: failed program was:" >&5
11445 sed 's/^/| /' conftest.$ac_ext >&5
11449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11452 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11453 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11454 if test "$ac_test_FFLAGS" = set; then
11455 FCFLAGS=$ac_save_FFLAGS
11456 elif test $ac_cv_prog_fc_g = yes; then
11457 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11463 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
11471 ac_cpp='$CPP $CPPFLAGS'
11472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11476 if test -z "$FC" || test "X$FC" = "Xno"; then
11482 ac_ext=${FC_SRCEXT-f}
11483 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11484 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11485 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
11488 archive_cmds_need_lc_FC=no
11489 allow_undefined_flag_FC=
11490 always_export_symbols_FC=no
11491 archive_expsym_cmds_FC=
11492 export_dynamic_flag_spec_FC=
11493 hardcode_direct_FC=no
11494 hardcode_direct_absolute_FC=no
11495 hardcode_libdir_flag_spec_FC=
11496 hardcode_libdir_flag_spec_ld_FC=
11497 hardcode_libdir_separator_FC=
11498 hardcode_minus_L_FC=no
11499 hardcode_automatic_FC=no
11500 inherit_rpath_FC=no
11502 module_expsym_cmds_FC=
11503 link_all_deplibs_FC=unknown
11504 old_archive_cmds_FC=$old_archive_cmds
11505 no_undefined_flag_FC=
11506 whole_archive_flag_spec_FC=
11507 enable_shared_with_static_runtimes_FC=no
11509 # Source file extension for fc test sources.
11510 ac_ext=${ac_fc_srcext-f}
11512 # Object file extension for compiled fc test sources.
11516 # No sense in running all these tests if we already determined that
11517 # the FC compiler isn't working. Some variables (like enable_shared)
11518 # are currently assumed to apply to all compilers on this platform,
11519 # and will be corrupted by setting them based on a non-working compiler.
11520 if test "$_lt_disable_FC" != yes; then
11521 # Code to be used in simple compile tests
11522 lt_simple_compile_test_code="\
11528 # Code to be used in simple link tests
11529 lt_simple_link_test_code="\
11534 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11541 # If no C compiler was specified, use CC.
11544 # If no C compiler flags were specified, use CFLAGS.
11545 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11547 # Allow CC to be a program name with arguments.
11551 # save warnings/boilerplate of simple test code
11552 ac_outfile=conftest.$ac_objext
11553 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11554 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11555 _lt_compiler_boilerplate=`cat conftest.err`
11558 ac_outfile=conftest.$ac_objext
11559 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11560 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11561 _lt_linker_boilerplate=`cat conftest.err`
11565 # Allow CC to be a program name with arguments.
11570 GCC=$ac_cv_fc_compiler_gnu
11573 for cc_temp in $compiler""; do
11575 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11576 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11581 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11584 if test -n "$compiler"; then
11585 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11586 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11587 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11588 echo "${ECHO_T}$can_build_shared" >&6
11590 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11591 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11592 test "$can_build_shared" = "no" && enable_shared=no
11594 # On AIX, shared libraries and static libraries use the same namespace, and
11595 # are all built from PIC.
11598 test "$enable_shared" = yes && enable_static=no
11599 if test -n "$RANLIB"; then
11600 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11601 postinstall_cmds='$RANLIB $lib'
11605 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11606 test "$enable_shared" = yes && enable_static=no
11610 echo "$as_me:$LINENO: result: $enable_shared" >&5
11611 echo "${ECHO_T}$enable_shared" >&6
11613 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11614 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11615 # Make sure either enable_shared or enable_static is yes.
11616 test "$enable_shared" = yes || enable_static=yes
11617 echo "$as_me:$LINENO: result: $enable_static" >&5
11618 echo "${ECHO_T}$enable_static" >&6
11620 GCC_FC="$ac_cv_fc_compiler_gnu"
11624 ## There is no encapsulation within the following macros, do not change
11625 ## the running order or otherwise move them around unless you know exactly
11626 ## what you are doing...
11627 # Dependencies to place before and after the object being linked:
11629 postdep_objects_FC=
11632 compiler_lib_search_path_FC=
11634 cat > conftest.$ac_ext <<_LT_EOF
11643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11644 (eval $ac_compile) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; then
11648 # Parse the compiler output and extract the necessary
11649 # objects, libraries and library flags.
11651 # Sentinel used to keep track of whether or not we are before
11652 # the conftest object file.
11653 pre_test_object_deps_done=no
11655 for p in `eval "$output_verbose_link_cmd"`; do
11659 # Some compilers place space between "-{L,R}" and the path.
11660 # Remove the space.
11661 if test $p = "-L" ||
11662 test $p = "-R"; then
11669 if test "$pre_test_object_deps_done" = no; then
11672 # Internal compiler library paths should come after those
11673 # provided the user. The postdeps already come after the
11674 # user supplied libs so there is no need to process them.
11675 if test -z "$compiler_lib_search_path_FC"; then
11676 compiler_lib_search_path_FC="${prev}${p}"
11678 compiler_lib_search_path_FC="${compiler_lib_search_path_FC} ${prev}${p}"
11681 # The "-l" case would never come before the object being
11682 # linked, so don't bother handling this case.
11685 if test -z "$postdeps_FC"; then
11686 postdeps_FC="${prev}${p}"
11688 postdeps_FC="${postdeps_FC} ${prev}${p}"
11694 # This assumes that the test object file only shows up
11695 # once in the compiler output.
11696 if test "$p" = "conftest.$objext"; then
11697 pre_test_object_deps_done=yes
11701 if test "$pre_test_object_deps_done" = no; then
11702 if test -z "$predep_objects_FC"; then
11703 predep_objects_FC="$p"
11705 predep_objects_FC="$predep_objects_FC $p"
11708 if test -z "$postdep_objects_FC"; then
11709 postdep_objects_FC="$p"
11711 postdep_objects_FC="$postdep_objects_FC $p"
11716 *) ;; # Ignore the rest.
11724 echo "libtool.m4: error: problem compiling FC test program"
11727 $RM -f confest.$objext
11729 # PORTME: override above test on systems where it is broken
11732 case " $postdeps_FC " in
11733 *" -lc "*) archive_cmds_need_lc_FC=no ;;
11735 compiler_lib_search_dirs_FC=
11736 if test -n "${compiler_lib_search_path_FC}"; then
11737 compiler_lib_search_dirs_FC=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11770 lt_prog_compiler_wl_FC=
11771 lt_prog_compiler_pic_FC=
11772 lt_prog_compiler_static_FC=
11774 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11775 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11777 if test "$GCC" = yes; then
11778 lt_prog_compiler_wl_FC='-Wl,'
11779 lt_prog_compiler_static_FC='-static'
11783 # All AIX code is PIC.
11784 if test "$host_cpu" = ia64; then
11785 # AIX 5 now supports IA64 processor
11786 lt_prog_compiler_static_FC='-Bstatic'
11793 # see comment about AmigaOS4 .so support
11794 lt_prog_compiler_pic_FC='-fPIC'
11797 # FIXME: we need at least 68020 code to build shared libraries, but
11798 # adding the `-m68020' flag to GCC prevents building anything better,
11800 lt_prog_compiler_pic_FC='-m68020 -resident32 -malways-restore-a4'
11805 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11806 # PIC is the default for these OSes.
11809 mingw* | cygwin* | pw32* | os2* | cegcc*)
11810 # This hack is so that the source file can tell whether it is being
11811 # built for inclusion in a dll (and should export symbols for example).
11812 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11813 # (--disable-auto-import) libraries
11814 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11817 darwin* | rhapsody*)
11818 # PIC is the default on this platform
11819 # Common symbols not allowed in MH_DYLIB files
11820 lt_prog_compiler_pic_FC='-fno-common'
11824 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11825 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11826 # sets the default TLS model and affects inlining.
11832 lt_prog_compiler_pic_FC='-fPIC'
11838 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11839 # Instead, we relocate shared libraries at runtime.
11843 # Just because we use GCC doesn't mean we suddenly get shared libraries
11844 # on systems that don't support them.
11845 lt_prog_compiler_can_build_shared_FC=no
11850 # QNX uses GNU C++, but need to define -shared option too, otherwise
11851 # it will coredump.
11852 lt_prog_compiler_pic_FC='-fPIC -shared'
11856 if test -d /usr/nec; then
11857 lt_prog_compiler_pic_FC=-Kconform_pic
11862 lt_prog_compiler_pic_FC='-fPIC'
11866 # PORTME Check for flag to pass linker flags through the system compiler.
11869 lt_prog_compiler_wl_FC='-Wl,'
11870 if test "$host_cpu" = ia64; then
11871 # AIX 5 now supports IA64 processor
11872 lt_prog_compiler_static_FC='-Bstatic'
11874 lt_prog_compiler_static_FC='-bnso -bI:/lib/syscalls.exp'
11878 mingw* | cygwin* | pw32* | os2* | cegcc*)
11879 # This hack is so that the source file can tell whether it is being
11880 # built for inclusion in a dll (and should export symbols for example).
11881 lt_prog_compiler_pic_FC='-DDLL_EXPORT'
11884 hpux9* | hpux10* | hpux11*)
11885 lt_prog_compiler_wl_FC='-Wl,'
11886 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11887 # not for PA HP-UX.
11893 lt_prog_compiler_pic_FC='+Z'
11896 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11897 lt_prog_compiler_static_FC='${wl}-a ${wl}archive'
11900 irix5* | irix6* | nonstopux*)
11901 lt_prog_compiler_wl_FC='-Wl,'
11902 # PIC (with -KPIC) is the default.
11903 lt_prog_compiler_static_FC='-non_shared'
11906 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11907 case $cc_basename in
11908 # old Intel for x86_64 which still supported -KPIC.
11910 lt_prog_compiler_wl_FC='-Wl,'
11911 lt_prog_compiler_pic_FC='-KPIC'
11912 lt_prog_compiler_static_FC='-static'
11914 # icc used to be incompatible with GCC.
11915 # ICC 10 doesn't accept -KPIC any more.
11917 lt_prog_compiler_wl_FC='-Wl,'
11918 lt_prog_compiler_pic_FC='-fPIC'
11919 lt_prog_compiler_static_FC='-static'
11921 # Lahey Fortran 8.1.
11923 lt_prog_compiler_wl_FC='-Wl,'
11924 lt_prog_compiler_pic_FC='--shared'
11925 lt_prog_compiler_static_FC='--static'
11927 pgcc* | pgf77* | pgf90* | pgf95*)
11928 # Portland Group compilers (*not* the Pentium gcc compiler,
11929 # which looks to be a dead project)
11930 lt_prog_compiler_wl_FC='-Wl,'
11931 lt_prog_compiler_pic_FC='-fpic'
11932 lt_prog_compiler_static_FC='-Bstatic'
11935 lt_prog_compiler_wl_FC='-Wl,'
11936 # All Alpha code is PIC.
11937 lt_prog_compiler_static_FC='-non_shared'
11940 # IBM XL C 8.0/Fortran 10.1 on PPC
11941 lt_prog_compiler_wl_FC='-Wl,'
11942 lt_prog_compiler_pic_FC='-qpic'
11943 lt_prog_compiler_static_FC='-qstaticlink'
11946 case `$CC -V 2>&1 | sed 5q` in
11949 lt_prog_compiler_pic_FC='-KPIC'
11950 lt_prog_compiler_static_FC='-Bstatic'
11951 lt_prog_compiler_wl_FC='-Wl,'
11954 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11955 lt_prog_compiler_pic_FC='-KPIC'
11956 lt_prog_compiler_static_FC='-Bstatic'
11957 lt_prog_compiler_wl_FC=''
11965 lt_prog_compiler_pic_FC='-KPIC'
11966 lt_prog_compiler_static_FC='-Bstatic'
11970 # QNX uses GNU C++, but need to define -shared option too, otherwise
11971 # it will coredump.
11972 lt_prog_compiler_pic_FC='-fPIC -shared'
11975 osf3* | osf4* | osf5*)
11976 lt_prog_compiler_wl_FC='-Wl,'
11977 # All OSF/1 code is PIC.
11978 lt_prog_compiler_static_FC='-non_shared'
11982 lt_prog_compiler_static_FC='-non_shared'
11986 lt_prog_compiler_pic_FC='-KPIC'
11987 lt_prog_compiler_static_FC='-Bstatic'
11988 case $cc_basename in
11989 f77* | f90* | f95*)
11990 lt_prog_compiler_wl_FC='-Qoption ld ';;
11992 lt_prog_compiler_wl_FC='-Wl,';;
11997 lt_prog_compiler_wl_FC='-Qoption ld '
11998 lt_prog_compiler_pic_FC='-PIC'
11999 lt_prog_compiler_static_FC='-Bstatic'
12002 sysv4 | sysv4.2uw2* | sysv4.3*)
12003 lt_prog_compiler_wl_FC='-Wl,'
12004 lt_prog_compiler_pic_FC='-KPIC'
12005 lt_prog_compiler_static_FC='-Bstatic'
12009 if test -d /usr/nec ;then
12010 lt_prog_compiler_pic_FC='-Kconform_pic'
12011 lt_prog_compiler_static_FC='-Bstatic'
12015 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12016 lt_prog_compiler_wl_FC='-Wl,'
12017 lt_prog_compiler_pic_FC='-KPIC'
12018 lt_prog_compiler_static_FC='-Bstatic'
12022 lt_prog_compiler_wl_FC='-Wl,'
12023 lt_prog_compiler_can_build_shared_FC=no
12027 lt_prog_compiler_pic_FC='-pic'
12028 lt_prog_compiler_static_FC='-Bstatic'
12032 lt_prog_compiler_can_build_shared_FC=no
12038 # For platforms which do not support PIC, -DPIC is meaningless:
12040 lt_prog_compiler_pic_FC=
12043 lt_prog_compiler_pic_FC="$lt_prog_compiler_pic_FC"
12046 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
12047 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
12052 # Check to make sure the PIC flag actually works.
12054 if test -n "$lt_prog_compiler_pic_FC"; then
12055 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
12056 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
12057 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12060 lt_cv_prog_compiler_pic_works_FC=no
12061 ac_outfile=conftest.$ac_objext
12062 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12063 lt_compiler_flag="$lt_prog_compiler_pic_FC"
12064 # Insert the option either (1) after the last *FLAGS variable, or
12065 # (2) before a word containing "conftest.", or (3) at the end.
12066 # Note that $ac_compile itself does not contain backslashes and begins
12067 # with a dollar sign (not a hyphen), so the echo should work correctly.
12068 # The option is referenced via a variable to avoid confusing sed.
12069 lt_compile=`echo "$ac_compile" | $SED \
12070 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12071 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12072 -e 's:$: $lt_compiler_flag:'`
12073 (eval echo "\"\$as_me:12073: $lt_compile\"" >&5)
12074 (eval "$lt_compile" 2>conftest.err)
12076 cat conftest.err >&5
12077 echo "$as_me:12077: \$? = $ac_status" >&5
12078 if (exit $ac_status) && test -s "$ac_outfile"; then
12079 # The compiler can only warn and ignore the option if not recognized
12080 # So say no if there are warnings other than the usual output.
12081 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12082 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12083 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12084 lt_cv_prog_compiler_pic_works_FC=yes
12090 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12091 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12093 if test x"$lt_cv_prog_compiler_pic_works_FC" = xyes; then
12094 case $lt_prog_compiler_pic_FC in
12096 *) lt_prog_compiler_pic_FC=" $lt_prog_compiler_pic_FC" ;;
12099 lt_prog_compiler_pic_FC=
12100 lt_prog_compiler_can_build_shared_FC=no
12108 # Check to make sure the static flag actually works.
12110 wl=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag=\"$lt_prog_compiler_static_FC\"
12111 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12112 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12113 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 lt_cv_prog_compiler_static_works_FC=no
12117 save_LDFLAGS="$LDFLAGS"
12118 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12119 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12120 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12121 # The linker can only warn and ignore the option if not recognized
12122 # So say no if there are warnings
12123 if test -s conftest.err; then
12124 # Append any errors to the config.log.
12125 cat conftest.err 1>&5
12126 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12127 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12128 if diff conftest.exp conftest.er2 >/dev/null; then
12129 lt_cv_prog_compiler_static_works_FC=yes
12132 lt_cv_prog_compiler_static_works_FC=yes
12136 LDFLAGS="$save_LDFLAGS"
12139 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12140 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12142 if test x"$lt_cv_prog_compiler_static_works_FC" = xyes; then
12145 lt_prog_compiler_static_FC=
12151 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12152 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12153 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12156 lt_cv_prog_compiler_c_o_FC=no
12157 $RM -r conftest 2>/dev/null
12161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12163 lt_compiler_flag="-o out/conftest2.$ac_objext"
12164 # Insert the option either (1) after the last *FLAGS variable, or
12165 # (2) before a word containing "conftest.", or (3) at the end.
12166 # Note that $ac_compile itself does not contain backslashes and begins
12167 # with a dollar sign (not a hyphen), so the echo should work correctly.
12168 lt_compile=`echo "$ac_compile" | $SED \
12169 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12170 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12171 -e 's:$: $lt_compiler_flag:'`
12172 (eval echo "\"\$as_me:12172: $lt_compile\"" >&5)
12173 (eval "$lt_compile" 2>out/conftest.err)
12175 cat out/conftest.err >&5
12176 echo "$as_me:12176: \$? = $ac_status" >&5
12177 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12179 # The compiler can only warn and ignore the option if not recognized
12180 # So say no if there are warnings
12181 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12182 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12183 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12184 lt_cv_prog_compiler_c_o_FC=yes
12189 # SGI C++ compiler will create directory out/ii_files/ for
12190 # template instantiation
12191 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12192 $RM out/* && rmdir out
12198 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12199 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12203 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12204 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12205 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12206 echo $ECHO_N "(cached) $ECHO_C" >&6
12208 lt_cv_prog_compiler_c_o_FC=no
12209 $RM -r conftest 2>/dev/null
12213 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12215 lt_compiler_flag="-o out/conftest2.$ac_objext"
12216 # Insert the option either (1) after the last *FLAGS variable, or
12217 # (2) before a word containing "conftest.", or (3) at the end.
12218 # Note that $ac_compile itself does not contain backslashes and begins
12219 # with a dollar sign (not a hyphen), so the echo should work correctly.
12220 lt_compile=`echo "$ac_compile" | $SED \
12221 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12222 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12223 -e 's:$: $lt_compiler_flag:'`
12224 (eval echo "\"\$as_me:12224: $lt_compile\"" >&5)
12225 (eval "$lt_compile" 2>out/conftest.err)
12227 cat out/conftest.err >&5
12228 echo "$as_me:12228: \$? = $ac_status" >&5
12229 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12231 # The compiler can only warn and ignore the option if not recognized
12232 # So say no if there are warnings
12233 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12234 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12235 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12236 lt_cv_prog_compiler_c_o_FC=yes
12241 # SGI C++ compiler will create directory out/ii_files/ for
12242 # template instantiation
12243 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12244 $RM out/* && rmdir out
12250 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12251 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12256 hard_links="nottested"
12257 if test "$lt_cv_prog_compiler_c_o_FC" = no && test "$need_locks" != no; then
12258 # do not overwrite the value of need_locks provided by the user
12259 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12260 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12263 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12265 ln conftest.a conftest.b 2>&5 || hard_links=no
12266 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12267 echo "$as_me:$LINENO: result: $hard_links" >&5
12268 echo "${ECHO_T}$hard_links" >&6
12269 if test "$hard_links" = no; then
12270 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12271 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12280 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12281 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12284 allow_undefined_flag_FC=
12285 always_export_symbols_FC=no
12287 archive_expsym_cmds_FC=
12288 compiler_needs_object_FC=no
12289 enable_shared_with_static_runtimes_FC=no
12290 export_dynamic_flag_spec_FC=
12291 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12292 hardcode_automatic_FC=no
12293 hardcode_direct_FC=no
12294 hardcode_direct_absolute_FC=no
12295 hardcode_libdir_flag_spec_FC=
12296 hardcode_libdir_flag_spec_ld_FC=
12297 hardcode_libdir_separator_FC=
12298 hardcode_minus_L_FC=no
12299 hardcode_shlibpath_var_FC=unsupported
12300 inherit_rpath_FC=no
12301 link_all_deplibs_FC=unknown
12303 module_expsym_cmds_FC=
12304 old_archive_from_new_cmds_FC=
12305 old_archive_from_expsyms_cmds_FC=
12306 thread_safe_flag_spec_FC=
12307 whole_archive_flag_spec_FC=
12308 # include_expsyms should be a list of space-separated symbols to be *always*
12309 # included in the symbol list
12310 include_expsyms_FC=
12311 # exclude_expsyms can be an extended regexp of symbols to exclude
12312 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12313 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12314 # as well as any symbol that contains `d'.
12315 exclude_expsyms_FC='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12316 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12317 # platforms (ab)use it in PIC code, but their linkers get confused if
12318 # the symbol is explicitly referenced. Since portable code cannot
12319 # rely on this symbol name, it's probably fine to never include it in
12320 # preloaded symbol tables.
12321 # Exclude shared library initialization/finalization symbols.
12322 extract_expsyms_cmds=
12325 cygwin* | mingw* | pw32* | cegcc*)
12326 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12327 # When not using gcc, we currently assume that we are using
12328 # Microsoft Visual C++.
12329 if test "$GCC" != yes; then
12334 # we just hope/assume this is gcc and not c89 (= MSVC++)
12343 if test "$with_gnu_ld" = yes; then
12344 # If archive_cmds runs LD, not CC, wlarc should be empty
12347 # Set some defaults for GNU ld with shared library support. These
12348 # are reset later if shared libraries are not supported. Putting them
12349 # here allows them to be overridden if necessary.
12350 runpath_var=LD_RUN_PATH
12351 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12352 export_dynamic_flag_spec_FC='${wl}--export-dynamic'
12353 # ancient GNU ld didn't support --whole-archive et. al.
12354 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12355 whole_archive_flag_spec_FC="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12357 whole_archive_flag_spec_FC=
12359 supports_anon_versioning=no
12360 case `$LD -v 2>&1` in
12361 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12362 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12363 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12364 *\ 2.11.*) ;; # other 2.11 versions
12365 *) supports_anon_versioning=yes ;;
12368 # See if GNU ld supports shared libraries.
12371 # On AIX/PPC, the GNU linker is very broken
12372 if test "$host_cpu" != ia64; then
12376 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12377 *** to be unable to reliably create shared libraries on AIX.
12378 *** Therefore, libtool is disabling shared libraries support. If you
12379 *** really care for shared libraries, you may want to modify your PATH
12380 *** so that a non-GNU linker is found, and then restart.
12389 # see comment about AmigaOS4 .so support
12390 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12391 archive_expsym_cmds_FC=''
12394 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)'
12395 hardcode_libdir_flag_spec_FC='-L$libdir'
12396 hardcode_minus_L_FC=yes
12402 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12403 allow_undefined_flag_FC=unsupported
12404 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12405 # support --undefined. This deserves some investigation. FIXME
12406 archive_cmds_FC='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12412 cygwin* | mingw* | pw32* | cegcc*)
12413 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12414 # as there is no search path for DLLs.
12415 hardcode_libdir_flag_spec_FC='-L$libdir'
12416 allow_undefined_flag_FC=unsupported
12417 always_export_symbols_FC=no
12418 enable_shared_with_static_runtimes_FC=yes
12419 export_symbols_cmds_FC='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12421 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12422 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12423 # If the export-symbols file already is a .def file (1st line
12424 # is EXPORTS), use it as is; otherwise, prepend...
12425 archive_expsym_cmds_FC='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12426 cp $export_symbols $output_objdir/$soname.def;
12428 echo EXPORTS > $output_objdir/$soname.def;
12429 cat $export_symbols >> $output_objdir/$soname.def;
12431 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12438 hardcode_direct_FC=no
12439 hardcode_shlibpath_var_FC=no
12440 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
12441 export_dynamic_flag_spec_FC='${wl}-E'
12442 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12443 # Instead, shared libraries are loaded at an image base (0x10000000 by
12444 # default) and relocated if they conflict, which is a slow very memory
12445 # consuming and fragmenting process. To avoid this, we pick a random,
12446 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12447 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12448 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'
12449 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'
12452 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12454 if test "$host_os" = linux-dietlibc; then
12455 case $cc_basename in
12456 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12459 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12460 && test "$tmp_diet" = no
12463 tmp_sharedflag='-shared'
12464 case $cc_basename,$host_cpu in
12465 pgcc*) # Portland Group C compiler
12466 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'
12467 tmp_addflag=' $pic_flag'
12469 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
12470 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'
12471 tmp_addflag=' $pic_flag -Mnomain' ;;
12472 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12473 tmp_addflag=' -i_dynamic' ;;
12474 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12475 tmp_addflag=' -i_dynamic -nofor_main' ;;
12476 ifc* | ifort*) # Intel Fortran compiler
12477 tmp_addflag=' -nofor_main' ;;
12478 lf95*) # Lahey Fortran 8.1
12479 whole_archive_flag_spec_FC=
12480 tmp_sharedflag='--shared' ;;
12481 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12482 tmp_sharedflag='-qmkshrobj'
12485 case `$CC -V 2>&1 | sed 5q` in
12486 *Sun\ C*) # Sun C 5.9
12487 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'
12488 compiler_needs_object_FC=yes
12489 tmp_sharedflag='-G' ;;
12490 *Sun\ F*) # Sun Fortran 8.3
12491 tmp_sharedflag='-G' ;;
12493 archive_cmds_FC='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12495 if test "x$supports_anon_versioning" = xyes; then
12496 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12497 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12498 echo "local: *; };" >> $output_objdir/$libname.ver~
12499 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12502 case $cc_basename in
12504 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12505 whole_archive_flag_spec_FC='--whole-archive$convenience --no-whole-archive'
12506 hardcode_libdir_flag_spec_FC=
12507 hardcode_libdir_flag_spec_ld_FC='-rpath $libdir'
12508 archive_cmds_FC='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12509 if test "x$supports_anon_versioning" = xyes; then
12510 archive_expsym_cmds_FC='echo "{ global:" > $output_objdir/$libname.ver~
12511 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12512 echo "local: *; };" >> $output_objdir/$libname.ver~
12513 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12524 archive_cmds_FC='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12527 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12528 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12533 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12537 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12538 *** create shared libraries on Solaris systems. Therefore, libtool
12539 *** is disabling shared libraries support. We urge you to upgrade GNU
12540 *** binutils to release 2.9.1 or newer. Another option is to modify
12541 *** your PATH or compiler configuration so that the native linker is
12542 *** used, and then restart.
12545 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12546 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12553 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12554 case `$LD -v 2>&1` in
12555 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12559 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12560 *** reliably create shared libraries on SCO systems. Therefore, libtool
12561 *** is disabling shared libraries support. We urge you to upgrade GNU
12562 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12563 *** your PATH or compiler configuration so that the native linker is
12564 *** used, and then restart.
12569 # For security reasons, it is highly recommended that you always
12570 # use absolute paths for naming shared libraries, and exclude the
12571 # DT_RUNPATH tag from executables and libraries. But doing so
12572 # requires that you compile everything twice, which is a pain.
12573 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12574 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
12575 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12576 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12585 archive_cmds_FC='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12587 hardcode_direct_FC=yes
12588 hardcode_shlibpath_var_FC=no
12592 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12593 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12594 archive_expsym_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12601 if test "$ld_shlibs_FC" = no; then
12603 hardcode_libdir_flag_spec_FC=
12604 export_dynamic_flag_spec_FC=
12605 whole_archive_flag_spec_FC=
12608 # PORTME fill in a description of your system's linker (not GNU ld)
12611 allow_undefined_flag_FC=unsupported
12612 always_export_symbols_FC=yes
12613 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'
12614 # Note: this linker hardcodes the directories in LIBPATH if there
12615 # are no directories specified by -L.
12616 hardcode_minus_L_FC=yes
12617 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12618 # Neither direct hardcoding nor static linking is supported with a
12620 hardcode_direct_FC=unsupported
12625 if test "$host_cpu" = ia64; then
12626 # On IA64, the linker does run time linking by default, so we don't
12627 # have to do anything special.
12628 aix_use_runtimelinking=no
12629 exp_sym_flag='-Bexport'
12632 # If we're using GNU nm, then we don't want the "-C" option.
12633 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12634 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12635 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'
12637 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'
12639 aix_use_runtimelinking=no
12641 # Test if we are trying to use run time linking or normal
12642 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12643 # need to do runtime linking.
12644 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12645 for ld_flag in $LDFLAGS; do
12646 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
12647 aix_use_runtimelinking=yes
12654 exp_sym_flag='-bexport'
12655 no_entry_flag='-bnoentry'
12658 # When large executables or shared objects are built, AIX ld can
12659 # have problems creating the table of contents. If linking a library
12660 # or program results in "error TOC overflow" add -mminimal-toc to
12661 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12662 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12665 hardcode_direct_FC=yes
12666 hardcode_direct_absolute_FC=yes
12667 hardcode_libdir_separator_FC=':'
12668 link_all_deplibs_FC=yes
12669 file_list_spec_FC='${wl}-f,'
12671 if test "$GCC" = yes; then
12672 case $host_os in aix4.[012]|aix4.[012].*)
12673 # We only want to do this on AIX 4.2 and lower, the check
12674 # below for broken collect2 doesn't work under 4.3+
12675 collect2name=`${CC} -print-prog-name=collect2`
12676 if test -f "$collect2name" &&
12677 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12679 # We have reworked collect2
12682 # We have old collect2
12683 hardcode_direct_FC=unsupported
12684 # It fails to find uninstalled libraries when the uninstalled
12685 # path is not listed in the libpath. Setting hardcode_minus_L
12686 # to unsupported forces relinking
12687 hardcode_minus_L_FC=yes
12688 hardcode_libdir_flag_spec_FC='-L$libdir'
12689 hardcode_libdir_separator_FC=
12693 shared_flag='-shared'
12694 if test "$aix_use_runtimelinking" = yes; then
12695 shared_flag="$shared_flag "'${wl}-G'
12699 if test "$host_cpu" = ia64; then
12700 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12701 # chokes on -Wl,-G. The following line is correct:
12704 if test "$aix_use_runtimelinking" = yes; then
12705 shared_flag='${wl}-G'
12707 shared_flag='${wl}-bM:SRE'
12712 export_dynamic_flag_spec_FC='${wl}-bexpall'
12713 # It seems that -bexpall does not export symbols beginning with
12714 # underscore (_), so it is better to generate a list of symbols to export.
12715 always_export_symbols_FC=yes
12716 if test "$aix_use_runtimelinking" = yes; then
12717 # Warning - without using the other runtime loading flags (-brtl),
12718 # -berok will link without error, but may produce a broken library.
12719 allow_undefined_flag_FC='-berok'
12720 # Determine the default libpath from the value encoded in an
12721 # empty executable.
12722 if test x$gcc_no_link = xyes; then
12723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12725 { (exit 1); exit 1; }; }
12727 cat >conftest.$ac_ext <<_ACEOF
12732 rm -f conftest.$ac_objext conftest$ac_exeext
12733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12734 (eval $ac_link) 2>conftest.er1
12736 grep -v '^ *+' conftest.er1 >conftest.err
12738 cat conftest.err >&5
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); } &&
12741 { ac_try='test -z "$ac_fc_werror_flag"
12742 || test ! -s conftest.err'
12743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12744 (eval $ac_try) 2>&5
12746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12747 (exit $ac_status); }; } &&
12748 { ac_try='test -s conftest$ac_exeext'
12749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12750 (eval $ac_try) 2>&5
12752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12753 (exit $ac_status); }; }; then
12755 lt_aix_libpath_sed='
12756 /Import File Strings/,/^$/ {
12762 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12763 # Check for a 64-bit object if we didn't find anything.
12764 if test -z "$aix_libpath"; then
12765 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12768 echo "$as_me: failed program was:" >&5
12769 sed 's/^/| /' conftest.$ac_ext >&5
12772 rm -f conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12776 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12777 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"
12779 if test "$host_cpu" = ia64; then
12780 hardcode_libdir_flag_spec_FC='${wl}-R $libdir:/usr/lib:/lib'
12781 allow_undefined_flag_FC="-z nodefs"
12782 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"
12784 # Determine the default libpath from the value encoded in an
12785 # empty executable.
12786 if test x$gcc_no_link = xyes; then
12787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12789 { (exit 1); exit 1; }; }
12791 cat >conftest.$ac_ext <<_ACEOF
12796 rm -f conftest.$ac_objext conftest$ac_exeext
12797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12798 (eval $ac_link) 2>conftest.er1
12800 grep -v '^ *+' conftest.er1 >conftest.err
12802 cat conftest.err >&5
12803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12804 (exit $ac_status); } &&
12805 { ac_try='test -z "$ac_fc_werror_flag"
12806 || test ! -s conftest.err'
12807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12808 (eval $ac_try) 2>&5
12810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12811 (exit $ac_status); }; } &&
12812 { ac_try='test -s conftest$ac_exeext'
12813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12814 (eval $ac_try) 2>&5
12816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12817 (exit $ac_status); }; }; then
12819 lt_aix_libpath_sed='
12820 /Import File Strings/,/^$/ {
12826 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12827 # Check for a 64-bit object if we didn't find anything.
12828 if test -z "$aix_libpath"; then
12829 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12832 echo "$as_me: failed program was:" >&5
12833 sed 's/^/| /' conftest.$ac_ext >&5
12836 rm -f conftest.err conftest.$ac_objext \
12837 conftest$ac_exeext conftest.$ac_ext
12838 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12840 hardcode_libdir_flag_spec_FC='${wl}-blibpath:$libdir:'"$aix_libpath"
12841 # Warning - without using the other run time loading flags,
12842 # -berok will link without error, but may produce a broken library.
12843 no_undefined_flag_FC=' ${wl}-bernotok'
12844 allow_undefined_flag_FC=' ${wl}-berok'
12845 # Exported symbols can be pulled into shared objects from archives
12846 whole_archive_flag_spec_FC='$convenience'
12847 archive_cmds_need_lc_FC=yes
12848 # This is similar to how AIX traditionally builds its shared libraries.
12849 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'
12857 # see comment about AmigaOS4 .so support
12858 archive_cmds_FC='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 archive_expsym_cmds_FC=''
12862 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)'
12863 hardcode_libdir_flag_spec_FC='-L$libdir'
12864 hardcode_minus_L_FC=yes
12870 export_dynamic_flag_spec_FC=-rdynamic
12873 cygwin* | mingw* | pw32* | cegcc*)
12874 # When not using gcc, we currently assume that we are using
12875 # Microsoft Visual C++.
12876 # hardcode_libdir_flag_spec is actually meaningless, as there is
12877 # no search path for DLLs.
12878 hardcode_libdir_flag_spec_FC=' '
12879 allow_undefined_flag_FC=unsupported
12880 # Tell ltmain to make .lib files, not .a files.
12882 # Tell ltmain to make .dll files, not .so files.
12884 # FIXME: Setting linknames here is a bad hack.
12885 archive_cmds_FC='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12886 # The linker will automatically build a .lib file if we build a DLL.
12887 old_archive_from_new_cmds_FC='true'
12888 # FIXME: Should let the user specify the lib program.
12889 old_archive_cmds_FC='lib -OUT:$oldlib$oldobjs$old_deplibs'
12890 fix_srcfile_path_FC='`cygpath -w "$srcfile"`'
12891 enable_shared_with_static_runtimes_FC=yes
12894 darwin* | rhapsody*)
12897 archive_cmds_need_lc_FC=no
12898 hardcode_direct_FC=no
12899 hardcode_automatic_FC=yes
12900 hardcode_shlibpath_var_FC=unsupported
12901 whole_archive_flag_spec_FC=''
12902 link_all_deplibs_FC=yes
12903 allow_undefined_flag_FC="$_lt_dar_allow_undefined"
12904 case $cc_basename in
12905 ifort*) _lt_dar_can_shared=yes ;;
12906 *) _lt_dar_can_shared=$GCC ;;
12908 if test "$_lt_dar_can_shared" = "yes"; then
12909 output_verbose_link_cmd=echo
12910 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}"
12911 module_cmds_FC="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12912 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}"
12913 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}"
12922 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12923 hardcode_libdir_flag_spec_FC='-L$libdir'
12924 hardcode_shlibpath_var_FC=no
12931 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12932 # support. Future versions do this automatically, but an explicit c++rt0.o
12933 # does not break anything, and helps significantly (at the cost of a little
12936 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12937 hardcode_libdir_flag_spec_FC='-R$libdir'
12938 hardcode_direct_FC=yes
12939 hardcode_shlibpath_var_FC=no
12942 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12944 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12945 hardcode_direct_FC=yes
12946 hardcode_minus_L_FC=yes
12947 hardcode_shlibpath_var_FC=no
12950 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12951 freebsd* | dragonfly*)
12952 archive_cmds_FC='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12953 hardcode_libdir_flag_spec_FC='-R$libdir'
12954 hardcode_direct_FC=yes
12955 hardcode_shlibpath_var_FC=no
12959 if test "$GCC" = yes; then
12960 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'
12962 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'
12964 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12965 hardcode_libdir_separator_FC=:
12966 hardcode_direct_FC=yes
12968 # hardcode_minus_L: Not really in the search PATH,
12969 # but as the default location of the library.
12970 hardcode_minus_L_FC=yes
12971 export_dynamic_flag_spec_FC='${wl}-E'
12975 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12976 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12978 archive_cmds_FC='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12980 if test "$with_gnu_ld" = no; then
12981 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
12982 hardcode_libdir_flag_spec_ld_FC='+b $libdir'
12983 hardcode_libdir_separator_FC=:
12984 hardcode_direct_FC=yes
12985 hardcode_direct_absolute_FC=yes
12986 export_dynamic_flag_spec_FC='${wl}-E'
12987 # hardcode_minus_L: Not really in the search PATH,
12988 # but as the default location of the library.
12989 hardcode_minus_L_FC=yes
12994 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
12997 archive_cmds_FC='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13000 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13003 archive_cmds_FC='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13009 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13012 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
13015 archive_cmds_FC='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13019 if test "$with_gnu_ld" = no; then
13020 hardcode_libdir_flag_spec_FC='${wl}+b ${wl}$libdir'
13021 hardcode_libdir_separator_FC=:
13025 hardcode_direct_FC=no
13026 hardcode_shlibpath_var_FC=no
13029 hardcode_direct_FC=yes
13030 hardcode_direct_absolute_FC=yes
13031 export_dynamic_flag_spec_FC='${wl}-E'
13033 # hardcode_minus_L: Not really in the search PATH,
13034 # but as the default location of the library.
13035 hardcode_minus_L_FC=yes
13041 irix5* | irix6* | nonstopux*)
13042 if test "$GCC" = yes; then
13043 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'
13044 # Try to use the -exported_symbol ld option, if it does not
13045 # work, assume that -exports_file does not work either and
13046 # implicitly export all symbols.
13047 save_LDFLAGS="$LDFLAGS"
13048 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
13049 if test x$gcc_no_link = xyes; then
13050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13052 { (exit 1); exit 1; }; }
13054 cat >conftest.$ac_ext <<_ACEOF
13057 rm -f conftest.$ac_objext conftest$ac_exeext
13058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13059 (eval $ac_link) 2>conftest.er1
13061 grep -v '^ *+' conftest.er1 >conftest.err
13063 cat conftest.err >&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); } &&
13066 { ac_try='test -z "$ac_fc_werror_flag"
13067 || test ! -s conftest.err'
13068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13069 (eval $ac_try) 2>&5
13071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13072 (exit $ac_status); }; } &&
13073 { ac_try='test -s conftest$ac_exeext'
13074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13075 (eval $ac_try) 2>&5
13077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13078 (exit $ac_status); }; }; then
13079 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'
13082 echo "$as_me: failed program was:" >&5
13083 sed 's/^/| /' conftest.$ac_ext >&5
13086 rm -f conftest.err conftest.$ac_objext \
13087 conftest$ac_exeext conftest.$ac_ext
13088 LDFLAGS="$save_LDFLAGS"
13090 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'
13091 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'
13093 archive_cmds_need_lc_FC='no'
13094 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13095 hardcode_libdir_separator_FC=:
13096 inherit_rpath_FC=yes
13097 link_all_deplibs_FC=yes
13101 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13102 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13104 archive_cmds_FC='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13106 hardcode_libdir_flag_spec_FC='-R$libdir'
13107 hardcode_direct_FC=yes
13108 hardcode_shlibpath_var_FC=no
13112 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13113 hardcode_direct_FC=yes
13114 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13115 hardcode_libdir_separator_FC=:
13116 hardcode_shlibpath_var_FC=no
13123 if test -f /usr/libexec/ld.so; then
13124 hardcode_direct_FC=yes
13125 hardcode_shlibpath_var_FC=no
13126 hardcode_direct_absolute_FC=yes
13127 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13128 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13129 archive_expsym_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13130 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13131 export_dynamic_flag_spec_FC='${wl}-E'
13134 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13135 archive_cmds_FC='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13136 hardcode_libdir_flag_spec_FC='-R$libdir'
13139 archive_cmds_FC='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13140 hardcode_libdir_flag_spec_FC='${wl}-rpath,$libdir'
13150 hardcode_libdir_flag_spec_FC='-L$libdir'
13151 hardcode_minus_L_FC=yes
13152 allow_undefined_flag_FC=unsupported
13153 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'
13154 old_archive_from_new_cmds_FC='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13158 if test "$GCC" = yes; then
13159 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13160 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'
13162 allow_undefined_flag_FC=' -expect_unresolved \*'
13163 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'
13165 archive_cmds_need_lc_FC='no'
13166 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13167 hardcode_libdir_separator_FC=:
13170 osf4* | osf5*) # as osf3* with the addition of -msym flag
13171 if test "$GCC" = yes; then
13172 allow_undefined_flag_FC=' ${wl}-expect_unresolved ${wl}\*'
13173 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'
13174 hardcode_libdir_flag_spec_FC='${wl}-rpath ${wl}$libdir'
13176 allow_undefined_flag_FC=' -expect_unresolved \*'
13177 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'
13178 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~
13179 $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'
13181 # Both c and cxx compiler support -rpath directly
13182 hardcode_libdir_flag_spec_FC='-rpath $libdir'
13184 archive_cmds_need_lc_FC='no'
13185 hardcode_libdir_separator_FC=:
13189 no_undefined_flag_FC=' -z defs'
13190 if test "$GCC" = yes; then
13192 archive_cmds_FC='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13193 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13194 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13196 case `$CC -V 2>&1` in
13199 archive_cmds_FC='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13200 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13201 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13205 archive_cmds_FC='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13206 archive_expsym_cmds_FC='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13207 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13211 hardcode_libdir_flag_spec_FC='-R$libdir'
13212 hardcode_shlibpath_var_FC=no
13214 solaris2.[0-5] | solaris2.[0-5].*) ;;
13216 # The compiler driver will combine and reorder linker options,
13217 # but understands `-z linker_flag'. GCC discards it without `$wl',
13218 # but is careful enough not to reorder.
13219 # Supported since Solaris 2.6 (maybe 2.5.1?)
13220 if test "$GCC" = yes; then
13221 whole_archive_flag_spec_FC='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13223 whole_archive_flag_spec_FC='-z allextract$convenience -z defaultextract'
13227 link_all_deplibs_FC=yes
13231 if test "x$host_vendor" = xsequent; then
13232 # Use $CC to link under sequent, because it throws in some extra .o
13233 # files that make .init and .fini sections work.
13234 archive_cmds_FC='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13236 archive_cmds_FC='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13238 hardcode_libdir_flag_spec_FC='-L$libdir'
13239 hardcode_direct_FC=yes
13240 hardcode_minus_L_FC=yes
13241 hardcode_shlibpath_var_FC=no
13245 case $host_vendor in
13247 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13248 hardcode_direct_FC=yes # is this really true???
13251 ## LD is ld it makes a PLAMLIB
13252 ## CC just makes a GrossModule.
13253 archive_cmds_FC='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13254 reload_cmds_FC='$CC -r -o $output$reload_objs'
13255 hardcode_direct_FC=no
13258 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13259 hardcode_direct_FC=no #Motorola manual says yes, but my tests say they lie
13262 runpath_var='LD_RUN_PATH'
13263 hardcode_shlibpath_var_FC=no
13267 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13268 hardcode_shlibpath_var_FC=no
13269 export_dynamic_flag_spec_FC='-Bexport'
13273 if test -d /usr/nec; then
13274 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13275 hardcode_shlibpath_var_FC=no
13276 runpath_var=LD_RUN_PATH
13277 hardcode_runpath_var=yes
13282 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13283 no_undefined_flag_FC='${wl}-z,text'
13284 archive_cmds_need_lc_FC=no
13285 hardcode_shlibpath_var_FC=no
13286 runpath_var='LD_RUN_PATH'
13288 if test "$GCC" = yes; then
13289 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13290 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13292 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13293 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13297 sysv5* | sco3.2v5* | sco5v6*)
13298 # Note: We can NOT use -z defs as we might desire, because we do not
13299 # link with -lc, and that would cause any symbols used from libc to
13300 # always be unresolved, which means just about no library would
13301 # ever link correctly. If we're not using GNU ld we use -z text
13302 # though, which does catch some bad symbols but isn't as heavy-handed
13304 no_undefined_flag_FC='${wl}-z,text'
13305 allow_undefined_flag_FC='${wl}-z,nodefs'
13306 archive_cmds_need_lc_FC=no
13307 hardcode_shlibpath_var_FC=no
13308 hardcode_libdir_flag_spec_FC='${wl}-R,$libdir'
13309 hardcode_libdir_separator_FC=':'
13310 link_all_deplibs_FC=yes
13311 export_dynamic_flag_spec_FC='${wl}-Bexport'
13312 runpath_var='LD_RUN_PATH'
13314 if test "$GCC" = yes; then
13315 archive_cmds_FC='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13316 archive_expsym_cmds_FC='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13318 archive_cmds_FC='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13319 archive_expsym_cmds_FC='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13324 archive_cmds_FC='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13325 hardcode_libdir_flag_spec_FC='-L$libdir'
13326 hardcode_shlibpath_var_FC=no
13334 if test x$host_vendor = xsni; then
13336 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13337 export_dynamic_flag_spec_FC='${wl}-Blargedynsym'
13343 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13344 echo "${ECHO_T}$ld_shlibs_FC" >&6
13345 test "$ld_shlibs_FC" = no && can_build_shared=no
13347 with_gnu_ld_FC=$with_gnu_ld
13355 # Do we need to explicitly link libc?
13357 case "x$archive_cmds_need_lc_FC" in
13359 # Assume -lc should be added
13360 archive_cmds_need_lc_FC=yes
13362 if test "$enable_shared" = yes && test "$GCC" = yes; then
13363 case $archive_cmds_FC in
13365 # FIXME: we may have to deal with multi-command sequences.
13368 # Test whether the compiler implicitly links with -lc since on some
13369 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13370 # to ld, don't add -lc before -lgcc.
13371 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13372 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13373 if test "${lt_cv_archive_cmds_need_lc_FC+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>&5
13382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13383 (exit $ac_status); } 2>conftest.err; then
13386 libobjs=conftest.$ac_objext
13388 wl=$lt_prog_compiler_wl_FC
13389 pic_flag=$lt_prog_compiler_pic_FC
13395 lt_save_allow_undefined_flag=$allow_undefined_flag_FC
13396 allow_undefined_flag_FC=
13397 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13398 (eval $archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); }
13403 lt_cv_archive_cmds_need_lc_FC=no
13405 lt_cv_archive_cmds_need_lc_FC=yes
13407 allow_undefined_flag_FC=$lt_save_allow_undefined_flag
13409 cat conftest.err 1>&5
13414 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_FC" >&5
13415 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_FC" >&6
13416 archive_cmds_need_lc_FC=$lt_cv_archive_cmds_need_lc_FC
13486 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13487 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13489 library_names_spec=
13490 libname_spec='lib$name'
13494 postuninstall_cmds=
13498 shlibpath_overrides_runpath=unknown
13500 dynamic_linker="$host_os ld.so"
13501 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13502 need_lib_prefix=unknown
13503 hardcode_into_libs=no
13505 # when you set need_version to no, make sure it does not cause -set_version
13506 # flags to be left without arguments
13507 need_version=unknown
13512 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13513 shlibpath_var=LIBPATH
13515 # AIX 3 has no versioning support, so we append a major version to the name.
13516 soname_spec='${libname}${release}${shared_ext}$major'
13523 hardcode_into_libs=yes
13524 if test "$host_cpu" = ia64; then
13525 # AIX 5 supports IA64
13526 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13527 shlibpath_var=LD_LIBRARY_PATH
13529 # With GCC up to 2.95.x, collect2 would create an import file
13530 # for dependence libraries. The import file would start with
13531 # the line `#! .'. This would cause the generated library to
13532 # depend on `.', always an invalid library. This was fixed in
13533 # development snapshots of GCC prior to 3.0.
13535 aix4 | aix4.[01] | aix4.[01].*)
13536 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13538 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13541 can_build_shared=no
13545 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13546 # soname into executable. Probably we can add versioning support to
13547 # collect2, so additional links can be useful in future.
13548 if test "$aix_use_runtimelinking" = yes; then
13549 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13550 # instead of lib<name>.a to let people know that these are not
13551 # typical AIX shared libraries.
13552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13554 # We preserve .a as extension for shared libraries through AIX4.2
13555 # and later when we are not doing run time linking.
13556 library_names_spec='${libname}${release}.a $libname.a'
13557 soname_spec='${libname}${release}${shared_ext}$major'
13559 shlibpath_var=LIBPATH
13566 # Since July 2007 AmigaOS4 officially supports .so libraries.
13567 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13571 library_names_spec='$libname.ixlibrary $libname.a'
13572 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13573 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'
13579 library_names_spec='${libname}${shared_ext}'
13580 dynamic_linker="$host_os ld.so"
13581 shlibpath_var=LIBRARY_PATH
13587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13588 soname_spec='${libname}${release}${shared_ext}$major'
13589 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13590 shlibpath_var=LD_LIBRARY_PATH
13591 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13592 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13593 # the default ld.so.conf also contains /usr/contrib/lib and
13594 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13595 # libtool to hard-code these into programs
13598 cygwin* | mingw* | pw32* | cegcc*)
13599 version_type=windows
13604 case $GCC,$host_os in
13605 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13606 library_names_spec='$libname.dll.a'
13607 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13608 postinstall_cmds='base_file=`basename \${file}`~
13609 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13610 dldir=$destdir/`dirname \$dlpath`~
13611 test -d \$dldir || mkdir -p \$dldir~
13612 $install_prog $dir/$dlname \$dldir/$dlname~
13613 chmod a+x \$dldir/$dlname~
13614 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13615 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13617 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13618 dlpath=$dir/\$dldll~
13620 shlibpath_overrides_runpath=yes
13624 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13625 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13626 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13629 # MinGW DLLs use traditional 'lib' prefix
13630 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13631 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13632 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13633 # It is most probably a Windows format PATH printed by
13634 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13635 # path with ; separators, and with drive letters. We can handle the
13636 # drive letters (cygwin fileutils understands them), so leave them,
13637 # especially as we might pass files found there to a mingw objdump,
13638 # which wouldn't understand a cygwinified path. Ahh.
13639 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13641 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13645 # pw32 DLLs use 'pw' prefix rather than 'lib'
13646 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13652 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13655 dynamic_linker='Win32 ld.exe'
13656 # FIXME: first we should search . and the directory the executable is in
13660 darwin* | rhapsody*)
13661 dynamic_linker="$host_os dyld"
13662 version_type=darwin
13665 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13666 soname_spec='${libname}${release}${major}$shared_ext'
13667 shlibpath_overrides_runpath=yes
13668 shlibpath_var=DYLD_LIBRARY_PATH
13669 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13671 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13679 soname_spec='${libname}${release}${shared_ext}$major'
13680 shlibpath_var=LD_LIBRARY_PATH
13687 freebsd* | dragonfly*)
13688 # DragonFly does not have aout. When/if they implement a new
13689 # versioning mechanism, adjust this.
13690 if test -x /usr/bin/objformat; then
13691 objformat=`/usr/bin/objformat`
13694 freebsd[123]*) objformat=aout ;;
13695 *) objformat=elf ;;
13698 version_type=freebsd-$objformat
13699 case $version_type in
13701 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13706 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13710 shlibpath_var=LD_LIBRARY_PATH
13713 shlibpath_overrides_runpath=yes
13715 freebsd3.[01]* | freebsdelf3.[01]*)
13716 shlibpath_overrides_runpath=yes
13717 hardcode_into_libs=yes
13719 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13720 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13721 shlibpath_overrides_runpath=no
13722 hardcode_into_libs=yes
13724 *) # from 4.6 on, and DragonFly
13725 shlibpath_overrides_runpath=yes
13726 hardcode_into_libs=yes
13735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13736 soname_spec='${libname}${release}${shared_ext}$major'
13737 shlibpath_var=LD_LIBRARY_PATH
13738 hardcode_into_libs=yes
13741 hpux9* | hpux10* | hpux11*)
13742 # Give a soname corresponding to the major version so that dld.sl refuses to
13743 # link against other versions.
13750 hardcode_into_libs=yes
13751 dynamic_linker="$host_os dld.so"
13752 shlibpath_var=LD_LIBRARY_PATH
13753 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13755 soname_spec='${libname}${release}${shared_ext}$major'
13756 if test "X$HPUX_IA64_MODE" = X32; then
13757 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13759 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13765 hardcode_into_libs=yes
13766 dynamic_linker="$host_os dld.sl"
13767 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13768 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13770 soname_spec='${libname}${release}${shared_ext}$major'
13771 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13776 dynamic_linker="$host_os dld.sl"
13777 shlibpath_var=SHLIB_PATH
13778 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
13783 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13784 postinstall_cmds='chmod 555 $lib'
13791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13792 soname_spec='${libname}${release}${shared_ext}$major'
13793 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13794 shlibpath_var=LD_LIBRARY_PATH
13795 shlibpath_overrides_runpath=no
13796 hardcode_into_libs=yes
13799 irix5* | irix6* | nonstopux*)
13801 nonstopux*) version_type=nonstopux ;;
13803 if test "$lt_cv_prog_gnu_ld" = yes; then
13811 soname_spec='${libname}${release}${shared_ext}$major'
13812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13814 irix5* | nonstopux*)
13815 libsuff= shlibsuff=
13818 case $LD in # libtool.m4 will add one of these switches to LD
13819 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13820 libsuff= shlibsuff= libmagic=32-bit;;
13821 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13822 libsuff=32 shlibsuff=N32 libmagic=N32;;
13823 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13824 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13825 *) libsuff= shlibsuff= libmagic=never-match;;
13829 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13830 shlibpath_overrides_runpath=no
13831 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13832 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13833 hardcode_into_libs=yes
13836 # No shared lib support for Linux oldld, aout, or coff.
13837 linux*oldld* | linux*aout* | linux*coff*)
13841 # This must be Linux ELF.
13842 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13847 soname_spec='${libname}${release}${shared_ext}$major'
13848 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13849 shlibpath_var=LD_LIBRARY_PATH
13850 shlibpath_overrides_runpath=no
13852 # Some binutils ld are patched to set DT_RUNPATH
13853 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
13854 echo $ECHO_N "(cached) $ECHO_C" >&6
13856 lt_cv_shlibpath_overrides_runpath=no
13857 save_LDFLAGS=$LDFLAGS
13858 save_libdir=$libdir
13859 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13860 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13861 if test x$gcc_no_link = xyes; then
13862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13864 { (exit 1); exit 1; }; }
13866 cat >conftest.$ac_ext <<_ACEOF
13871 rm -f conftest.$ac_objext conftest$ac_exeext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13873 (eval $ac_link) 2>conftest.er1
13875 grep -v '^ *+' conftest.er1 >conftest.err
13877 cat conftest.err >&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try='test -z "$ac_fc_werror_flag"
13881 || test ! -s conftest.err'
13882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13883 (eval $ac_try) 2>&5
13885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13886 (exit $ac_status); }; } &&
13887 { ac_try='test -s conftest$ac_exeext'
13888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13889 (eval $ac_try) 2>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); }; }; then
13893 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
13894 lt_cv_shlibpath_overrides_runpath=yes
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13902 rm -f conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LDFLAGS=$save_LDFLAGS
13905 libdir=$save_libdir
13909 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13911 # This implies no fast_install, which is unacceptable.
13912 # Some rework will be needed to allow for fast_install
13913 # before this can be enabled.
13914 hardcode_into_libs=yes
13916 # Append ld.so.conf contents to the search path
13917 if test -f /etc/ld.so.conf; then
13918 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' ' '`
13919 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13922 # We used to test for /lib/ld.so.1 and disable shared libraries on
13923 # powerpc, because MkLinux only supported shared libraries with the
13924 # GNU dynamic linker. Since this was broken with cross compilers,
13925 # most powerpc-linux boxes support dynamic linking these days and
13926 # people can always --disable-shared, the test was removed, and we
13927 # assume the GNU/Linux dynamic linker is in use.
13928 dynamic_linker='GNU/Linux ld.so'
13935 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13936 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13937 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13938 dynamic_linker='NetBSD (a.out) ld.so'
13940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13941 soname_spec='${libname}${release}${shared_ext}$major'
13942 dynamic_linker='NetBSD ld.elf_so'
13944 shlibpath_var=LD_LIBRARY_PATH
13945 shlibpath_overrides_runpath=yes
13946 hardcode_into_libs=yes
13951 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13952 shlibpath_var=LD_LIBRARY_PATH
13953 shlibpath_overrides_runpath=yes
13960 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13961 soname_spec='${libname}${release}${shared_ext}$major'
13962 shlibpath_var=LD_LIBRARY_PATH
13963 shlibpath_overrides_runpath=no
13964 hardcode_into_libs=yes
13965 dynamic_linker='ldqnx.so'
13970 sys_lib_dlsearch_path_spec="/usr/lib"
13972 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13974 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13975 *) need_version=no ;;
13977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13978 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13979 shlibpath_var=LD_LIBRARY_PATH
13980 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13982 openbsd2.[89] | openbsd2.[89].*)
13983 shlibpath_overrides_runpath=no
13986 shlibpath_overrides_runpath=yes
13990 shlibpath_overrides_runpath=yes
13995 libname_spec='$name'
13998 library_names_spec='$libname${shared_ext} $libname.a'
13999 dynamic_linker='OS/2 ld.exe'
14000 shlibpath_var=LIBPATH
14003 osf3* | osf4* | osf5*)
14007 soname_spec='${libname}${release}${shared_ext}$major'
14008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14009 shlibpath_var=LD_LIBRARY_PATH
14010 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14011 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14023 soname_spec='${libname}${release}${shared_ext}$major'
14024 shlibpath_var=LD_LIBRARY_PATH
14025 shlibpath_overrides_runpath=yes
14026 hardcode_into_libs=yes
14027 # ldd complains unless libraries are executable
14028 postinstall_cmds='chmod +x $lib'
14033 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14034 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14035 shlibpath_var=LD_LIBRARY_PATH
14036 shlibpath_overrides_runpath=yes
14037 if test "$with_gnu_ld" = yes; then
14045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14046 soname_spec='${libname}${release}${shared_ext}$major'
14047 shlibpath_var=LD_LIBRARY_PATH
14048 case $host_vendor in
14050 shlibpath_overrides_runpath=no
14052 runpath_var=LD_RUN_PATH
14060 shlibpath_overrides_runpath=no
14061 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14067 if test -d /usr/nec ;then
14069 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14070 soname_spec='$libname${shared_ext}.$major'
14071 shlibpath_var=LD_LIBRARY_PATH
14075 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14076 version_type=freebsd-elf
14079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14080 soname_spec='${libname}${release}${shared_ext}$major'
14081 shlibpath_var=LD_LIBRARY_PATH
14082 shlibpath_overrides_runpath=yes
14083 hardcode_into_libs=yes
14084 if test "$with_gnu_ld" = yes; then
14085 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14087 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14090 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14094 sys_lib_dlsearch_path_spec='/usr/lib'
14098 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14102 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14103 shlibpath_var=LD_LIBRARY_PATH
14104 shlibpath_overrides_runpath=no
14105 hardcode_into_libs=yes
14110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14111 soname_spec='${libname}${release}${shared_ext}$major'
14112 shlibpath_var=LD_LIBRARY_PATH
14119 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14120 echo "${ECHO_T}$dynamic_linker" >&6
14121 test "$dynamic_linker" = no && can_build_shared=no
14123 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14124 if test "$GCC" = yes; then
14125 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14128 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14129 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14131 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14132 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14170 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14171 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14172 hardcode_action_FC=
14173 if test -n "$hardcode_libdir_flag_spec_FC" ||
14174 test -n "$runpath_var_FC" ||
14175 test "X$hardcode_automatic_FC" = "Xyes" ; then
14177 # We can hardcode non-existent directories.
14178 if test "$hardcode_direct_FC" != no &&
14179 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14180 # have to relink, otherwise we might link with an installed library
14181 # when we should be linking with a yet-to-be-installed one
14182 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14183 test "$hardcode_minus_L_FC" != no; then
14184 # Linking always hardcodes the temporary library directory.
14185 hardcode_action_FC=relink
14187 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14188 hardcode_action_FC=immediate
14191 # We cannot hardcode anything, or else we can only hardcode existing
14193 hardcode_action_FC=unsupported
14195 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14196 echo "${ECHO_T}$hardcode_action_FC" >&6
14198 if test "$hardcode_action_FC" = relink ||
14199 test "$inherit_rpath_FC" = yes; then
14200 # Fast installation is not supported
14201 enable_fast_install=no
14202 elif test "$shlibpath_overrides_runpath" = yes ||
14203 test "$enable_shared" = no; then
14204 # Fast installation is not necessary
14205 enable_fast_install=needless
14214 fi # test -n "$compiler"
14218 fi # test "$_lt_disable_FC" != yes
14221 ac_cpp='$CPP $CPPFLAGS'
14222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14228 # extra LD Flags which are required for targets
14231 # Darwin needs -single_module when linking libgfortran
14232 extra_ldflags_libgfortran=-Wl,-single_module
14237 # We need a working compiler at that point, otherwise give a clear
14238 # error message and bail out.
14240 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14241 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14242 ac_ext=${FC_SRCEXT-f}
14243 ac_compile='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14244 ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14245 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
14247 cat >conftest.$ac_ext <<_ACEOF
14250 real, parameter :: bar = sin (12.34 / 2.5)
14253 rm -f conftest.$ac_objext
14254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14255 (eval $ac_compile) 2>conftest.er1
14257 grep -v '^ *+' conftest.er1 >conftest.err
14259 cat conftest.err >&5
14260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14261 (exit $ac_status); } &&
14262 { ac_try='test -z "$ac_fc_werror_flag"
14263 || test ! -s conftest.err'
14264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14265 (eval $ac_try) 2>&5
14267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14268 (exit $ac_status); }; } &&
14269 { ac_try='test -s conftest.$ac_objext'
14270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14271 (eval $ac_try) 2>&5
14273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14274 (exit $ac_status); }; }; then
14275 echo "$as_me:$LINENO: result: yes" >&5
14276 echo "${ECHO_T}yes" >&6
14278 echo "$as_me: failed program was:" >&5
14279 sed 's/^/| /' conftest.$ac_ext >&5
14281 echo "$as_me:$LINENO: result: no" >&5
14282 echo "${ECHO_T}no" >&6
14283 { { 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
14284 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14285 { (exit 1); exit 1; }; }
14288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14290 ac_cpp='$CPP $CPPFLAGS'
14291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14297 # Check whether --enable-largefile or --disable-largefile was given.
14298 if test "${enable_largefile+set}" = set; then
14299 enableval="$enable_largefile"
14302 if test "$enable_largefile" != no; then
14304 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14305 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14306 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14307 echo $ECHO_N "(cached) $ECHO_C" >&6
14309 ac_cv_sys_largefile_CC=no
14310 if test "$GCC" != yes; then
14313 # IRIX 6.2 and later do not support large files by default,
14314 # so use the C compiler's -n32 option if that helps.
14315 cat >conftest.$ac_ext <<_ACEOF
14318 cat confdefs.h >>conftest.$ac_ext
14319 cat >>conftest.$ac_ext <<_ACEOF
14320 /* end confdefs.h. */
14321 #include <sys/types.h>
14322 /* Check that off_t can represent 2**63 - 1 correctly.
14323 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14324 since some C++ compilers masquerading as C compilers
14325 incorrectly reject 9223372036854775807. */
14326 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14327 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14328 && LARGE_OFF_T % 2147483647 == 1)
14338 rm -f conftest.$ac_objext
14339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14340 (eval $ac_compile) 2>conftest.er1
14342 grep -v '^ *+' conftest.er1 >conftest.err
14344 cat conftest.err >&5
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); } &&
14347 { ac_try='test -z "$ac_c_werror_flag"
14348 || test ! -s conftest.err'
14349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14350 (eval $ac_try) 2>&5
14352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14353 (exit $ac_status); }; } &&
14354 { ac_try='test -s conftest.$ac_objext'
14355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14356 (eval $ac_try) 2>&5
14358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14359 (exit $ac_status); }; }; then
14362 echo "$as_me: failed program was:" >&5
14363 sed 's/^/| /' conftest.$ac_ext >&5
14366 rm -f conftest.err conftest.$ac_objext
14368 rm -f conftest.$ac_objext
14369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14370 (eval $ac_compile) 2>conftest.er1
14372 grep -v '^ *+' conftest.er1 >conftest.err
14374 cat conftest.err >&5
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); } &&
14377 { ac_try='test -z "$ac_c_werror_flag"
14378 || test ! -s conftest.err'
14379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14380 (eval $ac_try) 2>&5
14382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14383 (exit $ac_status); }; } &&
14384 { ac_try='test -s conftest.$ac_objext'
14385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14386 (eval $ac_try) 2>&5
14388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14389 (exit $ac_status); }; }; then
14390 ac_cv_sys_largefile_CC=' -n32'; break
14392 echo "$as_me: failed program was:" >&5
14393 sed 's/^/| /' conftest.$ac_ext >&5
14396 rm -f conftest.err conftest.$ac_objext
14400 rm -f conftest.$ac_ext
14403 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14404 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14405 if test "$ac_cv_sys_largefile_CC" != no; then
14406 CC=$CC$ac_cv_sys_largefile_CC
14409 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14410 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14411 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14412 echo $ECHO_N "(cached) $ECHO_C" >&6
14415 ac_cv_sys_file_offset_bits=no
14416 cat >conftest.$ac_ext <<_ACEOF
14419 cat confdefs.h >>conftest.$ac_ext
14420 cat >>conftest.$ac_ext <<_ACEOF
14421 /* end confdefs.h. */
14422 #include <sys/types.h>
14423 /* Check that off_t can represent 2**63 - 1 correctly.
14424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14425 since some C++ compilers masquerading as C compilers
14426 incorrectly reject 9223372036854775807. */
14427 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14429 && LARGE_OFF_T % 2147483647 == 1)
14439 rm -f conftest.$ac_objext
14440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14441 (eval $ac_compile) 2>conftest.er1
14443 grep -v '^ *+' conftest.er1 >conftest.err
14445 cat conftest.err >&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); } &&
14448 { ac_try='test -z "$ac_c_werror_flag"
14449 || test ! -s conftest.err'
14450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14451 (eval $ac_try) 2>&5
14453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14454 (exit $ac_status); }; } &&
14455 { ac_try='test -s conftest.$ac_objext'
14456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14457 (eval $ac_try) 2>&5
14459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14460 (exit $ac_status); }; }; then
14463 echo "$as_me: failed program was:" >&5
14464 sed 's/^/| /' conftest.$ac_ext >&5
14467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14468 cat >conftest.$ac_ext <<_ACEOF
14471 cat confdefs.h >>conftest.$ac_ext
14472 cat >>conftest.$ac_ext <<_ACEOF
14473 /* end confdefs.h. */
14474 #define _FILE_OFFSET_BITS 64
14475 #include <sys/types.h>
14476 /* Check that off_t can represent 2**63 - 1 correctly.
14477 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14478 since some C++ compilers masquerading as C compilers
14479 incorrectly reject 9223372036854775807. */
14480 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14481 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14482 && LARGE_OFF_T % 2147483647 == 1)
14492 rm -f conftest.$ac_objext
14493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14494 (eval $ac_compile) 2>conftest.er1
14496 grep -v '^ *+' conftest.er1 >conftest.err
14498 cat conftest.err >&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } &&
14501 { ac_try='test -z "$ac_c_werror_flag"
14502 || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_sys_file_offset_bits=64; break
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14524 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14525 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14526 if test "$ac_cv_sys_file_offset_bits" != no; then
14528 cat >>confdefs.h <<_ACEOF
14529 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14534 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14535 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14536 if test "${ac_cv_sys_large_files+set}" = set; then
14537 echo $ECHO_N "(cached) $ECHO_C" >&6
14540 ac_cv_sys_large_files=no
14541 cat >conftest.$ac_ext <<_ACEOF
14544 cat confdefs.h >>conftest.$ac_ext
14545 cat >>conftest.$ac_ext <<_ACEOF
14546 /* end confdefs.h. */
14547 #include <sys/types.h>
14548 /* Check that off_t can represent 2**63 - 1 correctly.
14549 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14550 since some C++ compilers masquerading as C compilers
14551 incorrectly reject 9223372036854775807. */
14552 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14553 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14554 && LARGE_OFF_T % 2147483647 == 1)
14564 rm -f conftest.$ac_objext
14565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14566 (eval $ac_compile) 2>conftest.er1
14568 grep -v '^ *+' conftest.er1 >conftest.err
14570 cat conftest.err >&5
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); } &&
14573 { ac_try='test -z "$ac_c_werror_flag"
14574 || test ! -s conftest.err'
14575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14576 (eval $ac_try) 2>&5
14578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14579 (exit $ac_status); }; } &&
14580 { ac_try='test -s conftest.$ac_objext'
14581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14582 (eval $ac_try) 2>&5
14584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14585 (exit $ac_status); }; }; then
14588 echo "$as_me: failed program was:" >&5
14589 sed 's/^/| /' conftest.$ac_ext >&5
14592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14593 cat >conftest.$ac_ext <<_ACEOF
14596 cat confdefs.h >>conftest.$ac_ext
14597 cat >>conftest.$ac_ext <<_ACEOF
14598 /* end confdefs.h. */
14599 #define _LARGE_FILES 1
14600 #include <sys/types.h>
14601 /* Check that off_t can represent 2**63 - 1 correctly.
14602 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14603 since some C++ compilers masquerading as C compilers
14604 incorrectly reject 9223372036854775807. */
14605 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14606 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14607 && LARGE_OFF_T % 2147483647 == 1)
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_sys_large_files=1; break
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14649 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14650 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14651 if test "$ac_cv_sys_large_files" != no; then
14653 cat >>confdefs.h <<_ACEOF
14654 #define _LARGE_FILES $ac_cv_sys_large_files
14661 echo "$as_me:$LINENO: checking for off_t" >&5
14662 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14663 if test "${ac_cv_type_off_t+set}" = set; then
14664 echo $ECHO_N "(cached) $ECHO_C" >&6
14666 cat >conftest.$ac_ext <<_ACEOF
14669 cat confdefs.h >>conftest.$ac_ext
14670 cat >>conftest.$ac_ext <<_ACEOF
14671 /* end confdefs.h. */
14672 $ac_includes_default
14678 if (sizeof (off_t))
14684 rm -f conftest.$ac_objext
14685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14686 (eval $ac_compile) 2>conftest.er1
14688 grep -v '^ *+' conftest.er1 >conftest.err
14690 cat conftest.err >&5
14691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14692 (exit $ac_status); } &&
14693 { ac_try='test -z "$ac_c_werror_flag"
14694 || test ! -s conftest.err'
14695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14696 (eval $ac_try) 2>&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); }; } &&
14700 { ac_try='test -s conftest.$ac_objext'
14701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14702 (eval $ac_try) 2>&5
14704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14705 (exit $ac_status); }; }; then
14706 ac_cv_type_off_t=yes
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14711 ac_cv_type_off_t=no
14713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14715 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14716 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14717 if test $ac_cv_type_off_t = yes; then
14721 cat >>confdefs.h <<_ACEOF
14728 # check header files
14729 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14730 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14731 if test "${ac_cv_header_stdc+set}" = set; then
14732 echo $ECHO_N "(cached) $ECHO_C" >&6
14734 cat >conftest.$ac_ext <<_ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 #include <stdlib.h>
14741 #include <stdarg.h>
14742 #include <string.h>
14753 rm -f conftest.$ac_objext
14754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14755 (eval $ac_compile) 2>conftest.er1
14757 grep -v '^ *+' conftest.er1 >conftest.err
14759 cat conftest.err >&5
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); } &&
14762 { ac_try='test -z "$ac_c_werror_flag"
14763 || test ! -s conftest.err'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; } &&
14769 { ac_try='test -s conftest.$ac_objext'
14770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14771 (eval $ac_try) 2>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); }; }; then
14775 ac_cv_header_stdc=yes
14777 echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.$ac_ext >&5
14780 ac_cv_header_stdc=no
14782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14784 if test $ac_cv_header_stdc = yes; then
14785 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14786 cat >conftest.$ac_ext <<_ACEOF
14789 cat confdefs.h >>conftest.$ac_ext
14790 cat >>conftest.$ac_ext <<_ACEOF
14791 /* end confdefs.h. */
14792 #include <string.h>
14795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14796 $EGREP "memchr" >/dev/null 2>&1; then
14799 ac_cv_header_stdc=no
14805 if test $ac_cv_header_stdc = yes; then
14806 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14807 cat >conftest.$ac_ext <<_ACEOF
14810 cat confdefs.h >>conftest.$ac_ext
14811 cat >>conftest.$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14813 #include <stdlib.h>
14816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14817 $EGREP "free" >/dev/null 2>&1; then
14820 ac_cv_header_stdc=no
14826 if test $ac_cv_header_stdc = yes; then
14827 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14828 if test "$cross_compiling" = yes; then
14831 cat >conftest.$ac_ext <<_ACEOF
14834 cat confdefs.h >>conftest.$ac_ext
14835 cat >>conftest.$ac_ext <<_ACEOF
14836 /* end confdefs.h. */
14838 #if ((' ' & 0x0FF) == 0x020)
14839 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14840 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14842 # define ISLOWER(c) \
14843 (('a' <= (c) && (c) <= 'i') \
14844 || ('j' <= (c) && (c) <= 'r') \
14845 || ('s' <= (c) && (c) <= 'z'))
14846 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14849 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14854 for (i = 0; i < 256; i++)
14855 if (XOR (islower (i), ISLOWER (i))
14856 || toupper (i) != TOUPPER (i))
14861 rm -f conftest$ac_exeext
14862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14863 (eval $ac_link) 2>&5
14865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14874 echo "$as_me: program exited with status $ac_status" >&5
14875 echo "$as_me: failed program was:" >&5
14876 sed 's/^/| /' conftest.$ac_ext >&5
14878 ( exit $ac_status )
14879 ac_cv_header_stdc=no
14881 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14885 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14886 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14887 if test $ac_cv_header_stdc = yes; then
14889 cat >>confdefs.h <<\_ACEOF
14890 #define STDC_HEADERS 1
14895 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14896 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14897 if test "${ac_cv_header_time+set}" = set; then
14898 echo $ECHO_N "(cached) $ECHO_C" >&6
14900 cat >conftest.$ac_ext <<_ACEOF
14903 cat confdefs.h >>conftest.$ac_ext
14904 cat >>conftest.$ac_ext <<_ACEOF
14905 /* end confdefs.h. */
14906 #include <sys/types.h>
14907 #include <sys/time.h>
14913 if ((struct tm *) 0)
14919 rm -f conftest.$ac_objext
14920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14921 (eval $ac_compile) 2>conftest.er1
14923 grep -v '^ *+' conftest.er1 >conftest.err
14925 cat conftest.err >&5
14926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14927 (exit $ac_status); } &&
14928 { ac_try='test -z "$ac_c_werror_flag"
14929 || test ! -s conftest.err'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; } &&
14935 { ac_try='test -s conftest.$ac_objext'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; }; then
14941 ac_cv_header_time=yes
14943 echo "$as_me: failed program was:" >&5
14944 sed 's/^/| /' conftest.$ac_ext >&5
14946 ac_cv_header_time=no
14948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14950 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14951 echo "${ECHO_T}$ac_cv_header_time" >&6
14952 if test $ac_cv_header_time = yes; then
14954 cat >>confdefs.h <<\_ACEOF
14955 #define TIME_WITH_SYS_TIME 1
14966 for ac_header in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14968 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14970 echo "$as_me:$LINENO: checking for $ac_header" >&5
14971 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14972 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14976 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14978 # Is the header compilable?
14979 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14980 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14981 cat >conftest.$ac_ext <<_ACEOF
14984 cat confdefs.h >>conftest.$ac_ext
14985 cat >>conftest.$ac_ext <<_ACEOF
14986 /* end confdefs.h. */
14987 $ac_includes_default
14988 #include <$ac_header>
14990 rm -f conftest.$ac_objext
14991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14992 (eval $ac_compile) 2>conftest.er1
14994 grep -v '^ *+' conftest.er1 >conftest.err
14996 cat conftest.err >&5
14997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14998 (exit $ac_status); } &&
14999 { ac_try='test -z "$ac_c_werror_flag"
15000 || test ! -s conftest.err'
15001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15002 (eval $ac_try) 2>&5
15004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15005 (exit $ac_status); }; } &&
15006 { ac_try='test -s conftest.$ac_objext'
15007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15008 (eval $ac_try) 2>&5
15010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15011 (exit $ac_status); }; }; then
15012 ac_header_compiler=yes
15014 echo "$as_me: failed program was:" >&5
15015 sed 's/^/| /' conftest.$ac_ext >&5
15017 ac_header_compiler=no
15019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15020 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15021 echo "${ECHO_T}$ac_header_compiler" >&6
15023 # Is the header present?
15024 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15025 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15026 cat >conftest.$ac_ext <<_ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15032 #include <$ac_header>
15034 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15035 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15037 grep -v '^ *+' conftest.er1 >conftest.err
15039 cat conftest.err >&5
15040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15041 (exit $ac_status); } >/dev/null; then
15042 if test -s conftest.err; then
15043 ac_cpp_err=$ac_c_preproc_warn_flag
15044 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15051 if test -z "$ac_cpp_err"; then
15052 ac_header_preproc=yes
15054 echo "$as_me: failed program was:" >&5
15055 sed 's/^/| /' conftest.$ac_ext >&5
15057 ac_header_preproc=no
15059 rm -f conftest.err conftest.$ac_ext
15060 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15061 echo "${ECHO_T}$ac_header_preproc" >&6
15063 # So? What about this header?
15064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15066 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15067 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15068 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15069 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15070 ac_header_preproc=yes
15073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15077 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15078 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15079 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15080 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15081 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15082 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15083 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15084 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15087 ## ------------------------------------------------------ ##
15088 ## Report this to the GNU Fortran Runtime Library lists. ##
15089 ## ------------------------------------------------------ ##
15092 sed "s/^/$as_me: WARNING: /" >&2
15095 echo "$as_me:$LINENO: checking for $ac_header" >&5
15096 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15098 echo $ECHO_N "(cached) $ECHO_C" >&6
15100 eval "$as_ac_Header=\$ac_header_preproc"
15102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15107 cat >>confdefs.h <<_ACEOF
15108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15119 for ac_header in time.h sys/time.h sys/times.h sys/resource.h
15121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15123 echo "$as_me:$LINENO: checking for $ac_header" >&5
15124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15126 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15131 # Is the header compilable?
15132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15134 cat >conftest.$ac_ext <<_ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 #include <$ac_header>
15143 rm -f conftest.$ac_objext
15144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15145 (eval $ac_compile) 2>conftest.er1
15147 grep -v '^ *+' conftest.er1 >conftest.err
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -z "$ac_c_werror_flag"
15153 || test ! -s conftest.err'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; } &&
15159 { ac_try='test -s conftest.$ac_objext'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; }; then
15165 ac_header_compiler=yes
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15170 ac_header_compiler=no
15172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15174 echo "${ECHO_T}$ac_header_compiler" >&6
15176 # Is the header present?
15177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15179 cat >conftest.$ac_ext <<_ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15185 #include <$ac_header>
15187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15190 grep -v '^ *+' conftest.er1 >conftest.err
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } >/dev/null; then
15195 if test -s conftest.err; then
15196 ac_cpp_err=$ac_c_preproc_warn_flag
15197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15204 if test -z "$ac_cpp_err"; then
15205 ac_header_preproc=yes
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 ac_header_preproc=no
15212 rm -f conftest.err conftest.$ac_ext
15213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15214 echo "${ECHO_T}$ac_header_preproc" >&6
15216 # So? What about this header?
15217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15223 ac_header_preproc=yes
15226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15240 ## ------------------------------------------------------ ##
15241 ## Report this to the GNU Fortran Runtime Library lists. ##
15242 ## ------------------------------------------------------ ##
15245 sed "s/^/$as_me: WARNING: /" >&2
15248 echo "$as_me:$LINENO: checking for $ac_header" >&5
15249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15253 eval "$as_ac_Header=\$ac_header_preproc"
15255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15260 cat >>confdefs.h <<_ACEOF
15261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15273 for ac_header in sys/types.h sys/stat.h sys/wait.h floatingpoint.h ieeefp.h
15275 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15276 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15277 echo "$as_me:$LINENO: checking for $ac_header" >&5
15278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15280 echo $ECHO_N "(cached) $ECHO_C" >&6
15282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15283 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15285 # Is the header compilable?
15286 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15288 cat >conftest.$ac_ext <<_ACEOF
15291 cat confdefs.h >>conftest.$ac_ext
15292 cat >>conftest.$ac_ext <<_ACEOF
15293 /* end confdefs.h. */
15294 $ac_includes_default
15295 #include <$ac_header>
15297 rm -f conftest.$ac_objext
15298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15299 (eval $ac_compile) 2>conftest.er1
15301 grep -v '^ *+' conftest.er1 >conftest.err
15303 cat conftest.err >&5
15304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15305 (exit $ac_status); } &&
15306 { ac_try='test -z "$ac_c_werror_flag"
15307 || test ! -s conftest.err'
15308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15309 (eval $ac_try) 2>&5
15311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15312 (exit $ac_status); }; } &&
15313 { ac_try='test -s conftest.$ac_objext'
15314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15315 (eval $ac_try) 2>&5
15317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15318 (exit $ac_status); }; }; then
15319 ac_header_compiler=yes
15321 echo "$as_me: failed program was:" >&5
15322 sed 's/^/| /' conftest.$ac_ext >&5
15324 ac_header_compiler=no
15326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15327 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15328 echo "${ECHO_T}$ac_header_compiler" >&6
15330 # Is the header present?
15331 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15332 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15333 cat >conftest.$ac_ext <<_ACEOF
15336 cat confdefs.h >>conftest.$ac_ext
15337 cat >>conftest.$ac_ext <<_ACEOF
15338 /* end confdefs.h. */
15339 #include <$ac_header>
15341 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15342 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15344 grep -v '^ *+' conftest.er1 >conftest.err
15346 cat conftest.err >&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); } >/dev/null; then
15349 if test -s conftest.err; then
15350 ac_cpp_err=$ac_c_preproc_warn_flag
15351 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15358 if test -z "$ac_cpp_err"; then
15359 ac_header_preproc=yes
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.$ac_ext >&5
15364 ac_header_preproc=no
15366 rm -f conftest.err conftest.$ac_ext
15367 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15368 echo "${ECHO_T}$ac_header_preproc" >&6
15370 # So? What about this header?
15371 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15373 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15374 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15375 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15376 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15377 ac_header_preproc=yes
15380 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15381 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15382 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15383 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15384 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15385 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15386 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15387 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15388 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15389 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15390 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15391 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15394 ## ------------------------------------------------------ ##
15395 ## Report this to the GNU Fortran Runtime Library lists. ##
15396 ## ------------------------------------------------------ ##
15399 sed "s/^/$as_me: WARNING: /" >&2
15402 echo "$as_me:$LINENO: checking for $ac_header" >&5
15403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15404 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15405 echo $ECHO_N "(cached) $ECHO_C" >&6
15407 eval "$as_ac_Header=\$ac_header_preproc"
15409 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15410 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15414 cat >>confdefs.h <<_ACEOF
15415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15427 for ac_header in fenv.h fptrap.h float.h execinfo.h pwd.h
15429 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15430 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15431 echo "$as_me:$LINENO: checking for $ac_header" >&5
15432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15434 echo $ECHO_N "(cached) $ECHO_C" >&6
15436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15439 # Is the header compilable?
15440 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15441 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15442 cat >conftest.$ac_ext <<_ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
15447 /* end confdefs.h. */
15448 $ac_includes_default
15449 #include <$ac_header>
15451 rm -f conftest.$ac_objext
15452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15453 (eval $ac_compile) 2>conftest.er1
15455 grep -v '^ *+' conftest.er1 >conftest.err
15457 cat conftest.err >&5
15458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15459 (exit $ac_status); } &&
15460 { ac_try='test -z "$ac_c_werror_flag"
15461 || test ! -s conftest.err'
15462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15463 (eval $ac_try) 2>&5
15465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15466 (exit $ac_status); }; } &&
15467 { ac_try='test -s conftest.$ac_objext'
15468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15469 (eval $ac_try) 2>&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); }; }; then
15473 ac_header_compiler=yes
15475 echo "$as_me: failed program was:" >&5
15476 sed 's/^/| /' conftest.$ac_ext >&5
15478 ac_header_compiler=no
15480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15482 echo "${ECHO_T}$ac_header_compiler" >&6
15484 # Is the header present?
15485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15487 cat >conftest.$ac_ext <<_ACEOF
15490 cat confdefs.h >>conftest.$ac_ext
15491 cat >>conftest.$ac_ext <<_ACEOF
15492 /* end confdefs.h. */
15493 #include <$ac_header>
15495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15496 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15498 grep -v '^ *+' conftest.er1 >conftest.err
15500 cat conftest.err >&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); } >/dev/null; then
15503 if test -s conftest.err; then
15504 ac_cpp_err=$ac_c_preproc_warn_flag
15505 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15512 if test -z "$ac_cpp_err"; then
15513 ac_header_preproc=yes
15515 echo "$as_me: failed program was:" >&5
15516 sed 's/^/| /' conftest.$ac_ext >&5
15518 ac_header_preproc=no
15520 rm -f conftest.err conftest.$ac_ext
15521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15522 echo "${ECHO_T}$ac_header_preproc" >&6
15524 # So? What about this header?
15525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15531 ac_header_preproc=yes
15534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15548 ## ------------------------------------------------------ ##
15549 ## Report this to the GNU Fortran Runtime Library lists. ##
15550 ## ------------------------------------------------------ ##
15553 sed "s/^/$as_me: WARNING: /" >&2
15556 echo "$as_me:$LINENO: checking for $ac_header" >&5
15557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15559 echo $ECHO_N "(cached) $ECHO_C" >&6
15561 eval "$as_ac_Header=\$ac_header_preproc"
15563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15568 cat >>confdefs.h <<_ACEOF
15569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15576 if test "${ac_cv_header_complex_h+set}" = set; then
15577 echo "$as_me:$LINENO: checking for complex.h" >&5
15578 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15579 if test "${ac_cv_header_complex_h+set}" = set; then
15580 echo $ECHO_N "(cached) $ECHO_C" >&6
15582 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15583 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15585 # Is the header compilable?
15586 echo "$as_me:$LINENO: checking complex.h usability" >&5
15587 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15588 cat >conftest.$ac_ext <<_ACEOF
15591 cat confdefs.h >>conftest.$ac_ext
15592 cat >>conftest.$ac_ext <<_ACEOF
15593 /* end confdefs.h. */
15594 $ac_includes_default
15595 #include <complex.h>
15597 rm -f conftest.$ac_objext
15598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15599 (eval $ac_compile) 2>conftest.er1
15601 grep -v '^ *+' conftest.er1 >conftest.err
15603 cat conftest.err >&5
15604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15605 (exit $ac_status); } &&
15606 { ac_try='test -z "$ac_c_werror_flag"
15607 || test ! -s conftest.err'
15608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15609 (eval $ac_try) 2>&5
15611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15612 (exit $ac_status); }; } &&
15613 { ac_try='test -s conftest.$ac_objext'
15614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15615 (eval $ac_try) 2>&5
15617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618 (exit $ac_status); }; }; then
15619 ac_header_compiler=yes
15621 echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15624 ac_header_compiler=no
15626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15627 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15628 echo "${ECHO_T}$ac_header_compiler" >&6
15630 # Is the header present?
15631 echo "$as_me:$LINENO: checking complex.h presence" >&5
15632 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15633 cat >conftest.$ac_ext <<_ACEOF
15636 cat confdefs.h >>conftest.$ac_ext
15637 cat >>conftest.$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15639 #include <complex.h>
15641 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15642 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15644 grep -v '^ *+' conftest.er1 >conftest.err
15646 cat conftest.err >&5
15647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15648 (exit $ac_status); } >/dev/null; then
15649 if test -s conftest.err; then
15650 ac_cpp_err=$ac_c_preproc_warn_flag
15651 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15658 if test -z "$ac_cpp_err"; then
15659 ac_header_preproc=yes
15661 echo "$as_me: failed program was:" >&5
15662 sed 's/^/| /' conftest.$ac_ext >&5
15664 ac_header_preproc=no
15666 rm -f conftest.err conftest.$ac_ext
15667 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15668 echo "${ECHO_T}$ac_header_preproc" >&6
15670 # So? What about this header?
15671 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15673 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15674 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15675 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15676 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15677 ac_header_preproc=yes
15680 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15681 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15682 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15683 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15684 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15685 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15686 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15687 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15688 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15689 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15690 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15691 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15694 ## ------------------------------------------------------ ##
15695 ## Report this to the GNU Fortran Runtime Library lists. ##
15696 ## ------------------------------------------------------ ##
15699 sed "s/^/$as_me: WARNING: /" >&2
15702 echo "$as_me:$LINENO: checking for complex.h" >&5
15703 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15704 if test "${ac_cv_header_complex_h+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 ac_cv_header_complex_h=$ac_header_preproc
15709 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15710 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15713 if test $ac_cv_header_complex_h = yes; then
15715 cat >>confdefs.h <<\_ACEOF
15716 #define HAVE_COMPLEX_H 1
15724 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15726 acx_cv_header_stdint=stddef.h
15727 acx_cv_header_stdint_kind="(already complete)"
15728 for i in stdint.h $inttype_headers; do
15729 unset ac_cv_type_uintptr_t
15730 unset ac_cv_type_uintmax_t
15731 unset ac_cv_type_int_least32_t
15732 unset ac_cv_type_int_fast32_t
15733 unset ac_cv_type_uint64_t
15734 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15735 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15736 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15737 if test "${ac_cv_type_uintmax_t+set}" = set; then
15738 echo $ECHO_N "(cached) $ECHO_C" >&6
15740 cat >conftest.$ac_ext <<_ACEOF
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15746 #include <sys/types.h>
15752 if ((uintmax_t *) 0)
15754 if (sizeof (uintmax_t))
15760 rm -f conftest.$ac_objext
15761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15762 (eval $ac_compile) 2>conftest.er1
15764 grep -v '^ *+' conftest.er1 >conftest.err
15766 cat conftest.err >&5
15767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15768 (exit $ac_status); } &&
15769 { ac_try='test -z "$ac_c_werror_flag"
15770 || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try='test -s conftest.$ac_objext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_type_uintmax_t=yes
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.$ac_ext >&5
15787 ac_cv_type_uintmax_t=no
15789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15791 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15792 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15793 if test $ac_cv_type_uintmax_t = yes; then
15794 acx_cv_header_stdint=$i
15799 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15800 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15801 if test "${ac_cv_type_uintptr_t+set}" = set; then
15802 echo $ECHO_N "(cached) $ECHO_C" >&6
15804 cat >conftest.$ac_ext <<_ACEOF
15807 cat confdefs.h >>conftest.$ac_ext
15808 cat >>conftest.$ac_ext <<_ACEOF
15809 /* end confdefs.h. */
15810 #include <sys/types.h>
15816 if ((uintptr_t *) 0)
15818 if (sizeof (uintptr_t))
15824 rm -f conftest.$ac_objext
15825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15826 (eval $ac_compile) 2>conftest.er1
15828 grep -v '^ *+' conftest.er1 >conftest.err
15830 cat conftest.err >&5
15831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15832 (exit $ac_status); } &&
15833 { ac_try='test -z "$ac_c_werror_flag"
15834 || test ! -s conftest.err'
15835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15836 (eval $ac_try) 2>&5
15838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15839 (exit $ac_status); }; } &&
15840 { ac_try='test -s conftest.$ac_objext'
15841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15842 (eval $ac_try) 2>&5
15844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); }; }; then
15846 ac_cv_type_uintptr_t=yes
15848 echo "$as_me: failed program was:" >&5
15849 sed 's/^/| /' conftest.$ac_ext >&5
15851 ac_cv_type_uintptr_t=no
15853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15855 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15856 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15857 if test $ac_cv_type_uintptr_t = yes; then
15860 acx_cv_header_stdint_kind="(mostly complete)"
15863 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15864 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15865 if test "${ac_cv_type_int_least32_t+set}" = set; then
15866 echo $ECHO_N "(cached) $ECHO_C" >&6
15868 cat >conftest.$ac_ext <<_ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 #include <sys/types.h>
15880 if ((int_least32_t *) 0)
15882 if (sizeof (int_least32_t))
15888 rm -f conftest.$ac_objext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15890 (eval $ac_compile) 2>conftest.er1
15892 grep -v '^ *+' conftest.er1 >conftest.err
15894 cat conftest.err >&5
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); } &&
15897 { ac_try='test -z "$ac_c_werror_flag"
15898 || test ! -s conftest.err'
15899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15900 (eval $ac_try) 2>&5
15902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15903 (exit $ac_status); }; } &&
15904 { ac_try='test -s conftest.$ac_objext'
15905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15906 (eval $ac_try) 2>&5
15908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15909 (exit $ac_status); }; }; then
15910 ac_cv_type_int_least32_t=yes
15912 echo "$as_me: failed program was:" >&5
15913 sed 's/^/| /' conftest.$ac_ext >&5
15915 ac_cv_type_int_least32_t=no
15917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15919 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15920 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15921 if test $ac_cv_type_int_least32_t = yes; then
15924 acx_cv_header_stdint_kind="(mostly complete)"
15927 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15928 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15929 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 cat >conftest.$ac_ext <<_ACEOF
15935 cat confdefs.h >>conftest.$ac_ext
15936 cat >>conftest.$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15938 #include <sys/types.h>
15944 if ((int_fast32_t *) 0)
15946 if (sizeof (int_fast32_t))
15952 rm -f conftest.$ac_objext
15953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15954 (eval $ac_compile) 2>conftest.er1
15956 grep -v '^ *+' conftest.er1 >conftest.err
15958 cat conftest.err >&5
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); } &&
15961 { ac_try='test -z "$ac_c_werror_flag"
15962 || test ! -s conftest.err'
15963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15964 (eval $ac_try) 2>&5
15966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15967 (exit $ac_status); }; } &&
15968 { ac_try='test -s conftest.$ac_objext'
15969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15970 (eval $ac_try) 2>&5
15972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15973 (exit $ac_status); }; }; then
15974 ac_cv_type_int_fast32_t=yes
15976 echo "$as_me: failed program was:" >&5
15977 sed 's/^/| /' conftest.$ac_ext >&5
15979 ac_cv_type_int_fast32_t=no
15981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15983 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15984 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15985 if test $ac_cv_type_int_fast32_t = yes; then
15988 acx_cv_header_stdint_kind="(mostly complete)"
15991 echo "$as_me:$LINENO: checking for uint64_t" >&5
15992 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15993 if test "${ac_cv_type_uint64_t+set}" = set; then
15994 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 cat >conftest.$ac_ext <<_ACEOF
15999 cat confdefs.h >>conftest.$ac_ext
16000 cat >>conftest.$ac_ext <<_ACEOF
16001 /* end confdefs.h. */
16002 #include <sys/types.h>
16008 if ((uint64_t *) 0)
16010 if (sizeof (uint64_t))
16016 rm -f conftest.$ac_objext
16017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16018 (eval $ac_compile) 2>conftest.er1
16020 grep -v '^ *+' conftest.er1 >conftest.err
16022 cat conftest.err >&5
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); } &&
16025 { ac_try='test -z "$ac_c_werror_flag"
16026 || test ! -s conftest.err'
16027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16028 (eval $ac_try) 2>&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); }; } &&
16032 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
16038 ac_cv_type_uint64_t=yes
16040 echo "$as_me: failed program was:" >&5
16041 sed 's/^/| /' conftest.$ac_ext >&5
16043 ac_cv_type_uint64_t=no
16045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16047 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16048 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16049 if test $ac_cv_type_uint64_t = yes; then
16052 acx_cv_header_stdint_kind="(lacks uint64_t)"
16057 if test "$acx_cv_header_stdint" = stddef.h; then
16058 acx_cv_header_stdint_kind="(lacks uintmax_t)"
16059 for i in stdint.h $inttype_headers; do
16060 unset ac_cv_type_uintptr_t
16061 unset ac_cv_type_uint32_t
16062 unset ac_cv_type_uint64_t
16063 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
16064 echo "$as_me:$LINENO: checking for uint32_t" >&5
16065 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
16066 if test "${ac_cv_type_uint32_t+set}" = set; then
16067 echo $ECHO_N "(cached) $ECHO_C" >&6
16069 cat >conftest.$ac_ext <<_ACEOF
16072 cat confdefs.h >>conftest.$ac_ext
16073 cat >>conftest.$ac_ext <<_ACEOF
16074 /* end confdefs.h. */
16075 #include <sys/types.h>
16081 if ((uint32_t *) 0)
16083 if (sizeof (uint32_t))
16089 rm -f conftest.$ac_objext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16091 (eval $ac_compile) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1 >conftest.err
16095 cat conftest.err >&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try='test -z "$ac_c_werror_flag"
16099 || test ! -s conftest.err'
16100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16101 (eval $ac_try) 2>&5
16103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16104 (exit $ac_status); }; } &&
16105 { ac_try='test -s conftest.$ac_objext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 ac_cv_type_uint32_t=yes
16113 echo "$as_me: failed program was:" >&5
16114 sed 's/^/| /' conftest.$ac_ext >&5
16116 ac_cv_type_uint32_t=no
16118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16120 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16121 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16122 if test $ac_cv_type_uint32_t = yes; then
16123 acx_cv_header_stdint=$i
16128 echo "$as_me:$LINENO: checking for uint64_t" >&5
16129 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16130 if test "${ac_cv_type_uint64_t+set}" = set; then
16131 echo $ECHO_N "(cached) $ECHO_C" >&6
16133 cat >conftest.$ac_ext <<_ACEOF
16136 cat confdefs.h >>conftest.$ac_ext
16137 cat >>conftest.$ac_ext <<_ACEOF
16138 /* end confdefs.h. */
16139 #include <sys/types.h>
16145 if ((uint64_t *) 0)
16147 if (sizeof (uint64_t))
16153 rm -f conftest.$ac_objext
16154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16155 (eval $ac_compile) 2>conftest.er1
16157 grep -v '^ *+' conftest.er1 >conftest.err
16159 cat conftest.err >&5
16160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16161 (exit $ac_status); } &&
16162 { ac_try='test -z "$ac_c_werror_flag"
16163 || test ! -s conftest.err'
16164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16165 (eval $ac_try) 2>&5
16167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16168 (exit $ac_status); }; } &&
16169 { ac_try='test -s conftest.$ac_objext'
16170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16171 (eval $ac_try) 2>&5
16173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16174 (exit $ac_status); }; }; then
16175 ac_cv_type_uint64_t=yes
16177 echo "$as_me: failed program was:" >&5
16178 sed 's/^/| /' conftest.$ac_ext >&5
16180 ac_cv_type_uint64_t=no
16182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16184 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16185 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16187 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16188 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16189 if test "${ac_cv_type_uintptr_t+set}" = set; then
16190 echo $ECHO_N "(cached) $ECHO_C" >&6
16192 cat >conftest.$ac_ext <<_ACEOF
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 #include <sys/types.h>
16204 if ((uintptr_t *) 0)
16206 if (sizeof (uintptr_t))
16212 rm -f conftest.$ac_objext
16213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16214 (eval $ac_compile) 2>conftest.er1
16216 grep -v '^ *+' conftest.er1 >conftest.err
16218 cat conftest.err >&5
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); } &&
16221 { ac_try='test -z "$ac_c_werror_flag"
16222 || test ! -s conftest.err'
16223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16224 (eval $ac_try) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }; } &&
16228 { ac_try='test -s conftest.$ac_objext'
16229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16230 (eval $ac_try) 2>&5
16232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16233 (exit $ac_status); }; }; then
16234 ac_cv_type_uintptr_t=yes
16236 echo "$as_me: failed program was:" >&5
16237 sed 's/^/| /' conftest.$ac_ext >&5
16239 ac_cv_type_uintptr_t=no
16241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16243 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16244 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16249 if test "$acx_cv_header_stdint" = stddef.h; then
16250 acx_cv_header_stdint_kind="(u_intXX_t style)"
16251 for i in sys/types.h $inttype_headers; do
16252 unset ac_cv_type_u_int32_t
16253 unset ac_cv_type_u_int64_t
16254 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16255 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16256 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16257 if test "${ac_cv_type_u_int32_t+set}" = set; then
16258 echo $ECHO_N "(cached) $ECHO_C" >&6
16260 cat >conftest.$ac_ext <<_ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <sys/types.h>
16272 if ((u_int32_t *) 0)
16274 if (sizeof (u_int32_t))
16280 rm -f conftest.$ac_objext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>conftest.er1
16284 grep -v '^ *+' conftest.er1 >conftest.err
16286 cat conftest.err >&5
16287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16288 (exit $ac_status); } &&
16289 { ac_try='test -z "$ac_c_werror_flag"
16290 || test ! -s conftest.err'
16291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16292 (eval $ac_try) 2>&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); }; } &&
16296 { ac_try='test -s conftest.$ac_objext'
16297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16298 (eval $ac_try) 2>&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); }; }; then
16302 ac_cv_type_u_int32_t=yes
16304 echo "$as_me: failed program was:" >&5
16305 sed 's/^/| /' conftest.$ac_ext >&5
16307 ac_cv_type_u_int32_t=no
16309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16311 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16312 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16313 if test $ac_cv_type_u_int32_t = yes; then
16314 acx_cv_header_stdint=$i
16319 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16320 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16321 if test "${ac_cv_type_u_int64_t+set}" = set; then
16322 echo $ECHO_N "(cached) $ECHO_C" >&6
16324 cat >conftest.$ac_ext <<_ACEOF
16327 cat confdefs.h >>conftest.$ac_ext
16328 cat >>conftest.$ac_ext <<_ACEOF
16329 /* end confdefs.h. */
16330 #include <sys/types.h>
16336 if ((u_int64_t *) 0)
16338 if (sizeof (u_int64_t))
16344 rm -f conftest.$ac_objext
16345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16346 (eval $ac_compile) 2>conftest.er1
16348 grep -v '^ *+' conftest.er1 >conftest.err
16350 cat conftest.err >&5
16351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16352 (exit $ac_status); } &&
16353 { ac_try='test -z "$ac_c_werror_flag"
16354 || test ! -s conftest.err'
16355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16356 (eval $ac_try) 2>&5
16358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16359 (exit $ac_status); }; } &&
16360 { ac_try='test -s conftest.$ac_objext'
16361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16362 (eval $ac_try) 2>&5
16364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16365 (exit $ac_status); }; }; then
16366 ac_cv_type_u_int64_t=yes
16368 echo "$as_me: failed program was:" >&5
16369 sed 's/^/| /' conftest.$ac_ext >&5
16371 ac_cv_type_u_int64_t=no
16373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16375 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16376 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16381 if test "$acx_cv_header_stdint" = stddef.h; then
16382 acx_cv_header_stdint_kind="(using manual detection)"
16385 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
16386 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
16387 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
16388 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
16389 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
16391 # ----------------- Summarize what we found so far
16393 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16394 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16396 case `$as_basename gstdint.h ||
16397 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16398 Xgstdint.h : 'X\(//\)$' \| \
16399 Xgstdint.h : 'X\(/\)$' \| \
16400 . : '\(.\)' 2>/dev/null ||
16402 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16403 /^X\/\(\/\/\)$/{ s//\1/; q; }
16404 /^X\/\(\/\).*/{ s//\1/; q; }
16406 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16407 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16408 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16409 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16413 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16414 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16416 # ----------------- done included file, check C basic types --------
16418 # Lacking an uintptr_t? Test size of void *
16419 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16420 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
16421 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16422 if test "${ac_cv_type_void_p+set}" = set; then
16423 echo $ECHO_N "(cached) $ECHO_C" >&6
16425 cat >conftest.$ac_ext <<_ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 $ac_includes_default
16437 if (sizeof (void *))
16443 rm -f conftest.$ac_objext
16444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16445 (eval $ac_compile) 2>conftest.er1
16447 grep -v '^ *+' conftest.er1 >conftest.err
16449 cat conftest.err >&5
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); } &&
16452 { ac_try='test -z "$ac_c_werror_flag"
16453 || test ! -s conftest.err'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; } &&
16459 { ac_try='test -s conftest.$ac_objext'
16460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16461 (eval $ac_try) 2>&5
16463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16464 (exit $ac_status); }; }; then
16465 ac_cv_type_void_p=yes
16467 echo "$as_me: failed program was:" >&5
16468 sed 's/^/| /' conftest.$ac_ext >&5
16470 ac_cv_type_void_p=no
16472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16474 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16475 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16477 echo "$as_me:$LINENO: checking size of void *" >&5
16478 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16479 if test "${ac_cv_sizeof_void_p+set}" = set; then
16480 echo $ECHO_N "(cached) $ECHO_C" >&6
16482 if test "$ac_cv_type_void_p" = yes; then
16483 # The cast to unsigned long works around a bug in the HP C Compiler
16484 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16485 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16486 # This bug is HP SR number 8606223364.
16487 if test "$cross_compiling" = yes; then
16488 # Depending upon the size, compute the lo and hi bounds.
16489 cat >conftest.$ac_ext <<_ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 $ac_includes_default
16499 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16506 rm -f conftest.$ac_objext
16507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16508 (eval $ac_compile) 2>conftest.er1
16510 grep -v '^ *+' conftest.er1 >conftest.err
16512 cat conftest.err >&5
16513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16514 (exit $ac_status); } &&
16515 { ac_try='test -z "$ac_c_werror_flag"
16516 || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16530 cat >conftest.$ac_ext <<_ACEOF
16533 cat confdefs.h >>conftest.$ac_ext
16534 cat >>conftest.$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16536 $ac_includes_default
16540 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16547 rm -f conftest.$ac_objext
16548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16549 (eval $ac_compile) 2>conftest.er1
16551 grep -v '^ *+' conftest.er1 >conftest.err
16553 cat conftest.err >&5
16554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555 (exit $ac_status); } &&
16556 { ac_try='test -z "$ac_c_werror_flag"
16557 || test ! -s conftest.err'
16558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16559 (eval $ac_try) 2>&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); }; } &&
16563 { ac_try='test -s conftest.$ac_objext'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; }; then
16569 ac_hi=$ac_mid; break
16571 echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16574 ac_lo=`expr $ac_mid + 1`
16575 if test $ac_lo -le $ac_mid; then
16579 ac_mid=`expr 2 '*' $ac_mid + 1`
16581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16584 echo "$as_me: failed program was:" >&5
16585 sed 's/^/| /' conftest.$ac_ext >&5
16587 cat >conftest.$ac_ext <<_ACEOF
16590 cat confdefs.h >>conftest.$ac_ext
16591 cat >>conftest.$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 $ac_includes_default
16597 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16604 rm -f conftest.$ac_objext
16605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16606 (eval $ac_compile) 2>conftest.er1
16608 grep -v '^ *+' conftest.er1 >conftest.err
16610 cat conftest.err >&5
16611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16612 (exit $ac_status); } &&
16613 { ac_try='test -z "$ac_c_werror_flag"
16614 || test ! -s conftest.err'
16615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16616 (eval $ac_try) 2>&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); }; } &&
16620 { ac_try='test -s conftest.$ac_objext'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; }; then
16628 cat >conftest.$ac_ext <<_ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 $ac_includes_default
16638 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16645 rm -f conftest.$ac_objext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 (eval $ac_compile) 2>conftest.er1
16649 grep -v '^ *+' conftest.er1 >conftest.err
16651 cat conftest.err >&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try='test -z "$ac_c_werror_flag"
16655 || test ! -s conftest.err'
16656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16657 (eval $ac_try) 2>&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); }; } &&
16661 { ac_try='test -s conftest.$ac_objext'
16662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16663 (eval $ac_try) 2>&5
16665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16666 (exit $ac_status); }; }; then
16667 ac_lo=$ac_mid; break
16669 echo "$as_me: failed program was:" >&5
16670 sed 's/^/| /' conftest.$ac_ext >&5
16672 ac_hi=`expr '(' $ac_mid ')' - 1`
16673 if test $ac_mid -le $ac_hi; then
16677 ac_mid=`expr 2 '*' $ac_mid`
16679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16682 echo "$as_me: failed program was:" >&5
16683 sed 's/^/| /' conftest.$ac_ext >&5
16687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16690 # Binary search between lo and hi bounds.
16691 while test "x$ac_lo" != "x$ac_hi"; do
16692 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16693 cat >conftest.$ac_ext <<_ACEOF
16696 cat confdefs.h >>conftest.$ac_ext
16697 cat >>conftest.$ac_ext <<_ACEOF
16698 /* end confdefs.h. */
16699 $ac_includes_default
16703 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16710 rm -f conftest.$ac_objext
16711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16712 (eval $ac_compile) 2>conftest.er1
16714 grep -v '^ *+' conftest.er1 >conftest.err
16716 cat conftest.err >&5
16717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16718 (exit $ac_status); } &&
16719 { ac_try='test -z "$ac_c_werror_flag"
16720 || test ! -s conftest.err'
16721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16722 (eval $ac_try) 2>&5
16724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725 (exit $ac_status); }; } &&
16726 { ac_try='test -s conftest.$ac_objext'
16727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16728 (eval $ac_try) 2>&5
16730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16731 (exit $ac_status); }; }; then
16734 echo "$as_me: failed program was:" >&5
16735 sed 's/^/| /' conftest.$ac_ext >&5
16737 ac_lo=`expr '(' $ac_mid ')' + 1`
16739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16742 ?*) ac_cv_sizeof_void_p=$ac_lo;;
16743 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16744 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16745 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16746 See \`config.log' for more details." >&5
16747 echo "$as_me: error: cannot compute sizeof (void *), 77
16748 See \`config.log' for more details." >&2;}
16749 { (exit 1); exit 1; }; }; } ;;
16752 if test "$cross_compiling" = yes; then
16753 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16754 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16755 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16756 See \`config.log' for more details." >&5
16757 echo "$as_me: error: cannot run test program while cross compiling
16758 See \`config.log' for more details." >&2;}
16759 { (exit 1); exit 1; }; }; }
16761 cat >conftest.$ac_ext <<_ACEOF
16764 cat confdefs.h >>conftest.$ac_ext
16765 cat >>conftest.$ac_ext <<_ACEOF
16766 /* end confdefs.h. */
16767 $ac_includes_default
16768 long longval () { return (long) (sizeof (void *)); }
16769 unsigned long ulongval () { return (long) (sizeof (void *)); }
16771 #include <stdlib.h>
16776 FILE *f = fopen ("conftest.val", "w");
16779 if (((long) (sizeof (void *))) < 0)
16781 long i = longval ();
16782 if (i != ((long) (sizeof (void *))))
16784 fprintf (f, "%ld\n", i);
16788 unsigned long i = ulongval ();
16789 if (i != ((long) (sizeof (void *))))
16791 fprintf (f, "%lu\n", i);
16793 exit (ferror (f) || fclose (f) != 0);
16799 rm -f conftest$ac_exeext
16800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16801 (eval $ac_link) 2>&5
16803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16804 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16806 (eval $ac_try) 2>&5
16808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16809 (exit $ac_status); }; }; then
16810 ac_cv_sizeof_void_p=`cat conftest.val`
16812 echo "$as_me: program exited with status $ac_status" >&5
16813 echo "$as_me: failed program was:" >&5
16814 sed 's/^/| /' conftest.$ac_ext >&5
16816 ( exit $ac_status )
16817 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16818 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16819 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16820 See \`config.log' for more details." >&5
16821 echo "$as_me: error: cannot compute sizeof (void *), 77
16822 See \`config.log' for more details." >&2;}
16823 { (exit 1); exit 1; }; }; }
16825 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16830 ac_cv_sizeof_void_p=0
16833 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16834 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16835 cat >>confdefs.h <<_ACEOF
16836 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16842 # Lacking an uint64_t? Test size of long
16843 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16844 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
16845 echo $ECHO_N "checking for long... $ECHO_C" >&6
16846 if test "${ac_cv_type_long+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 cat >conftest.$ac_ext <<_ACEOF
16852 cat confdefs.h >>conftest.$ac_ext
16853 cat >>conftest.$ac_ext <<_ACEOF
16854 /* end confdefs.h. */
16855 $ac_includes_default
16867 rm -f conftest.$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1 >conftest.err
16873 cat conftest.err >&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try='test -z "$ac_c_werror_flag"
16877 || test ! -s conftest.err'
16878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16879 (eval $ac_try) 2>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); }; } &&
16883 { ac_try='test -s conftest.$ac_objext'
16884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16885 (eval $ac_try) 2>&5
16887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16888 (exit $ac_status); }; }; then
16889 ac_cv_type_long=yes
16891 echo "$as_me: failed program was:" >&5
16892 sed 's/^/| /' conftest.$ac_ext >&5
16896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16898 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16899 echo "${ECHO_T}$ac_cv_type_long" >&6
16901 echo "$as_me:$LINENO: checking size of long" >&5
16902 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16903 if test "${ac_cv_sizeof_long+set}" = set; then
16904 echo $ECHO_N "(cached) $ECHO_C" >&6
16906 if test "$ac_cv_type_long" = yes; then
16907 # The cast to unsigned long works around a bug in the HP C Compiler
16908 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16909 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16910 # This bug is HP SR number 8606223364.
16911 if test "$cross_compiling" = yes; then
16912 # Depending upon the size, compute the lo and hi bounds.
16913 cat >conftest.$ac_ext <<_ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919 $ac_includes_default
16923 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16930 rm -f conftest.$ac_objext
16931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16932 (eval $ac_compile) 2>conftest.er1
16934 grep -v '^ *+' conftest.er1 >conftest.err
16936 cat conftest.err >&5
16937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16938 (exit $ac_status); } &&
16939 { ac_try='test -z "$ac_c_werror_flag"
16940 || test ! -s conftest.err'
16941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16942 (eval $ac_try) 2>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); }; } &&
16946 { ac_try='test -s conftest.$ac_objext'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; }; then
16954 cat >conftest.$ac_ext <<_ACEOF
16957 cat confdefs.h >>conftest.$ac_ext
16958 cat >>conftest.$ac_ext <<_ACEOF
16959 /* end confdefs.h. */
16960 $ac_includes_default
16964 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16971 rm -f conftest.$ac_objext
16972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16973 (eval $ac_compile) 2>conftest.er1
16975 grep -v '^ *+' conftest.er1 >conftest.err
16977 cat conftest.err >&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); } &&
16980 { ac_try='test -z "$ac_c_werror_flag"
16981 || test ! -s conftest.err'
16982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16983 (eval $ac_try) 2>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); }; } &&
16987 { ac_try='test -s conftest.$ac_objext'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; }; then
16993 ac_hi=$ac_mid; break
16995 echo "$as_me: failed program was:" >&5
16996 sed 's/^/| /' conftest.$ac_ext >&5
16998 ac_lo=`expr $ac_mid + 1`
16999 if test $ac_lo -le $ac_mid; then
17003 ac_mid=`expr 2 '*' $ac_mid + 1`
17005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17008 echo "$as_me: failed program was:" >&5
17009 sed 's/^/| /' conftest.$ac_ext >&5
17011 cat >conftest.$ac_ext <<_ACEOF
17014 cat confdefs.h >>conftest.$ac_ext
17015 cat >>conftest.$ac_ext <<_ACEOF
17016 /* end confdefs.h. */
17017 $ac_includes_default
17021 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
17028 rm -f conftest.$ac_objext
17029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17030 (eval $ac_compile) 2>conftest.er1
17032 grep -v '^ *+' conftest.er1 >conftest.err
17034 cat conftest.err >&5
17035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17036 (exit $ac_status); } &&
17037 { ac_try='test -z "$ac_c_werror_flag"
17038 || test ! -s conftest.err'
17039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17040 (eval $ac_try) 2>&5
17042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17043 (exit $ac_status); }; } &&
17044 { ac_try='test -s conftest.$ac_objext'
17045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17046 (eval $ac_try) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17052 cat >conftest.$ac_ext <<_ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 $ac_includes_default
17062 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
17069 rm -f conftest.$ac_objext
17070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17071 (eval $ac_compile) 2>conftest.er1
17073 grep -v '^ *+' conftest.er1 >conftest.err
17075 cat conftest.err >&5
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); } &&
17078 { ac_try='test -z "$ac_c_werror_flag"
17079 || test ! -s conftest.err'
17080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17081 (eval $ac_try) 2>&5
17083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17084 (exit $ac_status); }; } &&
17085 { ac_try='test -s conftest.$ac_objext'
17086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17087 (eval $ac_try) 2>&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); }; }; then
17091 ac_lo=$ac_mid; break
17093 echo "$as_me: failed program was:" >&5
17094 sed 's/^/| /' conftest.$ac_ext >&5
17096 ac_hi=`expr '(' $ac_mid ')' - 1`
17097 if test $ac_mid -le $ac_hi; then
17101 ac_mid=`expr 2 '*' $ac_mid`
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17114 # Binary search between lo and hi bounds.
17115 while test "x$ac_lo" != "x$ac_hi"; do
17116 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17117 cat >conftest.$ac_ext <<_ACEOF
17120 cat confdefs.h >>conftest.$ac_ext
17121 cat >>conftest.$ac_ext <<_ACEOF
17122 /* end confdefs.h. */
17123 $ac_includes_default
17127 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17134 rm -f conftest.$ac_objext
17135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17136 (eval $ac_compile) 2>conftest.er1
17138 grep -v '^ *+' conftest.er1 >conftest.err
17140 cat conftest.err >&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try='test -z "$ac_c_werror_flag"
17144 || test ! -s conftest.err'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; } &&
17150 { ac_try='test -s conftest.$ac_objext'
17151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17152 (eval $ac_try) 2>&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); }; }; then
17158 echo "$as_me: failed program was:" >&5
17159 sed 's/^/| /' conftest.$ac_ext >&5
17161 ac_lo=`expr '(' $ac_mid ')' + 1`
17163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17166 ?*) ac_cv_sizeof_long=$ac_lo;;
17167 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17168 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17169 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17170 See \`config.log' for more details." >&5
17171 echo "$as_me: error: cannot compute sizeof (long), 77
17172 See \`config.log' for more details." >&2;}
17173 { (exit 1); exit 1; }; }; } ;;
17176 if test "$cross_compiling" = yes; then
17177 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17178 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17179 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17180 See \`config.log' for more details." >&5
17181 echo "$as_me: error: cannot run test program while cross compiling
17182 See \`config.log' for more details." >&2;}
17183 { (exit 1); exit 1; }; }; }
17185 cat >conftest.$ac_ext <<_ACEOF
17188 cat confdefs.h >>conftest.$ac_ext
17189 cat >>conftest.$ac_ext <<_ACEOF
17190 /* end confdefs.h. */
17191 $ac_includes_default
17192 long longval () { return (long) (sizeof (long)); }
17193 unsigned long ulongval () { return (long) (sizeof (long)); }
17195 #include <stdlib.h>
17200 FILE *f = fopen ("conftest.val", "w");
17203 if (((long) (sizeof (long))) < 0)
17205 long i = longval ();
17206 if (i != ((long) (sizeof (long))))
17208 fprintf (f, "%ld\n", i);
17212 unsigned long i = ulongval ();
17213 if (i != ((long) (sizeof (long))))
17215 fprintf (f, "%lu\n", i);
17217 exit (ferror (f) || fclose (f) != 0);
17223 rm -f conftest$ac_exeext
17224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17225 (eval $ac_link) 2>&5
17227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17228 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17230 (eval $ac_try) 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17234 ac_cv_sizeof_long=`cat conftest.val`
17236 echo "$as_me: program exited with status $ac_status" >&5
17237 echo "$as_me: failed program was:" >&5
17238 sed 's/^/| /' conftest.$ac_ext >&5
17240 ( exit $ac_status )
17241 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17242 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17243 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17244 See \`config.log' for more details." >&5
17245 echo "$as_me: error: cannot compute sizeof (long), 77
17246 See \`config.log' for more details." >&2;}
17247 { (exit 1); exit 1; }; }; }
17249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17254 ac_cv_sizeof_long=0
17257 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17258 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17259 cat >>confdefs.h <<_ACEOF
17260 #define SIZEOF_LONG $ac_cv_sizeof_long
17266 if test $acx_cv_header_stdint = stddef.h; then
17267 # Lacking a good header? Test size of everything and deduce all types.
17268 echo "$as_me:$LINENO: checking for int" >&5
17269 echo $ECHO_N "checking for int... $ECHO_C" >&6
17270 if test "${ac_cv_type_int+set}" = set; then
17271 echo $ECHO_N "(cached) $ECHO_C" >&6
17273 cat >conftest.$ac_ext <<_ACEOF
17276 cat confdefs.h >>conftest.$ac_ext
17277 cat >>conftest.$ac_ext <<_ACEOF
17278 /* end confdefs.h. */
17279 $ac_includes_default
17291 rm -f conftest.$ac_objext
17292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17293 (eval $ac_compile) 2>conftest.er1
17295 grep -v '^ *+' conftest.er1 >conftest.err
17297 cat conftest.err >&5
17298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299 (exit $ac_status); } &&
17300 { ac_try='test -z "$ac_c_werror_flag"
17301 || test ! -s conftest.err'
17302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17303 (eval $ac_try) 2>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); }; } &&
17307 { ac_try='test -s conftest.$ac_objext'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; }; then
17315 echo "$as_me: failed program was:" >&5
17316 sed 's/^/| /' conftest.$ac_ext >&5
17320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17322 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17323 echo "${ECHO_T}$ac_cv_type_int" >&6
17325 echo "$as_me:$LINENO: checking size of int" >&5
17326 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17327 if test "${ac_cv_sizeof_int+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 if test "$ac_cv_type_int" = yes; then
17331 # The cast to unsigned long works around a bug in the HP C Compiler
17332 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17333 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17334 # This bug is HP SR number 8606223364.
17335 if test "$cross_compiling" = yes; then
17336 # Depending upon the size, compute the lo and hi bounds.
17337 cat >conftest.$ac_ext <<_ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17347 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17354 rm -f conftest.$ac_objext
17355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17356 (eval $ac_compile) 2>conftest.er1
17358 grep -v '^ *+' conftest.er1 >conftest.err
17360 cat conftest.err >&5
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); } &&
17363 { ac_try='test -z "$ac_c_werror_flag"
17364 || test ! -s conftest.err'
17365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17366 (eval $ac_try) 2>&5
17368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17369 (exit $ac_status); }; } &&
17370 { ac_try='test -s conftest.$ac_objext'
17371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17372 (eval $ac_try) 2>&5
17374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17375 (exit $ac_status); }; }; then
17378 cat >conftest.$ac_ext <<_ACEOF
17381 cat confdefs.h >>conftest.$ac_ext
17382 cat >>conftest.$ac_ext <<_ACEOF
17383 /* end confdefs.h. */
17384 $ac_includes_default
17388 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17395 rm -f conftest.$ac_objext
17396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17397 (eval $ac_compile) 2>conftest.er1
17399 grep -v '^ *+' conftest.er1 >conftest.err
17401 cat conftest.err >&5
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); } &&
17404 { ac_try='test -z "$ac_c_werror_flag"
17405 || test ! -s conftest.err'
17406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17407 (eval $ac_try) 2>&5
17409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17410 (exit $ac_status); }; } &&
17411 { ac_try='test -s conftest.$ac_objext'
17412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17413 (eval $ac_try) 2>&5
17415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17416 (exit $ac_status); }; }; then
17417 ac_hi=$ac_mid; break
17419 echo "$as_me: failed program was:" >&5
17420 sed 's/^/| /' conftest.$ac_ext >&5
17422 ac_lo=`expr $ac_mid + 1`
17423 if test $ac_lo -le $ac_mid; then
17427 ac_mid=`expr 2 '*' $ac_mid + 1`
17429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17432 echo "$as_me: failed program was:" >&5
17433 sed 's/^/| /' conftest.$ac_ext >&5
17435 cat >conftest.$ac_ext <<_ACEOF
17438 cat confdefs.h >>conftest.$ac_ext
17439 cat >>conftest.$ac_ext <<_ACEOF
17440 /* end confdefs.h. */
17441 $ac_includes_default
17445 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17452 rm -f conftest.$ac_objext
17453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17454 (eval $ac_compile) 2>conftest.er1
17456 grep -v '^ *+' conftest.er1 >conftest.err
17458 cat conftest.err >&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); } &&
17461 { ac_try='test -z "$ac_c_werror_flag"
17462 || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17476 cat >conftest.$ac_ext <<_ACEOF
17479 cat confdefs.h >>conftest.$ac_ext
17480 cat >>conftest.$ac_ext <<_ACEOF
17481 /* end confdefs.h. */
17482 $ac_includes_default
17486 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17497 grep -v '^ *+' conftest.er1 >conftest.err
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_c_werror_flag"
17503 || test ! -s conftest.err'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; } &&
17509 { ac_try='test -s conftest.$ac_objext'
17510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17511 (eval $ac_try) 2>&5
17513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17514 (exit $ac_status); }; }; then
17515 ac_lo=$ac_mid; break
17517 echo "$as_me: failed program was:" >&5
17518 sed 's/^/| /' conftest.$ac_ext >&5
17520 ac_hi=`expr '(' $ac_mid ')' - 1`
17521 if test $ac_mid -le $ac_hi; then
17525 ac_mid=`expr 2 '*' $ac_mid`
17527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17530 echo "$as_me: failed program was:" >&5
17531 sed 's/^/| /' conftest.$ac_ext >&5
17535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17538 # Binary search between lo and hi bounds.
17539 while test "x$ac_lo" != "x$ac_hi"; do
17540 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17541 cat >conftest.$ac_ext <<_ACEOF
17544 cat confdefs.h >>conftest.$ac_ext
17545 cat >>conftest.$ac_ext <<_ACEOF
17546 /* end confdefs.h. */
17547 $ac_includes_default
17551 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17558 rm -f conftest.$ac_objext
17559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17560 (eval $ac_compile) 2>conftest.er1
17562 grep -v '^ *+' conftest.er1 >conftest.err
17564 cat conftest.err >&5
17565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17566 (exit $ac_status); } &&
17567 { ac_try='test -z "$ac_c_werror_flag"
17568 || test ! -s conftest.err'
17569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17570 (eval $ac_try) 2>&5
17572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17573 (exit $ac_status); }; } &&
17574 { ac_try='test -s conftest.$ac_objext'
17575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17576 (eval $ac_try) 2>&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); }; }; then
17582 echo "$as_me: failed program was:" >&5
17583 sed 's/^/| /' conftest.$ac_ext >&5
17585 ac_lo=`expr '(' $ac_mid ')' + 1`
17587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17590 ?*) ac_cv_sizeof_int=$ac_lo;;
17591 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17592 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17593 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17594 See \`config.log' for more details." >&5
17595 echo "$as_me: error: cannot compute sizeof (int), 77
17596 See \`config.log' for more details." >&2;}
17597 { (exit 1); exit 1; }; }; } ;;
17600 if test "$cross_compiling" = yes; then
17601 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17602 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17603 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17604 See \`config.log' for more details." >&5
17605 echo "$as_me: error: cannot run test program while cross compiling
17606 See \`config.log' for more details." >&2;}
17607 { (exit 1); exit 1; }; }; }
17609 cat >conftest.$ac_ext <<_ACEOF
17612 cat confdefs.h >>conftest.$ac_ext
17613 cat >>conftest.$ac_ext <<_ACEOF
17614 /* end confdefs.h. */
17615 $ac_includes_default
17616 long longval () { return (long) (sizeof (int)); }
17617 unsigned long ulongval () { return (long) (sizeof (int)); }
17619 #include <stdlib.h>
17624 FILE *f = fopen ("conftest.val", "w");
17627 if (((long) (sizeof (int))) < 0)
17629 long i = longval ();
17630 if (i != ((long) (sizeof (int))))
17632 fprintf (f, "%ld\n", i);
17636 unsigned long i = ulongval ();
17637 if (i != ((long) (sizeof (int))))
17639 fprintf (f, "%lu\n", i);
17641 exit (ferror (f) || fclose (f) != 0);
17647 rm -f conftest$ac_exeext
17648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17649 (eval $ac_link) 2>&5
17651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17652 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; }; then
17658 ac_cv_sizeof_int=`cat conftest.val`
17660 echo "$as_me: program exited with status $ac_status" >&5
17661 echo "$as_me: failed program was:" >&5
17662 sed 's/^/| /' conftest.$ac_ext >&5
17664 ( exit $ac_status )
17665 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17666 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17667 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17668 See \`config.log' for more details." >&5
17669 echo "$as_me: error: cannot compute sizeof (int), 77
17670 See \`config.log' for more details." >&2;}
17671 { (exit 1); exit 1; }; }; }
17673 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17681 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17682 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17683 cat >>confdefs.h <<_ACEOF
17684 #define SIZEOF_INT $ac_cv_sizeof_int
17688 echo "$as_me:$LINENO: checking for short" >&5
17689 echo $ECHO_N "checking for short... $ECHO_C" >&6
17690 if test "${ac_cv_type_short+set}" = set; then
17691 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 cat >conftest.$ac_ext <<_ACEOF
17696 cat confdefs.h >>conftest.$ac_ext
17697 cat >>conftest.$ac_ext <<_ACEOF
17698 /* end confdefs.h. */
17699 $ac_includes_default
17705 if (sizeof (short))
17711 rm -f conftest.$ac_objext
17712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17713 (eval $ac_compile) 2>conftest.er1
17715 grep -v '^ *+' conftest.er1 >conftest.err
17717 cat conftest.err >&5
17718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17719 (exit $ac_status); } &&
17720 { ac_try='test -z "$ac_c_werror_flag"
17721 || test ! -s conftest.err'
17722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17723 (eval $ac_try) 2>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); }; } &&
17727 { ac_try='test -s conftest.$ac_objext'
17728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17729 (eval $ac_try) 2>&5
17731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17732 (exit $ac_status); }; }; then
17733 ac_cv_type_short=yes
17735 echo "$as_me: failed program was:" >&5
17736 sed 's/^/| /' conftest.$ac_ext >&5
17738 ac_cv_type_short=no
17740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17742 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17743 echo "${ECHO_T}$ac_cv_type_short" >&6
17745 echo "$as_me:$LINENO: checking size of short" >&5
17746 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17747 if test "${ac_cv_sizeof_short+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17750 if test "$ac_cv_type_short" = yes; then
17751 # The cast to unsigned long works around a bug in the HP C Compiler
17752 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17753 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17754 # This bug is HP SR number 8606223364.
17755 if test "$cross_compiling" = yes; then
17756 # Depending upon the size, compute the lo and hi bounds.
17757 cat >conftest.$ac_ext <<_ACEOF
17760 cat confdefs.h >>conftest.$ac_ext
17761 cat >>conftest.$ac_ext <<_ACEOF
17762 /* end confdefs.h. */
17763 $ac_includes_default
17767 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17774 rm -f conftest.$ac_objext
17775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17776 (eval $ac_compile) 2>conftest.er1
17778 grep -v '^ *+' conftest.er1 >conftest.err
17780 cat conftest.err >&5
17781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17782 (exit $ac_status); } &&
17783 { ac_try='test -z "$ac_c_werror_flag"
17784 || test ! -s conftest.err'
17785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17786 (eval $ac_try) 2>&5
17788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); }; } &&
17790 { ac_try='test -s conftest.$ac_objext'
17791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17792 (eval $ac_try) 2>&5
17794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17795 (exit $ac_status); }; }; then
17798 cat >conftest.$ac_ext <<_ACEOF
17801 cat confdefs.h >>conftest.$ac_ext
17802 cat >>conftest.$ac_ext <<_ACEOF
17803 /* end confdefs.h. */
17804 $ac_includes_default
17808 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17815 rm -f conftest.$ac_objext
17816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17817 (eval $ac_compile) 2>conftest.er1
17819 grep -v '^ *+' conftest.er1 >conftest.err
17821 cat conftest.err >&5
17822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17823 (exit $ac_status); } &&
17824 { ac_try='test -z "$ac_c_werror_flag"
17825 || test ! -s conftest.err'
17826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17827 (eval $ac_try) 2>&5
17829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17830 (exit $ac_status); }; } &&
17831 { ac_try='test -s conftest.$ac_objext'
17832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17833 (eval $ac_try) 2>&5
17835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17836 (exit $ac_status); }; }; then
17837 ac_hi=$ac_mid; break
17839 echo "$as_me: failed program was:" >&5
17840 sed 's/^/| /' conftest.$ac_ext >&5
17842 ac_lo=`expr $ac_mid + 1`
17843 if test $ac_lo -le $ac_mid; then
17847 ac_mid=`expr 2 '*' $ac_mid + 1`
17849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17852 echo "$as_me: failed program was:" >&5
17853 sed 's/^/| /' conftest.$ac_ext >&5
17855 cat >conftest.$ac_ext <<_ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 $ac_includes_default
17865 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17872 rm -f conftest.$ac_objext
17873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17874 (eval $ac_compile) 2>conftest.er1
17876 grep -v '^ *+' conftest.er1 >conftest.err
17878 cat conftest.err >&5
17879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17880 (exit $ac_status); } &&
17881 { ac_try='test -z "$ac_c_werror_flag"
17882 || test ! -s conftest.err'
17883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17884 (eval $ac_try) 2>&5
17886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17887 (exit $ac_status); }; } &&
17888 { ac_try='test -s conftest.$ac_objext'
17889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17890 (eval $ac_try) 2>&5
17892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17893 (exit $ac_status); }; }; then
17896 cat >conftest.$ac_ext <<_ACEOF
17899 cat confdefs.h >>conftest.$ac_ext
17900 cat >>conftest.$ac_ext <<_ACEOF
17901 /* end confdefs.h. */
17902 $ac_includes_default
17906 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17913 rm -f conftest.$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1 >conftest.err
17919 cat conftest.err >&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try='test -z "$ac_c_werror_flag"
17923 || test ! -s conftest.err'
17924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17925 (eval $ac_try) 2>&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); }; } &&
17929 { ac_try='test -s conftest.$ac_objext'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; }; then
17935 ac_lo=$ac_mid; break
17937 echo "$as_me: failed program was:" >&5
17938 sed 's/^/| /' conftest.$ac_ext >&5
17940 ac_hi=`expr '(' $ac_mid ')' - 1`
17941 if test $ac_mid -le $ac_hi; then
17945 ac_mid=`expr 2 '*' $ac_mid`
17947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17950 echo "$as_me: failed program was:" >&5
17951 sed 's/^/| /' conftest.$ac_ext >&5
17955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17958 # Binary search between lo and hi bounds.
17959 while test "x$ac_lo" != "x$ac_hi"; do
17960 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17961 cat >conftest.$ac_ext <<_ACEOF
17964 cat confdefs.h >>conftest.$ac_ext
17965 cat >>conftest.$ac_ext <<_ACEOF
17966 /* end confdefs.h. */
17967 $ac_includes_default
17971 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17978 rm -f conftest.$ac_objext
17979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17980 (eval $ac_compile) 2>conftest.er1
17982 grep -v '^ *+' conftest.er1 >conftest.err
17984 cat conftest.err >&5
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); } &&
17987 { ac_try='test -z "$ac_c_werror_flag"
17988 || test ! -s conftest.err'
17989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17990 (eval $ac_try) 2>&5
17992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17993 (exit $ac_status); }; } &&
17994 { ac_try='test -s conftest.$ac_objext'
17995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17996 (eval $ac_try) 2>&5
17998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17999 (exit $ac_status); }; }; then
18002 echo "$as_me: failed program was:" >&5
18003 sed 's/^/| /' conftest.$ac_ext >&5
18005 ac_lo=`expr '(' $ac_mid ')' + 1`
18007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18010 ?*) ac_cv_sizeof_short=$ac_lo;;
18011 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18012 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18013 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18014 See \`config.log' for more details." >&5
18015 echo "$as_me: error: cannot compute sizeof (short), 77
18016 See \`config.log' for more details." >&2;}
18017 { (exit 1); exit 1; }; }; } ;;
18020 if test "$cross_compiling" = yes; then
18021 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18022 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18023 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18024 See \`config.log' for more details." >&5
18025 echo "$as_me: error: cannot run test program while cross compiling
18026 See \`config.log' for more details." >&2;}
18027 { (exit 1); exit 1; }; }; }
18029 cat >conftest.$ac_ext <<_ACEOF
18032 cat confdefs.h >>conftest.$ac_ext
18033 cat >>conftest.$ac_ext <<_ACEOF
18034 /* end confdefs.h. */
18035 $ac_includes_default
18036 long longval () { return (long) (sizeof (short)); }
18037 unsigned long ulongval () { return (long) (sizeof (short)); }
18039 #include <stdlib.h>
18044 FILE *f = fopen ("conftest.val", "w");
18047 if (((long) (sizeof (short))) < 0)
18049 long i = longval ();
18050 if (i != ((long) (sizeof (short))))
18052 fprintf (f, "%ld\n", i);
18056 unsigned long i = ulongval ();
18057 if (i != ((long) (sizeof (short))))
18059 fprintf (f, "%lu\n", i);
18061 exit (ferror (f) || fclose (f) != 0);
18067 rm -f conftest$ac_exeext
18068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18069 (eval $ac_link) 2>&5
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18074 (eval $ac_try) 2>&5
18076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18077 (exit $ac_status); }; }; then
18078 ac_cv_sizeof_short=`cat conftest.val`
18080 echo "$as_me: program exited with status $ac_status" >&5
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18084 ( exit $ac_status )
18085 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18086 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18087 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18088 See \`config.log' for more details." >&5
18089 echo "$as_me: error: cannot compute sizeof (short), 77
18090 See \`config.log' for more details." >&2;}
18091 { (exit 1); exit 1; }; }; }
18093 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18098 ac_cv_sizeof_short=0
18101 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18102 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18103 cat >>confdefs.h <<_ACEOF
18104 #define SIZEOF_SHORT $ac_cv_sizeof_short
18108 echo "$as_me:$LINENO: checking for char" >&5
18109 echo $ECHO_N "checking for char... $ECHO_C" >&6
18110 if test "${ac_cv_type_char+set}" = set; then
18111 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 cat >conftest.$ac_ext <<_ACEOF
18116 cat confdefs.h >>conftest.$ac_ext
18117 cat >>conftest.$ac_ext <<_ACEOF
18118 /* end confdefs.h. */
18119 $ac_includes_default
18131 rm -f conftest.$ac_objext
18132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18133 (eval $ac_compile) 2>conftest.er1
18135 grep -v '^ *+' conftest.er1 >conftest.err
18137 cat conftest.err >&5
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); } &&
18140 { ac_try='test -z "$ac_c_werror_flag"
18141 || test ! -s conftest.err'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } &&
18147 { ac_try='test -s conftest.$ac_objext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_type_char=yes
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18162 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18163 echo "${ECHO_T}$ac_cv_type_char" >&6
18165 echo "$as_me:$LINENO: checking size of char" >&5
18166 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18167 if test "${ac_cv_sizeof_char+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18170 if test "$ac_cv_type_char" = yes; then
18171 # The cast to unsigned long works around a bug in the HP C Compiler
18172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18174 # This bug is HP SR number 8606223364.
18175 if test "$cross_compiling" = yes; then
18176 # Depending upon the size, compute the lo and hi bounds.
18177 cat >conftest.$ac_ext <<_ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18187 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18194 rm -f conftest.$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18198 grep -v '^ *+' conftest.er1 >conftest.err
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try='test -z "$ac_c_werror_flag"
18204 || test ! -s conftest.err'
18205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18206 (eval $ac_try) 2>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); }; } &&
18210 { ac_try='test -s conftest.$ac_objext'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; }; then
18218 cat >conftest.$ac_ext <<_ACEOF
18221 cat confdefs.h >>conftest.$ac_ext
18222 cat >>conftest.$ac_ext <<_ACEOF
18223 /* end confdefs.h. */
18224 $ac_includes_default
18228 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18235 rm -f conftest.$ac_objext
18236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18237 (eval $ac_compile) 2>conftest.er1
18239 grep -v '^ *+' conftest.er1 >conftest.err
18241 cat conftest.err >&5
18242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18243 (exit $ac_status); } &&
18244 { ac_try='test -z "$ac_c_werror_flag"
18245 || test ! -s conftest.err'
18246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18247 (eval $ac_try) 2>&5
18249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18250 (exit $ac_status); }; } &&
18251 { ac_try='test -s conftest.$ac_objext'
18252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18253 (eval $ac_try) 2>&5
18255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18256 (exit $ac_status); }; }; then
18257 ac_hi=$ac_mid; break
18259 echo "$as_me: failed program was:" >&5
18260 sed 's/^/| /' conftest.$ac_ext >&5
18262 ac_lo=`expr $ac_mid + 1`
18263 if test $ac_lo -le $ac_mid; then
18267 ac_mid=`expr 2 '*' $ac_mid + 1`
18269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18272 echo "$as_me: failed program was:" >&5
18273 sed 's/^/| /' conftest.$ac_ext >&5
18275 cat >conftest.$ac_ext <<_ACEOF
18278 cat confdefs.h >>conftest.$ac_ext
18279 cat >>conftest.$ac_ext <<_ACEOF
18280 /* end confdefs.h. */
18281 $ac_includes_default
18285 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18292 rm -f conftest.$ac_objext
18293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18294 (eval $ac_compile) 2>conftest.er1
18296 grep -v '^ *+' conftest.er1 >conftest.err
18298 cat conftest.err >&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); } &&
18301 { ac_try='test -z "$ac_c_werror_flag"
18302 || test ! -s conftest.err'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; } &&
18308 { ac_try='test -s conftest.$ac_objext'
18309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18310 (eval $ac_try) 2>&5
18312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18313 (exit $ac_status); }; }; then
18316 cat >conftest.$ac_ext <<_ACEOF
18319 cat confdefs.h >>conftest.$ac_ext
18320 cat >>conftest.$ac_ext <<_ACEOF
18321 /* end confdefs.h. */
18322 $ac_includes_default
18326 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18333 rm -f conftest.$ac_objext
18334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18335 (eval $ac_compile) 2>conftest.er1
18337 grep -v '^ *+' conftest.er1 >conftest.err
18339 cat conftest.err >&5
18340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18341 (exit $ac_status); } &&
18342 { ac_try='test -z "$ac_c_werror_flag"
18343 || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_lo=$ac_mid; break
18357 echo "$as_me: failed program was:" >&5
18358 sed 's/^/| /' conftest.$ac_ext >&5
18360 ac_hi=`expr '(' $ac_mid ')' - 1`
18361 if test $ac_mid -le $ac_hi; then
18365 ac_mid=`expr 2 '*' $ac_mid`
18367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18370 echo "$as_me: failed program was:" >&5
18371 sed 's/^/| /' conftest.$ac_ext >&5
18375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18378 # Binary search between lo and hi bounds.
18379 while test "x$ac_lo" != "x$ac_hi"; do
18380 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18381 cat >conftest.$ac_ext <<_ACEOF
18384 cat confdefs.h >>conftest.$ac_ext
18385 cat >>conftest.$ac_ext <<_ACEOF
18386 /* end confdefs.h. */
18387 $ac_includes_default
18391 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18398 rm -f conftest.$ac_objext
18399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18400 (eval $ac_compile) 2>conftest.er1
18402 grep -v '^ *+' conftest.er1 >conftest.err
18404 cat conftest.err >&5
18405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18406 (exit $ac_status); } &&
18407 { ac_try='test -z "$ac_c_werror_flag"
18408 || test ! -s conftest.err'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; } &&
18414 { ac_try='test -s conftest.$ac_objext'
18415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18416 (eval $ac_try) 2>&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); }; }; then
18422 echo "$as_me: failed program was:" >&5
18423 sed 's/^/| /' conftest.$ac_ext >&5
18425 ac_lo=`expr '(' $ac_mid ')' + 1`
18427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18430 ?*) ac_cv_sizeof_char=$ac_lo;;
18431 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18432 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18433 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18434 See \`config.log' for more details." >&5
18435 echo "$as_me: error: cannot compute sizeof (char), 77
18436 See \`config.log' for more details." >&2;}
18437 { (exit 1); exit 1; }; }; } ;;
18440 if test "$cross_compiling" = yes; then
18441 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18442 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18443 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18444 See \`config.log' for more details." >&5
18445 echo "$as_me: error: cannot run test program while cross compiling
18446 See \`config.log' for more details." >&2;}
18447 { (exit 1); exit 1; }; }; }
18449 cat >conftest.$ac_ext <<_ACEOF
18452 cat confdefs.h >>conftest.$ac_ext
18453 cat >>conftest.$ac_ext <<_ACEOF
18454 /* end confdefs.h. */
18455 $ac_includes_default
18456 long longval () { return (long) (sizeof (char)); }
18457 unsigned long ulongval () { return (long) (sizeof (char)); }
18459 #include <stdlib.h>
18464 FILE *f = fopen ("conftest.val", "w");
18467 if (((long) (sizeof (char))) < 0)
18469 long i = longval ();
18470 if (i != ((long) (sizeof (char))))
18472 fprintf (f, "%ld\n", i);
18476 unsigned long i = ulongval ();
18477 if (i != ((long) (sizeof (char))))
18479 fprintf (f, "%lu\n", i);
18481 exit (ferror (f) || fclose (f) != 0);
18487 rm -f conftest$ac_exeext
18488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18489 (eval $ac_link) 2>&5
18491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18494 (eval $ac_try) 2>&5
18496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18497 (exit $ac_status); }; }; then
18498 ac_cv_sizeof_char=`cat conftest.val`
18500 echo "$as_me: program exited with status $ac_status" >&5
18501 echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18504 ( exit $ac_status )
18505 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18506 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18507 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18508 See \`config.log' for more details." >&5
18509 echo "$as_me: error: cannot compute sizeof (char), 77
18510 See \`config.log' for more details." >&2;}
18511 { (exit 1); exit 1; }; }; }
18513 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18518 ac_cv_sizeof_char=0
18521 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18522 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18523 cat >>confdefs.h <<_ACEOF
18524 #define SIZEOF_CHAR $ac_cv_sizeof_char
18529 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18530 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18531 case "$ac_cv_sizeof_char" in
18532 1) acx_cv_type_int8_t=char ;;
18533 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18534 echo "$as_me: error: no 8-bit type" >&2;}
18535 { (exit please report a bug); exit please report a bug; }; }
18537 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18538 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18540 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18541 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18542 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18543 2:*) acx_cv_type_int16_t=int ;;
18544 *:2) acx_cv_type_int16_t=short ;;
18545 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18546 echo "$as_me: error: no 16-bit type" >&2;}
18547 { (exit please report a bug); exit please report a bug; }; }
18549 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18550 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18552 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18553 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18554 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18555 4:*) acx_cv_type_int32_t=int ;;
18556 *:4) acx_cv_type_int32_t=long ;;
18557 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18558 echo "$as_me: error: no 32-bit type" >&2;}
18559 { (exit please report a bug); exit please report a bug; }; }
18561 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18562 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18565 # These tests are here to make the output prettier
18567 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18568 case "$ac_cv_sizeof_long" in
18569 8) acx_cv_type_int64_t=long ;;
18571 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18572 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18573 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18574 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18577 # Now we can use the above types
18579 if test "$ac_cv_type_uintptr_t" != yes; then
18580 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18581 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18582 case $ac_cv_sizeof_void_p in
18583 2) acx_cv_type_intptr_t=int16_t ;;
18584 4) acx_cv_type_intptr_t=int32_t ;;
18585 8) acx_cv_type_intptr_t=int64_t ;;
18586 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18587 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18588 { (exit please report a bug); exit please report a bug; }; }
18590 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18591 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18594 # ----------------- done all checks, emit header -------------
18595 ac_config_commands="$ac_config_commands gstdint.h"
18600 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18601 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18602 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18603 echo $ECHO_N "(cached) $ECHO_C" >&6
18605 cat >conftest.$ac_ext <<_ACEOF
18608 cat confdefs.h >>conftest.$ac_ext
18609 cat >>conftest.$ac_ext <<_ACEOF
18610 /* end confdefs.h. */
18611 $ac_includes_default
18615 static struct stat ac_aggr;
18616 if (ac_aggr.st_blksize)
18622 rm -f conftest.$ac_objext
18623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18624 (eval $ac_compile) 2>conftest.er1
18626 grep -v '^ *+' conftest.er1 >conftest.err
18628 cat conftest.err >&5
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); } &&
18631 { ac_try='test -z "$ac_c_werror_flag"
18632 || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_member_struct_stat_st_blksize=yes
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.$ac_ext >&5
18649 cat >conftest.$ac_ext <<_ACEOF
18652 cat confdefs.h >>conftest.$ac_ext
18653 cat >>conftest.$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 $ac_includes_default
18659 static struct stat ac_aggr;
18660 if (sizeof ac_aggr.st_blksize)
18666 rm -f conftest.$ac_objext
18667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18668 (eval $ac_compile) 2>conftest.er1
18670 grep -v '^ *+' conftest.er1 >conftest.err
18672 cat conftest.err >&5
18673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18674 (exit $ac_status); } &&
18675 { ac_try='test -z "$ac_c_werror_flag"
18676 || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_cv_member_struct_stat_st_blksize=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.$ac_ext >&5
18693 ac_cv_member_struct_stat_st_blksize=no
18695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18699 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18700 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18701 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18703 cat >>confdefs.h <<_ACEOF
18704 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18710 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18711 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18712 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18713 echo $ECHO_N "(cached) $ECHO_C" >&6
18715 cat >conftest.$ac_ext <<_ACEOF
18718 cat confdefs.h >>conftest.$ac_ext
18719 cat >>conftest.$ac_ext <<_ACEOF
18720 /* end confdefs.h. */
18721 $ac_includes_default
18725 static struct stat ac_aggr;
18726 if (ac_aggr.st_blocks)
18732 rm -f conftest.$ac_objext
18733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18734 (eval $ac_compile) 2>conftest.er1
18736 grep -v '^ *+' conftest.er1 >conftest.err
18738 cat conftest.err >&5
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); } &&
18741 { ac_try='test -z "$ac_c_werror_flag"
18742 || test ! -s conftest.err'
18743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18744 (eval $ac_try) 2>&5
18746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18747 (exit $ac_status); }; } &&
18748 { ac_try='test -s conftest.$ac_objext'
18749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18750 (eval $ac_try) 2>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); }; }; then
18754 ac_cv_member_struct_stat_st_blocks=yes
18756 echo "$as_me: failed program was:" >&5
18757 sed 's/^/| /' conftest.$ac_ext >&5
18759 cat >conftest.$ac_ext <<_ACEOF
18762 cat confdefs.h >>conftest.$ac_ext
18763 cat >>conftest.$ac_ext <<_ACEOF
18764 /* end confdefs.h. */
18765 $ac_includes_default
18769 static struct stat ac_aggr;
18770 if (sizeof ac_aggr.st_blocks)
18776 rm -f conftest.$ac_objext
18777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18778 (eval $ac_compile) 2>conftest.er1
18780 grep -v '^ *+' conftest.er1 >conftest.err
18782 cat conftest.err >&5
18783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18784 (exit $ac_status); } &&
18785 { ac_try='test -z "$ac_c_werror_flag"
18786 || test ! -s conftest.err'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; } &&
18792 { ac_try='test -s conftest.$ac_objext'
18793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18794 (eval $ac_try) 2>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); }; }; then
18798 ac_cv_member_struct_stat_st_blocks=yes
18800 echo "$as_me: failed program was:" >&5
18801 sed 's/^/| /' conftest.$ac_ext >&5
18803 ac_cv_member_struct_stat_st_blocks=no
18805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18809 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18810 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18811 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18813 cat >>confdefs.h <<_ACEOF
18814 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18820 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18821 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18822 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18823 echo $ECHO_N "(cached) $ECHO_C" >&6
18825 cat >conftest.$ac_ext <<_ACEOF
18828 cat confdefs.h >>conftest.$ac_ext
18829 cat >>conftest.$ac_ext <<_ACEOF
18830 /* end confdefs.h. */
18831 $ac_includes_default
18835 static struct stat ac_aggr;
18836 if (ac_aggr.st_rdev)
18842 rm -f conftest.$ac_objext
18843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18844 (eval $ac_compile) 2>conftest.er1
18846 grep -v '^ *+' conftest.er1 >conftest.err
18848 cat conftest.err >&5
18849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18850 (exit $ac_status); } &&
18851 { ac_try='test -z "$ac_c_werror_flag"
18852 || test ! -s conftest.err'
18853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18854 (eval $ac_try) 2>&5
18856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18857 (exit $ac_status); }; } &&
18858 { ac_try='test -s conftest.$ac_objext'
18859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18860 (eval $ac_try) 2>&5
18862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18863 (exit $ac_status); }; }; then
18864 ac_cv_member_struct_stat_st_rdev=yes
18866 echo "$as_me: failed program was:" >&5
18867 sed 's/^/| /' conftest.$ac_ext >&5
18869 cat >conftest.$ac_ext <<_ACEOF
18872 cat confdefs.h >>conftest.$ac_ext
18873 cat >>conftest.$ac_ext <<_ACEOF
18874 /* end confdefs.h. */
18875 $ac_includes_default
18879 static struct stat ac_aggr;
18880 if (sizeof ac_aggr.st_rdev)
18886 rm -f conftest.$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18890 grep -v '^ *+' conftest.er1 >conftest.err
18892 cat conftest.err >&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try='test -z "$ac_c_werror_flag"
18896 || test ! -s conftest.err'
18897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18898 (eval $ac_try) 2>&5
18900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18901 (exit $ac_status); }; } &&
18902 { ac_try='test -s conftest.$ac_objext'
18903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18904 (eval $ac_try) 2>&5
18906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18907 (exit $ac_status); }; }; then
18908 ac_cv_member_struct_stat_st_rdev=yes
18910 echo "$as_me: failed program was:" >&5
18911 sed 's/^/| /' conftest.$ac_ext >&5
18913 ac_cv_member_struct_stat_st_rdev=no
18915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18919 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18920 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18921 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18923 cat >>confdefs.h <<_ACEOF
18924 #define HAVE_STRUCT_STAT_ST_RDEV 1
18931 # Check for library functions.
18940 for ac_func in getrusage times mkstemp strtof strtold snprintf ftruncate chsize
18942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18943 echo "$as_me:$LINENO: checking for $ac_func" >&5
18944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18945 if eval "test \"\${$as_ac_var+set}\" = set"; then
18946 echo $ECHO_N "(cached) $ECHO_C" >&6
18948 if test x$gcc_no_link = xyes; then
18949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18951 { (exit 1); exit 1; }; }
18953 cat >conftest.$ac_ext <<_ACEOF
18956 cat confdefs.h >>conftest.$ac_ext
18957 cat >>conftest.$ac_ext <<_ACEOF
18958 /* end confdefs.h. */
18959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18961 #define $ac_func innocuous_$ac_func
18963 /* System header to define __stub macros and hopefully few prototypes,
18964 which can conflict with char $ac_func (); below.
18965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18966 <limits.h> exists even on freestanding compilers. */
18969 # include <limits.h>
18971 # include <assert.h>
18976 /* Override any gcc2 internal prototype to avoid an error. */
18981 /* We use char because int might match the return type of a gcc2
18982 builtin and then its argument prototype would still apply. */
18984 /* The GNU C library defines this for functions which it implements
18985 to always fail with ENOSYS. Some functions are actually named
18986 something starting with __ and the normal name is an alias. */
18987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18990 char (*f) () = $ac_func;
18999 return f != $ac_func;
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006 (eval $ac_link) 2>conftest.er1
19008 grep -v '^ *+' conftest.er1 >conftest.err
19010 cat conftest.err >&5
19011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19012 (exit $ac_status); } &&
19013 { ac_try='test -z "$ac_c_werror_flag"
19014 || test ! -s conftest.err'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 eval "$as_ac_var=yes"
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 eval "$as_ac_var=no"
19033 rm -f conftest.err conftest.$ac_objext \
19034 conftest$ac_exeext conftest.$ac_ext
19036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19038 if test `eval echo '${'$as_ac_var'}'` = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19054 for ac_func in chdir strerror getlogin gethostname kill link symlink perror
19056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19057 echo "$as_me:$LINENO: checking for $ac_func" >&5
19058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19059 if eval "test \"\${$as_ac_var+set}\" = set"; then
19060 echo $ECHO_N "(cached) $ECHO_C" >&6
19062 if test x$gcc_no_link = xyes; then
19063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19065 { (exit 1); exit 1; }; }
19067 cat >conftest.$ac_ext <<_ACEOF
19070 cat confdefs.h >>conftest.$ac_ext
19071 cat >>conftest.$ac_ext <<_ACEOF
19072 /* end confdefs.h. */
19073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19075 #define $ac_func innocuous_$ac_func
19077 /* System header to define __stub macros and hopefully few prototypes,
19078 which can conflict with char $ac_func (); below.
19079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19080 <limits.h> exists even on freestanding compilers. */
19083 # include <limits.h>
19085 # include <assert.h>
19090 /* Override any gcc2 internal prototype to avoid an error. */
19095 /* We use char because int might match the return type of a gcc2
19096 builtin and then its argument prototype would still apply. */
19098 /* The GNU C library defines this for functions which it implements
19099 to always fail with ENOSYS. Some functions are actually named
19100 something starting with __ and the normal name is an alias. */
19101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19104 char (*f) () = $ac_func;
19113 return f != $ac_func;
19118 rm -f conftest.$ac_objext conftest$ac_exeext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19120 (eval $ac_link) 2>conftest.er1
19122 grep -v '^ *+' conftest.er1 >conftest.err
19124 cat conftest.err >&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -z "$ac_c_werror_flag"
19128 || test ! -s conftest.err'
19129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19130 (eval $ac_try) 2>&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); }; } &&
19134 { ac_try='test -s conftest$ac_exeext'
19135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19136 (eval $ac_try) 2>&5
19138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19139 (exit $ac_status); }; }; then
19140 eval "$as_ac_var=yes"
19142 echo "$as_me: failed program was:" >&5
19143 sed 's/^/| /' conftest.$ac_ext >&5
19145 eval "$as_ac_var=no"
19147 rm -f conftest.err conftest.$ac_objext \
19148 conftest$ac_exeext conftest.$ac_ext
19150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19152 if test `eval echo '${'$as_ac_var'}'` = yes; then
19153 cat >>confdefs.h <<_ACEOF
19154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19170 for ac_func in sleep time ttyname signal alarm ctime clock access fork execl
19172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19173 echo "$as_me:$LINENO: checking for $ac_func" >&5
19174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19175 if eval "test \"\${$as_ac_var+set}\" = set"; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19178 if test x$gcc_no_link = xyes; then
19179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19181 { (exit 1); exit 1; }; }
19183 cat >conftest.$ac_ext <<_ACEOF
19186 cat confdefs.h >>conftest.$ac_ext
19187 cat >>conftest.$ac_ext <<_ACEOF
19188 /* end confdefs.h. */
19189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19191 #define $ac_func innocuous_$ac_func
19193 /* System header to define __stub macros and hopefully few prototypes,
19194 which can conflict with char $ac_func (); below.
19195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19196 <limits.h> exists even on freestanding compilers. */
19199 # include <limits.h>
19201 # include <assert.h>
19206 /* Override any gcc2 internal prototype to avoid an error. */
19211 /* We use char because int might match the return type of a gcc2
19212 builtin and then its argument prototype would still apply. */
19214 /* The GNU C library defines this for functions which it implements
19215 to always fail with ENOSYS. Some functions are actually named
19216 something starting with __ and the normal name is an alias. */
19217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19220 char (*f) () = $ac_func;
19229 return f != $ac_func;
19234 rm -f conftest.$ac_objext conftest$ac_exeext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19236 (eval $ac_link) 2>conftest.er1
19238 grep -v '^ *+' conftest.er1 >conftest.err
19240 cat conftest.err >&5
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); } &&
19243 { ac_try='test -z "$ac_c_werror_flag"
19244 || test ! -s conftest.err'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; } &&
19250 { ac_try='test -s conftest$ac_exeext'
19251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19252 (eval $ac_try) 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 eval "$as_ac_var=yes"
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.$ac_ext >&5
19261 eval "$as_ac_var=no"
19263 rm -f conftest.err conftest.$ac_objext \
19264 conftest$ac_exeext conftest.$ac_ext
19266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19268 if test `eval echo '${'$as_ac_var'}'` = yes; then
19269 cat >>confdefs.h <<_ACEOF
19270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19285 for ac_func in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19288 echo "$as_me:$LINENO: checking for $ac_func" >&5
19289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19290 if eval "test \"\${$as_ac_var+set}\" = set"; then
19291 echo $ECHO_N "(cached) $ECHO_C" >&6
19293 if test x$gcc_no_link = xyes; then
19294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19296 { (exit 1); exit 1; }; }
19298 cat >conftest.$ac_ext <<_ACEOF
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19306 #define $ac_func innocuous_$ac_func
19308 /* System header to define __stub macros and hopefully few prototypes,
19309 which can conflict with char $ac_func (); below.
19310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19311 <limits.h> exists even on freestanding compilers. */
19314 # include <limits.h>
19316 # include <assert.h>
19321 /* Override any gcc2 internal prototype to avoid an error. */
19326 /* We use char because int might match the return type of a gcc2
19327 builtin and then its argument prototype would still apply. */
19329 /* The GNU C library defines this for functions which it implements
19330 to always fail with ENOSYS. Some functions are actually named
19331 something starting with __ and the normal name is an alias. */
19332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19335 char (*f) () = $ac_func;
19344 return f != $ac_func;
19349 rm -f conftest.$ac_objext conftest$ac_exeext
19350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19351 (eval $ac_link) 2>conftest.er1
19353 grep -v '^ *+' conftest.er1 >conftest.err
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -z "$ac_c_werror_flag"
19359 || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest$ac_exeext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 eval "$as_ac_var=yes"
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19376 eval "$as_ac_var=no"
19378 rm -f conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19383 if test `eval echo '${'$as_ac_var'}'` = yes; then
19384 cat >>confdefs.h <<_ACEOF
19385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19399 for ac_func in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19402 echo "$as_me:$LINENO: checking for $ac_func" >&5
19403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19404 if eval "test \"\${$as_ac_var+set}\" = set"; then
19405 echo $ECHO_N "(cached) $ECHO_C" >&6
19407 if test x$gcc_no_link = xyes; then
19408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19410 { (exit 1); exit 1; }; }
19412 cat >conftest.$ac_ext <<_ACEOF
19415 cat confdefs.h >>conftest.$ac_ext
19416 cat >>conftest.$ac_ext <<_ACEOF
19417 /* end confdefs.h. */
19418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19420 #define $ac_func innocuous_$ac_func
19422 /* System header to define __stub macros and hopefully few prototypes,
19423 which can conflict with char $ac_func (); below.
19424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19425 <limits.h> exists even on freestanding compilers. */
19428 # include <limits.h>
19430 # include <assert.h>
19435 /* Override any gcc2 internal prototype to avoid an error. */
19440 /* We use char because int might match the return type of a gcc2
19441 builtin and then its argument prototype would still apply. */
19443 /* The GNU C library defines this for functions which it implements
19444 to always fail with ENOSYS. Some functions are actually named
19445 something starting with __ and the normal name is an alias. */
19446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19449 char (*f) () = $ac_func;
19458 return f != $ac_func;
19463 rm -f conftest.$ac_objext conftest$ac_exeext
19464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19465 (eval $ac_link) 2>conftest.er1
19467 grep -v '^ *+' conftest.er1 >conftest.err
19469 cat conftest.err >&5
19470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19471 (exit $ac_status); } &&
19472 { ac_try='test -z "$ac_c_werror_flag"
19473 || test ! -s conftest.err'
19474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19475 (eval $ac_try) 2>&5
19477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19478 (exit $ac_status); }; } &&
19479 { ac_try='test -s conftest$ac_exeext'
19480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19481 (eval $ac_try) 2>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); }; }; then
19485 eval "$as_ac_var=yes"
19487 echo "$as_me: failed program was:" >&5
19488 sed 's/^/| /' conftest.$ac_ext >&5
19490 eval "$as_ac_var=no"
19492 rm -f conftest.err conftest.$ac_objext \
19493 conftest$ac_exeext conftest.$ac_ext
19495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19497 if test `eval echo '${'$as_ac_var'}'` = yes; then
19498 cat >>confdefs.h <<_ACEOF
19499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19506 # Check for glibc backtrace functions
19509 for ac_func in backtrace backtrace_symbols
19511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19512 echo "$as_me:$LINENO: checking for $ac_func" >&5
19513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19514 if eval "test \"\${$as_ac_var+set}\" = set"; then
19515 echo $ECHO_N "(cached) $ECHO_C" >&6
19517 if test x$gcc_no_link = xyes; then
19518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19520 { (exit 1); exit 1; }; }
19522 cat >conftest.$ac_ext <<_ACEOF
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19530 #define $ac_func innocuous_$ac_func
19532 /* System header to define __stub macros and hopefully few prototypes,
19533 which can conflict with char $ac_func (); below.
19534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19535 <limits.h> exists even on freestanding compilers. */
19538 # include <limits.h>
19540 # include <assert.h>
19545 /* Override any gcc2 internal prototype to avoid an error. */
19550 /* We use char because int might match the return type of a gcc2
19551 builtin and then its argument prototype would still apply. */
19553 /* The GNU C library defines this for functions which it implements
19554 to always fail with ENOSYS. Some functions are actually named
19555 something starting with __ and the normal name is an alias. */
19556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19559 char (*f) () = $ac_func;
19568 return f != $ac_func;
19573 rm -f conftest.$ac_objext conftest$ac_exeext
19574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19575 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
19597 echo "$as_me: failed program was:" >&5
19598 sed 's/^/| /' conftest.$ac_ext >&5
19600 eval "$as_ac_var=no"
19602 rm -f conftest.err conftest.$ac_objext \
19603 conftest$ac_exeext conftest.$ac_ext
19605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19607 if test `eval echo '${'$as_ac_var'}'` = yes; then
19608 cat >>confdefs.h <<_ACEOF
19609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19617 echo "$as_me:$LINENO: checking for intptr_t" >&5
19618 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19619 if test "${ac_cv_type_intptr_t+set}" = set; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 cat >conftest.$ac_ext <<_ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19632 if ((intptr_t *) 0)
19634 if (sizeof (intptr_t))
19640 rm -f conftest.$ac_objext
19641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19642 (eval $ac_compile) 2>conftest.er1
19644 grep -v '^ *+' conftest.er1 >conftest.err
19646 cat conftest.err >&5
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); } &&
19649 { ac_try='test -z "$ac_c_werror_flag"
19650 || test ! -s conftest.err'
19651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19652 (eval $ac_try) 2>&5
19654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19655 (exit $ac_status); }; } &&
19656 { ac_try='test -s conftest.$ac_objext'
19657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19658 (eval $ac_try) 2>&5
19660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19661 (exit $ac_status); }; }; then
19662 ac_cv_type_intptr_t=yes
19664 echo "$as_me: failed program was:" >&5
19665 sed 's/^/| /' conftest.$ac_ext >&5
19667 ac_cv_type_intptr_t=no
19669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19671 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19672 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19673 if test $ac_cv_type_intptr_t = yes; then
19675 cat >>confdefs.h <<_ACEOF
19676 #define HAVE_INTPTR_T 1
19682 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19683 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19684 if test "${ac_cv_type_uintptr_t+set}" = set; then
19685 echo $ECHO_N "(cached) $ECHO_C" >&6
19687 cat >conftest.$ac_ext <<_ACEOF
19690 cat confdefs.h >>conftest.$ac_ext
19691 cat >>conftest.$ac_ext <<_ACEOF
19692 /* end confdefs.h. */
19693 $ac_includes_default
19697 if ((uintptr_t *) 0)
19699 if (sizeof (uintptr_t))
19705 rm -f conftest.$ac_objext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19707 (eval $ac_compile) 2>conftest.er1
19709 grep -v '^ *+' conftest.er1 >conftest.err
19711 cat conftest.err >&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try='test -z "$ac_c_werror_flag"
19715 || test ! -s conftest.err'
19716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19717 (eval $ac_try) 2>&5
19719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19720 (exit $ac_status); }; } &&
19721 { ac_try='test -s conftest.$ac_objext'
19722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19723 (eval $ac_try) 2>&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); }; }; then
19727 ac_cv_type_uintptr_t=yes
19729 echo "$as_me: failed program was:" >&5
19730 sed 's/^/| /' conftest.$ac_ext >&5
19732 ac_cv_type_uintptr_t=no
19734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19736 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19737 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19738 if test $ac_cv_type_uintptr_t = yes; then
19740 cat >>confdefs.h <<_ACEOF
19741 #define HAVE_UINTPTR_T 1
19748 # Check libc for getgid, getpid, getuid
19749 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19750 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19751 if test "${ac_cv_lib_c_getgid+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 ac_check_lib_save_LIBS=$LIBS
19756 if test x$gcc_no_link = xyes; then
19757 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19759 { (exit 1); exit 1; }; }
19761 cat >conftest.$ac_ext <<_ACEOF
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19768 /* Override any gcc2 internal prototype to avoid an error. */
19772 /* We use char because int might match the return type of a gcc2
19773 builtin and then its argument prototype would still apply. */
19783 rm -f conftest.$ac_objext conftest$ac_exeext
19784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19785 (eval $ac_link) 2>conftest.er1
19787 grep -v '^ *+' conftest.er1 >conftest.err
19789 cat conftest.err >&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); } &&
19792 { ac_try='test -z "$ac_c_werror_flag"
19793 || test ! -s conftest.err'
19794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19795 (eval $ac_try) 2>&5
19797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19798 (exit $ac_status); }; } &&
19799 { ac_try='test -s conftest$ac_exeext'
19800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19801 (eval $ac_try) 2>&5
19803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19804 (exit $ac_status); }; }; then
19805 ac_cv_lib_c_getgid=yes
19807 echo "$as_me: failed program was:" >&5
19808 sed 's/^/| /' conftest.$ac_ext >&5
19810 ac_cv_lib_c_getgid=no
19812 rm -f conftest.err conftest.$ac_objext \
19813 conftest$ac_exeext conftest.$ac_ext
19814 LIBS=$ac_check_lib_save_LIBS
19816 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19817 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19818 if test $ac_cv_lib_c_getgid = yes; then
19820 cat >>confdefs.h <<\_ACEOF
19821 #define HAVE_GETGID 1
19826 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19827 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19828 if test "${ac_cv_lib_c_getpid+set}" = set; then
19829 echo $ECHO_N "(cached) $ECHO_C" >&6
19831 ac_check_lib_save_LIBS=$LIBS
19833 if test x$gcc_no_link = xyes; then
19834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19836 { (exit 1); exit 1; }; }
19838 cat >conftest.$ac_ext <<_ACEOF
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19845 /* Override any gcc2 internal prototype to avoid an error. */
19849 /* We use char because int might match the return type of a gcc2
19850 builtin and then its argument prototype would still apply. */
19860 rm -f conftest.$ac_objext conftest$ac_exeext
19861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19862 (eval $ac_link) 2>conftest.er1
19864 grep -v '^ *+' conftest.er1 >conftest.err
19866 cat conftest.err >&5
19867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19868 (exit $ac_status); } &&
19869 { ac_try='test -z "$ac_c_werror_flag"
19870 || test ! -s conftest.err'
19871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19872 (eval $ac_try) 2>&5
19874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19875 (exit $ac_status); }; } &&
19876 { ac_try='test -s conftest$ac_exeext'
19877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19878 (eval $ac_try) 2>&5
19880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19881 (exit $ac_status); }; }; then
19882 ac_cv_lib_c_getpid=yes
19884 echo "$as_me: failed program was:" >&5
19885 sed 's/^/| /' conftest.$ac_ext >&5
19887 ac_cv_lib_c_getpid=no
19889 rm -f conftest.err conftest.$ac_objext \
19890 conftest$ac_exeext conftest.$ac_ext
19891 LIBS=$ac_check_lib_save_LIBS
19893 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19894 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19895 if test $ac_cv_lib_c_getpid = yes; then
19897 cat >>confdefs.h <<\_ACEOF
19898 #define HAVE_GETPID 1
19903 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19904 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19905 if test "${ac_cv_lib_c_getppid+set}" = set; then
19906 echo $ECHO_N "(cached) $ECHO_C" >&6
19908 ac_check_lib_save_LIBS=$LIBS
19910 if test x$gcc_no_link = xyes; then
19911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19913 { (exit 1); exit 1; }; }
19915 cat >conftest.$ac_ext <<_ACEOF
19918 cat confdefs.h >>conftest.$ac_ext
19919 cat >>conftest.$ac_ext <<_ACEOF
19920 /* end confdefs.h. */
19922 /* Override any gcc2 internal prototype to avoid an error. */
19926 /* We use char because int might match the return type of a gcc2
19927 builtin and then its argument prototype would still apply. */
19937 rm -f conftest.$ac_objext conftest$ac_exeext
19938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19939 (eval $ac_link) 2>conftest.er1
19941 grep -v '^ *+' conftest.er1 >conftest.err
19943 cat conftest.err >&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); } &&
19946 { ac_try='test -z "$ac_c_werror_flag"
19947 || test ! -s conftest.err'
19948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19949 (eval $ac_try) 2>&5
19951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19952 (exit $ac_status); }; } &&
19953 { ac_try='test -s conftest$ac_exeext'
19954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19955 (eval $ac_try) 2>&5
19957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19958 (exit $ac_status); }; }; then
19959 ac_cv_lib_c_getppid=yes
19961 echo "$as_me: failed program was:" >&5
19962 sed 's/^/| /' conftest.$ac_ext >&5
19964 ac_cv_lib_c_getppid=no
19966 rm -f conftest.err conftest.$ac_objext \
19967 conftest$ac_exeext conftest.$ac_ext
19968 LIBS=$ac_check_lib_save_LIBS
19970 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19971 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19972 if test $ac_cv_lib_c_getppid = yes; then
19974 cat >>confdefs.h <<\_ACEOF
19975 #define HAVE_GETPPID 1
19980 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19981 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19982 if test "${ac_cv_lib_c_getuid+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19985 ac_check_lib_save_LIBS=$LIBS
19987 if test x$gcc_no_link = xyes; then
19988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19990 { (exit 1); exit 1; }; }
19992 cat >conftest.$ac_ext <<_ACEOF
19995 cat confdefs.h >>conftest.$ac_ext
19996 cat >>conftest.$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
19999 /* Override any gcc2 internal prototype to avoid an error. */
20003 /* We use char because int might match the return type of a gcc2
20004 builtin and then its argument prototype would still apply. */
20014 rm -f conftest.$ac_objext conftest$ac_exeext
20015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20016 (eval $ac_link) 2>conftest.er1
20018 grep -v '^ *+' conftest.er1 >conftest.err
20020 cat conftest.err >&5
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); } &&
20023 { ac_try='test -z "$ac_c_werror_flag"
20024 || test ! -s conftest.err'
20025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20026 (eval $ac_try) 2>&5
20028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20029 (exit $ac_status); }; } &&
20030 { ac_try='test -s conftest$ac_exeext'
20031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20032 (eval $ac_try) 2>&5
20034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20035 (exit $ac_status); }; }; then
20036 ac_cv_lib_c_getuid=yes
20038 echo "$as_me: failed program was:" >&5
20039 sed 's/^/| /' conftest.$ac_ext >&5
20041 ac_cv_lib_c_getuid=no
20043 rm -f conftest.err conftest.$ac_objext \
20044 conftest$ac_exeext conftest.$ac_ext
20045 LIBS=$ac_check_lib_save_LIBS
20047 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
20048 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
20049 if test $ac_cv_lib_c_getuid = yes; then
20051 cat >>confdefs.h <<\_ACEOF
20052 #define HAVE_GETUID 1
20057 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
20058 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
20059 if test "${ac_cv_lib_c_geteuid+set}" = set; then
20060 echo $ECHO_N "(cached) $ECHO_C" >&6
20062 ac_check_lib_save_LIBS=$LIBS
20064 if test x$gcc_no_link = xyes; then
20065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20067 { (exit 1); exit 1; }; }
20069 cat >conftest.$ac_ext <<_ACEOF
20072 cat confdefs.h >>conftest.$ac_ext
20073 cat >>conftest.$ac_ext <<_ACEOF
20074 /* end confdefs.h. */
20076 /* Override any gcc2 internal prototype to avoid an error. */
20080 /* We use char because int might match the return type of a gcc2
20081 builtin and then its argument prototype would still apply. */
20091 rm -f conftest.$ac_objext conftest$ac_exeext
20092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20093 (eval $ac_link) 2>conftest.er1
20095 grep -v '^ *+' conftest.er1 >conftest.err
20097 cat conftest.err >&5
20098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20099 (exit $ac_status); } &&
20100 { ac_try='test -z "$ac_c_werror_flag"
20101 || test ! -s conftest.err'
20102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20103 (eval $ac_try) 2>&5
20105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20106 (exit $ac_status); }; } &&
20107 { ac_try='test -s conftest$ac_exeext'
20108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20109 (eval $ac_try) 2>&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); }; }; then
20113 ac_cv_lib_c_geteuid=yes
20115 echo "$as_me: failed program was:" >&5
20116 sed 's/^/| /' conftest.$ac_ext >&5
20118 ac_cv_lib_c_geteuid=no
20120 rm -f conftest.err conftest.$ac_objext \
20121 conftest$ac_exeext conftest.$ac_ext
20122 LIBS=$ac_check_lib_save_LIBS
20124 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20125 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20126 if test $ac_cv_lib_c_geteuid = yes; then
20128 cat >>confdefs.h <<\_ACEOF
20129 #define HAVE_GETEUID 1
20135 # Check for C99 (and other IEEE) math functions
20136 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20137 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20138 if test "${ac_cv_lib_m_acosf+set}" = set; then
20139 echo $ECHO_N "(cached) $ECHO_C" >&6
20141 ac_check_lib_save_LIBS=$LIBS
20143 if test x$gcc_no_link = xyes; then
20144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20146 { (exit 1); exit 1; }; }
20148 cat >conftest.$ac_ext <<_ACEOF
20151 cat confdefs.h >>conftest.$ac_ext
20152 cat >>conftest.$ac_ext <<_ACEOF
20153 /* end confdefs.h. */
20155 /* Override any gcc2 internal prototype to avoid an error. */
20159 /* We use char because int might match the return type of a gcc2
20160 builtin and then its argument prototype would still apply. */
20170 rm -f conftest.$ac_objext conftest$ac_exeext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20172 (eval $ac_link) 2>conftest.er1
20174 grep -v '^ *+' conftest.er1 >conftest.err
20176 cat conftest.err >&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try='test -z "$ac_c_werror_flag"
20180 || test ! -s conftest.err'
20181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182 (eval $ac_try) 2>&5
20184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185 (exit $ac_status); }; } &&
20186 { ac_try='test -s conftest$ac_exeext'
20187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20188 (eval $ac_try) 2>&5
20190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20191 (exit $ac_status); }; }; then
20192 ac_cv_lib_m_acosf=yes
20194 echo "$as_me: failed program was:" >&5
20195 sed 's/^/| /' conftest.$ac_ext >&5
20197 ac_cv_lib_m_acosf=no
20199 rm -f conftest.err conftest.$ac_objext \
20200 conftest$ac_exeext conftest.$ac_ext
20201 LIBS=$ac_check_lib_save_LIBS
20203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20204 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20205 if test $ac_cv_lib_m_acosf = yes; then
20207 cat >>confdefs.h <<\_ACEOF
20208 #define HAVE_ACOSF 1
20213 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20214 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20215 if test "${ac_cv_lib_m_acos+set}" = set; then
20216 echo $ECHO_N "(cached) $ECHO_C" >&6
20218 ac_check_lib_save_LIBS=$LIBS
20220 if test x$gcc_no_link = xyes; then
20221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20223 { (exit 1); exit 1; }; }
20225 cat >conftest.$ac_ext <<_ACEOF
20228 cat confdefs.h >>conftest.$ac_ext
20229 cat >>conftest.$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20232 /* Override any gcc2 internal prototype to avoid an error. */
20236 /* We use char because int might match the return type of a gcc2
20237 builtin and then its argument prototype would still apply. */
20247 rm -f conftest.$ac_objext conftest$ac_exeext
20248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20249 (eval $ac_link) 2>conftest.er1
20251 grep -v '^ *+' conftest.er1 >conftest.err
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try='test -z "$ac_c_werror_flag"
20257 || test ! -s conftest.err'
20258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20259 (eval $ac_try) 2>&5
20261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20262 (exit $ac_status); }; } &&
20263 { ac_try='test -s conftest$ac_exeext'
20264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20265 (eval $ac_try) 2>&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); }; }; then
20269 ac_cv_lib_m_acos=yes
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 ac_cv_lib_m_acos=no
20276 rm -f conftest.err conftest.$ac_objext \
20277 conftest$ac_exeext conftest.$ac_ext
20278 LIBS=$ac_check_lib_save_LIBS
20280 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20281 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20282 if test $ac_cv_lib_m_acos = yes; then
20284 cat >>confdefs.h <<\_ACEOF
20285 #define HAVE_ACOS 1
20290 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20291 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20292 if test "${ac_cv_lib_m_acosl+set}" = set; then
20293 echo $ECHO_N "(cached) $ECHO_C" >&6
20295 ac_check_lib_save_LIBS=$LIBS
20297 if test x$gcc_no_link = xyes; then
20298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20300 { (exit 1); exit 1; }; }
20302 cat >conftest.$ac_ext <<_ACEOF
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20309 /* Override any gcc2 internal prototype to avoid an error. */
20313 /* We use char because int might match the return type of a gcc2
20314 builtin and then its argument prototype would still apply. */
20324 rm -f conftest.$ac_objext conftest$ac_exeext
20325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20326 (eval $ac_link) 2>conftest.er1
20328 grep -v '^ *+' conftest.er1 >conftest.err
20330 cat conftest.err >&5
20331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20332 (exit $ac_status); } &&
20333 { ac_try='test -z "$ac_c_werror_flag"
20334 || test ! -s conftest.err'
20335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20336 (eval $ac_try) 2>&5
20338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20339 (exit $ac_status); }; } &&
20340 { ac_try='test -s conftest$ac_exeext'
20341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20342 (eval $ac_try) 2>&5
20344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20345 (exit $ac_status); }; }; then
20346 ac_cv_lib_m_acosl=yes
20348 echo "$as_me: failed program was:" >&5
20349 sed 's/^/| /' conftest.$ac_ext >&5
20351 ac_cv_lib_m_acosl=no
20353 rm -f conftest.err conftest.$ac_objext \
20354 conftest$ac_exeext conftest.$ac_ext
20355 LIBS=$ac_check_lib_save_LIBS
20357 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20358 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20359 if test $ac_cv_lib_m_acosl = yes; then
20361 cat >>confdefs.h <<\_ACEOF
20362 #define HAVE_ACOSL 1
20367 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20368 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20369 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20370 echo $ECHO_N "(cached) $ECHO_C" >&6
20372 ac_check_lib_save_LIBS=$LIBS
20374 if test x$gcc_no_link = xyes; then
20375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20377 { (exit 1); exit 1; }; }
20379 cat >conftest.$ac_ext <<_ACEOF
20382 cat confdefs.h >>conftest.$ac_ext
20383 cat >>conftest.$ac_ext <<_ACEOF
20384 /* end confdefs.h. */
20386 /* Override any gcc2 internal prototype to avoid an error. */
20390 /* We use char because int might match the return type of a gcc2
20391 builtin and then its argument prototype would still apply. */
20401 rm -f conftest.$ac_objext conftest$ac_exeext
20402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20403 (eval $ac_link) 2>conftest.er1
20405 grep -v '^ *+' conftest.er1 >conftest.err
20407 cat conftest.err >&5
20408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20409 (exit $ac_status); } &&
20410 { ac_try='test -z "$ac_c_werror_flag"
20411 || test ! -s conftest.err'
20412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20413 (eval $ac_try) 2>&5
20415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20416 (exit $ac_status); }; } &&
20417 { ac_try='test -s conftest$ac_exeext'
20418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20419 (eval $ac_try) 2>&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); }; }; then
20423 ac_cv_lib_m_acoshf=yes
20425 echo "$as_me: failed program was:" >&5
20426 sed 's/^/| /' conftest.$ac_ext >&5
20428 ac_cv_lib_m_acoshf=no
20430 rm -f conftest.err conftest.$ac_objext \
20431 conftest$ac_exeext conftest.$ac_ext
20432 LIBS=$ac_check_lib_save_LIBS
20434 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20435 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20436 if test $ac_cv_lib_m_acoshf = yes; then
20438 cat >>confdefs.h <<\_ACEOF
20439 #define HAVE_ACOSHF 1
20444 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20445 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20446 if test "${ac_cv_lib_m_acosh+set}" = set; then
20447 echo $ECHO_N "(cached) $ECHO_C" >&6
20449 ac_check_lib_save_LIBS=$LIBS
20451 if test x$gcc_no_link = xyes; then
20452 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20454 { (exit 1); exit 1; }; }
20456 cat >conftest.$ac_ext <<_ACEOF
20459 cat confdefs.h >>conftest.$ac_ext
20460 cat >>conftest.$ac_ext <<_ACEOF
20461 /* end confdefs.h. */
20463 /* Override any gcc2 internal prototype to avoid an error. */
20467 /* We use char because int might match the return type of a gcc2
20468 builtin and then its argument prototype would still apply. */
20478 rm -f conftest.$ac_objext conftest$ac_exeext
20479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20480 (eval $ac_link) 2>conftest.er1
20482 grep -v '^ *+' conftest.er1 >conftest.err
20484 cat conftest.err >&5
20485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20486 (exit $ac_status); } &&
20487 { ac_try='test -z "$ac_c_werror_flag"
20488 || test ! -s conftest.err'
20489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20490 (eval $ac_try) 2>&5
20492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20493 (exit $ac_status); }; } &&
20494 { ac_try='test -s conftest$ac_exeext'
20495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20496 (eval $ac_try) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); }; }; then
20500 ac_cv_lib_m_acosh=yes
20502 echo "$as_me: failed program was:" >&5
20503 sed 's/^/| /' conftest.$ac_ext >&5
20505 ac_cv_lib_m_acosh=no
20507 rm -f conftest.err conftest.$ac_objext \
20508 conftest$ac_exeext conftest.$ac_ext
20509 LIBS=$ac_check_lib_save_LIBS
20511 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20512 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20513 if test $ac_cv_lib_m_acosh = yes; then
20515 cat >>confdefs.h <<\_ACEOF
20516 #define HAVE_ACOSH 1
20521 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20522 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20523 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20524 echo $ECHO_N "(cached) $ECHO_C" >&6
20526 ac_check_lib_save_LIBS=$LIBS
20528 if test x$gcc_no_link = xyes; then
20529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20531 { (exit 1); exit 1; }; }
20533 cat >conftest.$ac_ext <<_ACEOF
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20540 /* Override any gcc2 internal prototype to avoid an error. */
20544 /* We use char because int might match the return type of a gcc2
20545 builtin and then its argument prototype would still apply. */
20555 rm -f conftest.$ac_objext conftest$ac_exeext
20556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20557 (eval $ac_link) 2>conftest.er1
20559 grep -v '^ *+' conftest.er1 >conftest.err
20561 cat conftest.err >&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); } &&
20564 { ac_try='test -z "$ac_c_werror_flag"
20565 || test ! -s conftest.err'
20566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20567 (eval $ac_try) 2>&5
20569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20570 (exit $ac_status); }; } &&
20571 { ac_try='test -s conftest$ac_exeext'
20572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20573 (eval $ac_try) 2>&5
20575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20576 (exit $ac_status); }; }; then
20577 ac_cv_lib_m_acoshl=yes
20579 echo "$as_me: failed program was:" >&5
20580 sed 's/^/| /' conftest.$ac_ext >&5
20582 ac_cv_lib_m_acoshl=no
20584 rm -f conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext conftest.$ac_ext
20586 LIBS=$ac_check_lib_save_LIBS
20588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20589 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20590 if test $ac_cv_lib_m_acoshl = yes; then
20592 cat >>confdefs.h <<\_ACEOF
20593 #define HAVE_ACOSHL 1
20598 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20599 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20600 if test "${ac_cv_lib_m_asinf+set}" = set; then
20601 echo $ECHO_N "(cached) $ECHO_C" >&6
20603 ac_check_lib_save_LIBS=$LIBS
20605 if test x$gcc_no_link = xyes; then
20606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20608 { (exit 1); exit 1; }; }
20610 cat >conftest.$ac_ext <<_ACEOF
20613 cat confdefs.h >>conftest.$ac_ext
20614 cat >>conftest.$ac_ext <<_ACEOF
20615 /* end confdefs.h. */
20617 /* Override any gcc2 internal prototype to avoid an error. */
20621 /* We use char because int might match the return type of a gcc2
20622 builtin and then its argument prototype would still apply. */
20632 rm -f conftest.$ac_objext conftest$ac_exeext
20633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20634 (eval $ac_link) 2>conftest.er1
20636 grep -v '^ *+' conftest.er1 >conftest.err
20638 cat conftest.err >&5
20639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20640 (exit $ac_status); } &&
20641 { ac_try='test -z "$ac_c_werror_flag"
20642 || test ! -s conftest.err'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; } &&
20648 { ac_try='test -s conftest$ac_exeext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20654 ac_cv_lib_m_asinf=yes
20656 echo "$as_me: failed program was:" >&5
20657 sed 's/^/| /' conftest.$ac_ext >&5
20659 ac_cv_lib_m_asinf=no
20661 rm -f conftest.err conftest.$ac_objext \
20662 conftest$ac_exeext conftest.$ac_ext
20663 LIBS=$ac_check_lib_save_LIBS
20665 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20666 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20667 if test $ac_cv_lib_m_asinf = yes; then
20669 cat >>confdefs.h <<\_ACEOF
20670 #define HAVE_ASINF 1
20675 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20676 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20677 if test "${ac_cv_lib_m_asin+set}" = set; then
20678 echo $ECHO_N "(cached) $ECHO_C" >&6
20680 ac_check_lib_save_LIBS=$LIBS
20682 if test x$gcc_no_link = xyes; then
20683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20685 { (exit 1); exit 1; }; }
20687 cat >conftest.$ac_ext <<_ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20694 /* Override any gcc2 internal prototype to avoid an error. */
20698 /* We use char because int might match the return type of a gcc2
20699 builtin and then its argument prototype would still apply. */
20709 rm -f conftest.$ac_objext conftest$ac_exeext
20710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20711 (eval $ac_link) 2>conftest.er1
20713 grep -v '^ *+' conftest.er1 >conftest.err
20715 cat conftest.err >&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } &&
20718 { ac_try='test -z "$ac_c_werror_flag"
20719 || test ! -s conftest.err'
20720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20721 (eval $ac_try) 2>&5
20723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20724 (exit $ac_status); }; } &&
20725 { ac_try='test -s conftest$ac_exeext'
20726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20727 (eval $ac_try) 2>&5
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); }; }; then
20731 ac_cv_lib_m_asin=yes
20733 echo "$as_me: failed program was:" >&5
20734 sed 's/^/| /' conftest.$ac_ext >&5
20736 ac_cv_lib_m_asin=no
20738 rm -f conftest.err conftest.$ac_objext \
20739 conftest$ac_exeext conftest.$ac_ext
20740 LIBS=$ac_check_lib_save_LIBS
20742 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20743 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20744 if test $ac_cv_lib_m_asin = yes; then
20746 cat >>confdefs.h <<\_ACEOF
20747 #define HAVE_ASIN 1
20752 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20753 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20754 if test "${ac_cv_lib_m_asinl+set}" = set; then
20755 echo $ECHO_N "(cached) $ECHO_C" >&6
20757 ac_check_lib_save_LIBS=$LIBS
20759 if test x$gcc_no_link = xyes; then
20760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20762 { (exit 1); exit 1; }; }
20764 cat >conftest.$ac_ext <<_ACEOF
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20771 /* Override any gcc2 internal prototype to avoid an error. */
20775 /* We use char because int might match the return type of a gcc2
20776 builtin and then its argument prototype would still apply. */
20786 rm -f conftest.$ac_objext conftest$ac_exeext
20787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20788 (eval $ac_link) 2>conftest.er1
20790 grep -v '^ *+' conftest.er1 >conftest.err
20792 cat conftest.err >&5
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); } &&
20795 { ac_try='test -z "$ac_c_werror_flag"
20796 || test ! -s conftest.err'
20797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20798 (eval $ac_try) 2>&5
20800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20801 (exit $ac_status); }; } &&
20802 { ac_try='test -s conftest$ac_exeext'
20803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20804 (eval $ac_try) 2>&5
20806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20807 (exit $ac_status); }; }; then
20808 ac_cv_lib_m_asinl=yes
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20813 ac_cv_lib_m_asinl=no
20815 rm -f conftest.err conftest.$ac_objext \
20816 conftest$ac_exeext conftest.$ac_ext
20817 LIBS=$ac_check_lib_save_LIBS
20819 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20820 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20821 if test $ac_cv_lib_m_asinl = yes; then
20823 cat >>confdefs.h <<\_ACEOF
20824 #define HAVE_ASINL 1
20829 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20830 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20831 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20832 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 ac_check_lib_save_LIBS=$LIBS
20836 if test x$gcc_no_link = xyes; then
20837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20839 { (exit 1); exit 1; }; }
20841 cat >conftest.$ac_ext <<_ACEOF
20844 cat confdefs.h >>conftest.$ac_ext
20845 cat >>conftest.$ac_ext <<_ACEOF
20846 /* end confdefs.h. */
20848 /* Override any gcc2 internal prototype to avoid an error. */
20852 /* We use char because int might match the return type of a gcc2
20853 builtin and then its argument prototype would still apply. */
20863 rm -f conftest.$ac_objext conftest$ac_exeext
20864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20865 (eval $ac_link) 2>conftest.er1
20867 grep -v '^ *+' conftest.er1 >conftest.err
20869 cat conftest.err >&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); } &&
20872 { ac_try='test -z "$ac_c_werror_flag"
20873 || test ! -s conftest.err'
20874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20875 (eval $ac_try) 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); }; } &&
20879 { ac_try='test -s conftest$ac_exeext'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; }; then
20885 ac_cv_lib_m_asinhf=yes
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20890 ac_cv_lib_m_asinhf=no
20892 rm -f conftest.err conftest.$ac_objext \
20893 conftest$ac_exeext conftest.$ac_ext
20894 LIBS=$ac_check_lib_save_LIBS
20896 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20897 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20898 if test $ac_cv_lib_m_asinhf = yes; then
20900 cat >>confdefs.h <<\_ACEOF
20901 #define HAVE_ASINHF 1
20906 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20907 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20908 if test "${ac_cv_lib_m_asinh+set}" = set; then
20909 echo $ECHO_N "(cached) $ECHO_C" >&6
20911 ac_check_lib_save_LIBS=$LIBS
20913 if test x$gcc_no_link = xyes; then
20914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20916 { (exit 1); exit 1; }; }
20918 cat >conftest.$ac_ext <<_ACEOF
20921 cat confdefs.h >>conftest.$ac_ext
20922 cat >>conftest.$ac_ext <<_ACEOF
20923 /* end confdefs.h. */
20925 /* Override any gcc2 internal prototype to avoid an error. */
20929 /* We use char because int might match the return type of a gcc2
20930 builtin and then its argument prototype would still apply. */
20940 rm -f conftest.$ac_objext conftest$ac_exeext
20941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20942 (eval $ac_link) 2>conftest.er1
20944 grep -v '^ *+' conftest.er1 >conftest.err
20946 cat conftest.err >&5
20947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20948 (exit $ac_status); } &&
20949 { ac_try='test -z "$ac_c_werror_flag"
20950 || test ! -s conftest.err'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; } &&
20956 { ac_try='test -s conftest$ac_exeext'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; }; then
20962 ac_cv_lib_m_asinh=yes
20964 echo "$as_me: failed program was:" >&5
20965 sed 's/^/| /' conftest.$ac_ext >&5
20967 ac_cv_lib_m_asinh=no
20969 rm -f conftest.err conftest.$ac_objext \
20970 conftest$ac_exeext conftest.$ac_ext
20971 LIBS=$ac_check_lib_save_LIBS
20973 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20974 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20975 if test $ac_cv_lib_m_asinh = yes; then
20977 cat >>confdefs.h <<\_ACEOF
20978 #define HAVE_ASINH 1
20983 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20984 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20985 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20986 echo $ECHO_N "(cached) $ECHO_C" >&6
20988 ac_check_lib_save_LIBS=$LIBS
20990 if test x$gcc_no_link = xyes; then
20991 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20992 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20993 { (exit 1); exit 1; }; }
20995 cat >conftest.$ac_ext <<_ACEOF
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21002 /* Override any gcc2 internal prototype to avoid an error. */
21006 /* We use char because int might match the return type of a gcc2
21007 builtin and then its argument prototype would still apply. */
21017 rm -f conftest.$ac_objext conftest$ac_exeext
21018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21019 (eval $ac_link) 2>conftest.er1
21021 grep -v '^ *+' conftest.er1 >conftest.err
21023 cat conftest.err >&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); } &&
21026 { ac_try='test -z "$ac_c_werror_flag"
21027 || test ! -s conftest.err'
21028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21029 (eval $ac_try) 2>&5
21031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21032 (exit $ac_status); }; } &&
21033 { ac_try='test -s conftest$ac_exeext'
21034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21035 (eval $ac_try) 2>&5
21037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21038 (exit $ac_status); }; }; then
21039 ac_cv_lib_m_asinhl=yes
21041 echo "$as_me: failed program was:" >&5
21042 sed 's/^/| /' conftest.$ac_ext >&5
21044 ac_cv_lib_m_asinhl=no
21046 rm -f conftest.err conftest.$ac_objext \
21047 conftest$ac_exeext conftest.$ac_ext
21048 LIBS=$ac_check_lib_save_LIBS
21050 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
21051 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
21052 if test $ac_cv_lib_m_asinhl = yes; then
21054 cat >>confdefs.h <<\_ACEOF
21055 #define HAVE_ASINHL 1
21060 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
21061 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
21062 if test "${ac_cv_lib_m_atan2f+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 ac_check_lib_save_LIBS=$LIBS
21067 if test x$gcc_no_link = xyes; then
21068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21070 { (exit 1); exit 1; }; }
21072 cat >conftest.$ac_ext <<_ACEOF
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21079 /* Override any gcc2 internal prototype to avoid an error. */
21083 /* We use char because int might match the return type of a gcc2
21084 builtin and then its argument prototype would still apply. */
21094 rm -f conftest.$ac_objext conftest$ac_exeext
21095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21096 (eval $ac_link) 2>conftest.er1
21098 grep -v '^ *+' conftest.er1 >conftest.err
21100 cat conftest.err >&5
21101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102 (exit $ac_status); } &&
21103 { ac_try='test -z "$ac_c_werror_flag"
21104 || test ! -s conftest.err'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; } &&
21110 { ac_try='test -s conftest$ac_exeext'
21111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21112 (eval $ac_try) 2>&5
21114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21115 (exit $ac_status); }; }; then
21116 ac_cv_lib_m_atan2f=yes
21118 echo "$as_me: failed program was:" >&5
21119 sed 's/^/| /' conftest.$ac_ext >&5
21121 ac_cv_lib_m_atan2f=no
21123 rm -f conftest.err conftest.$ac_objext \
21124 conftest$ac_exeext conftest.$ac_ext
21125 LIBS=$ac_check_lib_save_LIBS
21127 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21128 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21129 if test $ac_cv_lib_m_atan2f = yes; then
21131 cat >>confdefs.h <<\_ACEOF
21132 #define HAVE_ATAN2F 1
21137 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21138 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21139 if test "${ac_cv_lib_m_atan2+set}" = set; then
21140 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 ac_check_lib_save_LIBS=$LIBS
21144 if test x$gcc_no_link = xyes; then
21145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21147 { (exit 1); exit 1; }; }
21149 cat >conftest.$ac_ext <<_ACEOF
21152 cat confdefs.h >>conftest.$ac_ext
21153 cat >>conftest.$ac_ext <<_ACEOF
21154 /* end confdefs.h. */
21156 /* Override any gcc2 internal prototype to avoid an error. */
21160 /* We use char because int might match the return type of a gcc2
21161 builtin and then its argument prototype would still apply. */
21171 rm -f conftest.$ac_objext conftest$ac_exeext
21172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21173 (eval $ac_link) 2>conftest.er1
21175 grep -v '^ *+' conftest.er1 >conftest.err
21177 cat conftest.err >&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); } &&
21180 { ac_try='test -z "$ac_c_werror_flag"
21181 || test ! -s conftest.err'
21182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21183 (eval $ac_try) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); }; } &&
21187 { ac_try='test -s conftest$ac_exeext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21193 ac_cv_lib_m_atan2=yes
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_cv_lib_m_atan2=no
21200 rm -f conftest.err conftest.$ac_objext \
21201 conftest$ac_exeext conftest.$ac_ext
21202 LIBS=$ac_check_lib_save_LIBS
21204 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21205 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21206 if test $ac_cv_lib_m_atan2 = yes; then
21208 cat >>confdefs.h <<\_ACEOF
21209 #define HAVE_ATAN2 1
21214 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21215 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21216 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21217 echo $ECHO_N "(cached) $ECHO_C" >&6
21219 ac_check_lib_save_LIBS=$LIBS
21221 if test x$gcc_no_link = xyes; then
21222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21224 { (exit 1); exit 1; }; }
21226 cat >conftest.$ac_ext <<_ACEOF
21229 cat confdefs.h >>conftest.$ac_ext
21230 cat >>conftest.$ac_ext <<_ACEOF
21231 /* end confdefs.h. */
21233 /* Override any gcc2 internal prototype to avoid an error. */
21237 /* We use char because int might match the return type of a gcc2
21238 builtin and then its argument prototype would still apply. */
21248 rm -f conftest.$ac_objext conftest$ac_exeext
21249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21250 (eval $ac_link) 2>conftest.er1
21252 grep -v '^ *+' conftest.er1 >conftest.err
21254 cat conftest.err >&5
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); } &&
21257 { ac_try='test -z "$ac_c_werror_flag"
21258 || test ! -s conftest.err'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; } &&
21264 { ac_try='test -s conftest$ac_exeext'
21265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21266 (eval $ac_try) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); }; }; then
21270 ac_cv_lib_m_atan2l=yes
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21275 ac_cv_lib_m_atan2l=no
21277 rm -f conftest.err conftest.$ac_objext \
21278 conftest$ac_exeext conftest.$ac_ext
21279 LIBS=$ac_check_lib_save_LIBS
21281 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21282 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21283 if test $ac_cv_lib_m_atan2l = yes; then
21285 cat >>confdefs.h <<\_ACEOF
21286 #define HAVE_ATAN2L 1
21291 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21292 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21293 if test "${ac_cv_lib_m_atanf+set}" = set; then
21294 echo $ECHO_N "(cached) $ECHO_C" >&6
21296 ac_check_lib_save_LIBS=$LIBS
21298 if test x$gcc_no_link = xyes; then
21299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21301 { (exit 1); exit 1; }; }
21303 cat >conftest.$ac_ext <<_ACEOF
21306 cat confdefs.h >>conftest.$ac_ext
21307 cat >>conftest.$ac_ext <<_ACEOF
21308 /* end confdefs.h. */
21310 /* Override any gcc2 internal prototype to avoid an error. */
21314 /* We use char because int might match the return type of a gcc2
21315 builtin and then its argument prototype would still apply. */
21325 rm -f conftest.$ac_objext conftest$ac_exeext
21326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21327 (eval $ac_link) 2>conftest.er1
21329 grep -v '^ *+' conftest.er1 >conftest.err
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } &&
21334 { ac_try='test -z "$ac_c_werror_flag"
21335 || test ! -s conftest.err'
21336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21337 (eval $ac_try) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); }; } &&
21341 { ac_try='test -s conftest$ac_exeext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_lib_m_atanf=yes
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_cv_lib_m_atanf=no
21354 rm -f conftest.err conftest.$ac_objext \
21355 conftest$ac_exeext conftest.$ac_ext
21356 LIBS=$ac_check_lib_save_LIBS
21358 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21359 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21360 if test $ac_cv_lib_m_atanf = yes; then
21362 cat >>confdefs.h <<\_ACEOF
21363 #define HAVE_ATANF 1
21368 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21369 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21370 if test "${ac_cv_lib_m_atan+set}" = set; then
21371 echo $ECHO_N "(cached) $ECHO_C" >&6
21373 ac_check_lib_save_LIBS=$LIBS
21375 if test x$gcc_no_link = xyes; then
21376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21378 { (exit 1); exit 1; }; }
21380 cat >conftest.$ac_ext <<_ACEOF
21383 cat confdefs.h >>conftest.$ac_ext
21384 cat >>conftest.$ac_ext <<_ACEOF
21385 /* end confdefs.h. */
21387 /* Override any gcc2 internal prototype to avoid an error. */
21391 /* We use char because int might match the return type of a gcc2
21392 builtin and then its argument prototype would still apply. */
21402 rm -f conftest.$ac_objext conftest$ac_exeext
21403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21404 (eval $ac_link) 2>conftest.er1
21406 grep -v '^ *+' conftest.er1 >conftest.err
21408 cat conftest.err >&5
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); } &&
21411 { ac_try='test -z "$ac_c_werror_flag"
21412 || test ! -s conftest.err'
21413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21414 (eval $ac_try) 2>&5
21416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21417 (exit $ac_status); }; } &&
21418 { ac_try='test -s conftest$ac_exeext'
21419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21420 (eval $ac_try) 2>&5
21422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21423 (exit $ac_status); }; }; then
21424 ac_cv_lib_m_atan=yes
21426 echo "$as_me: failed program was:" >&5
21427 sed 's/^/| /' conftest.$ac_ext >&5
21429 ac_cv_lib_m_atan=no
21431 rm -f conftest.err conftest.$ac_objext \
21432 conftest$ac_exeext conftest.$ac_ext
21433 LIBS=$ac_check_lib_save_LIBS
21435 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21436 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21437 if test $ac_cv_lib_m_atan = yes; then
21439 cat >>confdefs.h <<\_ACEOF
21440 #define HAVE_ATAN 1
21445 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21446 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21447 if test "${ac_cv_lib_m_atanl+set}" = set; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 ac_check_lib_save_LIBS=$LIBS
21452 if test x$gcc_no_link = xyes; then
21453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21455 { (exit 1); exit 1; }; }
21457 cat >conftest.$ac_ext <<_ACEOF
21460 cat confdefs.h >>conftest.$ac_ext
21461 cat >>conftest.$ac_ext <<_ACEOF
21462 /* end confdefs.h. */
21464 /* Override any gcc2 internal prototype to avoid an error. */
21468 /* We use char because int might match the return type of a gcc2
21469 builtin and then its argument prototype would still apply. */
21479 rm -f conftest.$ac_objext conftest$ac_exeext
21480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21481 (eval $ac_link) 2>conftest.er1
21483 grep -v '^ *+' conftest.er1 >conftest.err
21485 cat conftest.err >&5
21486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21487 (exit $ac_status); } &&
21488 { ac_try='test -z "$ac_c_werror_flag"
21489 || test ! -s conftest.err'
21490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21491 (eval $ac_try) 2>&5
21493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21494 (exit $ac_status); }; } &&
21495 { ac_try='test -s conftest$ac_exeext'
21496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21497 (eval $ac_try) 2>&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); }; }; then
21501 ac_cv_lib_m_atanl=yes
21503 echo "$as_me: failed program was:" >&5
21504 sed 's/^/| /' conftest.$ac_ext >&5
21506 ac_cv_lib_m_atanl=no
21508 rm -f conftest.err conftest.$ac_objext \
21509 conftest$ac_exeext conftest.$ac_ext
21510 LIBS=$ac_check_lib_save_LIBS
21512 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21513 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21514 if test $ac_cv_lib_m_atanl = yes; then
21516 cat >>confdefs.h <<\_ACEOF
21517 #define HAVE_ATANL 1
21522 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21523 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21524 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21527 ac_check_lib_save_LIBS=$LIBS
21529 if test x$gcc_no_link = xyes; then
21530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21532 { (exit 1); exit 1; }; }
21534 cat >conftest.$ac_ext <<_ACEOF
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21541 /* Override any gcc2 internal prototype to avoid an error. */
21545 /* We use char because int might match the return type of a gcc2
21546 builtin and then its argument prototype would still apply. */
21556 rm -f conftest.$ac_objext conftest$ac_exeext
21557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21558 (eval $ac_link) 2>conftest.er1
21560 grep -v '^ *+' conftest.er1 >conftest.err
21562 cat conftest.err >&5
21563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21564 (exit $ac_status); } &&
21565 { ac_try='test -z "$ac_c_werror_flag"
21566 || test ! -s conftest.err'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; } &&
21572 { ac_try='test -s conftest$ac_exeext'
21573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21574 (eval $ac_try) 2>&5
21576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21577 (exit $ac_status); }; }; then
21578 ac_cv_lib_m_atanhf=yes
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21583 ac_cv_lib_m_atanhf=no
21585 rm -f conftest.err conftest.$ac_objext \
21586 conftest$ac_exeext conftest.$ac_ext
21587 LIBS=$ac_check_lib_save_LIBS
21589 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21590 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21591 if test $ac_cv_lib_m_atanhf = yes; then
21593 cat >>confdefs.h <<\_ACEOF
21594 #define HAVE_ATANHF 1
21599 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21600 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21601 if test "${ac_cv_lib_m_atanh+set}" = set; then
21602 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 ac_check_lib_save_LIBS=$LIBS
21606 if test x$gcc_no_link = xyes; then
21607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21609 { (exit 1); exit 1; }; }
21611 cat >conftest.$ac_ext <<_ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21618 /* Override any gcc2 internal prototype to avoid an error. */
21622 /* We use char because int might match the return type of a gcc2
21623 builtin and then its argument prototype would still apply. */
21633 rm -f conftest.$ac_objext conftest$ac_exeext
21634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21635 (eval $ac_link) 2>conftest.er1
21637 grep -v '^ *+' conftest.er1 >conftest.err
21639 cat conftest.err >&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -z "$ac_c_werror_flag"
21643 || test ! -s conftest.err'
21644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21645 (eval $ac_try) 2>&5
21647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21648 (exit $ac_status); }; } &&
21649 { ac_try='test -s conftest$ac_exeext'
21650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21651 (eval $ac_try) 2>&5
21653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21654 (exit $ac_status); }; }; then
21655 ac_cv_lib_m_atanh=yes
21657 echo "$as_me: failed program was:" >&5
21658 sed 's/^/| /' conftest.$ac_ext >&5
21660 ac_cv_lib_m_atanh=no
21662 rm -f conftest.err conftest.$ac_objext \
21663 conftest$ac_exeext conftest.$ac_ext
21664 LIBS=$ac_check_lib_save_LIBS
21666 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21667 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21668 if test $ac_cv_lib_m_atanh = yes; then
21670 cat >>confdefs.h <<\_ACEOF
21671 #define HAVE_ATANH 1
21676 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21677 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21678 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21679 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 ac_check_lib_save_LIBS=$LIBS
21683 if test x$gcc_no_link = xyes; then
21684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21686 { (exit 1); exit 1; }; }
21688 cat >conftest.$ac_ext <<_ACEOF
21691 cat confdefs.h >>conftest.$ac_ext
21692 cat >>conftest.$ac_ext <<_ACEOF
21693 /* end confdefs.h. */
21695 /* Override any gcc2 internal prototype to avoid an error. */
21699 /* We use char because int might match the return type of a gcc2
21700 builtin and then its argument prototype would still apply. */
21710 rm -f conftest.$ac_objext conftest$ac_exeext
21711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21712 (eval $ac_link) 2>conftest.er1
21714 grep -v '^ *+' conftest.er1 >conftest.err
21716 cat conftest.err >&5
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); } &&
21719 { ac_try='test -z "$ac_c_werror_flag"
21720 || test ! -s conftest.err'
21721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21722 (eval $ac_try) 2>&5
21724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21725 (exit $ac_status); }; } &&
21726 { ac_try='test -s conftest$ac_exeext'
21727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21728 (eval $ac_try) 2>&5
21730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21731 (exit $ac_status); }; }; then
21732 ac_cv_lib_m_atanhl=yes
21734 echo "$as_me: failed program was:" >&5
21735 sed 's/^/| /' conftest.$ac_ext >&5
21737 ac_cv_lib_m_atanhl=no
21739 rm -f conftest.err conftest.$ac_objext \
21740 conftest$ac_exeext conftest.$ac_ext
21741 LIBS=$ac_check_lib_save_LIBS
21743 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21744 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21745 if test $ac_cv_lib_m_atanhl = yes; then
21747 cat >>confdefs.h <<\_ACEOF
21748 #define HAVE_ATANHL 1
21753 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21754 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21755 if test "${ac_cv_lib_m_cargf+set}" = set; then
21756 echo $ECHO_N "(cached) $ECHO_C" >&6
21758 ac_check_lib_save_LIBS=$LIBS
21760 if test x$gcc_no_link = xyes; then
21761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21763 { (exit 1); exit 1; }; }
21765 cat >conftest.$ac_ext <<_ACEOF
21768 cat confdefs.h >>conftest.$ac_ext
21769 cat >>conftest.$ac_ext <<_ACEOF
21770 /* end confdefs.h. */
21772 /* Override any gcc2 internal prototype to avoid an error. */
21776 /* We use char because int might match the return type of a gcc2
21777 builtin and then its argument prototype would still apply. */
21787 rm -f conftest.$ac_objext conftest$ac_exeext
21788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21789 (eval $ac_link) 2>conftest.er1
21791 grep -v '^ *+' conftest.er1 >conftest.err
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } &&
21796 { ac_try='test -z "$ac_c_werror_flag"
21797 || test ! -s conftest.err'
21798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21799 (eval $ac_try) 2>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); }; } &&
21803 { ac_try='test -s conftest$ac_exeext'
21804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21805 (eval $ac_try) 2>&5
21807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21808 (exit $ac_status); }; }; then
21809 ac_cv_lib_m_cargf=yes
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21814 ac_cv_lib_m_cargf=no
21816 rm -f conftest.err conftest.$ac_objext \
21817 conftest$ac_exeext conftest.$ac_ext
21818 LIBS=$ac_check_lib_save_LIBS
21820 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21821 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21822 if test $ac_cv_lib_m_cargf = yes; then
21824 cat >>confdefs.h <<\_ACEOF
21825 #define HAVE_CARGF 1
21830 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21831 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21832 if test "${ac_cv_lib_m_carg+set}" = set; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 ac_check_lib_save_LIBS=$LIBS
21837 if test x$gcc_no_link = xyes; then
21838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21840 { (exit 1); exit 1; }; }
21842 cat >conftest.$ac_ext <<_ACEOF
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21849 /* Override any gcc2 internal prototype to avoid an error. */
21853 /* We use char because int might match the return type of a gcc2
21854 builtin and then its argument prototype would still apply. */
21864 rm -f conftest.$ac_objext conftest$ac_exeext
21865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21866 (eval $ac_link) 2>conftest.er1
21868 grep -v '^ *+' conftest.er1 >conftest.err
21870 cat conftest.err >&5
21871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21872 (exit $ac_status); } &&
21873 { ac_try='test -z "$ac_c_werror_flag"
21874 || test ! -s conftest.err'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; } &&
21880 { ac_try='test -s conftest$ac_exeext'
21881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21882 (eval $ac_try) 2>&5
21884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21885 (exit $ac_status); }; }; then
21886 ac_cv_lib_m_carg=yes
21888 echo "$as_me: failed program was:" >&5
21889 sed 's/^/| /' conftest.$ac_ext >&5
21891 ac_cv_lib_m_carg=no
21893 rm -f conftest.err conftest.$ac_objext \
21894 conftest$ac_exeext conftest.$ac_ext
21895 LIBS=$ac_check_lib_save_LIBS
21897 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21898 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21899 if test $ac_cv_lib_m_carg = yes; then
21901 cat >>confdefs.h <<\_ACEOF
21902 #define HAVE_CARG 1
21907 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21908 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21909 if test "${ac_cv_lib_m_cargl+set}" = set; then
21910 echo $ECHO_N "(cached) $ECHO_C" >&6
21912 ac_check_lib_save_LIBS=$LIBS
21914 if test x$gcc_no_link = xyes; then
21915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21917 { (exit 1); exit 1; }; }
21919 cat >conftest.$ac_ext <<_ACEOF
21922 cat confdefs.h >>conftest.$ac_ext
21923 cat >>conftest.$ac_ext <<_ACEOF
21924 /* end confdefs.h. */
21926 /* Override any gcc2 internal prototype to avoid an error. */
21930 /* We use char because int might match the return type of a gcc2
21931 builtin and then its argument prototype would still apply. */
21941 rm -f conftest.$ac_objext conftest$ac_exeext
21942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21943 (eval $ac_link) 2>conftest.er1
21945 grep -v '^ *+' conftest.er1 >conftest.err
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } &&
21950 { ac_try='test -z "$ac_c_werror_flag"
21951 || test ! -s conftest.err'
21952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21953 (eval $ac_try) 2>&5
21955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21956 (exit $ac_status); }; } &&
21957 { ac_try='test -s conftest$ac_exeext'
21958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21959 (eval $ac_try) 2>&5
21961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21962 (exit $ac_status); }; }; then
21963 ac_cv_lib_m_cargl=yes
21965 echo "$as_me: failed program was:" >&5
21966 sed 's/^/| /' conftest.$ac_ext >&5
21968 ac_cv_lib_m_cargl=no
21970 rm -f conftest.err conftest.$ac_objext \
21971 conftest$ac_exeext conftest.$ac_ext
21972 LIBS=$ac_check_lib_save_LIBS
21974 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21975 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21976 if test $ac_cv_lib_m_cargl = yes; then
21978 cat >>confdefs.h <<\_ACEOF
21979 #define HAVE_CARGL 1
21984 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21985 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21986 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21987 echo $ECHO_N "(cached) $ECHO_C" >&6
21989 ac_check_lib_save_LIBS=$LIBS
21991 if test x$gcc_no_link = xyes; then
21992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21994 { (exit 1); exit 1; }; }
21996 cat >conftest.$ac_ext <<_ACEOF
21999 cat confdefs.h >>conftest.$ac_ext
22000 cat >>conftest.$ac_ext <<_ACEOF
22001 /* end confdefs.h. */
22003 /* Override any gcc2 internal prototype to avoid an error. */
22007 /* We use char because int might match the return type of a gcc2
22008 builtin and then its argument prototype would still apply. */
22018 rm -f conftest.$ac_objext conftest$ac_exeext
22019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22020 (eval $ac_link) 2>conftest.er1
22022 grep -v '^ *+' conftest.er1 >conftest.err
22024 cat conftest.err >&5
22025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22026 (exit $ac_status); } &&
22027 { ac_try='test -z "$ac_c_werror_flag"
22028 || test ! -s conftest.err'
22029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22030 (eval $ac_try) 2>&5
22032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22033 (exit $ac_status); }; } &&
22034 { ac_try='test -s conftest$ac_exeext'
22035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22036 (eval $ac_try) 2>&5
22038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22039 (exit $ac_status); }; }; then
22040 ac_cv_lib_m_ceilf=yes
22042 echo "$as_me: failed program was:" >&5
22043 sed 's/^/| /' conftest.$ac_ext >&5
22045 ac_cv_lib_m_ceilf=no
22047 rm -f conftest.err conftest.$ac_objext \
22048 conftest$ac_exeext conftest.$ac_ext
22049 LIBS=$ac_check_lib_save_LIBS
22051 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
22052 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
22053 if test $ac_cv_lib_m_ceilf = yes; then
22055 cat >>confdefs.h <<\_ACEOF
22056 #define HAVE_CEILF 1
22061 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
22062 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
22063 if test "${ac_cv_lib_m_ceil+set}" = set; then
22064 echo $ECHO_N "(cached) $ECHO_C" >&6
22066 ac_check_lib_save_LIBS=$LIBS
22068 if test x$gcc_no_link = xyes; then
22069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22071 { (exit 1); exit 1; }; }
22073 cat >conftest.$ac_ext <<_ACEOF
22076 cat confdefs.h >>conftest.$ac_ext
22077 cat >>conftest.$ac_ext <<_ACEOF
22078 /* end confdefs.h. */
22080 /* Override any gcc2 internal prototype to avoid an error. */
22084 /* We use char because int might match the return type of a gcc2
22085 builtin and then its argument prototype would still apply. */
22095 rm -f conftest.$ac_objext conftest$ac_exeext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22097 (eval $ac_link) 2>conftest.er1
22099 grep -v '^ *+' conftest.er1 >conftest.err
22101 cat conftest.err >&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } &&
22104 { ac_try='test -z "$ac_c_werror_flag"
22105 || test ! -s conftest.err'
22106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22107 (eval $ac_try) 2>&5
22109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110 (exit $ac_status); }; } &&
22111 { ac_try='test -s conftest$ac_exeext'
22112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22113 (eval $ac_try) 2>&5
22115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22116 (exit $ac_status); }; }; then
22117 ac_cv_lib_m_ceil=yes
22119 echo "$as_me: failed program was:" >&5
22120 sed 's/^/| /' conftest.$ac_ext >&5
22122 ac_cv_lib_m_ceil=no
22124 rm -f conftest.err conftest.$ac_objext \
22125 conftest$ac_exeext conftest.$ac_ext
22126 LIBS=$ac_check_lib_save_LIBS
22128 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22129 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22130 if test $ac_cv_lib_m_ceil = yes; then
22132 cat >>confdefs.h <<\_ACEOF
22133 #define HAVE_CEIL 1
22138 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22139 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22140 if test "${ac_cv_lib_m_ceill+set}" = set; then
22141 echo $ECHO_N "(cached) $ECHO_C" >&6
22143 ac_check_lib_save_LIBS=$LIBS
22145 if test x$gcc_no_link = xyes; then
22146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22148 { (exit 1); exit 1; }; }
22150 cat >conftest.$ac_ext <<_ACEOF
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22157 /* Override any gcc2 internal prototype to avoid an error. */
22161 /* We use char because int might match the return type of a gcc2
22162 builtin and then its argument prototype would still apply. */
22172 rm -f conftest.$ac_objext conftest$ac_exeext
22173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22174 (eval $ac_link) 2>conftest.er1
22176 grep -v '^ *+' conftest.er1 >conftest.err
22178 cat conftest.err >&5
22179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180 (exit $ac_status); } &&
22181 { ac_try='test -z "$ac_c_werror_flag"
22182 || test ! -s conftest.err'
22183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22184 (eval $ac_try) 2>&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); }; } &&
22188 { ac_try='test -s conftest$ac_exeext'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; }; then
22194 ac_cv_lib_m_ceill=yes
22196 echo "$as_me: failed program was:" >&5
22197 sed 's/^/| /' conftest.$ac_ext >&5
22199 ac_cv_lib_m_ceill=no
22201 rm -f conftest.err conftest.$ac_objext \
22202 conftest$ac_exeext conftest.$ac_ext
22203 LIBS=$ac_check_lib_save_LIBS
22205 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22206 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22207 if test $ac_cv_lib_m_ceill = yes; then
22209 cat >>confdefs.h <<\_ACEOF
22210 #define HAVE_CEILL 1
22215 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22216 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22217 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22220 ac_check_lib_save_LIBS=$LIBS
22222 if test x$gcc_no_link = xyes; then
22223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22225 { (exit 1); exit 1; }; }
22227 cat >conftest.$ac_ext <<_ACEOF
22230 cat confdefs.h >>conftest.$ac_ext
22231 cat >>conftest.$ac_ext <<_ACEOF
22232 /* end confdefs.h. */
22234 /* Override any gcc2 internal prototype to avoid an error. */
22238 /* We use char because int might match the return type of a gcc2
22239 builtin and then its argument prototype would still apply. */
22249 rm -f conftest.$ac_objext conftest$ac_exeext
22250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22251 (eval $ac_link) 2>conftest.er1
22253 grep -v '^ *+' conftest.er1 >conftest.err
22255 cat conftest.err >&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); } &&
22258 { ac_try='test -z "$ac_c_werror_flag"
22259 || test ! -s conftest.err'
22260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22261 (eval $ac_try) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); }; } &&
22265 { ac_try='test -s conftest$ac_exeext'
22266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22267 (eval $ac_try) 2>&5
22269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22270 (exit $ac_status); }; }; then
22271 ac_cv_lib_m_copysignf=yes
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.$ac_ext >&5
22276 ac_cv_lib_m_copysignf=no
22278 rm -f conftest.err conftest.$ac_objext \
22279 conftest$ac_exeext conftest.$ac_ext
22280 LIBS=$ac_check_lib_save_LIBS
22282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22283 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22284 if test $ac_cv_lib_m_copysignf = yes; then
22286 cat >>confdefs.h <<\_ACEOF
22287 #define HAVE_COPYSIGNF 1
22292 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22293 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22294 if test "${ac_cv_lib_m_copysign+set}" = set; then
22295 echo $ECHO_N "(cached) $ECHO_C" >&6
22297 ac_check_lib_save_LIBS=$LIBS
22299 if test x$gcc_no_link = xyes; then
22300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22302 { (exit 1); exit 1; }; }
22304 cat >conftest.$ac_ext <<_ACEOF
22307 cat confdefs.h >>conftest.$ac_ext
22308 cat >>conftest.$ac_ext <<_ACEOF
22309 /* end confdefs.h. */
22311 /* Override any gcc2 internal prototype to avoid an error. */
22315 /* We use char because int might match the return type of a gcc2
22316 builtin and then its argument prototype would still apply. */
22326 rm -f conftest.$ac_objext conftest$ac_exeext
22327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22328 (eval $ac_link) 2>conftest.er1
22330 grep -v '^ *+' conftest.er1 >conftest.err
22332 cat conftest.err >&5
22333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22334 (exit $ac_status); } &&
22335 { ac_try='test -z "$ac_c_werror_flag"
22336 || test ! -s conftest.err'
22337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22338 (eval $ac_try) 2>&5
22340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22341 (exit $ac_status); }; } &&
22342 { ac_try='test -s conftest$ac_exeext'
22343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22344 (eval $ac_try) 2>&5
22346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22347 (exit $ac_status); }; }; then
22348 ac_cv_lib_m_copysign=yes
22350 echo "$as_me: failed program was:" >&5
22351 sed 's/^/| /' conftest.$ac_ext >&5
22353 ac_cv_lib_m_copysign=no
22355 rm -f conftest.err conftest.$ac_objext \
22356 conftest$ac_exeext conftest.$ac_ext
22357 LIBS=$ac_check_lib_save_LIBS
22359 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22360 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22361 if test $ac_cv_lib_m_copysign = yes; then
22363 cat >>confdefs.h <<\_ACEOF
22364 #define HAVE_COPYSIGN 1
22369 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22370 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22371 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22372 echo $ECHO_N "(cached) $ECHO_C" >&6
22374 ac_check_lib_save_LIBS=$LIBS
22376 if test x$gcc_no_link = xyes; then
22377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22379 { (exit 1); exit 1; }; }
22381 cat >conftest.$ac_ext <<_ACEOF
22384 cat confdefs.h >>conftest.$ac_ext
22385 cat >>conftest.$ac_ext <<_ACEOF
22386 /* end confdefs.h. */
22388 /* Override any gcc2 internal prototype to avoid an error. */
22392 /* We use char because int might match the return type of a gcc2
22393 builtin and then its argument prototype would still apply. */
22403 rm -f conftest.$ac_objext conftest$ac_exeext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22405 (eval $ac_link) 2>conftest.er1
22407 grep -v '^ *+' conftest.er1 >conftest.err
22409 cat conftest.err >&5
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); } &&
22412 { ac_try='test -z "$ac_c_werror_flag"
22413 || test ! -s conftest.err'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; } &&
22419 { ac_try='test -s conftest$ac_exeext'
22420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22421 (eval $ac_try) 2>&5
22423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22424 (exit $ac_status); }; }; then
22425 ac_cv_lib_m_copysignl=yes
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22430 ac_cv_lib_m_copysignl=no
22432 rm -f conftest.err conftest.$ac_objext \
22433 conftest$ac_exeext conftest.$ac_ext
22434 LIBS=$ac_check_lib_save_LIBS
22436 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22437 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22438 if test $ac_cv_lib_m_copysignl = yes; then
22440 cat >>confdefs.h <<\_ACEOF
22441 #define HAVE_COPYSIGNL 1
22446 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22447 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22448 if test "${ac_cv_lib_m_cosf+set}" = set; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 ac_check_lib_save_LIBS=$LIBS
22453 if test x$gcc_no_link = xyes; then
22454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22456 { (exit 1); exit 1; }; }
22458 cat >conftest.$ac_ext <<_ACEOF
22461 cat confdefs.h >>conftest.$ac_ext
22462 cat >>conftest.$ac_ext <<_ACEOF
22463 /* end confdefs.h. */
22465 /* Override any gcc2 internal prototype to avoid an error. */
22469 /* We use char because int might match the return type of a gcc2
22470 builtin and then its argument prototype would still apply. */
22480 rm -f conftest.$ac_objext conftest$ac_exeext
22481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22482 (eval $ac_link) 2>conftest.er1
22484 grep -v '^ *+' conftest.er1 >conftest.err
22486 cat conftest.err >&5
22487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22488 (exit $ac_status); } &&
22489 { ac_try='test -z "$ac_c_werror_flag"
22490 || test ! -s conftest.err'
22491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22492 (eval $ac_try) 2>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; } &&
22496 { ac_try='test -s conftest$ac_exeext'
22497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22498 (eval $ac_try) 2>&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); }; }; then
22502 ac_cv_lib_m_cosf=yes
22504 echo "$as_me: failed program was:" >&5
22505 sed 's/^/| /' conftest.$ac_ext >&5
22507 ac_cv_lib_m_cosf=no
22509 rm -f conftest.err conftest.$ac_objext \
22510 conftest$ac_exeext conftest.$ac_ext
22511 LIBS=$ac_check_lib_save_LIBS
22513 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22514 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22515 if test $ac_cv_lib_m_cosf = yes; then
22517 cat >>confdefs.h <<\_ACEOF
22518 #define HAVE_COSF 1
22523 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22524 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22525 if test "${ac_cv_lib_m_cos+set}" = set; then
22526 echo $ECHO_N "(cached) $ECHO_C" >&6
22528 ac_check_lib_save_LIBS=$LIBS
22530 if test x$gcc_no_link = xyes; then
22531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22533 { (exit 1); exit 1; }; }
22535 cat >conftest.$ac_ext <<_ACEOF
22538 cat confdefs.h >>conftest.$ac_ext
22539 cat >>conftest.$ac_ext <<_ACEOF
22540 /* end confdefs.h. */
22542 /* Override any gcc2 internal prototype to avoid an error. */
22546 /* We use char because int might match the return type of a gcc2
22547 builtin and then its argument prototype would still apply. */
22557 rm -f conftest.$ac_objext conftest$ac_exeext
22558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22559 (eval $ac_link) 2>conftest.er1
22561 grep -v '^ *+' conftest.er1 >conftest.err
22563 cat conftest.err >&5
22564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22565 (exit $ac_status); } &&
22566 { ac_try='test -z "$ac_c_werror_flag"
22567 || test ! -s conftest.err'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; } &&
22573 { ac_try='test -s conftest$ac_exeext'
22574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22575 (eval $ac_try) 2>&5
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); }; }; then
22579 ac_cv_lib_m_cos=yes
22581 echo "$as_me: failed program was:" >&5
22582 sed 's/^/| /' conftest.$ac_ext >&5
22586 rm -f conftest.err conftest.$ac_objext \
22587 conftest$ac_exeext conftest.$ac_ext
22588 LIBS=$ac_check_lib_save_LIBS
22590 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22591 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22592 if test $ac_cv_lib_m_cos = yes; then
22594 cat >>confdefs.h <<\_ACEOF
22600 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22601 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22602 if test "${ac_cv_lib_m_cosl+set}" = set; then
22603 echo $ECHO_N "(cached) $ECHO_C" >&6
22605 ac_check_lib_save_LIBS=$LIBS
22607 if test x$gcc_no_link = xyes; then
22608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22610 { (exit 1); exit 1; }; }
22612 cat >conftest.$ac_ext <<_ACEOF
22615 cat confdefs.h >>conftest.$ac_ext
22616 cat >>conftest.$ac_ext <<_ACEOF
22617 /* end confdefs.h. */
22619 /* Override any gcc2 internal prototype to avoid an error. */
22623 /* We use char because int might match the return type of a gcc2
22624 builtin and then its argument prototype would still apply. */
22634 rm -f conftest.$ac_objext conftest$ac_exeext
22635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22636 (eval $ac_link) 2>conftest.er1
22638 grep -v '^ *+' conftest.er1 >conftest.err
22640 cat conftest.err >&5
22641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22642 (exit $ac_status); } &&
22643 { ac_try='test -z "$ac_c_werror_flag"
22644 || test ! -s conftest.err'
22645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22646 (eval $ac_try) 2>&5
22648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22649 (exit $ac_status); }; } &&
22650 { ac_try='test -s conftest$ac_exeext'
22651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22652 (eval $ac_try) 2>&5
22654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22655 (exit $ac_status); }; }; then
22656 ac_cv_lib_m_cosl=yes
22658 echo "$as_me: failed program was:" >&5
22659 sed 's/^/| /' conftest.$ac_ext >&5
22661 ac_cv_lib_m_cosl=no
22663 rm -f conftest.err conftest.$ac_objext \
22664 conftest$ac_exeext conftest.$ac_ext
22665 LIBS=$ac_check_lib_save_LIBS
22667 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22668 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22669 if test $ac_cv_lib_m_cosl = yes; then
22671 cat >>confdefs.h <<\_ACEOF
22672 #define HAVE_COSL 1
22677 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22678 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22679 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22680 echo $ECHO_N "(cached) $ECHO_C" >&6
22682 ac_check_lib_save_LIBS=$LIBS
22684 if test x$gcc_no_link = xyes; then
22685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22687 { (exit 1); exit 1; }; }
22689 cat >conftest.$ac_ext <<_ACEOF
22692 cat confdefs.h >>conftest.$ac_ext
22693 cat >>conftest.$ac_ext <<_ACEOF
22694 /* end confdefs.h. */
22696 /* Override any gcc2 internal prototype to avoid an error. */
22700 /* We use char because int might match the return type of a gcc2
22701 builtin and then its argument prototype would still apply. */
22711 rm -f conftest.$ac_objext conftest$ac_exeext
22712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22713 (eval $ac_link) 2>conftest.er1
22715 grep -v '^ *+' conftest.er1 >conftest.err
22717 cat conftest.err >&5
22718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22719 (exit $ac_status); } &&
22720 { ac_try='test -z "$ac_c_werror_flag"
22721 || test ! -s conftest.err'
22722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22723 (eval $ac_try) 2>&5
22725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22726 (exit $ac_status); }; } &&
22727 { ac_try='test -s conftest$ac_exeext'
22728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22729 (eval $ac_try) 2>&5
22731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22732 (exit $ac_status); }; }; then
22733 ac_cv_lib_m_ccosf=yes
22735 echo "$as_me: failed program was:" >&5
22736 sed 's/^/| /' conftest.$ac_ext >&5
22738 ac_cv_lib_m_ccosf=no
22740 rm -f conftest.err conftest.$ac_objext \
22741 conftest$ac_exeext conftest.$ac_ext
22742 LIBS=$ac_check_lib_save_LIBS
22744 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22745 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22746 if test $ac_cv_lib_m_ccosf = yes; then
22748 cat >>confdefs.h <<\_ACEOF
22749 #define HAVE_CCOSF 1
22754 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22755 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22756 if test "${ac_cv_lib_m_ccos+set}" = set; then
22757 echo $ECHO_N "(cached) $ECHO_C" >&6
22759 ac_check_lib_save_LIBS=$LIBS
22761 if test x$gcc_no_link = xyes; then
22762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22764 { (exit 1); exit 1; }; }
22766 cat >conftest.$ac_ext <<_ACEOF
22769 cat confdefs.h >>conftest.$ac_ext
22770 cat >>conftest.$ac_ext <<_ACEOF
22771 /* end confdefs.h. */
22773 /* Override any gcc2 internal prototype to avoid an error. */
22777 /* We use char because int might match the return type of a gcc2
22778 builtin and then its argument prototype would still apply. */
22788 rm -f conftest.$ac_objext conftest$ac_exeext
22789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22790 (eval $ac_link) 2>conftest.er1
22792 grep -v '^ *+' conftest.er1 >conftest.err
22794 cat conftest.err >&5
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); } &&
22797 { ac_try='test -z "$ac_c_werror_flag"
22798 || test ! -s conftest.err'
22799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22800 (eval $ac_try) 2>&5
22802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22803 (exit $ac_status); }; } &&
22804 { ac_try='test -s conftest$ac_exeext'
22805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22806 (eval $ac_try) 2>&5
22808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22809 (exit $ac_status); }; }; then
22810 ac_cv_lib_m_ccos=yes
22812 echo "$as_me: failed program was:" >&5
22813 sed 's/^/| /' conftest.$ac_ext >&5
22815 ac_cv_lib_m_ccos=no
22817 rm -f conftest.err conftest.$ac_objext \
22818 conftest$ac_exeext conftest.$ac_ext
22819 LIBS=$ac_check_lib_save_LIBS
22821 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22822 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22823 if test $ac_cv_lib_m_ccos = yes; then
22825 cat >>confdefs.h <<\_ACEOF
22826 #define HAVE_CCOS 1
22831 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22832 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22833 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22834 echo $ECHO_N "(cached) $ECHO_C" >&6
22836 ac_check_lib_save_LIBS=$LIBS
22838 if test x$gcc_no_link = xyes; then
22839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22841 { (exit 1); exit 1; }; }
22843 cat >conftest.$ac_ext <<_ACEOF
22846 cat confdefs.h >>conftest.$ac_ext
22847 cat >>conftest.$ac_ext <<_ACEOF
22848 /* end confdefs.h. */
22850 /* Override any gcc2 internal prototype to avoid an error. */
22854 /* We use char because int might match the return type of a gcc2
22855 builtin and then its argument prototype would still apply. */
22865 rm -f conftest.$ac_objext conftest$ac_exeext
22866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22867 (eval $ac_link) 2>conftest.er1
22869 grep -v '^ *+' conftest.er1 >conftest.err
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } &&
22874 { ac_try='test -z "$ac_c_werror_flag"
22875 || test ! -s conftest.err'
22876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22877 (eval $ac_try) 2>&5
22879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22880 (exit $ac_status); }; } &&
22881 { ac_try='test -s conftest$ac_exeext'
22882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22883 (eval $ac_try) 2>&5
22885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22886 (exit $ac_status); }; }; then
22887 ac_cv_lib_m_ccosl=yes
22889 echo "$as_me: failed program was:" >&5
22890 sed 's/^/| /' conftest.$ac_ext >&5
22892 ac_cv_lib_m_ccosl=no
22894 rm -f conftest.err conftest.$ac_objext \
22895 conftest$ac_exeext conftest.$ac_ext
22896 LIBS=$ac_check_lib_save_LIBS
22898 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22899 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22900 if test $ac_cv_lib_m_ccosl = yes; then
22902 cat >>confdefs.h <<\_ACEOF
22903 #define HAVE_CCOSL 1
22908 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22909 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22910 if test "${ac_cv_lib_m_coshf+set}" = set; then
22911 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 ac_check_lib_save_LIBS=$LIBS
22915 if test x$gcc_no_link = xyes; then
22916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22918 { (exit 1); exit 1; }; }
22920 cat >conftest.$ac_ext <<_ACEOF
22923 cat confdefs.h >>conftest.$ac_ext
22924 cat >>conftest.$ac_ext <<_ACEOF
22925 /* end confdefs.h. */
22927 /* Override any gcc2 internal prototype to avoid an error. */
22931 /* We use char because int might match the return type of a gcc2
22932 builtin and then its argument prototype would still apply. */
22942 rm -f conftest.$ac_objext conftest$ac_exeext
22943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22944 (eval $ac_link) 2>conftest.er1
22946 grep -v '^ *+' conftest.er1 >conftest.err
22948 cat conftest.err >&5
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); } &&
22951 { ac_try='test -z "$ac_c_werror_flag"
22952 || test ! -s conftest.err'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; } &&
22958 { ac_try='test -s conftest$ac_exeext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 ac_cv_lib_m_coshf=yes
22966 echo "$as_me: failed program was:" >&5
22967 sed 's/^/| /' conftest.$ac_ext >&5
22969 ac_cv_lib_m_coshf=no
22971 rm -f conftest.err conftest.$ac_objext \
22972 conftest$ac_exeext conftest.$ac_ext
22973 LIBS=$ac_check_lib_save_LIBS
22975 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22976 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22977 if test $ac_cv_lib_m_coshf = yes; then
22979 cat >>confdefs.h <<\_ACEOF
22980 #define HAVE_COSHF 1
22985 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22986 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22987 if test "${ac_cv_lib_m_cosh+set}" = set; then
22988 echo $ECHO_N "(cached) $ECHO_C" >&6
22990 ac_check_lib_save_LIBS=$LIBS
22992 if test x$gcc_no_link = xyes; then
22993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22995 { (exit 1); exit 1; }; }
22997 cat >conftest.$ac_ext <<_ACEOF
23000 cat confdefs.h >>conftest.$ac_ext
23001 cat >>conftest.$ac_ext <<_ACEOF
23002 /* end confdefs.h. */
23004 /* Override any gcc2 internal prototype to avoid an error. */
23008 /* We use char because int might match the return type of a gcc2
23009 builtin and then its argument prototype would still apply. */
23019 rm -f conftest.$ac_objext conftest$ac_exeext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23021 (eval $ac_link) 2>conftest.er1
23023 grep -v '^ *+' conftest.er1 >conftest.err
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try='test -z "$ac_c_werror_flag"
23029 || test ! -s conftest.err'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; } &&
23035 { ac_try='test -s conftest$ac_exeext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 ac_cv_lib_m_cosh=yes
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.$ac_ext >&5
23046 ac_cv_lib_m_cosh=no
23048 rm -f conftest.err conftest.$ac_objext \
23049 conftest$ac_exeext conftest.$ac_ext
23050 LIBS=$ac_check_lib_save_LIBS
23052 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
23053 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
23054 if test $ac_cv_lib_m_cosh = yes; then
23056 cat >>confdefs.h <<\_ACEOF
23057 #define HAVE_COSH 1
23062 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
23063 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
23064 if test "${ac_cv_lib_m_coshl+set}" = set; then
23065 echo $ECHO_N "(cached) $ECHO_C" >&6
23067 ac_check_lib_save_LIBS=$LIBS
23069 if test x$gcc_no_link = xyes; then
23070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23072 { (exit 1); exit 1; }; }
23074 cat >conftest.$ac_ext <<_ACEOF
23077 cat confdefs.h >>conftest.$ac_ext
23078 cat >>conftest.$ac_ext <<_ACEOF
23079 /* end confdefs.h. */
23081 /* Override any gcc2 internal prototype to avoid an error. */
23085 /* We use char because int might match the return type of a gcc2
23086 builtin and then its argument prototype would still apply. */
23096 rm -f conftest.$ac_objext conftest$ac_exeext
23097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23098 (eval $ac_link) 2>conftest.er1
23100 grep -v '^ *+' conftest.er1 >conftest.err
23102 cat conftest.err >&5
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); } &&
23105 { ac_try='test -z "$ac_c_werror_flag"
23106 || test ! -s conftest.err'
23107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23108 (eval $ac_try) 2>&5
23110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23111 (exit $ac_status); }; } &&
23112 { ac_try='test -s conftest$ac_exeext'
23113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23114 (eval $ac_try) 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; }; then
23118 ac_cv_lib_m_coshl=yes
23120 echo "$as_me: failed program was:" >&5
23121 sed 's/^/| /' conftest.$ac_ext >&5
23123 ac_cv_lib_m_coshl=no
23125 rm -f conftest.err conftest.$ac_objext \
23126 conftest$ac_exeext conftest.$ac_ext
23127 LIBS=$ac_check_lib_save_LIBS
23129 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23130 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23131 if test $ac_cv_lib_m_coshl = yes; then
23133 cat >>confdefs.h <<\_ACEOF
23134 #define HAVE_COSHL 1
23139 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23140 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23141 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23144 ac_check_lib_save_LIBS=$LIBS
23146 if test x$gcc_no_link = xyes; then
23147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23149 { (exit 1); exit 1; }; }
23151 cat >conftest.$ac_ext <<_ACEOF
23154 cat confdefs.h >>conftest.$ac_ext
23155 cat >>conftest.$ac_ext <<_ACEOF
23156 /* end confdefs.h. */
23158 /* Override any gcc2 internal prototype to avoid an error. */
23162 /* We use char because int might match the return type of a gcc2
23163 builtin and then its argument prototype would still apply. */
23173 rm -f conftest.$ac_objext conftest$ac_exeext
23174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23175 (eval $ac_link) 2>conftest.er1
23177 grep -v '^ *+' conftest.er1 >conftest.err
23179 cat conftest.err >&5
23180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23181 (exit $ac_status); } &&
23182 { ac_try='test -z "$ac_c_werror_flag"
23183 || test ! -s conftest.err'
23184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23185 (eval $ac_try) 2>&5
23187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23188 (exit $ac_status); }; } &&
23189 { ac_try='test -s conftest$ac_exeext'
23190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23191 (eval $ac_try) 2>&5
23193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23194 (exit $ac_status); }; }; then
23195 ac_cv_lib_m_ccoshf=yes
23197 echo "$as_me: failed program was:" >&5
23198 sed 's/^/| /' conftest.$ac_ext >&5
23200 ac_cv_lib_m_ccoshf=no
23202 rm -f conftest.err conftest.$ac_objext \
23203 conftest$ac_exeext conftest.$ac_ext
23204 LIBS=$ac_check_lib_save_LIBS
23206 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23207 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23208 if test $ac_cv_lib_m_ccoshf = yes; then
23210 cat >>confdefs.h <<\_ACEOF
23211 #define HAVE_CCOSHF 1
23216 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23217 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23218 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23219 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 ac_check_lib_save_LIBS=$LIBS
23223 if test x$gcc_no_link = xyes; then
23224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23226 { (exit 1); exit 1; }; }
23228 cat >conftest.$ac_ext <<_ACEOF
23231 cat confdefs.h >>conftest.$ac_ext
23232 cat >>conftest.$ac_ext <<_ACEOF
23233 /* end confdefs.h. */
23235 /* Override any gcc2 internal prototype to avoid an error. */
23239 /* We use char because int might match the return type of a gcc2
23240 builtin and then its argument prototype would still apply. */
23250 rm -f conftest.$ac_objext conftest$ac_exeext
23251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23252 (eval $ac_link) 2>conftest.er1
23254 grep -v '^ *+' conftest.er1 >conftest.err
23256 cat conftest.err >&5
23257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23258 (exit $ac_status); } &&
23259 { ac_try='test -z "$ac_c_werror_flag"
23260 || test ! -s conftest.err'
23261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23262 (eval $ac_try) 2>&5
23264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23265 (exit $ac_status); }; } &&
23266 { ac_try='test -s conftest$ac_exeext'
23267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23268 (eval $ac_try) 2>&5
23270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23271 (exit $ac_status); }; }; then
23272 ac_cv_lib_m_ccosh=yes
23274 echo "$as_me: failed program was:" >&5
23275 sed 's/^/| /' conftest.$ac_ext >&5
23277 ac_cv_lib_m_ccosh=no
23279 rm -f conftest.err conftest.$ac_objext \
23280 conftest$ac_exeext conftest.$ac_ext
23281 LIBS=$ac_check_lib_save_LIBS
23283 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23284 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23285 if test $ac_cv_lib_m_ccosh = yes; then
23287 cat >>confdefs.h <<\_ACEOF
23288 #define HAVE_CCOSH 1
23293 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23294 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23295 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23296 echo $ECHO_N "(cached) $ECHO_C" >&6
23298 ac_check_lib_save_LIBS=$LIBS
23300 if test x$gcc_no_link = xyes; then
23301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23303 { (exit 1); exit 1; }; }
23305 cat >conftest.$ac_ext <<_ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23312 /* Override any gcc2 internal prototype to avoid an error. */
23316 /* We use char because int might match the return type of a gcc2
23317 builtin and then its argument prototype would still apply. */
23327 rm -f conftest.$ac_objext conftest$ac_exeext
23328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23329 (eval $ac_link) 2>conftest.er1
23331 grep -v '^ *+' conftest.er1 >conftest.err
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } &&
23336 { ac_try='test -z "$ac_c_werror_flag"
23337 || test ! -s conftest.err'
23338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23339 (eval $ac_try) 2>&5
23341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23342 (exit $ac_status); }; } &&
23343 { ac_try='test -s conftest$ac_exeext'
23344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23345 (eval $ac_try) 2>&5
23347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23348 (exit $ac_status); }; }; then
23349 ac_cv_lib_m_ccoshl=yes
23351 echo "$as_me: failed program was:" >&5
23352 sed 's/^/| /' conftest.$ac_ext >&5
23354 ac_cv_lib_m_ccoshl=no
23356 rm -f conftest.err conftest.$ac_objext \
23357 conftest$ac_exeext conftest.$ac_ext
23358 LIBS=$ac_check_lib_save_LIBS
23360 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23361 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23362 if test $ac_cv_lib_m_ccoshl = yes; then
23364 cat >>confdefs.h <<\_ACEOF
23365 #define HAVE_CCOSHL 1
23370 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23371 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23372 if test "${ac_cv_lib_m_expf+set}" = set; then
23373 echo $ECHO_N "(cached) $ECHO_C" >&6
23375 ac_check_lib_save_LIBS=$LIBS
23377 if test x$gcc_no_link = xyes; then
23378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23380 { (exit 1); exit 1; }; }
23382 cat >conftest.$ac_ext <<_ACEOF
23385 cat confdefs.h >>conftest.$ac_ext
23386 cat >>conftest.$ac_ext <<_ACEOF
23387 /* end confdefs.h. */
23389 /* Override any gcc2 internal prototype to avoid an error. */
23393 /* We use char because int might match the return type of a gcc2
23394 builtin and then its argument prototype would still apply. */
23404 rm -f conftest.$ac_objext conftest$ac_exeext
23405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23406 (eval $ac_link) 2>conftest.er1
23408 grep -v '^ *+' conftest.er1 >conftest.err
23410 cat conftest.err >&5
23411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23412 (exit $ac_status); } &&
23413 { ac_try='test -z "$ac_c_werror_flag"
23414 || test ! -s conftest.err'
23415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23416 (eval $ac_try) 2>&5
23418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23419 (exit $ac_status); }; } &&
23420 { ac_try='test -s conftest$ac_exeext'
23421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23422 (eval $ac_try) 2>&5
23424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23425 (exit $ac_status); }; }; then
23426 ac_cv_lib_m_expf=yes
23428 echo "$as_me: failed program was:" >&5
23429 sed 's/^/| /' conftest.$ac_ext >&5
23431 ac_cv_lib_m_expf=no
23433 rm -f conftest.err conftest.$ac_objext \
23434 conftest$ac_exeext conftest.$ac_ext
23435 LIBS=$ac_check_lib_save_LIBS
23437 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23438 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23439 if test $ac_cv_lib_m_expf = yes; then
23441 cat >>confdefs.h <<\_ACEOF
23442 #define HAVE_EXPF 1
23447 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23448 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23449 if test "${ac_cv_lib_m_exp+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23452 ac_check_lib_save_LIBS=$LIBS
23454 if test x$gcc_no_link = xyes; then
23455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23457 { (exit 1); exit 1; }; }
23459 cat >conftest.$ac_ext <<_ACEOF
23462 cat confdefs.h >>conftest.$ac_ext
23463 cat >>conftest.$ac_ext <<_ACEOF
23464 /* end confdefs.h. */
23466 /* Override any gcc2 internal prototype to avoid an error. */
23470 /* We use char because int might match the return type of a gcc2
23471 builtin and then its argument prototype would still apply. */
23481 rm -f conftest.$ac_objext conftest$ac_exeext
23482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23483 (eval $ac_link) 2>conftest.er1
23485 grep -v '^ *+' conftest.er1 >conftest.err
23487 cat conftest.err >&5
23488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23489 (exit $ac_status); } &&
23490 { ac_try='test -z "$ac_c_werror_flag"
23491 || test ! -s conftest.err'
23492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23493 (eval $ac_try) 2>&5
23495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23496 (exit $ac_status); }; } &&
23497 { ac_try='test -s conftest$ac_exeext'
23498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23499 (eval $ac_try) 2>&5
23501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23502 (exit $ac_status); }; }; then
23503 ac_cv_lib_m_exp=yes
23505 echo "$as_me: failed program was:" >&5
23506 sed 's/^/| /' conftest.$ac_ext >&5
23510 rm -f conftest.err conftest.$ac_objext \
23511 conftest$ac_exeext conftest.$ac_ext
23512 LIBS=$ac_check_lib_save_LIBS
23514 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23515 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23516 if test $ac_cv_lib_m_exp = yes; then
23518 cat >>confdefs.h <<\_ACEOF
23524 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23525 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23526 if test "${ac_cv_lib_m_expl+set}" = set; then
23527 echo $ECHO_N "(cached) $ECHO_C" >&6
23529 ac_check_lib_save_LIBS=$LIBS
23531 if test x$gcc_no_link = xyes; then
23532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23534 { (exit 1); exit 1; }; }
23536 cat >conftest.$ac_ext <<_ACEOF
23539 cat confdefs.h >>conftest.$ac_ext
23540 cat >>conftest.$ac_ext <<_ACEOF
23541 /* end confdefs.h. */
23543 /* Override any gcc2 internal prototype to avoid an error. */
23547 /* We use char because int might match the return type of a gcc2
23548 builtin and then its argument prototype would still apply. */
23558 rm -f conftest.$ac_objext conftest$ac_exeext
23559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23560 (eval $ac_link) 2>conftest.er1
23562 grep -v '^ *+' conftest.er1 >conftest.err
23564 cat conftest.err >&5
23565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23566 (exit $ac_status); } &&
23567 { ac_try='test -z "$ac_c_werror_flag"
23568 || test ! -s conftest.err'
23569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23570 (eval $ac_try) 2>&5
23572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23573 (exit $ac_status); }; } &&
23574 { ac_try='test -s conftest$ac_exeext'
23575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23576 (eval $ac_try) 2>&5
23578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23579 (exit $ac_status); }; }; then
23580 ac_cv_lib_m_expl=yes
23582 echo "$as_me: failed program was:" >&5
23583 sed 's/^/| /' conftest.$ac_ext >&5
23585 ac_cv_lib_m_expl=no
23587 rm -f conftest.err conftest.$ac_objext \
23588 conftest$ac_exeext conftest.$ac_ext
23589 LIBS=$ac_check_lib_save_LIBS
23591 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23592 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23593 if test $ac_cv_lib_m_expl = yes; then
23595 cat >>confdefs.h <<\_ACEOF
23596 #define HAVE_EXPL 1
23601 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23602 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23603 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23606 ac_check_lib_save_LIBS=$LIBS
23608 if test x$gcc_no_link = xyes; then
23609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23611 { (exit 1); exit 1; }; }
23613 cat >conftest.$ac_ext <<_ACEOF
23616 cat confdefs.h >>conftest.$ac_ext
23617 cat >>conftest.$ac_ext <<_ACEOF
23618 /* end confdefs.h. */
23620 /* Override any gcc2 internal prototype to avoid an error. */
23624 /* We use char because int might match the return type of a gcc2
23625 builtin and then its argument prototype would still apply. */
23635 rm -f conftest.$ac_objext conftest$ac_exeext
23636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23637 (eval $ac_link) 2>conftest.er1
23639 grep -v '^ *+' conftest.er1 >conftest.err
23641 cat conftest.err >&5
23642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23643 (exit $ac_status); } &&
23644 { ac_try='test -z "$ac_c_werror_flag"
23645 || test ! -s conftest.err'
23646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23647 (eval $ac_try) 2>&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); }; } &&
23651 { ac_try='test -s conftest$ac_exeext'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; }; then
23657 ac_cv_lib_m_cexpf=yes
23659 echo "$as_me: failed program was:" >&5
23660 sed 's/^/| /' conftest.$ac_ext >&5
23662 ac_cv_lib_m_cexpf=no
23664 rm -f conftest.err conftest.$ac_objext \
23665 conftest$ac_exeext conftest.$ac_ext
23666 LIBS=$ac_check_lib_save_LIBS
23668 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23669 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23670 if test $ac_cv_lib_m_cexpf = yes; then
23672 cat >>confdefs.h <<\_ACEOF
23673 #define HAVE_CEXPF 1
23678 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23679 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23680 if test "${ac_cv_lib_m_cexp+set}" = set; then
23681 echo $ECHO_N "(cached) $ECHO_C" >&6
23683 ac_check_lib_save_LIBS=$LIBS
23685 if test x$gcc_no_link = xyes; then
23686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23688 { (exit 1); exit 1; }; }
23690 cat >conftest.$ac_ext <<_ACEOF
23693 cat confdefs.h >>conftest.$ac_ext
23694 cat >>conftest.$ac_ext <<_ACEOF
23695 /* end confdefs.h. */
23697 /* Override any gcc2 internal prototype to avoid an error. */
23701 /* We use char because int might match the return type of a gcc2
23702 builtin and then its argument prototype would still apply. */
23712 rm -f conftest.$ac_objext conftest$ac_exeext
23713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23714 (eval $ac_link) 2>conftest.er1
23716 grep -v '^ *+' conftest.er1 >conftest.err
23718 cat conftest.err >&5
23719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23720 (exit $ac_status); } &&
23721 { ac_try='test -z "$ac_c_werror_flag"
23722 || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try='test -s conftest$ac_exeext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_lib_m_cexp=yes
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23739 ac_cv_lib_m_cexp=no
23741 rm -f conftest.err conftest.$ac_objext \
23742 conftest$ac_exeext conftest.$ac_ext
23743 LIBS=$ac_check_lib_save_LIBS
23745 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23746 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23747 if test $ac_cv_lib_m_cexp = yes; then
23749 cat >>confdefs.h <<\_ACEOF
23750 #define HAVE_CEXP 1
23755 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23756 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23757 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23758 echo $ECHO_N "(cached) $ECHO_C" >&6
23760 ac_check_lib_save_LIBS=$LIBS
23762 if test x$gcc_no_link = xyes; then
23763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23765 { (exit 1); exit 1; }; }
23767 cat >conftest.$ac_ext <<_ACEOF
23770 cat confdefs.h >>conftest.$ac_ext
23771 cat >>conftest.$ac_ext <<_ACEOF
23772 /* end confdefs.h. */
23774 /* Override any gcc2 internal prototype to avoid an error. */
23778 /* We use char because int might match the return type of a gcc2
23779 builtin and then its argument prototype would still apply. */
23789 rm -f conftest.$ac_objext conftest$ac_exeext
23790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23791 (eval $ac_link) 2>conftest.er1
23793 grep -v '^ *+' conftest.er1 >conftest.err
23795 cat conftest.err >&5
23796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23797 (exit $ac_status); } &&
23798 { ac_try='test -z "$ac_c_werror_flag"
23799 || test ! -s conftest.err'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; } &&
23805 { ac_try='test -s conftest$ac_exeext'
23806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23807 (eval $ac_try) 2>&5
23809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23810 (exit $ac_status); }; }; then
23811 ac_cv_lib_m_cexpl=yes
23813 echo "$as_me: failed program was:" >&5
23814 sed 's/^/| /' conftest.$ac_ext >&5
23816 ac_cv_lib_m_cexpl=no
23818 rm -f conftest.err conftest.$ac_objext \
23819 conftest$ac_exeext conftest.$ac_ext
23820 LIBS=$ac_check_lib_save_LIBS
23822 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23823 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23824 if test $ac_cv_lib_m_cexpl = yes; then
23826 cat >>confdefs.h <<\_ACEOF
23827 #define HAVE_CEXPL 1
23832 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23833 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23834 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23835 echo $ECHO_N "(cached) $ECHO_C" >&6
23837 ac_check_lib_save_LIBS=$LIBS
23839 if test x$gcc_no_link = xyes; then
23840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23842 { (exit 1); exit 1; }; }
23844 cat >conftest.$ac_ext <<_ACEOF
23847 cat confdefs.h >>conftest.$ac_ext
23848 cat >>conftest.$ac_ext <<_ACEOF
23849 /* end confdefs.h. */
23851 /* Override any gcc2 internal prototype to avoid an error. */
23855 /* We use char because int might match the return type of a gcc2
23856 builtin and then its argument prototype would still apply. */
23866 rm -f conftest.$ac_objext conftest$ac_exeext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23868 (eval $ac_link) 2>conftest.er1
23870 grep -v '^ *+' conftest.er1 >conftest.err
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try='test -z "$ac_c_werror_flag"
23876 || test ! -s conftest.err'
23877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23878 (eval $ac_try) 2>&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); }; } &&
23882 { ac_try='test -s conftest$ac_exeext'
23883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23884 (eval $ac_try) 2>&5
23886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23887 (exit $ac_status); }; }; then
23888 ac_cv_lib_m_fabsf=yes
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23893 ac_cv_lib_m_fabsf=no
23895 rm -f conftest.err conftest.$ac_objext \
23896 conftest$ac_exeext conftest.$ac_ext
23897 LIBS=$ac_check_lib_save_LIBS
23899 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23900 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23901 if test $ac_cv_lib_m_fabsf = yes; then
23903 cat >>confdefs.h <<\_ACEOF
23904 #define HAVE_FABSF 1
23909 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23910 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23911 if test "${ac_cv_lib_m_fabs+set}" = set; then
23912 echo $ECHO_N "(cached) $ECHO_C" >&6
23914 ac_check_lib_save_LIBS=$LIBS
23916 if test x$gcc_no_link = xyes; then
23917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23919 { (exit 1); exit 1; }; }
23921 cat >conftest.$ac_ext <<_ACEOF
23924 cat confdefs.h >>conftest.$ac_ext
23925 cat >>conftest.$ac_ext <<_ACEOF
23926 /* end confdefs.h. */
23928 /* Override any gcc2 internal prototype to avoid an error. */
23932 /* We use char because int might match the return type of a gcc2
23933 builtin and then its argument prototype would still apply. */
23943 rm -f conftest.$ac_objext conftest$ac_exeext
23944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23945 (eval $ac_link) 2>conftest.er1
23947 grep -v '^ *+' conftest.er1 >conftest.err
23949 cat conftest.err >&5
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); } &&
23952 { ac_try='test -z "$ac_c_werror_flag"
23953 || test ! -s conftest.err'
23954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23955 (eval $ac_try) 2>&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); }; } &&
23959 { ac_try='test -s conftest$ac_exeext'
23960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23961 (eval $ac_try) 2>&5
23963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23964 (exit $ac_status); }; }; then
23965 ac_cv_lib_m_fabs=yes
23967 echo "$as_me: failed program was:" >&5
23968 sed 's/^/| /' conftest.$ac_ext >&5
23970 ac_cv_lib_m_fabs=no
23972 rm -f conftest.err conftest.$ac_objext \
23973 conftest$ac_exeext conftest.$ac_ext
23974 LIBS=$ac_check_lib_save_LIBS
23976 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23977 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23978 if test $ac_cv_lib_m_fabs = yes; then
23980 cat >>confdefs.h <<\_ACEOF
23981 #define HAVE_FABS 1
23986 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23987 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23988 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23989 echo $ECHO_N "(cached) $ECHO_C" >&6
23991 ac_check_lib_save_LIBS=$LIBS
23993 if test x$gcc_no_link = xyes; then
23994 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23996 { (exit 1); exit 1; }; }
23998 cat >conftest.$ac_ext <<_ACEOF
24001 cat confdefs.h >>conftest.$ac_ext
24002 cat >>conftest.$ac_ext <<_ACEOF
24003 /* end confdefs.h. */
24005 /* Override any gcc2 internal prototype to avoid an error. */
24009 /* We use char because int might match the return type of a gcc2
24010 builtin and then its argument prototype would still apply. */
24020 rm -f conftest.$ac_objext conftest$ac_exeext
24021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24022 (eval $ac_link) 2>conftest.er1
24024 grep -v '^ *+' conftest.er1 >conftest.err
24026 cat conftest.err >&5
24027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24028 (exit $ac_status); } &&
24029 { ac_try='test -z "$ac_c_werror_flag"
24030 || test ! -s conftest.err'
24031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24032 (eval $ac_try) 2>&5
24034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24035 (exit $ac_status); }; } &&
24036 { ac_try='test -s conftest$ac_exeext'
24037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24038 (eval $ac_try) 2>&5
24040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24041 (exit $ac_status); }; }; then
24042 ac_cv_lib_m_fabsl=yes
24044 echo "$as_me: failed program was:" >&5
24045 sed 's/^/| /' conftest.$ac_ext >&5
24047 ac_cv_lib_m_fabsl=no
24049 rm -f conftest.err conftest.$ac_objext \
24050 conftest$ac_exeext conftest.$ac_ext
24051 LIBS=$ac_check_lib_save_LIBS
24053 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
24054 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
24055 if test $ac_cv_lib_m_fabsl = yes; then
24057 cat >>confdefs.h <<\_ACEOF
24058 #define HAVE_FABSL 1
24063 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
24064 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
24065 if test "${ac_cv_lib_m_cabsf+set}" = set; then
24066 echo $ECHO_N "(cached) $ECHO_C" >&6
24068 ac_check_lib_save_LIBS=$LIBS
24070 if test x$gcc_no_link = xyes; then
24071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24073 { (exit 1); exit 1; }; }
24075 cat >conftest.$ac_ext <<_ACEOF
24078 cat confdefs.h >>conftest.$ac_ext
24079 cat >>conftest.$ac_ext <<_ACEOF
24080 /* end confdefs.h. */
24082 /* Override any gcc2 internal prototype to avoid an error. */
24086 /* We use char because int might match the return type of a gcc2
24087 builtin and then its argument prototype would still apply. */
24097 rm -f conftest.$ac_objext conftest$ac_exeext
24098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24099 (eval $ac_link) 2>conftest.er1
24101 grep -v '^ *+' conftest.er1 >conftest.err
24103 cat conftest.err >&5
24104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24105 (exit $ac_status); } &&
24106 { ac_try='test -z "$ac_c_werror_flag"
24107 || test ! -s conftest.err'
24108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24109 (eval $ac_try) 2>&5
24111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24112 (exit $ac_status); }; } &&
24113 { ac_try='test -s conftest$ac_exeext'
24114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24115 (eval $ac_try) 2>&5
24117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24118 (exit $ac_status); }; }; then
24119 ac_cv_lib_m_cabsf=yes
24121 echo "$as_me: failed program was:" >&5
24122 sed 's/^/| /' conftest.$ac_ext >&5
24124 ac_cv_lib_m_cabsf=no
24126 rm -f conftest.err conftest.$ac_objext \
24127 conftest$ac_exeext conftest.$ac_ext
24128 LIBS=$ac_check_lib_save_LIBS
24130 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24131 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24132 if test $ac_cv_lib_m_cabsf = yes; then
24134 cat >>confdefs.h <<\_ACEOF
24135 #define HAVE_CABSF 1
24140 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24141 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24142 if test "${ac_cv_lib_m_cabs+set}" = set; then
24143 echo $ECHO_N "(cached) $ECHO_C" >&6
24145 ac_check_lib_save_LIBS=$LIBS
24147 if test x$gcc_no_link = xyes; then
24148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24150 { (exit 1); exit 1; }; }
24152 cat >conftest.$ac_ext <<_ACEOF
24155 cat confdefs.h >>conftest.$ac_ext
24156 cat >>conftest.$ac_ext <<_ACEOF
24157 /* end confdefs.h. */
24159 /* Override any gcc2 internal prototype to avoid an error. */
24163 /* We use char because int might match the return type of a gcc2
24164 builtin and then its argument prototype would still apply. */
24174 rm -f conftest.$ac_objext conftest$ac_exeext
24175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24176 (eval $ac_link) 2>conftest.er1
24178 grep -v '^ *+' conftest.er1 >conftest.err
24180 cat conftest.err >&5
24181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24182 (exit $ac_status); } &&
24183 { ac_try='test -z "$ac_c_werror_flag"
24184 || test ! -s conftest.err'
24185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24186 (eval $ac_try) 2>&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); }; } &&
24190 { ac_try='test -s conftest$ac_exeext'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; }; then
24196 ac_cv_lib_m_cabs=yes
24198 echo "$as_me: failed program was:" >&5
24199 sed 's/^/| /' conftest.$ac_ext >&5
24201 ac_cv_lib_m_cabs=no
24203 rm -f conftest.err conftest.$ac_objext \
24204 conftest$ac_exeext conftest.$ac_ext
24205 LIBS=$ac_check_lib_save_LIBS
24207 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24208 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24209 if test $ac_cv_lib_m_cabs = yes; then
24211 cat >>confdefs.h <<\_ACEOF
24212 #define HAVE_CABS 1
24217 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24218 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24219 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24220 echo $ECHO_N "(cached) $ECHO_C" >&6
24222 ac_check_lib_save_LIBS=$LIBS
24224 if test x$gcc_no_link = xyes; then
24225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24227 { (exit 1); exit 1; }; }
24229 cat >conftest.$ac_ext <<_ACEOF
24232 cat confdefs.h >>conftest.$ac_ext
24233 cat >>conftest.$ac_ext <<_ACEOF
24234 /* end confdefs.h. */
24236 /* Override any gcc2 internal prototype to avoid an error. */
24240 /* We use char because int might match the return type of a gcc2
24241 builtin and then its argument prototype would still apply. */
24251 rm -f conftest.$ac_objext conftest$ac_exeext
24252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24253 (eval $ac_link) 2>conftest.er1
24255 grep -v '^ *+' conftest.er1 >conftest.err
24257 cat conftest.err >&5
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); } &&
24260 { ac_try='test -z "$ac_c_werror_flag"
24261 || test ! -s conftest.err'
24262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24263 (eval $ac_try) 2>&5
24265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24266 (exit $ac_status); }; } &&
24267 { ac_try='test -s conftest$ac_exeext'
24268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24269 (eval $ac_try) 2>&5
24271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24272 (exit $ac_status); }; }; then
24273 ac_cv_lib_m_cabsl=yes
24275 echo "$as_me: failed program was:" >&5
24276 sed 's/^/| /' conftest.$ac_ext >&5
24278 ac_cv_lib_m_cabsl=no
24280 rm -f conftest.err conftest.$ac_objext \
24281 conftest$ac_exeext conftest.$ac_ext
24282 LIBS=$ac_check_lib_save_LIBS
24284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24285 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24286 if test $ac_cv_lib_m_cabsl = yes; then
24288 cat >>confdefs.h <<\_ACEOF
24289 #define HAVE_CABSL 1
24294 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24295 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24296 if test "${ac_cv_lib_m_floorf+set}" = set; then
24297 echo $ECHO_N "(cached) $ECHO_C" >&6
24299 ac_check_lib_save_LIBS=$LIBS
24301 if test x$gcc_no_link = xyes; then
24302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24304 { (exit 1); exit 1; }; }
24306 cat >conftest.$ac_ext <<_ACEOF
24309 cat confdefs.h >>conftest.$ac_ext
24310 cat >>conftest.$ac_ext <<_ACEOF
24311 /* end confdefs.h. */
24313 /* Override any gcc2 internal prototype to avoid an error. */
24317 /* We use char because int might match the return type of a gcc2
24318 builtin and then its argument prototype would still apply. */
24328 rm -f conftest.$ac_objext conftest$ac_exeext
24329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24330 (eval $ac_link) 2>conftest.er1
24332 grep -v '^ *+' conftest.er1 >conftest.err
24334 cat conftest.err >&5
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); } &&
24337 { ac_try='test -z "$ac_c_werror_flag"
24338 || test ! -s conftest.err'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; } &&
24344 { ac_try='test -s conftest$ac_exeext'
24345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24346 (eval $ac_try) 2>&5
24348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24349 (exit $ac_status); }; }; then
24350 ac_cv_lib_m_floorf=yes
24352 echo "$as_me: failed program was:" >&5
24353 sed 's/^/| /' conftest.$ac_ext >&5
24355 ac_cv_lib_m_floorf=no
24357 rm -f conftest.err conftest.$ac_objext \
24358 conftest$ac_exeext conftest.$ac_ext
24359 LIBS=$ac_check_lib_save_LIBS
24361 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24362 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24363 if test $ac_cv_lib_m_floorf = yes; then
24365 cat >>confdefs.h <<\_ACEOF
24366 #define HAVE_FLOORF 1
24371 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24372 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24373 if test "${ac_cv_lib_m_floor+set}" = set; then
24374 echo $ECHO_N "(cached) $ECHO_C" >&6
24376 ac_check_lib_save_LIBS=$LIBS
24378 if test x$gcc_no_link = xyes; then
24379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24381 { (exit 1); exit 1; }; }
24383 cat >conftest.$ac_ext <<_ACEOF
24386 cat confdefs.h >>conftest.$ac_ext
24387 cat >>conftest.$ac_ext <<_ACEOF
24388 /* end confdefs.h. */
24390 /* Override any gcc2 internal prototype to avoid an error. */
24394 /* We use char because int might match the return type of a gcc2
24395 builtin and then its argument prototype would still apply. */
24405 rm -f conftest.$ac_objext conftest$ac_exeext
24406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24407 (eval $ac_link) 2>conftest.er1
24409 grep -v '^ *+' conftest.er1 >conftest.err
24411 cat conftest.err >&5
24412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24413 (exit $ac_status); } &&
24414 { ac_try='test -z "$ac_c_werror_flag"
24415 || test ! -s conftest.err'
24416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24417 (eval $ac_try) 2>&5
24419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420 (exit $ac_status); }; } &&
24421 { ac_try='test -s conftest$ac_exeext'
24422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24423 (eval $ac_try) 2>&5
24425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24426 (exit $ac_status); }; }; then
24427 ac_cv_lib_m_floor=yes
24429 echo "$as_me: failed program was:" >&5
24430 sed 's/^/| /' conftest.$ac_ext >&5
24432 ac_cv_lib_m_floor=no
24434 rm -f conftest.err conftest.$ac_objext \
24435 conftest$ac_exeext conftest.$ac_ext
24436 LIBS=$ac_check_lib_save_LIBS
24438 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24439 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24440 if test $ac_cv_lib_m_floor = yes; then
24442 cat >>confdefs.h <<\_ACEOF
24443 #define HAVE_FLOOR 1
24448 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24449 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24450 if test "${ac_cv_lib_m_floorl+set}" = set; then
24451 echo $ECHO_N "(cached) $ECHO_C" >&6
24453 ac_check_lib_save_LIBS=$LIBS
24455 if test x$gcc_no_link = xyes; then
24456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24458 { (exit 1); exit 1; }; }
24460 cat >conftest.$ac_ext <<_ACEOF
24463 cat confdefs.h >>conftest.$ac_ext
24464 cat >>conftest.$ac_ext <<_ACEOF
24465 /* end confdefs.h. */
24467 /* Override any gcc2 internal prototype to avoid an error. */
24471 /* We use char because int might match the return type of a gcc2
24472 builtin and then its argument prototype would still apply. */
24482 rm -f conftest.$ac_objext conftest$ac_exeext
24483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24484 (eval $ac_link) 2>conftest.er1
24486 grep -v '^ *+' conftest.er1 >conftest.err
24488 cat conftest.err >&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); } &&
24491 { ac_try='test -z "$ac_c_werror_flag"
24492 || test ! -s conftest.err'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; } &&
24498 { ac_try='test -s conftest$ac_exeext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 ac_cv_lib_m_floorl=yes
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24509 ac_cv_lib_m_floorl=no
24511 rm -f conftest.err conftest.$ac_objext \
24512 conftest$ac_exeext conftest.$ac_ext
24513 LIBS=$ac_check_lib_save_LIBS
24515 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24516 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24517 if test $ac_cv_lib_m_floorl = yes; then
24519 cat >>confdefs.h <<\_ACEOF
24520 #define HAVE_FLOORL 1
24525 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24526 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24527 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24528 echo $ECHO_N "(cached) $ECHO_C" >&6
24530 ac_check_lib_save_LIBS=$LIBS
24532 if test x$gcc_no_link = xyes; then
24533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24535 { (exit 1); exit 1; }; }
24537 cat >conftest.$ac_ext <<_ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24544 /* Override any gcc2 internal prototype to avoid an error. */
24548 /* We use char because int might match the return type of a gcc2
24549 builtin and then its argument prototype would still apply. */
24559 rm -f conftest.$ac_objext conftest$ac_exeext
24560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24561 (eval $ac_link) 2>conftest.er1
24563 grep -v '^ *+' conftest.er1 >conftest.err
24565 cat conftest.err >&5
24566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24567 (exit $ac_status); } &&
24568 { ac_try='test -z "$ac_c_werror_flag"
24569 || test ! -s conftest.err'
24570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24571 (eval $ac_try) 2>&5
24573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24574 (exit $ac_status); }; } &&
24575 { ac_try='test -s conftest$ac_exeext'
24576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24577 (eval $ac_try) 2>&5
24579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24580 (exit $ac_status); }; }; then
24581 ac_cv_lib_m_fmodf=yes
24583 echo "$as_me: failed program was:" >&5
24584 sed 's/^/| /' conftest.$ac_ext >&5
24586 ac_cv_lib_m_fmodf=no
24588 rm -f conftest.err conftest.$ac_objext \
24589 conftest$ac_exeext conftest.$ac_ext
24590 LIBS=$ac_check_lib_save_LIBS
24592 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24593 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24594 if test $ac_cv_lib_m_fmodf = yes; then
24596 cat >>confdefs.h <<\_ACEOF
24597 #define HAVE_FMODF 1
24602 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24603 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24604 if test "${ac_cv_lib_m_fmod+set}" = set; then
24605 echo $ECHO_N "(cached) $ECHO_C" >&6
24607 ac_check_lib_save_LIBS=$LIBS
24609 if test x$gcc_no_link = xyes; then
24610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24612 { (exit 1); exit 1; }; }
24614 cat >conftest.$ac_ext <<_ACEOF
24617 cat confdefs.h >>conftest.$ac_ext
24618 cat >>conftest.$ac_ext <<_ACEOF
24619 /* end confdefs.h. */
24621 /* Override any gcc2 internal prototype to avoid an error. */
24625 /* We use char because int might match the return type of a gcc2
24626 builtin and then its argument prototype would still apply. */
24636 rm -f conftest.$ac_objext conftest$ac_exeext
24637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24638 (eval $ac_link) 2>conftest.er1
24640 grep -v '^ *+' conftest.er1 >conftest.err
24642 cat conftest.err >&5
24643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24644 (exit $ac_status); } &&
24645 { ac_try='test -z "$ac_c_werror_flag"
24646 || test ! -s conftest.err'
24647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24648 (eval $ac_try) 2>&5
24650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24651 (exit $ac_status); }; } &&
24652 { ac_try='test -s conftest$ac_exeext'
24653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24654 (eval $ac_try) 2>&5
24656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24657 (exit $ac_status); }; }; then
24658 ac_cv_lib_m_fmod=yes
24660 echo "$as_me: failed program was:" >&5
24661 sed 's/^/| /' conftest.$ac_ext >&5
24663 ac_cv_lib_m_fmod=no
24665 rm -f conftest.err conftest.$ac_objext \
24666 conftest$ac_exeext conftest.$ac_ext
24667 LIBS=$ac_check_lib_save_LIBS
24669 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24670 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24671 if test $ac_cv_lib_m_fmod = yes; then
24673 cat >>confdefs.h <<\_ACEOF
24674 #define HAVE_FMOD 1
24679 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24680 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24681 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24684 ac_check_lib_save_LIBS=$LIBS
24686 if test x$gcc_no_link = xyes; then
24687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24689 { (exit 1); exit 1; }; }
24691 cat >conftest.$ac_ext <<_ACEOF
24694 cat confdefs.h >>conftest.$ac_ext
24695 cat >>conftest.$ac_ext <<_ACEOF
24696 /* end confdefs.h. */
24698 /* Override any gcc2 internal prototype to avoid an error. */
24702 /* We use char because int might match the return type of a gcc2
24703 builtin and then its argument prototype would still apply. */
24713 rm -f conftest.$ac_objext conftest$ac_exeext
24714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24715 (eval $ac_link) 2>conftest.er1
24717 grep -v '^ *+' conftest.er1 >conftest.err
24719 cat conftest.err >&5
24720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24721 (exit $ac_status); } &&
24722 { ac_try='test -z "$ac_c_werror_flag"
24723 || test ! -s conftest.err'
24724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24725 (eval $ac_try) 2>&5
24727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24728 (exit $ac_status); }; } &&
24729 { ac_try='test -s conftest$ac_exeext'
24730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24731 (eval $ac_try) 2>&5
24733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24734 (exit $ac_status); }; }; then
24735 ac_cv_lib_m_fmodl=yes
24737 echo "$as_me: failed program was:" >&5
24738 sed 's/^/| /' conftest.$ac_ext >&5
24740 ac_cv_lib_m_fmodl=no
24742 rm -f conftest.err conftest.$ac_objext \
24743 conftest$ac_exeext conftest.$ac_ext
24744 LIBS=$ac_check_lib_save_LIBS
24746 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24747 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24748 if test $ac_cv_lib_m_fmodl = yes; then
24750 cat >>confdefs.h <<\_ACEOF
24751 #define HAVE_FMODL 1
24756 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24757 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24758 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24759 echo $ECHO_N "(cached) $ECHO_C" >&6
24761 ac_check_lib_save_LIBS=$LIBS
24763 if test x$gcc_no_link = xyes; then
24764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24766 { (exit 1); exit 1; }; }
24768 cat >conftest.$ac_ext <<_ACEOF
24771 cat confdefs.h >>conftest.$ac_ext
24772 cat >>conftest.$ac_ext <<_ACEOF
24773 /* end confdefs.h. */
24775 /* Override any gcc2 internal prototype to avoid an error. */
24779 /* We use char because int might match the return type of a gcc2
24780 builtin and then its argument prototype would still apply. */
24790 rm -f conftest.$ac_objext conftest$ac_exeext
24791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24792 (eval $ac_link) 2>conftest.er1
24794 grep -v '^ *+' conftest.er1 >conftest.err
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } &&
24799 { ac_try='test -z "$ac_c_werror_flag"
24800 || test ! -s conftest.err'
24801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24802 (eval $ac_try) 2>&5
24804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24805 (exit $ac_status); }; } &&
24806 { ac_try='test -s conftest$ac_exeext'
24807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24808 (eval $ac_try) 2>&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); }; }; then
24812 ac_cv_lib_m_frexpf=yes
24814 echo "$as_me: failed program was:" >&5
24815 sed 's/^/| /' conftest.$ac_ext >&5
24817 ac_cv_lib_m_frexpf=no
24819 rm -f conftest.err conftest.$ac_objext \
24820 conftest$ac_exeext conftest.$ac_ext
24821 LIBS=$ac_check_lib_save_LIBS
24823 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24824 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24825 if test $ac_cv_lib_m_frexpf = yes; then
24827 cat >>confdefs.h <<\_ACEOF
24828 #define HAVE_FREXPF 1
24833 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24834 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24835 if test "${ac_cv_lib_m_frexp+set}" = set; then
24836 echo $ECHO_N "(cached) $ECHO_C" >&6
24838 ac_check_lib_save_LIBS=$LIBS
24840 if test x$gcc_no_link = xyes; then
24841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24843 { (exit 1); exit 1; }; }
24845 cat >conftest.$ac_ext <<_ACEOF
24848 cat confdefs.h >>conftest.$ac_ext
24849 cat >>conftest.$ac_ext <<_ACEOF
24850 /* end confdefs.h. */
24852 /* Override any gcc2 internal prototype to avoid an error. */
24856 /* We use char because int might match the return type of a gcc2
24857 builtin and then its argument prototype would still apply. */
24867 rm -f conftest.$ac_objext conftest$ac_exeext
24868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24869 (eval $ac_link) 2>conftest.er1
24871 grep -v '^ *+' conftest.er1 >conftest.err
24873 cat conftest.err >&5
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); } &&
24876 { ac_try='test -z "$ac_c_werror_flag"
24877 || test ! -s conftest.err'
24878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24879 (eval $ac_try) 2>&5
24881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24882 (exit $ac_status); }; } &&
24883 { ac_try='test -s conftest$ac_exeext'
24884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24885 (eval $ac_try) 2>&5
24887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24888 (exit $ac_status); }; }; then
24889 ac_cv_lib_m_frexp=yes
24891 echo "$as_me: failed program was:" >&5
24892 sed 's/^/| /' conftest.$ac_ext >&5
24894 ac_cv_lib_m_frexp=no
24896 rm -f conftest.err conftest.$ac_objext \
24897 conftest$ac_exeext conftest.$ac_ext
24898 LIBS=$ac_check_lib_save_LIBS
24900 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24901 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24902 if test $ac_cv_lib_m_frexp = yes; then
24904 cat >>confdefs.h <<\_ACEOF
24905 #define HAVE_FREXP 1
24910 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24911 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24912 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24913 echo $ECHO_N "(cached) $ECHO_C" >&6
24915 ac_check_lib_save_LIBS=$LIBS
24917 if test x$gcc_no_link = xyes; then
24918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24920 { (exit 1); exit 1; }; }
24922 cat >conftest.$ac_ext <<_ACEOF
24925 cat confdefs.h >>conftest.$ac_ext
24926 cat >>conftest.$ac_ext <<_ACEOF
24927 /* end confdefs.h. */
24929 /* Override any gcc2 internal prototype to avoid an error. */
24933 /* We use char because int might match the return type of a gcc2
24934 builtin and then its argument prototype would still apply. */
24944 rm -f conftest.$ac_objext conftest$ac_exeext
24945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24946 (eval $ac_link) 2>conftest.er1
24948 grep -v '^ *+' conftest.er1 >conftest.err
24950 cat conftest.err >&5
24951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24952 (exit $ac_status); } &&
24953 { ac_try='test -z "$ac_c_werror_flag"
24954 || test ! -s conftest.err'
24955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24956 (eval $ac_try) 2>&5
24958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24959 (exit $ac_status); }; } &&
24960 { ac_try='test -s conftest$ac_exeext'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; }; then
24966 ac_cv_lib_m_frexpl=yes
24968 echo "$as_me: failed program was:" >&5
24969 sed 's/^/| /' conftest.$ac_ext >&5
24971 ac_cv_lib_m_frexpl=no
24973 rm -f conftest.err conftest.$ac_objext \
24974 conftest$ac_exeext conftest.$ac_ext
24975 LIBS=$ac_check_lib_save_LIBS
24977 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24978 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24979 if test $ac_cv_lib_m_frexpl = yes; then
24981 cat >>confdefs.h <<\_ACEOF
24982 #define HAVE_FREXPL 1
24987 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24988 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24989 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24990 echo $ECHO_N "(cached) $ECHO_C" >&6
24992 ac_check_lib_save_LIBS=$LIBS
24994 if test x$gcc_no_link = xyes; then
24995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24997 { (exit 1); exit 1; }; }
24999 cat >conftest.$ac_ext <<_ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25006 /* Override any gcc2 internal prototype to avoid an error. */
25010 /* We use char because int might match the return type of a gcc2
25011 builtin and then its argument prototype would still apply. */
25021 rm -f conftest.$ac_objext conftest$ac_exeext
25022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25023 (eval $ac_link) 2>conftest.er1
25025 grep -v '^ *+' conftest.er1 >conftest.err
25027 cat conftest.err >&5
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); } &&
25030 { ac_try='test -z "$ac_c_werror_flag"
25031 || test ! -s conftest.err'
25032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25033 (eval $ac_try) 2>&5
25035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25036 (exit $ac_status); }; } &&
25037 { ac_try='test -s conftest$ac_exeext'
25038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25039 (eval $ac_try) 2>&5
25041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25042 (exit $ac_status); }; }; then
25043 ac_cv_lib_m_hypotf=yes
25045 echo "$as_me: failed program was:" >&5
25046 sed 's/^/| /' conftest.$ac_ext >&5
25048 ac_cv_lib_m_hypotf=no
25050 rm -f conftest.err conftest.$ac_objext \
25051 conftest$ac_exeext conftest.$ac_ext
25052 LIBS=$ac_check_lib_save_LIBS
25054 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
25055 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
25056 if test $ac_cv_lib_m_hypotf = yes; then
25058 cat >>confdefs.h <<\_ACEOF
25059 #define HAVE_HYPOTF 1
25064 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
25065 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
25066 if test "${ac_cv_lib_m_hypot+set}" = set; then
25067 echo $ECHO_N "(cached) $ECHO_C" >&6
25069 ac_check_lib_save_LIBS=$LIBS
25071 if test x$gcc_no_link = xyes; then
25072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25074 { (exit 1); exit 1; }; }
25076 cat >conftest.$ac_ext <<_ACEOF
25079 cat confdefs.h >>conftest.$ac_ext
25080 cat >>conftest.$ac_ext <<_ACEOF
25081 /* end confdefs.h. */
25083 /* Override any gcc2 internal prototype to avoid an error. */
25087 /* We use char because int might match the return type of a gcc2
25088 builtin and then its argument prototype would still apply. */
25098 rm -f conftest.$ac_objext conftest$ac_exeext
25099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25100 (eval $ac_link) 2>conftest.er1
25102 grep -v '^ *+' conftest.er1 >conftest.err
25104 cat conftest.err >&5
25105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25106 (exit $ac_status); } &&
25107 { ac_try='test -z "$ac_c_werror_flag"
25108 || test ! -s conftest.err'
25109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25110 (eval $ac_try) 2>&5
25112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25113 (exit $ac_status); }; } &&
25114 { ac_try='test -s conftest$ac_exeext'
25115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25116 (eval $ac_try) 2>&5
25118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25119 (exit $ac_status); }; }; then
25120 ac_cv_lib_m_hypot=yes
25122 echo "$as_me: failed program was:" >&5
25123 sed 's/^/| /' conftest.$ac_ext >&5
25125 ac_cv_lib_m_hypot=no
25127 rm -f conftest.err conftest.$ac_objext \
25128 conftest$ac_exeext conftest.$ac_ext
25129 LIBS=$ac_check_lib_save_LIBS
25131 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25132 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25133 if test $ac_cv_lib_m_hypot = yes; then
25135 cat >>confdefs.h <<\_ACEOF
25136 #define HAVE_HYPOT 1
25141 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25142 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25143 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25144 echo $ECHO_N "(cached) $ECHO_C" >&6
25146 ac_check_lib_save_LIBS=$LIBS
25148 if test x$gcc_no_link = xyes; then
25149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25151 { (exit 1); exit 1; }; }
25153 cat >conftest.$ac_ext <<_ACEOF
25156 cat confdefs.h >>conftest.$ac_ext
25157 cat >>conftest.$ac_ext <<_ACEOF
25158 /* end confdefs.h. */
25160 /* Override any gcc2 internal prototype to avoid an error. */
25164 /* We use char because int might match the return type of a gcc2
25165 builtin and then its argument prototype would still apply. */
25175 rm -f conftest.$ac_objext conftest$ac_exeext
25176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25177 (eval $ac_link) 2>conftest.er1
25179 grep -v '^ *+' conftest.er1 >conftest.err
25181 cat conftest.err >&5
25182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25183 (exit $ac_status); } &&
25184 { ac_try='test -z "$ac_c_werror_flag"
25185 || test ! -s conftest.err'
25186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25187 (eval $ac_try) 2>&5
25189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25190 (exit $ac_status); }; } &&
25191 { ac_try='test -s conftest$ac_exeext'
25192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25193 (eval $ac_try) 2>&5
25195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196 (exit $ac_status); }; }; then
25197 ac_cv_lib_m_hypotl=yes
25199 echo "$as_me: failed program was:" >&5
25200 sed 's/^/| /' conftest.$ac_ext >&5
25202 ac_cv_lib_m_hypotl=no
25204 rm -f conftest.err conftest.$ac_objext \
25205 conftest$ac_exeext conftest.$ac_ext
25206 LIBS=$ac_check_lib_save_LIBS
25208 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25209 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25210 if test $ac_cv_lib_m_hypotl = yes; then
25212 cat >>confdefs.h <<\_ACEOF
25213 #define HAVE_HYPOTL 1
25218 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25219 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25220 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25221 echo $ECHO_N "(cached) $ECHO_C" >&6
25223 ac_check_lib_save_LIBS=$LIBS
25225 if test x$gcc_no_link = xyes; then
25226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25228 { (exit 1); exit 1; }; }
25230 cat >conftest.$ac_ext <<_ACEOF
25233 cat confdefs.h >>conftest.$ac_ext
25234 cat >>conftest.$ac_ext <<_ACEOF
25235 /* end confdefs.h. */
25237 /* Override any gcc2 internal prototype to avoid an error. */
25241 /* We use char because int might match the return type of a gcc2
25242 builtin and then its argument prototype would still apply. */
25252 rm -f conftest.$ac_objext conftest$ac_exeext
25253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25254 (eval $ac_link) 2>conftest.er1
25256 grep -v '^ *+' conftest.er1 >conftest.err
25258 cat conftest.err >&5
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); } &&
25261 { ac_try='test -z "$ac_c_werror_flag"
25262 || test ! -s conftest.err'
25263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25264 (eval $ac_try) 2>&5
25266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25267 (exit $ac_status); }; } &&
25268 { ac_try='test -s conftest$ac_exeext'
25269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25270 (eval $ac_try) 2>&5
25272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25273 (exit $ac_status); }; }; then
25274 ac_cv_lib_m_ldexpf=yes
25276 echo "$as_me: failed program was:" >&5
25277 sed 's/^/| /' conftest.$ac_ext >&5
25279 ac_cv_lib_m_ldexpf=no
25281 rm -f conftest.err conftest.$ac_objext \
25282 conftest$ac_exeext conftest.$ac_ext
25283 LIBS=$ac_check_lib_save_LIBS
25285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25286 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25287 if test $ac_cv_lib_m_ldexpf = yes; then
25289 cat >>confdefs.h <<\_ACEOF
25290 #define HAVE_LDEXPF 1
25295 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25296 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25297 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25298 echo $ECHO_N "(cached) $ECHO_C" >&6
25300 ac_check_lib_save_LIBS=$LIBS
25302 if test x$gcc_no_link = xyes; then
25303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25305 { (exit 1); exit 1; }; }
25307 cat >conftest.$ac_ext <<_ACEOF
25310 cat confdefs.h >>conftest.$ac_ext
25311 cat >>conftest.$ac_ext <<_ACEOF
25312 /* end confdefs.h. */
25314 /* Override any gcc2 internal prototype to avoid an error. */
25318 /* We use char because int might match the return type of a gcc2
25319 builtin and then its argument prototype would still apply. */
25329 rm -f conftest.$ac_objext conftest$ac_exeext
25330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25331 (eval $ac_link) 2>conftest.er1
25333 grep -v '^ *+' conftest.er1 >conftest.err
25335 cat conftest.err >&5
25336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25337 (exit $ac_status); } &&
25338 { ac_try='test -z "$ac_c_werror_flag"
25339 || test ! -s conftest.err'
25340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25341 (eval $ac_try) 2>&5
25343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25344 (exit $ac_status); }; } &&
25345 { ac_try='test -s conftest$ac_exeext'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; }; then
25351 ac_cv_lib_m_ldexp=yes
25353 echo "$as_me: failed program was:" >&5
25354 sed 's/^/| /' conftest.$ac_ext >&5
25356 ac_cv_lib_m_ldexp=no
25358 rm -f conftest.err conftest.$ac_objext \
25359 conftest$ac_exeext conftest.$ac_ext
25360 LIBS=$ac_check_lib_save_LIBS
25362 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25363 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25364 if test $ac_cv_lib_m_ldexp = yes; then
25366 cat >>confdefs.h <<\_ACEOF
25367 #define HAVE_LDEXP 1
25372 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25373 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25374 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25375 echo $ECHO_N "(cached) $ECHO_C" >&6
25377 ac_check_lib_save_LIBS=$LIBS
25379 if test x$gcc_no_link = xyes; then
25380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25382 { (exit 1); exit 1; }; }
25384 cat >conftest.$ac_ext <<_ACEOF
25387 cat confdefs.h >>conftest.$ac_ext
25388 cat >>conftest.$ac_ext <<_ACEOF
25389 /* end confdefs.h. */
25391 /* Override any gcc2 internal prototype to avoid an error. */
25395 /* We use char because int might match the return type of a gcc2
25396 builtin and then its argument prototype would still apply. */
25406 rm -f conftest.$ac_objext conftest$ac_exeext
25407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25408 (eval $ac_link) 2>conftest.er1
25410 grep -v '^ *+' conftest.er1 >conftest.err
25412 cat conftest.err >&5
25413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25414 (exit $ac_status); } &&
25415 { ac_try='test -z "$ac_c_werror_flag"
25416 || test ! -s conftest.err'
25417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25418 (eval $ac_try) 2>&5
25420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25421 (exit $ac_status); }; } &&
25422 { ac_try='test -s conftest$ac_exeext'
25423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25424 (eval $ac_try) 2>&5
25426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25427 (exit $ac_status); }; }; then
25428 ac_cv_lib_m_ldexpl=yes
25430 echo "$as_me: failed program was:" >&5
25431 sed 's/^/| /' conftest.$ac_ext >&5
25433 ac_cv_lib_m_ldexpl=no
25435 rm -f conftest.err conftest.$ac_objext \
25436 conftest$ac_exeext conftest.$ac_ext
25437 LIBS=$ac_check_lib_save_LIBS
25439 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25440 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25441 if test $ac_cv_lib_m_ldexpl = yes; then
25443 cat >>confdefs.h <<\_ACEOF
25444 #define HAVE_LDEXPL 1
25449 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25450 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25451 if test "${ac_cv_lib_m_logf+set}" = set; then
25452 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 ac_check_lib_save_LIBS=$LIBS
25456 if test x$gcc_no_link = xyes; then
25457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25459 { (exit 1); exit 1; }; }
25461 cat >conftest.$ac_ext <<_ACEOF
25464 cat confdefs.h >>conftest.$ac_ext
25465 cat >>conftest.$ac_ext <<_ACEOF
25466 /* end confdefs.h. */
25468 /* Override any gcc2 internal prototype to avoid an error. */
25472 /* We use char because int might match the return type of a gcc2
25473 builtin and then its argument prototype would still apply. */
25483 rm -f conftest.$ac_objext conftest$ac_exeext
25484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25485 (eval $ac_link) 2>conftest.er1
25487 grep -v '^ *+' conftest.er1 >conftest.err
25489 cat conftest.err >&5
25490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491 (exit $ac_status); } &&
25492 { ac_try='test -z "$ac_c_werror_flag"
25493 || test ! -s conftest.err'
25494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495 (eval $ac_try) 2>&5
25497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498 (exit $ac_status); }; } &&
25499 { ac_try='test -s conftest$ac_exeext'
25500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501 (eval $ac_try) 2>&5
25503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504 (exit $ac_status); }; }; then
25505 ac_cv_lib_m_logf=yes
25507 echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25510 ac_cv_lib_m_logf=no
25512 rm -f conftest.err conftest.$ac_objext \
25513 conftest$ac_exeext conftest.$ac_ext
25514 LIBS=$ac_check_lib_save_LIBS
25516 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25517 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25518 if test $ac_cv_lib_m_logf = yes; then
25520 cat >>confdefs.h <<\_ACEOF
25521 #define HAVE_LOGF 1
25526 echo "$as_me:$LINENO: checking for log in -lm" >&5
25527 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25528 if test "${ac_cv_lib_m_log+set}" = set; then
25529 echo $ECHO_N "(cached) $ECHO_C" >&6
25531 ac_check_lib_save_LIBS=$LIBS
25533 if test x$gcc_no_link = xyes; then
25534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25536 { (exit 1); exit 1; }; }
25538 cat >conftest.$ac_ext <<_ACEOF
25541 cat confdefs.h >>conftest.$ac_ext
25542 cat >>conftest.$ac_ext <<_ACEOF
25543 /* end confdefs.h. */
25545 /* Override any gcc2 internal prototype to avoid an error. */
25549 /* We use char because int might match the return type of a gcc2
25550 builtin and then its argument prototype would still apply. */
25560 rm -f conftest.$ac_objext conftest$ac_exeext
25561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25562 (eval $ac_link) 2>conftest.er1
25564 grep -v '^ *+' conftest.er1 >conftest.err
25566 cat conftest.err >&5
25567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25568 (exit $ac_status); } &&
25569 { ac_try='test -z "$ac_c_werror_flag"
25570 || test ! -s conftest.err'
25571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25572 (eval $ac_try) 2>&5
25574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25575 (exit $ac_status); }; } &&
25576 { ac_try='test -s conftest$ac_exeext'
25577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25578 (eval $ac_try) 2>&5
25580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25581 (exit $ac_status); }; }; then
25582 ac_cv_lib_m_log=yes
25584 echo "$as_me: failed program was:" >&5
25585 sed 's/^/| /' conftest.$ac_ext >&5
25589 rm -f conftest.err conftest.$ac_objext \
25590 conftest$ac_exeext conftest.$ac_ext
25591 LIBS=$ac_check_lib_save_LIBS
25593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25594 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25595 if test $ac_cv_lib_m_log = yes; then
25597 cat >>confdefs.h <<\_ACEOF
25603 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25604 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25605 if test "${ac_cv_lib_m_logl+set}" = set; then
25606 echo $ECHO_N "(cached) $ECHO_C" >&6
25608 ac_check_lib_save_LIBS=$LIBS
25610 if test x$gcc_no_link = xyes; then
25611 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25613 { (exit 1); exit 1; }; }
25615 cat >conftest.$ac_ext <<_ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h. */
25622 /* Override any gcc2 internal prototype to avoid an error. */
25626 /* We use char because int might match the return type of a gcc2
25627 builtin and then its argument prototype would still apply. */
25637 rm -f conftest.$ac_objext conftest$ac_exeext
25638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25639 (eval $ac_link) 2>conftest.er1
25641 grep -v '^ *+' conftest.er1 >conftest.err
25643 cat conftest.err >&5
25644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25645 (exit $ac_status); } &&
25646 { ac_try='test -z "$ac_c_werror_flag"
25647 || test ! -s conftest.err'
25648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25649 (eval $ac_try) 2>&5
25651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25652 (exit $ac_status); }; } &&
25653 { ac_try='test -s conftest$ac_exeext'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; }; then
25659 ac_cv_lib_m_logl=yes
25661 echo "$as_me: failed program was:" >&5
25662 sed 's/^/| /' conftest.$ac_ext >&5
25664 ac_cv_lib_m_logl=no
25666 rm -f conftest.err conftest.$ac_objext \
25667 conftest$ac_exeext conftest.$ac_ext
25668 LIBS=$ac_check_lib_save_LIBS
25670 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25671 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25672 if test $ac_cv_lib_m_logl = yes; then
25674 cat >>confdefs.h <<\_ACEOF
25675 #define HAVE_LOGL 1
25680 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25681 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25682 if test "${ac_cv_lib_m_clogf+set}" = set; then
25683 echo $ECHO_N "(cached) $ECHO_C" >&6
25685 ac_check_lib_save_LIBS=$LIBS
25687 if test x$gcc_no_link = xyes; then
25688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25690 { (exit 1); exit 1; }; }
25692 cat >conftest.$ac_ext <<_ACEOF
25695 cat confdefs.h >>conftest.$ac_ext
25696 cat >>conftest.$ac_ext <<_ACEOF
25697 /* end confdefs.h. */
25699 /* Override any gcc2 internal prototype to avoid an error. */
25703 /* We use char because int might match the return type of a gcc2
25704 builtin and then its argument prototype would still apply. */
25714 rm -f conftest.$ac_objext conftest$ac_exeext
25715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25716 (eval $ac_link) 2>conftest.er1
25718 grep -v '^ *+' conftest.er1 >conftest.err
25720 cat conftest.err >&5
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); } &&
25723 { ac_try='test -z "$ac_c_werror_flag"
25724 || test ! -s conftest.err'
25725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25726 (eval $ac_try) 2>&5
25728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25729 (exit $ac_status); }; } &&
25730 { ac_try='test -s conftest$ac_exeext'
25731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25732 (eval $ac_try) 2>&5
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); }; }; then
25736 ac_cv_lib_m_clogf=yes
25738 echo "$as_me: failed program was:" >&5
25739 sed 's/^/| /' conftest.$ac_ext >&5
25741 ac_cv_lib_m_clogf=no
25743 rm -f conftest.err conftest.$ac_objext \
25744 conftest$ac_exeext conftest.$ac_ext
25745 LIBS=$ac_check_lib_save_LIBS
25747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25748 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25749 if test $ac_cv_lib_m_clogf = yes; then
25751 cat >>confdefs.h <<\_ACEOF
25752 #define HAVE_CLOGF 1
25757 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25758 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25759 if test "${ac_cv_lib_m_clog+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25762 ac_check_lib_save_LIBS=$LIBS
25764 if test x$gcc_no_link = xyes; then
25765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25767 { (exit 1); exit 1; }; }
25769 cat >conftest.$ac_ext <<_ACEOF
25772 cat confdefs.h >>conftest.$ac_ext
25773 cat >>conftest.$ac_ext <<_ACEOF
25774 /* end confdefs.h. */
25776 /* Override any gcc2 internal prototype to avoid an error. */
25780 /* We use char because int might match the return type of a gcc2
25781 builtin and then its argument prototype would still apply. */
25791 rm -f conftest.$ac_objext conftest$ac_exeext
25792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25793 (eval $ac_link) 2>conftest.er1
25795 grep -v '^ *+' conftest.er1 >conftest.err
25797 cat conftest.err >&5
25798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25799 (exit $ac_status); } &&
25800 { ac_try='test -z "$ac_c_werror_flag"
25801 || test ! -s conftest.err'
25802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25803 (eval $ac_try) 2>&5
25805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25806 (exit $ac_status); }; } &&
25807 { ac_try='test -s conftest$ac_exeext'
25808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25809 (eval $ac_try) 2>&5
25811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25812 (exit $ac_status); }; }; then
25813 ac_cv_lib_m_clog=yes
25815 echo "$as_me: failed program was:" >&5
25816 sed 's/^/| /' conftest.$ac_ext >&5
25818 ac_cv_lib_m_clog=no
25820 rm -f conftest.err conftest.$ac_objext \
25821 conftest$ac_exeext conftest.$ac_ext
25822 LIBS=$ac_check_lib_save_LIBS
25824 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25825 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25826 if test $ac_cv_lib_m_clog = yes; then
25828 cat >>confdefs.h <<\_ACEOF
25829 #define HAVE_CLOG 1
25834 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25835 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25836 if test "${ac_cv_lib_m_clogl+set}" = set; then
25837 echo $ECHO_N "(cached) $ECHO_C" >&6
25839 ac_check_lib_save_LIBS=$LIBS
25841 if test x$gcc_no_link = xyes; then
25842 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25843 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25844 { (exit 1); exit 1; }; }
25846 cat >conftest.$ac_ext <<_ACEOF
25849 cat confdefs.h >>conftest.$ac_ext
25850 cat >>conftest.$ac_ext <<_ACEOF
25851 /* end confdefs.h. */
25853 /* Override any gcc2 internal prototype to avoid an error. */
25857 /* We use char because int might match the return type of a gcc2
25858 builtin and then its argument prototype would still apply. */
25868 rm -f conftest.$ac_objext conftest$ac_exeext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25870 (eval $ac_link) 2>conftest.er1
25872 grep -v '^ *+' conftest.er1 >conftest.err
25874 cat conftest.err >&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try='test -z "$ac_c_werror_flag"
25878 || test ! -s conftest.err'
25879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25880 (eval $ac_try) 2>&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); }; } &&
25884 { ac_try='test -s conftest$ac_exeext'
25885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25886 (eval $ac_try) 2>&5
25888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25889 (exit $ac_status); }; }; then
25890 ac_cv_lib_m_clogl=yes
25892 echo "$as_me: failed program was:" >&5
25893 sed 's/^/| /' conftest.$ac_ext >&5
25895 ac_cv_lib_m_clogl=no
25897 rm -f conftest.err conftest.$ac_objext \
25898 conftest$ac_exeext conftest.$ac_ext
25899 LIBS=$ac_check_lib_save_LIBS
25901 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25902 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25903 if test $ac_cv_lib_m_clogl = yes; then
25905 cat >>confdefs.h <<\_ACEOF
25906 #define HAVE_CLOGL 1
25911 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25912 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25913 if test "${ac_cv_lib_m_log10f+set}" = set; then
25914 echo $ECHO_N "(cached) $ECHO_C" >&6
25916 ac_check_lib_save_LIBS=$LIBS
25918 if test x$gcc_no_link = xyes; then
25919 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25920 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25921 { (exit 1); exit 1; }; }
25923 cat >conftest.$ac_ext <<_ACEOF
25926 cat confdefs.h >>conftest.$ac_ext
25927 cat >>conftest.$ac_ext <<_ACEOF
25928 /* end confdefs.h. */
25930 /* Override any gcc2 internal prototype to avoid an error. */
25934 /* We use char because int might match the return type of a gcc2
25935 builtin and then its argument prototype would still apply. */
25945 rm -f conftest.$ac_objext conftest$ac_exeext
25946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25947 (eval $ac_link) 2>conftest.er1
25949 grep -v '^ *+' conftest.er1 >conftest.err
25951 cat conftest.err >&5
25952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25953 (exit $ac_status); } &&
25954 { ac_try='test -z "$ac_c_werror_flag"
25955 || test ! -s conftest.err'
25956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25957 (eval $ac_try) 2>&5
25959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25960 (exit $ac_status); }; } &&
25961 { ac_try='test -s conftest$ac_exeext'
25962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25963 (eval $ac_try) 2>&5
25965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25966 (exit $ac_status); }; }; then
25967 ac_cv_lib_m_log10f=yes
25969 echo "$as_me: failed program was:" >&5
25970 sed 's/^/| /' conftest.$ac_ext >&5
25972 ac_cv_lib_m_log10f=no
25974 rm -f conftest.err conftest.$ac_objext \
25975 conftest$ac_exeext conftest.$ac_ext
25976 LIBS=$ac_check_lib_save_LIBS
25978 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25979 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25980 if test $ac_cv_lib_m_log10f = yes; then
25982 cat >>confdefs.h <<\_ACEOF
25983 #define HAVE_LOG10F 1
25988 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25989 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25990 if test "${ac_cv_lib_m_log10+set}" = set; then
25991 echo $ECHO_N "(cached) $ECHO_C" >&6
25993 ac_check_lib_save_LIBS=$LIBS
25995 if test x$gcc_no_link = xyes; then
25996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25998 { (exit 1); exit 1; }; }
26000 cat >conftest.$ac_ext <<_ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26007 /* Override any gcc2 internal prototype to avoid an error. */
26011 /* We use char because int might match the return type of a gcc2
26012 builtin and then its argument prototype would still apply. */
26022 rm -f conftest.$ac_objext conftest$ac_exeext
26023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26024 (eval $ac_link) 2>conftest.er1
26026 grep -v '^ *+' conftest.er1 >conftest.err
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } &&
26031 { ac_try='test -z "$ac_c_werror_flag"
26032 || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try='test -s conftest$ac_exeext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 ac_cv_lib_m_log10=yes
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.$ac_ext >&5
26049 ac_cv_lib_m_log10=no
26051 rm -f conftest.err conftest.$ac_objext \
26052 conftest$ac_exeext conftest.$ac_ext
26053 LIBS=$ac_check_lib_save_LIBS
26055 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
26056 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
26057 if test $ac_cv_lib_m_log10 = yes; then
26059 cat >>confdefs.h <<\_ACEOF
26060 #define HAVE_LOG10 1
26065 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
26066 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
26067 if test "${ac_cv_lib_m_log10l+set}" = set; then
26068 echo $ECHO_N "(cached) $ECHO_C" >&6
26070 ac_check_lib_save_LIBS=$LIBS
26072 if test x$gcc_no_link = xyes; then
26073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26075 { (exit 1); exit 1; }; }
26077 cat >conftest.$ac_ext <<_ACEOF
26080 cat confdefs.h >>conftest.$ac_ext
26081 cat >>conftest.$ac_ext <<_ACEOF
26082 /* end confdefs.h. */
26084 /* Override any gcc2 internal prototype to avoid an error. */
26088 /* We use char because int might match the return type of a gcc2
26089 builtin and then its argument prototype would still apply. */
26099 rm -f conftest.$ac_objext conftest$ac_exeext
26100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26101 (eval $ac_link) 2>conftest.er1
26103 grep -v '^ *+' conftest.er1 >conftest.err
26105 cat conftest.err >&5
26106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26107 (exit $ac_status); } &&
26108 { ac_try='test -z "$ac_c_werror_flag"
26109 || test ! -s conftest.err'
26110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26111 (eval $ac_try) 2>&5
26113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26114 (exit $ac_status); }; } &&
26115 { ac_try='test -s conftest$ac_exeext'
26116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26117 (eval $ac_try) 2>&5
26119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26120 (exit $ac_status); }; }; then
26121 ac_cv_lib_m_log10l=yes
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26126 ac_cv_lib_m_log10l=no
26128 rm -f conftest.err conftest.$ac_objext \
26129 conftest$ac_exeext conftest.$ac_ext
26130 LIBS=$ac_check_lib_save_LIBS
26132 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26133 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26134 if test $ac_cv_lib_m_log10l = yes; then
26136 cat >>confdefs.h <<\_ACEOF
26137 #define HAVE_LOG10L 1
26142 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26143 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26144 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26145 echo $ECHO_N "(cached) $ECHO_C" >&6
26147 ac_check_lib_save_LIBS=$LIBS
26149 if test x$gcc_no_link = xyes; then
26150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26152 { (exit 1); exit 1; }; }
26154 cat >conftest.$ac_ext <<_ACEOF
26157 cat confdefs.h >>conftest.$ac_ext
26158 cat >>conftest.$ac_ext <<_ACEOF
26159 /* end confdefs.h. */
26161 /* Override any gcc2 internal prototype to avoid an error. */
26165 /* We use char because int might match the return type of a gcc2
26166 builtin and then its argument prototype would still apply. */
26176 rm -f conftest.$ac_objext conftest$ac_exeext
26177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26178 (eval $ac_link) 2>conftest.er1
26180 grep -v '^ *+' conftest.er1 >conftest.err
26182 cat conftest.err >&5
26183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26184 (exit $ac_status); } &&
26185 { ac_try='test -z "$ac_c_werror_flag"
26186 || test ! -s conftest.err'
26187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26188 (eval $ac_try) 2>&5
26190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26191 (exit $ac_status); }; } &&
26192 { ac_try='test -s conftest$ac_exeext'
26193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26194 (eval $ac_try) 2>&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); }; }; then
26198 ac_cv_lib_m_clog10f=yes
26200 echo "$as_me: failed program was:" >&5
26201 sed 's/^/| /' conftest.$ac_ext >&5
26203 ac_cv_lib_m_clog10f=no
26205 rm -f conftest.err conftest.$ac_objext \
26206 conftest$ac_exeext conftest.$ac_ext
26207 LIBS=$ac_check_lib_save_LIBS
26209 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26210 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26211 if test $ac_cv_lib_m_clog10f = yes; then
26213 cat >>confdefs.h <<\_ACEOF
26214 #define HAVE_CLOG10F 1
26219 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26220 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26221 if test "${ac_cv_lib_m_clog10+set}" = set; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26224 ac_check_lib_save_LIBS=$LIBS
26226 if test x$gcc_no_link = xyes; then
26227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26229 { (exit 1); exit 1; }; }
26231 cat >conftest.$ac_ext <<_ACEOF
26234 cat confdefs.h >>conftest.$ac_ext
26235 cat >>conftest.$ac_ext <<_ACEOF
26236 /* end confdefs.h. */
26238 /* Override any gcc2 internal prototype to avoid an error. */
26242 /* We use char because int might match the return type of a gcc2
26243 builtin and then its argument prototype would still apply. */
26253 rm -f conftest.$ac_objext conftest$ac_exeext
26254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26255 (eval $ac_link) 2>conftest.er1
26257 grep -v '^ *+' conftest.er1 >conftest.err
26259 cat conftest.err >&5
26260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26261 (exit $ac_status); } &&
26262 { ac_try='test -z "$ac_c_werror_flag"
26263 || test ! -s conftest.err'
26264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26265 (eval $ac_try) 2>&5
26267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26268 (exit $ac_status); }; } &&
26269 { ac_try='test -s conftest$ac_exeext'
26270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26271 (eval $ac_try) 2>&5
26273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26274 (exit $ac_status); }; }; then
26275 ac_cv_lib_m_clog10=yes
26277 echo "$as_me: failed program was:" >&5
26278 sed 's/^/| /' conftest.$ac_ext >&5
26280 ac_cv_lib_m_clog10=no
26282 rm -f conftest.err conftest.$ac_objext \
26283 conftest$ac_exeext conftest.$ac_ext
26284 LIBS=$ac_check_lib_save_LIBS
26286 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26287 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26288 if test $ac_cv_lib_m_clog10 = yes; then
26290 cat >>confdefs.h <<\_ACEOF
26291 #define HAVE_CLOG10 1
26296 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26297 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26298 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26299 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 ac_check_lib_save_LIBS=$LIBS
26303 if test x$gcc_no_link = xyes; then
26304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26306 { (exit 1); exit 1; }; }
26308 cat >conftest.$ac_ext <<_ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26315 /* Override any gcc2 internal prototype to avoid an error. */
26319 /* We use char because int might match the return type of a gcc2
26320 builtin and then its argument prototype would still apply. */
26330 rm -f conftest.$ac_objext conftest$ac_exeext
26331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26332 (eval $ac_link) 2>conftest.er1
26334 grep -v '^ *+' conftest.er1 >conftest.err
26336 cat conftest.err >&5
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } &&
26339 { ac_try='test -z "$ac_c_werror_flag"
26340 || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try='test -s conftest$ac_exeext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 ac_cv_lib_m_clog10l=yes
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26357 ac_cv_lib_m_clog10l=no
26359 rm -f conftest.err conftest.$ac_objext \
26360 conftest$ac_exeext conftest.$ac_ext
26361 LIBS=$ac_check_lib_save_LIBS
26363 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26364 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26365 if test $ac_cv_lib_m_clog10l = yes; then
26367 cat >>confdefs.h <<\_ACEOF
26368 #define HAVE_CLOG10L 1
26373 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26374 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26375 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26376 echo $ECHO_N "(cached) $ECHO_C" >&6
26378 ac_check_lib_save_LIBS=$LIBS
26380 if test x$gcc_no_link = xyes; then
26381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26383 { (exit 1); exit 1; }; }
26385 cat >conftest.$ac_ext <<_ACEOF
26388 cat confdefs.h >>conftest.$ac_ext
26389 cat >>conftest.$ac_ext <<_ACEOF
26390 /* end confdefs.h. */
26392 /* Override any gcc2 internal prototype to avoid an error. */
26396 /* We use char because int might match the return type of a gcc2
26397 builtin and then its argument prototype would still apply. */
26398 char nextafterf ();
26407 rm -f conftest.$ac_objext conftest$ac_exeext
26408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26409 (eval $ac_link) 2>conftest.er1
26411 grep -v '^ *+' conftest.er1 >conftest.err
26413 cat conftest.err >&5
26414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26415 (exit $ac_status); } &&
26416 { ac_try='test -z "$ac_c_werror_flag"
26417 || test ! -s conftest.err'
26418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26419 (eval $ac_try) 2>&5
26421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26422 (exit $ac_status); }; } &&
26423 { ac_try='test -s conftest$ac_exeext'
26424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26425 (eval $ac_try) 2>&5
26427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26428 (exit $ac_status); }; }; then
26429 ac_cv_lib_m_nextafterf=yes
26431 echo "$as_me: failed program was:" >&5
26432 sed 's/^/| /' conftest.$ac_ext >&5
26434 ac_cv_lib_m_nextafterf=no
26436 rm -f conftest.err conftest.$ac_objext \
26437 conftest$ac_exeext conftest.$ac_ext
26438 LIBS=$ac_check_lib_save_LIBS
26440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26441 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26442 if test $ac_cv_lib_m_nextafterf = yes; then
26444 cat >>confdefs.h <<\_ACEOF
26445 #define HAVE_NEXTAFTERF 1
26450 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26451 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26452 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26453 echo $ECHO_N "(cached) $ECHO_C" >&6
26455 ac_check_lib_save_LIBS=$LIBS
26457 if test x$gcc_no_link = xyes; then
26458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26460 { (exit 1); exit 1; }; }
26462 cat >conftest.$ac_ext <<_ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26469 /* Override any gcc2 internal prototype to avoid an error. */
26473 /* We use char because int might match the return type of a gcc2
26474 builtin and then its argument prototype would still apply. */
26484 rm -f conftest.$ac_objext conftest$ac_exeext
26485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26486 (eval $ac_link) 2>conftest.er1
26488 grep -v '^ *+' conftest.er1 >conftest.err
26490 cat conftest.err >&5
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); } &&
26493 { ac_try='test -z "$ac_c_werror_flag"
26494 || test ! -s conftest.err'
26495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26496 (eval $ac_try) 2>&5
26498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26499 (exit $ac_status); }; } &&
26500 { ac_try='test -s conftest$ac_exeext'
26501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26502 (eval $ac_try) 2>&5
26504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26505 (exit $ac_status); }; }; then
26506 ac_cv_lib_m_nextafter=yes
26508 echo "$as_me: failed program was:" >&5
26509 sed 's/^/| /' conftest.$ac_ext >&5
26511 ac_cv_lib_m_nextafter=no
26513 rm -f conftest.err conftest.$ac_objext \
26514 conftest$ac_exeext conftest.$ac_ext
26515 LIBS=$ac_check_lib_save_LIBS
26517 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26518 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26519 if test $ac_cv_lib_m_nextafter = yes; then
26521 cat >>confdefs.h <<\_ACEOF
26522 #define HAVE_NEXTAFTER 1
26527 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26528 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26529 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26530 echo $ECHO_N "(cached) $ECHO_C" >&6
26532 ac_check_lib_save_LIBS=$LIBS
26534 if test x$gcc_no_link = xyes; then
26535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26537 { (exit 1); exit 1; }; }
26539 cat >conftest.$ac_ext <<_ACEOF
26542 cat confdefs.h >>conftest.$ac_ext
26543 cat >>conftest.$ac_ext <<_ACEOF
26544 /* end confdefs.h. */
26546 /* Override any gcc2 internal prototype to avoid an error. */
26550 /* We use char because int might match the return type of a gcc2
26551 builtin and then its argument prototype would still apply. */
26552 char nextafterl ();
26561 rm -f conftest.$ac_objext conftest$ac_exeext
26562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26563 (eval $ac_link) 2>conftest.er1
26565 grep -v '^ *+' conftest.er1 >conftest.err
26567 cat conftest.err >&5
26568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26569 (exit $ac_status); } &&
26570 { ac_try='test -z "$ac_c_werror_flag"
26571 || test ! -s conftest.err'
26572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26573 (eval $ac_try) 2>&5
26575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26576 (exit $ac_status); }; } &&
26577 { ac_try='test -s conftest$ac_exeext'
26578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26579 (eval $ac_try) 2>&5
26581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26582 (exit $ac_status); }; }; then
26583 ac_cv_lib_m_nextafterl=yes
26585 echo "$as_me: failed program was:" >&5
26586 sed 's/^/| /' conftest.$ac_ext >&5
26588 ac_cv_lib_m_nextafterl=no
26590 rm -f conftest.err conftest.$ac_objext \
26591 conftest$ac_exeext conftest.$ac_ext
26592 LIBS=$ac_check_lib_save_LIBS
26594 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26595 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26596 if test $ac_cv_lib_m_nextafterl = yes; then
26598 cat >>confdefs.h <<\_ACEOF
26599 #define HAVE_NEXTAFTERL 1
26604 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26605 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26606 if test "${ac_cv_lib_m_powf+set}" = set; then
26607 echo $ECHO_N "(cached) $ECHO_C" >&6
26609 ac_check_lib_save_LIBS=$LIBS
26611 if test x$gcc_no_link = xyes; then
26612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26614 { (exit 1); exit 1; }; }
26616 cat >conftest.$ac_ext <<_ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26623 /* Override any gcc2 internal prototype to avoid an error. */
26627 /* We use char because int might match the return type of a gcc2
26628 builtin and then its argument prototype would still apply. */
26638 rm -f conftest.$ac_objext conftest$ac_exeext
26639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26640 (eval $ac_link) 2>conftest.er1
26642 grep -v '^ *+' conftest.er1 >conftest.err
26644 cat conftest.err >&5
26645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26646 (exit $ac_status); } &&
26647 { ac_try='test -z "$ac_c_werror_flag"
26648 || test ! -s conftest.err'
26649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26650 (eval $ac_try) 2>&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); }; } &&
26654 { ac_try='test -s conftest$ac_exeext'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; }; then
26660 ac_cv_lib_m_powf=yes
26662 echo "$as_me: failed program was:" >&5
26663 sed 's/^/| /' conftest.$ac_ext >&5
26665 ac_cv_lib_m_powf=no
26667 rm -f conftest.err conftest.$ac_objext \
26668 conftest$ac_exeext conftest.$ac_ext
26669 LIBS=$ac_check_lib_save_LIBS
26671 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26672 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26673 if test $ac_cv_lib_m_powf = yes; then
26675 cat >>confdefs.h <<\_ACEOF
26676 #define HAVE_POWF 1
26681 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26682 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26683 if test "${ac_cv_lib_m_pow+set}" = set; then
26684 echo $ECHO_N "(cached) $ECHO_C" >&6
26686 ac_check_lib_save_LIBS=$LIBS
26688 if test x$gcc_no_link = xyes; then
26689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26691 { (exit 1); exit 1; }; }
26693 cat >conftest.$ac_ext <<_ACEOF
26696 cat confdefs.h >>conftest.$ac_ext
26697 cat >>conftest.$ac_ext <<_ACEOF
26698 /* end confdefs.h. */
26700 /* Override any gcc2 internal prototype to avoid an error. */
26704 /* We use char because int might match the return type of a gcc2
26705 builtin and then its argument prototype would still apply. */
26715 rm -f conftest.$ac_objext conftest$ac_exeext
26716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26717 (eval $ac_link) 2>conftest.er1
26719 grep -v '^ *+' conftest.er1 >conftest.err
26721 cat conftest.err >&5
26722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26723 (exit $ac_status); } &&
26724 { ac_try='test -z "$ac_c_werror_flag"
26725 || test ! -s conftest.err'
26726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26727 (eval $ac_try) 2>&5
26729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26730 (exit $ac_status); }; } &&
26731 { ac_try='test -s conftest$ac_exeext'
26732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26733 (eval $ac_try) 2>&5
26735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26736 (exit $ac_status); }; }; then
26737 ac_cv_lib_m_pow=yes
26739 echo "$as_me: failed program was:" >&5
26740 sed 's/^/| /' conftest.$ac_ext >&5
26744 rm -f conftest.err conftest.$ac_objext \
26745 conftest$ac_exeext conftest.$ac_ext
26746 LIBS=$ac_check_lib_save_LIBS
26748 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26749 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26750 if test $ac_cv_lib_m_pow = yes; then
26752 cat >>confdefs.h <<\_ACEOF
26758 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26759 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26760 if test "${ac_cv_lib_m_powl+set}" = set; then
26761 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 ac_check_lib_save_LIBS=$LIBS
26765 if test x$gcc_no_link = xyes; then
26766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26768 { (exit 1); exit 1; }; }
26770 cat >conftest.$ac_ext <<_ACEOF
26773 cat confdefs.h >>conftest.$ac_ext
26774 cat >>conftest.$ac_ext <<_ACEOF
26775 /* end confdefs.h. */
26777 /* Override any gcc2 internal prototype to avoid an error. */
26781 /* We use char because int might match the return type of a gcc2
26782 builtin and then its argument prototype would still apply. */
26792 rm -f conftest.$ac_objext conftest$ac_exeext
26793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26794 (eval $ac_link) 2>conftest.er1
26796 grep -v '^ *+' conftest.er1 >conftest.err
26798 cat conftest.err >&5
26799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26800 (exit $ac_status); } &&
26801 { ac_try='test -z "$ac_c_werror_flag"
26802 || test ! -s conftest.err'
26803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26804 (eval $ac_try) 2>&5
26806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26807 (exit $ac_status); }; } &&
26808 { ac_try='test -s conftest$ac_exeext'
26809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26810 (eval $ac_try) 2>&5
26812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26813 (exit $ac_status); }; }; then
26814 ac_cv_lib_m_powl=yes
26816 echo "$as_me: failed program was:" >&5
26817 sed 's/^/| /' conftest.$ac_ext >&5
26819 ac_cv_lib_m_powl=no
26821 rm -f conftest.err conftest.$ac_objext \
26822 conftest$ac_exeext conftest.$ac_ext
26823 LIBS=$ac_check_lib_save_LIBS
26825 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26826 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26827 if test $ac_cv_lib_m_powl = yes; then
26829 cat >>confdefs.h <<\_ACEOF
26830 #define HAVE_POWL 1
26835 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26836 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26837 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26840 ac_check_lib_save_LIBS=$LIBS
26842 if test x$gcc_no_link = xyes; then
26843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26845 { (exit 1); exit 1; }; }
26847 cat >conftest.$ac_ext <<_ACEOF
26850 cat confdefs.h >>conftest.$ac_ext
26851 cat >>conftest.$ac_ext <<_ACEOF
26852 /* end confdefs.h. */
26854 /* Override any gcc2 internal prototype to avoid an error. */
26858 /* We use char because int might match the return type of a gcc2
26859 builtin and then its argument prototype would still apply. */
26869 rm -f conftest.$ac_objext conftest$ac_exeext
26870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26871 (eval $ac_link) 2>conftest.er1
26873 grep -v '^ *+' conftest.er1 >conftest.err
26875 cat conftest.err >&5
26876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26877 (exit $ac_status); } &&
26878 { ac_try='test -z "$ac_c_werror_flag"
26879 || test ! -s conftest.err'
26880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26881 (eval $ac_try) 2>&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); }; } &&
26885 { ac_try='test -s conftest$ac_exeext'
26886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26887 (eval $ac_try) 2>&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); }; }; then
26891 ac_cv_lib_m_cpowf=yes
26893 echo "$as_me: failed program was:" >&5
26894 sed 's/^/| /' conftest.$ac_ext >&5
26896 ac_cv_lib_m_cpowf=no
26898 rm -f conftest.err conftest.$ac_objext \
26899 conftest$ac_exeext conftest.$ac_ext
26900 LIBS=$ac_check_lib_save_LIBS
26902 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26903 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26904 if test $ac_cv_lib_m_cpowf = yes; then
26906 cat >>confdefs.h <<\_ACEOF
26907 #define HAVE_CPOWF 1
26912 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26913 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26914 if test "${ac_cv_lib_m_cpow+set}" = set; then
26915 echo $ECHO_N "(cached) $ECHO_C" >&6
26917 ac_check_lib_save_LIBS=$LIBS
26919 if test x$gcc_no_link = xyes; then
26920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26922 { (exit 1); exit 1; }; }
26924 cat >conftest.$ac_ext <<_ACEOF
26927 cat confdefs.h >>conftest.$ac_ext
26928 cat >>conftest.$ac_ext <<_ACEOF
26929 /* end confdefs.h. */
26931 /* Override any gcc2 internal prototype to avoid an error. */
26935 /* We use char because int might match the return type of a gcc2
26936 builtin and then its argument prototype would still apply. */
26946 rm -f conftest.$ac_objext conftest$ac_exeext
26947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26948 (eval $ac_link) 2>conftest.er1
26950 grep -v '^ *+' conftest.er1 >conftest.err
26952 cat conftest.err >&5
26953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26954 (exit $ac_status); } &&
26955 { ac_try='test -z "$ac_c_werror_flag"
26956 || test ! -s conftest.err'
26957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26958 (eval $ac_try) 2>&5
26960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26961 (exit $ac_status); }; } &&
26962 { ac_try='test -s conftest$ac_exeext'
26963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26964 (eval $ac_try) 2>&5
26966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26967 (exit $ac_status); }; }; then
26968 ac_cv_lib_m_cpow=yes
26970 echo "$as_me: failed program was:" >&5
26971 sed 's/^/| /' conftest.$ac_ext >&5
26973 ac_cv_lib_m_cpow=no
26975 rm -f conftest.err conftest.$ac_objext \
26976 conftest$ac_exeext conftest.$ac_ext
26977 LIBS=$ac_check_lib_save_LIBS
26979 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26980 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26981 if test $ac_cv_lib_m_cpow = yes; then
26983 cat >>confdefs.h <<\_ACEOF
26984 #define HAVE_CPOW 1
26989 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26990 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26991 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26992 echo $ECHO_N "(cached) $ECHO_C" >&6
26994 ac_check_lib_save_LIBS=$LIBS
26996 if test x$gcc_no_link = xyes; then
26997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26999 { (exit 1); exit 1; }; }
27001 cat >conftest.$ac_ext <<_ACEOF
27004 cat confdefs.h >>conftest.$ac_ext
27005 cat >>conftest.$ac_ext <<_ACEOF
27006 /* end confdefs.h. */
27008 /* Override any gcc2 internal prototype to avoid an error. */
27012 /* We use char because int might match the return type of a gcc2
27013 builtin and then its argument prototype would still apply. */
27023 rm -f conftest.$ac_objext conftest$ac_exeext
27024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27025 (eval $ac_link) 2>conftest.er1
27027 grep -v '^ *+' conftest.er1 >conftest.err
27029 cat conftest.err >&5
27030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27031 (exit $ac_status); } &&
27032 { ac_try='test -z "$ac_c_werror_flag"
27033 || test ! -s conftest.err'
27034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27035 (eval $ac_try) 2>&5
27037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27038 (exit $ac_status); }; } &&
27039 { ac_try='test -s conftest$ac_exeext'
27040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27041 (eval $ac_try) 2>&5
27043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27044 (exit $ac_status); }; }; then
27045 ac_cv_lib_m_cpowl=yes
27047 echo "$as_me: failed program was:" >&5
27048 sed 's/^/| /' conftest.$ac_ext >&5
27050 ac_cv_lib_m_cpowl=no
27052 rm -f conftest.err conftest.$ac_objext \
27053 conftest$ac_exeext conftest.$ac_ext
27054 LIBS=$ac_check_lib_save_LIBS
27056 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
27057 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
27058 if test $ac_cv_lib_m_cpowl = yes; then
27060 cat >>confdefs.h <<\_ACEOF
27061 #define HAVE_CPOWL 1
27066 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
27067 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
27068 if test "${ac_cv_lib_m_roundf+set}" = set; then
27069 echo $ECHO_N "(cached) $ECHO_C" >&6
27071 ac_check_lib_save_LIBS=$LIBS
27073 if test x$gcc_no_link = xyes; then
27074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27076 { (exit 1); exit 1; }; }
27078 cat >conftest.$ac_ext <<_ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27085 /* Override any gcc2 internal prototype to avoid an error. */
27089 /* We use char because int might match the return type of a gcc2
27090 builtin and then its argument prototype would still apply. */
27100 rm -f conftest.$ac_objext conftest$ac_exeext
27101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27102 (eval $ac_link) 2>conftest.er1
27104 grep -v '^ *+' conftest.er1 >conftest.err
27106 cat conftest.err >&5
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); } &&
27109 { ac_try='test -z "$ac_c_werror_flag"
27110 || test ! -s conftest.err'
27111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27112 (eval $ac_try) 2>&5
27114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27115 (exit $ac_status); }; } &&
27116 { ac_try='test -s conftest$ac_exeext'
27117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27118 (eval $ac_try) 2>&5
27120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27121 (exit $ac_status); }; }; then
27122 ac_cv_lib_m_roundf=yes
27124 echo "$as_me: failed program was:" >&5
27125 sed 's/^/| /' conftest.$ac_ext >&5
27127 ac_cv_lib_m_roundf=no
27129 rm -f conftest.err conftest.$ac_objext \
27130 conftest$ac_exeext conftest.$ac_ext
27131 LIBS=$ac_check_lib_save_LIBS
27133 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27134 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27135 if test $ac_cv_lib_m_roundf = yes; then
27137 cat >>confdefs.h <<\_ACEOF
27138 #define HAVE_ROUNDF 1
27143 echo "$as_me:$LINENO: checking for round in -lm" >&5
27144 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27145 if test "${ac_cv_lib_m_round+set}" = set; then
27146 echo $ECHO_N "(cached) $ECHO_C" >&6
27148 ac_check_lib_save_LIBS=$LIBS
27150 if test x$gcc_no_link = xyes; then
27151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27153 { (exit 1); exit 1; }; }
27155 cat >conftest.$ac_ext <<_ACEOF
27158 cat confdefs.h >>conftest.$ac_ext
27159 cat >>conftest.$ac_ext <<_ACEOF
27160 /* end confdefs.h. */
27162 /* Override any gcc2 internal prototype to avoid an error. */
27166 /* We use char because int might match the return type of a gcc2
27167 builtin and then its argument prototype would still apply. */
27177 rm -f conftest.$ac_objext conftest$ac_exeext
27178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27179 (eval $ac_link) 2>conftest.er1
27181 grep -v '^ *+' conftest.er1 >conftest.err
27183 cat conftest.err >&5
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); } &&
27186 { ac_try='test -z "$ac_c_werror_flag"
27187 || test ! -s conftest.err'
27188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27189 (eval $ac_try) 2>&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); }; } &&
27193 { ac_try='test -s conftest$ac_exeext'
27194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27195 (eval $ac_try) 2>&5
27197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27198 (exit $ac_status); }; }; then
27199 ac_cv_lib_m_round=yes
27201 echo "$as_me: failed program was:" >&5
27202 sed 's/^/| /' conftest.$ac_ext >&5
27204 ac_cv_lib_m_round=no
27206 rm -f conftest.err conftest.$ac_objext \
27207 conftest$ac_exeext conftest.$ac_ext
27208 LIBS=$ac_check_lib_save_LIBS
27210 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27211 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27212 if test $ac_cv_lib_m_round = yes; then
27214 cat >>confdefs.h <<\_ACEOF
27215 #define HAVE_ROUND 1
27220 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27221 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27222 if test "${ac_cv_lib_m_roundl+set}" = set; then
27223 echo $ECHO_N "(cached) $ECHO_C" >&6
27225 ac_check_lib_save_LIBS=$LIBS
27227 if test x$gcc_no_link = xyes; then
27228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27230 { (exit 1); exit 1; }; }
27232 cat >conftest.$ac_ext <<_ACEOF
27235 cat confdefs.h >>conftest.$ac_ext
27236 cat >>conftest.$ac_ext <<_ACEOF
27237 /* end confdefs.h. */
27239 /* Override any gcc2 internal prototype to avoid an error. */
27243 /* We use char because int might match the return type of a gcc2
27244 builtin and then its argument prototype would still apply. */
27254 rm -f conftest.$ac_objext conftest$ac_exeext
27255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27256 (eval $ac_link) 2>conftest.er1
27258 grep -v '^ *+' conftest.er1 >conftest.err
27260 cat conftest.err >&5
27261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27262 (exit $ac_status); } &&
27263 { ac_try='test -z "$ac_c_werror_flag"
27264 || test ! -s conftest.err'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; } &&
27270 { ac_try='test -s conftest$ac_exeext'
27271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27272 (eval $ac_try) 2>&5
27274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27275 (exit $ac_status); }; }; then
27276 ac_cv_lib_m_roundl=yes
27278 echo "$as_me: failed program was:" >&5
27279 sed 's/^/| /' conftest.$ac_ext >&5
27281 ac_cv_lib_m_roundl=no
27283 rm -f conftest.err conftest.$ac_objext \
27284 conftest$ac_exeext conftest.$ac_ext
27285 LIBS=$ac_check_lib_save_LIBS
27287 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27288 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27289 if test $ac_cv_lib_m_roundl = yes; then
27291 cat >>confdefs.h <<\_ACEOF
27292 #define HAVE_ROUNDL 1
27297 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27298 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27299 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27300 echo $ECHO_N "(cached) $ECHO_C" >&6
27302 ac_check_lib_save_LIBS=$LIBS
27304 if test x$gcc_no_link = xyes; then
27305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27307 { (exit 1); exit 1; }; }
27309 cat >conftest.$ac_ext <<_ACEOF
27312 cat confdefs.h >>conftest.$ac_ext
27313 cat >>conftest.$ac_ext <<_ACEOF
27314 /* end confdefs.h. */
27316 /* Override any gcc2 internal prototype to avoid an error. */
27320 /* We use char because int might match the return type of a gcc2
27321 builtin and then its argument prototype would still apply. */
27331 rm -f conftest.$ac_objext conftest$ac_exeext
27332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27333 (eval $ac_link) 2>conftest.er1
27335 grep -v '^ *+' conftest.er1 >conftest.err
27337 cat conftest.err >&5
27338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27339 (exit $ac_status); } &&
27340 { ac_try='test -z "$ac_c_werror_flag"
27341 || test ! -s conftest.err'
27342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27343 (eval $ac_try) 2>&5
27345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27346 (exit $ac_status); }; } &&
27347 { ac_try='test -s conftest$ac_exeext'
27348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27349 (eval $ac_try) 2>&5
27351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27352 (exit $ac_status); }; }; then
27353 ac_cv_lib_m_lroundf=yes
27355 echo "$as_me: failed program was:" >&5
27356 sed 's/^/| /' conftest.$ac_ext >&5
27358 ac_cv_lib_m_lroundf=no
27360 rm -f conftest.err conftest.$ac_objext \
27361 conftest$ac_exeext conftest.$ac_ext
27362 LIBS=$ac_check_lib_save_LIBS
27364 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27365 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27366 if test $ac_cv_lib_m_lroundf = yes; then
27368 cat >>confdefs.h <<\_ACEOF
27369 #define HAVE_LROUNDF 1
27374 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27375 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27376 if test "${ac_cv_lib_m_lround+set}" = set; then
27377 echo $ECHO_N "(cached) $ECHO_C" >&6
27379 ac_check_lib_save_LIBS=$LIBS
27381 if test x$gcc_no_link = xyes; then
27382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27384 { (exit 1); exit 1; }; }
27386 cat >conftest.$ac_ext <<_ACEOF
27389 cat confdefs.h >>conftest.$ac_ext
27390 cat >>conftest.$ac_ext <<_ACEOF
27391 /* end confdefs.h. */
27393 /* Override any gcc2 internal prototype to avoid an error. */
27397 /* We use char because int might match the return type of a gcc2
27398 builtin and then its argument prototype would still apply. */
27408 rm -f conftest.$ac_objext conftest$ac_exeext
27409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27410 (eval $ac_link) 2>conftest.er1
27412 grep -v '^ *+' conftest.er1 >conftest.err
27414 cat conftest.err >&5
27415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27416 (exit $ac_status); } &&
27417 { ac_try='test -z "$ac_c_werror_flag"
27418 || test ! -s conftest.err'
27419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27420 (eval $ac_try) 2>&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); }; } &&
27424 { ac_try='test -s conftest$ac_exeext'
27425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27426 (eval $ac_try) 2>&5
27428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27429 (exit $ac_status); }; }; then
27430 ac_cv_lib_m_lround=yes
27432 echo "$as_me: failed program was:" >&5
27433 sed 's/^/| /' conftest.$ac_ext >&5
27435 ac_cv_lib_m_lround=no
27437 rm -f conftest.err conftest.$ac_objext \
27438 conftest$ac_exeext conftest.$ac_ext
27439 LIBS=$ac_check_lib_save_LIBS
27441 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27442 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27443 if test $ac_cv_lib_m_lround = yes; then
27445 cat >>confdefs.h <<\_ACEOF
27446 #define HAVE_LROUND 1
27451 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27452 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27453 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27454 echo $ECHO_N "(cached) $ECHO_C" >&6
27456 ac_check_lib_save_LIBS=$LIBS
27458 if test x$gcc_no_link = xyes; then
27459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27461 { (exit 1); exit 1; }; }
27463 cat >conftest.$ac_ext <<_ACEOF
27466 cat confdefs.h >>conftest.$ac_ext
27467 cat >>conftest.$ac_ext <<_ACEOF
27468 /* end confdefs.h. */
27470 /* Override any gcc2 internal prototype to avoid an error. */
27474 /* We use char because int might match the return type of a gcc2
27475 builtin and then its argument prototype would still apply. */
27485 rm -f conftest.$ac_objext conftest$ac_exeext
27486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27487 (eval $ac_link) 2>conftest.er1
27489 grep -v '^ *+' conftest.er1 >conftest.err
27491 cat conftest.err >&5
27492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27493 (exit $ac_status); } &&
27494 { ac_try='test -z "$ac_c_werror_flag"
27495 || test ! -s conftest.err'
27496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27497 (eval $ac_try) 2>&5
27499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27500 (exit $ac_status); }; } &&
27501 { ac_try='test -s conftest$ac_exeext'
27502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27503 (eval $ac_try) 2>&5
27505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27506 (exit $ac_status); }; }; then
27507 ac_cv_lib_m_lroundl=yes
27509 echo "$as_me: failed program was:" >&5
27510 sed 's/^/| /' conftest.$ac_ext >&5
27512 ac_cv_lib_m_lroundl=no
27514 rm -f conftest.err conftest.$ac_objext \
27515 conftest$ac_exeext conftest.$ac_ext
27516 LIBS=$ac_check_lib_save_LIBS
27518 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27519 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27520 if test $ac_cv_lib_m_lroundl = yes; then
27522 cat >>confdefs.h <<\_ACEOF
27523 #define HAVE_LROUNDL 1
27528 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27529 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27530 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27531 echo $ECHO_N "(cached) $ECHO_C" >&6
27533 ac_check_lib_save_LIBS=$LIBS
27535 if test x$gcc_no_link = xyes; then
27536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27538 { (exit 1); exit 1; }; }
27540 cat >conftest.$ac_ext <<_ACEOF
27543 cat confdefs.h >>conftest.$ac_ext
27544 cat >>conftest.$ac_ext <<_ACEOF
27545 /* end confdefs.h. */
27547 /* Override any gcc2 internal prototype to avoid an error. */
27551 /* We use char because int might match the return type of a gcc2
27552 builtin and then its argument prototype would still apply. */
27562 rm -f conftest.$ac_objext conftest$ac_exeext
27563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27564 (eval $ac_link) 2>conftest.er1
27566 grep -v '^ *+' conftest.er1 >conftest.err
27568 cat conftest.err >&5
27569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27570 (exit $ac_status); } &&
27571 { ac_try='test -z "$ac_c_werror_flag"
27572 || test ! -s conftest.err'
27573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27574 (eval $ac_try) 2>&5
27576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27577 (exit $ac_status); }; } &&
27578 { ac_try='test -s conftest$ac_exeext'
27579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27580 (eval $ac_try) 2>&5
27582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27583 (exit $ac_status); }; }; then
27584 ac_cv_lib_m_llroundf=yes
27586 echo "$as_me: failed program was:" >&5
27587 sed 's/^/| /' conftest.$ac_ext >&5
27589 ac_cv_lib_m_llroundf=no
27591 rm -f conftest.err conftest.$ac_objext \
27592 conftest$ac_exeext conftest.$ac_ext
27593 LIBS=$ac_check_lib_save_LIBS
27595 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27596 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27597 if test $ac_cv_lib_m_llroundf = yes; then
27599 cat >>confdefs.h <<\_ACEOF
27600 #define HAVE_LLROUNDF 1
27605 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27606 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27607 if test "${ac_cv_lib_m_llround+set}" = set; then
27608 echo $ECHO_N "(cached) $ECHO_C" >&6
27610 ac_check_lib_save_LIBS=$LIBS
27612 if test x$gcc_no_link = xyes; then
27613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27615 { (exit 1); exit 1; }; }
27617 cat >conftest.$ac_ext <<_ACEOF
27620 cat confdefs.h >>conftest.$ac_ext
27621 cat >>conftest.$ac_ext <<_ACEOF
27622 /* end confdefs.h. */
27624 /* Override any gcc2 internal prototype to avoid an error. */
27628 /* We use char because int might match the return type of a gcc2
27629 builtin and then its argument prototype would still apply. */
27639 rm -f conftest.$ac_objext conftest$ac_exeext
27640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27641 (eval $ac_link) 2>conftest.er1
27643 grep -v '^ *+' conftest.er1 >conftest.err
27645 cat conftest.err >&5
27646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27647 (exit $ac_status); } &&
27648 { ac_try='test -z "$ac_c_werror_flag"
27649 || test ! -s conftest.err'
27650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27651 (eval $ac_try) 2>&5
27653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27654 (exit $ac_status); }; } &&
27655 { ac_try='test -s conftest$ac_exeext'
27656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27657 (eval $ac_try) 2>&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); }; }; then
27661 ac_cv_lib_m_llround=yes
27663 echo "$as_me: failed program was:" >&5
27664 sed 's/^/| /' conftest.$ac_ext >&5
27666 ac_cv_lib_m_llround=no
27668 rm -f conftest.err conftest.$ac_objext \
27669 conftest$ac_exeext conftest.$ac_ext
27670 LIBS=$ac_check_lib_save_LIBS
27672 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27673 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27674 if test $ac_cv_lib_m_llround = yes; then
27676 cat >>confdefs.h <<\_ACEOF
27677 #define HAVE_LLROUND 1
27682 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27683 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27684 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27685 echo $ECHO_N "(cached) $ECHO_C" >&6
27687 ac_check_lib_save_LIBS=$LIBS
27689 if test x$gcc_no_link = xyes; then
27690 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27691 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27692 { (exit 1); exit 1; }; }
27694 cat >conftest.$ac_ext <<_ACEOF
27697 cat confdefs.h >>conftest.$ac_ext
27698 cat >>conftest.$ac_ext <<_ACEOF
27699 /* end confdefs.h. */
27701 /* Override any gcc2 internal prototype to avoid an error. */
27705 /* We use char because int might match the return type of a gcc2
27706 builtin and then its argument prototype would still apply. */
27716 rm -f conftest.$ac_objext conftest$ac_exeext
27717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27718 (eval $ac_link) 2>conftest.er1
27720 grep -v '^ *+' conftest.er1 >conftest.err
27722 cat conftest.err >&5
27723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27724 (exit $ac_status); } &&
27725 { ac_try='test -z "$ac_c_werror_flag"
27726 || test ! -s conftest.err'
27727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27728 (eval $ac_try) 2>&5
27730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27731 (exit $ac_status); }; } &&
27732 { ac_try='test -s conftest$ac_exeext'
27733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27734 (eval $ac_try) 2>&5
27736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27737 (exit $ac_status); }; }; then
27738 ac_cv_lib_m_llroundl=yes
27740 echo "$as_me: failed program was:" >&5
27741 sed 's/^/| /' conftest.$ac_ext >&5
27743 ac_cv_lib_m_llroundl=no
27745 rm -f conftest.err conftest.$ac_objext \
27746 conftest$ac_exeext conftest.$ac_ext
27747 LIBS=$ac_check_lib_save_LIBS
27749 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27750 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27751 if test $ac_cv_lib_m_llroundl = yes; then
27753 cat >>confdefs.h <<\_ACEOF
27754 #define HAVE_LLROUNDL 1
27759 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27760 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27761 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27762 echo $ECHO_N "(cached) $ECHO_C" >&6
27764 ac_check_lib_save_LIBS=$LIBS
27766 if test x$gcc_no_link = xyes; then
27767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27769 { (exit 1); exit 1; }; }
27771 cat >conftest.$ac_ext <<_ACEOF
27774 cat confdefs.h >>conftest.$ac_ext
27775 cat >>conftest.$ac_ext <<_ACEOF
27776 /* end confdefs.h. */
27778 /* Override any gcc2 internal prototype to avoid an error. */
27782 /* We use char because int might match the return type of a gcc2
27783 builtin and then its argument prototype would still apply. */
27793 rm -f conftest.$ac_objext conftest$ac_exeext
27794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27795 (eval $ac_link) 2>conftest.er1
27797 grep -v '^ *+' conftest.er1 >conftest.err
27799 cat conftest.err >&5
27800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27801 (exit $ac_status); } &&
27802 { ac_try='test -z "$ac_c_werror_flag"
27803 || test ! -s conftest.err'
27804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27805 (eval $ac_try) 2>&5
27807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27808 (exit $ac_status); }; } &&
27809 { ac_try='test -s conftest$ac_exeext'
27810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27811 (eval $ac_try) 2>&5
27813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27814 (exit $ac_status); }; }; then
27815 ac_cv_lib_m_scalbnf=yes
27817 echo "$as_me: failed program was:" >&5
27818 sed 's/^/| /' conftest.$ac_ext >&5
27820 ac_cv_lib_m_scalbnf=no
27822 rm -f conftest.err conftest.$ac_objext \
27823 conftest$ac_exeext conftest.$ac_ext
27824 LIBS=$ac_check_lib_save_LIBS
27826 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27827 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27828 if test $ac_cv_lib_m_scalbnf = yes; then
27830 cat >>confdefs.h <<\_ACEOF
27831 #define HAVE_SCALBNF 1
27836 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27837 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27838 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27839 echo $ECHO_N "(cached) $ECHO_C" >&6
27841 ac_check_lib_save_LIBS=$LIBS
27843 if test x$gcc_no_link = xyes; then
27844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27846 { (exit 1); exit 1; }; }
27848 cat >conftest.$ac_ext <<_ACEOF
27851 cat confdefs.h >>conftest.$ac_ext
27852 cat >>conftest.$ac_ext <<_ACEOF
27853 /* end confdefs.h. */
27855 /* Override any gcc2 internal prototype to avoid an error. */
27859 /* We use char because int might match the return type of a gcc2
27860 builtin and then its argument prototype would still apply. */
27870 rm -f conftest.$ac_objext conftest$ac_exeext
27871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27872 (eval $ac_link) 2>conftest.er1
27874 grep -v '^ *+' conftest.er1 >conftest.err
27876 cat conftest.err >&5
27877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27878 (exit $ac_status); } &&
27879 { ac_try='test -z "$ac_c_werror_flag"
27880 || test ! -s conftest.err'
27881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27882 (eval $ac_try) 2>&5
27884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27885 (exit $ac_status); }; } &&
27886 { ac_try='test -s conftest$ac_exeext'
27887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27888 (eval $ac_try) 2>&5
27890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27891 (exit $ac_status); }; }; then
27892 ac_cv_lib_m_scalbn=yes
27894 echo "$as_me: failed program was:" >&5
27895 sed 's/^/| /' conftest.$ac_ext >&5
27897 ac_cv_lib_m_scalbn=no
27899 rm -f conftest.err conftest.$ac_objext \
27900 conftest$ac_exeext conftest.$ac_ext
27901 LIBS=$ac_check_lib_save_LIBS
27903 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27904 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27905 if test $ac_cv_lib_m_scalbn = yes; then
27907 cat >>confdefs.h <<\_ACEOF
27908 #define HAVE_SCALBN 1
27913 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27914 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27915 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27916 echo $ECHO_N "(cached) $ECHO_C" >&6
27918 ac_check_lib_save_LIBS=$LIBS
27920 if test x$gcc_no_link = xyes; then
27921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27923 { (exit 1); exit 1; }; }
27925 cat >conftest.$ac_ext <<_ACEOF
27928 cat confdefs.h >>conftest.$ac_ext
27929 cat >>conftest.$ac_ext <<_ACEOF
27930 /* end confdefs.h. */
27932 /* Override any gcc2 internal prototype to avoid an error. */
27936 /* We use char because int might match the return type of a gcc2
27937 builtin and then its argument prototype would still apply. */
27947 rm -f conftest.$ac_objext conftest$ac_exeext
27948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27949 (eval $ac_link) 2>conftest.er1
27951 grep -v '^ *+' conftest.er1 >conftest.err
27953 cat conftest.err >&5
27954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27955 (exit $ac_status); } &&
27956 { ac_try='test -z "$ac_c_werror_flag"
27957 || test ! -s conftest.err'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; } &&
27963 { ac_try='test -s conftest$ac_exeext'
27964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27965 (eval $ac_try) 2>&5
27967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27968 (exit $ac_status); }; }; then
27969 ac_cv_lib_m_scalbnl=yes
27971 echo "$as_me: failed program was:" >&5
27972 sed 's/^/| /' conftest.$ac_ext >&5
27974 ac_cv_lib_m_scalbnl=no
27976 rm -f conftest.err conftest.$ac_objext \
27977 conftest$ac_exeext conftest.$ac_ext
27978 LIBS=$ac_check_lib_save_LIBS
27980 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27981 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27982 if test $ac_cv_lib_m_scalbnl = yes; then
27984 cat >>confdefs.h <<\_ACEOF
27985 #define HAVE_SCALBNL 1
27990 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27991 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27992 if test "${ac_cv_lib_m_sinf+set}" = set; then
27993 echo $ECHO_N "(cached) $ECHO_C" >&6
27995 ac_check_lib_save_LIBS=$LIBS
27997 if test x$gcc_no_link = xyes; then
27998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28000 { (exit 1); exit 1; }; }
28002 cat >conftest.$ac_ext <<_ACEOF
28005 cat confdefs.h >>conftest.$ac_ext
28006 cat >>conftest.$ac_ext <<_ACEOF
28007 /* end confdefs.h. */
28009 /* Override any gcc2 internal prototype to avoid an error. */
28013 /* We use char because int might match the return type of a gcc2
28014 builtin and then its argument prototype would still apply. */
28024 rm -f conftest.$ac_objext conftest$ac_exeext
28025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28026 (eval $ac_link) 2>conftest.er1
28028 grep -v '^ *+' conftest.er1 >conftest.err
28030 cat conftest.err >&5
28031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28032 (exit $ac_status); } &&
28033 { ac_try='test -z "$ac_c_werror_flag"
28034 || test ! -s conftest.err'
28035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28036 (eval $ac_try) 2>&5
28038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28039 (exit $ac_status); }; } &&
28040 { ac_try='test -s conftest$ac_exeext'
28041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28042 (eval $ac_try) 2>&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); }; }; then
28046 ac_cv_lib_m_sinf=yes
28048 echo "$as_me: failed program was:" >&5
28049 sed 's/^/| /' conftest.$ac_ext >&5
28051 ac_cv_lib_m_sinf=no
28053 rm -f conftest.err conftest.$ac_objext \
28054 conftest$ac_exeext conftest.$ac_ext
28055 LIBS=$ac_check_lib_save_LIBS
28057 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
28058 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
28059 if test $ac_cv_lib_m_sinf = yes; then
28061 cat >>confdefs.h <<\_ACEOF
28062 #define HAVE_SINF 1
28067 echo "$as_me:$LINENO: checking for sin in -lm" >&5
28068 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
28069 if test "${ac_cv_lib_m_sin+set}" = set; then
28070 echo $ECHO_N "(cached) $ECHO_C" >&6
28072 ac_check_lib_save_LIBS=$LIBS
28074 if test x$gcc_no_link = xyes; then
28075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28077 { (exit 1); exit 1; }; }
28079 cat >conftest.$ac_ext <<_ACEOF
28082 cat confdefs.h >>conftest.$ac_ext
28083 cat >>conftest.$ac_ext <<_ACEOF
28084 /* end confdefs.h. */
28086 /* Override any gcc2 internal prototype to avoid an error. */
28090 /* We use char because int might match the return type of a gcc2
28091 builtin and then its argument prototype would still apply. */
28101 rm -f conftest.$ac_objext conftest$ac_exeext
28102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28103 (eval $ac_link) 2>conftest.er1
28105 grep -v '^ *+' conftest.er1 >conftest.err
28107 cat conftest.err >&5
28108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28109 (exit $ac_status); } &&
28110 { ac_try='test -z "$ac_c_werror_flag"
28111 || test ! -s conftest.err'
28112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28113 (eval $ac_try) 2>&5
28115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28116 (exit $ac_status); }; } &&
28117 { ac_try='test -s conftest$ac_exeext'
28118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28119 (eval $ac_try) 2>&5
28121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28122 (exit $ac_status); }; }; then
28123 ac_cv_lib_m_sin=yes
28125 echo "$as_me: failed program was:" >&5
28126 sed 's/^/| /' conftest.$ac_ext >&5
28130 rm -f conftest.err conftest.$ac_objext \
28131 conftest$ac_exeext conftest.$ac_ext
28132 LIBS=$ac_check_lib_save_LIBS
28134 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28135 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28136 if test $ac_cv_lib_m_sin = yes; then
28138 cat >>confdefs.h <<\_ACEOF
28144 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28145 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28146 if test "${ac_cv_lib_m_sinl+set}" = set; then
28147 echo $ECHO_N "(cached) $ECHO_C" >&6
28149 ac_check_lib_save_LIBS=$LIBS
28151 if test x$gcc_no_link = xyes; then
28152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28154 { (exit 1); exit 1; }; }
28156 cat >conftest.$ac_ext <<_ACEOF
28159 cat confdefs.h >>conftest.$ac_ext
28160 cat >>conftest.$ac_ext <<_ACEOF
28161 /* end confdefs.h. */
28163 /* Override any gcc2 internal prototype to avoid an error. */
28167 /* We use char because int might match the return type of a gcc2
28168 builtin and then its argument prototype would still apply. */
28178 rm -f conftest.$ac_objext conftest$ac_exeext
28179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28180 (eval $ac_link) 2>conftest.er1
28182 grep -v '^ *+' conftest.er1 >conftest.err
28184 cat conftest.err >&5
28185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28186 (exit $ac_status); } &&
28187 { ac_try='test -z "$ac_c_werror_flag"
28188 || test ! -s conftest.err'
28189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28190 (eval $ac_try) 2>&5
28192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28193 (exit $ac_status); }; } &&
28194 { ac_try='test -s conftest$ac_exeext'
28195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28196 (eval $ac_try) 2>&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); }; }; then
28200 ac_cv_lib_m_sinl=yes
28202 echo "$as_me: failed program was:" >&5
28203 sed 's/^/| /' conftest.$ac_ext >&5
28205 ac_cv_lib_m_sinl=no
28207 rm -f conftest.err conftest.$ac_objext \
28208 conftest$ac_exeext conftest.$ac_ext
28209 LIBS=$ac_check_lib_save_LIBS
28211 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28212 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28213 if test $ac_cv_lib_m_sinl = yes; then
28215 cat >>confdefs.h <<\_ACEOF
28216 #define HAVE_SINL 1
28221 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28222 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28223 if test "${ac_cv_lib_m_csinf+set}" = set; then
28224 echo $ECHO_N "(cached) $ECHO_C" >&6
28226 ac_check_lib_save_LIBS=$LIBS
28228 if test x$gcc_no_link = xyes; then
28229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28231 { (exit 1); exit 1; }; }
28233 cat >conftest.$ac_ext <<_ACEOF
28236 cat confdefs.h >>conftest.$ac_ext
28237 cat >>conftest.$ac_ext <<_ACEOF
28238 /* end confdefs.h. */
28240 /* Override any gcc2 internal prototype to avoid an error. */
28244 /* We use char because int might match the return type of a gcc2
28245 builtin and then its argument prototype would still apply. */
28255 rm -f conftest.$ac_objext conftest$ac_exeext
28256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28257 (eval $ac_link) 2>conftest.er1
28259 grep -v '^ *+' conftest.er1 >conftest.err
28261 cat conftest.err >&5
28262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28263 (exit $ac_status); } &&
28264 { ac_try='test -z "$ac_c_werror_flag"
28265 || test ! -s conftest.err'
28266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28267 (eval $ac_try) 2>&5
28269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28270 (exit $ac_status); }; } &&
28271 { ac_try='test -s conftest$ac_exeext'
28272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28273 (eval $ac_try) 2>&5
28275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28276 (exit $ac_status); }; }; then
28277 ac_cv_lib_m_csinf=yes
28279 echo "$as_me: failed program was:" >&5
28280 sed 's/^/| /' conftest.$ac_ext >&5
28282 ac_cv_lib_m_csinf=no
28284 rm -f conftest.err conftest.$ac_objext \
28285 conftest$ac_exeext conftest.$ac_ext
28286 LIBS=$ac_check_lib_save_LIBS
28288 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28289 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28290 if test $ac_cv_lib_m_csinf = yes; then
28292 cat >>confdefs.h <<\_ACEOF
28293 #define HAVE_CSINF 1
28298 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28299 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28300 if test "${ac_cv_lib_m_csin+set}" = set; then
28301 echo $ECHO_N "(cached) $ECHO_C" >&6
28303 ac_check_lib_save_LIBS=$LIBS
28305 if test x$gcc_no_link = xyes; then
28306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28308 { (exit 1); exit 1; }; }
28310 cat >conftest.$ac_ext <<_ACEOF
28313 cat confdefs.h >>conftest.$ac_ext
28314 cat >>conftest.$ac_ext <<_ACEOF
28315 /* end confdefs.h. */
28317 /* Override any gcc2 internal prototype to avoid an error. */
28321 /* We use char because int might match the return type of a gcc2
28322 builtin and then its argument prototype would still apply. */
28332 rm -f conftest.$ac_objext conftest$ac_exeext
28333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28334 (eval $ac_link) 2>conftest.er1
28336 grep -v '^ *+' conftest.er1 >conftest.err
28338 cat conftest.err >&5
28339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28340 (exit $ac_status); } &&
28341 { ac_try='test -z "$ac_c_werror_flag"
28342 || test ! -s conftest.err'
28343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28344 (eval $ac_try) 2>&5
28346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28347 (exit $ac_status); }; } &&
28348 { ac_try='test -s conftest$ac_exeext'
28349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28350 (eval $ac_try) 2>&5
28352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28353 (exit $ac_status); }; }; then
28354 ac_cv_lib_m_csin=yes
28356 echo "$as_me: failed program was:" >&5
28357 sed 's/^/| /' conftest.$ac_ext >&5
28359 ac_cv_lib_m_csin=no
28361 rm -f conftest.err conftest.$ac_objext \
28362 conftest$ac_exeext conftest.$ac_ext
28363 LIBS=$ac_check_lib_save_LIBS
28365 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28366 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28367 if test $ac_cv_lib_m_csin = yes; then
28369 cat >>confdefs.h <<\_ACEOF
28370 #define HAVE_CSIN 1
28375 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28376 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28377 if test "${ac_cv_lib_m_csinl+set}" = set; then
28378 echo $ECHO_N "(cached) $ECHO_C" >&6
28380 ac_check_lib_save_LIBS=$LIBS
28382 if test x$gcc_no_link = xyes; then
28383 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28384 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28385 { (exit 1); exit 1; }; }
28387 cat >conftest.$ac_ext <<_ACEOF
28390 cat confdefs.h >>conftest.$ac_ext
28391 cat >>conftest.$ac_ext <<_ACEOF
28392 /* end confdefs.h. */
28394 /* Override any gcc2 internal prototype to avoid an error. */
28398 /* We use char because int might match the return type of a gcc2
28399 builtin and then its argument prototype would still apply. */
28409 rm -f conftest.$ac_objext conftest$ac_exeext
28410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28411 (eval $ac_link) 2>conftest.er1
28413 grep -v '^ *+' conftest.er1 >conftest.err
28415 cat conftest.err >&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } &&
28418 { ac_try='test -z "$ac_c_werror_flag"
28419 || test ! -s conftest.err'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; } &&
28425 { ac_try='test -s conftest$ac_exeext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 ac_cv_lib_m_csinl=yes
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28436 ac_cv_lib_m_csinl=no
28438 rm -f conftest.err conftest.$ac_objext \
28439 conftest$ac_exeext conftest.$ac_ext
28440 LIBS=$ac_check_lib_save_LIBS
28442 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28443 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28444 if test $ac_cv_lib_m_csinl = yes; then
28446 cat >>confdefs.h <<\_ACEOF
28447 #define HAVE_CSINL 1
28452 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28453 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28454 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28455 echo $ECHO_N "(cached) $ECHO_C" >&6
28457 ac_check_lib_save_LIBS=$LIBS
28459 if test x$gcc_no_link = xyes; then
28460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28462 { (exit 1); exit 1; }; }
28464 cat >conftest.$ac_ext <<_ACEOF
28467 cat confdefs.h >>conftest.$ac_ext
28468 cat >>conftest.$ac_ext <<_ACEOF
28469 /* end confdefs.h. */
28471 /* Override any gcc2 internal prototype to avoid an error. */
28475 /* We use char because int might match the return type of a gcc2
28476 builtin and then its argument prototype would still apply. */
28486 rm -f conftest.$ac_objext conftest$ac_exeext
28487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28488 (eval $ac_link) 2>conftest.er1
28490 grep -v '^ *+' conftest.er1 >conftest.err
28492 cat conftest.err >&5
28493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28494 (exit $ac_status); } &&
28495 { ac_try='test -z "$ac_c_werror_flag"
28496 || test ! -s conftest.err'
28497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28498 (eval $ac_try) 2>&5
28500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28501 (exit $ac_status); }; } &&
28502 { ac_try='test -s conftest$ac_exeext'
28503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28504 (eval $ac_try) 2>&5
28506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28507 (exit $ac_status); }; }; then
28508 ac_cv_lib_m_sinhf=yes
28510 echo "$as_me: failed program was:" >&5
28511 sed 's/^/| /' conftest.$ac_ext >&5
28513 ac_cv_lib_m_sinhf=no
28515 rm -f conftest.err conftest.$ac_objext \
28516 conftest$ac_exeext conftest.$ac_ext
28517 LIBS=$ac_check_lib_save_LIBS
28519 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28520 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28521 if test $ac_cv_lib_m_sinhf = yes; then
28523 cat >>confdefs.h <<\_ACEOF
28524 #define HAVE_SINHF 1
28529 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28530 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28531 if test "${ac_cv_lib_m_sinh+set}" = set; then
28532 echo $ECHO_N "(cached) $ECHO_C" >&6
28534 ac_check_lib_save_LIBS=$LIBS
28536 if test x$gcc_no_link = xyes; then
28537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28539 { (exit 1); exit 1; }; }
28541 cat >conftest.$ac_ext <<_ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28548 /* Override any gcc2 internal prototype to avoid an error. */
28552 /* We use char because int might match the return type of a gcc2
28553 builtin and then its argument prototype would still apply. */
28563 rm -f conftest.$ac_objext conftest$ac_exeext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28565 (eval $ac_link) 2>conftest.er1
28567 grep -v '^ *+' conftest.er1 >conftest.err
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try='test -z "$ac_c_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try='test -s conftest$ac_exeext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 ac_cv_lib_m_sinh=yes
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28590 ac_cv_lib_m_sinh=no
28592 rm -f conftest.err conftest.$ac_objext \
28593 conftest$ac_exeext conftest.$ac_ext
28594 LIBS=$ac_check_lib_save_LIBS
28596 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28597 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28598 if test $ac_cv_lib_m_sinh = yes; then
28600 cat >>confdefs.h <<\_ACEOF
28601 #define HAVE_SINH 1
28606 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28607 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28608 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28609 echo $ECHO_N "(cached) $ECHO_C" >&6
28611 ac_check_lib_save_LIBS=$LIBS
28613 if test x$gcc_no_link = xyes; then
28614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28616 { (exit 1); exit 1; }; }
28618 cat >conftest.$ac_ext <<_ACEOF
28621 cat confdefs.h >>conftest.$ac_ext
28622 cat >>conftest.$ac_ext <<_ACEOF
28623 /* end confdefs.h. */
28625 /* Override any gcc2 internal prototype to avoid an error. */
28629 /* We use char because int might match the return type of a gcc2
28630 builtin and then its argument prototype would still apply. */
28640 rm -f conftest.$ac_objext conftest$ac_exeext
28641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28642 (eval $ac_link) 2>conftest.er1
28644 grep -v '^ *+' conftest.er1 >conftest.err
28646 cat conftest.err >&5
28647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28648 (exit $ac_status); } &&
28649 { ac_try='test -z "$ac_c_werror_flag"
28650 || test ! -s conftest.err'
28651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28652 (eval $ac_try) 2>&5
28654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28655 (exit $ac_status); }; } &&
28656 { ac_try='test -s conftest$ac_exeext'
28657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28658 (eval $ac_try) 2>&5
28660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28661 (exit $ac_status); }; }; then
28662 ac_cv_lib_m_sinhl=yes
28664 echo "$as_me: failed program was:" >&5
28665 sed 's/^/| /' conftest.$ac_ext >&5
28667 ac_cv_lib_m_sinhl=no
28669 rm -f conftest.err conftest.$ac_objext \
28670 conftest$ac_exeext conftest.$ac_ext
28671 LIBS=$ac_check_lib_save_LIBS
28673 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28674 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28675 if test $ac_cv_lib_m_sinhl = yes; then
28677 cat >>confdefs.h <<\_ACEOF
28678 #define HAVE_SINHL 1
28683 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28684 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28685 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28688 ac_check_lib_save_LIBS=$LIBS
28690 if test x$gcc_no_link = xyes; then
28691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28693 { (exit 1); exit 1; }; }
28695 cat >conftest.$ac_ext <<_ACEOF
28698 cat confdefs.h >>conftest.$ac_ext
28699 cat >>conftest.$ac_ext <<_ACEOF
28700 /* end confdefs.h. */
28702 /* Override any gcc2 internal prototype to avoid an error. */
28706 /* We use char because int might match the return type of a gcc2
28707 builtin and then its argument prototype would still apply. */
28717 rm -f conftest.$ac_objext conftest$ac_exeext
28718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28719 (eval $ac_link) 2>conftest.er1
28721 grep -v '^ *+' conftest.er1 >conftest.err
28723 cat conftest.err >&5
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); } &&
28726 { ac_try='test -z "$ac_c_werror_flag"
28727 || test ! -s conftest.err'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; } &&
28733 { ac_try='test -s conftest$ac_exeext'
28734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28735 (eval $ac_try) 2>&5
28737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28738 (exit $ac_status); }; }; then
28739 ac_cv_lib_m_csinhf=yes
28741 echo "$as_me: failed program was:" >&5
28742 sed 's/^/| /' conftest.$ac_ext >&5
28744 ac_cv_lib_m_csinhf=no
28746 rm -f conftest.err conftest.$ac_objext \
28747 conftest$ac_exeext conftest.$ac_ext
28748 LIBS=$ac_check_lib_save_LIBS
28750 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28751 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28752 if test $ac_cv_lib_m_csinhf = yes; then
28754 cat >>confdefs.h <<\_ACEOF
28755 #define HAVE_CSINHF 1
28760 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28761 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28762 if test "${ac_cv_lib_m_csinh+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28765 ac_check_lib_save_LIBS=$LIBS
28767 if test x$gcc_no_link = xyes; then
28768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28770 { (exit 1); exit 1; }; }
28772 cat >conftest.$ac_ext <<_ACEOF
28775 cat confdefs.h >>conftest.$ac_ext
28776 cat >>conftest.$ac_ext <<_ACEOF
28777 /* end confdefs.h. */
28779 /* Override any gcc2 internal prototype to avoid an error. */
28783 /* We use char because int might match the return type of a gcc2
28784 builtin and then its argument prototype would still apply. */
28794 rm -f conftest.$ac_objext conftest$ac_exeext
28795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28796 (eval $ac_link) 2>conftest.er1
28798 grep -v '^ *+' conftest.er1 >conftest.err
28800 cat conftest.err >&5
28801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28802 (exit $ac_status); } &&
28803 { ac_try='test -z "$ac_c_werror_flag"
28804 || test ! -s conftest.err'
28805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28806 (eval $ac_try) 2>&5
28808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28809 (exit $ac_status); }; } &&
28810 { ac_try='test -s conftest$ac_exeext'
28811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28812 (eval $ac_try) 2>&5
28814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815 (exit $ac_status); }; }; then
28816 ac_cv_lib_m_csinh=yes
28818 echo "$as_me: failed program was:" >&5
28819 sed 's/^/| /' conftest.$ac_ext >&5
28821 ac_cv_lib_m_csinh=no
28823 rm -f conftest.err conftest.$ac_objext \
28824 conftest$ac_exeext conftest.$ac_ext
28825 LIBS=$ac_check_lib_save_LIBS
28827 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28828 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28829 if test $ac_cv_lib_m_csinh = yes; then
28831 cat >>confdefs.h <<\_ACEOF
28832 #define HAVE_CSINH 1
28837 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28838 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28839 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28842 ac_check_lib_save_LIBS=$LIBS
28844 if test x$gcc_no_link = xyes; then
28845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28847 { (exit 1); exit 1; }; }
28849 cat >conftest.$ac_ext <<_ACEOF
28852 cat confdefs.h >>conftest.$ac_ext
28853 cat >>conftest.$ac_ext <<_ACEOF
28854 /* end confdefs.h. */
28856 /* Override any gcc2 internal prototype to avoid an error. */
28860 /* We use char because int might match the return type of a gcc2
28861 builtin and then its argument prototype would still apply. */
28871 rm -f conftest.$ac_objext conftest$ac_exeext
28872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28873 (eval $ac_link) 2>conftest.er1
28875 grep -v '^ *+' conftest.er1 >conftest.err
28877 cat conftest.err >&5
28878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28879 (exit $ac_status); } &&
28880 { ac_try='test -z "$ac_c_werror_flag"
28881 || test ! -s conftest.err'
28882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28883 (eval $ac_try) 2>&5
28885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28886 (exit $ac_status); }; } &&
28887 { ac_try='test -s conftest$ac_exeext'
28888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28889 (eval $ac_try) 2>&5
28891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28892 (exit $ac_status); }; }; then
28893 ac_cv_lib_m_csinhl=yes
28895 echo "$as_me: failed program was:" >&5
28896 sed 's/^/| /' conftest.$ac_ext >&5
28898 ac_cv_lib_m_csinhl=no
28900 rm -f conftest.err conftest.$ac_objext \
28901 conftest$ac_exeext conftest.$ac_ext
28902 LIBS=$ac_check_lib_save_LIBS
28904 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28905 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28906 if test $ac_cv_lib_m_csinhl = yes; then
28908 cat >>confdefs.h <<\_ACEOF
28909 #define HAVE_CSINHL 1
28914 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28915 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28916 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28917 echo $ECHO_N "(cached) $ECHO_C" >&6
28919 ac_check_lib_save_LIBS=$LIBS
28921 if test x$gcc_no_link = xyes; then
28922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28924 { (exit 1); exit 1; }; }
28926 cat >conftest.$ac_ext <<_ACEOF
28929 cat confdefs.h >>conftest.$ac_ext
28930 cat >>conftest.$ac_ext <<_ACEOF
28931 /* end confdefs.h. */
28933 /* Override any gcc2 internal prototype to avoid an error. */
28937 /* We use char because int might match the return type of a gcc2
28938 builtin and then its argument prototype would still apply. */
28948 rm -f conftest.$ac_objext conftest$ac_exeext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950 (eval $ac_link) 2>conftest.er1
28952 grep -v '^ *+' conftest.er1 >conftest.err
28954 cat conftest.err >&5
28955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956 (exit $ac_status); } &&
28957 { ac_try='test -z "$ac_c_werror_flag"
28958 || test ! -s conftest.err'
28959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960 (eval $ac_try) 2>&5
28962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963 (exit $ac_status); }; } &&
28964 { ac_try='test -s conftest$ac_exeext'
28965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966 (eval $ac_try) 2>&5
28968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969 (exit $ac_status); }; }; then
28970 ac_cv_lib_m_sqrtf=yes
28972 echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28975 ac_cv_lib_m_sqrtf=no
28977 rm -f conftest.err conftest.$ac_objext \
28978 conftest$ac_exeext conftest.$ac_ext
28979 LIBS=$ac_check_lib_save_LIBS
28981 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28982 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28983 if test $ac_cv_lib_m_sqrtf = yes; then
28985 cat >>confdefs.h <<\_ACEOF
28986 #define HAVE_SQRTF 1
28991 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28992 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28993 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28994 echo $ECHO_N "(cached) $ECHO_C" >&6
28996 ac_check_lib_save_LIBS=$LIBS
28998 if test x$gcc_no_link = xyes; then
28999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29001 { (exit 1); exit 1; }; }
29003 cat >conftest.$ac_ext <<_ACEOF
29006 cat confdefs.h >>conftest.$ac_ext
29007 cat >>conftest.$ac_ext <<_ACEOF
29008 /* end confdefs.h. */
29010 /* Override any gcc2 internal prototype to avoid an error. */
29014 /* We use char because int might match the return type of a gcc2
29015 builtin and then its argument prototype would still apply. */
29025 rm -f conftest.$ac_objext conftest$ac_exeext
29026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29027 (eval $ac_link) 2>conftest.er1
29029 grep -v '^ *+' conftest.er1 >conftest.err
29031 cat conftest.err >&5
29032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29033 (exit $ac_status); } &&
29034 { ac_try='test -z "$ac_c_werror_flag"
29035 || test ! -s conftest.err'
29036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29037 (eval $ac_try) 2>&5
29039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29040 (exit $ac_status); }; } &&
29041 { ac_try='test -s conftest$ac_exeext'
29042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29043 (eval $ac_try) 2>&5
29045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29046 (exit $ac_status); }; }; then
29047 ac_cv_lib_m_sqrt=yes
29049 echo "$as_me: failed program was:" >&5
29050 sed 's/^/| /' conftest.$ac_ext >&5
29052 ac_cv_lib_m_sqrt=no
29054 rm -f conftest.err conftest.$ac_objext \
29055 conftest$ac_exeext conftest.$ac_ext
29056 LIBS=$ac_check_lib_save_LIBS
29058 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
29059 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
29060 if test $ac_cv_lib_m_sqrt = yes; then
29062 cat >>confdefs.h <<\_ACEOF
29063 #define HAVE_SQRT 1
29068 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
29069 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
29070 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
29071 echo $ECHO_N "(cached) $ECHO_C" >&6
29073 ac_check_lib_save_LIBS=$LIBS
29075 if test x$gcc_no_link = xyes; then
29076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29078 { (exit 1); exit 1; }; }
29080 cat >conftest.$ac_ext <<_ACEOF
29083 cat confdefs.h >>conftest.$ac_ext
29084 cat >>conftest.$ac_ext <<_ACEOF
29085 /* end confdefs.h. */
29087 /* Override any gcc2 internal prototype to avoid an error. */
29091 /* We use char because int might match the return type of a gcc2
29092 builtin and then its argument prototype would still apply. */
29102 rm -f conftest.$ac_objext conftest$ac_exeext
29103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29104 (eval $ac_link) 2>conftest.er1
29106 grep -v '^ *+' conftest.er1 >conftest.err
29108 cat conftest.err >&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); } &&
29111 { ac_try='test -z "$ac_c_werror_flag"
29112 || test ! -s conftest.err'
29113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29114 (eval $ac_try) 2>&5
29116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29117 (exit $ac_status); }; } &&
29118 { ac_try='test -s conftest$ac_exeext'
29119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29120 (eval $ac_try) 2>&5
29122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29123 (exit $ac_status); }; }; then
29124 ac_cv_lib_m_sqrtl=yes
29126 echo "$as_me: failed program was:" >&5
29127 sed 's/^/| /' conftest.$ac_ext >&5
29129 ac_cv_lib_m_sqrtl=no
29131 rm -f conftest.err conftest.$ac_objext \
29132 conftest$ac_exeext conftest.$ac_ext
29133 LIBS=$ac_check_lib_save_LIBS
29135 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29136 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29137 if test $ac_cv_lib_m_sqrtl = yes; then
29139 cat >>confdefs.h <<\_ACEOF
29140 #define HAVE_SQRTL 1
29145 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29146 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29147 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29148 echo $ECHO_N "(cached) $ECHO_C" >&6
29150 ac_check_lib_save_LIBS=$LIBS
29152 if test x$gcc_no_link = xyes; then
29153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29155 { (exit 1); exit 1; }; }
29157 cat >conftest.$ac_ext <<_ACEOF
29160 cat confdefs.h >>conftest.$ac_ext
29161 cat >>conftest.$ac_ext <<_ACEOF
29162 /* end confdefs.h. */
29164 /* Override any gcc2 internal prototype to avoid an error. */
29168 /* We use char because int might match the return type of a gcc2
29169 builtin and then its argument prototype would still apply. */
29179 rm -f conftest.$ac_objext conftest$ac_exeext
29180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29181 (eval $ac_link) 2>conftest.er1
29183 grep -v '^ *+' conftest.er1 >conftest.err
29185 cat conftest.err >&5
29186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29187 (exit $ac_status); } &&
29188 { ac_try='test -z "$ac_c_werror_flag"
29189 || test ! -s conftest.err'
29190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29191 (eval $ac_try) 2>&5
29193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29194 (exit $ac_status); }; } &&
29195 { ac_try='test -s conftest$ac_exeext'
29196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29197 (eval $ac_try) 2>&5
29199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29200 (exit $ac_status); }; }; then
29201 ac_cv_lib_m_csqrtf=yes
29203 echo "$as_me: failed program was:" >&5
29204 sed 's/^/| /' conftest.$ac_ext >&5
29206 ac_cv_lib_m_csqrtf=no
29208 rm -f conftest.err conftest.$ac_objext \
29209 conftest$ac_exeext conftest.$ac_ext
29210 LIBS=$ac_check_lib_save_LIBS
29212 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29213 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29214 if test $ac_cv_lib_m_csqrtf = yes; then
29216 cat >>confdefs.h <<\_ACEOF
29217 #define HAVE_CSQRTF 1
29222 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29223 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29224 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29227 ac_check_lib_save_LIBS=$LIBS
29229 if test x$gcc_no_link = xyes; then
29230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29232 { (exit 1); exit 1; }; }
29234 cat >conftest.$ac_ext <<_ACEOF
29237 cat confdefs.h >>conftest.$ac_ext
29238 cat >>conftest.$ac_ext <<_ACEOF
29239 /* end confdefs.h. */
29241 /* Override any gcc2 internal prototype to avoid an error. */
29245 /* We use char because int might match the return type of a gcc2
29246 builtin and then its argument prototype would still apply. */
29256 rm -f conftest.$ac_objext conftest$ac_exeext
29257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29258 (eval $ac_link) 2>conftest.er1
29260 grep -v '^ *+' conftest.er1 >conftest.err
29262 cat conftest.err >&5
29263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29264 (exit $ac_status); } &&
29265 { ac_try='test -z "$ac_c_werror_flag"
29266 || test ! -s conftest.err'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; } &&
29272 { ac_try='test -s conftest$ac_exeext'
29273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29274 (eval $ac_try) 2>&5
29276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29277 (exit $ac_status); }; }; then
29278 ac_cv_lib_m_csqrt=yes
29280 echo "$as_me: failed program was:" >&5
29281 sed 's/^/| /' conftest.$ac_ext >&5
29283 ac_cv_lib_m_csqrt=no
29285 rm -f conftest.err conftest.$ac_objext \
29286 conftest$ac_exeext conftest.$ac_ext
29287 LIBS=$ac_check_lib_save_LIBS
29289 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29290 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29291 if test $ac_cv_lib_m_csqrt = yes; then
29293 cat >>confdefs.h <<\_ACEOF
29294 #define HAVE_CSQRT 1
29299 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29300 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29301 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29302 echo $ECHO_N "(cached) $ECHO_C" >&6
29304 ac_check_lib_save_LIBS=$LIBS
29306 if test x$gcc_no_link = xyes; then
29307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29309 { (exit 1); exit 1; }; }
29311 cat >conftest.$ac_ext <<_ACEOF
29314 cat confdefs.h >>conftest.$ac_ext
29315 cat >>conftest.$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29318 /* Override any gcc2 internal prototype to avoid an error. */
29322 /* We use char because int might match the return type of a gcc2
29323 builtin and then its argument prototype would still apply. */
29333 rm -f conftest.$ac_objext conftest$ac_exeext
29334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29335 (eval $ac_link) 2>conftest.er1
29337 grep -v '^ *+' conftest.er1 >conftest.err
29339 cat conftest.err >&5
29340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29341 (exit $ac_status); } &&
29342 { ac_try='test -z "$ac_c_werror_flag"
29343 || test ! -s conftest.err'
29344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29345 (eval $ac_try) 2>&5
29347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29348 (exit $ac_status); }; } &&
29349 { ac_try='test -s conftest$ac_exeext'
29350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29351 (eval $ac_try) 2>&5
29353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29354 (exit $ac_status); }; }; then
29355 ac_cv_lib_m_csqrtl=yes
29357 echo "$as_me: failed program was:" >&5
29358 sed 's/^/| /' conftest.$ac_ext >&5
29360 ac_cv_lib_m_csqrtl=no
29362 rm -f conftest.err conftest.$ac_objext \
29363 conftest$ac_exeext conftest.$ac_ext
29364 LIBS=$ac_check_lib_save_LIBS
29366 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29367 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29368 if test $ac_cv_lib_m_csqrtl = yes; then
29370 cat >>confdefs.h <<\_ACEOF
29371 #define HAVE_CSQRTL 1
29376 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29377 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29378 if test "${ac_cv_lib_m_tanf+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29381 ac_check_lib_save_LIBS=$LIBS
29383 if test x$gcc_no_link = xyes; then
29384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29386 { (exit 1); exit 1; }; }
29388 cat >conftest.$ac_ext <<_ACEOF
29391 cat confdefs.h >>conftest.$ac_ext
29392 cat >>conftest.$ac_ext <<_ACEOF
29393 /* end confdefs.h. */
29395 /* Override any gcc2 internal prototype to avoid an error. */
29399 /* We use char because int might match the return type of a gcc2
29400 builtin and then its argument prototype would still apply. */
29410 rm -f conftest.$ac_objext conftest$ac_exeext
29411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29412 (eval $ac_link) 2>conftest.er1
29414 grep -v '^ *+' conftest.er1 >conftest.err
29416 cat conftest.err >&5
29417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29418 (exit $ac_status); } &&
29419 { ac_try='test -z "$ac_c_werror_flag"
29420 || test ! -s conftest.err'
29421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29422 (eval $ac_try) 2>&5
29424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29425 (exit $ac_status); }; } &&
29426 { ac_try='test -s conftest$ac_exeext'
29427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29428 (eval $ac_try) 2>&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); }; }; then
29432 ac_cv_lib_m_tanf=yes
29434 echo "$as_me: failed program was:" >&5
29435 sed 's/^/| /' conftest.$ac_ext >&5
29437 ac_cv_lib_m_tanf=no
29439 rm -f conftest.err conftest.$ac_objext \
29440 conftest$ac_exeext conftest.$ac_ext
29441 LIBS=$ac_check_lib_save_LIBS
29443 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29444 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29445 if test $ac_cv_lib_m_tanf = yes; then
29447 cat >>confdefs.h <<\_ACEOF
29448 #define HAVE_TANF 1
29453 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29454 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29455 if test "${ac_cv_lib_m_tan+set}" = set; then
29456 echo $ECHO_N "(cached) $ECHO_C" >&6
29458 ac_check_lib_save_LIBS=$LIBS
29460 if test x$gcc_no_link = xyes; then
29461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29463 { (exit 1); exit 1; }; }
29465 cat >conftest.$ac_ext <<_ACEOF
29468 cat confdefs.h >>conftest.$ac_ext
29469 cat >>conftest.$ac_ext <<_ACEOF
29470 /* end confdefs.h. */
29472 /* Override any gcc2 internal prototype to avoid an error. */
29476 /* We use char because int might match the return type of a gcc2
29477 builtin and then its argument prototype would still apply. */
29487 rm -f conftest.$ac_objext conftest$ac_exeext
29488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29489 (eval $ac_link) 2>conftest.er1
29491 grep -v '^ *+' conftest.er1 >conftest.err
29493 cat conftest.err >&5
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); } &&
29496 { ac_try='test -z "$ac_c_werror_flag"
29497 || test ! -s conftest.err'
29498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29499 (eval $ac_try) 2>&5
29501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29502 (exit $ac_status); }; } &&
29503 { ac_try='test -s conftest$ac_exeext'
29504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29505 (eval $ac_try) 2>&5
29507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29508 (exit $ac_status); }; }; then
29509 ac_cv_lib_m_tan=yes
29511 echo "$as_me: failed program was:" >&5
29512 sed 's/^/| /' conftest.$ac_ext >&5
29516 rm -f conftest.err conftest.$ac_objext \
29517 conftest$ac_exeext conftest.$ac_ext
29518 LIBS=$ac_check_lib_save_LIBS
29520 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29521 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29522 if test $ac_cv_lib_m_tan = yes; then
29524 cat >>confdefs.h <<\_ACEOF
29530 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29531 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29532 if test "${ac_cv_lib_m_tanl+set}" = set; then
29533 echo $ECHO_N "(cached) $ECHO_C" >&6
29535 ac_check_lib_save_LIBS=$LIBS
29537 if test x$gcc_no_link = xyes; then
29538 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29539 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29540 { (exit 1); exit 1; }; }
29542 cat >conftest.$ac_ext <<_ACEOF
29545 cat confdefs.h >>conftest.$ac_ext
29546 cat >>conftest.$ac_ext <<_ACEOF
29547 /* end confdefs.h. */
29549 /* Override any gcc2 internal prototype to avoid an error. */
29553 /* We use char because int might match the return type of a gcc2
29554 builtin and then its argument prototype would still apply. */
29564 rm -f conftest.$ac_objext conftest$ac_exeext
29565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29566 (eval $ac_link) 2>conftest.er1
29568 grep -v '^ *+' conftest.er1 >conftest.err
29570 cat conftest.err >&5
29571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29572 (exit $ac_status); } &&
29573 { ac_try='test -z "$ac_c_werror_flag"
29574 || test ! -s conftest.err'
29575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29576 (eval $ac_try) 2>&5
29578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29579 (exit $ac_status); }; } &&
29580 { ac_try='test -s conftest$ac_exeext'
29581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29582 (eval $ac_try) 2>&5
29584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29585 (exit $ac_status); }; }; then
29586 ac_cv_lib_m_tanl=yes
29588 echo "$as_me: failed program was:" >&5
29589 sed 's/^/| /' conftest.$ac_ext >&5
29591 ac_cv_lib_m_tanl=no
29593 rm -f conftest.err conftest.$ac_objext \
29594 conftest$ac_exeext conftest.$ac_ext
29595 LIBS=$ac_check_lib_save_LIBS
29597 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29598 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29599 if test $ac_cv_lib_m_tanl = yes; then
29601 cat >>confdefs.h <<\_ACEOF
29602 #define HAVE_TANL 1
29607 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29608 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29609 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29612 ac_check_lib_save_LIBS=$LIBS
29614 if test x$gcc_no_link = xyes; then
29615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29617 { (exit 1); exit 1; }; }
29619 cat >conftest.$ac_ext <<_ACEOF
29622 cat confdefs.h >>conftest.$ac_ext
29623 cat >>conftest.$ac_ext <<_ACEOF
29624 /* end confdefs.h. */
29626 /* Override any gcc2 internal prototype to avoid an error. */
29630 /* We use char because int might match the return type of a gcc2
29631 builtin and then its argument prototype would still apply. */
29641 rm -f conftest.$ac_objext conftest$ac_exeext
29642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29643 (eval $ac_link) 2>conftest.er1
29645 grep -v '^ *+' conftest.er1 >conftest.err
29647 cat conftest.err >&5
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); } &&
29650 { ac_try='test -z "$ac_c_werror_flag"
29651 || test ! -s conftest.err'
29652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29653 (eval $ac_try) 2>&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); }; } &&
29657 { ac_try='test -s conftest$ac_exeext'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; }; then
29663 ac_cv_lib_m_ctanf=yes
29665 echo "$as_me: failed program was:" >&5
29666 sed 's/^/| /' conftest.$ac_ext >&5
29668 ac_cv_lib_m_ctanf=no
29670 rm -f conftest.err conftest.$ac_objext \
29671 conftest$ac_exeext conftest.$ac_ext
29672 LIBS=$ac_check_lib_save_LIBS
29674 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29675 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29676 if test $ac_cv_lib_m_ctanf = yes; then
29678 cat >>confdefs.h <<\_ACEOF
29679 #define HAVE_CTANF 1
29684 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29685 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29686 if test "${ac_cv_lib_m_ctan+set}" = set; then
29687 echo $ECHO_N "(cached) $ECHO_C" >&6
29689 ac_check_lib_save_LIBS=$LIBS
29691 if test x$gcc_no_link = xyes; then
29692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29694 { (exit 1); exit 1; }; }
29696 cat >conftest.$ac_ext <<_ACEOF
29699 cat confdefs.h >>conftest.$ac_ext
29700 cat >>conftest.$ac_ext <<_ACEOF
29701 /* end confdefs.h. */
29703 /* Override any gcc2 internal prototype to avoid an error. */
29707 /* We use char because int might match the return type of a gcc2
29708 builtin and then its argument prototype would still apply. */
29718 rm -f conftest.$ac_objext conftest$ac_exeext
29719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29720 (eval $ac_link) 2>conftest.er1
29722 grep -v '^ *+' conftest.er1 >conftest.err
29724 cat conftest.err >&5
29725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29726 (exit $ac_status); } &&
29727 { ac_try='test -z "$ac_c_werror_flag"
29728 || test ! -s conftest.err'
29729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29730 (eval $ac_try) 2>&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); }; } &&
29734 { ac_try='test -s conftest$ac_exeext'
29735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29736 (eval $ac_try) 2>&5
29738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29739 (exit $ac_status); }; }; then
29740 ac_cv_lib_m_ctan=yes
29742 echo "$as_me: failed program was:" >&5
29743 sed 's/^/| /' conftest.$ac_ext >&5
29745 ac_cv_lib_m_ctan=no
29747 rm -f conftest.err conftest.$ac_objext \
29748 conftest$ac_exeext conftest.$ac_ext
29749 LIBS=$ac_check_lib_save_LIBS
29751 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29752 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29753 if test $ac_cv_lib_m_ctan = yes; then
29755 cat >>confdefs.h <<\_ACEOF
29756 #define HAVE_CTAN 1
29761 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29762 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29763 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29764 echo $ECHO_N "(cached) $ECHO_C" >&6
29766 ac_check_lib_save_LIBS=$LIBS
29768 if test x$gcc_no_link = xyes; then
29769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29771 { (exit 1); exit 1; }; }
29773 cat >conftest.$ac_ext <<_ACEOF
29776 cat confdefs.h >>conftest.$ac_ext
29777 cat >>conftest.$ac_ext <<_ACEOF
29778 /* end confdefs.h. */
29780 /* Override any gcc2 internal prototype to avoid an error. */
29784 /* We use char because int might match the return type of a gcc2
29785 builtin and then its argument prototype would still apply. */
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29797 (eval $ac_link) 2>conftest.er1
29799 grep -v '^ *+' conftest.er1 >conftest.err
29801 cat conftest.err >&5
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); } &&
29804 { ac_try='test -z "$ac_c_werror_flag"
29805 || test ! -s conftest.err'
29806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29807 (eval $ac_try) 2>&5
29809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29810 (exit $ac_status); }; } &&
29811 { ac_try='test -s conftest$ac_exeext'
29812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29813 (eval $ac_try) 2>&5
29815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29816 (exit $ac_status); }; }; then
29817 ac_cv_lib_m_ctanl=yes
29819 echo "$as_me: failed program was:" >&5
29820 sed 's/^/| /' conftest.$ac_ext >&5
29822 ac_cv_lib_m_ctanl=no
29824 rm -f conftest.err conftest.$ac_objext \
29825 conftest$ac_exeext conftest.$ac_ext
29826 LIBS=$ac_check_lib_save_LIBS
29828 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29829 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29830 if test $ac_cv_lib_m_ctanl = yes; then
29832 cat >>confdefs.h <<\_ACEOF
29833 #define HAVE_CTANL 1
29838 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29839 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29840 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29841 echo $ECHO_N "(cached) $ECHO_C" >&6
29843 ac_check_lib_save_LIBS=$LIBS
29845 if test x$gcc_no_link = xyes; then
29846 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29847 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29848 { (exit 1); exit 1; }; }
29850 cat >conftest.$ac_ext <<_ACEOF
29853 cat confdefs.h >>conftest.$ac_ext
29854 cat >>conftest.$ac_ext <<_ACEOF
29855 /* end confdefs.h. */
29857 /* Override any gcc2 internal prototype to avoid an error. */
29861 /* We use char because int might match the return type of a gcc2
29862 builtin and then its argument prototype would still apply. */
29872 rm -f conftest.$ac_objext conftest$ac_exeext
29873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29874 (eval $ac_link) 2>conftest.er1
29876 grep -v '^ *+' conftest.er1 >conftest.err
29878 cat conftest.err >&5
29879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29880 (exit $ac_status); } &&
29881 { ac_try='test -z "$ac_c_werror_flag"
29882 || test ! -s conftest.err'
29883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29884 (eval $ac_try) 2>&5
29886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29887 (exit $ac_status); }; } &&
29888 { ac_try='test -s conftest$ac_exeext'
29889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29890 (eval $ac_try) 2>&5
29892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29893 (exit $ac_status); }; }; then
29894 ac_cv_lib_m_tanhf=yes
29896 echo "$as_me: failed program was:" >&5
29897 sed 's/^/| /' conftest.$ac_ext >&5
29899 ac_cv_lib_m_tanhf=no
29901 rm -f conftest.err conftest.$ac_objext \
29902 conftest$ac_exeext conftest.$ac_ext
29903 LIBS=$ac_check_lib_save_LIBS
29905 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29906 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29907 if test $ac_cv_lib_m_tanhf = yes; then
29909 cat >>confdefs.h <<\_ACEOF
29910 #define HAVE_TANHF 1
29915 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29916 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29917 if test "${ac_cv_lib_m_tanh+set}" = set; then
29918 echo $ECHO_N "(cached) $ECHO_C" >&6
29920 ac_check_lib_save_LIBS=$LIBS
29922 if test x$gcc_no_link = xyes; then
29923 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29925 { (exit 1); exit 1; }; }
29927 cat >conftest.$ac_ext <<_ACEOF
29930 cat confdefs.h >>conftest.$ac_ext
29931 cat >>conftest.$ac_ext <<_ACEOF
29932 /* end confdefs.h. */
29934 /* Override any gcc2 internal prototype to avoid an error. */
29938 /* We use char because int might match the return type of a gcc2
29939 builtin and then its argument prototype would still apply. */
29949 rm -f conftest.$ac_objext conftest$ac_exeext
29950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29951 (eval $ac_link) 2>conftest.er1
29953 grep -v '^ *+' conftest.er1 >conftest.err
29955 cat conftest.err >&5
29956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29957 (exit $ac_status); } &&
29958 { ac_try='test -z "$ac_c_werror_flag"
29959 || test ! -s conftest.err'
29960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29961 (eval $ac_try) 2>&5
29963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29964 (exit $ac_status); }; } &&
29965 { ac_try='test -s conftest$ac_exeext'
29966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29967 (eval $ac_try) 2>&5
29969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29970 (exit $ac_status); }; }; then
29971 ac_cv_lib_m_tanh=yes
29973 echo "$as_me: failed program was:" >&5
29974 sed 's/^/| /' conftest.$ac_ext >&5
29976 ac_cv_lib_m_tanh=no
29978 rm -f conftest.err conftest.$ac_objext \
29979 conftest$ac_exeext conftest.$ac_ext
29980 LIBS=$ac_check_lib_save_LIBS
29982 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29983 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29984 if test $ac_cv_lib_m_tanh = yes; then
29986 cat >>confdefs.h <<\_ACEOF
29987 #define HAVE_TANH 1
29992 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29993 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29994 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29995 echo $ECHO_N "(cached) $ECHO_C" >&6
29997 ac_check_lib_save_LIBS=$LIBS
29999 if test x$gcc_no_link = xyes; then
30000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30002 { (exit 1); exit 1; }; }
30004 cat >conftest.$ac_ext <<_ACEOF
30007 cat confdefs.h >>conftest.$ac_ext
30008 cat >>conftest.$ac_ext <<_ACEOF
30009 /* end confdefs.h. */
30011 /* Override any gcc2 internal prototype to avoid an error. */
30015 /* We use char because int might match the return type of a gcc2
30016 builtin and then its argument prototype would still apply. */
30026 rm -f conftest.$ac_objext conftest$ac_exeext
30027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30028 (eval $ac_link) 2>conftest.er1
30030 grep -v '^ *+' conftest.er1 >conftest.err
30032 cat conftest.err >&5
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); } &&
30035 { ac_try='test -z "$ac_c_werror_flag"
30036 || test ! -s conftest.err'
30037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30038 (eval $ac_try) 2>&5
30040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30041 (exit $ac_status); }; } &&
30042 { ac_try='test -s conftest$ac_exeext'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; }; then
30048 ac_cv_lib_m_tanhl=yes
30050 echo "$as_me: failed program was:" >&5
30051 sed 's/^/| /' conftest.$ac_ext >&5
30053 ac_cv_lib_m_tanhl=no
30055 rm -f conftest.err conftest.$ac_objext \
30056 conftest$ac_exeext conftest.$ac_ext
30057 LIBS=$ac_check_lib_save_LIBS
30059 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
30060 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
30061 if test $ac_cv_lib_m_tanhl = yes; then
30063 cat >>confdefs.h <<\_ACEOF
30064 #define HAVE_TANHL 1
30069 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
30070 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
30071 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
30072 echo $ECHO_N "(cached) $ECHO_C" >&6
30074 ac_check_lib_save_LIBS=$LIBS
30076 if test x$gcc_no_link = xyes; then
30077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30079 { (exit 1); exit 1; }; }
30081 cat >conftest.$ac_ext <<_ACEOF
30084 cat confdefs.h >>conftest.$ac_ext
30085 cat >>conftest.$ac_ext <<_ACEOF
30086 /* end confdefs.h. */
30088 /* Override any gcc2 internal prototype to avoid an error. */
30092 /* We use char because int might match the return type of a gcc2
30093 builtin and then its argument prototype would still apply. */
30103 rm -f conftest.$ac_objext conftest$ac_exeext
30104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30105 (eval $ac_link) 2>conftest.er1
30107 grep -v '^ *+' conftest.er1 >conftest.err
30109 cat conftest.err >&5
30110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30111 (exit $ac_status); } &&
30112 { ac_try='test -z "$ac_c_werror_flag"
30113 || test ! -s conftest.err'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; } &&
30119 { ac_try='test -s conftest$ac_exeext'
30120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30121 (eval $ac_try) 2>&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); }; }; then
30125 ac_cv_lib_m_ctanhf=yes
30127 echo "$as_me: failed program was:" >&5
30128 sed 's/^/| /' conftest.$ac_ext >&5
30130 ac_cv_lib_m_ctanhf=no
30132 rm -f conftest.err conftest.$ac_objext \
30133 conftest$ac_exeext conftest.$ac_ext
30134 LIBS=$ac_check_lib_save_LIBS
30136 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30137 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30138 if test $ac_cv_lib_m_ctanhf = yes; then
30140 cat >>confdefs.h <<\_ACEOF
30141 #define HAVE_CTANHF 1
30146 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30147 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30148 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30149 echo $ECHO_N "(cached) $ECHO_C" >&6
30151 ac_check_lib_save_LIBS=$LIBS
30153 if test x$gcc_no_link = xyes; then
30154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30156 { (exit 1); exit 1; }; }
30158 cat >conftest.$ac_ext <<_ACEOF
30161 cat confdefs.h >>conftest.$ac_ext
30162 cat >>conftest.$ac_ext <<_ACEOF
30163 /* end confdefs.h. */
30165 /* Override any gcc2 internal prototype to avoid an error. */
30169 /* We use char because int might match the return type of a gcc2
30170 builtin and then its argument prototype would still apply. */
30180 rm -f conftest.$ac_objext conftest$ac_exeext
30181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30182 (eval $ac_link) 2>conftest.er1
30184 grep -v '^ *+' conftest.er1 >conftest.err
30186 cat conftest.err >&5
30187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30188 (exit $ac_status); } &&
30189 { ac_try='test -z "$ac_c_werror_flag"
30190 || test ! -s conftest.err'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; } &&
30196 { ac_try='test -s conftest$ac_exeext'
30197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30198 (eval $ac_try) 2>&5
30200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30201 (exit $ac_status); }; }; then
30202 ac_cv_lib_m_ctanh=yes
30204 echo "$as_me: failed program was:" >&5
30205 sed 's/^/| /' conftest.$ac_ext >&5
30207 ac_cv_lib_m_ctanh=no
30209 rm -f conftest.err conftest.$ac_objext \
30210 conftest$ac_exeext conftest.$ac_ext
30211 LIBS=$ac_check_lib_save_LIBS
30213 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30214 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30215 if test $ac_cv_lib_m_ctanh = yes; then
30217 cat >>confdefs.h <<\_ACEOF
30218 #define HAVE_CTANH 1
30223 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30224 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30225 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30226 echo $ECHO_N "(cached) $ECHO_C" >&6
30228 ac_check_lib_save_LIBS=$LIBS
30230 if test x$gcc_no_link = xyes; then
30231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30233 { (exit 1); exit 1; }; }
30235 cat >conftest.$ac_ext <<_ACEOF
30238 cat confdefs.h >>conftest.$ac_ext
30239 cat >>conftest.$ac_ext <<_ACEOF
30240 /* end confdefs.h. */
30242 /* Override any gcc2 internal prototype to avoid an error. */
30246 /* We use char because int might match the return type of a gcc2
30247 builtin and then its argument prototype would still apply. */
30257 rm -f conftest.$ac_objext conftest$ac_exeext
30258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30259 (eval $ac_link) 2>conftest.er1
30261 grep -v '^ *+' conftest.er1 >conftest.err
30263 cat conftest.err >&5
30264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30265 (exit $ac_status); } &&
30266 { ac_try='test -z "$ac_c_werror_flag"
30267 || test ! -s conftest.err'
30268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30269 (eval $ac_try) 2>&5
30271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30272 (exit $ac_status); }; } &&
30273 { ac_try='test -s conftest$ac_exeext'
30274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30275 (eval $ac_try) 2>&5
30277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30278 (exit $ac_status); }; }; then
30279 ac_cv_lib_m_ctanhl=yes
30281 echo "$as_me: failed program was:" >&5
30282 sed 's/^/| /' conftest.$ac_ext >&5
30284 ac_cv_lib_m_ctanhl=no
30286 rm -f conftest.err conftest.$ac_objext \
30287 conftest$ac_exeext conftest.$ac_ext
30288 LIBS=$ac_check_lib_save_LIBS
30290 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30291 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30292 if test $ac_cv_lib_m_ctanhl = yes; then
30294 cat >>confdefs.h <<\_ACEOF
30295 #define HAVE_CTANHL 1
30300 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30301 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30302 if test "${ac_cv_lib_m_truncf+set}" = set; then
30303 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 ac_check_lib_save_LIBS=$LIBS
30307 if test x$gcc_no_link = xyes; then
30308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30310 { (exit 1); exit 1; }; }
30312 cat >conftest.$ac_ext <<_ACEOF
30315 cat confdefs.h >>conftest.$ac_ext
30316 cat >>conftest.$ac_ext <<_ACEOF
30317 /* end confdefs.h. */
30319 /* Override any gcc2 internal prototype to avoid an error. */
30323 /* We use char because int might match the return type of a gcc2
30324 builtin and then its argument prototype would still apply. */
30334 rm -f conftest.$ac_objext conftest$ac_exeext
30335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30336 (eval $ac_link) 2>conftest.er1
30338 grep -v '^ *+' conftest.er1 >conftest.err
30340 cat conftest.err >&5
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); } &&
30343 { ac_try='test -z "$ac_c_werror_flag"
30344 || test ! -s conftest.err'
30345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30346 (eval $ac_try) 2>&5
30348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30349 (exit $ac_status); }; } &&
30350 { ac_try='test -s conftest$ac_exeext'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; }; then
30356 ac_cv_lib_m_truncf=yes
30358 echo "$as_me: failed program was:" >&5
30359 sed 's/^/| /' conftest.$ac_ext >&5
30361 ac_cv_lib_m_truncf=no
30363 rm -f conftest.err conftest.$ac_objext \
30364 conftest$ac_exeext conftest.$ac_ext
30365 LIBS=$ac_check_lib_save_LIBS
30367 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30368 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30369 if test $ac_cv_lib_m_truncf = yes; then
30371 cat >>confdefs.h <<\_ACEOF
30372 #define HAVE_TRUNCF 1
30377 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30378 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30379 if test "${ac_cv_lib_m_trunc+set}" = set; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30382 ac_check_lib_save_LIBS=$LIBS
30384 if test x$gcc_no_link = xyes; then
30385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30387 { (exit 1); exit 1; }; }
30389 cat >conftest.$ac_ext <<_ACEOF
30392 cat confdefs.h >>conftest.$ac_ext
30393 cat >>conftest.$ac_ext <<_ACEOF
30394 /* end confdefs.h. */
30396 /* Override any gcc2 internal prototype to avoid an error. */
30400 /* We use char because int might match the return type of a gcc2
30401 builtin and then its argument prototype would still apply. */
30411 rm -f conftest.$ac_objext conftest$ac_exeext
30412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30413 (eval $ac_link) 2>conftest.er1
30415 grep -v '^ *+' conftest.er1 >conftest.err
30417 cat conftest.err >&5
30418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30419 (exit $ac_status); } &&
30420 { ac_try='test -z "$ac_c_werror_flag"
30421 || test ! -s conftest.err'
30422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30423 (eval $ac_try) 2>&5
30425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30426 (exit $ac_status); }; } &&
30427 { ac_try='test -s conftest$ac_exeext'
30428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30429 (eval $ac_try) 2>&5
30431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30432 (exit $ac_status); }; }; then
30433 ac_cv_lib_m_trunc=yes
30435 echo "$as_me: failed program was:" >&5
30436 sed 's/^/| /' conftest.$ac_ext >&5
30438 ac_cv_lib_m_trunc=no
30440 rm -f conftest.err conftest.$ac_objext \
30441 conftest$ac_exeext conftest.$ac_ext
30442 LIBS=$ac_check_lib_save_LIBS
30444 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30445 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30446 if test $ac_cv_lib_m_trunc = yes; then
30448 cat >>confdefs.h <<\_ACEOF
30449 #define HAVE_TRUNC 1
30454 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30455 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30456 if test "${ac_cv_lib_m_truncl+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30459 ac_check_lib_save_LIBS=$LIBS
30461 if test x$gcc_no_link = xyes; then
30462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30464 { (exit 1); exit 1; }; }
30466 cat >conftest.$ac_ext <<_ACEOF
30469 cat confdefs.h >>conftest.$ac_ext
30470 cat >>conftest.$ac_ext <<_ACEOF
30471 /* end confdefs.h. */
30473 /* Override any gcc2 internal prototype to avoid an error. */
30477 /* We use char because int might match the return type of a gcc2
30478 builtin and then its argument prototype would still apply. */
30488 rm -f conftest.$ac_objext conftest$ac_exeext
30489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30490 (eval $ac_link) 2>conftest.er1
30492 grep -v '^ *+' conftest.er1 >conftest.err
30494 cat conftest.err >&5
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); } &&
30497 { ac_try='test -z "$ac_c_werror_flag"
30498 || test ! -s conftest.err'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; } &&
30504 { ac_try='test -s conftest$ac_exeext'
30505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30506 (eval $ac_try) 2>&5
30508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30509 (exit $ac_status); }; }; then
30510 ac_cv_lib_m_truncl=yes
30512 echo "$as_me: failed program was:" >&5
30513 sed 's/^/| /' conftest.$ac_ext >&5
30515 ac_cv_lib_m_truncl=no
30517 rm -f conftest.err conftest.$ac_objext \
30518 conftest$ac_exeext conftest.$ac_ext
30519 LIBS=$ac_check_lib_save_LIBS
30521 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30522 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30523 if test $ac_cv_lib_m_truncl = yes; then
30525 cat >>confdefs.h <<\_ACEOF
30526 #define HAVE_TRUNCL 1
30531 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30532 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30533 if test "${ac_cv_lib_m_erff+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30536 ac_check_lib_save_LIBS=$LIBS
30538 if test x$gcc_no_link = xyes; then
30539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30541 { (exit 1); exit 1; }; }
30543 cat >conftest.$ac_ext <<_ACEOF
30546 cat confdefs.h >>conftest.$ac_ext
30547 cat >>conftest.$ac_ext <<_ACEOF
30548 /* end confdefs.h. */
30550 /* Override any gcc2 internal prototype to avoid an error. */
30554 /* We use char because int might match the return type of a gcc2
30555 builtin and then its argument prototype would still apply. */
30565 rm -f conftest.$ac_objext conftest$ac_exeext
30566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30567 (eval $ac_link) 2>conftest.er1
30569 grep -v '^ *+' conftest.er1 >conftest.err
30571 cat conftest.err >&5
30572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30573 (exit $ac_status); } &&
30574 { ac_try='test -z "$ac_c_werror_flag"
30575 || test ! -s conftest.err'
30576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30577 (eval $ac_try) 2>&5
30579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30580 (exit $ac_status); }; } &&
30581 { ac_try='test -s conftest$ac_exeext'
30582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30583 (eval $ac_try) 2>&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); }; }; then
30587 ac_cv_lib_m_erff=yes
30589 echo "$as_me: failed program was:" >&5
30590 sed 's/^/| /' conftest.$ac_ext >&5
30592 ac_cv_lib_m_erff=no
30594 rm -f conftest.err conftest.$ac_objext \
30595 conftest$ac_exeext conftest.$ac_ext
30596 LIBS=$ac_check_lib_save_LIBS
30598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30599 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30600 if test $ac_cv_lib_m_erff = yes; then
30602 cat >>confdefs.h <<\_ACEOF
30603 #define HAVE_ERFF 1
30608 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30609 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30610 if test "${ac_cv_lib_m_erf+set}" = set; then
30611 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 ac_check_lib_save_LIBS=$LIBS
30615 if test x$gcc_no_link = xyes; then
30616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30618 { (exit 1); exit 1; }; }
30620 cat >conftest.$ac_ext <<_ACEOF
30623 cat confdefs.h >>conftest.$ac_ext
30624 cat >>conftest.$ac_ext <<_ACEOF
30625 /* end confdefs.h. */
30627 /* Override any gcc2 internal prototype to avoid an error. */
30631 /* We use char because int might match the return type of a gcc2
30632 builtin and then its argument prototype would still apply. */
30642 rm -f conftest.$ac_objext conftest$ac_exeext
30643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644 (eval $ac_link) 2>conftest.er1
30646 grep -v '^ *+' conftest.er1 >conftest.err
30648 cat conftest.err >&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } &&
30651 { ac_try='test -z "$ac_c_werror_flag"
30652 || test ! -s conftest.err'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; } &&
30658 { ac_try='test -s conftest$ac_exeext'
30659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660 (eval $ac_try) 2>&5
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); }; }; then
30664 ac_cv_lib_m_erf=yes
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30671 rm -f conftest.err conftest.$ac_objext \
30672 conftest$ac_exeext conftest.$ac_ext
30673 LIBS=$ac_check_lib_save_LIBS
30675 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30676 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30677 if test $ac_cv_lib_m_erf = yes; then
30679 cat >>confdefs.h <<\_ACEOF
30685 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30686 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30687 if test "${ac_cv_lib_m_erfl+set}" = set; then
30688 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 ac_check_lib_save_LIBS=$LIBS
30692 if test x$gcc_no_link = xyes; then
30693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30695 { (exit 1); exit 1; }; }
30697 cat >conftest.$ac_ext <<_ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30704 /* Override any gcc2 internal prototype to avoid an error. */
30708 /* We use char because int might match the return type of a gcc2
30709 builtin and then its argument prototype would still apply. */
30719 rm -f conftest.$ac_objext conftest$ac_exeext
30720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30721 (eval $ac_link) 2>conftest.er1
30723 grep -v '^ *+' conftest.er1 >conftest.err
30725 cat conftest.err >&5
30726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30727 (exit $ac_status); } &&
30728 { ac_try='test -z "$ac_c_werror_flag"
30729 || test ! -s conftest.err'
30730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30731 (eval $ac_try) 2>&5
30733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30734 (exit $ac_status); }; } &&
30735 { ac_try='test -s conftest$ac_exeext'
30736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30737 (eval $ac_try) 2>&5
30739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30740 (exit $ac_status); }; }; then
30741 ac_cv_lib_m_erfl=yes
30743 echo "$as_me: failed program was:" >&5
30744 sed 's/^/| /' conftest.$ac_ext >&5
30746 ac_cv_lib_m_erfl=no
30748 rm -f conftest.err conftest.$ac_objext \
30749 conftest$ac_exeext conftest.$ac_ext
30750 LIBS=$ac_check_lib_save_LIBS
30752 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30753 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30754 if test $ac_cv_lib_m_erfl = yes; then
30756 cat >>confdefs.h <<\_ACEOF
30757 #define HAVE_ERFL 1
30762 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30763 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30764 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30765 echo $ECHO_N "(cached) $ECHO_C" >&6
30767 ac_check_lib_save_LIBS=$LIBS
30769 if test x$gcc_no_link = xyes; then
30770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30772 { (exit 1); exit 1; }; }
30774 cat >conftest.$ac_ext <<_ACEOF
30777 cat confdefs.h >>conftest.$ac_ext
30778 cat >>conftest.$ac_ext <<_ACEOF
30779 /* end confdefs.h. */
30781 /* Override any gcc2 internal prototype to avoid an error. */
30785 /* We use char because int might match the return type of a gcc2
30786 builtin and then its argument prototype would still apply. */
30796 rm -f conftest.$ac_objext conftest$ac_exeext
30797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30798 (eval $ac_link) 2>conftest.er1
30800 grep -v '^ *+' conftest.er1 >conftest.err
30802 cat conftest.err >&5
30803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30804 (exit $ac_status); } &&
30805 { ac_try='test -z "$ac_c_werror_flag"
30806 || test ! -s conftest.err'
30807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30808 (eval $ac_try) 2>&5
30810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30811 (exit $ac_status); }; } &&
30812 { ac_try='test -s conftest$ac_exeext'
30813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30814 (eval $ac_try) 2>&5
30816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30817 (exit $ac_status); }; }; then
30818 ac_cv_lib_m_erfcf=yes
30820 echo "$as_me: failed program was:" >&5
30821 sed 's/^/| /' conftest.$ac_ext >&5
30823 ac_cv_lib_m_erfcf=no
30825 rm -f conftest.err conftest.$ac_objext \
30826 conftest$ac_exeext conftest.$ac_ext
30827 LIBS=$ac_check_lib_save_LIBS
30829 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30830 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30831 if test $ac_cv_lib_m_erfcf = yes; then
30833 cat >>confdefs.h <<\_ACEOF
30834 #define HAVE_ERFCF 1
30839 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30840 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30841 if test "${ac_cv_lib_m_erfc+set}" = set; then
30842 echo $ECHO_N "(cached) $ECHO_C" >&6
30844 ac_check_lib_save_LIBS=$LIBS
30846 if test x$gcc_no_link = xyes; then
30847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30849 { (exit 1); exit 1; }; }
30851 cat >conftest.$ac_ext <<_ACEOF
30854 cat confdefs.h >>conftest.$ac_ext
30855 cat >>conftest.$ac_ext <<_ACEOF
30856 /* end confdefs.h. */
30858 /* Override any gcc2 internal prototype to avoid an error. */
30862 /* We use char because int might match the return type of a gcc2
30863 builtin and then its argument prototype would still apply. */
30873 rm -f conftest.$ac_objext conftest$ac_exeext
30874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30875 (eval $ac_link) 2>conftest.er1
30877 grep -v '^ *+' conftest.er1 >conftest.err
30879 cat conftest.err >&5
30880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30881 (exit $ac_status); } &&
30882 { ac_try='test -z "$ac_c_werror_flag"
30883 || test ! -s conftest.err'
30884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30885 (eval $ac_try) 2>&5
30887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30888 (exit $ac_status); }; } &&
30889 { ac_try='test -s conftest$ac_exeext'
30890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30891 (eval $ac_try) 2>&5
30893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30894 (exit $ac_status); }; }; then
30895 ac_cv_lib_m_erfc=yes
30897 echo "$as_me: failed program was:" >&5
30898 sed 's/^/| /' conftest.$ac_ext >&5
30900 ac_cv_lib_m_erfc=no
30902 rm -f conftest.err conftest.$ac_objext \
30903 conftest$ac_exeext conftest.$ac_ext
30904 LIBS=$ac_check_lib_save_LIBS
30906 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30907 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30908 if test $ac_cv_lib_m_erfc = yes; then
30910 cat >>confdefs.h <<\_ACEOF
30911 #define HAVE_ERFC 1
30916 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30917 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30918 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30919 echo $ECHO_N "(cached) $ECHO_C" >&6
30921 ac_check_lib_save_LIBS=$LIBS
30923 if test x$gcc_no_link = xyes; then
30924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30926 { (exit 1); exit 1; }; }
30928 cat >conftest.$ac_ext <<_ACEOF
30931 cat confdefs.h >>conftest.$ac_ext
30932 cat >>conftest.$ac_ext <<_ACEOF
30933 /* end confdefs.h. */
30935 /* Override any gcc2 internal prototype to avoid an error. */
30939 /* We use char because int might match the return type of a gcc2
30940 builtin and then its argument prototype would still apply. */
30950 rm -f conftest.$ac_objext conftest$ac_exeext
30951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30952 (eval $ac_link) 2>conftest.er1
30954 grep -v '^ *+' conftest.er1 >conftest.err
30956 cat conftest.err >&5
30957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30958 (exit $ac_status); } &&
30959 { ac_try='test -z "$ac_c_werror_flag"
30960 || test ! -s conftest.err'
30961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30962 (eval $ac_try) 2>&5
30964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30965 (exit $ac_status); }; } &&
30966 { ac_try='test -s conftest$ac_exeext'
30967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30968 (eval $ac_try) 2>&5
30970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30971 (exit $ac_status); }; }; then
30972 ac_cv_lib_m_erfcl=yes
30974 echo "$as_me: failed program was:" >&5
30975 sed 's/^/| /' conftest.$ac_ext >&5
30977 ac_cv_lib_m_erfcl=no
30979 rm -f conftest.err conftest.$ac_objext \
30980 conftest$ac_exeext conftest.$ac_ext
30981 LIBS=$ac_check_lib_save_LIBS
30983 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30984 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30985 if test $ac_cv_lib_m_erfcl = yes; then
30987 cat >>confdefs.h <<\_ACEOF
30988 #define HAVE_ERFCL 1
30993 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30994 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30995 if test "${ac_cv_lib_m_j0f+set}" = set; then
30996 echo $ECHO_N "(cached) $ECHO_C" >&6
30998 ac_check_lib_save_LIBS=$LIBS
31000 if test x$gcc_no_link = xyes; then
31001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31003 { (exit 1); exit 1; }; }
31005 cat >conftest.$ac_ext <<_ACEOF
31008 cat confdefs.h >>conftest.$ac_ext
31009 cat >>conftest.$ac_ext <<_ACEOF
31010 /* end confdefs.h. */
31012 /* Override any gcc2 internal prototype to avoid an error. */
31016 /* We use char because int might match the return type of a gcc2
31017 builtin and then its argument prototype would still apply. */
31027 rm -f conftest.$ac_objext conftest$ac_exeext
31028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31029 (eval $ac_link) 2>conftest.er1
31031 grep -v '^ *+' conftest.er1 >conftest.err
31033 cat conftest.err >&5
31034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31035 (exit $ac_status); } &&
31036 { ac_try='test -z "$ac_c_werror_flag"
31037 || test ! -s conftest.err'
31038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31039 (eval $ac_try) 2>&5
31041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31042 (exit $ac_status); }; } &&
31043 { ac_try='test -s conftest$ac_exeext'
31044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31045 (eval $ac_try) 2>&5
31047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31048 (exit $ac_status); }; }; then
31049 ac_cv_lib_m_j0f=yes
31051 echo "$as_me: failed program was:" >&5
31052 sed 's/^/| /' conftest.$ac_ext >&5
31056 rm -f conftest.err conftest.$ac_objext \
31057 conftest$ac_exeext conftest.$ac_ext
31058 LIBS=$ac_check_lib_save_LIBS
31060 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
31061 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
31062 if test $ac_cv_lib_m_j0f = yes; then
31064 cat >>confdefs.h <<\_ACEOF
31070 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
31071 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
31072 if test "${ac_cv_lib_m_j0+set}" = set; then
31073 echo $ECHO_N "(cached) $ECHO_C" >&6
31075 ac_check_lib_save_LIBS=$LIBS
31077 if test x$gcc_no_link = xyes; then
31078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31080 { (exit 1); exit 1; }; }
31082 cat >conftest.$ac_ext <<_ACEOF
31085 cat confdefs.h >>conftest.$ac_ext
31086 cat >>conftest.$ac_ext <<_ACEOF
31087 /* end confdefs.h. */
31089 /* Override any gcc2 internal prototype to avoid an error. */
31093 /* We use char because int might match the return type of a gcc2
31094 builtin and then its argument prototype would still apply. */
31104 rm -f conftest.$ac_objext conftest$ac_exeext
31105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31106 (eval $ac_link) 2>conftest.er1
31108 grep -v '^ *+' conftest.er1 >conftest.err
31110 cat conftest.err >&5
31111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31112 (exit $ac_status); } &&
31113 { ac_try='test -z "$ac_c_werror_flag"
31114 || test ! -s conftest.err'
31115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31116 (eval $ac_try) 2>&5
31118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31119 (exit $ac_status); }; } &&
31120 { ac_try='test -s conftest$ac_exeext'
31121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31122 (eval $ac_try) 2>&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); }; }; then
31128 echo "$as_me: failed program was:" >&5
31129 sed 's/^/| /' conftest.$ac_ext >&5
31133 rm -f conftest.err conftest.$ac_objext \
31134 conftest$ac_exeext conftest.$ac_ext
31135 LIBS=$ac_check_lib_save_LIBS
31137 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31138 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31139 if test $ac_cv_lib_m_j0 = yes; then
31141 cat >>confdefs.h <<\_ACEOF
31147 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31148 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31149 if test "${ac_cv_lib_m_j0l+set}" = set; then
31150 echo $ECHO_N "(cached) $ECHO_C" >&6
31152 ac_check_lib_save_LIBS=$LIBS
31154 if test x$gcc_no_link = xyes; then
31155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31157 { (exit 1); exit 1; }; }
31159 cat >conftest.$ac_ext <<_ACEOF
31162 cat confdefs.h >>conftest.$ac_ext
31163 cat >>conftest.$ac_ext <<_ACEOF
31164 /* end confdefs.h. */
31166 /* Override any gcc2 internal prototype to avoid an error. */
31170 /* We use char because int might match the return type of a gcc2
31171 builtin and then its argument prototype would still apply. */
31181 rm -f conftest.$ac_objext conftest$ac_exeext
31182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31183 (eval $ac_link) 2>conftest.er1
31185 grep -v '^ *+' conftest.er1 >conftest.err
31187 cat conftest.err >&5
31188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31189 (exit $ac_status); } &&
31190 { ac_try='test -z "$ac_c_werror_flag"
31191 || test ! -s conftest.err'
31192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31193 (eval $ac_try) 2>&5
31195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31196 (exit $ac_status); }; } &&
31197 { ac_try='test -s conftest$ac_exeext'
31198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31199 (eval $ac_try) 2>&5
31201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31202 (exit $ac_status); }; }; then
31203 ac_cv_lib_m_j0l=yes
31205 echo "$as_me: failed program was:" >&5
31206 sed 's/^/| /' conftest.$ac_ext >&5
31210 rm -f conftest.err conftest.$ac_objext \
31211 conftest$ac_exeext conftest.$ac_ext
31212 LIBS=$ac_check_lib_save_LIBS
31214 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31215 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31216 if test $ac_cv_lib_m_j0l = yes; then
31218 cat >>confdefs.h <<\_ACEOF
31224 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31225 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31226 if test "${ac_cv_lib_m_j1f+set}" = set; then
31227 echo $ECHO_N "(cached) $ECHO_C" >&6
31229 ac_check_lib_save_LIBS=$LIBS
31231 if test x$gcc_no_link = xyes; then
31232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31234 { (exit 1); exit 1; }; }
31236 cat >conftest.$ac_ext <<_ACEOF
31239 cat confdefs.h >>conftest.$ac_ext
31240 cat >>conftest.$ac_ext <<_ACEOF
31241 /* end confdefs.h. */
31243 /* Override any gcc2 internal prototype to avoid an error. */
31247 /* We use char because int might match the return type of a gcc2
31248 builtin and then its argument prototype would still apply. */
31258 rm -f conftest.$ac_objext conftest$ac_exeext
31259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31260 (eval $ac_link) 2>conftest.er1
31262 grep -v '^ *+' conftest.er1 >conftest.err
31264 cat conftest.err >&5
31265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31266 (exit $ac_status); } &&
31267 { ac_try='test -z "$ac_c_werror_flag"
31268 || test ! -s conftest.err'
31269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31270 (eval $ac_try) 2>&5
31272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31273 (exit $ac_status); }; } &&
31274 { ac_try='test -s conftest$ac_exeext'
31275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31276 (eval $ac_try) 2>&5
31278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31279 (exit $ac_status); }; }; then
31280 ac_cv_lib_m_j1f=yes
31282 echo "$as_me: failed program was:" >&5
31283 sed 's/^/| /' conftest.$ac_ext >&5
31287 rm -f conftest.err conftest.$ac_objext \
31288 conftest$ac_exeext conftest.$ac_ext
31289 LIBS=$ac_check_lib_save_LIBS
31291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31292 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31293 if test $ac_cv_lib_m_j1f = yes; then
31295 cat >>confdefs.h <<\_ACEOF
31301 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31302 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31303 if test "${ac_cv_lib_m_j1+set}" = set; then
31304 echo $ECHO_N "(cached) $ECHO_C" >&6
31306 ac_check_lib_save_LIBS=$LIBS
31308 if test x$gcc_no_link = xyes; then
31309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31311 { (exit 1); exit 1; }; }
31313 cat >conftest.$ac_ext <<_ACEOF
31316 cat confdefs.h >>conftest.$ac_ext
31317 cat >>conftest.$ac_ext <<_ACEOF
31318 /* end confdefs.h. */
31320 /* Override any gcc2 internal prototype to avoid an error. */
31324 /* We use char because int might match the return type of a gcc2
31325 builtin and then its argument prototype would still apply. */
31335 rm -f conftest.$ac_objext conftest$ac_exeext
31336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31337 (eval $ac_link) 2>conftest.er1
31339 grep -v '^ *+' conftest.er1 >conftest.err
31341 cat conftest.err >&5
31342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31343 (exit $ac_status); } &&
31344 { ac_try='test -z "$ac_c_werror_flag"
31345 || test ! -s conftest.err'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; } &&
31351 { ac_try='test -s conftest$ac_exeext'
31352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31353 (eval $ac_try) 2>&5
31355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31356 (exit $ac_status); }; }; then
31359 echo "$as_me: failed program was:" >&5
31360 sed 's/^/| /' conftest.$ac_ext >&5
31364 rm -f conftest.err conftest.$ac_objext \
31365 conftest$ac_exeext conftest.$ac_ext
31366 LIBS=$ac_check_lib_save_LIBS
31368 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31369 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31370 if test $ac_cv_lib_m_j1 = yes; then
31372 cat >>confdefs.h <<\_ACEOF
31378 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31379 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31380 if test "${ac_cv_lib_m_j1l+set}" = set; then
31381 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 ac_check_lib_save_LIBS=$LIBS
31385 if test x$gcc_no_link = xyes; then
31386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31388 { (exit 1); exit 1; }; }
31390 cat >conftest.$ac_ext <<_ACEOF
31393 cat confdefs.h >>conftest.$ac_ext
31394 cat >>conftest.$ac_ext <<_ACEOF
31395 /* end confdefs.h. */
31397 /* Override any gcc2 internal prototype to avoid an error. */
31401 /* We use char because int might match the return type of a gcc2
31402 builtin and then its argument prototype would still apply. */
31412 rm -f conftest.$ac_objext conftest$ac_exeext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31414 (eval $ac_link) 2>conftest.er1
31416 grep -v '^ *+' conftest.er1 >conftest.err
31418 cat conftest.err >&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try='test -z "$ac_c_werror_flag"
31422 || test ! -s conftest.err'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; } &&
31428 { ac_try='test -s conftest$ac_exeext'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; }; then
31434 ac_cv_lib_m_j1l=yes
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.$ac_ext >&5
31441 rm -f conftest.err conftest.$ac_objext \
31442 conftest$ac_exeext conftest.$ac_ext
31443 LIBS=$ac_check_lib_save_LIBS
31445 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31446 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31447 if test $ac_cv_lib_m_j1l = yes; then
31449 cat >>confdefs.h <<\_ACEOF
31455 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31456 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31457 if test "${ac_cv_lib_m_jnf+set}" = set; then
31458 echo $ECHO_N "(cached) $ECHO_C" >&6
31460 ac_check_lib_save_LIBS=$LIBS
31462 if test x$gcc_no_link = xyes; then
31463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31465 { (exit 1); exit 1; }; }
31467 cat >conftest.$ac_ext <<_ACEOF
31470 cat confdefs.h >>conftest.$ac_ext
31471 cat >>conftest.$ac_ext <<_ACEOF
31472 /* end confdefs.h. */
31474 /* Override any gcc2 internal prototype to avoid an error. */
31478 /* We use char because int might match the return type of a gcc2
31479 builtin and then its argument prototype would still apply. */
31489 rm -f conftest.$ac_objext conftest$ac_exeext
31490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31491 (eval $ac_link) 2>conftest.er1
31493 grep -v '^ *+' conftest.er1 >conftest.err
31495 cat conftest.err >&5
31496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31497 (exit $ac_status); } &&
31498 { ac_try='test -z "$ac_c_werror_flag"
31499 || test ! -s conftest.err'
31500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31501 (eval $ac_try) 2>&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; } &&
31505 { ac_try='test -s conftest$ac_exeext'
31506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31507 (eval $ac_try) 2>&5
31509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31510 (exit $ac_status); }; }; then
31511 ac_cv_lib_m_jnf=yes
31513 echo "$as_me: failed program was:" >&5
31514 sed 's/^/| /' conftest.$ac_ext >&5
31518 rm -f conftest.err conftest.$ac_objext \
31519 conftest$ac_exeext conftest.$ac_ext
31520 LIBS=$ac_check_lib_save_LIBS
31522 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31523 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31524 if test $ac_cv_lib_m_jnf = yes; then
31526 cat >>confdefs.h <<\_ACEOF
31532 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31533 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31534 if test "${ac_cv_lib_m_jn+set}" = set; then
31535 echo $ECHO_N "(cached) $ECHO_C" >&6
31537 ac_check_lib_save_LIBS=$LIBS
31539 if test x$gcc_no_link = xyes; then
31540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31542 { (exit 1); exit 1; }; }
31544 cat >conftest.$ac_ext <<_ACEOF
31547 cat confdefs.h >>conftest.$ac_ext
31548 cat >>conftest.$ac_ext <<_ACEOF
31549 /* end confdefs.h. */
31551 /* Override any gcc2 internal prototype to avoid an error. */
31555 /* We use char because int might match the return type of a gcc2
31556 builtin and then its argument prototype would still apply. */
31566 rm -f conftest.$ac_objext conftest$ac_exeext
31567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31568 (eval $ac_link) 2>conftest.er1
31570 grep -v '^ *+' conftest.er1 >conftest.err
31572 cat conftest.err >&5
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); } &&
31575 { ac_try='test -z "$ac_c_werror_flag"
31576 || test ! -s conftest.err'
31577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31578 (eval $ac_try) 2>&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); }; } &&
31582 { ac_try='test -s conftest$ac_exeext'
31583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31584 (eval $ac_try) 2>&5
31586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31587 (exit $ac_status); }; }; then
31590 echo "$as_me: failed program was:" >&5
31591 sed 's/^/| /' conftest.$ac_ext >&5
31595 rm -f conftest.err conftest.$ac_objext \
31596 conftest$ac_exeext conftest.$ac_ext
31597 LIBS=$ac_check_lib_save_LIBS
31599 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31600 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31601 if test $ac_cv_lib_m_jn = yes; then
31603 cat >>confdefs.h <<\_ACEOF
31609 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31610 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31611 if test "${ac_cv_lib_m_jnl+set}" = set; then
31612 echo $ECHO_N "(cached) $ECHO_C" >&6
31614 ac_check_lib_save_LIBS=$LIBS
31616 if test x$gcc_no_link = xyes; then
31617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31619 { (exit 1); exit 1; }; }
31621 cat >conftest.$ac_ext <<_ACEOF
31624 cat confdefs.h >>conftest.$ac_ext
31625 cat >>conftest.$ac_ext <<_ACEOF
31626 /* end confdefs.h. */
31628 /* Override any gcc2 internal prototype to avoid an error. */
31632 /* We use char because int might match the return type of a gcc2
31633 builtin and then its argument prototype would still apply. */
31643 rm -f conftest.$ac_objext conftest$ac_exeext
31644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31645 (eval $ac_link) 2>conftest.er1
31647 grep -v '^ *+' conftest.er1 >conftest.err
31649 cat conftest.err >&5
31650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31651 (exit $ac_status); } &&
31652 { ac_try='test -z "$ac_c_werror_flag"
31653 || test ! -s conftest.err'
31654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31655 (eval $ac_try) 2>&5
31657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31658 (exit $ac_status); }; } &&
31659 { ac_try='test -s conftest$ac_exeext'
31660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31661 (eval $ac_try) 2>&5
31663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31664 (exit $ac_status); }; }; then
31665 ac_cv_lib_m_jnl=yes
31667 echo "$as_me: failed program was:" >&5
31668 sed 's/^/| /' conftest.$ac_ext >&5
31672 rm -f conftest.err conftest.$ac_objext \
31673 conftest$ac_exeext conftest.$ac_ext
31674 LIBS=$ac_check_lib_save_LIBS
31676 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31677 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31678 if test $ac_cv_lib_m_jnl = yes; then
31680 cat >>confdefs.h <<\_ACEOF
31686 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31687 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31688 if test "${ac_cv_lib_m_y0f+set}" = set; then
31689 echo $ECHO_N "(cached) $ECHO_C" >&6
31691 ac_check_lib_save_LIBS=$LIBS
31693 if test x$gcc_no_link = xyes; then
31694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31696 { (exit 1); exit 1; }; }
31698 cat >conftest.$ac_ext <<_ACEOF
31701 cat confdefs.h >>conftest.$ac_ext
31702 cat >>conftest.$ac_ext <<_ACEOF
31703 /* end confdefs.h. */
31705 /* Override any gcc2 internal prototype to avoid an error. */
31709 /* We use char because int might match the return type of a gcc2
31710 builtin and then its argument prototype would still apply. */
31720 rm -f conftest.$ac_objext conftest$ac_exeext
31721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31722 (eval $ac_link) 2>conftest.er1
31724 grep -v '^ *+' conftest.er1 >conftest.err
31726 cat conftest.err >&5
31727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31728 (exit $ac_status); } &&
31729 { ac_try='test -z "$ac_c_werror_flag"
31730 || test ! -s conftest.err'
31731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31732 (eval $ac_try) 2>&5
31734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31735 (exit $ac_status); }; } &&
31736 { ac_try='test -s conftest$ac_exeext'
31737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31738 (eval $ac_try) 2>&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); }; }; then
31742 ac_cv_lib_m_y0f=yes
31744 echo "$as_me: failed program was:" >&5
31745 sed 's/^/| /' conftest.$ac_ext >&5
31749 rm -f conftest.err conftest.$ac_objext \
31750 conftest$ac_exeext conftest.$ac_ext
31751 LIBS=$ac_check_lib_save_LIBS
31753 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31754 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31755 if test $ac_cv_lib_m_y0f = yes; then
31757 cat >>confdefs.h <<\_ACEOF
31763 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31764 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31765 if test "${ac_cv_lib_m_y0+set}" = set; then
31766 echo $ECHO_N "(cached) $ECHO_C" >&6
31768 ac_check_lib_save_LIBS=$LIBS
31770 if test x$gcc_no_link = xyes; then
31771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31773 { (exit 1); exit 1; }; }
31775 cat >conftest.$ac_ext <<_ACEOF
31778 cat confdefs.h >>conftest.$ac_ext
31779 cat >>conftest.$ac_ext <<_ACEOF
31780 /* end confdefs.h. */
31782 /* Override any gcc2 internal prototype to avoid an error. */
31786 /* We use char because int might match the return type of a gcc2
31787 builtin and then its argument prototype would still apply. */
31797 rm -f conftest.$ac_objext conftest$ac_exeext
31798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31799 (eval $ac_link) 2>conftest.er1
31801 grep -v '^ *+' conftest.er1 >conftest.err
31803 cat conftest.err >&5
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); } &&
31806 { ac_try='test -z "$ac_c_werror_flag"
31807 || test ! -s conftest.err'
31808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31809 (eval $ac_try) 2>&5
31811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31812 (exit $ac_status); }; } &&
31813 { ac_try='test -s conftest$ac_exeext'
31814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31815 (eval $ac_try) 2>&5
31817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31818 (exit $ac_status); }; }; then
31821 echo "$as_me: failed program was:" >&5
31822 sed 's/^/| /' conftest.$ac_ext >&5
31826 rm -f conftest.err conftest.$ac_objext \
31827 conftest$ac_exeext conftest.$ac_ext
31828 LIBS=$ac_check_lib_save_LIBS
31830 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31831 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31832 if test $ac_cv_lib_m_y0 = yes; then
31834 cat >>confdefs.h <<\_ACEOF
31840 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31841 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31842 if test "${ac_cv_lib_m_y0l+set}" = set; then
31843 echo $ECHO_N "(cached) $ECHO_C" >&6
31845 ac_check_lib_save_LIBS=$LIBS
31847 if test x$gcc_no_link = xyes; then
31848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31850 { (exit 1); exit 1; }; }
31852 cat >conftest.$ac_ext <<_ACEOF
31855 cat confdefs.h >>conftest.$ac_ext
31856 cat >>conftest.$ac_ext <<_ACEOF
31857 /* end confdefs.h. */
31859 /* Override any gcc2 internal prototype to avoid an error. */
31863 /* We use char because int might match the return type of a gcc2
31864 builtin and then its argument prototype would still apply. */
31874 rm -f conftest.$ac_objext conftest$ac_exeext
31875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31876 (eval $ac_link) 2>conftest.er1
31878 grep -v '^ *+' conftest.er1 >conftest.err
31880 cat conftest.err >&5
31881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31882 (exit $ac_status); } &&
31883 { ac_try='test -z "$ac_c_werror_flag"
31884 || test ! -s conftest.err'
31885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31886 (eval $ac_try) 2>&5
31888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31889 (exit $ac_status); }; } &&
31890 { ac_try='test -s conftest$ac_exeext'
31891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31892 (eval $ac_try) 2>&5
31894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31895 (exit $ac_status); }; }; then
31896 ac_cv_lib_m_y0l=yes
31898 echo "$as_me: failed program was:" >&5
31899 sed 's/^/| /' conftest.$ac_ext >&5
31903 rm -f conftest.err conftest.$ac_objext \
31904 conftest$ac_exeext conftest.$ac_ext
31905 LIBS=$ac_check_lib_save_LIBS
31907 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31908 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31909 if test $ac_cv_lib_m_y0l = yes; then
31911 cat >>confdefs.h <<\_ACEOF
31917 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31918 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31919 if test "${ac_cv_lib_m_y1f+set}" = set; then
31920 echo $ECHO_N "(cached) $ECHO_C" >&6
31922 ac_check_lib_save_LIBS=$LIBS
31924 if test x$gcc_no_link = xyes; then
31925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31927 { (exit 1); exit 1; }; }
31929 cat >conftest.$ac_ext <<_ACEOF
31932 cat confdefs.h >>conftest.$ac_ext
31933 cat >>conftest.$ac_ext <<_ACEOF
31934 /* end confdefs.h. */
31936 /* Override any gcc2 internal prototype to avoid an error. */
31940 /* We use char because int might match the return type of a gcc2
31941 builtin and then its argument prototype would still apply. */
31951 rm -f conftest.$ac_objext conftest$ac_exeext
31952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31953 (eval $ac_link) 2>conftest.er1
31955 grep -v '^ *+' conftest.er1 >conftest.err
31957 cat conftest.err >&5
31958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31959 (exit $ac_status); } &&
31960 { ac_try='test -z "$ac_c_werror_flag"
31961 || test ! -s conftest.err'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; } &&
31967 { ac_try='test -s conftest$ac_exeext'
31968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31969 (eval $ac_try) 2>&5
31971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31972 (exit $ac_status); }; }; then
31973 ac_cv_lib_m_y1f=yes
31975 echo "$as_me: failed program was:" >&5
31976 sed 's/^/| /' conftest.$ac_ext >&5
31980 rm -f conftest.err conftest.$ac_objext \
31981 conftest$ac_exeext conftest.$ac_ext
31982 LIBS=$ac_check_lib_save_LIBS
31984 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31985 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31986 if test $ac_cv_lib_m_y1f = yes; then
31988 cat >>confdefs.h <<\_ACEOF
31994 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31995 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31996 if test "${ac_cv_lib_m_y1+set}" = set; then
31997 echo $ECHO_N "(cached) $ECHO_C" >&6
31999 ac_check_lib_save_LIBS=$LIBS
32001 if test x$gcc_no_link = xyes; then
32002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32004 { (exit 1); exit 1; }; }
32006 cat >conftest.$ac_ext <<_ACEOF
32009 cat confdefs.h >>conftest.$ac_ext
32010 cat >>conftest.$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32013 /* Override any gcc2 internal prototype to avoid an error. */
32017 /* We use char because int might match the return type of a gcc2
32018 builtin and then its argument prototype would still apply. */
32028 rm -f conftest.$ac_objext conftest$ac_exeext
32029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32030 (eval $ac_link) 2>conftest.er1
32032 grep -v '^ *+' conftest.er1 >conftest.err
32034 cat conftest.err >&5
32035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32036 (exit $ac_status); } &&
32037 { ac_try='test -z "$ac_c_werror_flag"
32038 || test ! -s conftest.err'
32039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32040 (eval $ac_try) 2>&5
32042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32043 (exit $ac_status); }; } &&
32044 { ac_try='test -s conftest$ac_exeext'
32045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32046 (eval $ac_try) 2>&5
32048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32049 (exit $ac_status); }; }; then
32052 echo "$as_me: failed program was:" >&5
32053 sed 's/^/| /' conftest.$ac_ext >&5
32057 rm -f conftest.err conftest.$ac_objext \
32058 conftest$ac_exeext conftest.$ac_ext
32059 LIBS=$ac_check_lib_save_LIBS
32061 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
32062 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
32063 if test $ac_cv_lib_m_y1 = yes; then
32065 cat >>confdefs.h <<\_ACEOF
32071 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
32072 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
32073 if test "${ac_cv_lib_m_y1l+set}" = set; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32076 ac_check_lib_save_LIBS=$LIBS
32078 if test x$gcc_no_link = xyes; then
32079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32081 { (exit 1); exit 1; }; }
32083 cat >conftest.$ac_ext <<_ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32090 /* Override any gcc2 internal prototype to avoid an error. */
32094 /* We use char because int might match the return type of a gcc2
32095 builtin and then its argument prototype would still apply. */
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32107 (eval $ac_link) 2>conftest.er1
32109 grep -v '^ *+' conftest.er1 >conftest.err
32111 cat conftest.err >&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); } &&
32114 { ac_try='test -z "$ac_c_werror_flag"
32115 || test ! -s conftest.err'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; } &&
32121 { ac_try='test -s conftest$ac_exeext'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; }; then
32127 ac_cv_lib_m_y1l=yes
32129 echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32134 rm -f conftest.err conftest.$ac_objext \
32135 conftest$ac_exeext conftest.$ac_ext
32136 LIBS=$ac_check_lib_save_LIBS
32138 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32139 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32140 if test $ac_cv_lib_m_y1l = yes; then
32142 cat >>confdefs.h <<\_ACEOF
32148 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32149 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32150 if test "${ac_cv_lib_m_ynf+set}" = set; then
32151 echo $ECHO_N "(cached) $ECHO_C" >&6
32153 ac_check_lib_save_LIBS=$LIBS
32155 if test x$gcc_no_link = xyes; then
32156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32158 { (exit 1); exit 1; }; }
32160 cat >conftest.$ac_ext <<_ACEOF
32163 cat confdefs.h >>conftest.$ac_ext
32164 cat >>conftest.$ac_ext <<_ACEOF
32165 /* end confdefs.h. */
32167 /* Override any gcc2 internal prototype to avoid an error. */
32171 /* We use char because int might match the return type of a gcc2
32172 builtin and then its argument prototype would still apply. */
32182 rm -f conftest.$ac_objext conftest$ac_exeext
32183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32184 (eval $ac_link) 2>conftest.er1
32186 grep -v '^ *+' conftest.er1 >conftest.err
32188 cat conftest.err >&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } &&
32191 { ac_try='test -z "$ac_c_werror_flag"
32192 || test ! -s conftest.err'
32193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32194 (eval $ac_try) 2>&5
32196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32197 (exit $ac_status); }; } &&
32198 { ac_try='test -s conftest$ac_exeext'
32199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32200 (eval $ac_try) 2>&5
32202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32203 (exit $ac_status); }; }; then
32204 ac_cv_lib_m_ynf=yes
32206 echo "$as_me: failed program was:" >&5
32207 sed 's/^/| /' conftest.$ac_ext >&5
32211 rm -f conftest.err conftest.$ac_objext \
32212 conftest$ac_exeext conftest.$ac_ext
32213 LIBS=$ac_check_lib_save_LIBS
32215 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32216 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32217 if test $ac_cv_lib_m_ynf = yes; then
32219 cat >>confdefs.h <<\_ACEOF
32225 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32226 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32227 if test "${ac_cv_lib_m_yn+set}" = set; then
32228 echo $ECHO_N "(cached) $ECHO_C" >&6
32230 ac_check_lib_save_LIBS=$LIBS
32232 if test x$gcc_no_link = xyes; then
32233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32235 { (exit 1); exit 1; }; }
32237 cat >conftest.$ac_ext <<_ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32244 /* Override any gcc2 internal prototype to avoid an error. */
32248 /* We use char because int might match the return type of a gcc2
32249 builtin and then its argument prototype would still apply. */
32259 rm -f conftest.$ac_objext conftest$ac_exeext
32260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32261 (eval $ac_link) 2>conftest.er1
32263 grep -v '^ *+' conftest.er1 >conftest.err
32265 cat conftest.err >&5
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); } &&
32268 { ac_try='test -z "$ac_c_werror_flag"
32269 || test ! -s conftest.err'
32270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32271 (eval $ac_try) 2>&5
32273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32274 (exit $ac_status); }; } &&
32275 { ac_try='test -s conftest$ac_exeext'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; }; then
32283 echo "$as_me: failed program was:" >&5
32284 sed 's/^/| /' conftest.$ac_ext >&5
32288 rm -f conftest.err conftest.$ac_objext \
32289 conftest$ac_exeext conftest.$ac_ext
32290 LIBS=$ac_check_lib_save_LIBS
32292 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32293 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32294 if test $ac_cv_lib_m_yn = yes; then
32296 cat >>confdefs.h <<\_ACEOF
32302 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32303 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32304 if test "${ac_cv_lib_m_ynl+set}" = set; then
32305 echo $ECHO_N "(cached) $ECHO_C" >&6
32307 ac_check_lib_save_LIBS=$LIBS
32309 if test x$gcc_no_link = xyes; then
32310 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32312 { (exit 1); exit 1; }; }
32314 cat >conftest.$ac_ext <<_ACEOF
32317 cat confdefs.h >>conftest.$ac_ext
32318 cat >>conftest.$ac_ext <<_ACEOF
32319 /* end confdefs.h. */
32321 /* Override any gcc2 internal prototype to avoid an error. */
32325 /* We use char because int might match the return type of a gcc2
32326 builtin and then its argument prototype would still apply. */
32336 rm -f conftest.$ac_objext conftest$ac_exeext
32337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32338 (eval $ac_link) 2>conftest.er1
32340 grep -v '^ *+' conftest.er1 >conftest.err
32342 cat conftest.err >&5
32343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32344 (exit $ac_status); } &&
32345 { ac_try='test -z "$ac_c_werror_flag"
32346 || test ! -s conftest.err'
32347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32348 (eval $ac_try) 2>&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); }; } &&
32352 { ac_try='test -s conftest$ac_exeext'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; }; then
32358 ac_cv_lib_m_ynl=yes
32360 echo "$as_me: failed program was:" >&5
32361 sed 's/^/| /' conftest.$ac_ext >&5
32365 rm -f conftest.err conftest.$ac_objext \
32366 conftest$ac_exeext conftest.$ac_ext
32367 LIBS=$ac_check_lib_save_LIBS
32369 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32370 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32371 if test $ac_cv_lib_m_ynl = yes; then
32373 cat >>confdefs.h <<\_ACEOF
32379 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32380 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32381 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32382 echo $ECHO_N "(cached) $ECHO_C" >&6
32384 ac_check_lib_save_LIBS=$LIBS
32386 if test x$gcc_no_link = xyes; then
32387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32389 { (exit 1); exit 1; }; }
32391 cat >conftest.$ac_ext <<_ACEOF
32394 cat confdefs.h >>conftest.$ac_ext
32395 cat >>conftest.$ac_ext <<_ACEOF
32396 /* end confdefs.h. */
32398 /* Override any gcc2 internal prototype to avoid an error. */
32402 /* We use char because int might match the return type of a gcc2
32403 builtin and then its argument prototype would still apply. */
32413 rm -f conftest.$ac_objext conftest$ac_exeext
32414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32415 (eval $ac_link) 2>conftest.er1
32417 grep -v '^ *+' conftest.er1 >conftest.err
32419 cat conftest.err >&5
32420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32421 (exit $ac_status); } &&
32422 { ac_try='test -z "$ac_c_werror_flag"
32423 || test ! -s conftest.err'
32424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32425 (eval $ac_try) 2>&5
32427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32428 (exit $ac_status); }; } &&
32429 { ac_try='test -s conftest$ac_exeext'
32430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32431 (eval $ac_try) 2>&5
32433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32434 (exit $ac_status); }; }; then
32435 ac_cv_lib_m_tgamma=yes
32437 echo "$as_me: failed program was:" >&5
32438 sed 's/^/| /' conftest.$ac_ext >&5
32440 ac_cv_lib_m_tgamma=no
32442 rm -f conftest.err conftest.$ac_objext \
32443 conftest$ac_exeext conftest.$ac_ext
32444 LIBS=$ac_check_lib_save_LIBS
32446 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32447 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32448 if test $ac_cv_lib_m_tgamma = yes; then
32450 cat >>confdefs.h <<\_ACEOF
32451 #define HAVE_TGAMMA 1
32456 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32457 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32458 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32459 echo $ECHO_N "(cached) $ECHO_C" >&6
32461 ac_check_lib_save_LIBS=$LIBS
32463 if test x$gcc_no_link = xyes; then
32464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32466 { (exit 1); exit 1; }; }
32468 cat >conftest.$ac_ext <<_ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32475 /* Override any gcc2 internal prototype to avoid an error. */
32479 /* We use char because int might match the return type of a gcc2
32480 builtin and then its argument prototype would still apply. */
32490 rm -f conftest.$ac_objext conftest$ac_exeext
32491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32492 (eval $ac_link) 2>conftest.er1
32494 grep -v '^ *+' conftest.er1 >conftest.err
32496 cat conftest.err >&5
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); } &&
32499 { ac_try='test -z "$ac_c_werror_flag"
32500 || test ! -s conftest.err'
32501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32502 (eval $ac_try) 2>&5
32504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32505 (exit $ac_status); }; } &&
32506 { ac_try='test -s conftest$ac_exeext'
32507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32508 (eval $ac_try) 2>&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); }; }; then
32512 ac_cv_lib_m_tgammaf=yes
32514 echo "$as_me: failed program was:" >&5
32515 sed 's/^/| /' conftest.$ac_ext >&5
32517 ac_cv_lib_m_tgammaf=no
32519 rm -f conftest.err conftest.$ac_objext \
32520 conftest$ac_exeext conftest.$ac_ext
32521 LIBS=$ac_check_lib_save_LIBS
32523 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32524 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32525 if test $ac_cv_lib_m_tgammaf = yes; then
32527 cat >>confdefs.h <<\_ACEOF
32528 #define HAVE_TGAMMAF 1
32533 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32534 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32535 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32536 echo $ECHO_N "(cached) $ECHO_C" >&6
32538 ac_check_lib_save_LIBS=$LIBS
32540 if test x$gcc_no_link = xyes; then
32541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32543 { (exit 1); exit 1; }; }
32545 cat >conftest.$ac_ext <<_ACEOF
32548 cat confdefs.h >>conftest.$ac_ext
32549 cat >>conftest.$ac_ext <<_ACEOF
32550 /* end confdefs.h. */
32552 /* Override any gcc2 internal prototype to avoid an error. */
32556 /* We use char because int might match the return type of a gcc2
32557 builtin and then its argument prototype would still apply. */
32567 rm -f conftest.$ac_objext conftest$ac_exeext
32568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32569 (eval $ac_link) 2>conftest.er1
32571 grep -v '^ *+' conftest.er1 >conftest.err
32573 cat conftest.err >&5
32574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32575 (exit $ac_status); } &&
32576 { ac_try='test -z "$ac_c_werror_flag"
32577 || test ! -s conftest.err'
32578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32579 (eval $ac_try) 2>&5
32581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32582 (exit $ac_status); }; } &&
32583 { ac_try='test -s conftest$ac_exeext'
32584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32585 (eval $ac_try) 2>&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); }; }; then
32589 ac_cv_lib_m_tgammal=yes
32591 echo "$as_me: failed program was:" >&5
32592 sed 's/^/| /' conftest.$ac_ext >&5
32594 ac_cv_lib_m_tgammal=no
32596 rm -f conftest.err conftest.$ac_objext \
32597 conftest$ac_exeext conftest.$ac_ext
32598 LIBS=$ac_check_lib_save_LIBS
32600 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32601 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32602 if test $ac_cv_lib_m_tgammal = yes; then
32604 cat >>confdefs.h <<\_ACEOF
32605 #define HAVE_TGAMMAL 1
32610 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32611 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32612 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32613 echo $ECHO_N "(cached) $ECHO_C" >&6
32615 ac_check_lib_save_LIBS=$LIBS
32617 if test x$gcc_no_link = xyes; then
32618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32620 { (exit 1); exit 1; }; }
32622 cat >conftest.$ac_ext <<_ACEOF
32625 cat confdefs.h >>conftest.$ac_ext
32626 cat >>conftest.$ac_ext <<_ACEOF
32627 /* end confdefs.h. */
32629 /* Override any gcc2 internal prototype to avoid an error. */
32633 /* We use char because int might match the return type of a gcc2
32634 builtin and then its argument prototype would still apply. */
32644 rm -f conftest.$ac_objext conftest$ac_exeext
32645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32646 (eval $ac_link) 2>conftest.er1
32648 grep -v '^ *+' conftest.er1 >conftest.err
32650 cat conftest.err >&5
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); } &&
32653 { ac_try='test -z "$ac_c_werror_flag"
32654 || test ! -s conftest.err'
32655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32656 (eval $ac_try) 2>&5
32658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32659 (exit $ac_status); }; } &&
32660 { ac_try='test -s conftest$ac_exeext'
32661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32662 (eval $ac_try) 2>&5
32664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32665 (exit $ac_status); }; }; then
32666 ac_cv_lib_m_lgamma=yes
32668 echo "$as_me: failed program was:" >&5
32669 sed 's/^/| /' conftest.$ac_ext >&5
32671 ac_cv_lib_m_lgamma=no
32673 rm -f conftest.err conftest.$ac_objext \
32674 conftest$ac_exeext conftest.$ac_ext
32675 LIBS=$ac_check_lib_save_LIBS
32677 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32678 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32679 if test $ac_cv_lib_m_lgamma = yes; then
32681 cat >>confdefs.h <<\_ACEOF
32682 #define HAVE_LGAMMA 1
32687 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32688 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32689 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32690 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 ac_check_lib_save_LIBS=$LIBS
32694 if test x$gcc_no_link = xyes; then
32695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32697 { (exit 1); exit 1; }; }
32699 cat >conftest.$ac_ext <<_ACEOF
32702 cat confdefs.h >>conftest.$ac_ext
32703 cat >>conftest.$ac_ext <<_ACEOF
32704 /* end confdefs.h. */
32706 /* Override any gcc2 internal prototype to avoid an error. */
32710 /* We use char because int might match the return type of a gcc2
32711 builtin and then its argument prototype would still apply. */
32721 rm -f conftest.$ac_objext conftest$ac_exeext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32723 (eval $ac_link) 2>conftest.er1
32725 grep -v '^ *+' conftest.er1 >conftest.err
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_c_werror_flag"
32731 || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try='test -s conftest$ac_exeext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 ac_cv_lib_m_lgammaf=yes
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32748 ac_cv_lib_m_lgammaf=no
32750 rm -f conftest.err conftest.$ac_objext \
32751 conftest$ac_exeext conftest.$ac_ext
32752 LIBS=$ac_check_lib_save_LIBS
32754 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32755 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32756 if test $ac_cv_lib_m_lgammaf = yes; then
32758 cat >>confdefs.h <<\_ACEOF
32759 #define HAVE_LGAMMAF 1
32764 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32765 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32766 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32767 echo $ECHO_N "(cached) $ECHO_C" >&6
32769 ac_check_lib_save_LIBS=$LIBS
32771 if test x$gcc_no_link = xyes; then
32772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32774 { (exit 1); exit 1; }; }
32776 cat >conftest.$ac_ext <<_ACEOF
32779 cat confdefs.h >>conftest.$ac_ext
32780 cat >>conftest.$ac_ext <<_ACEOF
32781 /* end confdefs.h. */
32783 /* Override any gcc2 internal prototype to avoid an error. */
32787 /* We use char because int might match the return type of a gcc2
32788 builtin and then its argument prototype would still apply. */
32798 rm -f conftest.$ac_objext conftest$ac_exeext
32799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32800 (eval $ac_link) 2>conftest.er1
32802 grep -v '^ *+' conftest.er1 >conftest.err
32804 cat conftest.err >&5
32805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32806 (exit $ac_status); } &&
32807 { ac_try='test -z "$ac_c_werror_flag"
32808 || test ! -s conftest.err'
32809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32810 (eval $ac_try) 2>&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); }; } &&
32814 { ac_try='test -s conftest$ac_exeext'
32815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32816 (eval $ac_try) 2>&5
32818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32819 (exit $ac_status); }; }; then
32820 ac_cv_lib_m_lgammal=yes
32822 echo "$as_me: failed program was:" >&5
32823 sed 's/^/| /' conftest.$ac_ext >&5
32825 ac_cv_lib_m_lgammal=no
32827 rm -f conftest.err conftest.$ac_objext \
32828 conftest$ac_exeext conftest.$ac_ext
32829 LIBS=$ac_check_lib_save_LIBS
32831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32832 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32833 if test $ac_cv_lib_m_lgammal = yes; then
32835 cat >>confdefs.h <<\_ACEOF
32836 #define HAVE_LGAMMAL 1
32842 # On AIX, clog is present in libm as __clog
32843 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32844 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32845 if test "${ac_cv_lib_m___clog+set}" = set; then
32846 echo $ECHO_N "(cached) $ECHO_C" >&6
32848 ac_check_lib_save_LIBS=$LIBS
32850 if test x$gcc_no_link = xyes; then
32851 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32853 { (exit 1); exit 1; }; }
32855 cat >conftest.$ac_ext <<_ACEOF
32858 cat confdefs.h >>conftest.$ac_ext
32859 cat >>conftest.$ac_ext <<_ACEOF
32860 /* end confdefs.h. */
32862 /* Override any gcc2 internal prototype to avoid an error. */
32866 /* We use char because int might match the return type of a gcc2
32867 builtin and then its argument prototype would still apply. */
32877 rm -f conftest.$ac_objext conftest$ac_exeext
32878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32879 (eval $ac_link) 2>conftest.er1
32881 grep -v '^ *+' conftest.er1 >conftest.err
32883 cat conftest.err >&5
32884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32885 (exit $ac_status); } &&
32886 { ac_try='test -z "$ac_c_werror_flag"
32887 || test ! -s conftest.err'
32888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32889 (eval $ac_try) 2>&5
32891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32892 (exit $ac_status); }; } &&
32893 { ac_try='test -s conftest$ac_exeext'
32894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32895 (eval $ac_try) 2>&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); }; }; then
32899 ac_cv_lib_m___clog=yes
32901 echo "$as_me: failed program was:" >&5
32902 sed 's/^/| /' conftest.$ac_ext >&5
32904 ac_cv_lib_m___clog=no
32906 rm -f conftest.err conftest.$ac_objext \
32907 conftest$ac_exeext conftest.$ac_ext
32908 LIBS=$ac_check_lib_save_LIBS
32910 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32911 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32912 if test $ac_cv_lib_m___clog = yes; then
32914 cat >>confdefs.h <<\_ACEOF
32915 #define HAVE_CLOG 1
32921 # Check for a isfinite macro that works on long doubles.
32923 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32924 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32925 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32926 echo $ECHO_N "(cached) $ECHO_C" >&6
32929 libgfor_check_for_broken_isfinite_save_LIBS=$LIBS
32931 if test "$cross_compiling" = yes; then
32933 case "${target}" in
32934 hppa*-*-hpux*) libgfor_cv_have_broken_isfinite=yes ;;
32935 *) libgfor_cv_have_broken_isfinite=no ;;
32938 cat >conftest.$ac_ext <<_ACEOF
32941 cat confdefs.h >>conftest.$ac_ext
32942 cat >>conftest.$ac_ext <<_ACEOF
32943 /* end confdefs.h. */
32951 if (!isfinite(LDBL_MAX)) return 1;
32954 if (!isfinite(DBL_MAX)) return 1;
32960 rm -f conftest$ac_exeext
32961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32962 (eval $ac_link) 2>&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }; then
32971 libgfor_cv_have_broken_isfinite=no
32973 echo "$as_me: program exited with status $ac_status" >&5
32974 echo "$as_me: failed program was:" >&5
32975 sed 's/^/| /' conftest.$ac_ext >&5
32977 ( exit $ac_status )
32978 libgfor_cv_have_broken_isfinite=yes
32980 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32982 LIBS=$libgfor_check_for_broken_isfinite_save_LIBS
32984 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32985 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32986 if test x"$libgfor_cv_have_broken_isfinite" = xyes; then
32988 cat >>confdefs.h <<\_ACEOF
32989 #define HAVE_BROKEN_ISFINITE 1
32994 # Check for a isnan macro that works on long doubles.
32996 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32997 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32998 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32999 echo $ECHO_N "(cached) $ECHO_C" >&6
33002 libgfor_check_for_broken_isnan_save_LIBS=$LIBS
33004 if test "$cross_compiling" = yes; then
33006 case "${target}" in
33007 hppa*-*-hpux*) libgfor_cv_have_broken_isnan=yes ;;
33008 *) libgfor_cv_have_broken_isnan=no ;;
33011 cat >conftest.$ac_ext <<_ACEOF
33014 cat confdefs.h >>conftest.$ac_ext
33015 cat >>conftest.$ac_ext <<_ACEOF
33016 /* end confdefs.h. */
33026 x = __builtin_nanl ("");
33027 if (!isnan(x)) return 1;
33028 if (isnan(LDBL_MAX)) return 1;
33030 x = (long double) NAN;
33031 if (!isnan(x)) return 1;
33038 y = __builtin_nan ("");
33039 if (!isnan(y)) return 1;
33040 if (isnan(DBL_MAX)) return 1;
33043 if (!isnan(y)) return 1;
33051 rm -f conftest$ac_exeext
33052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33053 (eval $ac_link) 2>&5
33055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; }; then
33062 libgfor_cv_have_broken_isnan=no
33064 echo "$as_me: program exited with status $ac_status" >&5
33065 echo "$as_me: failed program was:" >&5
33066 sed 's/^/| /' conftest.$ac_ext >&5
33068 ( exit $ac_status )
33069 libgfor_cv_have_broken_isnan=yes
33071 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33073 LIBS=$libgfor_check_for_broken_isnan_save_LIBS
33075 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
33076 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
33077 if test x"$libgfor_cv_have_broken_isnan" = xyes; then
33079 cat >>confdefs.h <<\_ACEOF
33080 #define HAVE_BROKEN_ISNAN 1
33085 # Check for a fpclassify macro that works on long doubles.
33087 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
33088 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
33089 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
33090 echo $ECHO_N "(cached) $ECHO_C" >&6
33093 libgfor_check_for_broken_fpclassify_save_LIBS=$LIBS
33095 if test "$cross_compiling" = yes; then
33097 case "${target}" in
33098 hppa*-*-hpux*) libgfor_cv_have_broken_fpclassify=yes ;;
33099 *) libgfor_cv_have_broken_fpclassify=no ;;
33102 cat >conftest.$ac_ext <<_ACEOF
33105 cat confdefs.h >>conftest.$ac_ext
33106 cat >>conftest.$ac_ext <<_ACEOF
33107 /* end confdefs.h. */
33115 if (fpclassify(LDBL_MAX) == FP_NAN
33116 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33119 if (fpclassify(DBL_MAX) == FP_NAN
33120 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33126 rm -f conftest$ac_exeext
33127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33128 (eval $ac_link) 2>&5
33130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33133 (eval $ac_try) 2>&5
33135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33136 (exit $ac_status); }; }; then
33137 libgfor_cv_have_broken_fpclassify=no
33139 echo "$as_me: program exited with status $ac_status" >&5
33140 echo "$as_me: failed program was:" >&5
33141 sed 's/^/| /' conftest.$ac_ext >&5
33143 ( exit $ac_status )
33144 libgfor_cv_have_broken_fpclassify=yes
33146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33148 LIBS=$libgfor_check_for_broken_fpclassify_save_LIBS
33150 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33151 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33152 if test x"$libgfor_cv_have_broken_fpclassify" = xyes; then
33154 cat >>confdefs.h <<\_ACEOF
33155 #define HAVE_BROKEN_FPCLASSIFY 1
33160 # Check whether the system has a working stat()
33162 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33163 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33164 if test "${libgfor_cv_have_working_stat+set}" = set; then
33165 echo $ECHO_N "(cached) $ECHO_C" >&6
33168 if test "$cross_compiling" = yes; then
33170 case "${target}" in
33171 *mingw*) libgfor_cv_have_working_stat=no ;;
33172 *) libgfor_cv_have_working_stat=yes;;
33175 cat >conftest.$ac_ext <<_ACEOF
33178 cat confdefs.h >>conftest.$ac_ext
33179 cat >>conftest.$ac_ext <<_ACEOF
33180 /* end confdefs.h. */
33183 #include <sys/types.h>
33184 #include <sys/stat.h>
33185 #include <unistd.h>
33190 struct stat st1, st2;
33192 f = fopen ("foo", "w");
33193 g = fopen ("bar", "w");
33194 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33196 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33203 rm -f conftest$ac_exeext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33205 (eval $ac_link) 2>&5
33207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33208 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
33209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33210 (eval $ac_try) 2>&5
33212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33213 (exit $ac_status); }; }; then
33214 libgfor_cv_have_working_stat=yes
33216 echo "$as_me: program exited with status $ac_status" >&5
33217 echo "$as_me: failed program was:" >&5
33218 sed 's/^/| /' conftest.$ac_ext >&5
33220 ( exit $ac_status )
33221 libgfor_cv_have_working_stat=no
33223 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
33226 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33227 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33228 if test x"$libgfor_cv_have_working_stat" = xyes; then
33230 cat >>confdefs.h <<\_ACEOF
33231 #define HAVE_WORKING_STAT 1
33236 # Check whether __mingw_snprintf() is present
33238 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33239 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33240 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33241 echo $ECHO_N "(cached) $ECHO_C" >&6
33244 if test x$gcc_no_link = xyes; then
33245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33247 { (exit 1); exit 1; }; }
33249 cat >conftest.$ac_ext <<_ACEOF
33252 cat confdefs.h >>conftest.$ac_ext
33253 cat >>conftest.$ac_ext <<_ACEOF
33254 /* end confdefs.h. */
33257 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33263 __mingw_snprintf (NULL, 0, "%d\n", 1);
33269 rm -f conftest.$ac_objext conftest$ac_exeext
33270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33271 (eval $ac_link) 2>conftest.er1
33273 grep -v '^ *+' conftest.er1 >conftest.err
33275 cat conftest.err >&5
33276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33277 (exit $ac_status); } &&
33278 { ac_try='test -z "$ac_c_werror_flag"
33279 || test ! -s conftest.err'
33280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33281 (eval $ac_try) 2>&5
33283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33284 (exit $ac_status); }; } &&
33285 { ac_try='test -s conftest$ac_exeext'
33286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33287 (eval $ac_try) 2>&5
33289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33290 (exit $ac_status); }; }; then
33291 eval "libgfor_cv_have_mingw_snprintf=yes"
33293 echo "$as_me: failed program was:" >&5
33294 sed 's/^/| /' conftest.$ac_ext >&5
33296 eval "libgfor_cv_have_mingw_snprintf=no"
33298 rm -f conftest.err conftest.$ac_objext \
33299 conftest$ac_exeext conftest.$ac_ext
33302 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33303 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33304 if test x"$libgfor_cv_have_mingw_snprintf" = xyes; then
33306 cat >>confdefs.h <<\_ACEOF
33307 #define HAVE_MINGW_SNPRINTF 1
33313 # Check for a broken powf implementation
33315 echo "$as_me:$LINENO: checking whether powf is broken" >&5
33316 echo $ECHO_N "checking whether powf is broken... $ECHO_C" >&6
33317 if test "${libgfor_cv_have_broken_powf+set}" = set; then
33318 echo $ECHO_N "(cached) $ECHO_C" >&6
33321 case "${target}" in
33322 hppa*64*-*-hpux*) libgfor_cv_have_broken_powf=yes ;;
33323 *) libgfor_cv_have_broken_powf=no;;
33326 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_powf" >&5
33327 echo "${ECHO_T}$libgfor_cv_have_broken_powf" >&6
33328 if test x"$libgfor_cv_have_broken_powf" = xyes; then
33330 cat >>confdefs.h <<\_ACEOF
33331 #define HAVE_BROKEN_POWF 1
33337 # Check for GNU libc feenableexcept
33338 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33339 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33340 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33341 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 ac_check_lib_save_LIBS=$LIBS
33345 if test x$gcc_no_link = xyes; then
33346 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33347 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33348 { (exit 1); exit 1; }; }
33350 cat >conftest.$ac_ext <<_ACEOF
33353 cat confdefs.h >>conftest.$ac_ext
33354 cat >>conftest.$ac_ext <<_ACEOF
33355 /* end confdefs.h. */
33357 /* Override any gcc2 internal prototype to avoid an error. */
33361 /* We use char because int might match the return type of a gcc2
33362 builtin and then its argument prototype would still apply. */
33363 char feenableexcept ();
33372 rm -f conftest.$ac_objext conftest$ac_exeext
33373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33374 (eval $ac_link) 2>conftest.er1
33376 grep -v '^ *+' conftest.er1 >conftest.err
33378 cat conftest.err >&5
33379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33380 (exit $ac_status); } &&
33381 { ac_try='test -z "$ac_c_werror_flag"
33382 || test ! -s conftest.err'
33383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33384 (eval $ac_try) 2>&5
33386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33387 (exit $ac_status); }; } &&
33388 { ac_try='test -s conftest$ac_exeext'
33389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33390 (eval $ac_try) 2>&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); }; }; then
33394 ac_cv_lib_m_feenableexcept=yes
33396 echo "$as_me: failed program was:" >&5
33397 sed 's/^/| /' conftest.$ac_ext >&5
33399 ac_cv_lib_m_feenableexcept=no
33401 rm -f conftest.err conftest.$ac_objext \
33402 conftest$ac_exeext conftest.$ac_ext
33403 LIBS=$ac_check_lib_save_LIBS
33405 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33406 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33407 if test $ac_cv_lib_m_feenableexcept = yes; then
33408 have_feenableexcept=yes
33409 cat >>confdefs.h <<\_ACEOF
33410 #define HAVE_FEENABLEEXCEPT 1
33416 # Check for SysV fpsetmask
33418 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33419 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33420 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33424 if test x$gcc_no_link = xyes; then
33425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33427 { (exit 1); exit 1; }; }
33429 cat >conftest.$ac_ext <<_ACEOF
33432 cat confdefs.h >>conftest.$ac_ext
33433 cat >>conftest.$ac_ext <<_ACEOF
33434 /* end confdefs.h. */
33436 #if HAVE_FLOATINGPOINT_H
33437 # include <floatingpoint.h>
33438 #endif /* HAVE_FLOATINGPOINT_H */
33440 # include <ieeefp.h>
33441 #endif /* HAVE_IEEEFP_H */
33450 rm -f conftest.$ac_objext conftest$ac_exeext
33451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33452 (eval $ac_link) 2>conftest.er1
33454 grep -v '^ *+' conftest.er1 >conftest.err
33456 cat conftest.err >&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); } &&
33459 { ac_try='test -z "$ac_c_werror_flag"
33460 || test ! -s conftest.err'
33461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33462 (eval $ac_try) 2>&5
33464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33465 (exit $ac_status); }; } &&
33466 { ac_try='test -s conftest$ac_exeext'
33467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33468 (eval $ac_try) 2>&5
33470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33471 (exit $ac_status); }; }; then
33472 eval "libgfor_cv_have_fpsetmask=yes"
33474 echo "$as_me: failed program was:" >&5
33475 sed 's/^/| /' conftest.$ac_ext >&5
33477 eval "libgfor_cv_have_fpsetmask=no"
33479 rm -f conftest.err conftest.$ac_objext \
33480 conftest$ac_exeext conftest.$ac_ext
33483 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33484 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33485 if test x"$libgfor_cv_have_fpsetmask" = xyes; then
33487 cat >>confdefs.h <<\_ACEOF
33488 #define HAVE_FPSETMASK 1
33494 # Check for AIX fp_trap and fp_enable
33495 echo "$as_me:$LINENO: checking for fp_trap" >&5
33496 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33497 if test "${ac_cv_func_fp_trap+set}" = set; then
33498 echo $ECHO_N "(cached) $ECHO_C" >&6
33500 if test x$gcc_no_link = xyes; then
33501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33503 { (exit 1); exit 1; }; }
33505 cat >conftest.$ac_ext <<_ACEOF
33508 cat confdefs.h >>conftest.$ac_ext
33509 cat >>conftest.$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33513 #define fp_trap innocuous_fp_trap
33515 /* System header to define __stub macros and hopefully few prototypes,
33516 which can conflict with char fp_trap (); below.
33517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33518 <limits.h> exists even on freestanding compilers. */
33521 # include <limits.h>
33523 # include <assert.h>
33528 /* Override any gcc2 internal prototype to avoid an error. */
33533 /* We use char because int might match the return type of a gcc2
33534 builtin and then its argument prototype would still apply. */
33536 /* The GNU C library defines this for functions which it implements
33537 to always fail with ENOSYS. Some functions are actually named
33538 something starting with __ and the normal name is an alias. */
33539 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33542 char (*f) () = fp_trap;
33551 return f != fp_trap;
33556 rm -f conftest.$ac_objext conftest$ac_exeext
33557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33558 (eval $ac_link) 2>conftest.er1
33560 grep -v '^ *+' conftest.er1 >conftest.err
33562 cat conftest.err >&5
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); } &&
33565 { ac_try='test -z "$ac_c_werror_flag"
33566 || test ! -s conftest.err'
33567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33568 (eval $ac_try) 2>&5
33570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33571 (exit $ac_status); }; } &&
33572 { ac_try='test -s conftest$ac_exeext'
33573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33574 (eval $ac_try) 2>&5
33576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33577 (exit $ac_status); }; }; then
33578 ac_cv_func_fp_trap=yes
33580 echo "$as_me: failed program was:" >&5
33581 sed 's/^/| /' conftest.$ac_ext >&5
33583 ac_cv_func_fp_trap=no
33585 rm -f conftest.err conftest.$ac_objext \
33586 conftest$ac_exeext conftest.$ac_ext
33588 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33589 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33590 if test $ac_cv_func_fp_trap = yes; then
33592 cat >>confdefs.h <<\_ACEOF
33593 #define HAVE_FP_TRAP 1
33598 echo "$as_me:$LINENO: checking for fp_enable" >&5
33599 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33600 if test "${ac_cv_func_fp_enable+set}" = set; then
33601 echo $ECHO_N "(cached) $ECHO_C" >&6
33603 if test x$gcc_no_link = xyes; then
33604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33606 { (exit 1); exit 1; }; }
33608 cat >conftest.$ac_ext <<_ACEOF
33611 cat confdefs.h >>conftest.$ac_ext
33612 cat >>conftest.$ac_ext <<_ACEOF
33613 /* end confdefs.h. */
33614 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33616 #define fp_enable innocuous_fp_enable
33618 /* System header to define __stub macros and hopefully few prototypes,
33619 which can conflict with char fp_enable (); below.
33620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33621 <limits.h> exists even on freestanding compilers. */
33624 # include <limits.h>
33626 # include <assert.h>
33631 /* Override any gcc2 internal prototype to avoid an error. */
33636 /* We use char because int might match the return type of a gcc2
33637 builtin and then its argument prototype would still apply. */
33639 /* The GNU C library defines this for functions which it implements
33640 to always fail with ENOSYS. Some functions are actually named
33641 something starting with __ and the normal name is an alias. */
33642 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33645 char (*f) () = fp_enable;
33654 return f != fp_enable;
33659 rm -f conftest.$ac_objext conftest$ac_exeext
33660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33661 (eval $ac_link) 2>conftest.er1
33663 grep -v '^ *+' conftest.er1 >conftest.err
33665 cat conftest.err >&5
33666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33667 (exit $ac_status); } &&
33668 { ac_try='test -z "$ac_c_werror_flag"
33669 || test ! -s conftest.err'
33670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33671 (eval $ac_try) 2>&5
33673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33674 (exit $ac_status); }; } &&
33675 { ac_try='test -s conftest$ac_exeext'
33676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33677 (eval $ac_try) 2>&5
33679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33680 (exit $ac_status); }; }; then
33681 ac_cv_func_fp_enable=yes
33683 echo "$as_me: failed program was:" >&5
33684 sed 's/^/| /' conftest.$ac_ext >&5
33686 ac_cv_func_fp_enable=no
33688 rm -f conftest.err conftest.$ac_objext \
33689 conftest$ac_exeext conftest.$ac_ext
33691 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33692 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33693 if test $ac_cv_func_fp_enable = yes; then
33695 cat >>confdefs.h <<\_ACEOF
33696 #define HAVE_FP_ENABLE 1
33702 # Runs configure.host to set up necessary host-dependent shell variables.
33703 # We then display a message about it, and propagate them through the
33705 . ${srcdir}/configure.host
33706 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33707 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33708 FPU_HOST_HEADER=config/${fpu_host}.h
33711 # Check out attribute support.
33713 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33714 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33715 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33716 echo $ECHO_N "(cached) $ECHO_C" >&6
33719 save_CFLAGS="$CFLAGS"
33720 CFLAGS="$CFLAGS -Werror"
33721 cat >conftest.$ac_ext <<_ACEOF
33724 cat confdefs.h >>conftest.$ac_ext
33725 cat >>conftest.$ac_ext <<_ACEOF
33726 /* end confdefs.h. */
33727 void __attribute__((visibility("hidden"))) foo(void) { }
33736 rm -f conftest.$ac_objext
33737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33738 (eval $ac_compile) 2>conftest.er1
33740 grep -v '^ *+' conftest.er1 >conftest.err
33742 cat conftest.err >&5
33743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33744 (exit $ac_status); } &&
33745 { ac_try='test -z "$ac_c_werror_flag"
33746 || test ! -s conftest.err'
33747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33748 (eval $ac_try) 2>&5
33750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33751 (exit $ac_status); }; } &&
33752 { ac_try='test -s conftest.$ac_objext'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; }; then
33758 libgfor_cv_have_attribute_visibility=yes
33760 echo "$as_me: failed program was:" >&5
33761 sed 's/^/| /' conftest.$ac_ext >&5
33763 libgfor_cv_have_attribute_visibility=no
33765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33766 CFLAGS="$save_CFLAGS"
33768 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33769 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33770 if test $libgfor_cv_have_attribute_visibility = yes; then
33772 cat >>confdefs.h <<\_ACEOF
33773 #define HAVE_ATTRIBUTE_VISIBILITY 1
33778 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33779 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33780 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33781 echo $ECHO_N "(cached) $ECHO_C" >&6
33784 save_CFLAGS="$CFLAGS"
33785 CFLAGS="$CFLAGS -Werror"
33786 cat >conftest.$ac_ext <<_ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33792 void __attribute__((dllexport)) foo(void) { }
33801 rm -f conftest.$ac_objext
33802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33803 (eval $ac_compile) 2>conftest.er1
33805 grep -v '^ *+' conftest.er1 >conftest.err
33807 cat conftest.err >&5
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); } &&
33810 { ac_try='test -z "$ac_c_werror_flag"
33811 || test ! -s conftest.err'
33812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33813 (eval $ac_try) 2>&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); }; } &&
33817 { ac_try='test -s conftest.$ac_objext'
33818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33819 (eval $ac_try) 2>&5
33821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33822 (exit $ac_status); }; }; then
33823 libgfor_cv_have_attribute_dllexport=yes
33825 echo "$as_me: failed program was:" >&5
33826 sed 's/^/| /' conftest.$ac_ext >&5
33828 libgfor_cv_have_attribute_dllexport=no
33830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33831 CFLAGS="$save_CFLAGS"
33833 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33834 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33835 if test $libgfor_cv_have_attribute_dllexport = yes; then
33837 cat >>confdefs.h <<\_ACEOF
33838 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33843 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33844 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33845 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33846 echo $ECHO_N "(cached) $ECHO_C" >&6
33849 if test x$gcc_no_link = xyes; then
33850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33852 { (exit 1); exit 1; }; }
33854 cat >conftest.$ac_ext <<_ACEOF
33857 cat confdefs.h >>conftest.$ac_ext
33858 cat >>conftest.$ac_ext <<_ACEOF
33859 /* end confdefs.h. */
33862 extern void bar(void) __attribute__((alias("foo")));
33871 rm -f conftest.$ac_objext conftest$ac_exeext
33872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33873 (eval $ac_link) 2>conftest.er1
33875 grep -v '^ *+' conftest.er1 >conftest.err
33877 cat conftest.err >&5
33878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33879 (exit $ac_status); } &&
33880 { ac_try='test -z "$ac_c_werror_flag"
33881 || test ! -s conftest.err'
33882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33883 (eval $ac_try) 2>&5
33885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33886 (exit $ac_status); }; } &&
33887 { ac_try='test -s conftest$ac_exeext'
33888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33889 (eval $ac_try) 2>&5
33891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33892 (exit $ac_status); }; }; then
33893 libgfor_cv_have_attribute_alias=yes
33895 echo "$as_me: failed program was:" >&5
33896 sed 's/^/| /' conftest.$ac_ext >&5
33898 libgfor_cv_have_attribute_alias=no
33900 rm -f conftest.err conftest.$ac_objext \
33901 conftest$ac_exeext conftest.$ac_ext
33903 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33904 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33905 if test $libgfor_cv_have_attribute_alias = yes; then
33907 cat >>confdefs.h <<\_ACEOF
33908 #define HAVE_ATTRIBUTE_ALIAS 1
33913 # Check out sync builtins support.
33915 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33916 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33917 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33918 echo $ECHO_N "(cached) $ECHO_C" >&6
33921 if test x$gcc_no_link = xyes; then
33922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33924 { (exit 1); exit 1; }; }
33926 cat >conftest.$ac_ext <<_ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33937 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33938 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33943 rm -f conftest.$ac_objext conftest$ac_exeext
33944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33945 (eval $ac_link) 2>conftest.er1
33947 grep -v '^ *+' conftest.er1 >conftest.err
33949 cat conftest.err >&5
33950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33951 (exit $ac_status); } &&
33952 { ac_try='test -z "$ac_c_werror_flag"
33953 || test ! -s conftest.err'
33954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33955 (eval $ac_try) 2>&5
33957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33958 (exit $ac_status); }; } &&
33959 { ac_try='test -s conftest$ac_exeext'
33960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33961 (eval $ac_try) 2>&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); }; }; then
33965 libgfor_cv_have_sync_fetch_and_add=yes
33967 echo "$as_me: failed program was:" >&5
33968 sed 's/^/| /' conftest.$ac_ext >&5
33970 libgfor_cv_have_sync_fetch_and_add=no
33972 rm -f conftest.err conftest.$ac_objext \
33973 conftest$ac_exeext conftest.$ac_ext
33975 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33976 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33977 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33979 cat >>confdefs.h <<\_ACEOF
33980 #define HAVE_SYNC_FETCH_AND_ADD 1
33985 # Check out thread support.
33987 echo "$as_me:$LINENO: checking configured target thread model" >&5
33988 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33989 if test "${libgfor_cv_target_thread_file+set}" = set; then
33990 echo $ECHO_N "(cached) $ECHO_C" >&6
33993 libgfor_cv_target_thread_file=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33995 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33996 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33998 if test $libgfor_cv_target_thread_file != single; then
34000 cat >>confdefs.h <<\_ACEOF
34001 #define HAVE_GTHR_DEFAULT 1
34006 # Check out #pragma weak.
34008 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
34009 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
34010 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
34011 echo $ECHO_N "(cached) $ECHO_C" >&6
34014 gfor_save_CFLAGS="$CFLAGS"
34015 CFLAGS="$CFLAGS -Wunknown-pragmas"
34016 cat >conftest.$ac_ext <<_ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34032 rm -f conftest.$ac_objext
34033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34034 (eval $ac_compile) 2>conftest.er1
34036 grep -v '^ *+' conftest.er1 >conftest.err
34038 cat conftest.err >&5
34039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34040 (exit $ac_status); } &&
34041 { ac_try='test -z "$ac_c_werror_flag"
34042 || test ! -s conftest.err'
34043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34044 (eval $ac_try) 2>&5
34046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34047 (exit $ac_status); }; } &&
34048 { ac_try='test -s conftest.$ac_objext'
34049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34050 (eval $ac_try) 2>&5
34052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34053 (exit $ac_status); }; }; then
34054 libgfor_cv_have_pragma_weak=yes
34056 echo "$as_me: failed program was:" >&5
34057 sed 's/^/| /' conftest.$ac_ext >&5
34059 libgfor_cv_have_pragma_weak=no
34061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34063 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
34064 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
34065 if test $libgfor_cv_have_pragma_weak = yes; then
34067 cat >>confdefs.h <<\_ACEOF
34068 #define SUPPORTS_WEAK 1
34073 *-*-darwin* | *-*-hpux* | *-*-cygwin* | *-*-mingw* )
34075 cat >>confdefs.h <<\_ACEOF
34076 #define GTHREAD_USE_WEAK 0
34082 # Various other checks on target
34084 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
34085 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
34086 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
34087 echo $ECHO_N "(cached) $ECHO_C" >&6
34090 if test "$cross_compiling" = yes; then
34092 case "${target}" in
34093 *mingw*) libgfor_cv_have_unlink_open_file=no ;;
34094 *) libgfor_cv_have_unlink_open_file=yes;;
34097 cat >conftest.$ac_ext <<_ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34106 #include <unistd.h>
34107 #include <sys/stat.h>
34113 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
34116 if (unlink ("testfile") == -1)
34118 write (fd, "This is a test\n", 15);
34121 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34127 rm -f conftest$ac_exeext
34128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34129 (eval $ac_link) 2>&5
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34134 (eval $ac_try) 2>&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); }; }; then
34138 libgfor_cv_have_unlink_open_file=yes
34140 echo "$as_me: program exited with status $ac_status" >&5
34141 echo "$as_me: failed program was:" >&5
34142 sed 's/^/| /' conftest.$ac_ext >&5
34144 ( exit $ac_status )
34145 libgfor_cv_have_unlink_open_file=no
34147 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34150 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34151 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34152 if test x"$libgfor_cv_have_unlink_open_file" = xyes; then
34154 cat >>confdefs.h <<\_ACEOF
34155 #define HAVE_UNLINK_OPEN_FILE 1
34160 # Check whether line terminator is LF or CRLF
34162 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34163 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34164 if test "${libgfor_cv_have_crlf+set}" = set; then
34165 echo $ECHO_N "(cached) $ECHO_C" >&6
34168 if test "$cross_compiling" = yes; then
34170 case "${target}" in
34171 *mingw*) libgfor_cv_have_crlf=yes ;;
34172 *) libgfor_cv_have_crlf=no;;
34175 cat >conftest.$ac_ext <<_ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34182 /* This test program should exit with status 0 if system uses a CRLF as
34183 line terminator, and status 1 otherwise.
34184 Since it is used to check for mingw systems, and should return 0 in any
34185 other case, in case of a failure we will not use CRLF. */
34186 #include <sys/stat.h>
34187 #include <stdlib.h>
34199 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34202 if (write (fd, "\n", 1) < 0)
34207 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34209 bytes = read (fd, buff, 5);
34210 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34217 rm -f conftest$ac_exeext
34218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34219 (eval $ac_link) 2>&5
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34224 (eval $ac_try) 2>&5
34226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34227 (exit $ac_status); }; }; then
34228 libgfor_cv_have_crlf=yes
34230 echo "$as_me: program exited with status $ac_status" >&5
34231 echo "$as_me: failed program was:" >&5
34232 sed 's/^/| /' conftest.$ac_ext >&5
34234 ( exit $ac_status )
34235 libgfor_cv_have_crlf=no
34237 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34240 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34241 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34242 if test x"$libgfor_cv_have_crlf" = xyes; then
34244 cat >>confdefs.h <<\_ACEOF
34245 #define HAVE_CRLF 1
34250 cat >confcache <<\_ACEOF
34251 # This file is a shell script that caches the results of configure
34252 # tests run on this system so they can be shared between configure
34253 # scripts and configure runs, see configure's option --config-cache.
34254 # It is not useful on other systems. If it contains results you don't
34255 # want to keep, you may remove or edit it.
34257 # config.status only pays attention to the cache file if you give it
34258 # the --recheck option to rerun configure.
34260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34262 # following values.
34266 # The following way of writing the cache mishandles newlines in values,
34267 # but we know of no workaround that is simple, portable, and efficient.
34268 # So, don't put newlines in cache variables' values.
34269 # Ultrix sh set writes to stderr and can't be redirected directly,
34270 # and sets the high bit in the cache file unless we assign to the vars.
34273 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34275 # `set' does not quote correctly, so add quotes (double-quote
34276 # substitution turns \\\\ into \\, and sed turns \\ into \).
34279 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34282 # `set' quotes correctly as required by POSIX, so do not add quotes.
34284 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34291 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34293 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34295 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34296 if test -w $cache_file; then
34297 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34298 cat confcache >$cache_file
34300 echo "not updating unwritable cache $cache_file"
34305 if test ${multilib} = yes; then
34306 multilib_arg="--enable-multilib"
34311 # Write our Makefile.
34312 ac_config_files="$ac_config_files Makefile"
34314 cat >confcache <<\_ACEOF
34315 # This file is a shell script that caches the results of configure
34316 # tests run on this system so they can be shared between configure
34317 # scripts and configure runs, see configure's option --config-cache.
34318 # It is not useful on other systems. If it contains results you don't
34319 # want to keep, you may remove or edit it.
34321 # config.status only pays attention to the cache file if you give it
34322 # the --recheck option to rerun configure.
34324 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34325 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34326 # following values.
34330 # The following way of writing the cache mishandles newlines in values,
34331 # but we know of no workaround that is simple, portable, and efficient.
34332 # So, don't put newlines in cache variables' values.
34333 # Ultrix sh set writes to stderr and can't be redirected directly,
34334 # and sets the high bit in the cache file unless we assign to the vars.
34337 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34339 # `set' does not quote correctly, so add quotes (double-quote
34340 # substitution turns \\\\ into \\, and sed turns \\ into \).
34343 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34346 # `set' quotes correctly as required by POSIX, so do not add quotes.
34348 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34355 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34357 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34359 if diff $cache_file confcache >/dev/null 2>&1; then :; else
34360 if test -w $cache_file; then
34361 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34362 cat confcache >$cache_file
34364 echo "not updating unwritable cache $cache_file"
34369 test "x$prefix" = xNONE && prefix=$ac_default_prefix
34370 # Let make expand exec_prefix.
34371 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
34373 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34374 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34375 # trailing colons and then remove the whole line if VPATH becomes empty
34376 # (actually we leave an empty line to preserve line numbers).
34377 if test "x$srcdir" = x.; then
34378 ac_vpsub='/^[ ]*VPATH[ ]*=/{
34379 s/:*\$(srcdir):*/:/;
34380 s/:*\${srcdir}:*/:/;
34382 s/^\([^=]*=[ ]*\):*/\1/;
34388 DEFS=-DHAVE_CONFIG_H
34392 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
34393 # 1. Remove the extension, and $U if already installed.
34394 ac_i=`echo "$ac_i" |
34395 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34397 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
34398 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
34400 LIBOBJS=$ac_libobjs
34402 LTLIBOBJS=$ac_ltlibobjs
34405 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34406 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34407 Usually this means the macro was only invoked conditionally." >&5
34408 echo "$as_me: error: conditional \"onestep\" was never defined.
34409 Usually this means the macro was only invoked conditionally." >&2;}
34410 { (exit 1); exit 1; }; }
34412 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34413 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34414 Usually this means the macro was only invoked conditionally." >&5
34415 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34416 Usually this means the macro was only invoked conditionally." >&2;}
34417 { (exit 1); exit 1; }; }
34419 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34420 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34421 Usually this means the macro was only invoked conditionally." >&5
34422 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34423 Usually this means the macro was only invoked conditionally." >&2;}
34424 { (exit 1); exit 1; }; }
34426 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34427 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34428 Usually this means the macro was only invoked conditionally." >&5
34429 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34430 Usually this means the macro was only invoked conditionally." >&2;}
34431 { (exit 1); exit 1; }; }
34433 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34434 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34435 Usually this means the macro was only invoked conditionally." >&5
34436 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34437 Usually this means the macro was only invoked conditionally." >&2;}
34438 { (exit 1); exit 1; }; }
34441 : ${CONFIG_STATUS=./config.status}
34442 ac_clean_files_save=$ac_clean_files
34443 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
34444 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34445 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34446 cat >$CONFIG_STATUS <<_ACEOF
34448 # Generated by $as_me.
34449 # Run this file to recreate the current configuration.
34450 # Compiler output produced by configure, useful for debugging
34451 # configure, is in config.log if it exists.
34454 ac_cs_recheck=false
34456 SHELL=\${CONFIG_SHELL-$SHELL}
34459 cat >>$CONFIG_STATUS <<\_ACEOF
34460 ## --------------------- ##
34461 ## M4sh Initialization. ##
34462 ## --------------------- ##
34464 # Be Bourne compatible
34465 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
34468 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34469 # is contrary to our usage. Disable this feature.
34470 alias -g '${1+"$@"}'='"$@"'
34471 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
34474 DUALCASE=1; export DUALCASE # for MKS sh
34476 # Support unset when possible.
34477 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
34484 # Work around bugs in pre-3.0 UWIN ksh.
34485 $as_unset ENV MAIL MAILPATH
34492 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34493 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34494 LC_TELEPHONE LC_TIME
34496 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34497 eval $as_var=C; export $as_var
34503 # Required to use basename.
34504 if expr a : '\(a\)' >/dev/null 2>&1; then
34510 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
34511 as_basename=basename
34517 # Name of the executable.
34518 as_me=`$as_basename "$0" ||
34519 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34520 X"$0" : 'X\(//\)$' \| \
34521 X"$0" : 'X\(/\)$' \| \
34522 . : '\(.\)' 2>/dev/null ||
34524 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34525 /^X\/\(\/\/\)$/{ s//\1/; q; }
34526 /^X\/\(\/\).*/{ s//\1/; q; }
34530 # PATH needs CR, and LINENO needs CR and PATH.
34531 # Avoid depending upon Character Ranges.
34532 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
34533 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34534 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
34535 as_cr_digits='0123456789'
34536 as_cr_alnum=$as_cr_Letters$as_cr_digits
34538 # The user is always right.
34539 if test "${PATH_SEPARATOR+set}" != set; then
34540 echo "#! /bin/sh" >conf$$.sh
34541 echo "exit 0" >>conf$$.sh
34543 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
34552 as_lineno_1=$LINENO
34553 as_lineno_2=$LINENO
34554 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34555 test "x$as_lineno_1" != "x$as_lineno_2" &&
34556 test "x$as_lineno_3" = "x$as_lineno_2" || {
34557 # Find who we are. Look in the path if we contain no path at all
34560 *[\\/]* ) as_myself=$0 ;;
34561 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34562 for as_dir in $PATH
34565 test -z "$as_dir" && as_dir=.
34566 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
34571 # We did not find ourselves, most probably we were run as `sh COMMAND'
34572 # in which case we are not to be found in the path.
34573 if test "x$as_myself" = x; then
34576 if test ! -f "$as_myself"; then
34577 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34578 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34579 { (exit 1); exit 1; }; }
34581 case $CONFIG_SHELL in
34583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34584 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
34587 test -z "$as_dir" && as_dir=.
34588 for as_base in sh bash ksh sh5; do
34591 if ("$as_dir/$as_base" -c '
34592 as_lineno_1=$LINENO
34593 as_lineno_2=$LINENO
34594 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34595 test "x$as_lineno_1" != "x$as_lineno_2" &&
34596 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
34597 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
34598 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
34599 CONFIG_SHELL=$as_dir/$as_base
34600 export CONFIG_SHELL
34601 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34609 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34610 # uniformly replaced by the line number. The first 'sed' inserts a
34611 # line-number line before each line; the second 'sed' does the real
34612 # work. The second script uses 'N' to pair each line-number line
34613 # with the numbered line, and appends trailing '-' during
34614 # substitution so that $LINENO is not a special case at line end.
34615 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34616 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34617 sed '=' <$as_myself |
34622 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34625 s,^['$as_cr_digits']*\n,,
34626 ' >$as_me.lineno &&
34627 chmod +x $as_me.lineno ||
34628 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34629 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34630 { (exit 1); exit 1; }; }
34632 # Don't try to exec as it changes $[0], causing all sort of problems
34633 # (the dirname of $[0] is not the place where we might find the
34634 # original and so on. Autoconf is especially sensible to this).
34636 # Exit status is that of the last command.
34641 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34642 *c*,-n*) ECHO_N= ECHO_C='
34644 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
34645 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
34648 if expr a : '\(a\)' >/dev/null 2>&1; then
34654 rm -f conf$$ conf$$.exe conf$$.file
34656 if ln -s conf$$.file conf$$ 2>/dev/null; then
34657 # We could just check for DJGPP; but this test a) works b) is more generic
34658 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34659 if test -f conf$$.exe; then
34660 # Don't use ln at all; we don't have any links
34665 elif ln conf$$.file conf$$ 2>/dev/null; then
34670 rm -f conf$$ conf$$.exe conf$$.file
34672 if mkdir -p . 2>/dev/null; then
34675 test -d ./-p && rmdir ./-p
34679 as_executable_p="test -f"
34681 # Sed expression to map a string onto a valid CPP name.
34682 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34684 # Sed expression to map a string onto a valid variable name.
34685 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34689 # We need space, tab and new line, in precisely that order.
34699 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34700 # report actual input values of CONFIG_FILES etc. instead of their
34701 # values after options handling. Logging --version etc. is OK.
34705 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34706 ## Running $as_me. ##
34711 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34712 generated by GNU Autoconf 2.59. Invocation command line was
34714 CONFIG_FILES = $CONFIG_FILES
34715 CONFIG_HEADERS = $CONFIG_HEADERS
34716 CONFIG_LINKS = $CONFIG_LINKS
34717 CONFIG_COMMANDS = $CONFIG_COMMANDS
34721 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34725 # Files that config.status was made for.
34726 if test -n "$ac_config_files"; then
34727 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34730 if test -n "$ac_config_headers"; then
34731 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34734 if test -n "$ac_config_links"; then
34735 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34738 if test -n "$ac_config_commands"; then
34739 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34742 cat >>$CONFIG_STATUS <<\_ACEOF
34745 \`$as_me' instantiates files from templates according to the
34746 current configuration.
34748 Usage: $0 [OPTIONS] [FILE]...
34750 -h, --help print this help, then exit
34751 -V, --version print version number, then exit
34752 -q, --quiet do not print progress messages
34753 -d, --debug don't remove temporary files
34754 --recheck update $as_me by reconfiguring in the same conditions
34755 --file=FILE[:TEMPLATE]
34756 instantiate the configuration file FILE
34757 --header=FILE[:TEMPLATE]
34758 instantiate the configuration header FILE
34760 Configuration files:
34763 Configuration headers:
34766 Configuration commands:
34769 Report bugs to <bug-autoconf@gnu.org>."
34772 cat >>$CONFIG_STATUS <<_ACEOF
34774 GNU Fortran Runtime Library config.status 0.3
34775 configured by $0, generated by GNU Autoconf 2.59,
34776 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34778 Copyright (C) 2003 Free Software Foundation, Inc.
34779 This config.status script is free software; the Free Software Foundation
34780 gives unlimited permission to copy, distribute and modify it."
34785 cat >>$CONFIG_STATUS <<\_ACEOF
34786 # If no file are specified by the user, then we need to provide default
34787 # value. By we need to know if files were specified by the user.
34793 ac_option=`expr "x$1" : 'x\([^=]*\)='`
34794 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
34802 *) # This is not an option, so the user has probably given explicit
34805 ac_need_defaults=false;;
34809 # Handling of the options.
34811 cat >>$CONFIG_STATUS <<\_ACEOF
34812 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
34814 --version | --vers* | -V )
34815 echo "$ac_cs_version"; exit 0 ;;
34817 # Conflict between --help and --header
34818 { { echo "$as_me:$LINENO: error: ambiguous option: $1
34819 Try \`$0 --help' for more information." >&5
34820 echo "$as_me: error: ambiguous option: $1
34821 Try \`$0 --help' for more information." >&2;}
34822 { (exit 1); exit 1; }; };;
34823 --help | --hel | -h )
34824 echo "$ac_cs_usage"; exit 0 ;;
34825 --debug | --d* | -d )
34827 --file | --fil | --fi | --f )
34829 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
34830 ac_need_defaults=false;;
34831 --header | --heade | --head | --hea )
34833 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
34834 ac_need_defaults=false;;
34835 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
34836 | -silent | --silent | --silen | --sile | --sil | --si | --s)
34839 # This is an error.
34840 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34841 Try \`$0 --help' for more information." >&5
34842 echo "$as_me: error: unrecognized option: $1
34843 Try \`$0 --help' for more information." >&2;}
34844 { (exit 1); exit 1; }; } ;;
34846 *) ac_config_targets="$ac_config_targets $1" ;;
34852 ac_configure_extra_args=
34854 if $ac_cs_silent; then
34856 ac_configure_extra_args="$ac_configure_extra_args --silent"
34860 cat >>$CONFIG_STATUS <<_ACEOF
34861 if \$ac_cs_recheck; then
34862 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34863 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34868 cat >>$CONFIG_STATUS <<_ACEOF
34870 # INIT-COMMANDS section.
34877 with_multisubdir="$with_multisubdir"
34878 with_multisrctop="$with_multisrctop"
34879 with_target_subdir="$with_target_subdir"
34880 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34881 multi_basedir="$multi_basedir"
34882 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34884 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34887 # The HP-UX ksh and POSIX shell print the target directory to stdout
34888 # if CDPATH is set.
34889 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34891 sed_quote_subst='$sed_quote_subst'
34892 double_quote_subst='$double_quote_subst'
34893 delay_variable_subst='$delay_variable_subst'
34894 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34895 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34896 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34897 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34898 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34899 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34900 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34901 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34902 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34903 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34904 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34905 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34906 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34907 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34908 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34909 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34910 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34911 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34912 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34913 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34914 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34915 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34916 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34917 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34918 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34919 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34920 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34921 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34922 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34923 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34924 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34925 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34926 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34927 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34928 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34929 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34930 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34931 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34932 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34933 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34934 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34935 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34936 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34937 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34938 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"`'
34939 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"`'
34940 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34941 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34942 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34943 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34944 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34945 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34946 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34947 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34948 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34949 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34950 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34951 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34952 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34953 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34954 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34955 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34956 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34957 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34958 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34959 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34960 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34961 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34962 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34963 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34964 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34965 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34966 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34967 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34968 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34969 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34970 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34971 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34972 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34973 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34974 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34975 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34976 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34977 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34978 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34979 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34980 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34981 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34982 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34983 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34984 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34985 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34986 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34987 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34988 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34989 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34990 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34991 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34992 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34993 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34994 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34995 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34996 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34997 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34998 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34999 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35000 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35001 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
35002 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
35003 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
35004 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35005 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
35006 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
35007 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
35008 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
35009 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
35010 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
35011 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
35012 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
35013 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35014 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
35015 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
35016 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
35017 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
35018 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
35019 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35020 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
35021 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
35022 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35023 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
35024 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
35025 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
35026 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
35027 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
35028 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
35029 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35030 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35031 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
35032 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35033 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35034 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35035 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35036 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35037 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35038 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
35039 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35040 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
35041 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35042 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
35043 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
35044 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
35045 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
35046 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
35047 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
35048 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
35049 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
35050 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
35051 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
35052 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
35053 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35054 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
35055 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
35056 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
35057 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
35058 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
35059 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
35060 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
35061 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
35062 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
35063 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
35064 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
35067 LTCFLAGS='$LTCFLAGS'
35068 compiler='$compiler_DEFAULT'
35070 # Quote evaled strings.
35082 deplibs_check_method \
35091 lt_cv_sys_global_symbol_pipe \
35092 lt_cv_sys_global_symbol_to_cdecl \
35093 lt_cv_sys_global_symbol_to_c_name_address \
35094 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
35097 lt_prog_compiler_no_builtin_flag \
35098 lt_prog_compiler_wl \
35099 lt_prog_compiler_pic \
35100 lt_prog_compiler_static \
35101 lt_cv_prog_compiler_c_o \
35109 export_dynamic_flag_spec \
35110 whole_archive_flag_spec \
35111 compiler_needs_object \
35113 allow_undefined_flag \
35114 no_undefined_flag \
35115 hardcode_libdir_flag_spec \
35116 hardcode_libdir_flag_spec_ld \
35117 hardcode_libdir_separator \
35122 variables_saved_for_relink \
35124 library_names_spec \
35129 compiler_lib_search_dirs \
35134 compiler_lib_search_path \
35137 lt_prog_compiler_no_builtin_flag_FC \
35138 lt_prog_compiler_wl_FC \
35139 lt_prog_compiler_pic_FC \
35140 lt_prog_compiler_static_FC \
35141 lt_cv_prog_compiler_c_o_FC \
35142 export_dynamic_flag_spec_FC \
35143 whole_archive_flag_spec_FC \
35144 compiler_needs_object_FC \
35146 allow_undefined_flag_FC \
35147 no_undefined_flag_FC \
35148 hardcode_libdir_flag_spec_FC \
35149 hardcode_libdir_flag_spec_ld_FC \
35150 hardcode_libdir_separator_FC \
35151 fix_srcfile_path_FC \
35152 exclude_expsyms_FC \
35153 include_expsyms_FC \
35154 file_list_spec_FC \
35155 compiler_lib_search_dirs_FC \
35156 predep_objects_FC \
35157 postdep_objects_FC \
35160 compiler_lib_search_path_FC; do
35161 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35162 *[\\\\\\\`\\"\\\$]*)
35163 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35166 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35171 # Double-quote double-evaled strings.
35172 for var in reload_cmds \
35173 old_postinstall_cmds \
35174 old_postuninstall_cmds \
35176 extract_expsyms_cmds \
35177 old_archive_from_new_cmds \
35178 old_archive_from_expsyms_cmds \
35180 archive_expsym_cmds \
35182 module_expsym_cmds \
35183 export_symbols_cmds \
35186 postuninstall_cmds \
35188 sys_lib_search_path_spec \
35189 sys_lib_dlsearch_path_spec \
35190 old_archive_cmds_FC \
35191 old_archive_from_new_cmds_FC \
35192 old_archive_from_expsyms_cmds_FC \
35194 archive_expsym_cmds_FC \
35196 module_expsym_cmds_FC \
35197 export_symbols_cmds_FC \
35198 prelink_cmds_FC; do
35199 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35200 *[\\\\\\\`\\"\\\$]*)
35201 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35204 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35209 # Fix-up fallback echo if it was mangled by the above quoting rules.
35211 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35215 ac_aux_dir='$ac_aux_dir'
35216 xsi_shell='$xsi_shell'
35217 lt_shell_append='$lt_shell_append'
35219 # See if we are running on zsh, and set the options which allow our
35220 # commands through without removal of \ escapes INIT.
35221 if test -n "\${ZSH_VERSION+set}" ; then
35222 setopt NO_GLOB_SUBST
35228 TIMESTAMP='$TIMESTAMP'
35239 acx_cv_header_stdint="$acx_cv_header_stdint"
35240 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35241 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35242 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35243 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35244 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35245 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35246 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35247 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35248 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35249 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35250 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35251 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35252 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35259 cat >>$CONFIG_STATUS <<\_ACEOF
35260 for ac_config_target in $ac_config_targets
35262 case "$ac_config_target" in
35263 # Handling of arguments.
35264 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
35265 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
35266 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
35267 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
35268 "gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS gstdint.h" ;;
35269 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
35270 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35271 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35272 { (exit 1); exit 1; }; };;
35276 # If the user did not use the arguments to specify the items to instantiate,
35277 # then the envvar interface is used. Set only those that are not.
35278 # We use the long form for the default assignment because of an extremely
35279 # bizarre bug on SunOS 4.1.3.
35280 if $ac_need_defaults; then
35281 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
35282 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
35283 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
35286 # Have a temporary directory for convenience. Make it in the build tree
35287 # simply because there is no reason to put it here, and in addition,
35288 # creating and moving files from /tmp can sometimes cause problems.
35289 # Create a temporary directory, and hook for its removal unless debugging.
35292 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35293 trap '{ (exit 1); exit 1; }' 1 2 13 15
35296 # Create a (secure) tmp directory for tmp files.
35299 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35300 test -n "$tmp" && test -d "$tmp"
35303 tmp=./confstat$$-$RANDOM
35304 (umask 077 && mkdir $tmp)
35307 echo "$me: cannot create a temporary directory in ." >&2
35308 { (exit 1); exit 1; }
35313 cat >>$CONFIG_STATUS <<_ACEOF
35316 # CONFIG_FILES section.
35319 # No need to generate the scripts if there are no CONFIG_FILES.
35320 # This happens for instance when ./config.status config.h
35321 if test -n "\$CONFIG_FILES"; then
35322 # Protect against being on the right side of a sed subst in config.status.
35323 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35324 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35325 s,@SHELL@,$SHELL,;t t
35326 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35327 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35328 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35329 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35330 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35331 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35332 s,@exec_prefix@,$exec_prefix,;t t
35333 s,@prefix@,$prefix,;t t
35334 s,@program_transform_name@,$program_transform_name,;t t
35335 s,@bindir@,$bindir,;t t
35336 s,@sbindir@,$sbindir,;t t
35337 s,@libexecdir@,$libexecdir,;t t
35338 s,@datadir@,$datadir,;t t
35339 s,@sysconfdir@,$sysconfdir,;t t
35340 s,@sharedstatedir@,$sharedstatedir,;t t
35341 s,@localstatedir@,$localstatedir,;t t
35342 s,@libdir@,$libdir,;t t
35343 s,@includedir@,$includedir,;t t
35344 s,@oldincludedir@,$oldincludedir,;t t
35345 s,@infodir@,$infodir,;t t
35346 s,@mandir@,$mandir,;t t
35347 s,@build_alias@,$build_alias,;t t
35348 s,@host_alias@,$host_alias,;t t
35349 s,@target_alias@,$target_alias,;t t
35350 s,@DEFS@,$DEFS,;t t
35351 s,@ECHO_C@,$ECHO_C,;t t
35352 s,@ECHO_N@,$ECHO_N,;t t
35353 s,@ECHO_T@,$ECHO_T,;t t
35354 s,@LIBS@,$LIBS,;t t
35355 s,@build@,$build,;t t
35356 s,@build_cpu@,$build_cpu,;t t
35357 s,@build_vendor@,$build_vendor,;t t
35358 s,@build_os@,$build_os,;t t
35359 s,@build_libsubdir@,$build_libsubdir,;t t
35360 s,@build_subdir@,$build_subdir,;t t
35361 s,@host_subdir@,$host_subdir,;t t
35362 s,@target_subdir@,$target_subdir,;t t
35363 s,@onestep_TRUE@,$onestep_TRUE,;t t
35364 s,@onestep_FALSE@,$onestep_FALSE,;t t
35365 s,@onestep@,$onestep,;t t
35366 s,@host@,$host,;t t
35367 s,@host_cpu@,$host_cpu,;t t
35368 s,@host_vendor@,$host_vendor,;t t
35369 s,@host_os@,$host_os,;t t
35370 s,@target@,$target,;t t
35371 s,@target_cpu@,$target_cpu,;t t
35372 s,@target_vendor@,$target_vendor,;t t
35373 s,@target_os@,$target_os,;t t
35374 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35375 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35376 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35377 s,@CYGPATH_W@,$CYGPATH_W,;t t
35378 s,@PACKAGE@,$PACKAGE,;t t
35379 s,@VERSION@,$VERSION,;t t
35380 s,@ACLOCAL@,$ACLOCAL,;t t
35381 s,@AUTOCONF@,$AUTOCONF,;t t
35382 s,@AUTOMAKE@,$AUTOMAKE,;t t
35383 s,@AUTOHEADER@,$AUTOHEADER,;t t
35384 s,@MAKEINFO@,$MAKEINFO,;t t
35385 s,@install_sh@,$install_sh,;t t
35386 s,@STRIP@,$STRIP,;t t
35387 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35388 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35389 s,@mkdir_p@,$mkdir_p,;t t
35391 s,@SET_MAKE@,$SET_MAKE,;t t
35392 s,@am__leading_dot@,$am__leading_dot,;t t
35393 s,@AMTAR@,$AMTAR,;t t
35394 s,@am__tar@,$am__tar,;t t
35395 s,@am__untar@,$am__untar,;t t
35396 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35397 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35398 s,@MAINT@,$MAINT,;t t
35399 s,@multi_basedir@,$multi_basedir,;t t
35400 s,@toolexecdir@,$toolexecdir,;t t
35401 s,@toolexeclibdir@,$toolexeclibdir,;t t
35403 s,@ac_ct_CC@,$ac_ct_CC,;t t
35404 s,@EXEEXT@,$EXEEXT,;t t
35405 s,@OBJEXT@,$OBJEXT,;t t
35406 s,@DEPDIR@,$DEPDIR,;t t
35407 s,@am__include@,$am__include,;t t
35408 s,@am__quote@,$am__quote,;t t
35409 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35410 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35411 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35412 s,@CCDEPMODE@,$CCDEPMODE,;t t
35413 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35414 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35415 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35416 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35417 s,@CFLAGS@,$CFLAGS,;t t
35418 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35419 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35420 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
35422 s,@ac_ct_AS@,$ac_ct_AS,;t t
35424 s,@ac_ct_AR@,$ac_ct_AR,;t t
35425 s,@RANLIB@,$RANLIB,;t t
35426 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35427 s,@LIBTOOL@,$LIBTOOL,;t t
35429 s,@EGREP@,$EGREP,;t t
35430 s,@FGREP@,$FGREP,;t t
35431 s,@GREP@,$GREP,;t t
35433 s,@DUMPBIN@,$DUMPBIN,;t t
35434 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35436 s,@LN_S@,$LN_S,;t t
35437 s,@OBJDUMP@,$OBJDUMP,;t t
35438 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35439 s,@lt_ECHO@,$lt_ECHO,;t t
35440 s,@DSYMUTIL@,$DSYMUTIL,;t t
35441 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35442 s,@NMEDIT@,$NMEDIT,;t t
35443 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35444 s,@LIPO@,$LIPO,;t t
35445 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35446 s,@OTOOL@,$OTOOL,;t t
35447 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35448 s,@OTOOL64@,$OTOOL64,;t t
35449 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35451 s,@CPPFLAGS@,$CPPFLAGS,;t t
35452 s,@enable_shared@,$enable_shared,;t t
35453 s,@enable_static@,$enable_static,;t t
35455 s,@FCFLAGS@,$FCFLAGS,;t t
35456 s,@LDFLAGS@,$LDFLAGS,;t t
35457 s,@ac_ct_FC@,$ac_ct_FC,;t t
35458 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35459 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35460 s,@LIBOBJS@,$LIBOBJS,;t t
35461 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35466 cat >>$CONFIG_STATUS <<\_ACEOF
35467 # Split the substitutions into bite-sized pieces for seds with
35468 # small command number limits, like on Digital OSF/1 and HP-UX.
35469 ac_max_sed_lines=48
35470 ac_sed_frag=1 # Number of current file.
35471 ac_beg=1 # First line for current file.
35472 ac_end=$ac_max_sed_lines # Line after last line for current file.
35475 while $ac_more_lines; do
35476 if test $ac_beg -gt 1; then
35477 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35479 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
35481 if test ! -s $tmp/subs.frag; then
35482 ac_more_lines=false
35484 # The purpose of the label and of the branching condition is to
35485 # speed up the sed processing (if there are no `@' at all, there
35486 # is no need to browse any of the substitutions).
35487 # These are the two extra sed commands mentioned above.
35489 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
35490 if test -z "$ac_sed_cmds"; then
35491 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
35493 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35495 ac_sed_frag=`expr $ac_sed_frag + 1`
35497 ac_end=`expr $ac_end + $ac_max_sed_lines`
35500 if test -z "$ac_sed_cmds"; then
35503 fi # test -n "$CONFIG_FILES"
35506 cat >>$CONFIG_STATUS <<\_ACEOF
35507 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
35508 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35510 - | *:- | *:-:* ) # input from stdin
35512 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35513 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35514 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35515 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35516 * ) ac_file_in=$ac_file.in ;;
35519 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35520 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35521 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35522 X"$ac_file" : 'X\(//\)[^/]' \| \
35523 X"$ac_file" : 'X\(//\)$' \| \
35524 X"$ac_file" : 'X\(/\)' \| \
35525 . : '\(.\)' 2>/dev/null ||
35527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35528 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35529 /^X\(\/\/\)$/{ s//\1/; q; }
35530 /^X\(\/\).*/{ s//\1/; q; }
35532 { if $as_mkdir_p; then
35537 while test ! -d "$as_dir"; do
35538 as_dirs="$as_dir $as_dirs"
35539 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35540 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35541 X"$as_dir" : 'X\(//\)[^/]' \| \
35542 X"$as_dir" : 'X\(//\)$' \| \
35543 X"$as_dir" : 'X\(/\)' \| \
35544 . : '\(.\)' 2>/dev/null ||
35546 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35547 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35548 /^X\(\/\/\)$/{ s//\1/; q; }
35549 /^X\(\/\).*/{ s//\1/; q; }
35552 test ! -n "$as_dirs" || mkdir $as_dirs
35553 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35554 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35555 { (exit 1); exit 1; }; }; }
35559 if test "$ac_dir" != .; then
35560 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35561 # A "../" for each directory in $ac_dir_suffix.
35562 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35564 ac_dir_suffix= ac_top_builddir=
35568 .) # No --srcdir option. We are building in place.
35570 if test -z "$ac_top_builddir"; then
35573 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
35575 [\\/]* | ?:[\\/]* ) # Absolute path.
35576 ac_srcdir=$srcdir$ac_dir_suffix;
35577 ac_top_srcdir=$srcdir ;;
35578 *) # Relative path.
35579 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
35580 ac_top_srcdir=$ac_top_builddir$srcdir ;;
35583 # Do not use `cd foo && pwd` to compute absolute paths, because
35584 # the directories may not exist.
35586 .) ac_abs_builddir="$ac_dir";;
35589 .) ac_abs_builddir=`pwd`;;
35590 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
35591 *) ac_abs_builddir=`pwd`/"$ac_dir";;
35594 case $ac_abs_builddir in
35595 .) ac_abs_top_builddir=${ac_top_builddir}.;;
35597 case ${ac_top_builddir}. in
35598 .) ac_abs_top_builddir=$ac_abs_builddir;;
35599 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
35600 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
35603 case $ac_abs_builddir in
35604 .) ac_abs_srcdir=$ac_srcdir;;
35607 .) ac_abs_srcdir=$ac_abs_builddir;;
35608 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
35609 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
35612 case $ac_abs_builddir in
35613 .) ac_abs_top_srcdir=$ac_top_srcdir;;
35615 case $ac_top_srcdir in
35616 .) ac_abs_top_srcdir=$ac_abs_builddir;;
35617 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
35618 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
35624 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
35625 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
35628 if test x"$ac_file" != x-; then
35629 { echo "$as_me:$LINENO: creating $ac_file" >&5
35630 echo "$as_me: creating $ac_file" >&6;}
35633 # Let's still pretend it is `configure' which instantiates (i.e., don't
35634 # use $as_me), people would be surprised to read:
35635 # /* config.h. Generated by config.status. */
35636 if test x"$ac_file" = x-; then
35639 configure_input="$ac_file. "
35641 configure_input=$configure_input"Generated from `echo $ac_file_in |
35642 sed 's,.*/,,'` by configure."
35644 # First look for the input files in the build tree, otherwise in the
35646 ac_file_inputs=`IFS=:
35647 for f in $ac_file_in; do
35649 -) echo $tmp/stdin ;;
35651 # Absolute (can't be DOS-style, as IFS=:)
35652 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35653 echo "$as_me: error: cannot find input file: $f" >&2;}
35654 { (exit 1); exit 1; }; }
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; }
35672 cat >>$CONFIG_STATUS <<_ACEOF
35676 cat >>$CONFIG_STATUS <<\_ACEOF
35678 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
35679 s,@configure_input@,$configure_input,;t t
35680 s,@srcdir@,$ac_srcdir,;t t
35681 s,@abs_srcdir@,$ac_abs_srcdir,;t t
35682 s,@top_srcdir@,$ac_top_srcdir,;t t
35683 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
35684 s,@builddir@,$ac_builddir,;t t
35685 s,@abs_builddir@,$ac_abs_builddir,;t t
35686 s,@top_builddir@,$ac_top_builddir,;t t
35687 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
35688 s,@INSTALL@,$ac_INSTALL,;t t
35689 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35691 if test x"$ac_file" != x-; then
35692 mv $tmp/out $ac_file
35700 cat >>$CONFIG_STATUS <<\_ACEOF
35703 # CONFIG_HEADER section.
35706 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
35707 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35709 # ac_d sets the value in "#define NAME VALUE" lines.
35710 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35711 ac_dB='[ ].*$,\1#\2'
35714 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35715 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35716 ac_uB='$,\1#\2define\3'
35720 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
35721 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35723 - | *:- | *:-:* ) # input from stdin
35725 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35726 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35727 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
35728 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
35729 * ) ac_file_in=$ac_file.in ;;
35732 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
35733 echo "$as_me: creating $ac_file" >&6;}
35735 # First look for the input files in the build tree, otherwise in the
35737 ac_file_inputs=`IFS=:
35738 for f in $ac_file_in; do
35740 -) echo $tmp/stdin ;;
35742 # Absolute (can't be DOS-style, as IFS=:)
35743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35744 echo "$as_me: error: cannot find input file: $f" >&2;}
35745 { (exit 1); exit 1; }; }
35746 # Do quote $f, to prevent DOS paths from being IFS'd.
35749 if test -f "$f"; then
35752 elif test -f "$srcdir/$f"; then
35757 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35758 echo "$as_me: error: cannot find input file: $f" >&2;}
35759 { (exit 1); exit 1; }; }
35762 done` || { (exit 1); exit 1; }
35763 # Remove the trailing spaces.
35764 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35768 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35769 # `conftest.undefs', that substitutes the proper values into
35770 # config.h.in to produce config.h. The first handles `#define'
35771 # templates, and the second `#undef' templates.
35772 # And first: Protect against being on the right side of a sed subst in
35773 # config.status. Protect against being in an unquoted here document
35774 # in config.status.
35775 rm -f conftest.defines conftest.undefs
35776 # Using a here document instead of a string reduces the quoting nightmare.
35777 # Putting comments in sed scripts is not portable.
35779 # `end' is used to avoid that the second main sed command (meant for
35780 # 0-ary CPP macros) applies to n-ary macro definitions.
35781 # See the Autoconf documentation for `clear'.
35782 cat >confdef2sed.sed <<\_ACEOF
35787 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35789 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35792 # If some macros were called several times there might be several times
35793 # the same #defines, which is useless. Nevertheless, we may not want to
35794 # sort them, since we want the *last* AC-DEFINE to be honored.
35795 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35796 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35797 rm -f confdef2sed.sed
35799 # This sed command replaces #undef with comments. This is necessary, for
35800 # example, in the case of _POSIX_SOURCE, which is predefined and required
35801 # on some systems where configure will not decide to define it.
35802 cat >>conftest.undefs <<\_ACEOF
35803 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35806 # Break up conftest.defines because some shells have a limit on the size
35807 # of here documents, and old seds have small limits too (100 cmds).
35808 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35809 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35810 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35811 echo ' :' >>$CONFIG_STATUS
35812 rm -f conftest.tail
35813 while grep . conftest.defines >/dev/null
35815 # Write a limited-size here document to $tmp/defines.sed.
35816 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35817 # Speed up: don't consider the non `#define' lines.
35818 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35819 # Work around the forget-to-reset-the-flag bug.
35820 echo 't clr' >>$CONFIG_STATUS
35821 echo ': clr' >>$CONFIG_STATUS
35822 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
35824 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35826 mv $tmp/out $tmp/in
35828 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
35829 rm -f conftest.defines
35830 mv conftest.tail conftest.defines
35832 rm -f conftest.defines
35833 echo ' fi # grep' >>$CONFIG_STATUS
35834 echo >>$CONFIG_STATUS
35836 # Break up conftest.undefs because some shells have a limit on the size
35837 # of here documents, and old seds have small limits too (100 cmds).
35838 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35839 rm -f conftest.tail
35840 while grep . conftest.undefs >/dev/null
35842 # Write a limited-size here document to $tmp/undefs.sed.
35843 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35844 # Speed up: don't consider the non `#undef'
35845 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35846 # Work around the forget-to-reset-the-flag bug.
35847 echo 't clr' >>$CONFIG_STATUS
35848 echo ': clr' >>$CONFIG_STATUS
35849 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35851 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35853 mv $tmp/out $tmp/in
35855 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35856 rm -f conftest.undefs
35857 mv conftest.tail conftest.undefs
35859 rm -f conftest.undefs
35861 cat >>$CONFIG_STATUS <<\_ACEOF
35862 # Let's still pretend it is `configure' which instantiates (i.e., don't
35863 # use $as_me), people would be surprised to read:
35864 # /* config.h. Generated by config.status. */
35865 if test x"$ac_file" = x-; then
35866 echo "/* Generated by configure. */" >$tmp/config.h
35868 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35870 cat $tmp/in >>$tmp/config.h
35872 if test x"$ac_file" != x-; then
35873 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
35874 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35875 echo "$as_me: $ac_file is unchanged" >&6;}
35877 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
35878 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35879 X"$ac_file" : 'X\(//\)[^/]' \| \
35880 X"$ac_file" : 'X\(//\)$' \| \
35881 X"$ac_file" : 'X\(/\)' \| \
35882 . : '\(.\)' 2>/dev/null ||
35884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35886 /^X\(\/\/\)$/{ s//\1/; q; }
35887 /^X\(\/\).*/{ s//\1/; q; }
35889 { if $as_mkdir_p; then
35894 while test ! -d "$as_dir"; do
35895 as_dirs="$as_dir $as_dirs"
35896 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35897 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35898 X"$as_dir" : 'X\(//\)[^/]' \| \
35899 X"$as_dir" : 'X\(//\)$' \| \
35900 X"$as_dir" : 'X\(/\)' \| \
35901 . : '\(.\)' 2>/dev/null ||
35903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35904 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35905 /^X\(\/\/\)$/{ s//\1/; q; }
35906 /^X\(\/\).*/{ s//\1/; q; }
35909 test ! -n "$as_dirs" || mkdir $as_dirs
35910 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35911 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35912 { (exit 1); exit 1; }; }; }
35915 mv $tmp/config.h $ac_file
35919 rm -f $tmp/config.h
35921 # Compute $ac_file's index in $config_headers.
35923 for _am_header in $config_headers :; do
35924 case $_am_header in
35925 $ac_file | $ac_file:* )
35928 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
35931 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35932 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35933 X$ac_file : 'X\(//\)[^/]' \| \
35934 X$ac_file : 'X\(//\)$' \| \
35935 X$ac_file : 'X\(/\)' \| \
35936 . : '\(.\)' 2>/dev/null ||
35938 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35939 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35940 /^X\(\/\/\)$/{ s//\1/; q; }
35941 /^X\(\/\).*/{ s//\1/; q; }
35942 s/.*/./; q'`/stamp-h$_am_stamp_count
35945 cat >>$CONFIG_STATUS <<\_ACEOF
35948 # CONFIG_COMMANDS section.
35950 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
35951 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
35952 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
35953 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
35954 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35955 X"$ac_dest" : 'X\(//\)[^/]' \| \
35956 X"$ac_dest" : 'X\(//\)$' \| \
35957 X"$ac_dest" : 'X\(/\)' \| \
35958 . : '\(.\)' 2>/dev/null ||
35960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35962 /^X\(\/\/\)$/{ s//\1/; q; }
35963 /^X\(\/\).*/{ s//\1/; q; }
35965 { if $as_mkdir_p; then
35970 while test ! -d "$as_dir"; do
35971 as_dirs="$as_dir $as_dirs"
35972 as_dir=`(dirname "$as_dir") 2>/dev/null ||
35973 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35974 X"$as_dir" : 'X\(//\)[^/]' \| \
35975 X"$as_dir" : 'X\(//\)$' \| \
35976 X"$as_dir" : 'X\(/\)' \| \
35977 . : '\(.\)' 2>/dev/null ||
35979 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35980 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35981 /^X\(\/\/\)$/{ s//\1/; q; }
35982 /^X\(\/\).*/{ s//\1/; q; }
35985 test ! -n "$as_dirs" || mkdir $as_dirs
35986 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35987 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35988 { (exit 1); exit 1; }; }; }
35992 if test "$ac_dir" != .; then
35993 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35994 # A "../" for each directory in $ac_dir_suffix.
35995 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35997 ac_dir_suffix= ac_top_builddir=
36001 .) # No --srcdir option. We are building in place.
36003 if test -z "$ac_top_builddir"; then
36006 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
36008 [\\/]* | ?:[\\/]* ) # Absolute path.
36009 ac_srcdir=$srcdir$ac_dir_suffix;
36010 ac_top_srcdir=$srcdir ;;
36011 *) # Relative path.
36012 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
36013 ac_top_srcdir=$ac_top_builddir$srcdir ;;
36016 # Do not use `cd foo && pwd` to compute absolute paths, because
36017 # the directories may not exist.
36019 .) ac_abs_builddir="$ac_dir";;
36022 .) ac_abs_builddir=`pwd`;;
36023 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
36024 *) ac_abs_builddir=`pwd`/"$ac_dir";;
36027 case $ac_abs_builddir in
36028 .) ac_abs_top_builddir=${ac_top_builddir}.;;
36030 case ${ac_top_builddir}. in
36031 .) ac_abs_top_builddir=$ac_abs_builddir;;
36032 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
36033 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
36036 case $ac_abs_builddir in
36037 .) ac_abs_srcdir=$ac_srcdir;;
36040 .) ac_abs_srcdir=$ac_abs_builddir;;
36041 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
36042 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
36045 case $ac_abs_builddir in
36046 .) ac_abs_top_srcdir=$ac_top_srcdir;;
36048 case $ac_top_srcdir in
36049 .) ac_abs_top_srcdir=$ac_abs_builddir;;
36050 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
36051 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
36056 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
36057 echo "$as_me: executing $ac_dest commands" >&6;}
36060 # Only add multilib support code if we just rebuilt the top-level
36062 case " $CONFIG_FILES " in
36064 ac_file=Makefile . ${multi_basedir}/config-ml.in
36067 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
36068 # Strip MF so we end up with the name of the file.
36069 mf=`echo "$mf" | sed -e 's/:.*$//'`
36070 # Check whether this is an Automake generated Makefile or not.
36071 # We used to match only the files named `Makefile.in', but
36072 # some people rename them; so instead we look at the file content.
36073 # Grep'ing the first line is not enough: some people post-process
36074 # each Makefile.in and add a new line on top of each file to say so.
36075 # So let's grep whole file.
36076 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
36077 dirpart=`(dirname "$mf") 2>/dev/null ||
36078 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36079 X"$mf" : 'X\(//\)[^/]' \| \
36080 X"$mf" : 'X\(//\)$' \| \
36081 X"$mf" : 'X\(/\)' \| \
36082 . : '\(.\)' 2>/dev/null ||
36084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36085 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36086 /^X\(\/\/\)$/{ s//\1/; q; }
36087 /^X\(\/\).*/{ s//\1/; q; }
36092 # Extract the definition of DEPDIR, am__include, and am__quote
36093 # from the Makefile without running `make'.
36094 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
36095 test -z "$DEPDIR" && continue
36096 am__include=`sed -n 's/^am__include = //p' < "$mf"`
36097 test -z "am__include" && continue
36098 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
36099 # When using ansi2knr, U may be empty or an underscore; expand it
36100 U=`sed -n 's/^U = //p' < "$mf"`
36101 # Find all dependency output files, they are included files with
36102 # $(DEPDIR) in their names. We invoke sed twice because it is the
36103 # simplest approach to changing $(DEPDIR) to its actual value in the
36105 for file in `sed -n "
36106 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
36107 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
36108 # Make sure the directory exists.
36109 test -f "$dirpart/$file" && continue
36110 fdir=`(dirname "$file") 2>/dev/null ||
36111 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36112 X"$file" : 'X\(//\)[^/]' \| \
36113 X"$file" : 'X\(//\)$' \| \
36114 X"$file" : 'X\(/\)' \| \
36115 . : '\(.\)' 2>/dev/null ||
36117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36119 /^X\(\/\/\)$/{ s//\1/; q; }
36120 /^X\(\/\).*/{ s//\1/; q; }
36122 { if $as_mkdir_p; then
36123 mkdir -p $dirpart/$fdir
36125 as_dir=$dirpart/$fdir
36127 while test ! -d "$as_dir"; do
36128 as_dirs="$as_dir $as_dirs"
36129 as_dir=`(dirname "$as_dir") 2>/dev/null ||
36130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36131 X"$as_dir" : 'X\(//\)[^/]' \| \
36132 X"$as_dir" : 'X\(//\)$' \| \
36133 X"$as_dir" : 'X\(/\)' \| \
36134 . : '\(.\)' 2>/dev/null ||
36136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36137 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36138 /^X\(\/\/\)$/{ s//\1/; q; }
36139 /^X\(\/\).*/{ s//\1/; q; }
36142 test ! -n "$as_dirs" || mkdir $as_dirs
36143 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36144 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36145 { (exit 1); exit 1; }; }; }
36147 # echo "creating $dirpart/$file"
36148 echo '# dummy' > "$dirpart/$file"
36154 # See if we are running on zsh, and set the options which allow our
36155 # commands through without removal of \ escapes.
36156 if test -n "${ZSH_VERSION+set}" ; then
36157 setopt NO_GLOB_SUBST
36160 cfgfile="${ofile}T"
36161 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36164 cat <<_LT_EOF >> "$cfgfile"
36167 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36168 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36169 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36170 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36172 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36173 # 2006, 2007, 2008 Free Software Foundation, Inc.
36174 # Written by Gordon Matzigkeit, 1996
36176 # This file is part of GNU Libtool.
36178 # GNU Libtool is free software; you can redistribute it and/or
36179 # modify it under the terms of the GNU General Public License as
36180 # published by the Free Software Foundation; either version 2 of
36181 # the License, or (at your option) any later version.
36183 # As a special exception to the GNU General Public License,
36184 # if you distribute this file as part of a program or library that
36185 # is built using GNU Libtool, you may include this file under the
36186 # same distribution terms that you use for the rest of that program.
36188 # GNU Libtool is distributed in the hope that it will be useful,
36189 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36190 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36191 # GNU General Public License for more details.
36193 # You should have received a copy of the GNU General Public License
36194 # along with GNU Libtool; see the file COPYING. If not, a copy
36195 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36196 # obtained by writing to the Free Software Foundation, Inc.,
36197 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36200 # The names of the tagged configurations supported by this script.
36201 available_tags="FC "
36203 # ### BEGIN LIBTOOL CONFIG
36205 # Which release of libtool.m4 was used?
36206 macro_version=$macro_version
36207 macro_revision=$macro_revision
36209 # Whether or not to build shared libraries.
36210 build_libtool_libs=$enable_shared
36212 # Whether or not to build static libraries.
36213 build_old_libs=$enable_static
36215 # What type of objects to build.
36218 # Whether or not to optimize for fast installation.
36219 fast_install=$enable_fast_install
36222 host_alias=$host_alias
36226 # The build system.
36227 build_alias=$build_alias
36231 # A sed program that does not truncate output.
36234 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36235 Xsed="\$SED -e 1s/^X//"
36237 # A grep program that handles long lines.
36243 # A literal string matcher.
36246 # A BSD- or MS-compatible name lister.
36249 # Whether we need soft or hard links.
36252 # What is the maximum length of a command?
36253 max_cmd_len=$max_cmd_len
36255 # Object file suffix (normally "o").
36258 # Executable file suffix (normally "").
36261 # whether the shell understands "unset".
36264 # turn spaces into newlines.
36267 # turn newlines into spaces.
36270 # How to create reloadable object files.
36271 reload_flag=$lt_reload_flag
36272 reload_cmds=$lt_reload_cmds
36274 # An object symbol dumper.
36275 OBJDUMP=$lt_OBJDUMP
36277 # Method to check whether dependent libraries are shared objects.
36278 deplibs_check_method=$lt_deplibs_check_method
36280 # Command to use when deplibs_check_method == "file_magic".
36281 file_magic_cmd=$lt_file_magic_cmd
36285 AR_FLAGS=$lt_AR_FLAGS
36287 # A symbol stripping program.
36290 # Commands used to install an old-style archive.
36292 old_postinstall_cmds=$lt_old_postinstall_cmds
36293 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36298 # LTCC compiler flags.
36299 LTCFLAGS=$lt_CFLAGS
36301 # Take the output of nm and produce a listing of raw symbols and C names.
36302 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36304 # Transform the output of nm in a proper C declaration.
36305 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36307 # Transform the output of nm in a C name address pair.
36308 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36310 # Transform the output of nm in a C name address pair when lib prefix is needed.
36311 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36313 # The name of the directory that contains temporary libtool files.
36316 # Shell to use when invoking shell scripts.
36319 # An echo program that does not interpret backslashes.
36322 # Used to examine libraries when file_magic_cmd begins with "file".
36323 MAGIC_CMD=$MAGIC_CMD
36325 # Must we lock files when doing compilation?
36326 need_locks=$lt_need_locks
36328 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36329 DSYMUTIL=$lt_DSYMUTIL
36331 # Tool to change global to local symbols on Mac OS X.
36334 # Tool to manipulate fat objects and archives on Mac OS X.
36337 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36340 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36341 OTOOL64=$lt_OTOOL64
36343 # Old archive suffix (normally "a").
36346 # Shared library suffix (normally ".so").
36347 shrext_cmds=$lt_shrext_cmds
36349 # The commands to extract the exported symbol list from a shared archive.
36350 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36352 # Variables whose values should be saved in libtool wrapper scripts and
36353 # restored at link time.
36354 variables_saved_for_relink=$lt_variables_saved_for_relink
36356 # Do we need the "lib" prefix for modules?
36357 need_lib_prefix=$need_lib_prefix
36359 # Do we need a version for libraries?
36360 need_version=$need_version
36362 # Library versioning type.
36363 version_type=$version_type
36365 # Shared library runtime path variable.
36366 runpath_var=$runpath_var
36368 # Shared library path variable.
36369 shlibpath_var=$shlibpath_var
36371 # Is shlibpath searched before the hard-coded library search path?
36372 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36374 # Format of library name prefix.
36375 libname_spec=$lt_libname_spec
36377 # List of archive names. First name is the real one, the rest are links.
36378 # The last name is the one that the linker finds with -lNAME
36379 library_names_spec=$lt_library_names_spec
36381 # The coded name of the library, if different from the real name.
36382 soname_spec=$lt_soname_spec
36384 # Command to use after installation of a shared archive.
36385 postinstall_cmds=$lt_postinstall_cmds
36387 # Command to use after uninstallation of a shared archive.
36388 postuninstall_cmds=$lt_postuninstall_cmds
36390 # Commands used to finish a libtool library installation in a directory.
36391 finish_cmds=$lt_finish_cmds
36393 # As "finish_cmds", except a single script fragment to be evaled but
36395 finish_eval=$lt_finish_eval
36397 # Whether we should hardcode library paths into libraries.
36398 hardcode_into_libs=$hardcode_into_libs
36400 # Compile-time system search path for libraries.
36401 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36403 # Run-time system search path for libraries.
36404 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36406 # Whether dlopen is supported.
36407 dlopen_support=$enable_dlopen
36409 # Whether dlopen of programs is supported.
36410 dlopen_self=$enable_dlopen_self
36412 # Whether dlopen of statically linked programs is supported.
36413 dlopen_self_static=$enable_dlopen_self_static
36415 # Commands to strip libraries.
36416 old_striplib=$lt_old_striplib
36417 striplib=$lt_striplib
36420 # The linker used to build libraries.
36423 # Commands used to build an old-style archive.
36424 old_archive_cmds=$lt_old_archive_cmds
36426 # A language specific compiler.
36429 # Is the compiler the GNU compiler?
36432 # Compiler flag to turn off builtin functions.
36433 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36435 # How to pass a linker flag through the compiler.
36436 wl=$lt_lt_prog_compiler_wl
36438 # Additional compiler flags for building library objects.
36439 pic_flag=$lt_lt_prog_compiler_pic
36441 # Compiler flag to prevent dynamic linking.
36442 link_static_flag=$lt_lt_prog_compiler_static
36444 # Does compiler simultaneously support -c and -o options?
36445 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36447 # Whether or not to add -lc for building shared libraries.
36448 build_libtool_need_lc=$archive_cmds_need_lc
36450 # Whether or not to disallow shared libs when runtime libs are static.
36451 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36453 # Compiler flag to allow reflexive dlopens.
36454 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36456 # Compiler flag to generate shared objects directly from archives.
36457 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36459 # Whether the compiler copes with passing no objects directly.
36460 compiler_needs_object=$lt_compiler_needs_object
36462 # Create an old-style archive from a shared archive.
36463 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36465 # Create a temporary old-style archive to link instead of a shared archive.
36466 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36468 # Commands used to build a shared archive.
36469 archive_cmds=$lt_archive_cmds
36470 archive_expsym_cmds=$lt_archive_expsym_cmds
36472 # Commands used to build a loadable module if different from building
36473 # a shared archive.
36474 module_cmds=$lt_module_cmds
36475 module_expsym_cmds=$lt_module_expsym_cmds
36477 # Whether we are building with GNU ld or not.
36478 with_gnu_ld=$lt_with_gnu_ld
36480 # Flag that allows shared libraries with undefined symbols to be built.
36481 allow_undefined_flag=$lt_allow_undefined_flag
36483 # Flag that enforces no undefined symbols.
36484 no_undefined_flag=$lt_no_undefined_flag
36486 # Flag to hardcode \$libdir into a binary during linking.
36487 # This must work even if \$libdir does not exist
36488 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36490 # If ld is used when linking, flag to hardcode \$libdir into a binary
36491 # during linking. This must work even if \$libdir does not exist.
36492 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36494 # Whether we need a single "-rpath" flag with a separated argument.
36495 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36497 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36498 # DIR into the resulting binary.
36499 hardcode_direct=$hardcode_direct
36501 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36502 # DIR into the resulting binary and the resulting library dependency is
36503 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36504 # library is relocated.
36505 hardcode_direct_absolute=$hardcode_direct_absolute
36507 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36508 # into the resulting binary.
36509 hardcode_minus_L=$hardcode_minus_L
36511 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36512 # into the resulting binary.
36513 hardcode_shlibpath_var=$hardcode_shlibpath_var
36515 # Set to "yes" if building a shared library automatically hardcodes DIR
36516 # into the library and all subsequent libraries and executables linked
36518 hardcode_automatic=$hardcode_automatic
36520 # Set to yes if linker adds runtime paths of dependent libraries
36521 # to runtime path list.
36522 inherit_rpath=$inherit_rpath
36524 # Whether libtool must link a program against all its dependency libraries.
36525 link_all_deplibs=$link_all_deplibs
36527 # Fix the shell variable \$srcfile for the compiler.
36528 fix_srcfile_path=$lt_fix_srcfile_path
36530 # Set to "yes" if exported symbols are required.
36531 always_export_symbols=$always_export_symbols
36533 # The commands to list exported symbols.
36534 export_symbols_cmds=$lt_export_symbols_cmds
36536 # Symbols that should not be listed in the preloaded symbols.
36537 exclude_expsyms=$lt_exclude_expsyms
36539 # Symbols that must always be exported.
36540 include_expsyms=$lt_include_expsyms
36542 # Commands necessary for linking programs (against libraries) with templates.
36543 prelink_cmds=$lt_prelink_cmds
36545 # Specify filename containing input files.
36546 file_list_spec=$lt_file_list_spec
36548 # How to hardcode a shared library path into an executable.
36549 hardcode_action=$hardcode_action
36551 # The directories searched by this compiler when creating a shared library.
36552 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36554 # Dependencies to place before and after the objects being linked to
36555 # create a shared library.
36556 predep_objects=$lt_predep_objects
36557 postdep_objects=$lt_postdep_objects
36558 predeps=$lt_predeps
36559 postdeps=$lt_postdeps
36561 # The library search path used internally by the compiler when linking
36562 # a shared library.
36563 compiler_lib_search_path=$lt_compiler_lib_search_path
36565 # ### END LIBTOOL CONFIG
36571 cat <<\_LT_EOF >> "$cfgfile"
36572 # AIX sometimes has problems with the GCC collect2 program. For some
36573 # reason, if we set the COLLECT_NAMES environment variable, the problems
36574 # vanish in a puff of smoke.
36575 if test "X${COLLECT_NAMES+set}" != Xset; then
36577 export COLLECT_NAMES
36584 ltmain="$ac_aux_dir/ltmain.sh"
36587 # We use sed instead of cat because bash on DJGPP gets confused if
36588 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36589 # text mode, it properly converts lines to CR/LF. This bash problem
36590 # is reportedly fixed, but why not run on old versions too?
36591 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36592 || (rm -f "$cfgfile"; exit 1)
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.
36604 */*) func_dirname_result="${1%/*}${2}" ;;
36605 * ) func_dirname_result="${3}" ;;
36609 # func_basename file
36612 func_basename_result="${1##*/}"
36615 # func_dirname_and_basename file append nondir_replacement
36616 # perform func_basename and func_dirname in a single function
36618 # dirname: Compute the dirname of FILE. If nonempty,
36619 # add APPEND to the result, otherwise set result
36620 # to NONDIR_REPLACEMENT.
36621 # value returned in "$func_dirname_result"
36622 # basename: Compute filename of FILE.
36623 # value retuned in "$func_basename_result"
36624 # Implementation must be kept synchronized with func_dirname
36625 # and func_basename. For efficiency, we do not delegate to
36626 # those functions but instead duplicate the functionality here.
36627 func_dirname_and_basename ()
36630 */*) func_dirname_result="${1%/*}${2}" ;;
36631 * ) func_dirname_result="${3}" ;;
36633 func_basename_result="${1##*/}"
36636 # func_stripname prefix suffix name
36637 # strip PREFIX and SUFFIX off of NAME.
36638 # PREFIX and SUFFIX must not contain globbing or regex special
36639 # characters, hashes, percent signs, but SUFFIX may contain a leading
36640 # dot (in which case that matches only a dot).
36643 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36644 # positional parameters, so assign one to ordinary parameter first.
36645 func_stripname_result=${3}
36646 func_stripname_result=${func_stripname_result#"${1}"}
36647 func_stripname_result=${func_stripname_result%"${2}"}
36653 func_opt_split_opt=${1%%=*}
36654 func_opt_split_arg=${1#*=}
36661 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
36662 *) func_lo2o_result=${1} ;;
36666 # func_xform libobj-or-source
36669 func_xform_result=${1%.*}.lo
36672 # func_arith arithmetic-term...
36675 func_arith_result=$(( $* ))
36679 # STRING may not start with a hyphen.
36682 func_len_result=${#1}
36687 *) # Bourne compatible functions.
36688 cat << \_LT_EOF >> "$cfgfile"
36690 # func_dirname file append nondir_replacement
36691 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36692 # otherwise set result to NONDIR_REPLACEMENT.
36695 # Extract subdirectory from the argument.
36696 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36697 if test "X$func_dirname_result" = "X${1}"; then
36698 func_dirname_result="${3}"
36700 func_dirname_result="$func_dirname_result${2}"
36704 # func_basename file
36707 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
36711 # func_stripname prefix suffix name
36712 # strip PREFIX and SUFFIX off of NAME.
36713 # PREFIX and SUFFIX must not contain globbing or regex special
36714 # characters, hashes, percent signs, but SUFFIX may contain a leading
36715 # dot (in which case that matches only a dot).
36716 # func_strip_suffix prefix name
36720 .*) func_stripname_result=`$ECHO "X${3}" \
36721 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36722 *) func_stripname_result=`$ECHO "X${3}" \
36723 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36728 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
36729 my_sed_long_arg='1s/^-[^=]*=//'
36734 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36735 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36741 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36744 # func_xform libobj-or-source
36747 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36750 # func_arith arithmetic-term...
36753 func_arith_result=`expr "$@"`
36757 # STRING may not start with a hyphen.
36760 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36766 case $lt_shell_append in
36768 cat << \_LT_EOF >> "$cfgfile"
36770 # func_append var value
36771 # Append VALUE to the end of shell variable VAR.
36779 cat << \_LT_EOF >> "$cfgfile"
36781 # func_append var value
36782 # Append VALUE to the end of shell variable VAR.
36793 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36794 || (rm -f "$cfgfile"; exit 1)
36796 mv -f "$cfgfile" "$ofile" ||
36797 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36801 cat <<_LT_EOF >> "$ofile"
36803 # ### BEGIN LIBTOOL TAG CONFIG: FC
36805 # The linker used to build libraries.
36808 # Commands used to build an old-style archive.
36809 old_archive_cmds=$lt_old_archive_cmds_FC
36811 # A language specific compiler.
36814 # Is the compiler the GNU compiler?
36817 # Compiler flag to turn off builtin functions.
36818 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36820 # How to pass a linker flag through the compiler.
36821 wl=$lt_lt_prog_compiler_wl_FC
36823 # Additional compiler flags for building library objects.
36824 pic_flag=$lt_lt_prog_compiler_pic_FC
36826 # Compiler flag to prevent dynamic linking.
36827 link_static_flag=$lt_lt_prog_compiler_static_FC
36829 # Does compiler simultaneously support -c and -o options?
36830 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36832 # Whether or not to add -lc for building shared libraries.
36833 build_libtool_need_lc=$archive_cmds_need_lc_FC
36835 # Whether or not to disallow shared libs when runtime libs are static.
36836 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36838 # Compiler flag to allow reflexive dlopens.
36839 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36841 # Compiler flag to generate shared objects directly from archives.
36842 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36844 # Whether the compiler copes with passing no objects directly.
36845 compiler_needs_object=$lt_compiler_needs_object_FC
36847 # Create an old-style archive from a shared archive.
36848 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36850 # Create a temporary old-style archive to link instead of a shared archive.
36851 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36853 # Commands used to build a shared archive.
36854 archive_cmds=$lt_archive_cmds_FC
36855 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36857 # Commands used to build a loadable module if different from building
36858 # a shared archive.
36859 module_cmds=$lt_module_cmds_FC
36860 module_expsym_cmds=$lt_module_expsym_cmds_FC
36862 # Whether we are building with GNU ld or not.
36863 with_gnu_ld=$lt_with_gnu_ld_FC
36865 # Flag that allows shared libraries with undefined symbols to be built.
36866 allow_undefined_flag=$lt_allow_undefined_flag_FC
36868 # Flag that enforces no undefined symbols.
36869 no_undefined_flag=$lt_no_undefined_flag_FC
36871 # Flag to hardcode \$libdir into a binary during linking.
36872 # This must work even if \$libdir does not exist
36873 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36875 # If ld is used when linking, flag to hardcode \$libdir into a binary
36876 # during linking. This must work even if \$libdir does not exist.
36877 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36879 # Whether we need a single "-rpath" flag with a separated argument.
36880 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36882 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36883 # DIR into the resulting binary.
36884 hardcode_direct=$hardcode_direct_FC
36886 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36887 # DIR into the resulting binary and the resulting library dependency is
36888 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36889 # library is relocated.
36890 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36892 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36893 # into the resulting binary.
36894 hardcode_minus_L=$hardcode_minus_L_FC
36896 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36897 # into the resulting binary.
36898 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36900 # Set to "yes" if building a shared library automatically hardcodes DIR
36901 # into the library and all subsequent libraries and executables linked
36903 hardcode_automatic=$hardcode_automatic_FC
36905 # Set to yes if linker adds runtime paths of dependent libraries
36906 # to runtime path list.
36907 inherit_rpath=$inherit_rpath_FC
36909 # Whether libtool must link a program against all its dependency libraries.
36910 link_all_deplibs=$link_all_deplibs_FC
36912 # Fix the shell variable \$srcfile for the compiler.
36913 fix_srcfile_path=$lt_fix_srcfile_path_FC
36915 # Set to "yes" if exported symbols are required.
36916 always_export_symbols=$always_export_symbols_FC
36918 # The commands to list exported symbols.
36919 export_symbols_cmds=$lt_export_symbols_cmds_FC
36921 # Symbols that should not be listed in the preloaded symbols.
36922 exclude_expsyms=$lt_exclude_expsyms_FC
36924 # Symbols that must always be exported.
36925 include_expsyms=$lt_include_expsyms_FC
36927 # Commands necessary for linking programs (against libraries) with templates.
36928 prelink_cmds=$lt_prelink_cmds_FC
36930 # Specify filename containing input files.
36931 file_list_spec=$lt_file_list_spec_FC
36933 # How to hardcode a shared library path into an executable.
36934 hardcode_action=$hardcode_action_FC
36936 # The directories searched by this compiler when creating a shared library.
36937 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36939 # Dependencies to place before and after the objects being linked to
36940 # create a shared library.
36941 predep_objects=$lt_predep_objects_FC
36942 postdep_objects=$lt_postdep_objects_FC
36943 predeps=$lt_predeps_FC
36944 postdeps=$lt_postdeps_FC
36946 # The library search path used internally by the compiler when linking
36947 # a shared library.
36948 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36950 # ### END LIBTOOL TAG CONFIG: FC
36955 if test "$GCC" = yes; then
36956 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36958 echo "/* generated for $CC */" > tmp-stdint.h
36961 sed 's/^ *//' >> tmp-stdint.h <<EOF
36963 #ifndef GCC_GENERATED_STDINT_H
36964 #define GCC_GENERATED_STDINT_H 1
36966 #include <sys/types.h>
36969 if test "$acx_cv_header_stdint" != stdint.h; then
36970 echo "#include <stddef.h>" >> tmp-stdint.h
36972 if test "$acx_cv_header_stdint" != stddef.h; then
36973 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36976 sed 's/^ *//' >> tmp-stdint.h <<EOF
36977 /* glibc uses these symbols as guards to prevent redefinitions. */
36978 #ifdef __int8_t_defined
36983 #ifdef __uint32_t_defined
36989 # ----------------- done header, emit basic int types -------------
36990 if test "$acx_cv_header_stdint" = stddef.h; then
36991 sed 's/^ *//' >> tmp-stdint.h <<EOF
36995 #ifndef __uint8_t_defined
36996 #define __uint8_t_defined
36997 typedef unsigned $acx_cv_type_int8_t uint8_t;
37003 #ifndef __uint16_t_defined
37004 #define __uint16_t_defined
37005 typedef unsigned $acx_cv_type_int16_t uint16_t;
37011 #ifndef __uint32_t_defined
37012 #define __uint32_t_defined
37013 typedef unsigned $acx_cv_type_int32_t uint32_t;
37019 #ifndef __int8_t_defined
37020 #define __int8_t_defined
37021 typedef $acx_cv_type_int8_t int8_t;
37027 #ifndef __int16_t_defined
37028 #define __int16_t_defined
37029 typedef $acx_cv_type_int16_t int16_t;
37035 #ifndef __int32_t_defined
37036 #define __int32_t_defined
37037 typedef $acx_cv_type_int32_t int32_t;
37041 elif test "$ac_cv_type_u_int32_t" = yes; then
37042 sed 's/^ *//' >> tmp-stdint.h <<EOF
37044 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
37057 #ifndef __uint8_t_defined
37058 #define __uint8_t_defined
37059 typedef u_int8_t uint8_t;
37065 #ifndef __uint16_t_defined
37066 #define __uint16_t_defined
37067 typedef u_int16_t uint16_t;
37073 #ifndef __uint32_t_defined
37074 #define __uint32_t_defined
37075 typedef u_int32_t uint32_t;
37080 sed 's/^ *//' >> tmp-stdint.h <<EOF
37082 /* Some systems have guard macros to prevent redefinitions, define them. */
37104 # ------------- done basic int types, emit int64_t types ------------
37105 if test "$ac_cv_type_uint64_t" = yes; then
37106 sed 's/^ *//' >> tmp-stdint.h <<EOF
37108 /* system headers have good uint64_t and int64_t */
37116 elif test "$ac_cv_type_u_int64_t" = yes; then
37117 sed 's/^ *//' >> tmp-stdint.h <<EOF
37119 /* system headers have an u_int64_t (and int64_t) */
37125 #ifndef __uint64_t_defined
37126 #define __uint64_t_defined
37127 typedef u_int64_t uint64_t;
37131 elif test -n "$acx_cv_type_int64_t"; then
37132 sed 's/^ *//' >> tmp-stdint.h <<EOF
37134 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37137 typedef $acx_cv_type_int64_t int64_t;
37141 #ifndef __uint64_t_defined
37142 #define __uint64_t_defined
37143 typedef unsigned $acx_cv_type_int64_t uint64_t;
37148 sed 's/^ *//' >> tmp-stdint.h <<EOF
37150 /* some common heuristics for int64_t, using compiler-specific tests */
37151 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37154 #ifndef __int64_t_defined
37155 typedef long long int64_t;
37160 typedef unsigned long long uint64_t;
37163 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37164 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37165 does not implement __extension__. But that compiler doesn't define
37167 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37168 # define __extension__
37173 __extension__ typedef long long int64_t;
37177 __extension__ typedef unsigned long long uint64_t;
37180 #elif !defined __STRICT_ANSI__
37181 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37185 typedef __int64 int64_t;
37189 typedef unsigned __int64 uint64_t;
37191 # endif /* compiler */
37193 #endif /* ANSI version */
37197 # ------------- done int64_t types, emit intptr types ------------
37198 if test "$ac_cv_type_uintptr_t" != yes; then
37199 sed 's/^ *//' >> tmp-stdint.h <<EOF
37201 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37202 #ifndef __uintptr_t_defined
37203 typedef u$acx_cv_type_intptr_t uintptr_t;
37205 #ifndef __intptr_t_defined
37206 typedef $acx_cv_type_intptr_t intptr_t;
37211 # ------------- done intptr types, emit int_least types ------------
37212 if test "$ac_cv_type_int_least32_t" != yes; then
37213 sed 's/^ *//' >> tmp-stdint.h <<EOF
37215 /* Define int_least types */
37216 typedef int8_t int_least8_t;
37217 typedef int16_t int_least16_t;
37218 typedef int32_t int_least32_t;
37220 typedef int64_t int_least64_t;
37223 typedef uint8_t uint_least8_t;
37224 typedef uint16_t uint_least16_t;
37225 typedef uint32_t uint_least32_t;
37227 typedef uint64_t uint_least64_t;
37232 # ------------- done intptr types, emit int_fast types ------------
37233 if test "$ac_cv_type_int_fast32_t" != yes; then
37234 sed 's/^ *//' >> tmp-stdint.h <<EOF
37236 /* Define int_fast types. short is often slow */
37237 typedef int8_t int_fast8_t;
37238 typedef int int_fast16_t;
37239 typedef int32_t int_fast32_t;
37241 typedef int64_t int_fast64_t;
37244 typedef uint8_t uint_fast8_t;
37245 typedef unsigned int uint_fast16_t;
37246 typedef uint32_t uint_fast32_t;
37248 typedef uint64_t uint_fast64_t;
37253 if test "$ac_cv_type_uintmax_t" != yes; then
37254 sed 's/^ *//' >> tmp-stdint.h <<EOF
37256 /* Define intmax based on what we found */
37258 typedef int64_t intmax_t;
37260 typedef long intmax_t;
37263 typedef uint64_t uintmax_t;
37265 typedef unsigned long uintmax_t;
37270 sed 's/^ *//' >> tmp-stdint.h <<EOF
37272 #endif /* GCC_GENERATED_STDINT_H */
37275 if test -r gstdint.h && cmp -s tmp-stdint.h gstdint.h; then
37278 mv -f tmp-stdint.h gstdint.h
37286 cat >>$CONFIG_STATUS <<\_ACEOF
37288 { (exit 0); exit 0; }
37290 chmod +x $CONFIG_STATUS
37291 ac_clean_files=$ac_clean_files_save
37294 # configure is writing to config.log, and then calls config.status.
37295 # config.status does its own redirection, appending to config.log.
37296 # Unfortunately, on DOS this fails, as config.log is still kept open
37297 # by configure, so config.status won't be able to write to it; its
37298 # output is simply discarded. So we exec the FD to /dev/null,
37299 # effectively closing config.log, so it can be properly (re)opened and
37300 # appended to by config.status. When coming back to configure, we
37301 # need to make the FD available again.
37302 if test "$no_create" != yes; then
37304 ac_config_status_args=
37305 test "$silent" = yes &&
37306 ac_config_status_args="$ac_config_status_args --quiet"
37308 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
37310 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37311 # would make configure fail if this is the last instruction.
37312 $ac_cs_success || { (exit 1); exit 1; }