2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for GNU Fortran Runtime Library 0.3.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # Check that we are running under the correct shell.
246 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Remove one level of quotation (which was required for Make).
251 ECHO
=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
256 if test "X$1" = X--no-reexec
; then
257 # Discard the --no-reexec flag, and continue.
259 elif test "X$1" = X--fallback-echo
; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo
; then
271 # used as fallback echo
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
281 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset
; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd
in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string
=`eval $cmd`; } 2>/dev
/null
&&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev
/null
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
308 for dir
in $PATH /usr
/ucb
; do
310 if (test -f $dir/echo ||
test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string
=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
320 if test "X$ECHO" = Xecho
; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string
=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
327 elif { test -f /bin
/ksh ||
test -f /bin
/ksh
$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X
/bin
/ksh
; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL
=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL
=/bin
/ksh
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string
=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
343 elif echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string
=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL
=$ORIGINAL_CONFIG_SHELL
349 SHELL
="$CONFIG_SHELL"
351 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string
=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO
="$CONFIG_SHELL $0 --fallback-echo"
358 # maybe with a smaller string...
361 for cmd
in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev
/null
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string
=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
374 # Oops. We lost completely, so just stick with echo.
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO
="$CONFIG_SHELL \\\$\$0 --fallback-echo"
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
403 ac_default_prefix
=/usr
/local
404 ac_config_libobj_dir
=.
409 SHELL
=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME
='GNU Fortran Runtime Library'
418 PACKAGE_TARNAME
='libgfortran'
419 PACKAGE_VERSION
='0.3'
420 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
423 # Factoring default headers for most tests.
424 ac_includes_default
="\
427 # include <sys/types.h>
430 # include <sys/stat.h>
441 # if !STDC_HEADERS && HAVE_MEMORY_H
447 # include <strings.h>
450 # include <inttypes.h>
460 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os build_libsubdir build_subdir host_subdir target_subdir onestep_TRUE onestep_FALSE onestep host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT multi_basedir toolexecdir toolexeclibdir CC ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE AM_FCFLAGS AM_CFLAGS CFLAGS LIBGFOR_USE_SYMVER_TRUE LIBGFOR_USE_SYMVER_FALSE AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 CPP CPPFLAGS enable_shared enable_static FC FCFLAGS LDFLAGS ac_ct_FC extra_ldflags_libgfortran FPU_HOST_HEADER LIBOBJS LTLIBOBJS'
464 # Initialize some variables set by options.
466 ac_init_version
=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
476 program_transform_name
=s
,x
,x
,
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir
='${exec_prefix}/bin'
490 sbindir
='${exec_prefix}/sbin'
491 libexecdir
='${exec_prefix}/libexec'
492 datadir
='${prefix}/share'
493 sysconfdir
='${prefix}/etc'
494 sharedstatedir
='${prefix}/com'
495 localstatedir
='${prefix}/var'
496 libdir
='${exec_prefix}/lib'
497 includedir
='${prefix}/include'
498 oldincludedir
='/usr/include'
499 infodir
='${prefix}/info'
500 mandir
='${prefix}/man'
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
512 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
518 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
520 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
523 -build |
--build |
--buil |
--bui |
--bu)
524 ac_prev
=build_alias
;;
525 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
526 build_alias
=$ac_optarg ;;
528 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
529 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
530 ac_prev
=cache_file
;;
531 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
532 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
533 cache_file
=$ac_optarg ;;
536 cache_file
=config.cache
;;
538 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
540 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
542 datadir
=$ac_optarg ;;
544 -disable-* |
--disable-*)
545 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* |
--enable-*)
554 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
561 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
567 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
568 |
--exec |
--exe |
--ex)
569 ac_prev
=exec_prefix
;;
570 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
571 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
572 |
--exec=* |
--exe=* |
--ex=*)
573 exec_prefix
=$ac_optarg ;;
575 -gas |
--gas |
--ga |
--g)
576 # Obsolete; use --with-gas.
579 -help |
--help |
--hel |
--he |
-h)
581 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
582 ac_init_help
=recursive
;;
583 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
584 ac_init_help
=short
;;
586 -host |
--host |
--hos |
--ho)
587 ac_prev
=host_alias
;;
588 -host=* |
--host=* |
--hos=* |
--ho=*)
589 host_alias
=$ac_optarg ;;
591 -includedir |
--includedir |
--includedi |
--included |
--include \
592 |
--includ |
--inclu |
--incl |
--inc)
593 ac_prev
=includedir
;;
594 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
595 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
596 includedir
=$ac_optarg ;;
598 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
600 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
601 infodir
=$ac_optarg ;;
603 -libdir |
--libdir |
--libdi |
--libd)
605 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
608 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
609 |
--libexe |
--libex |
--libe)
610 ac_prev
=libexecdir
;;
611 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
612 |
--libexe=* |
--libex=* |
--libe=*)
613 libexecdir
=$ac_optarg ;;
615 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
616 |
--localstate |
--localstat |
--localsta |
--localst \
617 |
--locals |
--local |
--loca |
--loc |
--lo)
618 ac_prev
=localstatedir
;;
619 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
620 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
621 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
622 localstatedir
=$ac_optarg ;;
624 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
626 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
630 # Obsolete; use --without-fp.
633 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
634 |
--no-cr |
--no-c |
-n)
637 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
638 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
641 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
642 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
643 |
--oldin |
--oldi |
--old |
--ol |
--o)
644 ac_prev
=oldincludedir
;;
645 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
646 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
647 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
648 oldincludedir
=$ac_optarg ;;
650 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
652 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
655 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
656 |
--program-pre |
--program-pr |
--program-p)
657 ac_prev
=program_prefix
;;
658 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
659 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
660 program_prefix
=$ac_optarg ;;
662 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
663 |
--program-suf |
--program-su |
--program-s)
664 ac_prev
=program_suffix
;;
665 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
666 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
667 program_suffix
=$ac_optarg ;;
669 -program-transform-name |
--program-transform-name \
670 |
--program-transform-nam |
--program-transform-na \
671 |
--program-transform-n |
--program-transform- \
672 |
--program-transform |
--program-transfor \
673 |
--program-transfo |
--program-transf \
674 |
--program-trans |
--program-tran \
675 |
--progr-tra |
--program-tr |
--program-t)
676 ac_prev
=program_transform_name
;;
677 -program-transform-name=* |
--program-transform-name=* \
678 |
--program-transform-nam=* |
--program-transform-na=* \
679 |
--program-transform-n=* |
--program-transform-=* \
680 |
--program-transform=* |
--program-transfor=* \
681 |
--program-transfo=* |
--program-transf=* \
682 |
--program-trans=* |
--program-tran=* \
683 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
684 program_transform_name
=$ac_optarg ;;
686 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
687 |
-silent |
--silent |
--silen |
--sile |
--sil)
690 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
692 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
694 sbindir
=$ac_optarg ;;
696 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
697 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
698 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
700 ac_prev
=sharedstatedir
;;
701 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
702 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
703 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
705 sharedstatedir
=$ac_optarg ;;
707 -site |
--site |
--sit)
709 -site=* |
--site=* |
--sit=*)
712 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
714 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
717 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
718 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
719 ac_prev
=sysconfdir
;;
720 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
721 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
722 sysconfdir
=$ac_optarg ;;
724 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
725 ac_prev
=target_alias
;;
726 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
727 target_alias
=$ac_optarg ;;
729 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
732 -version |
--version |
--versio |
--versi |
--vers |
-V)
736 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* |
--without-*)
749 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package
=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
758 # Obsolete; use --with-x.
761 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
762 |
--x-incl |
--x-inc |
--x-in |
--x-i)
763 ac_prev
=x_includes
;;
764 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
765 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
766 x_includes
=$ac_optarg ;;
768 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
769 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
770 ac_prev
=x_libraries
;;
771 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
772 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
773 x_libraries
=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
781 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
801 if test -n "$ac_prev"; then
802 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var
in exec_prefix prefix
810 eval ac_val
=$
`echo $ac_var`
812 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
818 # Be sure to have absolute paths.
819 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val
=$
`echo $ac_var`
824 [\\/$
]* | ?
:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x
; then
839 if test "x$build_alias" = x
; then
840 cross_compiling
=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
849 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
851 test "$silent" = yes && exec 6>/dev
/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted
=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir
=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
871 if test ! -r $srcdir/$ac_unique_file; then
875 ac_srcdir_defaulted
=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set
=${build_alias+set}
891 ac_env_build_alias_value
=$build_alias
892 ac_cv_env_build_alias_set
=${build_alias+set}
893 ac_cv_env_build_alias_value
=$build_alias
894 ac_env_host_alias_set
=${host_alias+set}
895 ac_env_host_alias_value
=$host_alias
896 ac_cv_env_host_alias_set
=${host_alias+set}
897 ac_cv_env_host_alias_value
=$host_alias
898 ac_env_target_alias_set
=${target_alias+set}
899 ac_env_target_alias_value
=$target_alias
900 ac_cv_env_target_alias_set
=${target_alias+set}
901 ac_cv_env_target_alias_value
=$target_alias
902 ac_env_CPP_set
=${CPP+set}
903 ac_env_CPP_value
=$CPP
904 ac_cv_env_CPP_set
=${CPP+set}
905 ac_cv_env_CPP_value
=$CPP
906 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value
=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
910 ac_env_FC_set
=${FC+set}
912 ac_cv_env_FC_set
=${FC+set}
913 ac_cv_env_FC_value
=$FC
914 ac_env_FCFLAGS_set
=${FCFLAGS+set}
915 ac_env_FCFLAGS_value
=$FCFLAGS
916 ac_cv_env_FCFLAGS_set
=${FCFLAGS+set}
917 ac_cv_env_FCFLAGS_value
=$FCFLAGS
918 ac_env_LDFLAGS_set
=${LDFLAGS+set}
919 ac_env_LDFLAGS_value
=$LDFLAGS
920 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value
=$LDFLAGS
924 # Report the --help message.
926 if test "$ac_init_help" = "long"; then
927 # Omit some internal or obsolete options to make the list less imposing.
928 # This message is too long to be a string in the A/UX 3.1 sh.
930 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
932 Usage: $0 [OPTION]... [VAR=VALUE]...
934 To assign environment variables (e.g., CC, CFLAGS...), specify them as
935 VAR=VALUE. See below for descriptions of some of the useful variables.
937 Defaults for the options are specified in brackets.
940 -h, --help display this help and exit
941 --help=short display options specific to this package
942 --help=recursive display the short help of all the included packages
943 -V, --version display version information and exit
944 -q, --quiet, --silent do not print \`checking...' messages
945 --cache-file=FILE cache test results in FILE [disabled]
946 -C, --config-cache alias for \`--cache-file=config.cache'
947 -n, --no-create do not create output files
948 --srcdir=DIR find the sources in DIR [configure dir or \`..']
953 Installation directories:
954 --prefix=PREFIX install architecture-independent files in PREFIX
956 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
959 By default, \`make install' will install all the files in
960 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
961 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
962 for instance \`--prefix=\$HOME'.
964 For better control, use the options below.
966 Fine tuning of the installation directories:
967 --bindir=DIR user executables [EPREFIX/bin]
968 --sbindir=DIR system admin executables [EPREFIX/sbin]
969 --libexecdir=DIR program executables [EPREFIX/libexec]
970 --datadir=DIR read-only architecture-independent data [PREFIX/share]
971 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
972 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
973 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
974 --libdir=DIR object code libraries [EPREFIX/lib]
975 --includedir=DIR C header files [PREFIX/include]
976 --oldincludedir=DIR C header files for non-gcc [/usr/include]
977 --infodir=DIR info documentation [PREFIX/info]
978 --mandir=DIR man documentation [PREFIX/man]
984 --program-prefix=PREFIX prepend PREFIX to installed program names
985 --program-suffix=SUFFIX append SUFFIX to installed program names
986 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
989 --build=BUILD configure
for building on BUILD
[guessed
]
990 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
991 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
995 if test -n "$ac_init_help"; then
996 case $ac_init_help in
997 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1002 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1003 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1004 --enable-version-specific-runtime-libs Specify that runtime libraries should be installed
in a compiler-specific directory
1005 --enable-intermodule build the library
in one step
1006 --enable-maintainer-mode enable make rules and dependencies not useful
1007 (and sometimes confusing
) to the casual installer
1008 --enable-multilib build many library versions
(default
)
1009 --disable-dependency-tracking speeds up one-time build
1010 --enable-dependency-tracking do not reject slow dependency extractors
1011 --enable-shared[=PKGS
]
1012 build shared libraries
[default
=yes]
1013 --enable-static[=PKGS
]
1014 build static libraries
[default
=yes]
1015 --enable-fast-install[=PKGS
]
1016 optimize
for fast installation
[default
=yes]
1017 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1018 --disable-largefile omit support
for large files
1021 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1022 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1023 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1024 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1026 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1028 Some influential environment variables
:
1029 CC C compiler
command
1030 CFLAGS C compiler flags
1031 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1032 nonstandard directory
<lib dir
>
1033 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
1034 headers
in a nonstandard directory
<include dir
>
1036 FC Fortran compiler
command
1037 FCFLAGS Fortran compiler flags
1039 Use these variables to override the choices made by
`configure' or to help
1040 it to find libraries and programs with nonstandard names/locations.
1045 if test "$ac_init_help" = "recursive"; then
1046 # If there are subdirs, report their specific --help.
1048 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1049 test -d $ac_dir || continue
1052 if test "$ac_dir" != .; then
1053 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1054 # A "../" for each directory in $ac_dir_suffix.
1055 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
1057 ac_dir_suffix= ac_top_builddir=
1061 .) # No --srcdir option. We are building in place.
1063 if test -z "$ac_top_builddir"; then
1066 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
1068 [\\/]* | ?:[\\/]* ) # Absolute path.
1069 ac_srcdir=$srcdir$ac_dir_suffix;
1070 ac_top_srcdir=$srcdir ;;
1072 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1073 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1076 # Do not use `cd foo
&& pwd` to compute absolute paths, because
1077 # the directories may not exist.
1079 .) ac_abs_builddir="$ac_dir";;
1082 .) ac_abs_builddir=`pwd`;;
1083 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1084 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1087 case $ac_abs_builddir in
1088 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1090 case ${ac_top_builddir}. in
1091 .) ac_abs_top_builddir=$ac_abs_builddir;;
1092 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1093 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1096 case $ac_abs_builddir in
1097 .) ac_abs_srcdir=$ac_srcdir;;
1100 .) ac_abs_srcdir=$ac_abs_builddir;;
1101 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1102 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1105 case $ac_abs_builddir in
1106 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1108 case $ac_top_srcdir in
1109 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1110 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1111 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1116 # Check for guested configure; otherwise get Cygnus style configure.
1117 if test -f $ac_srcdir/configure.gnu; then
1119 $SHELL $ac_srcdir/configure.gnu --help=recursive
1120 elif test -f $ac_srcdir/configure; then
1122 $SHELL $ac_srcdir/configure --help=recursive
1123 elif test -f $ac_srcdir/configure.ac ||
1124 test -f $ac_srcdir/configure.in; then
1126 $ac_configure --help
1128 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1134 test -n "$ac_init_help" && exit 0
1135 if $ac_init_version; then
1137 GNU Fortran Runtime Library configure 0.3
1138 generated by GNU Autoconf 2.59
1140 Copyright (C) 2003 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
1152 generated by GNU Autoconf 2.59. Invocation command line was
1163 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1164 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1165 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1166 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1167 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1169 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1170 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1172 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1173 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1174 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1175 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1176 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1177 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1178 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close
' the trap.
1258 trap 'exit_status
=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var
in $ac_subst_vars
1294 eval ac_val
=$
`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var
in $ac_subst_files
1308 eval ac_val
=$
`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h
; then
1321 sed "/^$/d" confdefs.h |
sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core
*.core
&&
1329 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's
/^
/|
/' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 # differences in whitespace do not lead to failure.
1426 ac_old_val_w=`echo x $ac_old_val`
1427 ac_new_val_w=`echo x $ac_new_val`
1428 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1429 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1430 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1431 ac_cache_corrupted=:
1433 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1434 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run
:" >&2;}
1435 eval $ac_var=\$ac_old_val
1437 { echo "$as_me:$LINENO: former value
: \
`$ac_old_val'" >&5
1438 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1439 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1440 echo "$as_me: current value
: \
`$ac_new_val'" >&2;}
1443 # Pass precious variables to config.status.
1444 if test "$ac_new_set" = set; then
1446 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1447 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1448 *) ac_arg=$ac_var=$ac_new_val ;;
1450 case " $ac_configure_args " in
1451 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1452 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1456 if $ac_cache_corrupted; then
1457 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1458 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1459 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1460 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1461 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1462 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1463 { (exit 1); exit 1; }; }
1467 ac_cpp='$CPP $CPPFLAGS'
1468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1501 ac_config_headers="$ac_config_headers config.h"
1504 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1505 if test -f $ac_dir/install-sh; then
1507 ac_install_sh="$ac_aux_dir/install-sh -c"
1509 elif test -f $ac_dir/install.sh; then
1511 ac_install_sh="$ac_aux_dir/install.sh -c"
1513 elif test -f $ac_dir/shtool; then
1515 ac_install_sh="$ac_aux_dir/shtool install -c"
1519 if test -z "$ac_aux_dir"; then
1520 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1521 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1522 { (exit 1); exit 1; }; }
1524 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1525 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1526 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1528 # Make sure we can run config.sub.
1529 $ac_config_sub sun4 >/dev/null 2>&1 ||
1530 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1531 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1532 { (exit 1); exit 1; }; }
1534 echo "$as_me:$LINENO: checking build system type" >&5
1535 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1536 if test "${ac_cv_build+set}" = set; then
1537 echo $ECHO_N "(cached) $ECHO_C" >&6
1539 ac_cv_build_alias=$build_alias
1540 test -z "$ac_cv_build_alias" &&
1541 ac_cv_build_alias=`$ac_config_guess`
1542 test -z "$ac_cv_build_alias" &&
1543 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1544 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1545 { (exit 1); exit 1; }; }
1546 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1547 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1548 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1549 { (exit 1); exit 1; }; }
1552 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1553 echo "${ECHO_T}$ac_cv_build" >&6
1555 build_cpu=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1556 build_vendor=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1557 build_os=`echo $ac_cv_build |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1560 case ${build_alias} in
1561 "") build_noncanonical=${build} ;;
1562 *) build_noncanonical=${build_alias} ;;
1565 case ${host_alias} in
1566 "") host_noncanonical=${build_noncanonical} ;;
1567 *) host_noncanonical=${host_alias} ;;
1570 case ${target_alias} in
1571 "") target_noncanonical=${host_noncanonical} ;;
1572 *) target_noncanonical=${target_alias} ;;
1576 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
1577 # have matching libraries, they should use host libraries: Makefile.tpl
1578 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
1579 # However, they still use the build modules, because the corresponding
1580 # host modules (e.g. bison) are only built for the host when bootstrap
1582 # - build_subdir is where we find build modules, and never changes.
1583 # - build_libsubdir is where we find build libraries, and can be overridden.
1585 # Prefix 'build-' so this never conflicts with target_subdir.
1586 build_subdir="build-${build_noncanonical}"
1588 # Check whether --with-build-libsubdir or --without-build-libsubdir was given.
1589 if test "${with_build_libsubdir+set}" = set; then
1590 withval="$with_build_libsubdir"
1591 build_libsubdir="$withval"
1593 build_libsubdir="$build_subdir"
1595 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
1596 if ( test $srcdir = . && test -d gcc ) \
1597 || test -d $srcdir/../host-${host_noncanonical}; then
1598 host_subdir="host-${host_noncanonical}"
1603 target_subdir=${target_noncanonical}
1610 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
1611 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
1612 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
1613 if test "${enable_version_specific_runtime_libs+set}" = set; then
1614 enableval="$enable_version_specific_runtime_libs"
1615 case "$enableval" in
1616 yes) version_specific_libs=yes ;;
1617 no) version_specific_libs=no ;;
1618 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
1619 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
1620 { (exit 1); exit 1; }; };;
1623 version_specific_libs=no
1625 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
1626 echo "${ECHO_T}$version_specific_libs" >&6
1628 # Build with intermodule optimisations
1629 echo "$as_me:$LINENO: checking for --enable-intermodule" >&5
1630 echo $ECHO_N "checking for --enable-intermodule... $ECHO_C" >&6
1631 # Check whether --enable-intermodule or --disable-intermodule was given.
1632 if test "${enable_intermodule+set}" = set; then
1633 enableval="$enable_intermodule"
1634 case "$enable_intermodule" in
1635 yes) onestep="-onestep";;
1641 echo "$as_me:$LINENO: result: $enable_intermodule" >&5
1642 echo "${ECHO_T}$enable_intermodule" >&6
1645 if test x$onestep = x-onestep; then
1655 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1657 # You will slowly go insane if you do not grok the following fact: when
1658 # building this library, the top-level /target/ becomes the library's /host/.
1660 # configure then causes --target to default to --host, exactly like any
1661 # other package using autoconf. Therefore, 'target' and 'host' will
1662 # always be the same. This makes sense both for native and cross compilers
1663 # just think about it for a little while. :-)
1665 # Also, if this library is being configured as part of a cross compiler, the
1666 # top-level configure script will pass the "real" host as $with_cross_host.
1668 # Do not delete or change the following two lines. For why, see
1669 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1670 echo "$as_me:$LINENO: checking host system type" >&5
1671 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1672 if test "${ac_cv_host+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 ac_cv_host_alias=$host_alias
1676 test -z "$ac_cv_host_alias" &&
1677 ac_cv_host_alias=$ac_cv_build_alias
1678 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1679 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1680 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1681 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1685 echo "${ECHO_T}$ac_cv_host" >&6
1687 host_cpu=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1688 host_vendor=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1689 host_os=`echo $ac_cv_host |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1692 echo "$as_me:$LINENO: checking target system type" >&5
1693 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1694 if test "${ac_cv_target+set}" = set; then
1695 echo $ECHO_N "(cached) $ECHO_C" >&6
1697 ac_cv_target_alias=$target_alias
1698 test "x$ac_cv_target_alias" = "x" &&
1699 ac_cv_target_alias=$ac_cv_host_alias
1700 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1701 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1702 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1703 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1707 echo "${ECHO_T}$ac_cv_target" >&6
1708 target=$ac_cv_target
1709 target_cpu=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1710 target_vendor=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1711 target_os=`echo $ac_cv_target |
sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1714 # The aliases save the names the user supplied, while $host etc.
1715 # will get canonicalized.
1716 test -n "$target_alias" &&
1717 test "$program_prefix$program_suffix$program_transform_name" = \
1719 program_prefix=${target_alias}-
1720 target_alias=${target_alias-$host_alias}
1722 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1723 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1724 # 1.9.6: minimum required version
1725 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1726 # of other PACKAGE_* variables will, however, and there's nothing
1727 # we can do about that; they come from AC_INIT).
1728 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1729 # file in the top srcdir, etc, etc), so stop complaining.
1730 # -Wall: turns on all automake warnings...
1731 # -Wno-portability: ...except this one, since GNU make is required.
1732 am__api_version="1.9"
1733 # Find a good install program. We prefer a C program (faster),
1734 # so one script is as good as another. But avoid the broken or
1735 # incompatible versions:
1736 # SysV /etc/install, /usr/sbin/install
1737 # SunOS /usr/etc/install
1738 # IRIX /sbin/install
1740 # AmigaOS /C/install, which installs bootblocks on floppy discs
1741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1744 # OS/2's system install, which has a completely different semantic
1745 # ./install, which can be erroneously created by make from ./install.sh.
1746 # Reject install programs that cannot install multiple files.
1747 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1748 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1749 if test -z "$INSTALL"; then
1750 if test "${ac_cv_path_install+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1757 test -z "$as_dir" && as_dir=.
1758 # Account for people who put trailing slashes in PATH elements.
1760 ./ | .// | /cC/* | \
1761 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1762 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1765 # OSF1 and SCO ODT 3.0 have their own names for install.
1766 # Don't use installbsd from OSF since it installs stuff as root
1768 for ac_prog in ginstall scoinst install; do
1769 for ac_exec_ext in '' $ac_executable_extensions; do
1770 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1771 if test $ac_prog = install &&
1772 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1773 # AIX install. It has an incompatible calling convention.
1775 elif test $ac_prog = install &&
1776 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1777 # program-specific install script used by HP pwplus--don't use.
1780 rm -rf conftest.one conftest.two conftest.dir
1781 echo one > conftest.one
1782 echo two > conftest.two
1784 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1785 test -s conftest.one && test -s conftest.two &&
1786 test -s conftest.dir/conftest.one &&
1787 test -s conftest.dir/conftest.two
1789 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1800 rm -rf conftest.one conftest.two conftest.dir
1803 if test "${ac_cv_path_install+set}" = set; then
1804 INSTALL=$ac_cv_path_install
1806 # As a last resort, use the slow shell script. Don't cache a
1807 # value for INSTALL within a source directory, because that will
1808 # break other packages using the cache if that directory is
1809 # removed, or if the value is a relative name.
1810 INSTALL=$ac_install_sh
1813 echo "$as_me:$LINENO: result: $INSTALL" >&5
1814 echo "${ECHO_T}$INSTALL" >&6
1816 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1817 # It thinks the first close brace ends the variable substitution.
1818 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1820 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1822 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1824 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1825 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1828 echo timestamp > conftest.file
1829 # Do `set' in a subshell so we don't clobber the current shell
's
1830 # arguments. Must try -L first in case configure is actually a
1831 # symlink; some systems play weird games with the mod time of symlinks
1832 # (eg FreeBSD returns the mod time of the symlink's containing
1835 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1836 if test "$*" = "X"; then
1838 set X
`ls -t $srcdir/configure conftest.file`
1841 if test "$*" != "X $srcdir/configure conftest.file" \
1842 && test "$*" != "X conftest.file $srcdir/configure"; then
1844 # If neither matched, then we have a broken ls. This can happen
1845 # if, for instance, CONFIG_SHELL is bash and it inherits a
1846 # broken ls alias from the environment. This has actually
1847 # happened. Such a system could not be considered "sane".
1848 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1849 alias in your environment" >&5
1850 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1851 alias in your environment" >&2;}
1852 { (exit 1); exit 1; }; }
1855 test "$2" = conftest.
file
1861 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1862 Check your system clock" >&5
1863 echo "$as_me: error: newly created file is older than distributed files!
1864 Check your system clock" >&2;}
1865 { (exit 1); exit 1; }; }
1867 echo "$as_me:$LINENO: result: yes" >&5
1868 echo "${ECHO_T}yes" >&6
1869 test "$program_prefix" != NONE
&&
1870 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1871 # Use a double $ so make ignores it.
1872 test "$program_suffix" != NONE
&&
1873 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1874 # Double any \ or $. echo might interpret backslashes.
1875 # By default was `s,x,x', remove it if useless.
1876 cat <<\_ACEOF
>conftest.
sed
1877 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1879 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1882 # expand $ac_aux_dir to an absolute path
1883 am_aux_dir
=`cd $ac_aux_dir && pwd`
1885 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1886 # Use eval to expand $SHELL
1887 if eval "$MISSING --run true"; then
1888 am_missing_run
="$MISSING --run "
1891 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1892 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1895 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1896 # We used to keeping the `.' as first argument, in order to
1897 # allow $(mkdir_p) to be used without argument. As in
1898 # $(mkdir_p) $(somedir)
1899 # where $(somedir) is conditionally defined. However this is wrong
1901 # 1. if the package is installed by a user who cannot write `.'
1902 # make install will fail,
1903 # 2. the above comment should most certainly read
1904 # $(mkdir_p) $(DESTDIR)$(somedir)
1905 # so it does not work when $(somedir) is undefined and
1906 # $(DESTDIR) is not.
1907 # To support the latter case, we have to write
1908 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1909 # so the `.' trick is pointless.
1910 mkdir_p
='mkdir -p --'
1912 # On NextStep and OpenStep, the `mkdir' command does not
1913 # recognize any option. It will interpret all options as
1914 # directories to create, and then abort because `.' already
1916 for d
in .
/-p .
/--version;
1918 test -d $d && rmdir $d
1920 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1921 if test -f "$ac_aux_dir/mkinstalldirs"; then
1922 mkdir_p
='$(mkinstalldirs)'
1924 mkdir_p
='$(install_sh) -d'
1928 for ac_prog
in gawk mawk nawk
awk
1930 # Extract the first word of "$ac_prog", so it can be a program name with args.
1931 set dummy
$ac_prog; ac_word
=$2
1932 echo "$as_me:$LINENO: checking for $ac_word" >&5
1933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1934 if test "${ac_cv_prog_AWK+set}" = set; then
1935 echo $ECHO_N "(cached) $ECHO_C" >&6
1937 if test -n "$AWK"; then
1938 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1944 test -z "$as_dir" && as_dir
=.
1945 for ac_exec_ext
in '' $ac_executable_extensions; do
1946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1947 ac_cv_prog_AWK
="$ac_prog"
1948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1957 if test -n "$AWK"; then
1958 echo "$as_me:$LINENO: result: $AWK" >&5
1959 echo "${ECHO_T}$AWK" >&6
1961 echo "$as_me:$LINENO: result: no" >&5
1962 echo "${ECHO_T}no" >&6
1965 test -n "$AWK" && break
1968 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1970 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1971 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1972 echo $ECHO_N "(cached) $ECHO_C" >&6
1974 cat >conftest.
make <<\_ACEOF
1976 @
echo 'ac_maketemp="$(MAKE)"'
1978 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1979 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1980 if test -n "$ac_maketemp"; then
1981 eval ac_cv_prog_make_
${ac_make}_set
=yes
1983 eval ac_cv_prog_make_
${ac_make}_set
=no
1987 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1988 echo "$as_me:$LINENO: result: yes" >&5
1989 echo "${ECHO_T}yes" >&6
1992 echo "$as_me:$LINENO: result: no" >&5
1993 echo "${ECHO_T}no" >&6
1994 SET_MAKE
="MAKE=${MAKE-make}"
1997 rm -rf .tst
2>/dev
/null
1998 mkdir .tst
2>/dev
/null
1999 if test -d .tst
; then
2004 rmdir .tst
2>/dev
/null
2006 # test to see if srcdir already configured
2007 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2008 test -f $srcdir/config.status
; then
2009 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2010 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2011 { (exit 1); exit 1; }; }
2014 # test whether we have cygpath
2015 if test -z "$CYGPATH_W"; then
2016 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2017 CYGPATH_W
='cygpath -w'
2024 # Define the identity of the package.
2025 PACKAGE
='libgfortran'
2029 # Some tools Automake needs.
2031 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2034 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2037 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2040 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2043 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2045 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2047 # Installed binaries are usually stripped using `strip' when the user
2048 # run `make install-strip'. However `strip' might not be the right
2049 # tool to use in cross-compilation environments, therefore Automake
2050 # will honor the `STRIP' environment variable to overrule this program.
2051 if test "$cross_compiling" != no
; then
2052 if test -n "$ac_tool_prefix"; then
2053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2054 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2055 echo "$as_me:$LINENO: checking for $ac_word" >&5
2056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2057 if test "${ac_cv_prog_STRIP+set}" = set; then
2058 echo $ECHO_N "(cached) $ECHO_C" >&6
2060 if test -n "$STRIP"; then
2061 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2067 test -z "$as_dir" && as_dir
=.
2068 for ac_exec_ext
in '' $ac_executable_extensions; do
2069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2070 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2079 STRIP
=$ac_cv_prog_STRIP
2080 if test -n "$STRIP"; then
2081 echo "$as_me:$LINENO: result: $STRIP" >&5
2082 echo "${ECHO_T}$STRIP" >&6
2084 echo "$as_me:$LINENO: result: no" >&5
2085 echo "${ECHO_T}no" >&6
2089 if test -z "$ac_cv_prog_STRIP"; then
2091 # Extract the first word of "strip", so it can be a program name with args.
2092 set dummy strip
; ac_word
=$2
2093 echo "$as_me:$LINENO: checking for $ac_word" >&5
2094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2095 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2096 echo $ECHO_N "(cached) $ECHO_C" >&6
2098 if test -n "$ac_ct_STRIP"; then
2099 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2105 test -z "$as_dir" && as_dir
=.
2106 for ac_exec_ext
in '' $ac_executable_extensions; do
2107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2108 ac_cv_prog_ac_ct_STRIP
="strip"
2109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2115 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
2118 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2119 if test -n "$ac_ct_STRIP"; then
2120 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2121 echo "${ECHO_T}$ac_ct_STRIP" >&6
2123 echo "$as_me:$LINENO: result: no" >&5
2124 echo "${ECHO_T}no" >&6
2129 STRIP
="$ac_cv_prog_STRIP"
2133 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2135 # We need awk for the "check" target. The system "awk" is bad on
2137 # Always define AMTAR for backward compatibility.
2139 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2141 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2148 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2149 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
2150 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
2151 if test "${enable_maintainer_mode+set}" = set; then
2152 enableval
="$enable_maintainer_mode"
2153 USE_MAINTAINER_MODE
=$enableval
2155 USE_MAINTAINER_MODE
=no
2157 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2158 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
2161 if test $USE_MAINTAINER_MODE = yes; then
2162 MAINTAINER_MODE_TRUE
=
2163 MAINTAINER_MODE_FALSE
='#'
2165 MAINTAINER_MODE_TRUE
='#'
2166 MAINTAINER_MODE_FALSE
=
2169 MAINT
=$MAINTAINER_MODE_TRUE
2172 # Default to --enable-multilib
2173 # Check whether --enable-multilib or --disable-multilib was given.
2174 if test "${enable_multilib+set}" = set; then
2175 enableval
="$enable_multilib"
2176 case "$enableval" in
2177 yes) multilib
=yes ;;
2179 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
2180 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
2181 { (exit 1); exit 1; }; } ;;
2187 # We may get other options which we leave undocumented:
2188 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2189 # See config-ml.in if you want the gory details.
2191 if test "$srcdir" = "."; then
2192 if test "$with_target_subdir" != "."; then
2193 multi_basedir
="$srcdir/$with_multisrctop../.."
2195 multi_basedir
="$srcdir/$with_multisrctop.."
2198 multi_basedir
="$srcdir/.."
2202 # Even if the default multilib is not a cross compilation,
2203 # it may be that some of the other multilibs are.
2204 if test $cross_compiling = no
&& test $multilib = yes \
2205 && test "x${with_multisubdir}" != x
; then
2206 cross_compiling
=maybe
2209 ac_config_commands
="$ac_config_commands default-1"
2212 # Handy for debugging:
2213 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2215 # Are we being configured with some form of cross compiler?
2216 # NB: We don't actually need to know this just now, but when, say, a test
2217 # suite is included, we'll have to know.
2218 if test "$build" != "$host"; then
2219 LIBGFOR_IS_NATIVE
=false
2222 LIBGFOR_IS_NATIVE
=true
2225 # Calculate toolexeclibdir
2226 # Also toolexecdir, though it's only used in toolexeclibdir
2227 case ${version_specific_libs} in
2229 # Need the gcc compiler version to know where to install libraries
2230 # and header files if --enable-version-specific-runtime-libs option
2232 toolexecdir
='$(libdir)/gcc/$(target_alias)'
2233 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
2236 if test -n "$with_cross_host" &&
2237 test x
"$with_cross_host" != x
"no"; then
2238 # Install a library built with a cross compiler in tooldir, not libdir.
2239 toolexecdir
='$(exec_prefix)/$(target_alias)'
2240 toolexeclibdir
='$(toolexecdir)/lib'
2242 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
2243 toolexeclibdir
='$(libdir)'
2245 multi_os_directory
=`$CC -print-multi-os-directory`
2246 case $multi_os_directory in
2247 .
) ;; # Avoid trailing /.
2248 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
2255 # Check the compiler.
2256 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
2257 # We must force CC to /not/ be precious variables; otherwise
2258 # the wrong, non-multilib-adjusted value will be used in multilibs.
2259 # As a side effect, we have to subst CFLAGS ourselves.
2264 ac_cpp
='$CPP $CPPFLAGS'
2265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2268 if test -n "$ac_tool_prefix"; then
2269 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2270 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2271 echo "$as_me:$LINENO: checking for $ac_word" >&5
2272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2273 if test "${ac_cv_prog_CC+set}" = set; then
2274 echo $ECHO_N "(cached) $ECHO_C" >&6
2276 if test -n "$CC"; then
2277 ac_cv_prog_CC
="$CC" # Let the user override the test.
2279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2283 test -z "$as_dir" && as_dir
=.
2284 for ac_exec_ext
in '' $ac_executable_extensions; do
2285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 if test -n "$CC"; then
2297 echo "$as_me:$LINENO: result: $CC" >&5
2298 echo "${ECHO_T}$CC" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2305 if test -z "$ac_cv_prog_CC"; then
2307 # Extract the first word of "gcc", so it can be a program name with args.
2308 set dummy gcc
; ac_word
=$2
2309 echo "$as_me:$LINENO: checking for $ac_word" >&5
2310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2311 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2312 echo $ECHO_N "(cached) $ECHO_C" >&6
2314 if test -n "$ac_ct_CC"; then
2315 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2321 test -z "$as_dir" && as_dir
=.
2322 for ac_exec_ext
in '' $ac_executable_extensions; do
2323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2324 ac_cv_prog_ac_ct_CC
="gcc"
2325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2336 echo "${ECHO_T}$ac_ct_CC" >&6
2338 echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2351 echo "$as_me:$LINENO: checking for $ac_word" >&5
2352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2353 if test "${ac_cv_prog_CC+set}" = set; then
2354 echo $ECHO_N "(cached) $ECHO_C" >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC
="$CC" # Let the user override the test.
2359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir
=.
2364 for ac_exec_ext
in '' $ac_executable_extensions; do
2365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 if test -n "$CC"; then
2377 echo "$as_me:$LINENO: result: $CC" >&5
2378 echo "${ECHO_T}$CC" >&6
2380 echo "$as_me:$LINENO: result: no" >&5
2381 echo "${ECHO_T}no" >&6
2385 if test -z "$ac_cv_prog_CC"; then
2387 # Extract the first word of "cc", so it can be a program name with args.
2388 set dummy cc
; ac_word
=$2
2389 echo "$as_me:$LINENO: checking for $ac_word" >&5
2390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2391 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2392 echo $ECHO_N "(cached) $ECHO_C" >&6
2394 if test -n "$ac_ct_CC"; then
2395 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2401 test -z "$as_dir" && as_dir
=.
2402 for ac_exec_ext
in '' $ac_executable_extensions; do
2403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2404 ac_cv_prog_ac_ct_CC
="cc"
2405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2413 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2414 if test -n "$ac_ct_CC"; then
2415 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2416 echo "${ECHO_T}$ac_ct_CC" >&6
2418 echo "$as_me:$LINENO: result: no" >&5
2419 echo "${ECHO_T}no" >&6
2428 if test -z "$CC"; then
2429 # Extract the first word of "cc", so it can be a program name with args.
2430 set dummy cc
; ac_word
=$2
2431 echo "$as_me:$LINENO: checking for $ac_word" >&5
2432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2433 if test "${ac_cv_prog_CC+set}" = set; then
2434 echo $ECHO_N "(cached) $ECHO_C" >&6
2436 if test -n "$CC"; then
2437 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2447 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2448 ac_prog_rejected
=yes
2452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test $ac_prog_rejected = yes; then
2459 # We found a bogon in the path, so make sure we never use it.
2460 set dummy
$ac_cv_prog_CC
2462 if test $# != 0; then
2463 # We chose a different compiler from the bogus one.
2464 # However, it has the same basename, so the bogon will be chosen
2465 # first if we set CC to just the basename; use the full file name.
2467 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2473 if test -n "$CC"; then
2474 echo "$as_me:$LINENO: result: $CC" >&5
2475 echo "${ECHO_T}$CC" >&6
2477 echo "$as_me:$LINENO: result: no" >&5
2478 echo "${ECHO_T}no" >&6
2482 if test -z "$CC"; then
2483 if test -n "$ac_tool_prefix"; then
2486 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2487 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2488 echo "$as_me:$LINENO: checking for $ac_word" >&5
2489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2490 if test "${ac_cv_prog_CC+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 if test -n "$CC"; then
2494 ac_cv_prog_CC
="$CC" # Let the user override the test.
2496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2500 test -z "$as_dir" && as_dir
=.
2501 for ac_exec_ext
in '' $ac_executable_extensions; do
2502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2503 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2513 if test -n "$CC"; then
2514 echo "$as_me:$LINENO: result: $CC" >&5
2515 echo "${ECHO_T}$CC" >&6
2517 echo "$as_me:$LINENO: result: no" >&5
2518 echo "${ECHO_T}no" >&6
2521 test -n "$CC" && break
2524 if test -z "$CC"; then
2528 # Extract the first word of "$ac_prog", so it can be a program name with args.
2529 set dummy
$ac_prog; ac_word
=$2
2530 echo "$as_me:$LINENO: checking for $ac_word" >&5
2531 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2532 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2533 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 if test -n "$ac_ct_CC"; then
2536 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2542 test -z "$as_dir" && as_dir
=.
2543 for ac_exec_ext
in '' $ac_executable_extensions; do
2544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2545 ac_cv_prog_ac_ct_CC
="$ac_prog"
2546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2554 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2555 if test -n "$ac_ct_CC"; then
2556 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2557 echo "${ECHO_T}$ac_ct_CC" >&6
2559 echo "$as_me:$LINENO: result: no" >&5
2560 echo "${ECHO_T}no" >&6
2563 test -n "$ac_ct_CC" && break
2572 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2573 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2574 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: no acceptable C compiler found in \$PATH
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }; }
2580 # Provide some information about the compiler.
2581 echo "$as_me:$LINENO:" \
2582 "checking for C compiler version" >&5
2583 ac_compiler
=`set X $ac_compile; echo $2`
2584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2585 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); }
2589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2590 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); }
2594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2595 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }
2600 cat >conftest.
$ac_ext <<_ACEOF
2603 cat confdefs.h
>>conftest.
$ac_ext
2604 cat >>conftest.
$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2617 (eval $ac_link) 2>&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; then
2626 if test x
$gcc_no_link = xyes
; then
2627 # Setting cross_compile will disable run tests; it will
2628 # also disable AC_CHECK_FILE but that's generally
2629 # correct if we can't link.
2633 cat >conftest.
$ac_ext <<_ACEOF
2636 cat confdefs.h
>>conftest.
$ac_ext
2637 cat >>conftest.
$ac_ext <<_ACEOF
2638 /* end confdefs.h. */
2648 ac_clean_files_save
=$ac_clean_files
2649 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2650 # Try to create an executable without -o first, disregard a.out.
2651 # It will help us diagnose broken compilers, and finding out an intuition
2653 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2654 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2655 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2656 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2657 (eval $ac_link_default) 2>&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; then
2661 # Find the output, starting from the most likely. This scheme is
2662 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2665 # Be careful to initialize this variable, since it used to be cached.
2666 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2668 # b.out is created by i960 compilers.
2669 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2671 test -f "$ac_file" ||
continue
2673 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2676 # This is the source file.
2679 # We found the default executable, but exeext='' is most
2683 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2684 # FIXME: I believe we export ac_cv_exeext for Libtool,
2685 # but it would be cool to find out if it's true. Does anybody
2686 # maintain Libtool? --akim.
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2697 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2698 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2700 See \`config.log' for more details." >&5
2701 echo "$as_me: error: C compiler cannot create executables
2702 See \`config.log' for more details." >&2;}
2703 { (exit 77); exit 77; }; }; }
2706 ac_exeext
=$ac_cv_exeext
2707 echo "$as_me:$LINENO: result: $ac_file" >&5
2708 echo "${ECHO_T}$ac_file" >&6
2710 # Check the compiler produces executables we can run. If not, either
2711 # the compiler is broken, or we cross compile.
2712 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2713 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2714 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2715 # If not cross compiling, check that we can run a simple program.
2716 if test "$cross_compiling" != yes; then
2717 if { ac_try
='./$ac_file'
2718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2722 (exit $ac_status); }; }; then
2725 if test "$cross_compiling" = maybe
; then
2728 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2729 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2730 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2731 If you meant to cross compile, use \`--host'.
2732 See \`config.log' for more details." >&5
2733 echo "$as_me: error: cannot run C compiled programs.
2734 If you meant to cross compile, use \`--host'.
2735 See \`config.log' for more details." >&2;}
2736 { (exit 1); exit 1; }; }; }
2740 echo "$as_me:$LINENO: result: yes" >&5
2741 echo "${ECHO_T}yes" >&6
2743 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2744 ac_clean_files
=$ac_clean_files_save
2745 # Check the compiler produces executables we can run. If not, either
2746 # the compiler is broken, or we cross compile.
2747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2750 echo "${ECHO_T}$cross_compiling" >&6
2752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2755 (eval $ac_link) 2>&5
2757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758 (exit $ac_status); }; then
2759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2761 # work properly (i.e., refer to `conftest.exe'), while it won't with
2763 for ac_file
in conftest.exe conftest conftest.
*; do
2764 test -f "$ac_file" ||
continue
2766 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2767 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2774 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2775 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2777 See \`config.log' for more details." >&5
2778 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2779 See \`config.log' for more details." >&2;}
2780 { (exit 1); exit 1; }; }; }
2783 rm -f conftest
$ac_cv_exeext
2784 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2785 echo "${ECHO_T}$ac_cv_exeext" >&6
2787 rm -f conftest.
$ac_ext
2788 EXEEXT
=$ac_cv_exeext
2791 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2792 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2793 if test "${ac_cv_objext+set}" = set; then
2794 echo $ECHO_N "(cached) $ECHO_C" >&6
2796 cat >conftest.
$ac_ext <<_ACEOF
2799 cat confdefs.h
>>conftest.
$ac_ext
2800 cat >>conftest.
$ac_ext <<_ACEOF
2801 /* end confdefs.h. */
2811 rm -f conftest.o conftest.obj
2812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2813 (eval $ac_compile) 2>&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; then
2817 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2819 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2820 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2825 echo "$as_me: failed program was:" >&5
2826 sed 's/^/| /' conftest.
$ac_ext >&5
2828 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2829 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2830 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2831 See \`config.log' for more details." >&5
2832 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2833 See \`config.log' for more details." >&2;}
2834 { (exit 1); exit 1; }; }; }
2837 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2839 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2840 echo "${ECHO_T}$ac_cv_objext" >&6
2841 OBJEXT
=$ac_cv_objext
2843 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2844 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 cat >conftest.
$ac_ext <<_ACEOF
2851 cat confdefs.h
>>conftest.
$ac_ext
2852 cat >>conftest.
$ac_ext <<_ACEOF
2853 /* end confdefs.h. */
2866 rm -f conftest.
$ac_objext
2867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2868 (eval $ac_compile) 2>conftest.er1
2870 grep -v '^ *+' conftest.er1
>conftest.err
2872 cat conftest.err
>&5
2873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 (exit $ac_status); } &&
2875 { ac_try
='test -z "$ac_c_werror_flag"
2876 || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try
='test -s conftest.$ac_objext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.
$ac_ext >&5
2895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2896 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2899 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2900 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2901 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2902 ac_test_CFLAGS
=${CFLAGS+set}
2903 ac_save_CFLAGS
=$CFLAGS
2905 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2906 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2907 if test "${ac_cv_prog_cc_g+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.
$ac_ext <<_ACEOF
2913 cat confdefs.h
>>conftest.
$ac_ext
2914 cat >>conftest.
$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2925 rm -f conftest.
$ac_objext
2926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2927 (eval $ac_compile) 2>conftest.er1
2929 grep -v '^ *+' conftest.er1
>conftest.err
2931 cat conftest.err
>&5
2932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2933 (exit $ac_status); } &&
2934 { ac_try
='test -z "$ac_c_werror_flag"
2935 || test ! -s conftest.err'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; } &&
2941 { ac_try
='test -s conftest.$ac_objext'
2942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2946 (exit $ac_status); }; }; then
2949 echo "$as_me: failed program was:" >&5
2950 sed 's/^/| /' conftest.
$ac_ext >&5
2954 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2956 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2957 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2958 if test "$ac_test_CFLAGS" = set; then
2959 CFLAGS
=$ac_save_CFLAGS
2960 elif test $ac_cv_prog_cc_g = yes; then
2961 if test "$GCC" = yes; then
2967 if test "$GCC" = yes; then
2973 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2974 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2975 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2976 echo $ECHO_N "(cached) $ECHO_C" >&6
2978 ac_cv_prog_cc_stdc
=no
2980 cat >conftest.
$ac_ext <<_ACEOF
2983 cat confdefs.h
>>conftest.
$ac_ext
2984 cat >>conftest.
$ac_ext <<_ACEOF
2985 /* end confdefs.h. */
2988 #include <sys/types.h>
2989 #include <sys/stat.h>
2990 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2991 struct buf { int x; };
2992 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2993 static char *e (p, i)
2999 static char *f (char * (*g) (char **, int), char **p, ...)
3004 s = g (p, va_arg (v,int));
3009 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3010 function prototypes and stuff, but not '\xHH' hex character constants.
3011 These don't provoke an error unfortunately, instead are silently treated
3012 as 'x'. The following induces an error, until -std1 is added to get
3013 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3014 array size at least. It's necessary to write '\x00'==0 to get something
3015 that's true only with -std1. */
3016 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3018 int test (int i, double x);
3019 struct s1 {int (*f) (int a);};
3020 struct s2 {int (*f) (double a);};
3021 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3027 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3032 # Don't try gcc -ansi; that turns off useful extensions and
3033 # breaks some systems' header files.
3034 # AIX -qlanglvl=ansi
3035 # Ultrix and OSF/1 -std1
3036 # HP-UX 10.20 and later -Ae
3037 # HP-UX older versions -Aa -D_HPUX_SOURCE
3038 # SVR4 -Xc -D__EXTENSIONS__
3039 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3041 CC
="$ac_save_CC $ac_arg"
3042 rm -f conftest.
$ac_objext
3043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3044 (eval $ac_compile) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1
>conftest.err
3048 cat conftest.err
>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } &&
3051 { ac_try
='test -z "$ac_c_werror_flag"
3052 || test ! -s conftest.err'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; } &&
3058 { ac_try
='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_prog_cc_stdc
=$ac_arg
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.
$ac_ext >&5
3071 rm -f conftest.err conftest.
$ac_objext
3073 rm -f conftest.
$ac_ext conftest.
$ac_objext
3078 case "x$ac_cv_prog_cc_stdc" in
3080 echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085 CC
="$CC $ac_cv_prog_cc_stdc" ;;
3088 # Some people use a C++ compiler to compile C. Since we use `exit',
3089 # in C++ we need to declare it. In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.
$ac_ext <<_ACEOF
3097 rm -f conftest.
$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>conftest.er1
3101 grep -v '^ *+' conftest.er1
>conftest.err
3103 cat conftest.err
>&5
3104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3105 (exit $ac_status); } &&
3106 { ac_try
='test -z "$ac_c_werror_flag"
3107 || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try
='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 for ac_declaration
in \
3121 'extern "C" void std::exit (int) throw (); using std::exit;' \
3122 'extern "C" void std::exit (int); using std::exit;' \
3123 'extern "C" void exit (int) throw ();' \
3124 'extern "C" void exit (int);' \
3127 cat >conftest.
$ac_ext <<_ACEOF
3130 cat confdefs.h
>>conftest.
$ac_ext
3131 cat >>conftest.
$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3143 rm -f conftest.
$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>conftest.er1
3147 grep -v '^ *+' conftest.er1
>conftest.err
3149 cat conftest.err
>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } &&
3152 { ac_try
='test -z "$ac_c_werror_flag"
3153 || test ! -s conftest.err'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; } &&
3159 { ac_try
='test -s conftest.$ac_objext'
3160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3164 (exit $ac_status); }; }; then
3167 echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.
$ac_ext >&5
3172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3173 cat >conftest.
$ac_ext <<_ACEOF
3176 cat confdefs.h
>>conftest.
$ac_ext
3177 cat >>conftest.
$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3188 rm -f conftest.
$ac_objext
3189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3190 (eval $ac_compile) 2>conftest.er1
3192 grep -v '^ *+' conftest.er1
>conftest.err
3194 cat conftest.err
>&5
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); } &&
3197 { ac_try
='test -z "$ac_c_werror_flag"
3198 || test ! -s conftest.err'
3199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3203 (exit $ac_status); }; } &&
3204 { ac_try
='test -s conftest.$ac_objext'
3205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3209 (exit $ac_status); }; }; then
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.
$ac_ext >&5
3216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3219 if test -n "$ac_declaration"; then
3220 echo '#ifdef __cplusplus' >>confdefs.h
3221 echo $ac_declaration >>confdefs.h
3222 echo '#endif' >>confdefs.h
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.
$ac_ext >&5
3230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3232 ac_cpp
='$CPP $CPPFLAGS'
3233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3236 DEPDIR
="${am__leading_dot}deps"
3238 ac_config_commands
="$ac_config_commands depfiles"
3241 am_make
=${MAKE-make}
3242 cat > confinc
<< 'END'
3247 # If we don't find an include directive, just comment out the code.
3248 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3249 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
3253 # First try GNU make style include.
3254 echo "include confinc" > confmf
3255 # We grep out `Entering directory' and `Leaving directory'
3256 # messages which can occur if `w' ends up in MAKEFLAGS.
3257 # In particular we don't look at `^make:' because GNU make might
3258 # be invoked under some other name (usually "gmake"), in which
3259 # case it prints its new name instead of `make'.
3260 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3265 # Now try BSD make style include.
3266 if test "$am__include" = "#"; then
3267 echo '.include "confinc"' > confmf
3268 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3269 am__include
=.include
3276 echo "$as_me:$LINENO: result: $_am_result" >&5
3277 echo "${ECHO_T}$_am_result" >&6
3278 rm -f confinc confmf
3280 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
3281 if test "${enable_dependency_tracking+set}" = set; then
3282 enableval
="$enable_dependency_tracking"
3285 if test "x$enable_dependency_tracking" != xno
; then
3286 am_depcomp
="$ac_aux_dir/depcomp"
3291 if test "x$enable_dependency_tracking" != xno; then
3302 depcc
="$CC" am_compiler_list
=
3304 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3305 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
3306 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3307 echo $ECHO_N "(cached) $ECHO_C" >&6
3309 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3310 # We make a subdir and do the tests there. Otherwise we can end up
3311 # making bogus files that we don't know about and never remove. For
3312 # instance it was reported that on HP-UX the gcc test will end up
3313 # making a dummy file named `D' -- because `-MD' means `put the output
3316 # Copy depcomp to subdir because otherwise we won't find it if we're
3317 # using a relative directory.
3318 cp "$am_depcomp" conftest.dir
3320 # We will build objects and dependencies in a subdirectory because
3321 # it helps to detect inapplicable dependency modes. For instance
3322 # both Tru64's cc and ICC support -MD to output dependencies as a
3323 # side effect of compilation, but ICC will put the dependencies in
3324 # the current directory while Tru64 will put them in the object
3328 am_cv_CC_dependencies_compiler_type
=none
3329 if test "$am_compiler_list" = ""; then
3330 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3332 for depmode
in $am_compiler_list; do
3333 # Setup a source with many dependencies, because some compilers
3334 # like to wrap large dependency lists on column 80 (with \), and
3335 # we should not choose a depcomp mode which is confused by this.
3337 # We need to recreate these files for each test, as the compiler may
3338 # overwrite some of them when testing with obscure command lines.
3339 # This happens at least with the AIX C compiler.
3341 for i
in 1 2 3 4 5 6; do
3342 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3343 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3344 # Solaris 8's {/usr,}/bin/sh.
3345 touch sub
/conftst
$i.h
3347 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3351 # after this tag, mechanisms are not by side-effect, so they'll
3352 # only be used when explicitly requested
3353 if test "x$enable_dependency_tracking" = xyes
; then
3361 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3362 # mode. It turns out that the SunPro C++ compiler does not properly
3363 # handle `-M -o', and we need to detect this.
3364 if depmode
=$depmode \
3365 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3366 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3367 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3368 >/dev
/null
2>conftest.err
&&
3369 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3370 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3371 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3372 # icc doesn't choke on unknown options, it will just issue warnings
3373 # or remarks (even with -Werror). So we grep stderr for any message
3374 # that says an option was ignored or not supported.
3375 # When given -MP, icc 7.0 and 7.1 complain thusly:
3376 # icc: Command line warning: ignoring option '-M'; no argument required
3377 # The diagnosis changed in icc 8.0:
3378 # icc: Command line remark: option '-MP' not supported
3379 if (grep 'ignoring option' conftest.err ||
3380 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3381 am_cv_CC_dependencies_compiler_type
=$depmode
3390 am_cv_CC_dependencies_compiler_type
=none
3394 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3395 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
3396 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3401 test "x$enable_dependency_tracking" != xno \
3402 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3404 am__fastdepCC_FALSE
='#'
3406 am__fastdepCC_TRUE
='#'
3407 am__fastdepCC_FALSE
=
3413 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
3414 if test "x$GCC" = "xyes"; then
3415 AM_FCFLAGS
="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
3416 ## We like to use C99 routines when available. This makes sure that
3417 ## __STDC_VERSION__ is set such that libc includes make them available.
3418 AM_CFLAGS
="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings"
3419 ## Compile the following tests with the same system header contents
3420 ## that we'll encounter when compiling our own source files.
3421 CFLAGS
="-std=gnu99 $CFLAGS"
3427 # Check for symbol versioning (copied from libssp).
3428 echo "$as_me:$LINENO: checking whether symbol versioning is supported" >&5
3429 echo $ECHO_N "checking whether symbol versioning is supported... $ECHO_C" >&6
3430 cat > conftest.map
<<EOF
3432 global: *foo*; bar; local: *;
3435 save_LDFLAGS
="$LDFLAGS"
3436 LDFLAGS
="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
3438 if test x
$gcc_no_link = xyes
; then
3439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3441 { (exit 1); exit 1; }; }
3443 cat >conftest.
$ac_ext <<_ACEOF
3446 cat confdefs.h
>>conftest.
$ac_ext
3447 cat >>conftest.
$ac_ext <<_ACEOF
3448 /* end confdefs.h. */
3458 rm -f conftest.
$ac_objext conftest
$ac_exeext
3459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3460 (eval $ac_link) 2>conftest.er1
3462 grep -v '^ *+' conftest.er1
>conftest.err
3464 cat conftest.err
>&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); } &&
3467 { ac_try
='test -z "$ac_c_werror_flag"
3468 || test ! -s conftest.err'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; } &&
3474 { ac_try
='test -s conftest$ac_exeext'
3475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); }; }; then
3480 gfortran_use_symver
=yes
3482 echo "$as_me: failed program was:" >&5
3483 sed 's/^/| /' conftest.
$ac_ext >&5
3485 gfortran_use_symver
=no
3487 rm -f conftest.err conftest.
$ac_objext \
3488 conftest
$ac_exeext conftest.
$ac_ext
3489 LDFLAGS
="$save_LDFLAGS"
3490 echo "$as_me:$LINENO: result: $gfortran_use_symver" >&5
3491 echo "${ECHO_T}$gfortran_use_symver" >&6
3494 if test "x$gfortran_use_symver" = xyes
; then
3495 LIBGFOR_USE_SYMVER_TRUE
=
3496 LIBGFOR_USE_SYMVER_FALSE
='#'
3498 LIBGFOR_USE_SYMVER_TRUE
='#'
3499 LIBGFOR_USE_SYMVER_FALSE
=
3503 # Find other programs we need.
3504 if test -n "$ac_tool_prefix"; then
3505 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3506 set dummy
${ac_tool_prefix}as
; ac_word
=$2
3507 echo "$as_me:$LINENO: checking for $ac_word" >&5
3508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3509 if test "${ac_cv_prog_AS+set}" = set; then
3510 echo $ECHO_N "(cached) $ECHO_C" >&6
3512 if test -n "$AS"; then
3513 ac_cv_prog_AS
="$AS" # Let the user override the test.
3515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir
=.
3520 for ac_exec_ext
in '' $ac_executable_extensions; do
3521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3522 ac_cv_prog_AS
="${ac_tool_prefix}as"
3523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 if test -n "$AS"; then
3533 echo "$as_me:$LINENO: result: $AS" >&5
3534 echo "${ECHO_T}$AS" >&6
3536 echo "$as_me:$LINENO: result: no" >&5
3537 echo "${ECHO_T}no" >&6
3541 if test -z "$ac_cv_prog_AS"; then
3543 # Extract the first word of "as", so it can be a program name with args.
3544 set dummy as
; ac_word
=$2
3545 echo "$as_me:$LINENO: checking for $ac_word" >&5
3546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3547 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3548 echo $ECHO_N "(cached) $ECHO_C" >&6
3550 if test -n "$ac_ct_AS"; then
3551 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
3553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3557 test -z "$as_dir" && as_dir
=.
3558 for ac_exec_ext
in '' $ac_executable_extensions; do
3559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3560 ac_cv_prog_ac_ct_AS
="as"
3561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
3570 if test -n "$ac_ct_AS"; then
3571 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3572 echo "${ECHO_T}$ac_ct_AS" >&6
3574 echo "$as_me:$LINENO: result: no" >&5
3575 echo "${ECHO_T}no" >&6
3583 if test -n "$ac_tool_prefix"; then
3584 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3585 set dummy
${ac_tool_prefix}ar; ac_word
=$2
3586 echo "$as_me:$LINENO: checking for $ac_word" >&5
3587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3588 if test "${ac_cv_prog_AR+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 if test -n "$AR"; then
3592 ac_cv_prog_AR
="$AR" # Let the user override the test.
3594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir
=.
3599 for ac_exec_ext
in '' $ac_executable_extensions; do
3600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3601 ac_cv_prog_AR
="${ac_tool_prefix}ar"
3602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3611 if test -n "$AR"; then
3612 echo "$as_me:$LINENO: result: $AR" >&5
3613 echo "${ECHO_T}$AR" >&6
3615 echo "$as_me:$LINENO: result: no" >&5
3616 echo "${ECHO_T}no" >&6
3620 if test -z "$ac_cv_prog_AR"; then
3622 # Extract the first word of "ar", so it can be a program name with args.
3623 set dummy
ar; ac_word
=$2
3624 echo "$as_me:$LINENO: checking for $ac_word" >&5
3625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3626 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3629 if test -n "$ac_ct_AR"; then
3630 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
3632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3636 test -z "$as_dir" && as_dir
=.
3637 for ac_exec_ext
in '' $ac_executable_extensions; do
3638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3639 ac_cv_prog_ac_ct_AR
="ar"
3640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3648 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
3649 if test -n "$ac_ct_AR"; then
3650 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3651 echo "${ECHO_T}$ac_ct_AR" >&6
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3662 if test -n "$ac_tool_prefix"; then
3663 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3664 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
3665 echo "$as_me:$LINENO: checking for $ac_word" >&5
3666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3667 if test "${ac_cv_prog_RANLIB+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3670 if test -n "$RANLIB"; then
3671 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3677 test -z "$as_dir" && as_dir
=.
3678 for ac_exec_ext
in '' $ac_executable_extensions; do
3679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3680 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
3681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 RANLIB
=$ac_cv_prog_RANLIB
3690 if test -n "$RANLIB"; then
3691 echo "$as_me:$LINENO: result: $RANLIB" >&5
3692 echo "${ECHO_T}$RANLIB" >&6
3694 echo "$as_me:$LINENO: result: no" >&5
3695 echo "${ECHO_T}no" >&6
3699 if test -z "$ac_cv_prog_RANLIB"; then
3700 ac_ct_RANLIB
=$RANLIB
3701 # Extract the first word of "ranlib", so it can be a program name with args.
3702 set dummy ranlib
; ac_word
=$2
3703 echo "$as_me:$LINENO: checking for $ac_word" >&5
3704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3705 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3706 echo $ECHO_N "(cached) $ECHO_C" >&6
3708 if test -n "$ac_ct_RANLIB"; then
3709 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
3711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3715 test -z "$as_dir" && as_dir
=.
3716 for ac_exec_ext
in '' $ac_executable_extensions; do
3717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3718 ac_cv_prog_ac_ct_RANLIB
="ranlib"
3719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
="ranlib-not-found-in-path-error"
3728 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
3729 if test -n "$ac_ct_RANLIB"; then
3730 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3731 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3733 echo "$as_me:$LINENO: result: no" >&5
3734 echo "${ECHO_T}no" >&6
3737 RANLIB
=$ac_ct_RANLIB
3739 RANLIB
="$ac_cv_prog_RANLIB"
3742 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3743 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3744 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
3745 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3746 echo $ECHO_N "(cached) $ECHO_C" >&6
3748 cat >conftest.
make <<\_ACEOF
3750 @
echo 'ac_maketemp="$(MAKE)"'
3752 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3753 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3754 if test -n "$ac_maketemp"; then
3755 eval ac_cv_prog_make_
${ac_make}_set
=yes
3757 eval ac_cv_prog_make_
${ac_make}_set
=no
3761 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3762 echo "$as_me:$LINENO: result: yes" >&5
3763 echo "${ECHO_T}yes" >&6
3766 echo "$as_me:$LINENO: result: no" >&5
3767 echo "${ECHO_T}no" >&6
3768 SET_MAKE
="MAKE=${MAKE-make}"
3771 # Find a good install program. We prefer a C program (faster),
3772 # so one script is as good as another. But avoid the broken or
3773 # incompatible versions:
3774 # SysV /etc/install, /usr/sbin/install
3775 # SunOS /usr/etc/install
3776 # IRIX /sbin/install
3778 # AmigaOS /C/install, which installs bootblocks on floppy discs
3779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3782 # OS/2's system install, which has a completely different semantic
3783 # ./install, which can be erroneously created by make from ./install.sh.
3784 # Reject install programs that cannot install multiple files.
3785 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3786 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3787 if test -z "$INSTALL"; then
3788 if test "${ac_cv_path_install+set}" = set; then
3789 echo $ECHO_N "(cached) $ECHO_C" >&6
3791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3795 test -z "$as_dir" && as_dir
=.
3796 # Account for people who put trailing slashes in PATH elements.
3798 .
/ | .
// |
/cC
/* | \
3799 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3800 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
3803 # OSF1 and SCO ODT 3.0 have their own names for install.
3804 # Don't use installbsd from OSF since it installs stuff as root
3806 for ac_prog
in ginstall scoinst
install; do
3807 for ac_exec_ext
in '' $ac_executable_extensions; do
3808 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3809 if test $ac_prog = install &&
3810 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3811 # AIX install. It has an incompatible calling convention.
3813 elif test $ac_prog = install &&
3814 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3815 # program-specific install script used by HP pwplus--don't use.
3818 rm -rf conftest.one conftest.two conftest.dir
3819 echo one
> conftest.one
3820 echo two
> conftest.two
3822 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3823 test -s conftest.one
&& test -s conftest.two
&&
3824 test -s conftest.dir
/conftest.one
&&
3825 test -s conftest.dir
/conftest.two
3827 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3838 rm -rf conftest.one conftest.two conftest.dir
3841 if test "${ac_cv_path_install+set}" = set; then
3842 INSTALL
=$ac_cv_path_install
3844 # As a last resort, use the slow shell script. Don't cache a
3845 # value for INSTALL within a source directory, because that will
3846 # break other packages using the cache if that directory is
3847 # removed, or if the value is a relative name.
3848 INSTALL
=$ac_install_sh
3851 echo "$as_me:$LINENO: result: $INSTALL" >&5
3852 echo "${ECHO_T}$INSTALL" >&6
3854 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3855 # It thinks the first close brace ends the variable substitution.
3856 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3858 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3860 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3864 #AC_MSG_NOTICE([====== Starting libtool configuration])
3871 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
3872 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
3877 macro_version
='2.2.6'
3878 macro_revision
='1.3012'
3892 ltmain
="$ac_aux_dir/ltmain.sh"
3894 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3895 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3896 if test "${lt_cv_path_SED+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3899 # Loop through the user's path and test for sed and gsed.
3900 # Then use that list of sed's as ones to test for truncation.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for lt_ac_prog
in sed gsed
; do
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3909 lt_ac_sed_list
="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3917 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3918 # along with /bin/sed that truncates output.
3919 for lt_ac_sed
in $lt_ac_sed_list /usr
/xpg
4/bin
/sed; do
3920 test ! -f $lt_ac_sed && continue
3921 cat /dev
/null
> conftest.
in
3923 echo $ECHO_N "0123456789$ECHO_C" >conftest.
in
3924 # Check for GNU sed and select it if it is found.
3925 if "$lt_ac_sed" --version 2>&1 < /dev
/null |
grep 'GNU' > /dev
/null
; then
3926 lt_cv_path_SED
=$lt_ac_sed
3930 cat conftest.
in conftest.
in >conftest.tmp
3931 mv conftest.tmp conftest.
in
3932 cp conftest.
in conftest.
nl
3934 $lt_ac_sed -e 's/a$//' < conftest.
nl >conftest.out ||
break
3935 cmp -s conftest.out conftest.
nl ||
break
3936 # 10000 chars as input seems more than enough
3937 test $lt_ac_count -gt 10 && break
3938 lt_ac_count
=`expr $lt_ac_count + 1`
3939 if test $lt_ac_count -gt $lt_ac_max; then
3940 lt_ac_max
=$lt_ac_count
3941 lt_cv_path_SED
=$lt_ac_sed
3950 echo "$as_me:$LINENO: result: $SED" >&5
3951 echo "${ECHO_T}$SED" >&6
3953 test -z "$SED" && SED
=sed
3954 Xsed
="$SED -e 1s/^X//"
3966 echo "$as_me:$LINENO: checking for egrep" >&5
3967 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3968 if test "${ac_cv_prog_egrep+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3972 then ac_cv_prog_egrep
='grep -E'
3973 else ac_cv_prog_egrep
='egrep'
3976 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3977 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3978 EGREP
=$ac_cv_prog_egrep
3981 echo "$as_me:$LINENO: checking for fgrep" >&5
3982 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
3983 if test "${ac_cv_prog_fgrep+set}" = set; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 if echo 'ab*c' |
(grep -F 'ab*c') >/dev
/null
2>&1
3987 then ac_cv_prog_fgrep
='grep -F'
3988 else ac_cv_prog_fgrep
='fgrep'
3991 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
3992 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
3993 FGREP
=$ac_cv_prog_fgrep
3996 test -z "$GREP" && GREP
=grep
4016 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4017 if test "${with_gnu_ld+set}" = set; then
4018 withval
="$with_gnu_ld"
4019 test "$withval" = no || with_gnu_ld
=yes
4024 if test "$GCC" = yes; then
4025 # Check if gcc -print-prog-name=ld gives a path.
4026 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4027 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4030 # gcc leaves a trailing carriage return which upsets mingw
4031 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4033 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
4036 # Accept absolute paths.
4038 re_direlt
='/[^/][^/]*/\.\./'
4039 # Canonicalize the pathname of ld
4040 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4041 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
4042 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4044 test -z "$LD" && LD
="$ac_prog"
4047 # If it fails, then pretend we aren't using GCC.
4051 # If it is relative, then search for the first ld in PATH.
4055 elif test "$with_gnu_ld" = yes; then
4056 echo "$as_me:$LINENO: checking for GNU ld" >&5
4057 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4059 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4060 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4062 if test "${lt_cv_path_LD+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 if test -z "$LD"; then
4066 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4067 for ac_dir
in $PATH; do
4069 test -z "$ac_dir" && ac_dir
=.
4070 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
4071 lt_cv_path_LD
="$ac_dir/$ac_prog"
4072 # Check to see if the program is GNU ld. I'd rather use --version,
4073 # but apparently some variants of GNU ld only accept -v.
4074 # Break only if it was the GNU/non-GNU ld that we prefer.
4075 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4076 *GNU
* |
*'with BFD'*)
4077 test "$with_gnu_ld" != no
&& break
4080 test "$with_gnu_ld" != yes && break
4087 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
4092 if test -n "$LD"; then
4093 echo "$as_me:$LINENO: result: $LD" >&5
4094 echo "${ECHO_T}$LD" >&6
4096 echo "$as_me:$LINENO: result: no" >&5
4097 echo "${ECHO_T}no" >&6
4099 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4100 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4101 { (exit 1); exit 1; }; }
4102 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4103 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4104 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4105 echo $ECHO_N "(cached) $ECHO_C" >&6
4107 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4108 case `$LD -v 2>&1 </dev/null` in
4109 *GNU
* |
*'with BFD'*)
4110 lt_cv_prog_gnu_ld
=yes
4113 lt_cv_prog_gnu_ld
=no
4117 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4118 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4119 with_gnu_ld
=$lt_cv_prog_gnu_ld
4129 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4130 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4131 if test "${lt_cv_path_NM+set}" = set; then
4132 echo $ECHO_N "(cached) $ECHO_C" >&6
4134 if test -n "$NM"; then
4135 # Let the user override the test.
4138 lt_nm_to_check
="${ac_tool_prefix}nm"
4139 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4140 lt_nm_to_check
="$lt_nm_to_check nm"
4142 for lt_tmp_nm
in $lt_nm_to_check; do
4143 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
4144 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
4146 test -z "$ac_dir" && ac_dir
=.
4147 tmp_nm
="$ac_dir/$lt_tmp_nm"
4148 if test -f "$tmp_nm" ||
test -f "$tmp_nm$ac_exeext" ; then
4149 # Check to see if the nm accepts a BSD-compat flag.
4150 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4151 # nm: unknown option "B" ignored
4152 # Tru64's nm complains that /dev/null is an invalid object file
4153 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4154 */dev
/null
* |
*'Invalid file or object type'*)
4155 lt_cv_path_NM
="$tmp_nm -B"
4159 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4161 lt_cv_path_NM
="$tmp_nm -p"
4165 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4166 continue # so that we can try to find one that supports BSD flags
4175 : ${lt_cv_path_NM=no}
4178 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4179 echo "${ECHO_T}$lt_cv_path_NM" >&6
4180 if test "$lt_cv_path_NM" != "no"; then
4183 # Didn't find any BSD compatible name lister, look for dumpbin.
4184 if test -n "$ac_tool_prefix"; then
4185 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4187 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4188 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4189 echo "$as_me:$LINENO: checking for $ac_word" >&5
4190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4191 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4192 echo $ECHO_N "(cached) $ECHO_C" >&6
4194 if test -n "$DUMPBIN"; then
4195 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4204 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
4205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4213 DUMPBIN
=$ac_cv_prog_DUMPBIN
4214 if test -n "$DUMPBIN"; then
4215 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4216 echo "${ECHO_T}$DUMPBIN" >&6
4218 echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6
4222 test -n "$DUMPBIN" && break
4225 if test -z "$DUMPBIN"; then
4226 ac_ct_DUMPBIN
=$DUMPBIN
4227 for ac_prog
in "dumpbin -symbols" "link -dump -symbols"
4229 # Extract the first word of "$ac_prog", so it can be a program name with args.
4230 set dummy
$ac_prog; ac_word
=$2
4231 echo "$as_me:$LINENO: checking for $ac_word" >&5
4232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4233 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4234 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 if test -n "$ac_ct_DUMPBIN"; then
4237 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
4239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4243 test -z "$as_dir" && as_dir
=.
4244 for ac_exec_ext
in '' $ac_executable_extensions; do
4245 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4246 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
4247 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4255 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
4256 if test -n "$ac_ct_DUMPBIN"; then
4257 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4258 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4260 echo "$as_me:$LINENO: result: no" >&5
4261 echo "${ECHO_T}no" >&6
4264 test -n "$ac_ct_DUMPBIN" && break
4266 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN
=":"
4268 DUMPBIN
=$ac_ct_DUMPBIN
4272 if test "$DUMPBIN" != ":"; then
4276 test -z "$NM" && NM
=nm
4283 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4284 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4285 if test "${lt_cv_nm_interface+set}" = set; then
4286 echo $ECHO_N "(cached) $ECHO_C" >&6
4288 lt_cv_nm_interface
="BSD nm"
4289 echo "int some_variable = 0;" > conftest.
$ac_ext
4290 (eval echo "\"\$as_me:4290: $ac_compile\"" >&5)
4291 (eval "$ac_compile" 2>conftest.err
)
4292 cat conftest.err
>&5
4293 (eval echo "\"\$as_me:4293: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4294 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
4295 cat conftest.err
>&5
4296 (eval echo "\"\$as_me:4296: output\"" >&5)
4297 cat conftest.out
>&5
4298 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
4299 lt_cv_nm_interface
="MS dumpbin"
4303 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4304 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4306 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4307 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4309 if test "$LN_S" = "ln -s"; then
4310 echo "$as_me:$LINENO: result: yes" >&5
4311 echo "${ECHO_T}yes" >&6
4313 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4314 echo "${ECHO_T}no, using $LN_S" >&6
4317 # find the maximum length of command line arguments
4318 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4319 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4320 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 # On DJGPP, this test can blow up pretty badly due to problems in libc
4329 # (any single argument exceeding 2000 bytes causes a buffer overrun
4330 # during glob expansion). Even if it were fixed, the result of this
4331 # check would be larger than it should be.
4332 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
4336 # Under GNU Hurd, this test is not required because there is
4337 # no limit to the length of command line arguments.
4338 # Libtool will interpret -1 as no limit whatsoever
4339 lt_cv_sys_max_cmd_len
=-1;
4342 cygwin
* | mingw
* | cegcc
*)
4343 # On Win9x/ME, this test blows up -- it succeeds, but takes
4344 # about 5 minutes as the teststring grows exponentially.
4345 # Worse, since 9x/ME are not pre-emptively multitasking,
4346 # you end up with a "frozen" computer, even though with patience
4347 # the test eventually succeeds (with a max line length of 256k).
4348 # Instead, let's just punt: use the minimum linelength reported by
4349 # all of the supported platforms: 8192 (on NT/2K/XP).
4350 lt_cv_sys_max_cmd_len
=8192;
4354 # On AmigaOS with pdksh, this test takes hours, literally.
4355 # So we just punt and use a minimum line length of 8192.
4356 lt_cv_sys_max_cmd_len
=8192;
4359 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
4360 # This has been around since 386BSD, at least. Likely further.
4361 if test -x /sbin
/sysctl
; then
4362 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
4363 elif test -x /usr
/sbin
/sysctl
; then
4364 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
4366 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
4368 # And add a safety zone
4369 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4370 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4374 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4375 lt_cv_sys_max_cmd_len
=196608
4379 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4380 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4381 # nice to cause kernel panics so lets avoid the loop below.
4382 # First set a reasonable default.
4383 lt_cv_sys_max_cmd_len
=16384
4385 if test -x /sbin
/sysconfig
; then
4386 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4387 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
4392 lt_cv_sys_max_cmd_len
=102400
4394 sysv5
* | sco5v6
* | sysv4.2uw2
*)
4395 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4396 if test -n "$kargmax"; then
4397 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
4399 lt_cv_sys_max_cmd_len
=32768
4403 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
4404 if test -n "$lt_cv_sys_max_cmd_len"; then
4405 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
4406 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
4408 # Make teststring a little bigger before we do anything with it.
4409 # a 1K string should be a reasonable start.
4410 for i
in 1 2 3 4 5 6 7 8 ; do
4411 teststring
=$teststring$teststring
4413 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
4414 # If test is not a shell built-in, we'll probably end up computing a
4415 # maximum length that is only half of the actual maximum length, but
4417 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4418 = "XX$teststring$teststring"; } >/dev
/null
2>&1 &&
4419 test $i != 17 # 1/2 MB should be enough
4422 teststring
=$teststring$teststring
4424 # Only check the string length outside the loop.
4425 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
4427 # Add a significant safety factor because C++ compilers can tack on
4428 # massive amounts of additional arguments before passing them to the
4429 # linker. It appears as though 1/2 is a usable value.
4430 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
4437 if test -n $lt_cv_sys_max_cmd_len ; then
4438 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4439 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4441 echo "$as_me:$LINENO: result: none" >&5
4442 echo "${ECHO_T}none" >&6
4444 max_cmd_len
=$lt_cv_sys_max_cmd_len
4455 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4456 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4457 # Try some XSI features
4460 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4462 && eval 'test $(( 1 + 1 )) -eq 2 \
4463 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4465 echo "$as_me:$LINENO: result
: $xsi_shell" >&5
4466 echo "${ECHO_T}$xsi_shell" >&6
4469 echo "$as_me:$LINENO: checking whether the shell understands
\"+=\"" >&5
4470 echo $ECHO_N "checking whether the shell understands
\"+=\"...
$ECHO_C" >&6
4472 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
4474 && lt_shell_append=yes
4475 echo "$as_me:$LINENO: result
: $lt_shell_append" >&5
4476 echo "${ECHO_T}$lt_shell_append" >&6
4479 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4489 # test EBCDIC or ASCII
4490 case `echo X|tr X '\101'` in
4491 A) # ASCII based system
4492 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4493 lt_SP2NL='tr \040 \012'
4494 lt_NL2SP='tr \015\012 \040\040'
4496 *) # EBCDIC based system
4497 lt_SP2NL='tr \100 \n'
4498 lt_NL2SP='tr \r\n \100\100'
4510 echo "$as_me:$LINENO: checking
for $LD option to reload object files
" >&5
4511 echo $ECHO_N "checking
for $LD option to reload object files...
$ECHO_C" >&6
4512 if test "${lt_cv_ld_reload_flag+set}" = set; then
4513 echo $ECHO_N "(cached
) $ECHO_C" >&6
4515 lt_cv_ld_reload_flag='-r'
4517 echo "$as_me:$LINENO: result
: $lt_cv_ld_reload_flag" >&5
4518 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4519 reload_flag=$lt_cv_ld_reload_flag
4520 case $reload_flag in
4522 *) reload_flag=" $reload_flag" ;;
4524 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4527 if test "$GCC" = yes; then
4528 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4530 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4543 if test -n "$ac_tool_prefix"; then
4544 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
4545 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4546 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4547 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4548 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4549 echo $ECHO_N "(cached
) $ECHO_C" >&6
4551 if test -n "$OBJDUMP"; then
4552 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir=.
4559 for ac_exec_ext in '' $ac_executable_extensions; do
4560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4561 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
4562 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4570 OBJDUMP=$ac_cv_prog_OBJDUMP
4571 if test -n "$OBJDUMP"; then
4572 echo "$as_me:$LINENO: result
: $OBJDUMP" >&5
4573 echo "${ECHO_T}$OBJDUMP" >&6
4575 echo "$as_me:$LINENO: result
: no
" >&5
4576 echo "${ECHO_T}no
" >&6
4580 if test -z "$ac_cv_prog_OBJDUMP"; then
4581 ac_ct_OBJDUMP=$OBJDUMP
4582 # Extract the first word of "objdump
", so it can be a program name with args.
4583 set dummy objdump; ac_word=$2
4584 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4585 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4586 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4587 echo $ECHO_N "(cached
) $ECHO_C" >&6
4589 if test -n "$ac_ct_OBJDUMP"; then
4590 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir=.
4597 for ac_exec_ext in '' $ac_executable_extensions; do
4598 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4599 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
4600 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4606 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false
"
4609 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4610 if test -n "$ac_ct_OBJDUMP"; then
4611 echo "$as_me:$LINENO: result
: $ac_ct_OBJDUMP" >&5
4612 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4614 echo "$as_me:$LINENO: result
: no
" >&5
4615 echo "${ECHO_T}no
" >&6
4618 OBJDUMP=$ac_ct_OBJDUMP
4620 OBJDUMP="$ac_cv_prog_OBJDUMP"
4623 test -z "$OBJDUMP" && OBJDUMP=objdump
4633 echo "$as_me:$LINENO: checking how to recognize dependent libraries
" >&5
4634 echo $ECHO_N "checking how to recognize dependent libraries...
$ECHO_C" >&6
4635 if test "${lt_cv_deplibs_check_method+set}" = set; then
4636 echo $ECHO_N "(cached
) $ECHO_C" >&6
4638 lt_cv_file_magic_cmd='$MAGIC_CMD'
4639 lt_cv_file_magic_test_file=
4640 lt_cv_deplibs_check_method='unknown'
4641 # Need to set the preceding variable on all platforms that support
4642 # interlibrary dependencies.
4643 # 'none' -- dependencies not supported.
4644 # `unknown' -- same as none, but documents that we really don't know.
4645 # 'pass_all' -- all dependencies passed with no checks.
4646 # 'test_compile' -- check by making test program.
4647 # 'file_magic [[regex]]' -- check by looking for files in library path
4648 # which responds to the $file_magic_cmd with a given extended regex.
4649 # If you have `file' or equivalent on your system and you're not sure
4650 # whether `pass_all' will *always* work, you probably want this one.
4654 lt_cv_deplibs_check_method=pass_all
4658 lt_cv_deplibs_check_method=pass_all
4662 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4663 lt_cv_file_magic_cmd='/usr/bin/file -L'
4664 lt_cv_file_magic_test_file=/shlib/libc.so
4668 # func_win32_libid is a shell function defined in ltmain.sh
4669 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4670 lt_cv_file_magic_cmd='func_win32_libid'
4674 # Base MSYS/MinGW do not provide the 'file' command needed by
4675 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4676 # unless we find 'file', for example because we are cross-compiling.
4677 if ( file / ) >/dev/null 2>&1; then
4678 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4679 lt_cv_file_magic_cmd='func_win32_libid'
4681 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4682 lt_cv_file_magic_cmd='$OBJDUMP -f'
4687 # use the weaker test based on 'objdump'. See mingw*.
4688 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4689 lt_cv_file_magic_cmd='$OBJDUMP -f'
4692 darwin* | rhapsody*)
4693 lt_cv_deplibs_check_method=pass_all
4696 freebsd* | dragonfly*)
4697 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4700 # Not sure whether the presence of OpenBSD here was a mistake.
4701 # Let's accept both of them until this is cleared up.
4702 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4703 lt_cv_file_magic_cmd=/usr/bin/file
4704 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4708 lt_cv_deplibs_check_method=pass_all
4713 lt_cv_deplibs_check_method=pass_all
4716 hpux10.20* | hpux11*)
4717 lt_cv_file_magic_cmd=/usr/bin/file
4720 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4721 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4724 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
4725 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4728 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4729 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4735 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4736 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4739 irix5* | irix6* | nonstopux*)
4741 *-32|*"-32 ") libmagic=32-bit;;
4742 *-n32|*"-n32 ") libmagic=N32;;
4743 *-64|*"-64 ") libmagic=64-bit;;
4744 *) libmagic=never-match;;
4746 lt_cv_deplibs_check_method=pass_all
4749 # This must be Linux ELF.
4750 linux* | k*bsd*-gnu)
4751 lt_cv_deplibs_check_method=pass_all
4755 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4756 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4758 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4763 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4764 lt_cv_file_magic_cmd=/usr/bin/file
4765 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4769 lt_cv_deplibs_check_method=pass_all
4773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
4774 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4776 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4780 osf3* | osf4* | osf5*)
4781 lt_cv_deplibs_check_method=pass_all
4785 lt_cv_deplibs_check_method=pass_all
4789 lt_cv_deplibs_check_method=pass_all
4792 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
4793 lt_cv_deplibs_check_method=pass_all
4797 case $host_vendor in
4799 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4800 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4803 lt_cv_deplibs_check_method=pass_all
4806 lt_cv_file_magic_cmd='/bin/file'
4807 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4810 lt_cv_file_magic_cmd='/bin/file'
4811 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
4812 lt_cv_file_magic_test_file=/lib/libc.so
4815 lt_cv_deplibs_check_method=pass_all
4818 lt_cv_deplibs_check_method=pass_all
4824 lt_cv_deplibs_check_method=pass_all
4829 echo "$as_me:$LINENO: result
: $lt_cv_deplibs_check_method" >&5
4830 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4831 file_magic_cmd=$lt_cv_file_magic_cmd
4832 deplibs_check_method=$lt_cv_deplibs_check_method
4833 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4846 if test -n "$ac_tool_prefix"; then
4847 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4848 set dummy ${ac_tool_prefix}ar; ac_word=$2
4849 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4850 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4851 if test "${ac_cv_prog_AR+set}" = set; then
4852 echo $ECHO_N "(cached
) $ECHO_C" >&6
4854 if test -n "$AR"; then
4855 ac_cv_prog_AR="$AR" # Let the user override the test.
4857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4861 test -z "$as_dir" && as_dir=.
4862 for ac_exec_ext in '' $ac_executable_extensions; do
4863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4864 ac_cv_prog_AR="${ac_tool_prefix}ar"
4865 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4874 if test -n "$AR"; then
4875 echo "$as_me:$LINENO: result
: $AR" >&5
4876 echo "${ECHO_T}$AR" >&6
4878 echo "$as_me:$LINENO: result
: no
" >&5
4879 echo "${ECHO_T}no
" >&6
4883 if test -z "$ac_cv_prog_AR"; then
4885 # Extract the first word of "ar", so it can be a program name with args.
4886 set dummy ar; ac_word=$2
4887 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4888 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4889 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
4890 echo $ECHO_N "(cached
) $ECHO_C" >&6
4892 if test -n "$ac_ct_AR"; then
4893 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir=.
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4902 ac_cv_prog_ac_ct_AR="ar"
4903 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4909 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false
"
4912 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4913 if test -n "$ac_ct_AR"; then
4914 echo "$as_me:$LINENO: result
: $ac_ct_AR" >&5
4915 echo "${ECHO_T}$ac_ct_AR" >&6
4917 echo "$as_me:$LINENO: result
: no
" >&5
4918 echo "${ECHO_T}no
" >&6
4926 test -z "$AR" && AR=ar
4927 test -z "$AR_FLAGS" && AR_FLAGS=cru
4939 if test -n "$ac_tool_prefix"; then
4940 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
4941 set dummy ${ac_tool_prefix}strip; ac_word=$2
4942 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4943 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4944 if test "${ac_cv_prog_STRIP+set}" = set; then
4945 echo $ECHO_N "(cached
) $ECHO_C" >&6
4947 if test -n "$STRIP"; then
4948 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir=.
4955 for ac_exec_ext in '' $ac_executable_extensions; do
4956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4957 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
4958 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
4966 STRIP=$ac_cv_prog_STRIP
4967 if test -n "$STRIP"; then
4968 echo "$as_me:$LINENO: result
: $STRIP" >&5
4969 echo "${ECHO_T}$STRIP" >&6
4971 echo "$as_me:$LINENO: result
: no
" >&5
4972 echo "${ECHO_T}no
" >&6
4976 if test -z "$ac_cv_prog_STRIP"; then
4978 # Extract the first word of "strip
", so it can be a program name with args.
4979 set dummy strip; ac_word=$2
4980 echo "$as_me:$LINENO: checking
for $ac_word" >&5
4981 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
4982 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4983 echo $ECHO_N "(cached
) $ECHO_C" >&6
4985 if test -n "$ac_ct_STRIP"; then
4986 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4992 test -z "$as_dir" && as_dir=.
4993 for ac_exec_ext in '' $ac_executable_extensions; do
4994 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4995 ac_cv_prog_ac_ct_STRIP="strip
"
4996 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5002 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5005 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5006 if test -n "$ac_ct_STRIP"; then
5007 echo "$as_me:$LINENO: result
: $ac_ct_STRIP" >&5
5008 echo "${ECHO_T}$ac_ct_STRIP" >&6
5010 echo "$as_me:$LINENO: result
: no
" >&5
5011 echo "${ECHO_T}no
" >&6
5016 STRIP="$ac_cv_prog_STRIP"
5019 test -z "$STRIP" && STRIP=:
5026 if test -n "$ac_tool_prefix"; then
5027 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
5028 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5029 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5030 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5031 if test "${ac_cv_prog_RANLIB+set}" = set; then
5032 echo $ECHO_N "(cached
) $ECHO_C" >&6
5034 if test -n "$RANLIB"; then
5035 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5041 test -z "$as_dir" && as_dir=.
5042 for ac_exec_ext in '' $ac_executable_extensions; do
5043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5044 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
5045 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5053 RANLIB=$ac_cv_prog_RANLIB
5054 if test -n "$RANLIB"; then
5055 echo "$as_me:$LINENO: result
: $RANLIB" >&5
5056 echo "${ECHO_T}$RANLIB" >&6
5058 echo "$as_me:$LINENO: result
: no
" >&5
5059 echo "${ECHO_T}no
" >&6
5063 if test -z "$ac_cv_prog_RANLIB"; then
5064 ac_ct_RANLIB=$RANLIB
5065 # Extract the first word of "ranlib
", so it can be a program name with args.
5066 set dummy ranlib; ac_word=$2
5067 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5068 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5069 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5070 echo $ECHO_N "(cached
) $ECHO_C" >&6
5072 if test -n "$ac_ct_RANLIB"; then
5073 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir=.
5080 for ac_exec_ext in '' $ac_executable_extensions; do
5081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_ac_ct_RANLIB="ranlib
"
5083 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5089 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5092 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5093 if test -n "$ac_ct_RANLIB"; then
5094 echo "$as_me:$LINENO: result
: $ac_ct_RANLIB" >&5
5095 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5097 echo "$as_me:$LINENO: result
: no
" >&5
5098 echo "${ECHO_T}no
" >&6
5101 RANLIB=$ac_ct_RANLIB
5103 RANLIB="$ac_cv_prog_RANLIB"
5106 test -z "$RANLIB" && RANLIB=:
5113 # Determine commands to create old-style static archives.
5114 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5115 old_postinstall_cmds='chmod 644 $oldlib'
5116 old_postuninstall_cmds=
5118 if test -n "$RANLIB"; then
5121 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
5124 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
5127 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
5163 # If no C compiler was specified, use CC.
5166 # If no C compiler flags were specified, use CFLAGS.
5167 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5169 # Allow CC to be a program name with arguments.
5173 # Check for command to grab the raw symbol name followed by C symbol from nm.
5174 echo "$as_me:$LINENO: checking
command to parse
$NM output from
$compiler object
" >&5
5175 echo $ECHO_N "checking
command to parse
$NM output from
$compiler object...
$ECHO_C" >&6
5176 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5177 echo $ECHO_N "(cached
) $ECHO_C" >&6
5180 # These are sane defaults that work on at least a few old systems.
5181 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5183 # Character class describing NM global symbol codes.
5184 symcode='[BCDEGRST]'
5186 # Regexp to match symbols that can be accessed directly from C.
5187 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5189 # Define system-specific variables.
5194 cygwin* | mingw* | pw32* | cegcc*)
5195 symcode='[ABCDGISTW]'
5198 if test "$host_cpu" = ia64; then
5199 symcode='[ABCDEGRST]'
5203 symcode='[BCDEGRST]'
5206 symcode='[BCDEGQRST]'
5217 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5225 # If we're using GNU nm, then use its standard symbol codes.
5226 case `$NM -V 2>&1` in
5227 *GNU* | *'with BFD'*)
5228 symcode='[ABCDGIRSTW]' ;;
5231 # Transform an extracted symbol line into a proper C declaration.
5232 # Some systems (esp. on ia64) link data and code symbols differently,
5233 # so use this general approach.
5234 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5236 # Transform an extracted symbol line into symbol name and symbol address
5237 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5238 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5240 # Handle CRLF in mingw tool chain
5244 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5248 # Try without a prefix underscore, then with it.
5249 for ac_symprfx in "" "_
"; do
5251 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5252 symxfrm="\\1 $ac_symprfx\\2 \\2"
5254 # Write the raw and C identifiers.
5255 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
5256 # Fake it for dumpbin and say T for any non-static function
5257 # and D for any global variable.
5258 # Also find C++ and __fastcall symbols from MSVC++,
5259 # which start with @ or ?.
5260 lt_cv_sys_global_symbol_pipe="$AWK '"\
5261 " {last_section=section; section=\$ 3};"\
5262 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5263 " \$ 0!~/External *\|/{next};"\
5264 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5265 " {if(hide[section]) next};"\
5266 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5267 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5268 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5269 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5270 " ' prfx
=^
$ac_symprfx"
5272 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5275 # Check to see that the pipe works correctly.
5279 cat > conftest.$ac_ext <<_LT_EOF
5284 void nm_test_func(void);
5285 void nm_test_func(void){}
5289 int main(){nm_test_var='a';nm_test_func();return(0);}
5292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293 (eval $ac_compile) 2>&5
5295 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5296 (exit $ac_status); }; then
5297 # Now try to grab the symbols.
5299 if { (eval echo "$as_me:$LINENO: \"$NM conftest.
$ac_objext \|
$lt_cv_sys_global_symbol_pipe \
> $nlist\"") >&5
5300 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5302 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5303 (exit $ac_status); } && test -s "$nlist"; then
5304 # Try sorting and uniquifying the output.
5305 if sort "$nlist" | uniq > "$nlist"T; then
5306 mv -f "$nlist"T "$nlist"
5311 # Make sure that we snagged all the symbols we need.
5312 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5313 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5314 cat <<_LT_EOF > conftest.$ac_ext
5320 # Now generate the symbol file.
5321 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5323 cat <<_LT_EOF >> conftest.$ac_ext
5325 /* The mapping between symbol names and symbols. */
5330 lt__PROGRAM__LTX_preloaded_symbols[] =
5332 { "@PROGRAM@
", (void *) 0 },
5334 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5335 cat <<\_LT_EOF >> conftest.$ac_ext
5339 /* This works around a problem in FreeBSD linker */
5340 #ifdef FREEBSD_WORKAROUND
5341 static const void *lt_preloaded_setup() {
5342 return lt__PROGRAM__LTX_preloaded_symbols;
5350 # Now try linking the two files.
5351 mv conftest.$ac_objext conftstm.$ac_objext
5352 lt_save_LIBS="$LIBS"
5353 lt_save_CFLAGS="$CFLAGS"
5354 LIBS="conftstm.
$ac_objext"
5355 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5357 (eval $ac_link) 2>&5
5359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5360 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5363 LIBS="$lt_save_LIBS"
5364 CFLAGS="$lt_save_CFLAGS"
5366 echo "cannot
find nm_test_func
in $nlist" >&5
5369 echo "cannot
find nm_test_var
in $nlist" >&5
5372 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
5375 echo "$progname: failed program was
:" >&5
5376 cat conftest.$ac_ext >&5
5378 rm -rf conftest* conftst*
5380 # Do not use the global_symbol_pipe unless it works.
5381 if test "$pipe_works" = yes; then
5384 lt_cv_sys_global_symbol_pipe=
5390 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5391 lt_cv_sys_global_symbol_to_cdecl=
5393 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5394 echo "$as_me:$LINENO: result
: failed
" >&5
5395 echo "${ECHO_T}failed
" >&6
5397 echo "$as_me:$LINENO: result
: ok
" >&5
5398 echo "${ECHO_T}ok
" >&6
5422 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5423 if test "${enable_libtool_lock+set}" = set; then
5424 enableval="$enable_libtool_lock"
5427 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
5429 # Some flags need to be propagated to the compiler or linker for good
5433 # Find out which ABI we are using.
5434 echo 'int i;' > conftest.$ac_ext
5435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5436 (eval $ac_compile) 2>&5
5438 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5439 (exit $ac_status); }; then
5440 case `/usr/bin/file conftest.$ac_objext` in
5452 # Find out which ABI we are using.
5453 echo '#line 5453 "configure
"' > conftest.$ac_ext
5454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5455 (eval $ac_compile) 2>&5
5457 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5458 (exit $ac_status); }; then
5459 if test "$lt_cv_prog_gnu_ld" = yes; then
5460 case `/usr/bin/file conftest.$ac_objext` in
5462 LD="${LD-ld} -melf32bsmip"
5465 LD="${LD-ld} -melf32bmipn32"
5468 LD="${LD-ld} -melf64bmip"
5472 case `/usr/bin/file conftest.$ac_objext` in
5488 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5489 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5490 # Find out which ABI we are using.
5491 echo 'int i;' > conftest.$ac_ext
5492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5493 (eval $ac_compile) 2>&5
5495 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5496 (exit $ac_status); }; then
5497 case `/usr/bin/file conftest.o` in
5500 x86_64-*kfreebsd*-gnu)
5501 LD="${LD-ld} -m elf_i386_fbsd
"
5504 LD="${LD-ld} -m elf_i386
"
5506 ppc64-*linux*|powerpc64-*linux*)
5507 LD="${LD-ld} -m elf32ppclinux
"
5510 LD="${LD-ld} -m elf_s390
"
5513 LD="${LD-ld} -m elf32_sparc
"
5519 x86_64-*kfreebsd*-gnu)
5520 LD="${LD-ld} -m elf_x86_64_fbsd
"
5523 LD="${LD-ld} -m elf_x86_64
"
5525 ppc*-*linux*|powerpc*-*linux*)
5526 LD="${LD-ld} -m elf64ppc
"
5528 s390*-*linux*|s390*-*tpf*)
5529 LD="${LD-ld} -m elf64_s390
"
5532 LD="${LD-ld} -m elf64_sparc
"
5542 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5543 SAVE_CFLAGS="$CFLAGS"
5544 CFLAGS="$CFLAGS -belf"
5545 echo "$as_me:$LINENO: checking whether the C compiler needs
-belf" >&5
5546 echo $ECHO_N "checking whether the C compiler needs
-belf...
$ECHO_C" >&6
5547 if test "${lt_cv_cc_needs_belf+set}" = set; then
5548 echo $ECHO_N "(cached
) $ECHO_C" >&6
5551 ac_cpp='$CPP $CPPFLAGS'
5552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5556 if test x$gcc_no_link = xyes; then
5557 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
5558 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
5559 { (exit 1); exit 1; }; }
5561 cat >conftest.$ac_ext <<_ACEOF
5564 cat confdefs.h >>conftest.$ac_ext
5565 cat >>conftest.$ac_ext <<_ACEOF
5566 /* end confdefs.h. */
5576 rm -f conftest.$ac_objext conftest$ac_exeext
5577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5578 (eval $ac_link) 2>conftest.er1
5580 grep -v '^ *+' conftest.er1 >conftest.err
5582 cat conftest.err >&5
5583 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5584 (exit $ac_status); } &&
5585 { ac_try='test -z "$ac_c_werror_flag"
5586 || test ! -s conftest.err'
5587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5590 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5591 (exit $ac_status); }; } &&
5592 { ac_try='test -s conftest$ac_exeext'
5593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5596 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5597 (exit $ac_status); }; }; then
5598 lt_cv_cc_needs_belf=yes
5600 echo "$as_me: failed program was
:" >&5
5601 sed 's/^/| /' conftest.$ac_ext >&5
5603 lt_cv_cc_needs_belf=no
5605 rm -f conftest.err conftest.$ac_objext \
5606 conftest$ac_exeext conftest.$ac_ext
5608 ac_cpp='$CPP $CPPFLAGS'
5609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5614 echo "$as_me:$LINENO: result
: $lt_cv_cc_needs_belf" >&5
5615 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5616 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5617 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5618 CFLAGS="$SAVE_CFLAGS"
5622 # Find out which ABI we are using.
5623 echo 'int i;' > conftest.$ac_ext
5624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5625 (eval $ac_compile) 2>&5
5627 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
5628 (exit $ac_status); }; then
5629 case `/usr/bin/file conftest.o` in
5631 case $lt_cv_prog_gnu_ld in
5632 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
5634 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5646 need_locks="$enable_libtool_lock"
5650 rhapsody* | darwin*)
5651 if test -n "$ac_tool_prefix"; then
5652 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
5653 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5654 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5655 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5656 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5657 echo $ECHO_N "(cached
) $ECHO_C" >&6
5659 if test -n "$DSYMUTIL"; then
5660 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir=.
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
5670 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5678 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5679 if test -n "$DSYMUTIL"; then
5680 echo "$as_me:$LINENO: result
: $DSYMUTIL" >&5
5681 echo "${ECHO_T}$DSYMUTIL" >&6
5683 echo "$as_me:$LINENO: result
: no
" >&5
5684 echo "${ECHO_T}no
" >&6
5688 if test -z "$ac_cv_prog_DSYMUTIL"; then
5689 ac_ct_DSYMUTIL=$DSYMUTIL
5690 # Extract the first word of "dsymutil
", so it can be a program name with args.
5691 set dummy dsymutil; ac_word=$2
5692 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5693 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5694 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5695 echo $ECHO_N "(cached
) $ECHO_C" >&6
5697 if test -n "$ac_ct_DSYMUTIL"; then
5698 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5704 test -z "$as_dir" && as_dir=.
5705 for ac_exec_ext in '' $ac_executable_extensions; do
5706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5707 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
5708 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5714 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5717 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5718 if test -n "$ac_ct_DSYMUTIL"; then
5719 echo "$as_me:$LINENO: result
: $ac_ct_DSYMUTIL" >&5
5720 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
5722 echo "$as_me:$LINENO: result
: no
" >&5
5723 echo "${ECHO_T}no
" >&6
5726 DSYMUTIL=$ac_ct_DSYMUTIL
5728 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
5731 if test -n "$ac_tool_prefix"; then
5732 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
5733 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
5734 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5735 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5736 if test "${ac_cv_prog_NMEDIT+set}" = set; then
5737 echo $ECHO_N "(cached
) $ECHO_C" >&6
5739 if test -n "$NMEDIT"; then
5740 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5749 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
5750 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5758 NMEDIT=$ac_cv_prog_NMEDIT
5759 if test -n "$NMEDIT"; then
5760 echo "$as_me:$LINENO: result
: $NMEDIT" >&5
5761 echo "${ECHO_T}$NMEDIT" >&6
5763 echo "$as_me:$LINENO: result
: no
" >&5
5764 echo "${ECHO_T}no
" >&6
5768 if test -z "$ac_cv_prog_NMEDIT"; then
5769 ac_ct_NMEDIT=$NMEDIT
5770 # Extract the first word of "nmedit
", so it can be a program name with args.
5771 set dummy nmedit; ac_word=$2
5772 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5773 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5774 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
5775 echo $ECHO_N "(cached
) $ECHO_C" >&6
5777 if test -n "$ac_ct_NMEDIT"; then
5778 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5784 test -z "$as_dir" && as_dir=.
5785 for ac_exec_ext in '' $ac_executable_extensions; do
5786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5787 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
5788 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5794 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
5797 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
5798 if test -n "$ac_ct_NMEDIT"; then
5799 echo "$as_me:$LINENO: result
: $ac_ct_NMEDIT" >&5
5800 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
5802 echo "$as_me:$LINENO: result
: no
" >&5
5803 echo "${ECHO_T}no
" >&6
5806 NMEDIT=$ac_ct_NMEDIT
5808 NMEDIT="$ac_cv_prog_NMEDIT"
5811 if test -n "$ac_tool_prefix"; then
5812 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
5813 set dummy ${ac_tool_prefix}lipo; ac_word=$2
5814 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5815 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5816 if test "${ac_cv_prog_LIPO+set}" = set; then
5817 echo $ECHO_N "(cached
) $ECHO_C" >&6
5819 if test -n "$LIPO"; then
5820 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
5822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 test -z "$as_dir" && as_dir=.
5827 for ac_exec_ext in '' $ac_executable_extensions; do
5828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
5830 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5838 LIPO=$ac_cv_prog_LIPO
5839 if test -n "$LIPO"; then
5840 echo "$as_me:$LINENO: result
: $LIPO" >&5
5841 echo "${ECHO_T}$LIPO" >&6
5843 echo "$as_me:$LINENO: result
: no
" >&5
5844 echo "${ECHO_T}no
" >&6
5848 if test -z "$ac_cv_prog_LIPO"; then
5850 # Extract the first word of "lipo
", so it can be a program name with args.
5851 set dummy lipo; ac_word=$2
5852 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5853 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5854 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
5855 echo $ECHO_N "(cached
) $ECHO_C" >&6
5857 if test -n "$ac_ct_LIPO"; then
5858 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
5860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 test -z "$as_dir" && as_dir=.
5865 for ac_exec_ext in '' $ac_executable_extensions; do
5866 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5867 ac_cv_prog_ac_ct_LIPO="lipo
"
5868 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5874 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
5877 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
5878 if test -n "$ac_ct_LIPO"; then
5879 echo "$as_me:$LINENO: result
: $ac_ct_LIPO" >&5
5880 echo "${ECHO_T}$ac_ct_LIPO" >&6
5882 echo "$as_me:$LINENO: result
: no
" >&5
5883 echo "${ECHO_T}no
" >&6
5888 LIPO="$ac_cv_prog_LIPO"
5891 if test -n "$ac_tool_prefix"; then
5892 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
5893 set dummy ${ac_tool_prefix}otool; ac_word=$2
5894 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5895 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5896 if test "${ac_cv_prog_OTOOL+set}" = set; then
5897 echo $ECHO_N "(cached
) $ECHO_C" >&6
5899 if test -n "$OTOOL"; then
5900 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
5902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5906 test -z "$as_dir" && as_dir=.
5907 for ac_exec_ext in '' $ac_executable_extensions; do
5908 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5909 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
5910 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5918 OTOOL=$ac_cv_prog_OTOOL
5919 if test -n "$OTOOL"; then
5920 echo "$as_me:$LINENO: result
: $OTOOL" >&5
5921 echo "${ECHO_T}$OTOOL" >&6
5923 echo "$as_me:$LINENO: result
: no
" >&5
5924 echo "${ECHO_T}no
" >&6
5928 if test -z "$ac_cv_prog_OTOOL"; then
5930 # Extract the first word of "otool
", so it can be a program name with args.
5931 set dummy otool; ac_word=$2
5932 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5933 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5934 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
5935 echo $ECHO_N "(cached
) $ECHO_C" >&6
5937 if test -n "$ac_ct_OTOOL"; then
5938 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
5940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5944 test -z "$as_dir" && as_dir=.
5945 for ac_exec_ext in '' $ac_executable_extensions; do
5946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5947 ac_cv_prog_ac_ct_OTOOL="otool
"
5948 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5954 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
5957 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
5958 if test -n "$ac_ct_OTOOL"; then
5959 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL" >&5
5960 echo "${ECHO_T}$ac_ct_OTOOL" >&6
5962 echo "$as_me:$LINENO: result
: no
" >&5
5963 echo "${ECHO_T}no
" >&6
5968 OTOOL="$ac_cv_prog_OTOOL"
5971 if test -n "$ac_tool_prefix"; then
5972 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
5973 set dummy ${ac_tool_prefix}otool64; ac_word=$2
5974 echo "$as_me:$LINENO: checking
for $ac_word" >&5
5975 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
5976 if test "${ac_cv_prog_OTOOL64+set}" = set; then
5977 echo $ECHO_N "(cached
) $ECHO_C" >&6
5979 if test -n "$OTOOL64"; then
5980 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
5982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5986 test -z "$as_dir" && as_dir=.
5987 for ac_exec_ext in '' $ac_executable_extensions; do
5988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5989 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
5990 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
5998 OTOOL64=$ac_cv_prog_OTOOL64
5999 if test -n "$OTOOL64"; then
6000 echo "$as_me:$LINENO: result
: $OTOOL64" >&5
6001 echo "${ECHO_T}$OTOOL64" >&6
6003 echo "$as_me:$LINENO: result
: no
" >&5
6004 echo "${ECHO_T}no
" >&6
6008 if test -z "$ac_cv_prog_OTOOL64"; then
6009 ac_ct_OTOOL64=$OTOOL64
6010 # Extract the first word of "otool64
", so it can be a program name with args.
6011 set dummy otool64; ac_word=$2
6012 echo "$as_me:$LINENO: checking
for $ac_word" >&5
6013 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6
6014 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6015 echo $ECHO_N "(cached
) $ECHO_C" >&6
6017 if test -n "$ac_ct_OTOOL64"; then
6018 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6024 test -z "$as_dir" && as_dir=.
6025 for ac_exec_ext in '' $ac_executable_extensions; do
6026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6027 ac_cv_prog_ac_ct_OTOOL64="otool64
"
6028 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
6034 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6037 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6038 if test -n "$ac_ct_OTOOL64"; then
6039 echo "$as_me:$LINENO: result
: $ac_ct_OTOOL64" >&5
6040 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6042 echo "$as_me:$LINENO: result
: no
" >&5
6043 echo "${ECHO_T}no
" >&6
6046 OTOOL64=$ac_ct_OTOOL64
6048 OTOOL64="$ac_cv_prog_OTOOL64"
6077 echo "$as_me:$LINENO: checking
for -single_module linker flag
" >&5
6078 echo $ECHO_N "checking
for -single_module linker flag...
$ECHO_C" >&6
6079 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6080 echo $ECHO_N "(cached
) $ECHO_C" >&6
6082 lt_cv_apple_cc_single_mod=no
6083 if test -z "${LT_MULTI_MODULE}"; then
6084 # By default we will add the -single_module flag. You can override
6085 # by either setting the environment variable LT_MULTI_MODULE
6086 # non-empty at configure time, or by adding -multi_module to the
6088 rm -rf libconftest.dylib*
6089 echo "int foo
(void
){return 1;}" > conftest.c
6090 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6091 -dynamiclib -Wl,-single_module conftest.c
" >&5
6092 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6093 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6095 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6096 lt_cv_apple_cc_single_mod=yes
6098 cat conftest.err >&5
6100 rm -rf libconftest.dylib*
6104 echo "$as_me:$LINENO: result
: $lt_cv_apple_cc_single_mod" >&5
6105 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6106 echo "$as_me:$LINENO: checking
for -exported_symbols_list linker flag
" >&5
6107 echo $ECHO_N "checking
for -exported_symbols_list linker flag...
$ECHO_C" >&6
6108 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6109 echo $ECHO_N "(cached
) $ECHO_C" >&6
6111 lt_cv_ld_exported_symbols_list=no
6112 save_LDFLAGS=$LDFLAGS
6113 echo "_main
" > conftest.sym
6114 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
6115 if test x$gcc_no_link = xyes; then
6116 { { echo "$as_me:$LINENO: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&5
6117 echo "$as_me: error
: Link tests are not allowed after GCC_NO_EXECUTABLES.
" >&2;}
6118 { (exit 1); exit 1; }; }
6120 cat >conftest.$ac_ext <<_ACEOF
6123 cat confdefs.h >>conftest.$ac_ext
6124 cat >>conftest.$ac_ext <<_ACEOF
6125 /* end confdefs.h. */
6135 rm -f conftest.$ac_objext conftest$ac_exeext
6136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6137 (eval $ac_link) 2>conftest.er1
6139 grep -v '^ *+' conftest.er1 >conftest.err
6141 cat conftest.err >&5
6142 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6143 (exit $ac_status); } &&
6144 { ac_try='test -z "$ac_c_werror_flag"
6145 || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 lt_cv_ld_exported_symbols_list=yes
6159 echo "$as_me: failed program was
:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6162 lt_cv_ld_exported_symbols_list=no
6164 rm -f conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LDFLAGS="$save_LDFLAGS"
6169 echo "$as_me:$LINENO: result
: $lt_cv_ld_exported_symbols_list" >&5
6170 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6172 rhapsody* | darwin1.[012])
6173 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6175 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6176 darwin*) # darwin 5.x on
6177 # if running on 10.5 or later, the deployment target defaults
6178 # to the OS version, if on x86, and 10.4, the deployment
6179 # target defaults to 10.4. Don't you love it?
6180 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6181 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6184 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6186 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6190 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6191 _lt_dar_single_mod='$single_module'
6193 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6194 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6196 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6198 if test "$DSYMUTIL" != ":"; then
6199 _lt_dsymutil='~$DSYMUTIL $lib || :'
6207 ac_cpp='$CPP $CPPFLAGS'
6208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6211 echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
6212 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6
6213 # On Suns, sometimes $CPP names a directory.
6214 if test -n "$CPP" && test -d "$CPP"; then
6217 if test -z "$CPP"; then
6218 if test "${ac_cv_prog_CPP+set}" = set; then
6219 echo $ECHO_N "(cached
) $ECHO_C" >&6
6221 # Double quotes because CPP needs to be expanded
6222 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
6225 for ac_c_preproc_warn_flag in '' yes
6227 # Use a header file that comes with gcc, so configuring glibc
6228 # with a fresh cross-compiler works.
6229 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6230 # <limits.h> exists even on freestanding compilers.
6231 # On the NeXT, cc -E runs the code through the compiler's parser,
6232 # not just through cpp. "Syntax error
" is here to catch this case.
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6240 # include <limits.h>
6242 # include <assert.h>
6246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6247 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6249 grep -v '^ *+' conftest.er1 >conftest.err
6251 cat conftest.err >&5
6252 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6253 (exit $ac_status); } >/dev/null; then
6254 if test -s conftest.err; then
6255 ac_cpp_err=$ac_c_preproc_warn_flag
6256 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6263 if test -z "$ac_cpp_err"; then
6266 echo "$as_me: failed program was
:" >&5
6267 sed 's/^/| /' conftest.$ac_ext >&5
6269 # Broken: fails on valid input.
6272 rm -f conftest.err conftest.$ac_ext
6274 # OK, works on sane cases. Now check whether non-existent headers
6275 # can be detected and how.
6276 cat >conftest.$ac_ext <<_ACEOF
6279 cat confdefs.h >>conftest.$ac_ext
6280 cat >>conftest.$ac_ext <<_ACEOF
6281 /* end confdefs.h. */
6282 #include <ac_nonexistent.h>
6284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6287 grep -v '^ *+' conftest.er1 >conftest.err
6289 cat conftest.err >&5
6290 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6291 (exit $ac_status); } >/dev/null; then
6292 if test -s conftest.err; then
6293 ac_cpp_err=$ac_c_preproc_warn_flag
6294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6301 if test -z "$ac_cpp_err"; then
6302 # Broken: success on invalid input.
6305 echo "$as_me: failed program was
:" >&5
6306 sed 's/^/| /' conftest.$ac_ext >&5
6308 # Passes both tests.
6312 rm -f conftest.err conftest.$ac_ext
6315 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6316 rm -f conftest.err conftest.$ac_ext
6317 if $ac_preproc_ok; then
6329 echo "$as_me:$LINENO: result
: $CPP" >&5
6330 echo "${ECHO_T}$CPP" >&6
6332 for ac_c_preproc_warn_flag in '' yes
6334 # Use a header file that comes with gcc, so configuring glibc
6335 # with a fresh cross-compiler works.
6336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6337 # <limits.h> exists even on freestanding compilers.
6338 # On the NeXT, cc -E runs the code through the compiler's parser,
6339 # not just through cpp. "Syntax error
" is here to catch this case.
6340 cat >conftest.$ac_ext <<_ACEOF
6343 cat confdefs.h >>conftest.$ac_ext
6344 cat >>conftest.$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6347 # include <limits.h>
6349 # include <assert.h>
6353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6354 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6356 grep -v '^ *+' conftest.er1 >conftest.err
6358 cat conftest.err >&5
6359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6360 (exit $ac_status); } >/dev/null; then
6361 if test -s conftest.err; then
6362 ac_cpp_err=$ac_c_preproc_warn_flag
6363 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6370 if test -z "$ac_cpp_err"; then
6373 echo "$as_me: failed program was
:" >&5
6374 sed 's/^/| /' conftest.$ac_ext >&5
6376 # Broken: fails on valid input.
6379 rm -f conftest.err conftest.$ac_ext
6381 # OK, works on sane cases. Now check whether non-existent headers
6382 # can be detected and how.
6383 cat >conftest.$ac_ext <<_ACEOF
6386 cat confdefs.h >>conftest.$ac_ext
6387 cat >>conftest.$ac_ext <<_ACEOF
6388 /* end confdefs.h. */
6389 #include <ac_nonexistent.h>
6391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.
$ac_ext\"") >&5
6392 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6394 grep -v '^ *+' conftest.er1 >conftest.err
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
6398 (exit $ac_status); } >/dev/null; then
6399 if test -s conftest.err; then
6400 ac_cpp_err=$ac_c_preproc_warn_flag
6401 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6408 if test -z "$ac_cpp_err"; then
6409 # Broken: success on invalid input.
6412 echo "$as_me: failed program was
:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 # Passes both tests.
6419 rm -f conftest.err conftest.$ac_ext
6422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6423 rm -f conftest.err conftest.$ac_ext
6424 if $ac_preproc_ok; then
6427 { { echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
6428 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6429 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
6430 See \`config.log' for more details.
" >&5
6431 echo "$as_me: error
: C preprocessor
\"$CPP\" fails sanity check
6432 See \
`config.log' for more details." >&2;}
6433 { (exit 1); exit 1; }; }; }
6437 ac_cpp='$CPP $CPPFLAGS'
6438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6443 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6444 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6445 if test "${ac_cv_header_stdc+set}" = set; then
6446 echo $ECHO_N "(cached) $ECHO_C" >&6
6448 cat >conftest.$ac_ext <<_ACEOF
6451 cat confdefs.h >>conftest.$ac_ext
6452 cat >>conftest.$ac_ext <<_ACEOF
6453 /* end confdefs.h. */
6467 rm -f conftest.$ac_objext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6469 (eval $ac_compile) 2>conftest.er1
6471 grep -v '^ *+' conftest.er1 >conftest.err
6473 cat conftest.err >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } &&
6476 { ac_try='test -z "$ac_c_werror_flag"
6477 || test ! -s conftest.err'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; } &&
6483 { ac_try='test -s conftest.$ac_objext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 ac_cv_header_stdc=yes
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.$ac_ext >&5
6494 ac_cv_header_stdc=no
6496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6498 if test $ac_cv_header_stdc = yes; then
6499 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6500 cat >conftest.$ac_ext <<_ACEOF
6503 cat confdefs.h >>conftest.$ac_ext
6504 cat >>conftest.$ac_ext <<_ACEOF
6505 /* end confdefs.h. */
6509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6510 $EGREP "memchr" >/dev/null 2>&1; then
6513 ac_cv_header_stdc=no
6519 if test $ac_cv_header_stdc = yes; then
6520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6521 cat >conftest.$ac_ext <<_ACEOF
6524 cat confdefs.h >>conftest.$ac_ext
6525 cat >>conftest.$ac_ext <<_ACEOF
6526 /* end confdefs.h. */
6530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6531 $EGREP "free" >/dev/null 2>&1; then
6534 ac_cv_header_stdc=no
6540 if test $ac_cv_header_stdc = yes; then
6541 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6542 if test "$cross_compiling" = yes; then
6545 cat >conftest.$ac_ext <<_ACEOF
6548 cat confdefs.h >>conftest.$ac_ext
6549 cat >>conftest.$ac_ext <<_ACEOF
6550 /* end confdefs.h. */
6552 #if ((' ' & 0x0FF) == 0x020)
6553 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6554 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6556 # define ISLOWER(c) \
6557 (('a' <= (c) && (c) <= 'i') \
6558 || ('j' <= (c) && (c) <= 'r') \
6559 || ('s' <= (c) && (c) <= 'z'))
6560 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6563 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6568 for (i = 0; i < 256; i++)
6569 if (XOR (islower (i), ISLOWER (i))
6570 || toupper (i) != TOUPPER (i))
6575 rm -f conftest$ac_exeext
6576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6577 (eval $ac_link) 2>&5
6579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6580 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; }; then
6588 echo "$as_me: program exited with status $ac_status" >&5
6589 echo "$as_me: failed program was:" >&5
6590 sed 's/^/| /' conftest.$ac_ext >&5
6593 ac_cv_header_stdc=no
6595 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6599 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6600 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6601 if test $ac_cv_header_stdc = yes; then
6603 cat >>confdefs.h <<\_ACEOF
6604 #define STDC_HEADERS 1
6609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6620 inttypes.h stdint.h unistd.h
6622 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6623 echo "$as_me:$LINENO: checking for $ac_header" >&5
6624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6626 echo $ECHO_N "(cached) $ECHO_C" >&6
6628 cat >conftest.$ac_ext <<_ACEOF
6631 cat confdefs.h >>conftest.$ac_ext
6632 cat >>conftest.$ac_ext <<_ACEOF
6633 /* end confdefs.h. */
6634 $ac_includes_default
6636 #include <$ac_header>
6638 rm -f conftest.$ac_objext
6639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6640 (eval $ac_compile) 2>conftest.er1
6642 grep -v '^ *+' conftest.er1 >conftest.err
6644 cat conftest.err >&5
6645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6646 (exit $ac_status); } &&
6647 { ac_try='test -z "$ac_c_werror_flag"
6648 || test ! -s conftest.err'
6649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6653 (exit $ac_status); }; } &&
6654 { ac_try='test -s conftest.$ac_objext'
6655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659 (exit $ac_status); }; }; then
6660 eval "$as_ac_Header=yes"
6662 echo "$as_me: failed program was:" >&5
6663 sed 's/^/| /' conftest.$ac_ext >&5
6665 eval "$as_ac_Header=no"
6667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6672 cat >>confdefs.h <<_ACEOF
6673 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6682 for ac_header in dlfcn.h
6684 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
6685 echo "$as_me:$LINENO: checking for $ac_header" >&5
6686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 cat >conftest.$ac_ext <<_ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 $ac_includes_default
6698 #include <$ac_header>
6700 rm -f conftest.$ac_objext
6701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6702 (eval $ac_compile) 2>conftest.er1
6704 grep -v '^ *+' conftest.er1 >conftest.err
6706 cat conftest.err >&5
6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6708 (exit $ac_status); } &&
6709 { ac_try='test -z "$ac_c_werror_flag"
6710 || test ! -s conftest.err'
6711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6715 (exit $ac_status); }; } &&
6716 { ac_try='test -s conftest.$ac_objext'
6717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6721 (exit $ac_status); }; }; then
6722 eval "$as_ac_Header=yes"
6724 echo "$as_me: failed program was:" >&5
6725 sed 's/^/| /' conftest.$ac_ext >&5
6727 eval "$as_ac_Header=no"
6729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6734 cat >>confdefs.h <<_ACEOF
6735 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6752 # Check whether --enable-shared or --disable-shared was given.
6753 if test "${enable_shared+set}" = set; then
6754 enableval="$enable_shared"
6755 p=${PACKAGE-default}
6757 yes) enable_shared=yes ;;
6758 no) enable_shared=no ;;
6761 # Look at the argument we got. We use all the common list separators.
6762 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6763 for pkg in $enableval; do
6765 if test "X$pkg" = "X$p"; then
6783 # Check whether --enable-static or --disable-static was given.
6784 if test "${enable_static+set}" = set; then
6785 enableval="$enable_static"
6786 p=${PACKAGE-default}
6788 yes) enable_static=yes ;;
6789 no) enable_static=no ;;
6792 # Look at the argument we got. We use all the common list separators.
6793 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6794 for pkg in $enableval; do
6796 if test "X$pkg" = "X$p"; then
6815 # Check whether --with-pic or --without-pic was given.
6816 if test "${with_pic+set}" = set; then
6823 test -z "$pic_mode" && pic_mode=default
6831 # Check whether --enable-fast-install or --disable-fast-install was given.
6832 if test "${enable_fast_install+set}" = set; then
6833 enableval="$enable_fast_install"
6834 p=${PACKAGE-default}
6836 yes) enable_fast_install=yes ;;
6837 no) enable_fast_install=no ;;
6839 enable_fast_install=no
6840 # Look at the argument we got. We use all the common list separators.
6841 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
6842 for pkg in $enableval; do
6844 if test "X$pkg" = "X$p"; then
6845 enable_fast_install=yes
6852 enable_fast_install=yes
6864 # This can be used to rebuild libtool when needed
6865 LIBTOOL_DEPS="$ltmain"
6867 # Always use our own libtool.
6868 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6894 test -z "$LN_S" && LN_S="ln -s"
6909 if test -n "${ZSH_VERSION+set}" ; then
6910 setopt NO_GLOB_SUBST
6913 echo "$as_me:$LINENO: checking for objdir" >&5
6914 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6915 if test "${lt_cv_objdir+set}" = set; then
6916 echo $ECHO_N "(cached) $ECHO_C" >&6
6918 rm -f .libs 2>/dev/null
6919 mkdir .libs 2>/dev/null
6920 if test -d .libs; then
6923 # MS-DOS does not allow filenames that begin with a dot.
6926 rmdir .libs 2>/dev/null
6928 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6929 echo "${ECHO_T}$lt_cv_objdir" >&6
6930 objdir=$lt_cv_objdir
6936 cat >>confdefs.h <<_ACEOF
6937 #define LT_OBJDIR "$lt_cv_objdir/"
6958 # AIX sometimes has problems with the GCC collect2 program. For some
6959 # reason, if we set the COLLECT_NAMES environment variable, the problems
6960 # vanish in a puff of smoke.
6961 if test "X${COLLECT_NAMES+set}" != Xset; then
6963 export COLLECT_NAMES
6968 # Sed substitution that helps us do robust quoting. It backslashifies
6969 # metacharacters that are still active within double-quoted strings.
6970 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6972 # Same as above, but do not quote variable references.
6973 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
6975 # Sed substitution to delay expansion of an escaped shell variable in a
6976 # double_quote_subst'ed string.
6977 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6979 # Sed substitution to delay expansion of an escaped single quote.
6980 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6982 # Sed substitution to avoid accidental globbing in evaled expressions
6983 no_glob_subst='s/\*/\\\*/g'
6987 can_build_shared=yes
6989 # All known linkers require a `.a' archive for static linking (except MSVC,
6990 # which needs '.lib').
6993 with_gnu_ld="$lt_cv_prog_gnu_ld"
6996 old_CFLAGS="$CFLAGS"
6998 # Set sane defaults for various variables
6999 test -z "$CC" && CC=cc
7000 test -z "$LTCC" && LTCC=$CC
7001 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7002 test -z "$LD" && LD=ld
7003 test -z "$ac_objext" && ac_objext=o
7005 for cc_temp in $compiler""; do
7007 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7008 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7013 cc_basename=`$ECHO "X
$cc_temp" | $Xsed -e 's%.*/%%' -e "s
%^
$host_alias-%%"`
7016 # Only perform the check for file, if the check method requires it
7017 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7018 case $deplibs_check_method in
7020 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7021 echo "$as_me:$LINENO: checking
for ${ac_tool_prefix}file" >&5
7022 echo $ECHO_N "checking
for ${ac_tool_prefix}file...
$ECHO_C" >&6
7023 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7024 echo $ECHO_N "(cached
) $ECHO_C" >&6
7028 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7031 lt_save_MAGIC_CMD="$MAGIC_CMD"
7032 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7033 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7034 for ac_dir in $ac_dummy; do
7036 test -z "$ac_dir" && ac_dir=.
7037 if test -f $ac_dir/${ac_tool_prefix}file; then
7038 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7039 if test -n "$file_magic_test_file"; then
7040 case $deplibs_check_method in
7042 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7043 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7044 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7045 $EGREP "$file_magic_regex" > /dev/null; then
7050 *** Warning: the command libtool uses to detect shared libraries,
7051 *** $file_magic_cmd, produces output that libtool cannot recognize.
7052 *** The result is that libtool may fail to recognize shared libraries
7053 *** as such. This will affect the creation of libtool libraries that
7054 *** depend on shared libraries, but programs linked with such libtool
7055 *** libraries will work regardless of this problem. Nevertheless, you
7056 *** may want to report the problem to your system manager and/or to
7057 *** bug-libtool@gnu.org
7067 MAGIC_CMD="$lt_save_MAGIC_CMD"
7072 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7073 if test -n "$MAGIC_CMD"; then
7074 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
7075 echo "${ECHO_T}$MAGIC_CMD" >&6
7077 echo "$as_me:$LINENO: result
: no
" >&5
7078 echo "${ECHO_T}no
" >&6
7085 if test -z "$lt_cv_path_MAGIC_CMD"; then
7086 if test -n "$ac_tool_prefix"; then
7087 echo "$as_me:$LINENO: checking
for file" >&5
7088 echo $ECHO_N "checking
for file...
$ECHO_C" >&6
7089 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7090 echo $ECHO_N "(cached
) $ECHO_C" >&6
7094 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7097 lt_save_MAGIC_CMD="$MAGIC_CMD"
7098 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7099 ac_dummy="/usr
/bin
$PATH_SEPARATOR$PATH"
7100 for ac_dir in $ac_dummy; do
7102 test -z "$ac_dir" && ac_dir=.
7103 if test -f $ac_dir/file; then
7104 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7105 if test -n "$file_magic_test_file"; then
7106 case $deplibs_check_method in
7108 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \
(.
*\
)"`
7109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7110 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7111 $EGREP "$file_magic_regex" > /dev/null; then
7116 *** Warning: the command libtool uses to detect shared libraries,
7117 *** $file_magic_cmd, produces output that libtool cannot recognize.
7118 *** The result is that libtool may fail to recognize shared libraries
7119 *** as such. This will affect the creation of libtool libraries that
7120 *** depend on shared libraries, but programs linked with such libtool
7121 *** libraries will work regardless of this problem. Nevertheless, you
7122 *** may want to report the problem to your system manager and/or to
7123 *** bug-libtool@gnu.org
7133 MAGIC_CMD="$lt_save_MAGIC_CMD"
7138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7139 if test -n "$MAGIC_CMD"; then
7140 echo "$as_me:$LINENO: result
: $MAGIC_CMD" >&5
7141 echo "${ECHO_T}$MAGIC_CMD" >&6
7143 echo "$as_me:$LINENO: result
: no
" >&5
7144 echo "${ECHO_T}no
" >&6
7157 # Use C for the default configuration in the libtool script
7161 ac_cpp='$CPP $CPPFLAGS'
7162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7167 # Source file extension for C test sources.
7170 # Object file extension for compiled C test sources.
7174 # Code to be used in simple compile tests
7175 lt_simple_compile_test_code="int some_variable
= 0;"
7177 # Code to be used in simple link tests
7178 lt_simple_link_test_code='int main(){return(0);}'
7186 # If no C compiler was specified, use CC.
7189 # If no C compiler flags were specified, use CFLAGS.
7190 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7192 # Allow CC to be a program name with arguments.
7195 # Save the default compiler, since it gets overwritten when the other
7196 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7197 compiler_DEFAULT=$CC
7199 # save warnings/boilerplate of simple test code
7200 ac_outfile=conftest.$ac_objext
7201 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7202 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7203 _lt_compiler_boilerplate=`cat conftest.err`
7206 ac_outfile=conftest.$ac_objext
7207 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7208 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7209 _lt_linker_boilerplate=`cat conftest.err`
7214 ## There is no encapsulation within the following macros, do not change
7215 ## the running order or otherwise move them around unless you know exactly
7216 ## what you are doing...
7217 if test -n "$compiler"; then
7219 lt_prog_compiler_no_builtin_flag=
7221 if test "$GCC" = yes; then
7222 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7224 echo "$as_me:$LINENO: checking
if $compiler supports
-fno-rtti -fno-exceptions" >&5
7225 echo $ECHO_N "checking
if $compiler supports
-fno-rtti -fno-exceptions...
$ECHO_C" >&6
7226 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7227 echo $ECHO_N "(cached
) $ECHO_C" >&6
7229 lt_cv_prog_compiler_rtti_exceptions=no
7230 ac_outfile=conftest.$ac_objext
7231 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7232 lt_compiler_flag="-fno-rtti -fno-exceptions"
7233 # Insert the option either (1) after the last *FLAGS variable, or
7234 # (2) before a word containing "conftest.
", or (3) at the end.
7235 # Note that $ac_compile itself does not contain backslashes and begins
7236 # with a dollar sign (not a hyphen), so the echo should work correctly.
7237 # The option is referenced via a variable to avoid confusing sed.
7238 lt_compile=`echo "$ac_compile" | $SED \
7239 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7240 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7241 -e 's:$: $lt_compiler_flag:'`
7242 (eval echo "\"\
$as_me:7242: $lt_compile\"" >&5)
7243 (eval "$lt_compile" 2>conftest.err)
7245 cat conftest.err >&5
7246 echo "$as_me:7246: \$?
= $ac_status" >&5
7247 if (exit $ac_status) && test -s "$ac_outfile"; then
7248 # The compiler can only warn and ignore the option if not recognized
7249 # So say no if there are warnings other than the usual output.
7250 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7251 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7252 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7253 lt_cv_prog_compiler_rtti_exceptions=yes
7259 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_rtti_exceptions" >&5
7260 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7263 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7275 lt_prog_compiler_wl=
7276 lt_prog_compiler_pic=
7277 lt_prog_compiler_static=
7279 echo "$as_me:$LINENO: checking
for $compiler option to produce PIC
" >&5
7280 echo $ECHO_N "checking
for $compiler option to produce PIC...
$ECHO_C" >&6
7282 if test "$GCC" = yes; then
7283 lt_prog_compiler_wl='-Wl,'
7284 lt_prog_compiler_static='-static'
7288 # All AIX code is PIC.
7289 if test "$host_cpu" = ia64; then
7290 # AIX 5 now supports IA64 processor
7291 lt_prog_compiler_static='-Bstatic'
7298 # see comment about AmigaOS4 .so support
7299 lt_prog_compiler_pic='-fPIC'
7302 # FIXME: we need at least 68020 code to build shared libraries, but
7303 # adding the `-m68020' flag to GCC prevents building anything better,
7305 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7310 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7311 # PIC is the default for these OSes.
7314 mingw* | cygwin* | pw32* | os2* | cegcc*)
7315 # This hack is so that the source file can tell whether it is being
7316 # built for inclusion in a dll (and should export symbols for example).
7317 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7318 # (--disable-auto-import) libraries
7319 lt_prog_compiler_pic='-DDLL_EXPORT'
7322 darwin* | rhapsody*)
7323 # PIC is the default on this platform
7324 # Common symbols not allowed in MH_DYLIB files
7325 lt_prog_compiler_pic='-fno-common'
7329 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7330 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7331 # sets the default TLS model and affects inlining.
7337 lt_prog_compiler_pic='-fPIC'
7343 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7344 # Instead, we relocate shared libraries at runtime.
7348 # Just because we use GCC doesn't mean we suddenly get shared libraries
7349 # on systems that don't support them.
7350 lt_prog_compiler_can_build_shared=no
7355 # QNX uses GNU C++, but need to define -shared option too, otherwise
7357 lt_prog_compiler_pic='-fPIC -shared'
7361 if test -d /usr/nec; then
7362 lt_prog_compiler_pic=-Kconform_pic
7367 lt_prog_compiler_pic='-fPIC'
7371 # PORTME Check for flag to pass linker flags through the system compiler.
7374 lt_prog_compiler_wl='-Wl,'
7375 if test "$host_cpu" = ia64; then
7376 # AIX 5 now supports IA64 processor
7377 lt_prog_compiler_static='-Bstatic'
7379 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7383 mingw* | cygwin* | pw32* | os2* | cegcc*)
7384 # This hack is so that the source file can tell whether it is being
7385 # built for inclusion in a dll (and should export symbols for example).
7386 lt_prog_compiler_pic='-DDLL_EXPORT'
7389 hpux9* | hpux10* | hpux11*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7398 lt_prog_compiler_pic='+Z'
7401 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7402 lt_prog_compiler_static='${wl}-a ${wl}archive'
7405 irix5* | irix6* | nonstopux*)
7406 lt_prog_compiler_wl='-Wl,'
7407 # PIC (with -KPIC) is the default.
7408 lt_prog_compiler_static='-non_shared'
7411 linux* | k*bsd*-gnu)
7412 case $cc_basename in
7413 # old Intel for x86_64 which still supported -KPIC.
7415 lt_prog_compiler_wl='-Wl,'
7416 lt_prog_compiler_pic='-KPIC'
7417 lt_prog_compiler_static='-static'
7419 # icc used to be incompatible with GCC.
7420 # ICC 10 doesn't accept -KPIC any more.
7422 lt_prog_compiler_wl='-Wl,'
7423 lt_prog_compiler_pic='-fPIC'
7424 lt_prog_compiler_static='-static'
7426 # Lahey Fortran 8.1.
7428 lt_prog_compiler_wl='-Wl,'
7429 lt_prog_compiler_pic='--shared'
7430 lt_prog_compiler_static='--static'
7432 pgcc* | pgf77* | pgf90* | pgf95*)
7433 # Portland Group compilers (*not* the Pentium gcc compiler,
7434 # which looks to be a dead project)
7435 lt_prog_compiler_wl='-Wl,'
7436 lt_prog_compiler_pic='-fpic'
7437 lt_prog_compiler_static='-Bstatic'
7440 lt_prog_compiler_wl='-Wl,'
7441 # All Alpha code is PIC.
7442 lt_prog_compiler_static='-non_shared'
7445 # IBM XL C 8.0/Fortran 10.1 on PPC
7446 lt_prog_compiler_wl='-Wl,'
7447 lt_prog_compiler_pic='-qpic'
7448 lt_prog_compiler_static='-qstaticlink'
7451 case `$CC -V 2>&1 | sed 5q` in
7454 lt_prog_compiler_pic='-KPIC'
7455 lt_prog_compiler_static='-Bstatic'
7456 lt_prog_compiler_wl='-Wl,'
7459 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7460 lt_prog_compiler_pic='-KPIC'
7461 lt_prog_compiler_static='-Bstatic'
7462 lt_prog_compiler_wl=''
7470 lt_prog_compiler_pic='-KPIC'
7471 lt_prog_compiler_static='-Bstatic'
7475 # QNX uses GNU C++, but need to define -shared option too, otherwise
7477 lt_prog_compiler_pic='-fPIC -shared'
7480 osf3* | osf4* | osf5*)
7481 lt_prog_compiler_wl='-Wl,'
7482 # All OSF/1 code is PIC.
7483 lt_prog_compiler_static='-non_shared'
7487 lt_prog_compiler_static='-non_shared'
7491 lt_prog_compiler_pic='-KPIC'
7492 lt_prog_compiler_static='-Bstatic'
7493 case $cc_basename in
7495 lt_prog_compiler_wl='-Qoption ld ';;
7497 lt_prog_compiler_wl='-Wl,';;
7502 lt_prog_compiler_wl='-Qoption ld '
7503 lt_prog_compiler_pic='-PIC'
7504 lt_prog_compiler_static='-Bstatic'
7507 sysv4 | sysv4.2uw2* | sysv4.3*)
7508 lt_prog_compiler_wl='-Wl,'
7509 lt_prog_compiler_pic='-KPIC'
7510 lt_prog_compiler_static='-Bstatic'
7514 if test -d /usr/nec ;then
7515 lt_prog_compiler_pic='-Kconform_pic'
7516 lt_prog_compiler_static='-Bstatic'
7520 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7521 lt_prog_compiler_wl='-Wl,'
7522 lt_prog_compiler_pic='-KPIC'
7523 lt_prog_compiler_static='-Bstatic'
7527 lt_prog_compiler_wl='-Wl,'
7528 lt_prog_compiler_can_build_shared=no
7532 lt_prog_compiler_pic='-pic'
7533 lt_prog_compiler_static='-Bstatic'
7537 lt_prog_compiler_can_build_shared=no
7543 # For platforms which do not support PIC, -DPIC is meaningless:
7545 lt_prog_compiler_pic=
7548 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7551 echo "$as_me:$LINENO: result
: $lt_prog_compiler_pic" >&5
7552 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7560 # Check to make sure the PIC flag actually works.
7562 if test -n "$lt_prog_compiler_pic"; then
7563 echo "$as_me:$LINENO: checking
if $compiler PIC flag
$lt_prog_compiler_pic works
" >&5
7564 echo $ECHO_N "checking
if $compiler PIC flag
$lt_prog_compiler_pic works...
$ECHO_C" >&6
7565 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
7566 echo $ECHO_N "(cached
) $ECHO_C" >&6
7568 lt_cv_prog_compiler_pic_works=no
7569 ac_outfile=conftest.$ac_objext
7570 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7571 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7572 # Insert the option either (1) after the last *FLAGS variable, or
7573 # (2) before a word containing "conftest.
", or (3) at the end.
7574 # Note that $ac_compile itself does not contain backslashes and begins
7575 # with a dollar sign (not a hyphen), so the echo should work correctly.
7576 # The option is referenced via a variable to avoid confusing sed.
7577 lt_compile=`echo "$ac_compile" | $SED \
7578 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7579 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7580 -e 's:$: $lt_compiler_flag:'`
7581 (eval echo "\"\
$as_me:7581: $lt_compile\"" >&5)
7582 (eval "$lt_compile" 2>conftest.err)
7584 cat conftest.err >&5
7585 echo "$as_me:7585: \$?
= $ac_status" >&5
7586 if (exit $ac_status) && test -s "$ac_outfile"; then
7587 # The compiler can only warn and ignore the option if not recognized
7588 # So say no if there are warnings other than the usual output.
7589 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7590 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7591 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7592 lt_cv_prog_compiler_pic_works=yes
7598 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_pic_works" >&5
7599 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
7601 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
7602 case $lt_prog_compiler_pic in
7604 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7607 lt_prog_compiler_pic=
7608 lt_prog_compiler_can_build_shared=no
7619 # Check to make sure the static flag actually works.
7621 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7622 echo "$as_me:$LINENO: checking
if $compiler static flag
$lt_tmp_static_flag works
" >&5
7623 echo $ECHO_N "checking
if $compiler static flag
$lt_tmp_static_flag works...
$ECHO_C" >&6
7624 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
7625 echo $ECHO_N "(cached
) $ECHO_C" >&6
7627 lt_cv_prog_compiler_static_works=no
7628 save_LDFLAGS="$LDFLAGS"
7629 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7630 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7631 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7632 # The linker can only warn and ignore the option if not recognized
7633 # So say no if there are warnings
7634 if test -s conftest.err; then
7635 # Append any errors to the config.log.
7636 cat conftest.err 1>&5
7637 $ECHO "X
$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7638 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7639 if diff conftest.exp conftest.er2 >/dev/null; then
7640 lt_cv_prog_compiler_static_works=yes
7643 lt_cv_prog_compiler_static_works=yes
7647 LDFLAGS="$save_LDFLAGS"
7650 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_static_works" >&5
7651 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
7653 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
7656 lt_prog_compiler_static=
7665 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7666 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7667 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7668 echo $ECHO_N "(cached
) $ECHO_C" >&6
7670 lt_cv_prog_compiler_c_o=no
7671 $RM -r conftest 2>/dev/null
7675 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7677 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7678 # Insert the option either (1) after the last *FLAGS variable, or
7679 # (2) before a word containing "conftest.
", or (3) at the end.
7680 # Note that $ac_compile itself does not contain backslashes and begins
7681 # with a dollar sign (not a hyphen), so the echo should work correctly.
7682 lt_compile=`echo "$ac_compile" | $SED \
7683 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7684 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7685 -e 's:$: $lt_compiler_flag:'`
7686 (eval echo "\"\
$as_me:7686: $lt_compile\"" >&5)
7687 (eval "$lt_compile" 2>out/conftest.err)
7689 cat out/conftest.err >&5
7690 echo "$as_me:7690: \$?
= $ac_status" >&5
7691 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7693 # The compiler can only warn and ignore the option if not recognized
7694 # So say no if there are warnings
7695 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7696 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7697 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7698 lt_cv_prog_compiler_c_o=yes
7703 # SGI C++ compiler will create directory out/ii_files/ for
7704 # template instantiation
7705 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7706 $RM out/* && rmdir out
7712 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7713 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7720 echo "$as_me:$LINENO: checking
if $compiler supports
-c -o file.
$ac_objext" >&5
7721 echo $ECHO_N "checking
if $compiler supports
-c -o file.
$ac_objext...
$ECHO_C" >&6
7722 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7723 echo $ECHO_N "(cached
) $ECHO_C" >&6
7725 lt_cv_prog_compiler_c_o=no
7726 $RM -r conftest 2>/dev/null
7730 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7732 lt_compiler_flag="-o out
/conftest2.
$ac_objext"
7733 # Insert the option either (1) after the last *FLAGS variable, or
7734 # (2) before a word containing "conftest.
", or (3) at the end.
7735 # Note that $ac_compile itself does not contain backslashes and begins
7736 # with a dollar sign (not a hyphen), so the echo should work correctly.
7737 lt_compile=`echo "$ac_compile" | $SED \
7738 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7739 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7740 -e 's:$: $lt_compiler_flag:'`
7741 (eval echo "\"\
$as_me:7741: $lt_compile\"" >&5)
7742 (eval "$lt_compile" 2>out/conftest.err)
7744 cat out/conftest.err >&5
7745 echo "$as_me:7745: \$?
= $ac_status" >&5
7746 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7748 # The compiler can only warn and ignore the option if not recognized
7749 # So say no if there are warnings
7750 $ECHO "X
$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7751 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7752 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7753 lt_cv_prog_compiler_c_o=yes
7758 # SGI C++ compiler will create directory out/ii_files/ for
7759 # template instantiation
7760 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7761 $RM out/* && rmdir out
7767 echo "$as_me:$LINENO: result
: $lt_cv_prog_compiler_c_o" >&5
7768 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7773 hard_links="nottested
"
7774 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7775 # do not overwrite the value of need_locks provided by the user
7776 echo "$as_me:$LINENO: checking
if we can lock with hard links
" >&5
7777 echo $ECHO_N "checking
if we can lock with hard links...
$ECHO_C" >&6
7780 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7782 ln conftest.a conftest.b 2>&5 || hard_links=no
7783 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7784 echo "$as_me:$LINENO: result
: $hard_links" >&5
7785 echo "${ECHO_T}$hard_links" >&6
7786 if test "$hard_links" = no; then
7787 { echo "$as_me:$LINENO: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&5
7788 echo "$as_me: WARNING
: \
`$CC' does not support \`-c -o', so \`make -j' may be unsafe
" >&2;}
7800 echo "$as_me:$LINENO: checking whether the
$compiler linker
($LD) supports shared libraries
" >&5
7801 echo $ECHO_N "checking whether the
$compiler linker
($LD) supports shared libraries...
$ECHO_C" >&6
7804 allow_undefined_flag=
7805 always_export_symbols=no
7807 archive_expsym_cmds=
7808 compiler_needs_object=no
7809 enable_shared_with_static_runtimes=no
7810 export_dynamic_flag_spec=
7811 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7812 hardcode_automatic=no
7814 hardcode_direct_absolute=no
7815 hardcode_libdir_flag_spec=
7816 hardcode_libdir_flag_spec_ld=
7817 hardcode_libdir_separator=
7819 hardcode_shlibpath_var=unsupported
7821 link_all_deplibs=unknown
7824 old_archive_from_new_cmds=
7825 old_archive_from_expsyms_cmds=
7826 thread_safe_flag_spec=
7827 whole_archive_flag_spec=
7828 # include_expsyms should be a list of space-separated symbols to be *always*
7829 # included in the symbol list
7831 # exclude_expsyms can be an extended regexp of symbols to exclude
7832 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7833 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7834 # as well as any symbol that contains `d'.
7835 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
7836 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7837 # platforms (ab)use it in PIC code, but their linkers get confused if
7838 # the symbol is explicitly referenced. Since portable code cannot
7839 # rely on this symbol name, it's probably fine to never include it in
7840 # preloaded symbol tables.
7841 # Exclude shared library initialization/finalization symbols.
7842 extract_expsyms_cmds=
7845 cygwin* | mingw* | pw32* | cegcc*)
7846 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7847 # When not using gcc, we currently assume that we are using
7848 # Microsoft Visual C++.
7849 if test "$GCC" != yes; then
7854 # we just hope/assume this is gcc and not c89 (= MSVC++)
7863 if test "$with_gnu_ld" = yes; then
7864 # If archive_cmds runs LD, not CC, wlarc should be empty
7867 # Set some defaults for GNU ld with shared library support. These
7868 # are reset later if shared libraries are not supported. Putting them
7869 # here allows them to be overridden if necessary.
7870 runpath_var=LD_RUN_PATH
7871 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7872 export_dynamic_flag_spec='${wl}--export-dynamic'
7873 # ancient GNU ld didn't support --whole-archive et. al.
7874 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7875 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7877 whole_archive_flag_spec=
7879 supports_anon_versioning=no
7880 case `$LD -v 2>&1` in
7881 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7882 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7883 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7884 *\ 2.11.*) ;; # other 2.11 versions
7885 *) supports_anon_versioning=yes ;;
7888 # See if GNU ld supports shared libraries.
7891 # On AIX/PPC, the GNU linker is very broken
7892 if test "$host_cpu" != ia64; then
7896 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7897 *** to be unable to reliably create shared libraries on AIX.
7898 *** Therefore, libtool is disabling shared libraries support. If you
7899 *** really care for shared libraries, you may want to modify your PATH
7900 *** so that a non-GNU linker is found, and then restart.
7909 # see comment about AmigaOS4 .so support
7910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7911 archive_expsym_cmds=''
7914 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7915 hardcode_libdir_flag_spec
='-L$libdir'
7916 hardcode_minus_L
=yes
7922 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
7923 allow_undefined_flag
=unsupported
7924 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7925 # support --undefined. This deserves some investigation. FIXME
7926 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7932 cygwin
* | mingw
* | pw32
* | cegcc
*)
7933 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7934 # as there is no search path for DLLs.
7935 hardcode_libdir_flag_spec
='-L$libdir'
7936 allow_undefined_flag
=unsupported
7937 always_export_symbols
=no
7938 enable_shared_with_static_runtimes
=yes
7939 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7941 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
7942 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7943 # If the export-symbols file already is a .def file (1st line
7944 # is EXPORTS), use it as is; otherwise, prepend...
7945 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7946 cp $export_symbols $output_objdir/$soname.def;
7948 echo EXPORTS > $output_objdir/$soname.def;
7949 cat $export_symbols >> $output_objdir/$soname.def;
7951 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7959 hardcode_shlibpath_var
=no
7960 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
7961 export_dynamic_flag_spec
='${wl}-E'
7962 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7963 # Instead, shared libraries are loaded at an image base (0x10000000 by
7964 # default) and relocated if they conflict, which is a slow very memory
7965 # consuming and fragmenting process. To avoid this, we pick a random,
7966 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7967 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7968 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7969 archive_expsym_cmds
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7972 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
7974 if test "$host_os" = linux-dietlibc
; then
7975 case $cc_basename in
7976 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
7979 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
7980 && test "$tmp_diet" = no
7983 tmp_sharedflag
='-shared'
7984 case $cc_basename,$host_cpu in
7985 pgcc
*) # Portland Group C compiler
7986 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7987 tmp_addflag
=' $pic_flag'
7989 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
7990 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7991 tmp_addflag
=' $pic_flag -Mnomain' ;;
7992 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
7993 tmp_addflag
=' -i_dynamic' ;;
7994 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
7995 tmp_addflag
=' -i_dynamic -nofor_main' ;;
7996 ifc
* | ifort
*) # Intel Fortran compiler
7997 tmp_addflag
=' -nofor_main' ;;
7998 lf95
*) # Lahey Fortran 8.1
7999 whole_archive_flag_spec
=
8000 tmp_sharedflag
='--shared' ;;
8001 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8002 tmp_sharedflag
='-qmkshrobj'
8005 case `$CC -V 2>&1 | sed 5q` in
8006 *Sun\ C
*) # Sun C 5.9
8007 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
8008 compiler_needs_object
=yes
8009 tmp_sharedflag
='-G' ;;
8010 *Sun\ F
*) # Sun Fortran 8.3
8011 tmp_sharedflag
='-G' ;;
8013 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8015 if test "x$supports_anon_versioning" = xyes
; then
8016 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8017 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8018 echo "local: *; };" >> $output_objdir/$libname.ver~
8019 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8022 case $cc_basename in
8024 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8025 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
8026 hardcode_libdir_flag_spec
=
8027 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
8028 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8029 if test "x$supports_anon_versioning" = xyes
; then
8030 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
8031 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8032 echo "local: *; };" >> $output_objdir/$libname.ver~
8033 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8043 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8044 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8047 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8048 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8053 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
8057 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8058 *** create shared libraries on Solaris systems. Therefore, libtool
8059 *** is disabling shared libraries support. We urge you to upgrade GNU
8060 *** binutils to release 2.9.1 or newer. Another option is to modify
8061 *** your PATH or compiler configuration so that the native linker is
8062 *** used, and then restart.
8065 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8066 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8067 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8073 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8074 case `$LD -v 2>&1` in
8075 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
8079 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8080 *** reliably create shared libraries on SCO systems. Therefore, libtool
8081 *** is disabling shared libraries support. We urge you to upgrade GNU
8082 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8083 *** your PATH or compiler configuration so that the native linker is
8084 *** used, and then restart.
8089 # For security reasons, it is highly recommended that you always
8090 # use absolute paths for naming shared libraries, and exclude the
8091 # DT_RUNPATH tag from executables and libraries. But doing so
8092 # requires that you compile everything twice, which is a pain.
8093 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8094 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8095 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8096 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8105 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8108 hardcode_shlibpath_var
=no
8112 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
8113 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8114 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8121 if test "$ld_shlibs" = no
; then
8123 hardcode_libdir_flag_spec
=
8124 export_dynamic_flag_spec
=
8125 whole_archive_flag_spec
=
8128 # PORTME fill in a description of your system's linker (not GNU ld)
8131 allow_undefined_flag
=unsupported
8132 always_export_symbols
=yes
8133 archive_expsym_cmds
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8134 # Note: this linker hardcodes the directories in LIBPATH if there
8135 # are no directories specified by -L.
8136 hardcode_minus_L
=yes
8137 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8138 # Neither direct hardcoding nor static linking is supported with a
8140 hardcode_direct
=unsupported
8145 if test "$host_cpu" = ia64
; then
8146 # On IA64, the linker does run time linking by default, so we don't
8147 # have to do anything special.
8148 aix_use_runtimelinking
=no
8149 exp_sym_flag
='-Bexport'
8152 # If we're using GNU nm, then we don't want the "-C" option.
8153 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8154 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
8155 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8157 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8159 aix_use_runtimelinking
=no
8161 # Test if we are trying to use run time linking or normal
8162 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8163 # need to do runtime linking.
8164 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
8165 for ld_flag
in $LDFLAGS; do
8166 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
8167 aix_use_runtimelinking
=yes
8174 exp_sym_flag
='-bexport'
8175 no_entry_flag
='-bnoentry'
8178 # When large executables or shared objects are built, AIX ld can
8179 # have problems creating the table of contents. If linking a library
8180 # or program results in "error TOC overflow" add -mminimal-toc to
8181 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8182 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8186 hardcode_direct_absolute
=yes
8187 hardcode_libdir_separator
=':'
8188 link_all_deplibs
=yes
8189 file_list_spec
='${wl}-f,'
8191 if test "$GCC" = yes; then
8192 case $host_os in aix4.
[012]|aix4.
[012].
*)
8193 # We only want to do this on AIX 4.2 and lower, the check
8194 # below for broken collect2 doesn't work under 4.3+
8195 collect2name
=`${CC} -print-prog-name=collect2`
8196 if test -f "$collect2name" &&
8197 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
8199 # We have reworked collect2
8202 # We have old collect2
8203 hardcode_direct
=unsupported
8204 # It fails to find uninstalled libraries when the uninstalled
8205 # path is not listed in the libpath. Setting hardcode_minus_L
8206 # to unsupported forces relinking
8207 hardcode_minus_L
=yes
8208 hardcode_libdir_flag_spec
='-L$libdir'
8209 hardcode_libdir_separator
=
8213 shared_flag
='-shared'
8214 if test "$aix_use_runtimelinking" = yes; then
8215 shared_flag
="$shared_flag "'${wl}-G'
8219 if test "$host_cpu" = ia64
; then
8220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8221 # chokes on -Wl,-G. The following line is correct:
8224 if test "$aix_use_runtimelinking" = yes; then
8225 shared_flag
='${wl}-G'
8227 shared_flag
='${wl}-bM:SRE'
8232 export_dynamic_flag_spec
='${wl}-bexpall'
8233 # It seems that -bexpall does not export symbols beginning with
8234 # underscore (_), so it is better to generate a list of symbols to export.
8235 always_export_symbols
=yes
8236 if test "$aix_use_runtimelinking" = yes; then
8237 # Warning - without using the other runtime loading flags (-brtl),
8238 # -berok will link without error, but may produce a broken library.
8239 allow_undefined_flag
='-berok'
8240 # Determine the default libpath from the value encoded in an
8242 if test x
$gcc_no_link = xyes
; then
8243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8245 { (exit 1); exit 1; }; }
8247 cat >conftest.
$ac_ext <<_ACEOF
8250 cat confdefs.h
>>conftest.
$ac_ext
8251 cat >>conftest.
$ac_ext <<_ACEOF
8252 /* end confdefs.h. */
8262 rm -f conftest.
$ac_objext conftest
$ac_exeext
8263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8264 (eval $ac_link) 2>conftest.er1
8266 grep -v '^ *+' conftest.er1
>conftest.err
8268 cat conftest.err
>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); } &&
8271 { ac_try
='test -z "$ac_c_werror_flag"
8272 || test ! -s conftest.err'
8273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8277 (exit $ac_status); }; } &&
8278 { ac_try
='test -s conftest$ac_exeext'
8279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8283 (exit $ac_status); }; }; then
8285 lt_aix_libpath_sed
='
8286 /Import File Strings/,/^$/ {
8292 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 # Check for a 64-bit object if we didn't find anything.
8294 if test -z "$aix_libpath"; then
8295 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8298 echo "$as_me: failed program was:" >&5
8299 sed 's/^/| /' conftest.
$ac_ext >&5
8302 rm -f conftest.err conftest.
$ac_objext \
8303 conftest
$ac_exeext conftest.
$ac_ext
8304 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8306 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8307 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8309 if test "$host_cpu" = ia64
; then
8310 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
8311 allow_undefined_flag
="-z nodefs"
8312 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8314 # Determine the default libpath from the value encoded in an
8316 if test x
$gcc_no_link = xyes
; then
8317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8319 { (exit 1); exit 1; }; }
8321 cat >conftest.
$ac_ext <<_ACEOF
8324 cat confdefs.h
>>conftest.
$ac_ext
8325 cat >>conftest.
$ac_ext <<_ACEOF
8326 /* end confdefs.h. */
8336 rm -f conftest.
$ac_objext conftest
$ac_exeext
8337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8338 (eval $ac_link) 2>conftest.er1
8340 grep -v '^ *+' conftest.er1
>conftest.err
8342 cat conftest.err
>&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } &&
8345 { ac_try
='test -z "$ac_c_werror_flag"
8346 || test ! -s conftest.err'
8347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); }; } &&
8352 { ac_try
='test -s conftest$ac_exeext'
8353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); }; }; then
8359 lt_aix_libpath_sed
='
8360 /Import File Strings/,/^$/ {
8366 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8367 # Check for a 64-bit object if we didn't find anything.
8368 if test -z "$aix_libpath"; then
8369 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.
$ac_ext >&5
8376 rm -f conftest.err conftest.
$ac_objext \
8377 conftest
$ac_exeext conftest.
$ac_ext
8378 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
8380 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
8381 # Warning - without using the other run time loading flags,
8382 # -berok will link without error, but may produce a broken library.
8383 no_undefined_flag
=' ${wl}-bernotok'
8384 allow_undefined_flag
=' ${wl}-berok'
8385 # Exported symbols can be pulled into shared objects from archives
8386 whole_archive_flag_spec
='$convenience'
8387 archive_cmds_need_lc
=yes
8388 # This is similar to how AIX traditionally builds its shared libraries.
8389 archive_expsym_cmds
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8397 # see comment about AmigaOS4 .so support
8398 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8399 archive_expsym_cmds
=''
8402 archive_cmds
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8403 hardcode_libdir_flag_spec
='-L$libdir'
8404 hardcode_minus_L
=yes
8410 export_dynamic_flag_spec
=-rdynamic
8413 cygwin
* | mingw
* | pw32
* | cegcc
*)
8414 # When not using gcc, we currently assume that we are using
8415 # Microsoft Visual C++.
8416 # hardcode_libdir_flag_spec is actually meaningless, as there is
8417 # no search path for DLLs.
8418 hardcode_libdir_flag_spec
=' '
8419 allow_undefined_flag
=unsupported
8420 # Tell ltmain to make .lib files, not .a files.
8422 # Tell ltmain to make .dll files, not .so files.
8424 # FIXME: Setting linknames here is a bad hack.
8425 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8426 # The linker will automatically build a .lib file if we build a DLL.
8427 old_archive_from_new_cmds
='true'
8428 # FIXME: Should let the user specify the lib program.
8429 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
8430 fix_srcfile_path
='`cygpath -w "$srcfile"`'
8431 enable_shared_with_static_runtimes
=yes
8434 darwin
* | rhapsody
*)
8437 archive_cmds_need_lc
=no
8439 hardcode_automatic
=yes
8440 hardcode_shlibpath_var
=unsupported
8441 whole_archive_flag_spec
=''
8442 link_all_deplibs
=yes
8443 allow_undefined_flag
="$_lt_dar_allow_undefined"
8444 case $cc_basename in
8445 ifort
*) _lt_dar_can_shared
=yes ;;
8446 *) _lt_dar_can_shared
=$GCC ;;
8448 if test "$_lt_dar_can_shared" = "yes"; then
8449 output_verbose_link_cmd
=echo
8450 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
8451 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
8452 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
8453 module_expsym_cmds
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
8462 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8463 hardcode_libdir_flag_spec
='-L$libdir'
8464 hardcode_shlibpath_var
=no
8471 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8472 # support. Future versions do this automatically, but an explicit c++rt0.o
8473 # does not break anything, and helps significantly (at the cost of a little
8476 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8477 hardcode_libdir_flag_spec
='-R$libdir'
8479 hardcode_shlibpath_var
=no
8482 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8484 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8486 hardcode_minus_L
=yes
8487 hardcode_shlibpath_var
=no
8490 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8491 freebsd
* | dragonfly
*)
8492 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8493 hardcode_libdir_flag_spec
='-R$libdir'
8495 hardcode_shlibpath_var
=no
8499 if test "$GCC" = yes; then
8500 archive_cmds
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8502 archive_cmds
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8504 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8505 hardcode_libdir_separator
=:
8508 # hardcode_minus_L: Not really in the search PATH,
8509 # but as the default location of the library.
8510 hardcode_minus_L
=yes
8511 export_dynamic_flag_spec
='${wl}-E'
8515 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8516 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8518 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8520 if test "$with_gnu_ld" = no
; then
8521 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8522 hardcode_libdir_flag_spec_ld
='+b $libdir'
8523 hardcode_libdir_separator
=:
8525 hardcode_direct_absolute
=yes
8526 export_dynamic_flag_spec
='${wl}-E'
8527 # hardcode_minus_L: Not really in the search PATH,
8528 # but as the default location of the library.
8529 hardcode_minus_L
=yes
8534 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
8537 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8540 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8543 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8549 archive_cmds
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8552 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8555 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8559 if test "$with_gnu_ld" = no
; then
8560 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
8561 hardcode_libdir_separator
=:
8566 hardcode_shlibpath_var
=no
8570 hardcode_direct_absolute
=yes
8571 export_dynamic_flag_spec
='${wl}-E'
8573 # hardcode_minus_L: Not really in the search PATH,
8574 # but as the default location of the library.
8575 hardcode_minus_L
=yes
8581 irix5
* | irix6
* | nonstopux
*)
8582 if test "$GCC" = yes; then
8583 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8584 # Try to use the -exported_symbol ld option, if it does not
8585 # work, assume that -exports_file does not work either and
8586 # implicitly export all symbols.
8587 save_LDFLAGS
="$LDFLAGS"
8588 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8589 if test x
$gcc_no_link = xyes
; then
8590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8592 { (exit 1); exit 1; }; }
8594 cat >conftest.
$ac_ext <<_ACEOF
8597 rm -f conftest.
$ac_objext conftest
$ac_exeext
8598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8599 (eval $ac_link) 2>conftest.er1
8601 grep -v '^ *+' conftest.er1
>conftest.err
8603 cat conftest.err
>&5
8604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8605 (exit $ac_status); } &&
8606 { ac_try
='test -z "$ac_c_werror_flag"
8607 || test ! -s conftest.err'
8608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8612 (exit $ac_status); }; } &&
8613 { ac_try
='test -s conftest$ac_exeext'
8614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8618 (exit $ac_status); }; }; then
8619 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8626 rm -f conftest.err conftest.
$ac_objext \
8627 conftest
$ac_exeext conftest.
$ac_ext
8628 LDFLAGS
="$save_LDFLAGS"
8630 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8631 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8633 archive_cmds_need_lc
='no'
8634 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8635 hardcode_libdir_separator
=:
8637 link_all_deplibs
=yes
8641 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
8642 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8644 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8646 hardcode_libdir_flag_spec
='-R$libdir'
8648 hardcode_shlibpath_var
=no
8652 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8654 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8655 hardcode_libdir_separator
=:
8656 hardcode_shlibpath_var
=no
8663 if test -f /usr
/libexec
/ld.so
; then
8665 hardcode_shlibpath_var
=no
8666 hardcode_direct_absolute
=yes
8667 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8668 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8669 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8670 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8671 export_dynamic_flag_spec
='${wl}-E'
8674 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
8675 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8676 hardcode_libdir_flag_spec
='-R$libdir'
8679 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8680 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
8690 hardcode_libdir_flag_spec
='-L$libdir'
8691 hardcode_minus_L
=yes
8692 allow_undefined_flag
=unsupported
8693 archive_cmds
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8694 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8698 if test "$GCC" = yes; then
8699 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8700 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8702 allow_undefined_flag
=' -expect_unresolved \*'
8703 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8705 archive_cmds_need_lc
='no'
8706 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8707 hardcode_libdir_separator
=:
8710 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
8711 if test "$GCC" = yes; then
8712 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
8713 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8714 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
8716 allow_undefined_flag
=' -expect_unresolved \*'
8717 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8718 archive_expsym_cmds
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8719 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8721 # Both c and cxx compiler support -rpath directly
8722 hardcode_libdir_flag_spec
='-rpath $libdir'
8724 archive_cmds_need_lc
='no'
8725 hardcode_libdir_separator
=:
8729 no_undefined_flag
=' -z defs'
8730 if test "$GCC" = yes; then
8732 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8733 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8734 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8736 case `$CC -V 2>&1` in
8739 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8740 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8741 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8745 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8747 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8751 hardcode_libdir_flag_spec
='-R$libdir'
8752 hardcode_shlibpath_var
=no
8754 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
8756 # The compiler driver will combine and reorder linker options,
8757 # but understands `-z linker_flag'. GCC discards it without `$wl',
8758 # but is careful enough not to reorder.
8759 # Supported since Solaris 2.6 (maybe 2.5.1?)
8760 if test "$GCC" = yes; then
8761 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8763 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
8767 link_all_deplibs
=yes
8771 if test "x$host_vendor" = xsequent
; then
8772 # Use $CC to link under sequent, because it throws in some extra .o
8773 # files that make .init and .fini sections work.
8774 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8776 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8778 hardcode_libdir_flag_spec
='-L$libdir'
8780 hardcode_minus_L
=yes
8781 hardcode_shlibpath_var
=no
8785 case $host_vendor in
8787 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8788 hardcode_direct
=yes # is this really true???
8791 ## LD is ld it makes a PLAMLIB
8792 ## CC just makes a GrossModule.
8793 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8794 reload_cmds
='$CC -r -o $output$reload_objs'
8798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8799 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
8802 runpath_var
='LD_RUN_PATH'
8803 hardcode_shlibpath_var
=no
8807 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8808 hardcode_shlibpath_var
=no
8809 export_dynamic_flag_spec
='-Bexport'
8813 if test -d /usr
/nec
; then
8814 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8815 hardcode_shlibpath_var
=no
8816 runpath_var
=LD_RUN_PATH
8817 hardcode_runpath_var
=yes
8822 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
8823 no_undefined_flag
='${wl}-z,text'
8824 archive_cmds_need_lc
=no
8825 hardcode_shlibpath_var
=no
8826 runpath_var
='LD_RUN_PATH'
8828 if test "$GCC" = yes; then
8829 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8830 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8832 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8833 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8837 sysv5
* | sco3.2v5
* | sco5v6
*)
8838 # Note: We can NOT use -z defs as we might desire, because we do not
8839 # link with -lc, and that would cause any symbols used from libc to
8840 # always be unresolved, which means just about no library would
8841 # ever link correctly. If we're not using GNU ld we use -z text
8842 # though, which does catch some bad symbols but isn't as heavy-handed
8844 no_undefined_flag
='${wl}-z,text'
8845 allow_undefined_flag
='${wl}-z,nodefs'
8846 archive_cmds_need_lc
=no
8847 hardcode_shlibpath_var
=no
8848 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
8849 hardcode_libdir_separator
=':'
8850 link_all_deplibs
=yes
8851 export_dynamic_flag_spec
='${wl}-Bexport'
8852 runpath_var
='LD_RUN_PATH'
8854 if test "$GCC" = yes; then
8855 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8856 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8858 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8859 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8864 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8865 hardcode_libdir_flag_spec
='-L$libdir'
8866 hardcode_shlibpath_var
=no
8874 if test x
$host_vendor = xsni
; then
8876 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
8877 export_dynamic_flag_spec
='${wl}-Blargedynsym'
8883 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8884 echo "${ECHO_T}$ld_shlibs" >&6
8885 test "$ld_shlibs" = no
&& can_build_shared
=no
8887 with_gnu_ld
=$with_gnu_ld
8904 # Do we need to explicitly link libc?
8906 case "x$archive_cmds_need_lc" in
8908 # Assume -lc should be added
8909 archive_cmds_need_lc
=yes
8911 if test "$enable_shared" = yes && test "$GCC" = yes; then
8912 case $archive_cmds in
8914 # FIXME: we may have to deal with multi-command sequences.
8917 # Test whether the compiler implicitly links with -lc since on some
8918 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8919 # to ld, don't add -lc before -lgcc.
8920 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8921 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8923 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
8925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8926 (eval $ac_compile) 2>&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); } 2>conftest.err
; then
8932 libobjs
=conftest.
$ac_objext
8934 wl
=$lt_prog_compiler_wl
8935 pic_flag
=$lt_prog_compiler_pic
8941 lt_save_allow_undefined_flag
=$allow_undefined_flag
8942 allow_undefined_flag
=
8943 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8944 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
8946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8947 (exit $ac_status); }
8949 archive_cmds_need_lc
=no
8951 archive_cmds_need_lc
=yes
8953 allow_undefined_flag
=$lt_save_allow_undefined_flag
8955 cat conftest.err
1>&5
8958 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8959 echo "${ECHO_T}$archive_cmds_need_lc" >&6
9122 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9123 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9125 if test "$GCC" = yes; then
9127 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
9128 *) lt_awk_arg
="/^libraries:/" ;;
9130 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9131 if $ECHO "$lt_search_path_spec" |
$GREP ';' >/dev
/null
; then
9132 # if the path contains ";" then we assume it to be the separator
9133 # otherwise default to the standard path separator (i.e. ":") - it is
9134 # assumed that no part of a normal pathname contains ";" but that should
9135 # okay in the real world where ";" in dirpaths is itself problematic.
9136 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9138 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9140 # Ok, now we have the path, separated by spaces, we can step through it
9141 # and add multilib dir if necessary.
9142 lt_tmp_lt_search_path_spec
=
9143 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9144 for lt_sys_path
in $lt_search_path_spec; do
9145 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9146 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9148 test -d "$lt_sys_path" && \
9149 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
9152 lt_search_path_spec
=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9153 BEGIN {RS=" "; FS="/|\n";} {
9156 for (lt_i = NF; lt_i > 0; lt_i--) {
9157 if ($lt_i != "" && $lt_i != ".") {
9158 if ($lt_i == "..") {
9161 if (lt_count == 0) {
9162 lt_foo="/" $lt_i lt_foo;
9169 if (lt_foo != "") { lt_freq[lt_foo]++; }
9170 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9172 sys_lib_search_path_spec
=`$ECHO $lt_search_path_spec`
9174 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
9177 libname_spec
='lib$name'
9185 shlibpath_overrides_runpath
=unknown
9187 dynamic_linker
="$host_os ld.so"
9188 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
9189 need_lib_prefix
=unknown
9190 hardcode_into_libs
=no
9192 # when you set need_version to no, make sure it does not cause -set_version
9193 # flags to be left without arguments
9194 need_version
=unknown
9199 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
9200 shlibpath_var
=LIBPATH
9202 # AIX 3 has no versioning support, so we append a major version to the name.
9203 soname_spec
='${libname}${release}${shared_ext}$major'
9210 hardcode_into_libs
=yes
9211 if test "$host_cpu" = ia64
; then
9212 # AIX 5 supports IA64
9213 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9214 shlibpath_var
=LD_LIBRARY_PATH
9216 # With GCC up to 2.95.x, collect2 would create an import file
9217 # for dependence libraries. The import file would start with
9218 # the line `#! .'. This would cause the generated library to
9219 # depend on `.', always an invalid library. This was fixed in
9220 # development snapshots of GCC prior to 3.0.
9222 aix4 | aix4.
[01] | aix4.
[01].
*)
9223 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9225 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
9232 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9233 # soname into executable. Probably we can add versioning support to
9234 # collect2, so additional links can be useful in future.
9235 if test "$aix_use_runtimelinking" = yes; then
9236 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9237 # instead of lib<name>.a to let people know that these are not
9238 # typical AIX shared libraries.
9239 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9241 # We preserve .a as extension for shared libraries through AIX4.2
9242 # and later when we are not doing run time linking.
9243 library_names_spec
='${libname}${release}.a $libname.a'
9244 soname_spec
='${libname}${release}${shared_ext}$major'
9246 shlibpath_var
=LIBPATH
9253 # Since July 2007 AmigaOS4 officially supports .so libraries.
9254 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9255 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9258 library_names_spec
='$libname.ixlibrary $libname.a'
9259 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9260 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'
9266 library_names_spec
='${libname}${shared_ext}'
9267 dynamic_linker
="$host_os ld.so"
9268 shlibpath_var
=LIBRARY_PATH
9274 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9275 soname_spec
='${libname}${release}${shared_ext}$major'
9276 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
9277 shlibpath_var
=LD_LIBRARY_PATH
9278 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9279 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
9280 # the default ld.so.conf also contains /usr/contrib/lib and
9281 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9282 # libtool to hard-code these into programs
9285 cygwin
* | mingw
* | pw32
* | cegcc
*)
9286 version_type
=windows
9291 case $GCC,$host_os in
9292 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
9293 library_names_spec
='$libname.dll.a'
9294 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9295 postinstall_cmds
='base_file=`basename \${file}`~
9296 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9297 dldir=$destdir/`dirname \$dlpath`~
9298 test -d \$dldir || mkdir -p \$dldir~
9299 $install_prog $dir/$dlname \$dldir/$dlname~
9300 chmod a+x \$dldir/$dlname~
9301 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9302 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9304 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9305 dlpath=$dir/\$dldll~
9307 shlibpath_overrides_runpath
=yes
9311 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9312 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9313 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
9316 # MinGW DLLs use traditional 'lib' prefix
9317 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9318 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9319 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
9320 # It is most probably a Windows format PATH printed by
9321 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9322 # path with ; separators, and with drive letters. We can handle the
9323 # drive letters (cygwin fileutils understands them), so leave them,
9324 # especially as we might pass files found there to a mingw objdump,
9325 # which wouldn't understand a cygwinified path. Ahh.
9326 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9328 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9332 # pw32 DLLs use 'pw' prefix rather than 'lib'
9333 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9339 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9342 dynamic_linker
='Win32 ld.exe'
9343 # FIXME: first we should search . and the directory the executable is in
9347 darwin
* | rhapsody
*)
9348 dynamic_linker
="$host_os dyld"
9352 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9353 soname_spec
='${libname}${release}${major}$shared_ext'
9354 shlibpath_overrides_runpath
=yes
9355 shlibpath_var
=DYLD_LIBRARY_PATH
9356 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
9358 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
9359 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
9366 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9367 soname_spec
='${libname}${release}${shared_ext}$major'
9368 shlibpath_var
=LD_LIBRARY_PATH
9375 freebsd
* | dragonfly
*)
9376 # DragonFly does not have aout. When/if they implement a new
9377 # versioning mechanism, adjust this.
9378 if test -x /usr
/bin
/objformat
; then
9379 objformat
=`/usr/bin/objformat`
9382 freebsd
[123]*) objformat
=aout
;;
9386 version_type
=freebsd-
$objformat
9387 case $version_type in
9389 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9394 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9398 shlibpath_var
=LD_LIBRARY_PATH
9401 shlibpath_overrides_runpath
=yes
9403 freebsd3.
[01]* | freebsdelf3.
[01]*)
9404 shlibpath_overrides_runpath
=yes
9405 hardcode_into_libs
=yes
9407 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
9408 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
9409 shlibpath_overrides_runpath
=no
9410 hardcode_into_libs
=yes
9412 *) # from 4.6 on, and DragonFly
9413 shlibpath_overrides_runpath
=yes
9414 hardcode_into_libs
=yes
9423 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9424 soname_spec
='${libname}${release}${shared_ext}$major'
9425 shlibpath_var
=LD_LIBRARY_PATH
9426 hardcode_into_libs
=yes
9429 hpux9
* | hpux10
* | hpux11
*)
9430 # Give a soname corresponding to the major version so that dld.sl refuses to
9431 # link against other versions.
9438 hardcode_into_libs
=yes
9439 dynamic_linker
="$host_os dld.so"
9440 shlibpath_var
=LD_LIBRARY_PATH
9441 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9442 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9443 soname_spec
='${libname}${release}${shared_ext}$major'
9444 if test "X$HPUX_IA64_MODE" = X32
; then
9445 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9447 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
9449 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9453 hardcode_into_libs
=yes
9454 dynamic_linker
="$host_os dld.sl"
9455 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
9456 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
9457 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9458 soname_spec
='${libname}${release}${shared_ext}$major'
9459 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9460 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
9464 dynamic_linker
="$host_os dld.sl"
9465 shlibpath_var
=SHLIB_PATH
9466 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
9467 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9468 soname_spec
='${libname}${release}${shared_ext}$major'
9471 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9472 postinstall_cmds
='chmod 555 $lib'
9479 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9480 soname_spec
='${libname}${release}${shared_ext}$major'
9481 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
9482 shlibpath_var
=LD_LIBRARY_PATH
9483 shlibpath_overrides_runpath
=no
9484 hardcode_into_libs
=yes
9487 irix5
* | irix6
* | nonstopux
*)
9489 nonstopux
*) version_type
=nonstopux
;;
9491 if test "$lt_cv_prog_gnu_ld" = yes; then
9499 soname_spec
='${libname}${release}${shared_ext}$major'
9500 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9502 irix5
* | nonstopux
*)
9506 case $LD in # libtool.m4 will add one of these switches to LD
9507 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
9508 libsuff
= shlibsuff
= libmagic
=32-bit;;
9509 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
9510 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
9511 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
9512 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
9513 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
9517 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
9518 shlibpath_overrides_runpath
=no
9519 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9520 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
9521 hardcode_into_libs
=yes
9524 # No shared lib support for Linux oldld, aout, or coff.
9525 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
9529 # This must be Linux ELF.
9530 linux
* | k
*bsd
*-gnu)
9534 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9535 soname_spec
='${libname}${release}${shared_ext}$major'
9536 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9537 shlibpath_var
=LD_LIBRARY_PATH
9538 shlibpath_overrides_runpath
=no
9539 # Some binutils ld are patched to set DT_RUNPATH
9540 save_LDFLAGS
=$LDFLAGS
9542 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9543 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9544 if test x
$gcc_no_link = xyes
; then
9545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9547 { (exit 1); exit 1; }; }
9549 cat >conftest.
$ac_ext <<_ACEOF
9552 cat confdefs.h
>>conftest.
$ac_ext
9553 cat >>conftest.
$ac_ext <<_ACEOF
9554 /* end confdefs.h. */
9564 rm -f conftest.
$ac_objext conftest
$ac_exeext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9566 (eval $ac_link) 2>conftest.er1
9568 grep -v '^ *+' conftest.er1
>conftest.err
9570 cat conftest.err
>&5
9571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9572 (exit $ac_status); } &&
9573 { ac_try
='test -z "$ac_c_werror_flag"
9574 || test ! -s conftest.err'
9575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9579 (exit $ac_status); }; } &&
9580 { ac_try
='test -s conftest$ac_exeext'
9581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9585 (exit $ac_status); }; }; then
9586 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
9587 shlibpath_overrides_runpath
=yes
9591 echo "$as_me: failed program was:" >&5
9592 sed 's/^/| /' conftest.
$ac_ext >&5
9595 rm -f conftest.err conftest.
$ac_objext \
9596 conftest
$ac_exeext conftest.
$ac_ext
9597 LDFLAGS
=$save_LDFLAGS
9600 # This implies no fast_install, which is unacceptable.
9601 # Some rework will be needed to allow for fast_install
9602 # before this can be enabled.
9603 hardcode_into_libs
=yes
9605 # Append ld.so.conf contents to the search path
9606 if test -f /etc
/ld.so.conf
; then
9607 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' ' '`
9608 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
9611 # We used to test for /lib/ld.so.1 and disable shared libraries on
9612 # powerpc, because MkLinux only supported shared libraries with the
9613 # GNU dynamic linker. Since this was broken with cross compilers,
9614 # most powerpc-linux boxes support dynamic linking these days and
9615 # people can always --disable-shared, the test was removed, and we
9616 # assume the GNU/Linux dynamic linker is in use.
9617 dynamic_linker
='GNU/Linux ld.so'
9624 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
9625 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9626 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9627 dynamic_linker
='NetBSD (a.out) ld.so'
9629 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9630 soname_spec
='${libname}${release}${shared_ext}$major'
9631 dynamic_linker
='NetBSD ld.elf_so'
9633 shlibpath_var
=LD_LIBRARY_PATH
9634 shlibpath_overrides_runpath
=yes
9635 hardcode_into_libs
=yes
9640 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9641 shlibpath_var
=LD_LIBRARY_PATH
9642 shlibpath_overrides_runpath
=yes
9649 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9650 soname_spec
='${libname}${release}${shared_ext}$major'
9651 shlibpath_var
=LD_LIBRARY_PATH
9652 shlibpath_overrides_runpath
=no
9653 hardcode_into_libs
=yes
9654 dynamic_linker
='ldqnx.so'
9659 sys_lib_dlsearch_path_spec
="/usr/lib"
9661 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9663 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
9664 *) need_version
=no
;;
9666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9667 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9668 shlibpath_var
=LD_LIBRARY_PATH
9669 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9671 openbsd2.
[89] | openbsd2.
[89].
*)
9672 shlibpath_overrides_runpath
=no
9675 shlibpath_overrides_runpath
=yes
9679 shlibpath_overrides_runpath
=yes
9684 libname_spec
='$name'
9687 library_names_spec
='$libname${shared_ext} $libname.a'
9688 dynamic_linker
='OS/2 ld.exe'
9689 shlibpath_var
=LIBPATH
9692 osf3
* | osf4
* | osf5
*)
9696 soname_spec
='${libname}${release}${shared_ext}$major'
9697 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9698 shlibpath_var
=LD_LIBRARY_PATH
9699 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9700 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
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 shlibpath_var
=LD_LIBRARY_PATH
9714 shlibpath_overrides_runpath
=yes
9715 hardcode_into_libs
=yes
9716 # ldd complains unless libraries are executable
9717 postinstall_cmds
='chmod +x $lib'
9722 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9723 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9724 shlibpath_var
=LD_LIBRARY_PATH
9725 shlibpath_overrides_runpath
=yes
9726 if test "$with_gnu_ld" = yes; then
9734 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9735 soname_spec
='${libname}${release}${shared_ext}$major'
9736 shlibpath_var
=LD_LIBRARY_PATH
9737 case $host_vendor in
9739 shlibpath_overrides_runpath
=no
9741 runpath_var
=LD_RUN_PATH
9749 shlibpath_overrides_runpath
=no
9750 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
9756 if test -d /usr
/nec
;then
9758 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9759 soname_spec
='$libname${shared_ext}.$major'
9760 shlibpath_var
=LD_LIBRARY_PATH
9764 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
9765 version_type
=freebsd-elf
9768 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9769 soname_spec
='${libname}${release}${shared_ext}$major'
9770 shlibpath_var
=LD_LIBRARY_PATH
9771 shlibpath_overrides_runpath
=yes
9772 hardcode_into_libs
=yes
9773 if test "$with_gnu_ld" = yes; then
9774 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9776 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
9779 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
9783 sys_lib_dlsearch_path_spec
='/usr/lib'
9787 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9791 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9792 shlibpath_var
=LD_LIBRARY_PATH
9793 shlibpath_overrides_runpath
=no
9794 hardcode_into_libs
=yes
9799 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9800 soname_spec
='${libname}${release}${shared_ext}$major'
9801 shlibpath_var
=LD_LIBRARY_PATH
9808 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9809 echo "${ECHO_T}$dynamic_linker" >&6
9810 test "$dynamic_linker" = no
&& can_build_shared
=no
9812 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
9813 if test "$GCC" = yes; then
9814 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9817 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
9818 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
9820 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
9821 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
9910 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9911 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9913 if test -n "$hardcode_libdir_flag_spec" ||
9914 test -n "$runpath_var" ||
9915 test "X$hardcode_automatic" = "Xyes" ; then
9917 # We can hardcode non-existent directories.
9918 if test "$hardcode_direct" != no
&&
9919 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9920 # have to relink, otherwise we might link with an installed library
9921 # when we should be linking with a yet-to-be-installed one
9922 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9923 test "$hardcode_minus_L" != no
; then
9924 # Linking always hardcodes the temporary library directory.
9925 hardcode_action
=relink
9927 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9928 hardcode_action
=immediate
9931 # We cannot hardcode anything, or else we can only hardcode existing
9933 hardcode_action
=unsupported
9935 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9936 echo "${ECHO_T}$hardcode_action" >&6
9938 if test "$hardcode_action" = relink ||
9939 test "$inherit_rpath" = yes; then
9940 # Fast installation is not supported
9941 enable_fast_install
=no
9942 elif test "$shlibpath_overrides_runpath" = yes ||
9943 test "$enable_shared" = no
; then
9944 # Fast installation is not necessary
9945 enable_fast_install
=needless
9953 if test "x$enable_dlopen" != xyes
; then
9954 enable_dlopen
=unknown
9955 enable_dlopen_self
=unknown
9956 enable_dlopen_self_static
=unknown
9963 lt_cv_dlopen
="load_add_on"
9965 lt_cv_dlopen_self
=yes
9968 mingw
* | pw32
* | cegcc
*)
9969 lt_cv_dlopen
="LoadLibrary"
9974 lt_cv_dlopen
="dlopen"
9979 # if libdl is installed we need to link against it
9980 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9981 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9982 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9983 echo $ECHO_N "(cached) $ECHO_C" >&6
9985 ac_check_lib_save_LIBS
=$LIBS
9987 if test x
$gcc_no_link = xyes
; then
9988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9990 { (exit 1); exit 1; }; }
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9999 /* Override any gcc2 internal prototype to avoid an error. */
10003 /* We use char because int might match the return type of a gcc2
10004 builtin and then its argument prototype would still apply. */
10014 rm -f conftest.
$ac_objext conftest
$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10018 grep -v '^ *+' conftest.er1
>conftest.err
10020 cat conftest.err
>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try
='test -z "$ac_c_werror_flag"
10024 || test ! -s conftest.err'
10025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10026 (eval $ac_try) 2>&5
10028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029 (exit $ac_status); }; } &&
10030 { ac_try
='test -s conftest$ac_exeext'
10031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10032 (eval $ac_try) 2>&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); }; }; then
10036 ac_cv_lib_dl_dlopen
=yes
10038 echo "$as_me: failed program was:" >&5
10039 sed 's/^/| /' conftest.
$ac_ext >&5
10041 ac_cv_lib_dl_dlopen
=no
10043 rm -f conftest.err conftest.
$ac_objext \
10044 conftest
$ac_exeext conftest.
$ac_ext
10045 LIBS
=$ac_check_lib_save_LIBS
10047 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10048 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10049 if test $ac_cv_lib_dl_dlopen = yes; then
10050 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10053 lt_cv_dlopen
="dyld"
10055 lt_cv_dlopen_self
=yes
10062 echo "$as_me:$LINENO: checking for shl_load" >&5
10063 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10064 if test "${ac_cv_func_shl_load+set}" = set; then
10065 echo $ECHO_N "(cached) $ECHO_C" >&6
10067 if test x
$gcc_no_link = xyes
; then
10068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10070 { (exit 1); exit 1; }; }
10072 cat >conftest.
$ac_ext <<_ACEOF
10075 cat confdefs.h
>>conftest.
$ac_ext
10076 cat >>conftest.
$ac_ext <<_ACEOF
10077 /* end confdefs.h. */
10078 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10080 #define shl_load innocuous_shl_load
10082 /* System header to define __stub macros and hopefully few prototypes,
10083 which can conflict with char shl_load (); below.
10084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10085 <limits.h> exists even on freestanding compilers. */
10088 # include <limits.h>
10090 # include <assert.h>
10095 /* Override any gcc2 internal prototype to avoid an error. */
10100 /* We use char because int might match the return type of a gcc2
10101 builtin and then its argument prototype would still apply. */
10103 /* The GNU C library defines this for functions which it implements
10104 to always fail with ENOSYS. Some functions are actually named
10105 something starting with __ and the normal name is an alias. */
10106 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10109 char (*f) () = shl_load;
10118 return f != shl_load;
10123 rm -f conftest.
$ac_objext conftest
$ac_exeext
10124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10125 (eval $ac_link) 2>conftest.er1
10127 grep -v '^ *+' conftest.er1
>conftest.err
10129 cat conftest.err
>&5
10130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10131 (exit $ac_status); } &&
10132 { ac_try
='test -z "$ac_c_werror_flag"
10133 || test ! -s conftest.err'
10134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10135 (eval $ac_try) 2>&5
10137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10138 (exit $ac_status); }; } &&
10139 { ac_try
='test -s conftest$ac_exeext'
10140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10141 (eval $ac_try) 2>&5
10143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); }; }; then
10145 ac_cv_func_shl_load
=yes
10147 echo "$as_me: failed program was:" >&5
10148 sed 's/^/| /' conftest.
$ac_ext >&5
10150 ac_cv_func_shl_load
=no
10152 rm -f conftest.err conftest.
$ac_objext \
10153 conftest
$ac_exeext conftest.
$ac_ext
10155 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10156 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10157 if test $ac_cv_func_shl_load = yes; then
10158 lt_cv_dlopen
="shl_load"
10160 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10161 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10162 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10163 echo $ECHO_N "(cached) $ECHO_C" >&6
10165 ac_check_lib_save_LIBS
=$LIBS
10167 if test x
$gcc_no_link = xyes
; then
10168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10170 { (exit 1); exit 1; }; }
10172 cat >conftest.
$ac_ext <<_ACEOF
10175 cat confdefs.h
>>conftest.
$ac_ext
10176 cat >>conftest.
$ac_ext <<_ACEOF
10177 /* end confdefs.h. */
10179 /* Override any gcc2 internal prototype to avoid an error. */
10183 /* We use char because int might match the return type of a gcc2
10184 builtin and then its argument prototype would still apply. */
10194 rm -f conftest.
$ac_objext conftest
$ac_exeext
10195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10196 (eval $ac_link) 2>conftest.er1
10198 grep -v '^ *+' conftest.er1
>conftest.err
10200 cat conftest.err
>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); } &&
10203 { ac_try
='test -z "$ac_c_werror_flag"
10204 || test ! -s conftest.err'
10205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206 (eval $ac_try) 2>&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); }; } &&
10210 { ac_try
='test -s conftest$ac_exeext'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; }; then
10216 ac_cv_lib_dld_shl_load
=yes
10218 echo "$as_me: failed program was:" >&5
10219 sed 's/^/| /' conftest.
$ac_ext >&5
10221 ac_cv_lib_dld_shl_load
=no
10223 rm -f conftest.err conftest.
$ac_objext \
10224 conftest
$ac_exeext conftest.
$ac_ext
10225 LIBS
=$ac_check_lib_save_LIBS
10227 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10228 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10229 if test $ac_cv_lib_dld_shl_load = yes; then
10230 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
10232 echo "$as_me:$LINENO: checking for dlopen" >&5
10233 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10234 if test "${ac_cv_func_dlopen+set}" = set; then
10235 echo $ECHO_N "(cached) $ECHO_C" >&6
10237 if test x
$gcc_no_link = xyes
; then
10238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10240 { (exit 1); exit 1; }; }
10242 cat >conftest.
$ac_ext <<_ACEOF
10245 cat confdefs.h
>>conftest.
$ac_ext
10246 cat >>conftest.
$ac_ext <<_ACEOF
10247 /* end confdefs.h. */
10248 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10250 #define dlopen innocuous_dlopen
10252 /* System header to define __stub macros and hopefully few prototypes,
10253 which can conflict with char dlopen (); below.
10254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10255 <limits.h> exists even on freestanding compilers. */
10258 # include <limits.h>
10260 # include <assert.h>
10265 /* Override any gcc2 internal prototype to avoid an error. */
10270 /* We use char because int might match the return type of a gcc2
10271 builtin and then its argument prototype would still apply. */
10273 /* The GNU C library defines this for functions which it implements
10274 to always fail with ENOSYS. Some functions are actually named
10275 something starting with __ and the normal name is an alias. */
10276 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10279 char (*f) () = dlopen;
10288 return f != dlopen;
10293 rm -f conftest.
$ac_objext conftest
$ac_exeext
10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10295 (eval $ac_link) 2>conftest.er1
10297 grep -v '^ *+' conftest.er1
>conftest.err
10299 cat conftest.err
>&5
10300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } &&
10302 { ac_try
='test -z "$ac_c_werror_flag"
10303 || test ! -s conftest.err'
10304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10305 (eval $ac_try) 2>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); }; } &&
10309 { ac_try
='test -s conftest$ac_exeext'
10310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10311 (eval $ac_try) 2>&5
10313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10314 (exit $ac_status); }; }; then
10315 ac_cv_func_dlopen
=yes
10317 echo "$as_me: failed program was:" >&5
10318 sed 's/^/| /' conftest.
$ac_ext >&5
10320 ac_cv_func_dlopen
=no
10322 rm -f conftest.err conftest.
$ac_objext \
10323 conftest
$ac_exeext conftest.
$ac_ext
10325 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10326 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10327 if test $ac_cv_func_dlopen = yes; then
10328 lt_cv_dlopen
="dlopen"
10330 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10331 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10332 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10333 echo $ECHO_N "(cached) $ECHO_C" >&6
10335 ac_check_lib_save_LIBS
=$LIBS
10337 if test x
$gcc_no_link = xyes
; then
10338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10340 { (exit 1); exit 1; }; }
10342 cat >conftest.
$ac_ext <<_ACEOF
10345 cat confdefs.h
>>conftest.
$ac_ext
10346 cat >>conftest.
$ac_ext <<_ACEOF
10347 /* end confdefs.h. */
10349 /* Override any gcc2 internal prototype to avoid an error. */
10353 /* We use char because int might match the return type of a gcc2
10354 builtin and then its argument prototype would still apply. */
10364 rm -f conftest.
$ac_objext conftest
$ac_exeext
10365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10366 (eval $ac_link) 2>conftest.er1
10368 grep -v '^ *+' conftest.er1
>conftest.err
10370 cat conftest.err
>&5
10371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10372 (exit $ac_status); } &&
10373 { ac_try
='test -z "$ac_c_werror_flag"
10374 || test ! -s conftest.err'
10375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10376 (eval $ac_try) 2>&5
10378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10379 (exit $ac_status); }; } &&
10380 { ac_try
='test -s conftest$ac_exeext'
10381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10382 (eval $ac_try) 2>&5
10384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10385 (exit $ac_status); }; }; then
10386 ac_cv_lib_dl_dlopen
=yes
10388 echo "$as_me: failed program was:" >&5
10389 sed 's/^/| /' conftest.
$ac_ext >&5
10391 ac_cv_lib_dl_dlopen
=no
10393 rm -f conftest.err conftest.
$ac_objext \
10394 conftest
$ac_exeext conftest.
$ac_ext
10395 LIBS
=$ac_check_lib_save_LIBS
10397 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10398 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10399 if test $ac_cv_lib_dl_dlopen = yes; then
10400 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
10402 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10403 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10404 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10405 echo $ECHO_N "(cached) $ECHO_C" >&6
10407 ac_check_lib_save_LIBS
=$LIBS
10408 LIBS
="-lsvld $LIBS"
10409 if test x
$gcc_no_link = xyes
; then
10410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10412 { (exit 1); exit 1; }; }
10414 cat >conftest.
$ac_ext <<_ACEOF
10417 cat confdefs.h
>>conftest.
$ac_ext
10418 cat >>conftest.
$ac_ext <<_ACEOF
10419 /* end confdefs.h. */
10421 /* Override any gcc2 internal prototype to avoid an error. */
10425 /* We use char because int might match the return type of a gcc2
10426 builtin and then its argument prototype would still apply. */
10436 rm -f conftest.
$ac_objext conftest
$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438 (eval $ac_link) 2>conftest.er1
10440 grep -v '^ *+' conftest.er1
>conftest.err
10442 cat conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try
='test -z "$ac_c_werror_flag"
10446 || test ! -s conftest.err'
10447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10448 (eval $ac_try) 2>&5
10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10451 (exit $ac_status); }; } &&
10452 { ac_try
='test -s conftest$ac_exeext'
10453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10454 (eval $ac_try) 2>&5
10456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10457 (exit $ac_status); }; }; then
10458 ac_cv_lib_svld_dlopen
=yes
10460 echo "$as_me: failed program was:" >&5
10461 sed 's/^/| /' conftest.
$ac_ext >&5
10463 ac_cv_lib_svld_dlopen
=no
10465 rm -f conftest.err conftest.
$ac_objext \
10466 conftest
$ac_exeext conftest.
$ac_ext
10467 LIBS
=$ac_check_lib_save_LIBS
10469 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10470 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10471 if test $ac_cv_lib_svld_dlopen = yes; then
10472 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
10474 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10475 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10476 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10477 echo $ECHO_N "(cached) $ECHO_C" >&6
10479 ac_check_lib_save_LIBS
=$LIBS
10481 if test x
$gcc_no_link = xyes
; then
10482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10484 { (exit 1); exit 1; }; }
10486 cat >conftest.
$ac_ext <<_ACEOF
10489 cat confdefs.h
>>conftest.
$ac_ext
10490 cat >>conftest.
$ac_ext <<_ACEOF
10491 /* end confdefs.h. */
10493 /* Override any gcc2 internal prototype to avoid an error. */
10497 /* We use char because int might match the return type of a gcc2
10498 builtin and then its argument prototype would still apply. */
10508 rm -f conftest.
$ac_objext conftest
$ac_exeext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510 (eval $ac_link) 2>conftest.er1
10512 grep -v '^ *+' conftest.er1
>conftest.err
10514 cat conftest.err
>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try
='test -z "$ac_c_werror_flag"
10518 || test ! -s conftest.err'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; } &&
10524 { ac_try
='test -s conftest$ac_exeext'
10525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 (eval $ac_try) 2>&5
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; }; then
10530 ac_cv_lib_dld_dld_link
=yes
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.
$ac_ext >&5
10535 ac_cv_lib_dld_dld_link
=no
10537 rm -f conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10542 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10543 if test $ac_cv_lib_dld_dld_link = yes; then
10544 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
10565 if test "x$lt_cv_dlopen" != xno
; then
10571 case $lt_cv_dlopen in
10573 save_CPPFLAGS
="$CPPFLAGS"
10574 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
10576 save_LDFLAGS
="$LDFLAGS"
10577 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
10580 LIBS
="$lt_cv_dlopen_libs $LIBS"
10582 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10583 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10584 if test "${lt_cv_dlopen_self+set}" = set; then
10585 echo $ECHO_N "(cached) $ECHO_C" >&6
10587 if test "$cross_compiling" = yes; then :
10588 lt_cv_dlopen_self
=cross
10590 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10591 lt_status
=$lt_dlunknown
10592 cat > conftest.
$ac_ext <<_LT_EOF
10593 #line 10593 "configure"
10594 #include "confdefs.h"
10603 # define LT_DLGLOBAL RTLD_GLOBAL
10606 # define LT_DLGLOBAL DL_GLOBAL
10608 # define LT_DLGLOBAL 0
10612 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10613 find out it does not work in some platform. */
10614 #ifndef LT_DLLAZY_OR_NOW
10616 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10619 # define LT_DLLAZY_OR_NOW DL_LAZY
10622 # define LT_DLLAZY_OR_NOW RTLD_NOW
10625 # define LT_DLLAZY_OR_NOW DL_NOW
10627 # define LT_DLLAZY_OR_NOW 0
10634 void fnord() { int i=42;}
10637 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10638 int status = $lt_dlunknown;
10642 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10643 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10644 /* dlclose (self); */
10652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10653 (eval $ac_link) 2>&5
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10657 (.
/conftest
; exit; ) >&5 2>/dev
/null
10659 case x
$lt_status in
10660 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
10661 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
10662 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
10665 # compilation failed
10666 lt_cv_dlopen_self
=no
10673 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10674 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10676 if test "x$lt_cv_dlopen_self" = xyes
; then
10677 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
10678 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10679 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10680 if test "${lt_cv_dlopen_self_static+set}" = set; then
10681 echo $ECHO_N "(cached) $ECHO_C" >&6
10683 if test "$cross_compiling" = yes; then :
10684 lt_cv_dlopen_self_static
=cross
10686 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
10687 lt_status
=$lt_dlunknown
10688 cat > conftest.
$ac_ext <<_LT_EOF
10689 #line 10689 "configure"
10690 #include "confdefs.h"
10699 # define LT_DLGLOBAL RTLD_GLOBAL
10702 # define LT_DLGLOBAL DL_GLOBAL
10704 # define LT_DLGLOBAL 0
10708 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10709 find out it does not work in some platform. */
10710 #ifndef LT_DLLAZY_OR_NOW
10712 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10715 # define LT_DLLAZY_OR_NOW DL_LAZY
10718 # define LT_DLLAZY_OR_NOW RTLD_NOW
10721 # define LT_DLLAZY_OR_NOW DL_NOW
10723 # define LT_DLLAZY_OR_NOW 0
10730 void fnord() { int i=42;}
10733 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10734 int status = $lt_dlunknown;
10738 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10739 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10740 /* dlclose (self); */
10748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10749 (eval $ac_link) 2>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
10753 (.
/conftest
; exit; ) >&5 2>/dev
/null
10755 case x
$lt_status in
10756 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
10757 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
10758 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
10761 # compilation failed
10762 lt_cv_dlopen_self_static
=no
10769 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10770 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10773 CPPFLAGS
="$save_CPPFLAGS"
10774 LDFLAGS
="$save_LDFLAGS"
10779 case $lt_cv_dlopen_self in
10780 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
10781 *) enable_dlopen_self
=unknown
;;
10784 case $lt_cv_dlopen_self_static in
10785 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
10786 *) enable_dlopen_self_static
=unknown
;;
10808 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10809 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10810 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
10811 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
10812 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
10813 echo "$as_me:$LINENO: result: yes" >&5
10814 echo "${ECHO_T}yes" >&6
10816 # FIXME - insert some real tests, host_os isn't really good enough
10819 if test -n "$STRIP" ; then
10820 striplib
="$STRIP -x"
10821 old_striplib
="$STRIP -S"
10822 echo "$as_me:$LINENO: result: yes" >&5
10823 echo "${ECHO_T}yes" >&6
10825 echo "$as_me:$LINENO: result: no" >&5
10826 echo "${ECHO_T}no" >&6
10830 echo "$as_me:$LINENO: result: no" >&5
10831 echo "${ECHO_T}no" >&6
10847 # Report which library types will actually be built
10848 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10849 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10850 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10851 echo "${ECHO_T}$can_build_shared" >&6
10853 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10854 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10855 test "$can_build_shared" = "no" && enable_shared
=no
10857 # On AIX, shared libraries and static libraries use the same namespace, and
10858 # are all built from PIC.
10861 test "$enable_shared" = yes && enable_static
=no
10862 if test -n "$RANLIB"; then
10863 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
10864 postinstall_cmds
='$RANLIB $lib'
10869 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
10870 test "$enable_shared" = yes && enable_static
=no
10874 echo "$as_me:$LINENO: result: $enable_shared" >&5
10875 echo "${ECHO_T}$enable_shared" >&6
10877 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10878 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10879 # Make sure either enable_shared or enable_static is yes.
10880 test "$enable_shared" = yes || enable_static
=yes
10881 echo "$as_me:$LINENO: result: $enable_static" >&5
10882 echo "${ECHO_T}$enable_static" >&6
10889 ac_cpp
='$CPP $CPPFLAGS'
10890 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10891 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10892 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
10908 ac_config_commands
="$ac_config_commands libtool"
10913 # Only expand once:
10918 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
10920 # We need gfortran to compile parts of the library
10921 #AC_PROG_FC(gfortran)
10923 ac_ext
=${FC_SRCEXT-f}
10924 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
10925 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
10926 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
10927 if test -n "$ac_tool_prefix"; then
10928 for ac_prog
in gfortran
10930 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
10931 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
10932 echo "$as_me:$LINENO: checking for $ac_word" >&5
10933 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10934 if test "${ac_cv_prog_FC+set}" = set; then
10935 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 if test -n "$FC"; then
10938 ac_cv_prog_FC
="$FC" # Let the user override the test.
10940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10941 for as_dir
in $PATH
10944 test -z "$as_dir" && as_dir
=.
10945 for ac_exec_ext
in '' $ac_executable_extensions; do
10946 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10947 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
10948 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10957 if test -n "$FC"; then
10958 echo "$as_me:$LINENO: result: $FC" >&5
10959 echo "${ECHO_T}$FC" >&6
10961 echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6
10965 test -n "$FC" && break
10968 if test -z "$FC"; then
10970 for ac_prog
in gfortran
10972 # Extract the first word of "$ac_prog", so it can be a program name with args.
10973 set dummy
$ac_prog; ac_word
=$2
10974 echo "$as_me:$LINENO: checking for $ac_word" >&5
10975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10976 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
10977 echo $ECHO_N "(cached) $ECHO_C" >&6
10979 if test -n "$ac_ct_FC"; then
10980 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
10982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10983 for as_dir
in $PATH
10986 test -z "$as_dir" && as_dir
=.
10987 for ac_exec_ext
in '' $ac_executable_extensions; do
10988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10989 ac_cv_prog_ac_ct_FC
="$ac_prog"
10990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10998 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
10999 if test -n "$ac_ct_FC"; then
11000 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11001 echo "${ECHO_T}$ac_ct_FC" >&6
11003 echo "$as_me:$LINENO: result: no" >&5
11004 echo "${ECHO_T}no" >&6
11007 test -n "$ac_ct_FC" && break
11014 # Provide some information about the compiler.
11015 echo "$as_me:11015:" \
11016 "checking for Fortran compiler version" >&5
11017 ac_compiler
=`set X $ac_compile; echo $2`
11018 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11019 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11022 (exit $ac_status); }
11023 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11024 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }
11028 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11029 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11032 (exit $ac_status); }
11035 # If we don't use `.F' as extension, the preprocessor is not run on the
11036 # input file. (Note that this only needs to work for GNU compilers.)
11037 ac_save_ext
=$ac_ext
11039 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11040 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11041 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11042 echo $ECHO_N "(cached) $ECHO_C" >&6
11044 cat >conftest.
$ac_ext <<_ACEOF
11052 rm -f conftest.
$ac_objext
11053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11054 (eval $ac_compile) 2>conftest.er1
11056 grep -v '^ *+' conftest.er1
>conftest.err
11058 cat conftest.err
>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); } &&
11061 { ac_try
='test -z "$ac_fc_werror_flag"
11062 || test ! -s conftest.err'
11063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11064 (eval $ac_try) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); }; } &&
11068 { ac_try
='test -s conftest.$ac_objext'
11069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11070 (eval $ac_try) 2>&5
11072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11073 (exit $ac_status); }; }; then
11074 ac_compiler_gnu
=yes
11076 echo "$as_me: failed program was:" >&5
11077 sed 's/^/| /' conftest.
$ac_ext >&5
11081 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11082 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
11085 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11086 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11087 ac_ext
=$ac_save_ext
11088 ac_test_FFLAGS
=${FCFLAGS+set}
11089 ac_save_FFLAGS
=$FCFLAGS
11091 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11092 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11093 if test "${ac_cv_prog_fc_g+set}" = set; then
11094 echo $ECHO_N "(cached) $ECHO_C" >&6
11097 cat >conftest.
$ac_ext <<_ACEOF
11102 rm -f conftest.
$ac_objext
11103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11104 (eval $ac_compile) 2>conftest.er1
11106 grep -v '^ *+' conftest.er1
>conftest.err
11108 cat conftest.err
>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); } &&
11111 { ac_try
='test -z "$ac_fc_werror_flag"
11112 || test ! -s conftest.err'
11113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11114 (eval $ac_try) 2>&5
11116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11117 (exit $ac_status); }; } &&
11118 { ac_try
='test -s conftest.$ac_objext'
11119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11120 (eval $ac_try) 2>&5
11122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11123 (exit $ac_status); }; }; then
11124 ac_cv_prog_fc_g
=yes
11126 echo "$as_me: failed program was:" >&5
11127 sed 's/^/| /' conftest.
$ac_ext >&5
11131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11134 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11135 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11136 if test "$ac_test_FFLAGS" = set; then
11137 FCFLAGS
=$ac_save_FFLAGS
11138 elif test $ac_cv_prog_fc_g = yes; then
11139 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11145 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11153 ac_cpp
='$CPP $CPPFLAGS'
11154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11159 ac_ext
=${FC_SRCEXT-f}
11160 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11161 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11162 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11163 if test -n "$ac_tool_prefix"; then
11164 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11166 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11167 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
11168 echo "$as_me:$LINENO: checking for $ac_word" >&5
11169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11170 if test "${ac_cv_prog_FC+set}" = set; then
11171 echo $ECHO_N "(cached) $ECHO_C" >&6
11173 if test -n "$FC"; then
11174 ac_cv_prog_FC
="$FC" # Let the user override the test.
11176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11177 for as_dir
in $PATH
11180 test -z "$as_dir" && as_dir
=.
11181 for ac_exec_ext
in '' $ac_executable_extensions; do
11182 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11183 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
11184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11193 if test -n "$FC"; then
11194 echo "$as_me:$LINENO: result: $FC" >&5
11195 echo "${ECHO_T}$FC" >&6
11197 echo "$as_me:$LINENO: result: no" >&5
11198 echo "${ECHO_T}no" >&6
11201 test -n "$FC" && break
11204 if test -z "$FC"; then
11206 for ac_prog
in f95 fort xlf95 ifc efc pgf95 lf95 gfortran f90 xlf90 pgf90 epcf90 g77 f77 xlf frt pgf77 fort77 fl32 af77
11208 # Extract the first word of "$ac_prog", so it can be a program name with args.
11209 set dummy
$ac_prog; ac_word
=$2
11210 echo "$as_me:$LINENO: checking for $ac_word" >&5
11211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11212 if test "${ac_cv_prog_ac_ct_FC+set}" = set; then
11213 echo $ECHO_N "(cached) $ECHO_C" >&6
11215 if test -n "$ac_ct_FC"; then
11216 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
11218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11219 for as_dir
in $PATH
11222 test -z "$as_dir" && as_dir
=.
11223 for ac_exec_ext
in '' $ac_executable_extensions; do
11224 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11225 ac_cv_prog_ac_ct_FC
="$ac_prog"
11226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11234 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
11235 if test -n "$ac_ct_FC"; then
11236 echo "$as_me:$LINENO: result: $ac_ct_FC" >&5
11237 echo "${ECHO_T}$ac_ct_FC" >&6
11239 echo "$as_me:$LINENO: result: no" >&5
11240 echo "${ECHO_T}no" >&6
11243 test -n "$ac_ct_FC" && break
11250 # Provide some information about the compiler.
11251 echo "$as_me:11251:" \
11252 "checking for Fortran compiler version" >&5
11253 ac_compiler
=`set X $ac_compile; echo $2`
11254 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
11255 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); }
11259 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
11260 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
11262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11263 (exit $ac_status); }
11264 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
11265 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
11267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11268 (exit $ac_status); }
11271 # If we don't use `.F' as extension, the preprocessor is not run on the
11272 # input file. (Note that this only needs to work for GNU compilers.)
11273 ac_save_ext
=$ac_ext
11275 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran compiler" >&5
11276 echo $ECHO_N "checking whether we are using the GNU Fortran compiler... $ECHO_C" >&6
11277 if test "${ac_cv_fc_compiler_gnu+set}" = set; then
11278 echo $ECHO_N "(cached) $ECHO_C" >&6
11280 cat >conftest.
$ac_ext <<_ACEOF
11288 rm -f conftest.
$ac_objext
11289 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11290 (eval $ac_compile) 2>conftest.er1
11292 grep -v '^ *+' conftest.er1
>conftest.err
11294 cat conftest.err
>&5
11295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11296 (exit $ac_status); } &&
11297 { ac_try
='test -z "$ac_fc_werror_flag"
11298 || test ! -s conftest.err'
11299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11300 (eval $ac_try) 2>&5
11302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11303 (exit $ac_status); }; } &&
11304 { ac_try
='test -s conftest.$ac_objext'
11305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11306 (eval $ac_try) 2>&5
11308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11309 (exit $ac_status); }; }; then
11310 ac_compiler_gnu
=yes
11312 echo "$as_me: failed program was:" >&5
11313 sed 's/^/| /' conftest.
$ac_ext >&5
11317 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11318 ac_cv_fc_compiler_gnu
=$ac_compiler_gnu
11321 echo "$as_me:$LINENO: result: $ac_cv_fc_compiler_gnu" >&5
11322 echo "${ECHO_T}$ac_cv_fc_compiler_gnu" >&6
11323 ac_ext
=$ac_save_ext
11324 ac_test_FFLAGS
=${FCFLAGS+set}
11325 ac_save_FFLAGS
=$FCFLAGS
11327 echo "$as_me:$LINENO: checking whether $FC accepts -g" >&5
11328 echo $ECHO_N "checking whether $FC accepts -g... $ECHO_C" >&6
11329 if test "${ac_cv_prog_fc_g+set}" = set; then
11330 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 cat >conftest.
$ac_ext <<_ACEOF
11338 rm -f conftest.
$ac_objext
11339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11340 (eval $ac_compile) 2>conftest.er1
11342 grep -v '^ *+' conftest.er1
>conftest.err
11344 cat conftest.err
>&5
11345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11346 (exit $ac_status); } &&
11347 { ac_try
='test -z "$ac_fc_werror_flag"
11348 || test ! -s conftest.err'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; } &&
11354 { ac_try
='test -s conftest.$ac_objext'
11355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11356 (eval $ac_try) 2>&5
11358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11359 (exit $ac_status); }; }; then
11360 ac_cv_prog_fc_g
=yes
11362 echo "$as_me: failed program was:" >&5
11363 sed 's/^/| /' conftest.
$ac_ext >&5
11367 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11370 echo "$as_me:$LINENO: result: $ac_cv_prog_fc_g" >&5
11371 echo "${ECHO_T}$ac_cv_prog_fc_g" >&6
11372 if test "$ac_test_FFLAGS" = set; then
11373 FCFLAGS
=$ac_save_FFLAGS
11374 elif test $ac_cv_prog_fc_g = yes; then
11375 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11381 if test "x$ac_cv_fc_compiler_gnu" = xyes
; then
11389 ac_cpp
='$CPP $CPPFLAGS'
11390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
11394 if test -z "$FC" ||
test "X$FC" = "Xno"; then
11400 ac_ext
=${FC_SRCEXT-f}
11401 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
11402 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
11403 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
11406 archive_cmds_need_lc_FC
=no
11407 allow_undefined_flag_FC
=
11408 always_export_symbols_FC
=no
11409 archive_expsym_cmds_FC
=
11410 export_dynamic_flag_spec_FC
=
11411 hardcode_direct_FC
=no
11412 hardcode_direct_absolute_FC
=no
11413 hardcode_libdir_flag_spec_FC
=
11414 hardcode_libdir_flag_spec_ld_FC
=
11415 hardcode_libdir_separator_FC
=
11416 hardcode_minus_L_FC
=no
11417 hardcode_automatic_FC
=no
11418 inherit_rpath_FC
=no
11420 module_expsym_cmds_FC
=
11421 link_all_deplibs_FC
=unknown
11422 old_archive_cmds_FC
=$old_archive_cmds
11423 no_undefined_flag_FC
=
11424 whole_archive_flag_spec_FC
=
11425 enable_shared_with_static_runtimes_FC
=no
11427 # Source file extension for fc test sources.
11428 ac_ext
=${ac_fc_srcext-f}
11430 # Object file extension for compiled fc test sources.
11434 # No sense in running all these tests if we already determined that
11435 # the FC compiler isn't working. Some variables (like enable_shared)
11436 # are currently assumed to apply to all compilers on this platform,
11437 # and will be corrupted by setting them based on a non-working compiler.
11438 if test "$_lt_disable_FC" != yes; then
11439 # Code to be used in simple compile tests
11440 lt_simple_compile_test_code
="\
11446 # Code to be used in simple link tests
11447 lt_simple_link_test_code
="\
11452 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11459 # If no C compiler was specified, use CC.
11462 # If no C compiler flags were specified, use CFLAGS.
11463 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
11465 # Allow CC to be a program name with arguments.
11469 # save warnings/boilerplate of simple test code
11470 ac_outfile
=conftest.
$ac_objext
11471 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
11472 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11473 _lt_compiler_boilerplate
=`cat conftest.err`
11476 ac_outfile
=conftest.
$ac_objext
11477 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
11478 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
11479 _lt_linker_boilerplate
=`cat conftest.err`
11483 # Allow CC to be a program name with arguments.
11488 GCC
=$ac_cv_fc_compiler_gnu
11491 for cc_temp
in $compiler""; do
11493 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
11494 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
11499 cc_basename
=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11502 if test -n "$compiler"; then
11503 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11504 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11505 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11506 echo "${ECHO_T}$can_build_shared" >&6
11508 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11509 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11510 test "$can_build_shared" = "no" && enable_shared
=no
11512 # On AIX, shared libraries and static libraries use the same namespace, and
11513 # are all built from PIC.
11516 test "$enable_shared" = yes && enable_static
=no
11517 if test -n "$RANLIB"; then
11518 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
11519 postinstall_cmds
='$RANLIB $lib'
11523 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
11524 test "$enable_shared" = yes && enable_static
=no
11528 echo "$as_me:$LINENO: result: $enable_shared" >&5
11529 echo "${ECHO_T}$enable_shared" >&6
11531 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11532 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11533 # Make sure either enable_shared or enable_static is yes.
11534 test "$enable_shared" = yes || enable_static
=yes
11535 echo "$as_me:$LINENO: result: $enable_static" >&5
11536 echo "${ECHO_T}$enable_static" >&6
11538 GCC_FC
="$ac_cv_fc_compiler_gnu"
11542 ## There is no encapsulation within the following macros, do not change
11543 ## the running order or otherwise move them around unless you know exactly
11544 ## what you are doing...
11545 # Dependencies to place before and after the object being linked:
11547 postdep_objects_FC
=
11550 compiler_lib_search_path_FC
=
11552 cat > conftest.
$ac_ext <<_LT_EOF
11561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11562 (eval $ac_compile) 2>&5
11564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11565 (exit $ac_status); }; then
11566 # Parse the compiler output and extract the necessary
11567 # objects, libraries and library flags.
11569 # Sentinel used to keep track of whether or not we are before
11570 # the conftest object file.
11571 pre_test_object_deps_done
=no
11573 for p
in `eval "$output_verbose_link_cmd"`; do
11577 # Some compilers place space between "-{L,R}" and the path.
11578 # Remove the space.
11579 if test $p = "-L" ||
11580 test $p = "-R"; then
11587 if test "$pre_test_object_deps_done" = no
; then
11590 # Internal compiler library paths should come after those
11591 # provided the user. The postdeps already come after the
11592 # user supplied libs so there is no need to process them.
11593 if test -z "$compiler_lib_search_path_FC"; then
11594 compiler_lib_search_path_FC
="${prev}${p}"
11596 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
11599 # The "-l" case would never come before the object being
11600 # linked, so don't bother handling this case.
11603 if test -z "$postdeps_FC"; then
11604 postdeps_FC
="${prev}${p}"
11606 postdeps_FC
="${postdeps_FC} ${prev}${p}"
11612 # This assumes that the test object file only shows up
11613 # once in the compiler output.
11614 if test "$p" = "conftest.$objext"; then
11615 pre_test_object_deps_done
=yes
11619 if test "$pre_test_object_deps_done" = no
; then
11620 if test -z "$predep_objects_FC"; then
11621 predep_objects_FC
="$p"
11623 predep_objects_FC
="$predep_objects_FC $p"
11626 if test -z "$postdep_objects_FC"; then
11627 postdep_objects_FC
="$p"
11629 postdep_objects_FC
="$postdep_objects_FC $p"
11634 *) ;; # Ignore the rest.
11642 echo "libtool.m4: error: problem compiling FC test program"
11645 $RM -f confest.
$objext
11647 # PORTME: override above test on systems where it is broken
11650 case " $postdeps_FC " in
11651 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
11653 compiler_lib_search_dirs_FC
=
11654 if test -n "${compiler_lib_search_path_FC}"; then
11655 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
11688 lt_prog_compiler_wl_FC
=
11689 lt_prog_compiler_pic_FC
=
11690 lt_prog_compiler_static_FC
=
11692 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
11693 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
11695 if test "$GCC" = yes; then
11696 lt_prog_compiler_wl_FC
='-Wl,'
11697 lt_prog_compiler_static_FC
='-static'
11701 # All AIX code is PIC.
11702 if test "$host_cpu" = ia64
; then
11703 # AIX 5 now supports IA64 processor
11704 lt_prog_compiler_static_FC
='-Bstatic'
11711 # see comment about AmigaOS4 .so support
11712 lt_prog_compiler_pic_FC
='-fPIC'
11715 # FIXME: we need at least 68020 code to build shared libraries, but
11716 # adding the `-m68020' flag to GCC prevents building anything better,
11718 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
11723 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
11724 # PIC is the default for these OSes.
11727 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11728 # This hack is so that the source file can tell whether it is being
11729 # built for inclusion in a dll (and should export symbols for example).
11730 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11731 # (--disable-auto-import) libraries
11732 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11735 darwin
* | rhapsody
*)
11736 # PIC is the default on this platform
11737 # Common symbols not allowed in MH_DYLIB files
11738 lt_prog_compiler_pic_FC
='-fno-common'
11742 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11743 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11744 # sets the default TLS model and affects inlining.
11750 lt_prog_compiler_pic_FC
='-fPIC'
11756 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11757 # Instead, we relocate shared libraries at runtime.
11761 # Just because we use GCC doesn't mean we suddenly get shared libraries
11762 # on systems that don't support them.
11763 lt_prog_compiler_can_build_shared_FC
=no
11768 # QNX uses GNU C++, but need to define -shared option too, otherwise
11769 # it will coredump.
11770 lt_prog_compiler_pic_FC
='-fPIC -shared'
11774 if test -d /usr
/nec
; then
11775 lt_prog_compiler_pic_FC
=-Kconform_pic
11780 lt_prog_compiler_pic_FC
='-fPIC'
11784 # PORTME Check for flag to pass linker flags through the system compiler.
11787 lt_prog_compiler_wl_FC
='-Wl,'
11788 if test "$host_cpu" = ia64
; then
11789 # AIX 5 now supports IA64 processor
11790 lt_prog_compiler_static_FC
='-Bstatic'
11792 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
11796 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
11797 # This hack is so that the source file can tell whether it is being
11798 # built for inclusion in a dll (and should export symbols for example).
11799 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
11802 hpux9
* | hpux10
* | hpux11
*)
11803 lt_prog_compiler_wl_FC
='-Wl,'
11804 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11805 # not for PA HP-UX.
11811 lt_prog_compiler_pic_FC
='+Z'
11814 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11815 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
11818 irix5
* | irix6
* | nonstopux
*)
11819 lt_prog_compiler_wl_FC
='-Wl,'
11820 # PIC (with -KPIC) is the default.
11821 lt_prog_compiler_static_FC
='-non_shared'
11824 linux
* | k
*bsd
*-gnu)
11825 case $cc_basename in
11826 # old Intel for x86_64 which still supported -KPIC.
11828 lt_prog_compiler_wl_FC
='-Wl,'
11829 lt_prog_compiler_pic_FC
='-KPIC'
11830 lt_prog_compiler_static_FC
='-static'
11832 # icc used to be incompatible with GCC.
11833 # ICC 10 doesn't accept -KPIC any more.
11835 lt_prog_compiler_wl_FC
='-Wl,'
11836 lt_prog_compiler_pic_FC
='-fPIC'
11837 lt_prog_compiler_static_FC
='-static'
11839 # Lahey Fortran 8.1.
11841 lt_prog_compiler_wl_FC
='-Wl,'
11842 lt_prog_compiler_pic_FC
='--shared'
11843 lt_prog_compiler_static_FC
='--static'
11845 pgcc
* | pgf77
* | pgf90
* | pgf95
*)
11846 # Portland Group compilers (*not* the Pentium gcc compiler,
11847 # which looks to be a dead project)
11848 lt_prog_compiler_wl_FC
='-Wl,'
11849 lt_prog_compiler_pic_FC
='-fpic'
11850 lt_prog_compiler_static_FC
='-Bstatic'
11853 lt_prog_compiler_wl_FC
='-Wl,'
11854 # All Alpha code is PIC.
11855 lt_prog_compiler_static_FC
='-non_shared'
11858 # IBM XL C 8.0/Fortran 10.1 on PPC
11859 lt_prog_compiler_wl_FC
='-Wl,'
11860 lt_prog_compiler_pic_FC
='-qpic'
11861 lt_prog_compiler_static_FC
='-qstaticlink'
11864 case `$CC -V 2>&1 | sed 5q` in
11867 lt_prog_compiler_pic_FC
='-KPIC'
11868 lt_prog_compiler_static_FC
='-Bstatic'
11869 lt_prog_compiler_wl_FC
='-Wl,'
11872 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11873 lt_prog_compiler_pic_FC
='-KPIC'
11874 lt_prog_compiler_static_FC
='-Bstatic'
11875 lt_prog_compiler_wl_FC
=''
11883 lt_prog_compiler_pic_FC
='-KPIC'
11884 lt_prog_compiler_static_FC
='-Bstatic'
11888 # QNX uses GNU C++, but need to define -shared option too, otherwise
11889 # it will coredump.
11890 lt_prog_compiler_pic_FC
='-fPIC -shared'
11893 osf3
* | osf4
* | osf5
*)
11894 lt_prog_compiler_wl_FC
='-Wl,'
11895 # All OSF/1 code is PIC.
11896 lt_prog_compiler_static_FC
='-non_shared'
11900 lt_prog_compiler_static_FC
='-non_shared'
11904 lt_prog_compiler_pic_FC
='-KPIC'
11905 lt_prog_compiler_static_FC
='-Bstatic'
11906 case $cc_basename in
11907 f77
* | f90
* | f95
*)
11908 lt_prog_compiler_wl_FC
='-Qoption ld ';;
11910 lt_prog_compiler_wl_FC
='-Wl,';;
11915 lt_prog_compiler_wl_FC
='-Qoption ld '
11916 lt_prog_compiler_pic_FC
='-PIC'
11917 lt_prog_compiler_static_FC
='-Bstatic'
11920 sysv4 | sysv4.2uw2
* | sysv4.3
*)
11921 lt_prog_compiler_wl_FC
='-Wl,'
11922 lt_prog_compiler_pic_FC
='-KPIC'
11923 lt_prog_compiler_static_FC
='-Bstatic'
11927 if test -d /usr
/nec
;then
11928 lt_prog_compiler_pic_FC
='-Kconform_pic'
11929 lt_prog_compiler_static_FC
='-Bstatic'
11933 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
11934 lt_prog_compiler_wl_FC
='-Wl,'
11935 lt_prog_compiler_pic_FC
='-KPIC'
11936 lt_prog_compiler_static_FC
='-Bstatic'
11940 lt_prog_compiler_wl_FC
='-Wl,'
11941 lt_prog_compiler_can_build_shared_FC
=no
11945 lt_prog_compiler_pic_FC
='-pic'
11946 lt_prog_compiler_static_FC
='-Bstatic'
11950 lt_prog_compiler_can_build_shared_FC
=no
11956 # For platforms which do not support PIC, -DPIC is meaningless:
11958 lt_prog_compiler_pic_FC
=
11961 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
11964 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_FC" >&5
11965 echo "${ECHO_T}$lt_prog_compiler_pic_FC" >&6
11970 # Check to make sure the PIC flag actually works.
11972 if test -n "$lt_prog_compiler_pic_FC"; then
11973 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
11974 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... $ECHO_C" >&6
11975 if test "${lt_cv_prog_compiler_pic_works_FC+set}" = set; then
11976 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 lt_cv_prog_compiler_pic_works_FC
=no
11979 ac_outfile
=conftest.
$ac_objext
11980 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11981 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
11982 # Insert the option either (1) after the last *FLAGS variable, or
11983 # (2) before a word containing "conftest.", or (3) at the end.
11984 # Note that $ac_compile itself does not contain backslashes and begins
11985 # with a dollar sign (not a hyphen), so the echo should work correctly.
11986 # The option is referenced via a variable to avoid confusing sed.
11987 lt_compile
=`echo "$ac_compile" | $SED \
11988 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11989 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11990 -e 's:$: $lt_compiler_flag:'`
11991 (eval echo "\"\$as_me:11991: $lt_compile\"" >&5)
11992 (eval "$lt_compile" 2>conftest.err
)
11994 cat conftest.err
>&5
11995 echo "$as_me:11995: \$? = $ac_status" >&5
11996 if (exit $ac_status) && test -s "$ac_outfile"; then
11997 # The compiler can only warn and ignore the option if not recognized
11998 # So say no if there are warnings other than the usual output.
11999 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' >conftest.exp
12000 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12001 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
12002 lt_cv_prog_compiler_pic_works_FC
=yes
12008 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_FC" >&5
12009 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_FC" >&6
12011 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
12012 case $lt_prog_compiler_pic_FC in
12014 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
12017 lt_prog_compiler_pic_FC
=
12018 lt_prog_compiler_can_build_shared_FC
=no
12026 # Check to make sure the static flag actually works.
12028 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
12029 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12030 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12031 if test "${lt_cv_prog_compiler_static_works_FC+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12034 lt_cv_prog_compiler_static_works_FC
=no
12035 save_LDFLAGS
="$LDFLAGS"
12036 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
12037 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
12038 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
12039 # The linker can only warn and ignore the option if not recognized
12040 # So say no if there are warnings
12041 if test -s conftest.err
; then
12042 # Append any errors to the config.log.
12043 cat conftest.err
1>&5
12044 $ECHO "X$_lt_linker_boilerplate" |
$Xsed -e '/^$/d' > conftest.exp
12045 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
12046 if diff conftest.exp conftest.er2
>/dev
/null
; then
12047 lt_cv_prog_compiler_static_works_FC
=yes
12050 lt_cv_prog_compiler_static_works_FC
=yes
12054 LDFLAGS
="$save_LDFLAGS"
12057 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_FC" >&5
12058 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_FC" >&6
12060 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
12063 lt_prog_compiler_static_FC
=
12069 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12070 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12071 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12072 echo $ECHO_N "(cached) $ECHO_C" >&6
12074 lt_cv_prog_compiler_c_o_FC
=no
12075 $RM -r conftest
2>/dev
/null
12079 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12081 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12082 # Insert the option either (1) after the last *FLAGS variable, or
12083 # (2) before a word containing "conftest.", or (3) at the end.
12084 # Note that $ac_compile itself does not contain backslashes and begins
12085 # with a dollar sign (not a hyphen), so the echo should work correctly.
12086 lt_compile
=`echo "$ac_compile" | $SED \
12087 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12088 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12089 -e 's:$: $lt_compiler_flag:'`
12090 (eval echo "\"\$as_me:12090: $lt_compile\"" >&5)
12091 (eval "$lt_compile" 2>out
/conftest.err
)
12093 cat out
/conftest.err
>&5
12094 echo "$as_me:12094: \$? = $ac_status" >&5
12095 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12097 # The compiler can only warn and ignore the option if not recognized
12098 # So say no if there are warnings
12099 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12100 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12101 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12102 lt_cv_prog_compiler_c_o_FC
=yes
12107 # SGI C++ compiler will create directory out/ii_files/ for
12108 # template instantiation
12109 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12110 $RM out
/* && rmdir out
12116 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12117 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12121 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12122 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12123 if test "${lt_cv_prog_compiler_c_o_FC+set}" = set; then
12124 echo $ECHO_N "(cached) $ECHO_C" >&6
12126 lt_cv_prog_compiler_c_o_FC
=no
12127 $RM -r conftest
2>/dev
/null
12131 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
12133 lt_compiler_flag
="-o out/conftest2.$ac_objext"
12134 # Insert the option either (1) after the last *FLAGS variable, or
12135 # (2) before a word containing "conftest.", or (3) at the end.
12136 # Note that $ac_compile itself does not contain backslashes and begins
12137 # with a dollar sign (not a hyphen), so the echo should work correctly.
12138 lt_compile
=`echo "$ac_compile" | $SED \
12139 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12140 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12141 -e 's:$: $lt_compiler_flag:'`
12142 (eval echo "\"\$as_me:12142: $lt_compile\"" >&5)
12143 (eval "$lt_compile" 2>out
/conftest.err
)
12145 cat out
/conftest.err
>&5
12146 echo "$as_me:12146: \$? = $ac_status" >&5
12147 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
12149 # The compiler can only warn and ignore the option if not recognized
12150 # So say no if there are warnings
12151 $ECHO "X$_lt_compiler_boilerplate" |
$Xsed -e '/^$/d' > out
/conftest.exp
12152 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
12153 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
12154 lt_cv_prog_compiler_c_o_FC
=yes
12159 # SGI C++ compiler will create directory out/ii_files/ for
12160 # template instantiation
12161 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
12162 $RM out
/* && rmdir out
12168 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_FC" >&5
12169 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_FC" >&6
12174 hard_links
="nottested"
12175 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
12176 # do not overwrite the value of need_locks provided by the user
12177 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12178 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12181 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12183 ln conftest.a conftest.b
2>&5 || hard_links
=no
12184 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
12185 echo "$as_me:$LINENO: result: $hard_links" >&5
12186 echo "${ECHO_T}$hard_links" >&6
12187 if test "$hard_links" = no
; then
12188 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12189 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12198 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12199 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12202 allow_undefined_flag_FC
=
12203 always_export_symbols_FC
=no
12205 archive_expsym_cmds_FC
=
12206 compiler_needs_object_FC
=no
12207 enable_shared_with_static_runtimes_FC
=no
12208 export_dynamic_flag_spec_FC
=
12209 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12210 hardcode_automatic_FC
=no
12211 hardcode_direct_FC
=no
12212 hardcode_direct_absolute_FC
=no
12213 hardcode_libdir_flag_spec_FC
=
12214 hardcode_libdir_flag_spec_ld_FC
=
12215 hardcode_libdir_separator_FC
=
12216 hardcode_minus_L_FC
=no
12217 hardcode_shlibpath_var_FC
=unsupported
12218 inherit_rpath_FC
=no
12219 link_all_deplibs_FC
=unknown
12221 module_expsym_cmds_FC
=
12222 old_archive_from_new_cmds_FC
=
12223 old_archive_from_expsyms_cmds_FC
=
12224 thread_safe_flag_spec_FC
=
12225 whole_archive_flag_spec_FC
=
12226 # include_expsyms should be a list of space-separated symbols to be *always*
12227 # included in the symbol list
12228 include_expsyms_FC
=
12229 # exclude_expsyms can be an extended regexp of symbols to exclude
12230 # it will be wrapped by ` (' and `)$', so one must not match beginning or
12231 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
12232 # as well as any symbol that contains `d'.
12233 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12234 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12235 # platforms (ab)use it in PIC code, but their linkers get confused if
12236 # the symbol is explicitly referenced. Since portable code cannot
12237 # rely on this symbol name, it's probably fine to never include it in
12238 # preloaded symbol tables.
12239 # Exclude shared library initialization/finalization symbols.
12240 extract_expsyms_cmds
=
12243 cygwin
* | mingw
* | pw32
* | cegcc
*)
12244 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12245 # When not using gcc, we currently assume that we are using
12246 # Microsoft Visual C++.
12247 if test "$GCC" != yes; then
12252 # we just hope/assume this is gcc and not c89 (= MSVC++)
12261 if test "$with_gnu_ld" = yes; then
12262 # If archive_cmds runs LD, not CC, wlarc should be empty
12265 # Set some defaults for GNU ld with shared library support. These
12266 # are reset later if shared libraries are not supported. Putting them
12267 # here allows them to be overridden if necessary.
12268 runpath_var
=LD_RUN_PATH
12269 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12270 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
12271 # ancient GNU ld didn't support --whole-archive et. al.
12272 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
12273 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12275 whole_archive_flag_spec_FC
=
12277 supports_anon_versioning
=no
12278 case `$LD -v 2>&1` in
12279 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
12280 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
12281 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
12282 *\
2.11.
*) ;; # other 2.11 versions
12283 *) supports_anon_versioning
=yes ;;
12286 # See if GNU ld supports shared libraries.
12289 # On AIX/PPC, the GNU linker is very broken
12290 if test "$host_cpu" != ia64
; then
12294 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
12295 *** to be unable to reliably create shared libraries on AIX.
12296 *** Therefore, libtool is disabling shared libraries support. If you
12297 *** really care for shared libraries, you may want to modify your PATH
12298 *** so that a non-GNU linker is found, and then restart.
12307 # see comment about AmigaOS4 .so support
12308 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12309 archive_expsym_cmds_FC
=''
12312 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)'
12313 hardcode_libdir_flag_spec_FC
='-L$libdir'
12314 hardcode_minus_L_FC
=yes
12320 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12321 allow_undefined_flag_FC
=unsupported
12322 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12323 # support --undefined. This deserves some investigation. FIXME
12324 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12330 cygwin
* | mingw
* | pw32
* | cegcc
*)
12331 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
12332 # as there is no search path for DLLs.
12333 hardcode_libdir_flag_spec_FC
='-L$libdir'
12334 allow_undefined_flag_FC
=unsupported
12335 always_export_symbols_FC
=no
12336 enable_shared_with_static_runtimes_FC
=yes
12337 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12339 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
12340 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12341 # If the export-symbols file already is a .def file (1st line
12342 # is EXPORTS), use it as is; otherwise, prepend...
12343 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12344 cp $export_symbols $output_objdir/$soname.def;
12346 echo EXPORTS > $output_objdir/$soname.def;
12347 cat $export_symbols >> $output_objdir/$soname.def;
12349 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12356 hardcode_direct_FC
=no
12357 hardcode_shlibpath_var_FC
=no
12358 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
12359 export_dynamic_flag_spec_FC
='${wl}-E'
12360 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12361 # Instead, shared libraries are loaded at an image base (0x10000000 by
12362 # default) and relocated if they conflict, which is a slow very memory
12363 # consuming and fragmenting process. To avoid this, we pick a random,
12364 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12365 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12366 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'
12367 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'
12370 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu)
12372 if test "$host_os" = linux-dietlibc
; then
12373 case $cc_basename in
12374 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
12377 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
12378 && test "$tmp_diet" = no
12381 tmp_sharedflag
='-shared'
12382 case $cc_basename,$host_cpu in
12383 pgcc
*) # Portland Group C compiler
12384 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'
12385 tmp_addflag
=' $pic_flag'
12387 pgf77
* | pgf90
* | pgf95
*) # Portland Group f77 and f90 compilers
12388 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'
12389 tmp_addflag
=' $pic_flag -Mnomain' ;;
12390 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
12391 tmp_addflag
=' -i_dynamic' ;;
12392 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
12393 tmp_addflag
=' -i_dynamic -nofor_main' ;;
12394 ifc
* | ifort
*) # Intel Fortran compiler
12395 tmp_addflag
=' -nofor_main' ;;
12396 lf95
*) # Lahey Fortran 8.1
12397 whole_archive_flag_spec_FC
=
12398 tmp_sharedflag
='--shared' ;;
12399 xl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12400 tmp_sharedflag
='-qmkshrobj'
12403 case `$CC -V 2>&1 | sed 5q` in
12404 *Sun\ C
*) # Sun C 5.9
12405 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'
12406 compiler_needs_object_FC
=yes
12407 tmp_sharedflag
='-G' ;;
12408 *Sun\ F
*) # Sun Fortran 8.3
12409 tmp_sharedflag
='-G' ;;
12411 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12413 if test "x$supports_anon_versioning" = xyes
; then
12414 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12415 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12416 echo "local: *; };" >> $output_objdir/$libname.ver~
12417 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12420 case $cc_basename in
12422 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12423 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
12424 hardcode_libdir_flag_spec_FC
=
12425 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
12426 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
12427 if test "x$supports_anon_versioning" = xyes
; then
12428 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
12429 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12430 echo "local: *; };" >> $output_objdir/$libname.ver~
12431 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12441 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12442 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12445 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12446 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12451 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
12455 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12456 *** create shared libraries on Solaris systems. Therefore, libtool
12457 *** is disabling shared libraries support. We urge you to upgrade GNU
12458 *** binutils to release 2.9.1 or newer. Another option is to modify
12459 *** your PATH or compiler configuration so that the native linker is
12460 *** used, and then restart.
12463 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12464 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12465 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12471 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
12472 case `$LD -v 2>&1` in
12473 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
12477 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
12478 *** reliably create shared libraries on SCO systems. Therefore, libtool
12479 *** is disabling shared libraries support. We urge you to upgrade GNU
12480 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12481 *** your PATH or compiler configuration so that the native linker is
12482 *** used, and then restart.
12487 # For security reasons, it is highly recommended that you always
12488 # use absolute paths for naming shared libraries, and exclude the
12489 # DT_RUNPATH tag from executables and libraries. But doing so
12490 # requires that you compile everything twice, which is a pain.
12491 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12492 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
12493 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12494 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12503 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12505 hardcode_direct_FC
=yes
12506 hardcode_shlibpath_var_FC
=no
12510 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
12511 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12512 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12519 if test "$ld_shlibs_FC" = no
; then
12521 hardcode_libdir_flag_spec_FC
=
12522 export_dynamic_flag_spec_FC
=
12523 whole_archive_flag_spec_FC
=
12526 # PORTME fill in a description of your system's linker (not GNU ld)
12529 allow_undefined_flag_FC
=unsupported
12530 always_export_symbols_FC
=yes
12531 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'
12532 # Note: this linker hardcodes the directories in LIBPATH if there
12533 # are no directories specified by -L.
12534 hardcode_minus_L_FC
=yes
12535 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
12536 # Neither direct hardcoding nor static linking is supported with a
12538 hardcode_direct_FC
=unsupported
12543 if test "$host_cpu" = ia64
; then
12544 # On IA64, the linker does run time linking by default, so we don't
12545 # have to do anything special.
12546 aix_use_runtimelinking
=no
12547 exp_sym_flag
='-Bexport'
12550 # If we're using GNU nm, then we don't want the "-C" option.
12551 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12552 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
12553 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'
12555 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'
12557 aix_use_runtimelinking
=no
12559 # Test if we are trying to use run time linking or normal
12560 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12561 # need to do runtime linking.
12562 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
12563 for ld_flag
in $LDFLAGS; do
12564 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
12565 aix_use_runtimelinking
=yes
12572 exp_sym_flag
='-bexport'
12573 no_entry_flag
='-bnoentry'
12576 # When large executables or shared objects are built, AIX ld can
12577 # have problems creating the table of contents. If linking a library
12578 # or program results in "error TOC overflow" add -mminimal-toc to
12579 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12580 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12583 hardcode_direct_FC
=yes
12584 hardcode_direct_absolute_FC
=yes
12585 hardcode_libdir_separator_FC
=':'
12586 link_all_deplibs_FC
=yes
12587 file_list_spec_FC
='${wl}-f,'
12589 if test "$GCC" = yes; then
12590 case $host_os in aix4.
[012]|aix4.
[012].
*)
12591 # We only want to do this on AIX 4.2 and lower, the check
12592 # below for broken collect2 doesn't work under 4.3+
12593 collect2name
=`${CC} -print-prog-name=collect2`
12594 if test -f "$collect2name" &&
12595 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
12597 # We have reworked collect2
12600 # We have old collect2
12601 hardcode_direct_FC
=unsupported
12602 # It fails to find uninstalled libraries when the uninstalled
12603 # path is not listed in the libpath. Setting hardcode_minus_L
12604 # to unsupported forces relinking
12605 hardcode_minus_L_FC
=yes
12606 hardcode_libdir_flag_spec_FC
='-L$libdir'
12607 hardcode_libdir_separator_FC
=
12611 shared_flag
='-shared'
12612 if test "$aix_use_runtimelinking" = yes; then
12613 shared_flag
="$shared_flag "'${wl}-G'
12617 if test "$host_cpu" = ia64
; then
12618 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12619 # chokes on -Wl,-G. The following line is correct:
12622 if test "$aix_use_runtimelinking" = yes; then
12623 shared_flag
='${wl}-G'
12625 shared_flag
='${wl}-bM:SRE'
12630 export_dynamic_flag_spec_FC
='${wl}-bexpall'
12631 # It seems that -bexpall does not export symbols beginning with
12632 # underscore (_), so it is better to generate a list of symbols to export.
12633 always_export_symbols_FC
=yes
12634 if test "$aix_use_runtimelinking" = yes; then
12635 # Warning - without using the other runtime loading flags (-brtl),
12636 # -berok will link without error, but may produce a broken library.
12637 allow_undefined_flag_FC
='-berok'
12638 # Determine the default libpath from the value encoded in an
12639 # empty executable.
12640 if test x
$gcc_no_link = xyes
; then
12641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12643 { (exit 1); exit 1; }; }
12645 cat >conftest.
$ac_ext <<_ACEOF
12650 rm -f conftest.
$ac_objext conftest
$ac_exeext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12652 (eval $ac_link) 2>conftest.er1
12654 grep -v '^ *+' conftest.er1
>conftest.err
12656 cat conftest.err
>&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } &&
12659 { ac_try
='test -z "$ac_fc_werror_flag"
12660 || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try
='test -s conftest$ac_exeext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12673 lt_aix_libpath_sed
='
12674 /Import File Strings/,/^$/ {
12680 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12681 # Check for a 64-bit object if we didn't find anything.
12682 if test -z "$aix_libpath"; then
12683 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12686 echo "$as_me: failed program was:" >&5
12687 sed 's/^/| /' conftest.
$ac_ext >&5
12690 rm -f conftest.err conftest.
$ac_objext \
12691 conftest
$ac_exeext conftest.
$ac_ext
12692 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12694 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12695 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"
12697 if test "$host_cpu" = ia64
; then
12698 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
12699 allow_undefined_flag_FC
="-z nodefs"
12700 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"
12702 # Determine the default libpath from the value encoded in an
12703 # empty executable.
12704 if test x
$gcc_no_link = xyes
; then
12705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12707 { (exit 1); exit 1; }; }
12709 cat >conftest.
$ac_ext <<_ACEOF
12714 rm -f conftest.
$ac_objext conftest
$ac_exeext
12715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12716 (eval $ac_link) 2>conftest.er1
12718 grep -v '^ *+' conftest.er1
>conftest.err
12720 cat conftest.err
>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } &&
12723 { ac_try
='test -z "$ac_fc_werror_flag"
12724 || test ! -s conftest.err'
12725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12726 (eval $ac_try) 2>&5
12728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12729 (exit $ac_status); }; } &&
12730 { ac_try
='test -s conftest$ac_exeext'
12731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12732 (eval $ac_try) 2>&5
12734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12735 (exit $ac_status); }; }; then
12737 lt_aix_libpath_sed
='
12738 /Import File Strings/,/^$/ {
12744 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12745 # Check for a 64-bit object if we didn't find anything.
12746 if test -z "$aix_libpath"; then
12747 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12750 echo "$as_me: failed program was:" >&5
12751 sed 's/^/| /' conftest.
$ac_ext >&5
12754 rm -f conftest.err conftest.
$ac_objext \
12755 conftest
$ac_exeext conftest.
$ac_ext
12756 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
12758 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
12759 # Warning - without using the other run time loading flags,
12760 # -berok will link without error, but may produce a broken library.
12761 no_undefined_flag_FC
=' ${wl}-bernotok'
12762 allow_undefined_flag_FC
=' ${wl}-berok'
12763 # Exported symbols can be pulled into shared objects from archives
12764 whole_archive_flag_spec_FC
='$convenience'
12765 archive_cmds_need_lc_FC
=yes
12766 # This is similar to how AIX traditionally builds its shared libraries.
12767 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'
12775 # see comment about AmigaOS4 .so support
12776 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12777 archive_expsym_cmds_FC
=''
12780 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)'
12781 hardcode_libdir_flag_spec_FC
='-L$libdir'
12782 hardcode_minus_L_FC
=yes
12788 export_dynamic_flag_spec_FC
=-rdynamic
12791 cygwin
* | mingw
* | pw32
* | cegcc
*)
12792 # When not using gcc, we currently assume that we are using
12793 # Microsoft Visual C++.
12794 # hardcode_libdir_flag_spec is actually meaningless, as there is
12795 # no search path for DLLs.
12796 hardcode_libdir_flag_spec_FC
=' '
12797 allow_undefined_flag_FC
=unsupported
12798 # Tell ltmain to make .lib files, not .a files.
12800 # Tell ltmain to make .dll files, not .so files.
12802 # FIXME: Setting linknames here is a bad hack.
12803 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
12804 # The linker will automatically build a .lib file if we build a DLL.
12805 old_archive_from_new_cmds_FC
='true'
12806 # FIXME: Should let the user specify the lib program.
12807 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
12808 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
12809 enable_shared_with_static_runtimes_FC
=yes
12812 darwin
* | rhapsody
*)
12815 archive_cmds_need_lc_FC
=no
12816 hardcode_direct_FC
=no
12817 hardcode_automatic_FC
=yes
12818 hardcode_shlibpath_var_FC
=unsupported
12819 whole_archive_flag_spec_FC
=''
12820 link_all_deplibs_FC
=yes
12821 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
12822 case $cc_basename in
12823 ifort
*) _lt_dar_can_shared
=yes ;;
12824 *) _lt_dar_can_shared
=$GCC ;;
12826 if test "$_lt_dar_can_shared" = "yes"; then
12827 output_verbose_link_cmd
=echo
12828 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}"
12829 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12830 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}"
12831 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}"
12840 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12841 hardcode_libdir_flag_spec_FC
='-L$libdir'
12842 hardcode_shlibpath_var_FC
=no
12849 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12850 # support. Future versions do this automatically, but an explicit c++rt0.o
12851 # does not break anything, and helps significantly (at the cost of a little
12854 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12855 hardcode_libdir_flag_spec_FC
='-R$libdir'
12856 hardcode_direct_FC
=yes
12857 hardcode_shlibpath_var_FC
=no
12860 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12862 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12863 hardcode_direct_FC
=yes
12864 hardcode_minus_L_FC
=yes
12865 hardcode_shlibpath_var_FC
=no
12868 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12869 freebsd
* | dragonfly
*)
12870 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
12871 hardcode_libdir_flag_spec_FC
='-R$libdir'
12872 hardcode_direct_FC
=yes
12873 hardcode_shlibpath_var_FC
=no
12877 if test "$GCC" = yes; then
12878 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'
12880 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'
12882 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12883 hardcode_libdir_separator_FC
=:
12884 hardcode_direct_FC
=yes
12886 # hardcode_minus_L: Not really in the search PATH,
12887 # but as the default location of the library.
12888 hardcode_minus_L_FC
=yes
12889 export_dynamic_flag_spec_FC
='${wl}-E'
12893 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12894 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12896 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12898 if test "$with_gnu_ld" = no
; then
12899 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12900 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
12901 hardcode_libdir_separator_FC
=:
12902 hardcode_direct_FC
=yes
12903 hardcode_direct_absolute_FC
=yes
12904 export_dynamic_flag_spec_FC
='${wl}-E'
12905 # hardcode_minus_L: Not really in the search PATH,
12906 # but as the default location of the library.
12907 hardcode_minus_L_FC
=yes
12912 if test "$GCC" = yes -a "$with_gnu_ld" = no
; then
12915 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12918 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12921 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12927 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12930 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12933 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12937 if test "$with_gnu_ld" = no
; then
12938 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
12939 hardcode_libdir_separator_FC
=:
12943 hardcode_direct_FC
=no
12944 hardcode_shlibpath_var_FC
=no
12947 hardcode_direct_FC
=yes
12948 hardcode_direct_absolute_FC
=yes
12949 export_dynamic_flag_spec_FC
='${wl}-E'
12951 # hardcode_minus_L: Not really in the search PATH,
12952 # but as the default location of the library.
12953 hardcode_minus_L_FC
=yes
12959 irix5
* | irix6
* | nonstopux
*)
12960 if test "$GCC" = yes; then
12961 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'
12962 # Try to use the -exported_symbol ld option, if it does not
12963 # work, assume that -exports_file does not work either and
12964 # implicitly export all symbols.
12965 save_LDFLAGS
="$LDFLAGS"
12966 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12967 if test x
$gcc_no_link = xyes
; then
12968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12970 { (exit 1); exit 1; }; }
12972 cat >conftest.
$ac_ext <<_ACEOF
12975 rm -f conftest.
$ac_objext conftest
$ac_exeext
12976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12977 (eval $ac_link) 2>conftest.er1
12979 grep -v '^ *+' conftest.er1
>conftest.err
12981 cat conftest.err
>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); } &&
12984 { ac_try
='test -z "$ac_fc_werror_flag"
12985 || test ! -s conftest.err'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; } &&
12991 { ac_try
='test -s conftest$ac_exeext'
12992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12993 (eval $ac_try) 2>&5
12995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12996 (exit $ac_status); }; }; then
12997 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'
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.
$ac_ext >&5
13004 rm -f conftest.err conftest.
$ac_objext \
13005 conftest
$ac_exeext conftest.
$ac_ext
13006 LDFLAGS
="$save_LDFLAGS"
13008 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'
13009 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'
13011 archive_cmds_need_lc_FC
='no'
13012 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13013 hardcode_libdir_separator_FC
=:
13014 inherit_rpath_FC
=yes
13015 link_all_deplibs_FC
=yes
13019 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13020 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13022 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13024 hardcode_libdir_flag_spec_FC
='-R$libdir'
13025 hardcode_direct_FC
=yes
13026 hardcode_shlibpath_var_FC
=no
13030 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13031 hardcode_direct_FC
=yes
13032 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13033 hardcode_libdir_separator_FC
=:
13034 hardcode_shlibpath_var_FC
=no
13041 if test -f /usr
/libexec
/ld.so
; then
13042 hardcode_direct_FC
=yes
13043 hardcode_shlibpath_var_FC
=no
13044 hardcode_direct_absolute_FC
=yes
13045 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13046 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13047 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
13048 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13049 export_dynamic_flag_spec_FC
='${wl}-E'
13052 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
13053 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13054 hardcode_libdir_flag_spec_FC
='-R$libdir'
13057 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13058 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
13068 hardcode_libdir_flag_spec_FC
='-L$libdir'
13069 hardcode_minus_L_FC
=yes
13070 allow_undefined_flag_FC
=unsupported
13071 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'
13072 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13076 if test "$GCC" = yes; then
13077 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13078 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'
13080 allow_undefined_flag_FC
=' -expect_unresolved \*'
13081 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'
13083 archive_cmds_need_lc_FC
='no'
13084 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13085 hardcode_libdir_separator_FC
=:
13088 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
13089 if test "$GCC" = yes; then
13090 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
13091 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'
13092 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
13094 allow_undefined_flag_FC
=' -expect_unresolved \*'
13095 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'
13096 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~
13097 $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'
13099 # Both c and cxx compiler support -rpath directly
13100 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
13102 archive_cmds_need_lc_FC
='no'
13103 hardcode_libdir_separator_FC
=:
13107 no_undefined_flag_FC
=' -z defs'
13108 if test "$GCC" = yes; then
13110 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13111 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13112 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13114 case `$CC -V 2>&1` in
13117 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13118 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13123 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13124 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13125 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13129 hardcode_libdir_flag_spec_FC
='-R$libdir'
13130 hardcode_shlibpath_var_FC
=no
13132 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13134 # The compiler driver will combine and reorder linker options,
13135 # but understands `-z linker_flag'. GCC discards it without `$wl',
13136 # but is careful enough not to reorder.
13137 # Supported since Solaris 2.6 (maybe 2.5.1?)
13138 if test "$GCC" = yes; then
13139 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13141 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
13145 link_all_deplibs_FC
=yes
13149 if test "x$host_vendor" = xsequent
; then
13150 # Use $CC to link under sequent, because it throws in some extra .o
13151 # files that make .init and .fini sections work.
13152 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13154 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13156 hardcode_libdir_flag_spec_FC
='-L$libdir'
13157 hardcode_direct_FC
=yes
13158 hardcode_minus_L_FC
=yes
13159 hardcode_shlibpath_var_FC
=no
13163 case $host_vendor in
13165 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13166 hardcode_direct_FC
=yes # is this really true???
13169 ## LD is ld it makes a PLAMLIB
13170 ## CC just makes a GrossModule.
13171 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13172 reload_cmds_FC
='$CC -r -o $output$reload_objs'
13173 hardcode_direct_FC
=no
13176 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13177 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
13180 runpath_var
='LD_RUN_PATH'
13181 hardcode_shlibpath_var_FC
=no
13185 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13186 hardcode_shlibpath_var_FC
=no
13187 export_dynamic_flag_spec_FC
='-Bexport'
13191 if test -d /usr
/nec
; then
13192 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13193 hardcode_shlibpath_var_FC
=no
13194 runpath_var
=LD_RUN_PATH
13195 hardcode_runpath_var
=yes
13200 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13201 no_undefined_flag_FC
='${wl}-z,text'
13202 archive_cmds_need_lc_FC
=no
13203 hardcode_shlibpath_var_FC
=no
13204 runpath_var
='LD_RUN_PATH'
13206 if test "$GCC" = yes; then
13207 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13208 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13210 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 sysv5
* | sco3.2v5
* | sco5v6
*)
13216 # Note: We can NOT use -z defs as we might desire, because we do not
13217 # link with -lc, and that would cause any symbols used from libc to
13218 # always be unresolved, which means just about no library would
13219 # ever link correctly. If we're not using GNU ld we use -z text
13220 # though, which does catch some bad symbols but isn't as heavy-handed
13222 no_undefined_flag_FC
='${wl}-z,text'
13223 allow_undefined_flag_FC
='${wl}-z,nodefs'
13224 archive_cmds_need_lc_FC
=no
13225 hardcode_shlibpath_var_FC
=no
13226 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
13227 hardcode_libdir_separator_FC
=':'
13228 link_all_deplibs_FC
=yes
13229 export_dynamic_flag_spec_FC
='${wl}-Bexport'
13230 runpath_var
='LD_RUN_PATH'
13232 if test "$GCC" = yes; then
13233 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13236 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13237 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13243 hardcode_libdir_flag_spec_FC
='-L$libdir'
13244 hardcode_shlibpath_var_FC
=no
13252 if test x
$host_vendor = xsni
; then
13254 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
13255 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
13261 echo "$as_me:$LINENO: result: $ld_shlibs_FC" >&5
13262 echo "${ECHO_T}$ld_shlibs_FC" >&6
13263 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
13265 with_gnu_ld_FC
=$with_gnu_ld
13273 # Do we need to explicitly link libc?
13275 case "x$archive_cmds_need_lc_FC" in
13277 # Assume -lc should be added
13278 archive_cmds_need_lc_FC
=yes
13280 if test "$enable_shared" = yes && test "$GCC" = yes; then
13281 case $archive_cmds_FC in
13283 # FIXME: we may have to deal with multi-command sequences.
13286 # Test whether the compiler implicitly links with -lc since on some
13287 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13288 # to ld, don't add -lc before -lgcc.
13289 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13290 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13292 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
13294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13295 (eval $ac_compile) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); } 2>conftest.err
; then
13301 libobjs
=conftest.
$ac_objext
13303 wl
=$lt_prog_compiler_wl_FC
13304 pic_flag
=$lt_prog_compiler_pic_FC
13310 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
13311 allow_undefined_flag_FC
=
13312 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13313 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
13315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13316 (exit $ac_status); }
13318 archive_cmds_need_lc_FC
=no
13320 archive_cmds_need_lc_FC
=yes
13322 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
13324 cat conftest.err
1>&5
13327 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_FC" >&5
13328 echo "${ECHO_T}$archive_cmds_need_lc_FC" >&6
13398 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13399 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13401 library_names_spec
=
13402 libname_spec
='lib$name'
13406 postuninstall_cmds
=
13410 shlibpath_overrides_runpath
=unknown
13412 dynamic_linker
="$host_os ld.so"
13413 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
13414 need_lib_prefix
=unknown
13415 hardcode_into_libs
=no
13417 # when you set need_version to no, make sure it does not cause -set_version
13418 # flags to be left without arguments
13419 need_version
=unknown
13424 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
13425 shlibpath_var
=LIBPATH
13427 # AIX 3 has no versioning support, so we append a major version to the name.
13428 soname_spec
='${libname}${release}${shared_ext}$major'
13435 hardcode_into_libs
=yes
13436 if test "$host_cpu" = ia64
; then
13437 # AIX 5 supports IA64
13438 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13439 shlibpath_var
=LD_LIBRARY_PATH
13441 # With GCC up to 2.95.x, collect2 would create an import file
13442 # for dependence libraries. The import file would start with
13443 # the line `#! .'. This would cause the generated library to
13444 # depend on `.', always an invalid library. This was fixed in
13445 # development snapshots of GCC prior to 3.0.
13447 aix4 | aix4.
[01] | aix4.
[01].
*)
13448 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13450 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
13453 can_build_shared
=no
13457 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13458 # soname into executable. Probably we can add versioning support to
13459 # collect2, so additional links can be useful in future.
13460 if test "$aix_use_runtimelinking" = yes; then
13461 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13462 # instead of lib<name>.a to let people know that these are not
13463 # typical AIX shared libraries.
13464 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13466 # We preserve .a as extension for shared libraries through AIX4.2
13467 # and later when we are not doing run time linking.
13468 library_names_spec
='${libname}${release}.a $libname.a'
13469 soname_spec
='${libname}${release}${shared_ext}$major'
13471 shlibpath_var
=LIBPATH
13478 # Since July 2007 AmigaOS4 officially supports .so libraries.
13479 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13480 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13483 library_names_spec
='$libname.ixlibrary $libname.a'
13484 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13485 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'
13491 library_names_spec
='${libname}${shared_ext}'
13492 dynamic_linker
="$host_os ld.so"
13493 shlibpath_var
=LIBRARY_PATH
13499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13500 soname_spec
='${libname}${release}${shared_ext}$major'
13501 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
13502 shlibpath_var
=LD_LIBRARY_PATH
13503 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13504 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
13505 # the default ld.so.conf also contains /usr/contrib/lib and
13506 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13507 # libtool to hard-code these into programs
13510 cygwin
* | mingw
* | pw32
* | cegcc
*)
13511 version_type
=windows
13516 case $GCC,$host_os in
13517 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
13518 library_names_spec
='$libname.dll.a'
13519 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13520 postinstall_cmds
='base_file=`basename \${file}`~
13521 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13522 dldir=$destdir/`dirname \$dlpath`~
13523 test -d \$dldir || mkdir -p \$dldir~
13524 $install_prog $dir/$dlname \$dldir/$dlname~
13525 chmod a+x \$dldir/$dlname~
13526 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13527 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13529 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13530 dlpath=$dir/\$dldll~
13532 shlibpath_overrides_runpath
=yes
13536 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13537 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13538 sys_lib_search_path_spec
="/usr/lib /lib/w32api /lib /usr/local/lib"
13541 # MinGW DLLs use traditional 'lib' prefix
13542 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13543 sys_lib_search_path_spec
=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13544 if $ECHO "$sys_lib_search_path_spec" |
$GREP ';[c-zC-Z]:/' >/dev
/null
; then
13545 # It is most probably a Windows format PATH printed by
13546 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13547 # path with ; separators, and with drive letters. We can handle the
13548 # drive letters (cygwin fileutils understands them), so leave them,
13549 # especially as we might pass files found there to a mingw objdump,
13550 # which wouldn't understand a cygwinified path. Ahh.
13551 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13553 sys_lib_search_path_spec
=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13557 # pw32 DLLs use 'pw' prefix rather than 'lib'
13558 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13564 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13567 dynamic_linker
='Win32 ld.exe'
13568 # FIXME: first we should search . and the directory the executable is in
13572 darwin
* | rhapsody
*)
13573 dynamic_linker
="$host_os dyld"
13574 version_type
=darwin
13577 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13578 soname_spec
='${libname}${release}${major}$shared_ext'
13579 shlibpath_overrides_runpath
=yes
13580 shlibpath_var
=DYLD_LIBRARY_PATH
13581 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
13583 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
13590 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13591 soname_spec
='${libname}${release}${shared_ext}$major'
13592 shlibpath_var
=LD_LIBRARY_PATH
13599 freebsd
* | dragonfly
*)
13600 # DragonFly does not have aout. When/if they implement a new
13601 # versioning mechanism, adjust this.
13602 if test -x /usr
/bin
/objformat
; then
13603 objformat
=`/usr/bin/objformat`
13606 freebsd
[123]*) objformat
=aout
;;
13607 *) objformat
=elf
;;
13610 version_type
=freebsd-
$objformat
13611 case $version_type in
13613 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13618 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13622 shlibpath_var
=LD_LIBRARY_PATH
13625 shlibpath_overrides_runpath
=yes
13627 freebsd3.
[01]* | freebsdelf3.
[01]*)
13628 shlibpath_overrides_runpath
=yes
13629 hardcode_into_libs
=yes
13631 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
13632 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
13633 shlibpath_overrides_runpath
=no
13634 hardcode_into_libs
=yes
13636 *) # from 4.6 on, and DragonFly
13637 shlibpath_overrides_runpath
=yes
13638 hardcode_into_libs
=yes
13647 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13648 soname_spec
='${libname}${release}${shared_ext}$major'
13649 shlibpath_var
=LD_LIBRARY_PATH
13650 hardcode_into_libs
=yes
13653 hpux9
* | hpux10
* | hpux11
*)
13654 # Give a soname corresponding to the major version so that dld.sl refuses to
13655 # link against other versions.
13662 hardcode_into_libs
=yes
13663 dynamic_linker
="$host_os dld.so"
13664 shlibpath_var
=LD_LIBRARY_PATH
13665 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13666 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13667 soname_spec
='${libname}${release}${shared_ext}$major'
13668 if test "X$HPUX_IA64_MODE" = X32
; then
13669 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13671 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
13673 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13677 hardcode_into_libs
=yes
13678 dynamic_linker
="$host_os dld.sl"
13679 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
13680 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
13681 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13682 soname_spec
='${libname}${release}${shared_ext}$major'
13683 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13684 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
13688 dynamic_linker
="$host_os dld.sl"
13689 shlibpath_var
=SHLIB_PATH
13690 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
13691 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13692 soname_spec
='${libname}${release}${shared_ext}$major'
13695 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13696 postinstall_cmds
='chmod 555 $lib'
13703 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13704 soname_spec
='${libname}${release}${shared_ext}$major'
13705 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
13706 shlibpath_var
=LD_LIBRARY_PATH
13707 shlibpath_overrides_runpath
=no
13708 hardcode_into_libs
=yes
13711 irix5
* | irix6
* | nonstopux
*)
13713 nonstopux
*) version_type
=nonstopux
;;
13715 if test "$lt_cv_prog_gnu_ld" = yes; then
13723 soname_spec
='${libname}${release}${shared_ext}$major'
13724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13726 irix5
* | nonstopux
*)
13727 libsuff
= shlibsuff
=
13730 case $LD in # libtool.m4 will add one of these switches to LD
13731 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
13732 libsuff
= shlibsuff
= libmagic
=32-bit;;
13733 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
13734 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
13735 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
13736 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
13737 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
13741 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
13742 shlibpath_overrides_runpath
=no
13743 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13744 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
13745 hardcode_into_libs
=yes
13748 # No shared lib support for Linux oldld, aout, or coff.
13749 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
13753 # This must be Linux ELF.
13754 linux
* | k
*bsd
*-gnu)
13758 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13759 soname_spec
='${libname}${release}${shared_ext}$major'
13760 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13761 shlibpath_var
=LD_LIBRARY_PATH
13762 shlibpath_overrides_runpath
=no
13763 # Some binutils ld are patched to set DT_RUNPATH
13764 save_LDFLAGS
=$LDFLAGS
13765 save_libdir
=$libdir
13766 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
13767 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
13768 if test x
$gcc_no_link = xyes
; then
13769 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13771 { (exit 1); exit 1; }; }
13773 cat >conftest.
$ac_ext <<_ACEOF
13778 rm -f conftest.
$ac_objext conftest
$ac_exeext
13779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13780 (eval $ac_link) 2>conftest.er1
13782 grep -v '^ *+' conftest.er1
>conftest.err
13784 cat conftest.err
>&5
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); } &&
13787 { ac_try
='test -z "$ac_fc_werror_flag"
13788 || test ! -s conftest.err'
13789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13790 (eval $ac_try) 2>&5
13792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13793 (exit $ac_status); }; } &&
13794 { ac_try
='test -s conftest$ac_exeext'
13795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13796 (eval $ac_try) 2>&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); }; }; then
13800 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then
13801 shlibpath_overrides_runpath
=yes
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.
$ac_ext >&5
13809 rm -f conftest.err conftest.
$ac_objext \
13810 conftest
$ac_exeext conftest.
$ac_ext
13811 LDFLAGS
=$save_LDFLAGS
13812 libdir
=$save_libdir
13814 # This implies no fast_install, which is unacceptable.
13815 # Some rework will be needed to allow for fast_install
13816 # before this can be enabled.
13817 hardcode_into_libs
=yes
13819 # Append ld.so.conf contents to the search path
13820 if test -f /etc
/ld.so.conf
; then
13821 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' ' '`
13822 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
13825 # We used to test for /lib/ld.so.1 and disable shared libraries on
13826 # powerpc, because MkLinux only supported shared libraries with the
13827 # GNU dynamic linker. Since this was broken with cross compilers,
13828 # most powerpc-linux boxes support dynamic linking these days and
13829 # people can always --disable-shared, the test was removed, and we
13830 # assume the GNU/Linux dynamic linker is in use.
13831 dynamic_linker
='GNU/Linux ld.so'
13838 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13839 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13840 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13841 dynamic_linker
='NetBSD (a.out) ld.so'
13843 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13844 soname_spec
='${libname}${release}${shared_ext}$major'
13845 dynamic_linker
='NetBSD ld.elf_so'
13847 shlibpath_var
=LD_LIBRARY_PATH
13848 shlibpath_overrides_runpath
=yes
13849 hardcode_into_libs
=yes
13854 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13855 shlibpath_var
=LD_LIBRARY_PATH
13856 shlibpath_overrides_runpath
=yes
13863 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13864 soname_spec
='${libname}${release}${shared_ext}$major'
13865 shlibpath_var
=LD_LIBRARY_PATH
13866 shlibpath_overrides_runpath
=no
13867 hardcode_into_libs
=yes
13868 dynamic_linker
='ldqnx.so'
13873 sys_lib_dlsearch_path_spec
="/usr/lib"
13875 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13877 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
13878 *) need_version
=no
;;
13880 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13881 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13882 shlibpath_var
=LD_LIBRARY_PATH
13883 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13885 openbsd2.
[89] | openbsd2.
[89].
*)
13886 shlibpath_overrides_runpath
=no
13889 shlibpath_overrides_runpath
=yes
13893 shlibpath_overrides_runpath
=yes
13898 libname_spec
='$name'
13901 library_names_spec
='$libname${shared_ext} $libname.a'
13902 dynamic_linker
='OS/2 ld.exe'
13903 shlibpath_var
=LIBPATH
13906 osf3
* | osf4
* | osf5
*)
13910 soname_spec
='${libname}${release}${shared_ext}$major'
13911 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13912 shlibpath_var
=LD_LIBRARY_PATH
13913 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13914 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
13925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13926 soname_spec
='${libname}${release}${shared_ext}$major'
13927 shlibpath_var
=LD_LIBRARY_PATH
13928 shlibpath_overrides_runpath
=yes
13929 hardcode_into_libs
=yes
13930 # ldd complains unless libraries are executable
13931 postinstall_cmds
='chmod +x $lib'
13936 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13937 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13938 shlibpath_var
=LD_LIBRARY_PATH
13939 shlibpath_overrides_runpath
=yes
13940 if test "$with_gnu_ld" = yes; then
13948 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13949 soname_spec
='${libname}${release}${shared_ext}$major'
13950 shlibpath_var
=LD_LIBRARY_PATH
13951 case $host_vendor in
13953 shlibpath_overrides_runpath
=no
13955 runpath_var
=LD_RUN_PATH
13963 shlibpath_overrides_runpath
=no
13964 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
13970 if test -d /usr
/nec
;then
13972 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13973 soname_spec
='$libname${shared_ext}.$major'
13974 shlibpath_var
=LD_LIBRARY_PATH
13978 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
13979 version_type
=freebsd-elf
13982 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13983 soname_spec
='${libname}${release}${shared_ext}$major'
13984 shlibpath_var
=LD_LIBRARY_PATH
13985 shlibpath_overrides_runpath
=yes
13986 hardcode_into_libs
=yes
13987 if test "$with_gnu_ld" = yes; then
13988 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13990 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
13993 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
13997 sys_lib_dlsearch_path_spec
='/usr/lib'
14001 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14005 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14006 shlibpath_var
=LD_LIBRARY_PATH
14007 shlibpath_overrides_runpath
=no
14008 hardcode_into_libs
=yes
14013 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14014 soname_spec
='${libname}${release}${shared_ext}$major'
14015 shlibpath_var
=LD_LIBRARY_PATH
14022 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14023 echo "${ECHO_T}$dynamic_linker" >&6
14024 test "$dynamic_linker" = no
&& can_build_shared
=no
14026 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
14027 if test "$GCC" = yes; then
14028 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14031 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14032 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
14034 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14035 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
14073 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14074 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14075 hardcode_action_FC
=
14076 if test -n "$hardcode_libdir_flag_spec_FC" ||
14077 test -n "$runpath_var_FC" ||
14078 test "X$hardcode_automatic_FC" = "Xyes" ; then
14080 # We can hardcode non-existent directories.
14081 if test "$hardcode_direct_FC" != no
&&
14082 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14083 # have to relink, otherwise we might link with an installed library
14084 # when we should be linking with a yet-to-be-installed one
14085 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
14086 test "$hardcode_minus_L_FC" != no
; then
14087 # Linking always hardcodes the temporary library directory.
14088 hardcode_action_FC
=relink
14090 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14091 hardcode_action_FC
=immediate
14094 # We cannot hardcode anything, or else we can only hardcode existing
14096 hardcode_action_FC
=unsupported
14098 echo "$as_me:$LINENO: result: $hardcode_action_FC" >&5
14099 echo "${ECHO_T}$hardcode_action_FC" >&6
14101 if test "$hardcode_action_FC" = relink ||
14102 test "$inherit_rpath_FC" = yes; then
14103 # Fast installation is not supported
14104 enable_fast_install
=no
14105 elif test "$shlibpath_overrides_runpath" = yes ||
14106 test "$enable_shared" = no
; then
14107 # Fast installation is not necessary
14108 enable_fast_install
=needless
14117 fi # test -n "$compiler"
14121 fi # test "$_lt_disable_FC" != yes
14124 ac_cpp
='$CPP $CPPFLAGS'
14125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14131 # extra LD Flags which are required for targets
14134 # Darwin needs -single_module when linking libgfortran
14135 extra_ldflags_libgfortran
=-Wl,-single_module
14140 # We need a working compiler at that point, otherwise give a clear
14141 # error message and bail out.
14143 echo "$as_me:$LINENO: checking whether the GNU Fortran compiler is working" >&5
14144 echo $ECHO_N "checking whether the GNU Fortran compiler is working... $ECHO_C" >&6
14145 ac_ext
=${FC_SRCEXT-f}
14146 ac_compile
='$FC -c $FCFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext >&5'
14147 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $FCFLAGS_SRCEXT conftest.$ac_ext $LIBS >&5'
14148 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
14150 cat >conftest.
$ac_ext <<_ACEOF
14153 real, parameter :: bar = sin (12.34 / 2.5)
14156 rm -f conftest.
$ac_objext
14157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14158 (eval $ac_compile) 2>conftest.er1
14160 grep -v '^ *+' conftest.er1
>conftest.err
14162 cat conftest.err
>&5
14163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14164 (exit $ac_status); } &&
14165 { ac_try
='test -z "$ac_fc_werror_flag"
14166 || test ! -s conftest.err'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; } &&
14172 { ac_try
='test -s conftest.$ac_objext'
14173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14174 (eval $ac_try) 2>&5
14176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; }; then
14178 echo "$as_me:$LINENO: result: yes" >&5
14179 echo "${ECHO_T}yes" >&6
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.
$ac_ext >&5
14184 echo "$as_me:$LINENO: result: no" >&5
14185 echo "${ECHO_T}no" >&6
14186 { { 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
14187 echo "$as_me: error: GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" >&2;}
14188 { (exit 1); exit 1; }; }
14191 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14193 ac_cpp
='$CPP $CPPFLAGS'
14194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
14200 # Check whether --enable-largefile or --disable-largefile was given.
14201 if test "${enable_largefile+set}" = set; then
14202 enableval
="$enable_largefile"
14205 if test "$enable_largefile" != no
; then
14207 echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
14208 echo $ECHO_N "checking for special C compiler options needed for large files... $ECHO_C" >&6
14209 if test "${ac_cv_sys_largefile_CC+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14212 ac_cv_sys_largefile_CC
=no
14213 if test "$GCC" != yes; then
14216 # IRIX 6.2 and later do not support large files by default,
14217 # so use the C compiler's -n32 option if that helps.
14218 cat >conftest.
$ac_ext <<_ACEOF
14221 cat confdefs.h
>>conftest.
$ac_ext
14222 cat >>conftest.
$ac_ext <<_ACEOF
14223 /* end confdefs.h. */
14224 #include <sys/types.h>
14225 /* Check that off_t can represent 2**63 - 1 correctly.
14226 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14227 since some C++ compilers masquerading as C compilers
14228 incorrectly reject 9223372036854775807. */
14229 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14230 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14231 && LARGE_OFF_T % 2147483647 == 1)
14241 rm -f conftest.
$ac_objext
14242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14243 (eval $ac_compile) 2>conftest.er1
14245 grep -v '^ *+' conftest.er1
>conftest.err
14247 cat conftest.err
>&5
14248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14249 (exit $ac_status); } &&
14250 { ac_try
='test -z "$ac_c_werror_flag"
14251 || test ! -s conftest.err'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; } &&
14257 { ac_try
='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14265 echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.
$ac_ext >&5
14269 rm -f conftest.err conftest.
$ac_objext
14271 rm -f conftest.
$ac_objext
14272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14273 (eval $ac_compile) 2>conftest.er1
14275 grep -v '^ *+' conftest.er1
>conftest.err
14277 cat conftest.err
>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); } &&
14280 { ac_try
='test -z "$ac_c_werror_flag"
14281 || test ! -s conftest.err'
14282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14283 (eval $ac_try) 2>&5
14285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14286 (exit $ac_status); }; } &&
14287 { ac_try
='test -s conftest.$ac_objext'
14288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14289 (eval $ac_try) 2>&5
14291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14292 (exit $ac_status); }; }; then
14293 ac_cv_sys_largefile_CC
=' -n32'; break
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.
$ac_ext >&5
14299 rm -f conftest.err conftest.
$ac_objext
14303 rm -f conftest.
$ac_ext
14306 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
14307 echo "${ECHO_T}$ac_cv_sys_largefile_CC" >&6
14308 if test "$ac_cv_sys_largefile_CC" != no
; then
14309 CC
=$CC$ac_cv_sys_largefile_CC
14312 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
14313 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
14314 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 ac_cv_sys_file_offset_bits
=no
14319 cat >conftest.
$ac_ext <<_ACEOF
14322 cat confdefs.h
>>conftest.
$ac_ext
14323 cat >>conftest.
$ac_ext <<_ACEOF
14324 /* end confdefs.h. */
14325 #include <sys/types.h>
14326 /* Check that off_t can represent 2**63 - 1 correctly.
14327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14328 since some C++ compilers masquerading as C compilers
14329 incorrectly reject 9223372036854775807. */
14330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14332 && LARGE_OFF_T % 2147483647 == 1)
14342 rm -f conftest.
$ac_objext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14344 (eval $ac_compile) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1
>conftest.err
14348 cat conftest.err
>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try
='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest.$ac_objext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14371 cat >conftest.
$ac_ext <<_ACEOF
14374 cat confdefs.h
>>conftest.
$ac_ext
14375 cat >>conftest.
$ac_ext <<_ACEOF
14376 /* end confdefs.h. */
14377 #define _FILE_OFFSET_BITS 64
14378 #include <sys/types.h>
14379 /* Check that off_t can represent 2**63 - 1 correctly.
14380 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14381 since some C++ compilers masquerading as C compilers
14382 incorrectly reject 9223372036854775807. */
14383 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14384 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14385 && LARGE_OFF_T % 2147483647 == 1)
14395 rm -f conftest.
$ac_objext
14396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14397 (eval $ac_compile) 2>conftest.er1
14399 grep -v '^ *+' conftest.er1
>conftest.err
14401 cat conftest.err
>&5
14402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14403 (exit $ac_status); } &&
14404 { ac_try
='test -z "$ac_c_werror_flag"
14405 || test ! -s conftest.err'
14406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14407 (eval $ac_try) 2>&5
14409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14410 (exit $ac_status); }; } &&
14411 { ac_try
='test -s conftest.$ac_objext'
14412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14413 (eval $ac_try) 2>&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); }; }; then
14417 ac_cv_sys_file_offset_bits
=64; break
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.
$ac_ext >&5
14423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14427 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
14428 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
14429 if test "$ac_cv_sys_file_offset_bits" != no
; then
14431 cat >>confdefs.h
<<_ACEOF
14432 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
14437 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
14438 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
14439 if test "${ac_cv_sys_large_files+set}" = set; then
14440 echo $ECHO_N "(cached) $ECHO_C" >&6
14443 ac_cv_sys_large_files
=no
14444 cat >conftest.
$ac_ext <<_ACEOF
14447 cat confdefs.h
>>conftest.
$ac_ext
14448 cat >>conftest.
$ac_ext <<_ACEOF
14449 /* end confdefs.h. */
14450 #include <sys/types.h>
14451 /* Check that off_t can represent 2**63 - 1 correctly.
14452 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14453 since some C++ compilers masquerading as C compilers
14454 incorrectly reject 9223372036854775807. */
14455 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14456 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14457 && LARGE_OFF_T % 2147483647 == 1)
14467 rm -f conftest.
$ac_objext
14468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14469 (eval $ac_compile) 2>conftest.er1
14471 grep -v '^ *+' conftest.er1
>conftest.err
14473 cat conftest.err
>&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } &&
14476 { ac_try
='test -z "$ac_c_werror_flag"
14477 || test ! -s conftest.err'
14478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14479 (eval $ac_try) 2>&5
14481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14482 (exit $ac_status); }; } &&
14483 { ac_try
='test -s conftest.$ac_objext'
14484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14485 (eval $ac_try) 2>&5
14487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14488 (exit $ac_status); }; }; then
14491 echo "$as_me: failed program was:" >&5
14492 sed 's/^/| /' conftest.
$ac_ext >&5
14495 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14496 cat >conftest.
$ac_ext <<_ACEOF
14499 cat confdefs.h
>>conftest.
$ac_ext
14500 cat >>conftest.
$ac_ext <<_ACEOF
14501 /* end confdefs.h. */
14502 #define _LARGE_FILES 1
14503 #include <sys/types.h>
14504 /* Check that off_t can represent 2**63 - 1 correctly.
14505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
14506 since some C++ compilers masquerading as C compilers
14507 incorrectly reject 9223372036854775807. */
14508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
14509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
14510 && LARGE_OFF_T % 2147483647 == 1)
14520 rm -f conftest.
$ac_objext
14521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14522 (eval $ac_compile) 2>conftest.er1
14524 grep -v '^ *+' conftest.er1
>conftest.err
14526 cat conftest.err
>&5
14527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14528 (exit $ac_status); } &&
14529 { ac_try
='test -z "$ac_c_werror_flag"
14530 || test ! -s conftest.err'
14531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14532 (eval $ac_try) 2>&5
14534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14535 (exit $ac_status); }; } &&
14536 { ac_try
='test -s conftest.$ac_objext'
14537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14538 (eval $ac_try) 2>&5
14540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14541 (exit $ac_status); }; }; then
14542 ac_cv_sys_large_files
=1; break
14544 echo "$as_me: failed program was:" >&5
14545 sed 's/^/| /' conftest.
$ac_ext >&5
14548 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14552 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
14553 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
14554 if test "$ac_cv_sys_large_files" != no
; then
14556 cat >>confdefs.h
<<_ACEOF
14557 #define _LARGE_FILES $ac_cv_sys_large_files
14564 echo "$as_me:$LINENO: checking for off_t" >&5
14565 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14566 if test "${ac_cv_type_off_t+set}" = set; then
14567 echo $ECHO_N "(cached) $ECHO_C" >&6
14569 cat >conftest.
$ac_ext <<_ACEOF
14572 cat confdefs.h
>>conftest.
$ac_ext
14573 cat >>conftest.
$ac_ext <<_ACEOF
14574 /* end confdefs.h. */
14575 $ac_includes_default
14581 if (sizeof (off_t))
14587 rm -f conftest.
$ac_objext
14588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14589 (eval $ac_compile) 2>conftest.er1
14591 grep -v '^ *+' conftest.er1
>conftest.err
14593 cat conftest.err
>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); } &&
14596 { ac_try
='test -z "$ac_c_werror_flag"
14597 || test ! -s conftest.err'
14598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14599 (eval $ac_try) 2>&5
14601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14602 (exit $ac_status); }; } &&
14603 { ac_try
='test -s conftest.$ac_objext'
14604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14605 (eval $ac_try) 2>&5
14607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); }; }; then
14609 ac_cv_type_off_t
=yes
14611 echo "$as_me: failed program was:" >&5
14612 sed 's/^/| /' conftest.
$ac_ext >&5
14614 ac_cv_type_off_t
=no
14616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14618 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14619 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14620 if test $ac_cv_type_off_t = yes; then
14624 cat >>confdefs.h
<<_ACEOF
14631 # check header files
14632 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14633 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
14634 if test "${ac_cv_header_stdc+set}" = set; then
14635 echo $ECHO_N "(cached) $ECHO_C" >&6
14637 cat >conftest.
$ac_ext <<_ACEOF
14640 cat confdefs.h
>>conftest.
$ac_ext
14641 cat >>conftest.
$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #include <stdlib.h>
14644 #include <stdarg.h>
14645 #include <string.h>
14656 rm -f conftest.
$ac_objext
14657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14658 (eval $ac_compile) 2>conftest.er1
14660 grep -v '^ *+' conftest.er1
>conftest.err
14662 cat conftest.err
>&5
14663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14664 (exit $ac_status); } &&
14665 { ac_try
='test -z "$ac_c_werror_flag"
14666 || test ! -s conftest.err'
14667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14668 (eval $ac_try) 2>&5
14670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14671 (exit $ac_status); }; } &&
14672 { ac_try
='test -s conftest.$ac_objext'
14673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14674 (eval $ac_try) 2>&5
14676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14677 (exit $ac_status); }; }; then
14678 ac_cv_header_stdc
=yes
14680 echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.
$ac_ext >&5
14683 ac_cv_header_stdc
=no
14685 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14687 if test $ac_cv_header_stdc = yes; then
14688 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
14689 cat >conftest.
$ac_ext <<_ACEOF
14692 cat confdefs.h
>>conftest.
$ac_ext
14693 cat >>conftest.
$ac_ext <<_ACEOF
14694 /* end confdefs.h. */
14695 #include <string.h>
14698 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14699 $EGREP "memchr" >/dev
/null
2>&1; then
14702 ac_cv_header_stdc
=no
14708 if test $ac_cv_header_stdc = yes; then
14709 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
14710 cat >conftest.
$ac_ext <<_ACEOF
14713 cat confdefs.h
>>conftest.
$ac_ext
14714 cat >>conftest.
$ac_ext <<_ACEOF
14715 /* end confdefs.h. */
14716 #include <stdlib.h>
14719 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14720 $EGREP "free" >/dev
/null
2>&1; then
14723 ac_cv_header_stdc
=no
14729 if test $ac_cv_header_stdc = yes; then
14730 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
14731 if test "$cross_compiling" = yes; then
14734 cat >conftest.
$ac_ext <<_ACEOF
14737 cat confdefs.h
>>conftest.
$ac_ext
14738 cat >>conftest.
$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14741 #if ((' ' & 0x0FF) == 0x020)
14742 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
14743 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
14745 # define ISLOWER(c) \
14746 (('a' <= (c) && (c) <= 'i') \
14747 || ('j' <= (c) && (c) <= 'r') \
14748 || ('s' <= (c) && (c) <= 'z'))
14749 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
14752 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
14757 for (i = 0; i < 256; i++)
14758 if (XOR (islower (i), ISLOWER (i))
14759 || toupper (i) != TOUPPER (i))
14764 rm -f conftest
$ac_exeext
14765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14766 (eval $ac_link) 2>&5
14768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14769 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
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
14777 echo "$as_me: program exited with status $ac_status" >&5
14778 echo "$as_me: failed program was:" >&5
14779 sed 's/^/| /' conftest.
$ac_ext >&5
14781 ( exit $ac_status )
14782 ac_cv_header_stdc
=no
14784 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14788 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14789 echo "${ECHO_T}$ac_cv_header_stdc" >&6
14790 if test $ac_cv_header_stdc = yes; then
14792 cat >>confdefs.h
<<\_ACEOF
14793 #define STDC_HEADERS 1
14798 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
14799 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
14800 if test "${ac_cv_header_time+set}" = set; then
14801 echo $ECHO_N "(cached) $ECHO_C" >&6
14803 cat >conftest.
$ac_ext <<_ACEOF
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14809 #include <sys/types.h>
14810 #include <sys/time.h>
14816 if ((struct tm *) 0)
14822 rm -f conftest.
$ac_objext
14823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14824 (eval $ac_compile) 2>conftest.er1
14826 grep -v '^ *+' conftest.er1
>conftest.err
14828 cat conftest.err
>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } &&
14831 { ac_try
='test -z "$ac_c_werror_flag"
14832 || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try
='test -s conftest.$ac_objext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_header_time
=yes
14846 echo "$as_me: failed program was:" >&5
14847 sed 's/^/| /' conftest.
$ac_ext >&5
14849 ac_cv_header_time
=no
14851 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14853 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
14854 echo "${ECHO_T}$ac_cv_header_time" >&6
14855 if test $ac_cv_header_time = yes; then
14857 cat >>confdefs.h
<<\_ACEOF
14858 #define TIME_WITH_SYS_TIME 1
14869 for ac_header
in stdio.h stdlib.h string.h unistd.h signal.h stdarg.h
14871 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14873 echo "$as_me:$LINENO: checking for $ac_header" >&5
14874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14876 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14881 # Is the header compilable?
14882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14884 cat >conftest.
$ac_ext <<_ACEOF
14887 cat confdefs.h
>>conftest.
$ac_ext
14888 cat >>conftest.
$ac_ext <<_ACEOF
14889 /* end confdefs.h. */
14890 $ac_includes_default
14891 #include <$ac_header>
14893 rm -f conftest.
$ac_objext
14894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14895 (eval $ac_compile) 2>conftest.er1
14897 grep -v '^ *+' conftest.er1
>conftest.err
14899 cat conftest.err
>&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } &&
14902 { ac_try
='test -z "$ac_c_werror_flag"
14903 || test ! -s conftest.err'
14904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14905 (eval $ac_try) 2>&5
14907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14908 (exit $ac_status); }; } &&
14909 { ac_try
='test -s conftest.$ac_objext'
14910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14911 (eval $ac_try) 2>&5
14913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14914 (exit $ac_status); }; }; then
14915 ac_header_compiler
=yes
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.
$ac_ext >&5
14920 ac_header_compiler
=no
14922 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14923 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14924 echo "${ECHO_T}$ac_header_compiler" >&6
14926 # Is the header present?
14927 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14928 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14929 cat >conftest.
$ac_ext <<_ACEOF
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14935 #include <$ac_header>
14937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14938 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14940 grep -v '^ *+' conftest.er1
>conftest.err
14942 cat conftest.err
>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); } >/dev
/null
; then
14945 if test -s conftest.err
; then
14946 ac_cpp_err
=$ac_c_preproc_warn_flag
14947 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14954 if test -z "$ac_cpp_err"; then
14955 ac_header_preproc
=yes
14957 echo "$as_me: failed program was:" >&5
14958 sed 's/^/| /' conftest.
$ac_ext >&5
14960 ac_header_preproc
=no
14962 rm -f conftest.err conftest.
$ac_ext
14963 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14964 echo "${ECHO_T}$ac_header_preproc" >&6
14966 # So? What about this header?
14967 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14969 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14970 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14971 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14972 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14973 ac_header_preproc
=yes
14976 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14977 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14978 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14979 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14980 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14981 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14982 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14983 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14986 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14987 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14990 ## ------------------------------------------------------ ##
14991 ## Report this to the GNU Fortran Runtime Library lists. ##
14992 ## ------------------------------------------------------ ##
14995 sed "s/^/$as_me: WARNING: /" >&2
14998 echo "$as_me:$LINENO: checking for $ac_header" >&5
14999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15001 echo $ECHO_N "(cached) $ECHO_C" >&6
15003 eval "$as_ac_Header=\$ac_header_preproc"
15005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15010 cat >>confdefs.h
<<_ACEOF
15011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15022 for ac_header
in time.h sys
/time.h sys
/times.h sys
/resource.h
15024 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15025 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15026 echo "$as_me:$LINENO: checking for $ac_header" >&5
15027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15029 echo $ECHO_N "(cached) $ECHO_C" >&6
15031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15034 # Is the header compilable?
15035 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15036 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15037 cat >conftest.
$ac_ext <<_ACEOF
15040 cat confdefs.h
>>conftest.
$ac_ext
15041 cat >>conftest.
$ac_ext <<_ACEOF
15042 /* end confdefs.h. */
15043 $ac_includes_default
15044 #include <$ac_header>
15046 rm -f conftest.
$ac_objext
15047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15048 (eval $ac_compile) 2>conftest.er1
15050 grep -v '^ *+' conftest.er1
>conftest.err
15052 cat conftest.err
>&5
15053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15054 (exit $ac_status); } &&
15055 { ac_try
='test -z "$ac_c_werror_flag"
15056 || test ! -s conftest.err'
15057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15058 (eval $ac_try) 2>&5
15060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15061 (exit $ac_status); }; } &&
15062 { ac_try
='test -s conftest.$ac_objext'
15063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15064 (eval $ac_try) 2>&5
15066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067 (exit $ac_status); }; }; then
15068 ac_header_compiler
=yes
15070 echo "$as_me: failed program was:" >&5
15071 sed 's/^/| /' conftest.
$ac_ext >&5
15073 ac_header_compiler
=no
15075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15077 echo "${ECHO_T}$ac_header_compiler" >&6
15079 # Is the header present?
15080 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15081 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15082 cat >conftest.
$ac_ext <<_ACEOF
15085 cat confdefs.h
>>conftest.
$ac_ext
15086 cat >>conftest.
$ac_ext <<_ACEOF
15087 /* end confdefs.h. */
15088 #include <$ac_header>
15090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15091 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15093 grep -v '^ *+' conftest.er1
>conftest.err
15095 cat conftest.err
>&5
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); } >/dev
/null
; then
15098 if test -s conftest.err
; then
15099 ac_cpp_err
=$ac_c_preproc_warn_flag
15100 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15107 if test -z "$ac_cpp_err"; then
15108 ac_header_preproc
=yes
15110 echo "$as_me: failed program was:" >&5
15111 sed 's/^/| /' conftest.
$ac_ext >&5
15113 ac_header_preproc
=no
15115 rm -f conftest.err conftest.
$ac_ext
15116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15117 echo "${ECHO_T}$ac_header_preproc" >&6
15119 # So? What about this header?
15120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15122 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15123 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15124 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15125 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15126 ac_header_preproc
=yes
15129 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15130 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15131 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15132 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15133 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15134 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15135 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15136 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15138 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15139 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15140 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15143 ## ------------------------------------------------------ ##
15144 ## Report this to the GNU Fortran Runtime Library lists. ##
15145 ## ------------------------------------------------------ ##
15148 sed "s/^/$as_me: WARNING: /" >&2
15151 echo "$as_me:$LINENO: checking for $ac_header" >&5
15152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15154 echo $ECHO_N "(cached) $ECHO_C" >&6
15156 eval "$as_ac_Header=\$ac_header_preproc"
15158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15162 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15163 cat >>confdefs.h
<<_ACEOF
15164 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15176 for ac_header
in sys
/types.h sys
/stat.h sys
/wait.h floatingpoint.h ieeefp.h
15178 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15180 echo "$as_me:$LINENO: checking for $ac_header" >&5
15181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15183 echo $ECHO_N "(cached) $ECHO_C" >&6
15185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15186 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15188 # Is the header compilable?
15189 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15190 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15191 cat >conftest.
$ac_ext <<_ACEOF
15194 cat confdefs.h
>>conftest.
$ac_ext
15195 cat >>conftest.
$ac_ext <<_ACEOF
15196 /* end confdefs.h. */
15197 $ac_includes_default
15198 #include <$ac_header>
15200 rm -f conftest.
$ac_objext
15201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15202 (eval $ac_compile) 2>conftest.er1
15204 grep -v '^ *+' conftest.er1
>conftest.err
15206 cat conftest.err
>&5
15207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15208 (exit $ac_status); } &&
15209 { ac_try
='test -z "$ac_c_werror_flag"
15210 || test ! -s conftest.err'
15211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15212 (eval $ac_try) 2>&5
15214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15215 (exit $ac_status); }; } &&
15216 { ac_try
='test -s conftest.$ac_objext'
15217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15218 (eval $ac_try) 2>&5
15220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15221 (exit $ac_status); }; }; then
15222 ac_header_compiler
=yes
15224 echo "$as_me: failed program was:" >&5
15225 sed 's/^/| /' conftest.
$ac_ext >&5
15227 ac_header_compiler
=no
15229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15231 echo "${ECHO_T}$ac_header_compiler" >&6
15233 # Is the header present?
15234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15236 cat >conftest.
$ac_ext <<_ACEOF
15239 cat confdefs.h
>>conftest.
$ac_ext
15240 cat >>conftest.
$ac_ext <<_ACEOF
15241 /* end confdefs.h. */
15242 #include <$ac_header>
15244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15247 grep -v '^ *+' conftest.er1
>conftest.err
15249 cat conftest.err
>&5
15250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15251 (exit $ac_status); } >/dev
/null
; then
15252 if test -s conftest.err
; then
15253 ac_cpp_err
=$ac_c_preproc_warn_flag
15254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15261 if test -z "$ac_cpp_err"; then
15262 ac_header_preproc
=yes
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.
$ac_ext >&5
15267 ac_header_preproc
=no
15269 rm -f conftest.err conftest.
$ac_ext
15270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15271 echo "${ECHO_T}$ac_header_preproc" >&6
15273 # So? What about this header?
15274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15280 ac_header_preproc
=yes
15283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15297 ## ------------------------------------------------------ ##
15298 ## Report this to the GNU Fortran Runtime Library lists. ##
15299 ## ------------------------------------------------------ ##
15302 sed "s/^/$as_me: WARNING: /" >&2
15305 echo "$as_me:$LINENO: checking for $ac_header" >&5
15306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15310 eval "$as_ac_Header=\$ac_header_preproc"
15312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15317 cat >>confdefs.h
<<_ACEOF
15318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15330 for ac_header
in fenv.h fptrap.h float.h execinfo.h
pwd.h
15332 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15334 echo "$as_me:$LINENO: checking for $ac_header" >&5
15335 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15336 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15337 echo $ECHO_N "(cached) $ECHO_C" >&6
15339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15340 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15342 # Is the header compilable?
15343 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15344 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15345 cat >conftest.
$ac_ext <<_ACEOF
15348 cat confdefs.h
>>conftest.
$ac_ext
15349 cat >>conftest.
$ac_ext <<_ACEOF
15350 /* end confdefs.h. */
15351 $ac_includes_default
15352 #include <$ac_header>
15354 rm -f conftest.
$ac_objext
15355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15356 (eval $ac_compile) 2>conftest.er1
15358 grep -v '^ *+' conftest.er1
>conftest.err
15360 cat conftest.err
>&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } &&
15363 { ac_try
='test -z "$ac_c_werror_flag"
15364 || test ! -s conftest.err'
15365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15366 (eval $ac_try) 2>&5
15368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15369 (exit $ac_status); }; } &&
15370 { ac_try
='test -s conftest.$ac_objext'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; }; then
15376 ac_header_compiler
=yes
15378 echo "$as_me: failed program was:" >&5
15379 sed 's/^/| /' conftest.
$ac_ext >&5
15381 ac_header_compiler
=no
15383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15385 echo "${ECHO_T}$ac_header_compiler" >&6
15387 # Is the header present?
15388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15390 cat >conftest.
$ac_ext <<_ACEOF
15393 cat confdefs.h
>>conftest.
$ac_ext
15394 cat >>conftest.
$ac_ext <<_ACEOF
15395 /* end confdefs.h. */
15396 #include <$ac_header>
15398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15399 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15401 grep -v '^ *+' conftest.er1
>conftest.err
15403 cat conftest.err
>&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } >/dev
/null
; then
15406 if test -s conftest.err
; then
15407 ac_cpp_err
=$ac_c_preproc_warn_flag
15408 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15415 if test -z "$ac_cpp_err"; then
15416 ac_header_preproc
=yes
15418 echo "$as_me: failed program was:" >&5
15419 sed 's/^/| /' conftest.
$ac_ext >&5
15421 ac_header_preproc
=no
15423 rm -f conftest.err conftest.
$ac_ext
15424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15425 echo "${ECHO_T}$ac_header_preproc" >&6
15427 # So? What about this header?
15428 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15433 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15434 ac_header_preproc
=yes
15437 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15438 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15439 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15440 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15441 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15442 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15443 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15444 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15446 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15447 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15448 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15451 ## ------------------------------------------------------ ##
15452 ## Report this to the GNU Fortran Runtime Library lists. ##
15453 ## ------------------------------------------------------ ##
15456 sed "s/^/$as_me: WARNING: /" >&2
15459 echo "$as_me:$LINENO: checking for $ac_header" >&5
15460 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15461 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15462 echo $ECHO_N "(cached) $ECHO_C" >&6
15464 eval "$as_ac_Header=\$ac_header_preproc"
15466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15467 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15471 cat >>confdefs.h
<<_ACEOF
15472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15479 if test "${ac_cv_header_complex_h+set}" = set; then
15480 echo "$as_me:$LINENO: checking for complex.h" >&5
15481 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15482 if test "${ac_cv_header_complex_h+set}" = set; then
15483 echo $ECHO_N "(cached) $ECHO_C" >&6
15485 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15486 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15488 # Is the header compilable?
15489 echo "$as_me:$LINENO: checking complex.h usability" >&5
15490 echo $ECHO_N "checking complex.h usability... $ECHO_C" >&6
15491 cat >conftest.
$ac_ext <<_ACEOF
15494 cat confdefs.h
>>conftest.
$ac_ext
15495 cat >>conftest.
$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15497 $ac_includes_default
15498 #include <complex.h>
15500 rm -f conftest.
$ac_objext
15501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15502 (eval $ac_compile) 2>conftest.er1
15504 grep -v '^ *+' conftest.er1
>conftest.err
15506 cat conftest.err
>&5
15507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15508 (exit $ac_status); } &&
15509 { ac_try
='test -z "$ac_c_werror_flag"
15510 || test ! -s conftest.err'
15511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15512 (eval $ac_try) 2>&5
15514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15515 (exit $ac_status); }; } &&
15516 { ac_try
='test -s conftest.$ac_objext'
15517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15518 (eval $ac_try) 2>&5
15520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15521 (exit $ac_status); }; }; then
15522 ac_header_compiler
=yes
15524 echo "$as_me: failed program was:" >&5
15525 sed 's/^/| /' conftest.
$ac_ext >&5
15527 ac_header_compiler
=no
15529 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15531 echo "${ECHO_T}$ac_header_compiler" >&6
15533 # Is the header present?
15534 echo "$as_me:$LINENO: checking complex.h presence" >&5
15535 echo $ECHO_N "checking complex.h presence... $ECHO_C" >&6
15536 cat >conftest.
$ac_ext <<_ACEOF
15539 cat confdefs.h
>>conftest.
$ac_ext
15540 cat >>conftest.
$ac_ext <<_ACEOF
15541 /* end confdefs.h. */
15542 #include <complex.h>
15544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15545 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15547 grep -v '^ *+' conftest.er1
>conftest.err
15549 cat conftest.err
>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } >/dev
/null
; then
15552 if test -s conftest.err
; then
15553 ac_cpp_err
=$ac_c_preproc_warn_flag
15554 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15561 if test -z "$ac_cpp_err"; then
15562 ac_header_preproc
=yes
15564 echo "$as_me: failed program was:" >&5
15565 sed 's/^/| /' conftest.
$ac_ext >&5
15567 ac_header_preproc
=no
15569 rm -f conftest.err conftest.
$ac_ext
15570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15571 echo "${ECHO_T}$ac_header_preproc" >&6
15573 # So? What about this header?
15574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15576 { echo "$as_me:$LINENO: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&5
15577 echo "$as_me: WARNING: complex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
15578 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the compiler's result" >&5
15579 echo "$as_me: WARNING: complex.h: proceeding with the compiler's result" >&2;}
15580 ac_header_preproc
=yes
15583 { echo "$as_me:$LINENO: WARNING: complex.h: present but cannot be compiled" >&5
15584 echo "$as_me: WARNING: complex.h: present but cannot be compiled" >&2;}
15585 { echo "$as_me:$LINENO: WARNING: complex.h: check for missing prerequisite headers?" >&5
15586 echo "$as_me: WARNING: complex.h: check for missing prerequisite headers?" >&2;}
15587 { echo "$as_me:$LINENO: WARNING: complex.h: see the Autoconf documentation" >&5
15588 echo "$as_me: WARNING: complex.h: see the Autoconf documentation" >&2;}
15589 { echo "$as_me:$LINENO: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&5
15590 echo "$as_me: WARNING: complex.h: section \"Present But Cannot Be Compiled\"" >&2;}
15591 { echo "$as_me:$LINENO: WARNING: complex.h: proceeding with the preprocessor's result" >&5
15592 echo "$as_me: WARNING: complex.h: proceeding with the preprocessor's result" >&2;}
15593 { echo "$as_me:$LINENO: WARNING: complex.h: in the future, the compiler will take precedence" >&5
15594 echo "$as_me: WARNING: complex.h: in the future, the compiler will take precedence" >&2;}
15597 ## ------------------------------------------------------ ##
15598 ## Report this to the GNU Fortran Runtime Library lists. ##
15599 ## ------------------------------------------------------ ##
15602 sed "s/^/$as_me: WARNING: /" >&2
15605 echo "$as_me:$LINENO: checking for complex.h" >&5
15606 echo $ECHO_N "checking for complex.h... $ECHO_C" >&6
15607 if test "${ac_cv_header_complex_h+set}" = set; then
15608 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 ac_cv_header_complex_h
=$ac_header_preproc
15612 echo "$as_me:$LINENO: result: $ac_cv_header_complex_h" >&5
15613 echo "${ECHO_T}$ac_cv_header_complex_h" >&6
15616 if test $ac_cv_header_complex_h = yes; then
15618 cat >>confdefs.h
<<\_ACEOF
15619 #define HAVE_COMPLEX_H 1
15627 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
15629 acx_cv_header_stdint
=stddef.h
15630 acx_cv_header_stdint_kind
="(already complete)"
15631 for i
in stdint.h
$inttype_headers; do
15632 unset ac_cv_type_uintptr_t
15633 unset ac_cv_type_uintmax_t
15634 unset ac_cv_type_int_least32_t
15635 unset ac_cv_type_int_fast32_t
15636 unset ac_cv_type_uint64_t
15637 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
15638 echo "$as_me:$LINENO: checking for uintmax_t" >&5
15639 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
15640 if test "${ac_cv_type_uintmax_t+set}" = set; then
15641 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 cat >conftest.
$ac_ext <<_ACEOF
15646 cat confdefs.h
>>conftest.
$ac_ext
15647 cat >>conftest.
$ac_ext <<_ACEOF
15648 /* end confdefs.h. */
15649 #include <sys/types.h>
15655 if ((uintmax_t *) 0)
15657 if (sizeof (uintmax_t))
15663 rm -f conftest.
$ac_objext
15664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15665 (eval $ac_compile) 2>conftest.er1
15667 grep -v '^ *+' conftest.er1
>conftest.err
15669 cat conftest.err
>&5
15670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15671 (exit $ac_status); } &&
15672 { ac_try
='test -z "$ac_c_werror_flag"
15673 || test ! -s conftest.err'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; } &&
15679 { ac_try
='test -s conftest.$ac_objext'
15680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15681 (eval $ac_try) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); }; }; then
15685 ac_cv_type_uintmax_t
=yes
15687 echo "$as_me: failed program was:" >&5
15688 sed 's/^/| /' conftest.
$ac_ext >&5
15690 ac_cv_type_uintmax_t
=no
15692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15694 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
15695 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
15696 if test $ac_cv_type_uintmax_t = yes; then
15697 acx_cv_header_stdint
=$i
15702 echo "$as_me:$LINENO: checking for uintptr_t" >&5
15703 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
15704 if test "${ac_cv_type_uintptr_t+set}" = set; then
15705 echo $ECHO_N "(cached) $ECHO_C" >&6
15707 cat >conftest.
$ac_ext <<_ACEOF
15710 cat confdefs.h
>>conftest.
$ac_ext
15711 cat >>conftest.
$ac_ext <<_ACEOF
15712 /* end confdefs.h. */
15713 #include <sys/types.h>
15719 if ((uintptr_t *) 0)
15721 if (sizeof (uintptr_t))
15727 rm -f conftest.
$ac_objext
15728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15729 (eval $ac_compile) 2>conftest.er1
15731 grep -v '^ *+' conftest.er1
>conftest.err
15733 cat conftest.err
>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); } &&
15736 { ac_try
='test -z "$ac_c_werror_flag"
15737 || test ! -s conftest.err'
15738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15739 (eval $ac_try) 2>&5
15741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15742 (exit $ac_status); }; } &&
15743 { ac_try
='test -s conftest.$ac_objext'
15744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15745 (eval $ac_try) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); }; }; then
15749 ac_cv_type_uintptr_t
=yes
15751 echo "$as_me: failed program was:" >&5
15752 sed 's/^/| /' conftest.
$ac_ext >&5
15754 ac_cv_type_uintptr_t
=no
15756 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15758 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
15759 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
15760 if test $ac_cv_type_uintptr_t = yes; then
15763 acx_cv_header_stdint_kind
="(mostly complete)"
15766 echo "$as_me:$LINENO: checking for int_least32_t" >&5
15767 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
15768 if test "${ac_cv_type_int_least32_t+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15771 cat >conftest.
$ac_ext <<_ACEOF
15774 cat confdefs.h
>>conftest.
$ac_ext
15775 cat >>conftest.
$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777 #include <sys/types.h>
15783 if ((int_least32_t *) 0)
15785 if (sizeof (int_least32_t))
15791 rm -f conftest.
$ac_objext
15792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15793 (eval $ac_compile) 2>conftest.er1
15795 grep -v '^ *+' conftest.er1
>conftest.err
15797 cat conftest.err
>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); } &&
15800 { ac_try
='test -z "$ac_c_werror_flag"
15801 || test ! -s conftest.err'
15802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15803 (eval $ac_try) 2>&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); }; } &&
15807 { ac_try
='test -s conftest.$ac_objext'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; }; then
15813 ac_cv_type_int_least32_t
=yes
15815 echo "$as_me: failed program was:" >&5
15816 sed 's/^/| /' conftest.
$ac_ext >&5
15818 ac_cv_type_int_least32_t
=no
15820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15822 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
15823 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
15824 if test $ac_cv_type_int_least32_t = yes; then
15827 acx_cv_header_stdint_kind
="(mostly complete)"
15830 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
15831 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
15832 if test "${ac_cv_type_int_fast32_t+set}" = set; then
15833 echo $ECHO_N "(cached) $ECHO_C" >&6
15835 cat >conftest.
$ac_ext <<_ACEOF
15838 cat confdefs.h
>>conftest.
$ac_ext
15839 cat >>conftest.
$ac_ext <<_ACEOF
15840 /* end confdefs.h. */
15841 #include <sys/types.h>
15847 if ((int_fast32_t *) 0)
15849 if (sizeof (int_fast32_t))
15855 rm -f conftest.
$ac_objext
15856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15857 (eval $ac_compile) 2>conftest.er1
15859 grep -v '^ *+' conftest.er1
>conftest.err
15861 cat conftest.err
>&5
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); } &&
15864 { ac_try
='test -z "$ac_c_werror_flag"
15865 || test ! -s conftest.err'
15866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15867 (eval $ac_try) 2>&5
15869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15870 (exit $ac_status); }; } &&
15871 { ac_try
='test -s conftest.$ac_objext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 ac_cv_type_int_fast32_t
=yes
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15882 ac_cv_type_int_fast32_t
=no
15884 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15886 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
15887 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
15888 if test $ac_cv_type_int_fast32_t = yes; then
15891 acx_cv_header_stdint_kind
="(mostly complete)"
15894 echo "$as_me:$LINENO: checking for uint64_t" >&5
15895 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
15896 if test "${ac_cv_type_uint64_t+set}" = set; then
15897 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 cat >conftest.
$ac_ext <<_ACEOF
15902 cat confdefs.h
>>conftest.
$ac_ext
15903 cat >>conftest.
$ac_ext <<_ACEOF
15904 /* end confdefs.h. */
15905 #include <sys/types.h>
15911 if ((uint64_t *) 0)
15913 if (sizeof (uint64_t))
15919 rm -f conftest.
$ac_objext
15920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15921 (eval $ac_compile) 2>conftest.er1
15923 grep -v '^ *+' conftest.er1
>conftest.err
15925 cat conftest.err
>&5
15926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15927 (exit $ac_status); } &&
15928 { ac_try
='test -z "$ac_c_werror_flag"
15929 || test ! -s conftest.err'
15930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15931 (eval $ac_try) 2>&5
15933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15934 (exit $ac_status); }; } &&
15935 { ac_try
='test -s conftest.$ac_objext'
15936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15937 (eval $ac_try) 2>&5
15939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15940 (exit $ac_status); }; }; then
15941 ac_cv_type_uint64_t
=yes
15943 echo "$as_me: failed program was:" >&5
15944 sed 's/^/| /' conftest.
$ac_ext >&5
15946 ac_cv_type_uint64_t
=no
15948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15950 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
15951 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
15952 if test $ac_cv_type_uint64_t = yes; then
15955 acx_cv_header_stdint_kind
="(lacks uint64_t)"
15960 if test "$acx_cv_header_stdint" = stddef.h
; then
15961 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
15962 for i
in stdint.h
$inttype_headers; do
15963 unset ac_cv_type_uintptr_t
15964 unset ac_cv_type_uint32_t
15965 unset ac_cv_type_uint64_t
15966 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
15967 echo "$as_me:$LINENO: checking for uint32_t" >&5
15968 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
15969 if test "${ac_cv_type_uint32_t+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 cat >conftest.
$ac_ext <<_ACEOF
15975 cat confdefs.h
>>conftest.
$ac_ext
15976 cat >>conftest.
$ac_ext <<_ACEOF
15977 /* end confdefs.h. */
15978 #include <sys/types.h>
15984 if ((uint32_t *) 0)
15986 if (sizeof (uint32_t))
15992 rm -f conftest.
$ac_objext
15993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15994 (eval $ac_compile) 2>conftest.er1
15996 grep -v '^ *+' conftest.er1
>conftest.err
15998 cat conftest.err
>&5
15999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000 (exit $ac_status); } &&
16001 { ac_try
='test -z "$ac_c_werror_flag"
16002 || test ! -s conftest.err'
16003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16004 (eval $ac_try) 2>&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); }; } &&
16008 { ac_try
='test -s conftest.$ac_objext'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; }; then
16014 ac_cv_type_uint32_t
=yes
16016 echo "$as_me: failed program was:" >&5
16017 sed 's/^/| /' conftest.
$ac_ext >&5
16019 ac_cv_type_uint32_t
=no
16021 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16023 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
16024 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
16025 if test $ac_cv_type_uint32_t = yes; then
16026 acx_cv_header_stdint
=$i
16031 echo "$as_me:$LINENO: checking for uint64_t" >&5
16032 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
16033 if test "${ac_cv_type_uint64_t+set}" = set; then
16034 echo $ECHO_N "(cached) $ECHO_C" >&6
16036 cat >conftest.
$ac_ext <<_ACEOF
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16042 #include <sys/types.h>
16048 if ((uint64_t *) 0)
16050 if (sizeof (uint64_t))
16056 rm -f conftest.
$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058 (eval $ac_compile) 2>conftest.er1
16060 grep -v '^ *+' conftest.er1
>conftest.err
16062 cat conftest.err
>&5
16063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064 (exit $ac_status); } &&
16065 { ac_try
='test -z "$ac_c_werror_flag"
16066 || test ! -s conftest.err'
16067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068 (eval $ac_try) 2>&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); }; } &&
16072 { ac_try
='test -s conftest.$ac_objext'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; }; then
16078 ac_cv_type_uint64_t
=yes
16080 echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.
$ac_ext >&5
16083 ac_cv_type_uint64_t
=no
16085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16087 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
16088 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
16090 echo "$as_me:$LINENO: checking for uintptr_t" >&5
16091 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
16092 if test "${ac_cv_type_uintptr_t+set}" = set; then
16093 echo $ECHO_N "(cached) $ECHO_C" >&6
16095 cat >conftest.
$ac_ext <<_ACEOF
16098 cat confdefs.h
>>conftest.
$ac_ext
16099 cat >>conftest.
$ac_ext <<_ACEOF
16100 /* end confdefs.h. */
16101 #include <sys/types.h>
16107 if ((uintptr_t *) 0)
16109 if (sizeof (uintptr_t))
16115 rm -f conftest.
$ac_objext
16116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16117 (eval $ac_compile) 2>conftest.er1
16119 grep -v '^ *+' conftest.er1
>conftest.err
16121 cat conftest.err
>&5
16122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16123 (exit $ac_status); } &&
16124 { ac_try
='test -z "$ac_c_werror_flag"
16125 || test ! -s conftest.err'
16126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16127 (eval $ac_try) 2>&5
16129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16130 (exit $ac_status); }; } &&
16131 { ac_try
='test -s conftest.$ac_objext'
16132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16133 (eval $ac_try) 2>&5
16135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16136 (exit $ac_status); }; }; then
16137 ac_cv_type_uintptr_t
=yes
16139 echo "$as_me: failed program was:" >&5
16140 sed 's/^/| /' conftest.
$ac_ext >&5
16142 ac_cv_type_uintptr_t
=no
16144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16146 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
16147 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
16152 if test "$acx_cv_header_stdint" = stddef.h
; then
16153 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16154 for i
in sys
/types.h
$inttype_headers; do
16155 unset ac_cv_type_u_int32_t
16156 unset ac_cv_type_u_int64_t
16157 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
16158 echo "$as_me:$LINENO: checking for u_int32_t" >&5
16159 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
16160 if test "${ac_cv_type_u_int32_t+set}" = set; then
16161 echo $ECHO_N "(cached) $ECHO_C" >&6
16163 cat >conftest.
$ac_ext <<_ACEOF
16166 cat confdefs.h
>>conftest.
$ac_ext
16167 cat >>conftest.
$ac_ext <<_ACEOF
16168 /* end confdefs.h. */
16169 #include <sys/types.h>
16175 if ((u_int32_t *) 0)
16177 if (sizeof (u_int32_t))
16183 rm -f conftest.
$ac_objext
16184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16185 (eval $ac_compile) 2>conftest.er1
16187 grep -v '^ *+' conftest.er1
>conftest.err
16189 cat conftest.err
>&5
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); } &&
16192 { ac_try
='test -z "$ac_c_werror_flag"
16193 || test ! -s conftest.err'
16194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16195 (eval $ac_try) 2>&5
16197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16198 (exit $ac_status); }; } &&
16199 { ac_try
='test -s conftest.$ac_objext'
16200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16201 (eval $ac_try) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); }; }; then
16205 ac_cv_type_u_int32_t
=yes
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.
$ac_ext >&5
16210 ac_cv_type_u_int32_t
=no
16212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16214 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
16215 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
16216 if test $ac_cv_type_u_int32_t = yes; then
16217 acx_cv_header_stdint
=$i
16222 echo "$as_me:$LINENO: checking for u_int64_t" >&5
16223 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
16224 if test "${ac_cv_type_u_int64_t+set}" = set; then
16225 echo $ECHO_N "(cached) $ECHO_C" >&6
16227 cat >conftest.
$ac_ext <<_ACEOF
16230 cat confdefs.h
>>conftest.
$ac_ext
16231 cat >>conftest.
$ac_ext <<_ACEOF
16232 /* end confdefs.h. */
16233 #include <sys/types.h>
16239 if ((u_int64_t *) 0)
16241 if (sizeof (u_int64_t))
16247 rm -f conftest.
$ac_objext
16248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16249 (eval $ac_compile) 2>conftest.er1
16251 grep -v '^ *+' conftest.er1
>conftest.err
16253 cat conftest.err
>&5
16254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16255 (exit $ac_status); } &&
16256 { ac_try
='test -z "$ac_c_werror_flag"
16257 || test ! -s conftest.err'
16258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16259 (eval $ac_try) 2>&5
16261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16262 (exit $ac_status); }; } &&
16263 { ac_try
='test -s conftest.$ac_objext'
16264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16265 (eval $ac_try) 2>&5
16267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16268 (exit $ac_status); }; }; then
16269 ac_cv_type_u_int64_t
=yes
16271 echo "$as_me: failed program was:" >&5
16272 sed 's/^/| /' conftest.
$ac_ext >&5
16274 ac_cv_type_u_int64_t
=no
16276 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16278 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
16279 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
16284 if test "$acx_cv_header_stdint" = stddef.h
; then
16285 acx_cv_header_stdint_kind
="(using manual detection)"
16288 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16289 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16290 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16291 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16292 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16294 # ----------------- Summarize what we found so far
16296 echo "$as_me:$LINENO: checking what to include in gstdint.h" >&5
16297 echo $ECHO_N "checking what to include in gstdint.h... $ECHO_C" >&6
16299 case `$as_basename gstdint.h ||
16300 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16301 Xgstdint.h : 'X\(//\)$' \| \
16302 Xgstdint.h : 'X\(/\)$' \| \
16303 . : '\(.\)' 2>/dev/null ||
16305 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
16306 /^X\/\(\/\/\)$/{ s//\1/; q; }
16307 /^X\/\(\/\).*/{ s//\1/; q; }
16309 stdint.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16310 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16311 inttypes.h
) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
16312 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16316 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16317 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
16319 # ----------------- done included file, check C basic types --------
16321 # Lacking an uintptr_t? Test size of void *
16322 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16323 stddef.h
:* |
*:no
) echo "$as_me:$LINENO: checking for void *" >&5
16324 echo $ECHO_N "checking for void *... $ECHO_C" >&6
16325 if test "${ac_cv_type_void_p+set}" = set; then
16326 echo $ECHO_N "(cached) $ECHO_C" >&6
16328 cat >conftest.
$ac_ext <<_ACEOF
16331 cat confdefs.h
>>conftest.
$ac_ext
16332 cat >>conftest.
$ac_ext <<_ACEOF
16333 /* end confdefs.h. */
16334 $ac_includes_default
16340 if (sizeof (void *))
16346 rm -f conftest.
$ac_objext
16347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16348 (eval $ac_compile) 2>conftest.er1
16350 grep -v '^ *+' conftest.er1
>conftest.err
16352 cat conftest.err
>&5
16353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16354 (exit $ac_status); } &&
16355 { ac_try
='test -z "$ac_c_werror_flag"
16356 || test ! -s conftest.err'
16357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16358 (eval $ac_try) 2>&5
16360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16361 (exit $ac_status); }; } &&
16362 { ac_try
='test -s conftest.$ac_objext'
16363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16364 (eval $ac_try) 2>&5
16366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16367 (exit $ac_status); }; }; then
16368 ac_cv_type_void_p
=yes
16370 echo "$as_me: failed program was:" >&5
16371 sed 's/^/| /' conftest.
$ac_ext >&5
16373 ac_cv_type_void_p
=no
16375 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16377 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
16378 echo "${ECHO_T}$ac_cv_type_void_p" >&6
16380 echo "$as_me:$LINENO: checking size of void *" >&5
16381 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
16382 if test "${ac_cv_sizeof_void_p+set}" = set; then
16383 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 if test "$ac_cv_type_void_p" = yes; then
16386 # The cast to unsigned long works around a bug in the HP C Compiler
16387 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16388 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16389 # This bug is HP SR number 8606223364.
16390 if test "$cross_compiling" = yes; then
16391 # Depending upon the size, compute the lo and hi bounds.
16392 cat >conftest.
$ac_ext <<_ACEOF
16395 cat confdefs.h
>>conftest.
$ac_ext
16396 cat >>conftest.
$ac_ext <<_ACEOF
16397 /* end confdefs.h. */
16398 $ac_includes_default
16402 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
16409 rm -f conftest.
$ac_objext
16410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16411 (eval $ac_compile) 2>conftest.er1
16413 grep -v '^ *+' conftest.er1
>conftest.err
16415 cat conftest.err
>&5
16416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16417 (exit $ac_status); } &&
16418 { ac_try
='test -z "$ac_c_werror_flag"
16419 || test ! -s conftest.err'
16420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16421 (eval $ac_try) 2>&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); }; } &&
16425 { ac_try
='test -s conftest.$ac_objext'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; }; then
16433 cat >conftest.
$ac_ext <<_ACEOF
16436 cat confdefs.h
>>conftest.
$ac_ext
16437 cat >>conftest.
$ac_ext <<_ACEOF
16438 /* end confdefs.h. */
16439 $ac_includes_default
16443 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16450 rm -f conftest.
$ac_objext
16451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16452 (eval $ac_compile) 2>conftest.er1
16454 grep -v '^ *+' conftest.er1
>conftest.err
16456 cat conftest.err
>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); } &&
16459 { ac_try
='test -z "$ac_c_werror_flag"
16460 || test ! -s conftest.err'
16461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16462 (eval $ac_try) 2>&5
16464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16465 (exit $ac_status); }; } &&
16466 { ac_try
='test -s conftest.$ac_objext'
16467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16468 (eval $ac_try) 2>&5
16470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16471 (exit $ac_status); }; }; then
16472 ac_hi
=$ac_mid; break
16474 echo "$as_me: failed program was:" >&5
16475 sed 's/^/| /' conftest.
$ac_ext >&5
16477 ac_lo
=`expr $ac_mid + 1`
16478 if test $ac_lo -le $ac_mid; then
16482 ac_mid
=`expr 2 '*' $ac_mid + 1`
16484 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16487 echo "$as_me: failed program was:" >&5
16488 sed 's/^/| /' conftest.
$ac_ext >&5
16490 cat >conftest.
$ac_ext <<_ACEOF
16493 cat confdefs.h
>>conftest.
$ac_ext
16494 cat >>conftest.
$ac_ext <<_ACEOF
16495 /* end confdefs.h. */
16496 $ac_includes_default
16500 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
16507 rm -f conftest.
$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16511 grep -v '^ *+' conftest.er1
>conftest.err
16513 cat conftest.err
>&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try
='test -z "$ac_c_werror_flag"
16517 || test ! -s conftest.err'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; } &&
16523 { ac_try
='test -s conftest.$ac_objext'
16524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16525 (eval $ac_try) 2>&5
16527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16528 (exit $ac_status); }; }; then
16531 cat >conftest.
$ac_ext <<_ACEOF
16534 cat confdefs.h
>>conftest.
$ac_ext
16535 cat >>conftest.
$ac_ext <<_ACEOF
16536 /* end confdefs.h. */
16537 $ac_includes_default
16541 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
16548 rm -f conftest.
$ac_objext
16549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16550 (eval $ac_compile) 2>conftest.er1
16552 grep -v '^ *+' conftest.er1
>conftest.err
16554 cat conftest.err
>&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } &&
16557 { ac_try
='test -z "$ac_c_werror_flag"
16558 || test ! -s conftest.err'
16559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16560 (eval $ac_try) 2>&5
16562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16563 (exit $ac_status); }; } &&
16564 { ac_try
='test -s conftest.$ac_objext'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; }; then
16570 ac_lo
=$ac_mid; break
16572 echo "$as_me: failed program was:" >&5
16573 sed 's/^/| /' conftest.
$ac_ext >&5
16575 ac_hi
=`expr '(' $ac_mid ')' - 1`
16576 if test $ac_mid -le $ac_hi; then
16580 ac_mid
=`expr 2 '*' $ac_mid`
16582 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16585 echo "$as_me: failed program was:" >&5
16586 sed 's/^/| /' conftest.
$ac_ext >&5
16590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16592 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16593 # Binary search between lo and hi bounds.
16594 while test "x$ac_lo" != "x$ac_hi"; do
16595 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
16596 cat >conftest.
$ac_ext <<_ACEOF
16599 cat confdefs.h
>>conftest.
$ac_ext
16600 cat >>conftest.
$ac_ext <<_ACEOF
16601 /* end confdefs.h. */
16602 $ac_includes_default
16606 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
16613 rm -f conftest.
$ac_objext
16614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16615 (eval $ac_compile) 2>conftest.er1
16617 grep -v '^ *+' conftest.er1
>conftest.err
16619 cat conftest.err
>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); } &&
16622 { ac_try
='test -z "$ac_c_werror_flag"
16623 || test ! -s conftest.err'
16624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16625 (eval $ac_try) 2>&5
16627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16628 (exit $ac_status); }; } &&
16629 { ac_try
='test -s conftest.$ac_objext'
16630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16631 (eval $ac_try) 2>&5
16633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16634 (exit $ac_status); }; }; then
16637 echo "$as_me: failed program was:" >&5
16638 sed 's/^/| /' conftest.
$ac_ext >&5
16640 ac_lo
=`expr '(' $ac_mid ')' + 1`
16642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16645 ?
*) ac_cv_sizeof_void_p
=$ac_lo;;
16646 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16647 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16648 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16649 See \`config.log' for more details." >&5
16650 echo "$as_me: error: cannot compute sizeof (void *), 77
16651 See \`config.log' for more details." >&2;}
16652 { (exit 1); exit 1; }; }; } ;;
16655 if test "$cross_compiling" = yes; then
16656 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16657 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16658 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
16659 See \`config.log' for more details." >&5
16660 echo "$as_me: error: cannot run test program while cross compiling
16661 See \`config.log' for more details." >&2;}
16662 { (exit 1); exit 1; }; }; }
16664 cat >conftest.
$ac_ext <<_ACEOF
16667 cat confdefs.h
>>conftest.
$ac_ext
16668 cat >>conftest.
$ac_ext <<_ACEOF
16669 /* end confdefs.h. */
16670 $ac_includes_default
16671 long longval () { return (long) (sizeof (void *)); }
16672 unsigned long ulongval () { return (long) (sizeof (void *)); }
16674 #include <stdlib.h>
16679 FILE *f = fopen ("conftest.val", "w");
16682 if (((long) (sizeof (void *))) < 0)
16684 long i = longval ();
16685 if (i != ((long) (sizeof (void *))))
16687 fprintf (f, "%ld\n", i);
16691 unsigned long i = ulongval ();
16692 if (i != ((long) (sizeof (void *))))
16694 fprintf (f, "%lu\n", i);
16696 exit (ferror (f) || fclose (f) != 0);
16702 rm -f conftest
$ac_exeext
16703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16704 (eval $ac_link) 2>&5
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16709 (eval $ac_try) 2>&5
16711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16712 (exit $ac_status); }; }; then
16713 ac_cv_sizeof_void_p
=`cat conftest.val`
16715 echo "$as_me: program exited with status $ac_status" >&5
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.
$ac_ext >&5
16719 ( exit $ac_status )
16720 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
16721 echo "$as_me: error: in \`$ac_pwd':" >&2;}
16722 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
16723 See \`config.log' for more details." >&5
16724 echo "$as_me: error: cannot compute sizeof (void *), 77
16725 See \`config.log' for more details." >&2;}
16726 { (exit 1); exit 1; }; }; }
16728 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16733 ac_cv_sizeof_void_p
=0
16736 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
16737 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
16738 cat >>confdefs.h
<<_ACEOF
16739 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16745 # Lacking an uint64_t? Test size of long
16746 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16747 stddef.h
:*:* |
*:no
:no
) echo "$as_me:$LINENO: checking for long" >&5
16748 echo $ECHO_N "checking for long... $ECHO_C" >&6
16749 if test "${ac_cv_type_long+set}" = set; then
16750 echo $ECHO_N "(cached) $ECHO_C" >&6
16752 cat >conftest.
$ac_ext <<_ACEOF
16755 cat confdefs.h
>>conftest.
$ac_ext
16756 cat >>conftest.
$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758 $ac_includes_default
16770 rm -f conftest.
$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16774 grep -v '^ *+' conftest.er1
>conftest.err
16776 cat conftest.err
>&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try
='test -z "$ac_c_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try
='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16792 ac_cv_type_long
=yes
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.
$ac_ext >&5
16799 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16801 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
16802 echo "${ECHO_T}$ac_cv_type_long" >&6
16804 echo "$as_me:$LINENO: checking size of long" >&5
16805 echo $ECHO_N "checking size of long... $ECHO_C" >&6
16806 if test "${ac_cv_sizeof_long+set}" = set; then
16807 echo $ECHO_N "(cached) $ECHO_C" >&6
16809 if test "$ac_cv_type_long" = yes; then
16810 # The cast to unsigned long works around a bug in the HP C Compiler
16811 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16812 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16813 # This bug is HP SR number 8606223364.
16814 if test "$cross_compiling" = yes; then
16815 # Depending upon the size, compute the lo and hi bounds.
16816 cat >conftest.
$ac_ext <<_ACEOF
16819 cat confdefs.h
>>conftest.
$ac_ext
16820 cat >>conftest.
$ac_ext <<_ACEOF
16821 /* end confdefs.h. */
16822 $ac_includes_default
16826 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
16833 rm -f conftest.
$ac_objext
16834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16835 (eval $ac_compile) 2>conftest.er1
16837 grep -v '^ *+' conftest.er1
>conftest.err
16839 cat conftest.err
>&5
16840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16841 (exit $ac_status); } &&
16842 { ac_try
='test -z "$ac_c_werror_flag"
16843 || test ! -s conftest.err'
16844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16845 (eval $ac_try) 2>&5
16847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16848 (exit $ac_status); }; } &&
16849 { ac_try
='test -s conftest.$ac_objext'
16850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16851 (eval $ac_try) 2>&5
16853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16854 (exit $ac_status); }; }; then
16857 cat >conftest.
$ac_ext <<_ACEOF
16860 cat confdefs.h
>>conftest.
$ac_ext
16861 cat >>conftest.
$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 $ac_includes_default
16867 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
16874 rm -f conftest.
$ac_objext
16875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16876 (eval $ac_compile) 2>conftest.er1
16878 grep -v '^ *+' conftest.er1
>conftest.err
16880 cat conftest.err
>&5
16881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16882 (exit $ac_status); } &&
16883 { ac_try
='test -z "$ac_c_werror_flag"
16884 || test ! -s conftest.err'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; } &&
16890 { ac_try
='test -s conftest.$ac_objext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_hi
=$ac_mid; break
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.
$ac_ext >&5
16901 ac_lo
=`expr $ac_mid + 1`
16902 if test $ac_lo -le $ac_mid; then
16906 ac_mid
=`expr 2 '*' $ac_mid + 1`
16908 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16911 echo "$as_me: failed program was:" >&5
16912 sed 's/^/| /' conftest.
$ac_ext >&5
16914 cat >conftest.
$ac_ext <<_ACEOF
16917 cat confdefs.h
>>conftest.
$ac_ext
16918 cat >>conftest.
$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 $ac_includes_default
16924 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
16931 rm -f conftest.
$ac_objext
16932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16933 (eval $ac_compile) 2>conftest.er1
16935 grep -v '^ *+' conftest.er1
>conftest.err
16937 cat conftest.err
>&5
16938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16939 (exit $ac_status); } &&
16940 { ac_try
='test -z "$ac_c_werror_flag"
16941 || test ! -s conftest.err'
16942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16943 (eval $ac_try) 2>&5
16945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16946 (exit $ac_status); }; } &&
16947 { ac_try
='test -s conftest.$ac_objext'
16948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16949 (eval $ac_try) 2>&5
16951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16952 (exit $ac_status); }; }; then
16955 cat >conftest.
$ac_ext <<_ACEOF
16958 cat confdefs.h
>>conftest.
$ac_ext
16959 cat >>conftest.
$ac_ext <<_ACEOF
16960 /* end confdefs.h. */
16961 $ac_includes_default
16965 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
16972 rm -f conftest.
$ac_objext
16973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16974 (eval $ac_compile) 2>conftest.er1
16976 grep -v '^ *+' conftest.er1
>conftest.err
16978 cat conftest.err
>&5
16979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16980 (exit $ac_status); } &&
16981 { ac_try
='test -z "$ac_c_werror_flag"
16982 || test ! -s conftest.err'
16983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16984 (eval $ac_try) 2>&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); }; } &&
16988 { ac_try
='test -s conftest.$ac_objext'
16989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16990 (eval $ac_try) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); }; }; then
16994 ac_lo
=$ac_mid; break
16996 echo "$as_me: failed program was:" >&5
16997 sed 's/^/| /' conftest.
$ac_ext >&5
16999 ac_hi
=`expr '(' $ac_mid ')' - 1`
17000 if test $ac_mid -le $ac_hi; then
17004 ac_mid
=`expr 2 '*' $ac_mid`
17006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.
$ac_ext >&5
17014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17017 # Binary search between lo and hi bounds.
17018 while test "x$ac_lo" != "x$ac_hi"; do
17019 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17020 cat >conftest.
$ac_ext <<_ACEOF
17023 cat confdefs.h
>>conftest.
$ac_ext
17024 cat >>conftest.
$ac_ext <<_ACEOF
17025 /* end confdefs.h. */
17026 $ac_includes_default
17030 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
17037 rm -f conftest.
$ac_objext
17038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17039 (eval $ac_compile) 2>conftest.er1
17041 grep -v '^ *+' conftest.er1
>conftest.err
17043 cat conftest.err
>&5
17044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17045 (exit $ac_status); } &&
17046 { ac_try
='test -z "$ac_c_werror_flag"
17047 || test ! -s conftest.err'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; } &&
17053 { ac_try
='test -s conftest.$ac_objext'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; }; then
17061 echo "$as_me: failed program was:" >&5
17062 sed 's/^/| /' conftest.
$ac_ext >&5
17064 ac_lo
=`expr '(' $ac_mid ')' + 1`
17066 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17069 ?
*) ac_cv_sizeof_long
=$ac_lo;;
17070 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17071 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17072 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17073 See \`config.log' for more details." >&5
17074 echo "$as_me: error: cannot compute sizeof (long), 77
17075 See \`config.log' for more details." >&2;}
17076 { (exit 1); exit 1; }; }; } ;;
17079 if test "$cross_compiling" = yes; then
17080 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17081 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17082 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17083 See \`config.log' for more details." >&5
17084 echo "$as_me: error: cannot run test program while cross compiling
17085 See \`config.log' for more details." >&2;}
17086 { (exit 1); exit 1; }; }; }
17088 cat >conftest.
$ac_ext <<_ACEOF
17091 cat confdefs.h
>>conftest.
$ac_ext
17092 cat >>conftest.
$ac_ext <<_ACEOF
17093 /* end confdefs.h. */
17094 $ac_includes_default
17095 long longval () { return (long) (sizeof (long)); }
17096 unsigned long ulongval () { return (long) (sizeof (long)); }
17098 #include <stdlib.h>
17103 FILE *f = fopen ("conftest.val", "w");
17106 if (((long) (sizeof (long))) < 0)
17108 long i = longval ();
17109 if (i != ((long) (sizeof (long))))
17111 fprintf (f, "%ld\n", i);
17115 unsigned long i = ulongval ();
17116 if (i != ((long) (sizeof (long))))
17118 fprintf (f, "%lu\n", i);
17120 exit (ferror (f) || fclose (f) != 0);
17126 rm -f conftest
$ac_exeext
17127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17128 (eval $ac_link) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_cv_sizeof_long
=`cat conftest.val`
17139 echo "$as_me: program exited with status $ac_status" >&5
17140 echo "$as_me: failed program was:" >&5
17141 sed 's/^/| /' conftest.
$ac_ext >&5
17143 ( exit $ac_status )
17144 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17145 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17146 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
17147 See \`config.log' for more details." >&5
17148 echo "$as_me: error: cannot compute sizeof (long), 77
17149 See \`config.log' for more details." >&2;}
17150 { (exit 1); exit 1; }; }; }
17152 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17157 ac_cv_sizeof_long
=0
17160 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
17161 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
17162 cat >>confdefs.h
<<_ACEOF
17163 #define SIZEOF_LONG $ac_cv_sizeof_long
17169 if test $acx_cv_header_stdint = stddef.h
; then
17170 # Lacking a good header? Test size of everything and deduce all types.
17171 echo "$as_me:$LINENO: checking for int" >&5
17172 echo $ECHO_N "checking for int... $ECHO_C" >&6
17173 if test "${ac_cv_type_int+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 cat >conftest.
$ac_ext <<_ACEOF
17179 cat confdefs.h
>>conftest.
$ac_ext
17180 cat >>conftest.
$ac_ext <<_ACEOF
17181 /* end confdefs.h. */
17182 $ac_includes_default
17194 rm -f conftest.
$ac_objext
17195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17196 (eval $ac_compile) 2>conftest.er1
17198 grep -v '^ *+' conftest.er1
>conftest.err
17200 cat conftest.err
>&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } &&
17203 { ac_try
='test -z "$ac_c_werror_flag"
17204 || test ! -s conftest.err'
17205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17206 (eval $ac_try) 2>&5
17208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); }; } &&
17210 { ac_try
='test -s conftest.$ac_objext'
17211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17212 (eval $ac_try) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); }; }; then
17218 echo "$as_me: failed program was:" >&5
17219 sed 's/^/| /' conftest.
$ac_ext >&5
17223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17225 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
17226 echo "${ECHO_T}$ac_cv_type_int" >&6
17228 echo "$as_me:$LINENO: checking size of int" >&5
17229 echo $ECHO_N "checking size of int... $ECHO_C" >&6
17230 if test "${ac_cv_sizeof_int+set}" = set; then
17231 echo $ECHO_N "(cached) $ECHO_C" >&6
17233 if test "$ac_cv_type_int" = yes; then
17234 # The cast to unsigned long works around a bug in the HP C Compiler
17235 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17236 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17237 # This bug is HP SR number 8606223364.
17238 if test "$cross_compiling" = yes; then
17239 # Depending upon the size, compute the lo and hi bounds.
17240 cat >conftest.
$ac_ext <<_ACEOF
17243 cat confdefs.h
>>conftest.
$ac_ext
17244 cat >>conftest.
$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17246 $ac_includes_default
17250 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
17257 rm -f conftest.
$ac_objext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17259 (eval $ac_compile) 2>conftest.er1
17261 grep -v '^ *+' conftest.er1
>conftest.err
17263 cat conftest.err
>&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 (exit $ac_status); } &&
17266 { ac_try
='test -z "$ac_c_werror_flag"
17267 || test ! -s conftest.err'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; } &&
17273 { ac_try
='test -s conftest.$ac_objext'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; }; then
17281 cat >conftest.
$ac_ext <<_ACEOF
17284 cat confdefs.h
>>conftest.
$ac_ext
17285 cat >>conftest.
$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 $ac_includes_default
17291 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17298 rm -f conftest.
$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17302 grep -v '^ *+' conftest.er1
>conftest.err
17304 cat conftest.err
>&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try
='test -z "$ac_c_werror_flag"
17308 || test ! -s conftest.err'
17309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17310 (eval $ac_try) 2>&5
17312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17313 (exit $ac_status); }; } &&
17314 { ac_try
='test -s conftest.$ac_objext'
17315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17316 (eval $ac_try) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); }; }; then
17320 ac_hi
=$ac_mid; break
17322 echo "$as_me: failed program was:" >&5
17323 sed 's/^/| /' conftest.
$ac_ext >&5
17325 ac_lo
=`expr $ac_mid + 1`
17326 if test $ac_lo -le $ac_mid; then
17330 ac_mid
=`expr 2 '*' $ac_mid + 1`
17332 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.
$ac_ext >&5
17338 cat >conftest.
$ac_ext <<_ACEOF
17341 cat confdefs.h
>>conftest.
$ac_ext
17342 cat >>conftest.
$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 $ac_includes_default
17348 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
17355 rm -f conftest.
$ac_objext
17356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17357 (eval $ac_compile) 2>conftest.er1
17359 grep -v '^ *+' conftest.er1
>conftest.err
17361 cat conftest.err
>&5
17362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17363 (exit $ac_status); } &&
17364 { ac_try
='test -z "$ac_c_werror_flag"
17365 || test ! -s conftest.err'
17366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17367 (eval $ac_try) 2>&5
17369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370 (exit $ac_status); }; } &&
17371 { ac_try
='test -s conftest.$ac_objext'
17372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17373 (eval $ac_try) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); }; }; then
17379 cat >conftest.
$ac_ext <<_ACEOF
17382 cat confdefs.h
>>conftest.
$ac_ext
17383 cat >>conftest.
$ac_ext <<_ACEOF
17384 /* end confdefs.h. */
17385 $ac_includes_default
17389 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
17396 rm -f conftest.
$ac_objext
17397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17398 (eval $ac_compile) 2>conftest.er1
17400 grep -v '^ *+' conftest.er1
>conftest.err
17402 cat conftest.err
>&5
17403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17404 (exit $ac_status); } &&
17405 { ac_try
='test -z "$ac_c_werror_flag"
17406 || test ! -s conftest.err'
17407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17408 (eval $ac_try) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); }; } &&
17412 { ac_try
='test -s conftest.$ac_objext'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17418 ac_lo
=$ac_mid; break
17420 echo "$as_me: failed program was:" >&5
17421 sed 's/^/| /' conftest.
$ac_ext >&5
17423 ac_hi
=`expr '(' $ac_mid ')' - 1`
17424 if test $ac_mid -le $ac_hi; then
17428 ac_mid
=`expr 2 '*' $ac_mid`
17430 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.
$ac_ext >&5
17438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17441 # Binary search between lo and hi bounds.
17442 while test "x$ac_lo" != "x$ac_hi"; do
17443 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17444 cat >conftest.
$ac_ext <<_ACEOF
17447 cat confdefs.h
>>conftest.
$ac_ext
17448 cat >>conftest.
$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17454 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
17461 rm -f conftest.
$ac_objext
17462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17463 (eval $ac_compile) 2>conftest.er1
17465 grep -v '^ *+' conftest.er1
>conftest.err
17467 cat conftest.err
>&5
17468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17469 (exit $ac_status); } &&
17470 { ac_try
='test -z "$ac_c_werror_flag"
17471 || test ! -s conftest.err'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; } &&
17477 { ac_try
='test -s conftest.$ac_objext'
17478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17479 (eval $ac_try) 2>&5
17481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17482 (exit $ac_status); }; }; then
17485 echo "$as_me: failed program was:" >&5
17486 sed 's/^/| /' conftest.
$ac_ext >&5
17488 ac_lo
=`expr '(' $ac_mid ')' + 1`
17490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17493 ?
*) ac_cv_sizeof_int
=$ac_lo;;
17494 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17495 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17497 See \`config.log' for more details." >&5
17498 echo "$as_me: error: cannot compute sizeof (int), 77
17499 See \`config.log' for more details." >&2;}
17500 { (exit 1); exit 1; }; }; } ;;
17503 if test "$cross_compiling" = yes; then
17504 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17505 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17506 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17507 See \`config.log' for more details." >&5
17508 echo "$as_me: error: cannot run test program while cross compiling
17509 See \`config.log' for more details." >&2;}
17510 { (exit 1); exit 1; }; }; }
17512 cat >conftest.
$ac_ext <<_ACEOF
17515 cat confdefs.h
>>conftest.
$ac_ext
17516 cat >>conftest.
$ac_ext <<_ACEOF
17517 /* end confdefs.h. */
17518 $ac_includes_default
17519 long longval () { return (long) (sizeof (int)); }
17520 unsigned long ulongval () { return (long) (sizeof (int)); }
17522 #include <stdlib.h>
17527 FILE *f = fopen ("conftest.val", "w");
17530 if (((long) (sizeof (int))) < 0)
17532 long i = longval ();
17533 if (i != ((long) (sizeof (int))))
17535 fprintf (f, "%ld\n", i);
17539 unsigned long i = ulongval ();
17540 if (i != ((long) (sizeof (int))))
17542 fprintf (f, "%lu\n", i);
17544 exit (ferror (f) || fclose (f) != 0);
17550 rm -f conftest
$ac_exeext
17551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17552 (eval $ac_link) 2>&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17557 (eval $ac_try) 2>&5
17559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17560 (exit $ac_status); }; }; then
17561 ac_cv_sizeof_int
=`cat conftest.val`
17563 echo "$as_me: program exited with status $ac_status" >&5
17564 echo "$as_me: failed program was:" >&5
17565 sed 's/^/| /' conftest.
$ac_ext >&5
17567 ( exit $ac_status )
17568 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17569 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17570 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
17571 See \`config.log' for more details." >&5
17572 echo "$as_me: error: cannot compute sizeof (int), 77
17573 See \`config.log' for more details." >&2;}
17574 { (exit 1); exit 1; }; }; }
17576 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
17584 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
17585 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
17586 cat >>confdefs.h
<<_ACEOF
17587 #define SIZEOF_INT $ac_cv_sizeof_int
17591 echo "$as_me:$LINENO: checking for short" >&5
17592 echo $ECHO_N "checking for short... $ECHO_C" >&6
17593 if test "${ac_cv_type_short+set}" = set; then
17594 echo $ECHO_N "(cached) $ECHO_C" >&6
17596 cat >conftest.
$ac_ext <<_ACEOF
17599 cat confdefs.h
>>conftest.
$ac_ext
17600 cat >>conftest.
$ac_ext <<_ACEOF
17601 /* end confdefs.h. */
17602 $ac_includes_default
17608 if (sizeof (short))
17614 rm -f conftest.
$ac_objext
17615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17616 (eval $ac_compile) 2>conftest.er1
17618 grep -v '^ *+' conftest.er1
>conftest.err
17620 cat conftest.err
>&5
17621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17622 (exit $ac_status); } &&
17623 { ac_try
='test -z "$ac_c_werror_flag"
17624 || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try
='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_cv_type_short
=yes
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.
$ac_ext >&5
17641 ac_cv_type_short
=no
17643 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17645 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
17646 echo "${ECHO_T}$ac_cv_type_short" >&6
17648 echo "$as_me:$LINENO: checking size of short" >&5
17649 echo $ECHO_N "checking size of short... $ECHO_C" >&6
17650 if test "${ac_cv_sizeof_short+set}" = set; then
17651 echo $ECHO_N "(cached) $ECHO_C" >&6
17653 if test "$ac_cv_type_short" = yes; then
17654 # The cast to unsigned long works around a bug in the HP C Compiler
17655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17657 # This bug is HP SR number 8606223364.
17658 if test "$cross_compiling" = yes; then
17659 # Depending upon the size, compute the lo and hi bounds.
17660 cat >conftest.
$ac_ext <<_ACEOF
17663 cat confdefs.h
>>conftest.
$ac_ext
17664 cat >>conftest.
$ac_ext <<_ACEOF
17665 /* end confdefs.h. */
17666 $ac_includes_default
17670 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
17677 rm -f conftest.
$ac_objext
17678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17679 (eval $ac_compile) 2>conftest.er1
17681 grep -v '^ *+' conftest.er1
>conftest.err
17683 cat conftest.err
>&5
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); } &&
17686 { ac_try
='test -z "$ac_c_werror_flag"
17687 || test ! -s conftest.err'
17688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17689 (eval $ac_try) 2>&5
17691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17692 (exit $ac_status); }; } &&
17693 { ac_try
='test -s conftest.$ac_objext'
17694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17695 (eval $ac_try) 2>&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); }; }; then
17701 cat >conftest.
$ac_ext <<_ACEOF
17704 cat confdefs.h
>>conftest.
$ac_ext
17705 cat >>conftest.
$ac_ext <<_ACEOF
17706 /* end confdefs.h. */
17707 $ac_includes_default
17711 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17718 rm -f conftest.
$ac_objext
17719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17720 (eval $ac_compile) 2>conftest.er1
17722 grep -v '^ *+' conftest.er1
>conftest.err
17724 cat conftest.err
>&5
17725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17726 (exit $ac_status); } &&
17727 { ac_try
='test -z "$ac_c_werror_flag"
17728 || test ! -s conftest.err'
17729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17730 (eval $ac_try) 2>&5
17732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17733 (exit $ac_status); }; } &&
17734 { ac_try
='test -s conftest.$ac_objext'
17735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17736 (eval $ac_try) 2>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); }; }; then
17740 ac_hi
=$ac_mid; break
17742 echo "$as_me: failed program was:" >&5
17743 sed 's/^/| /' conftest.
$ac_ext >&5
17745 ac_lo
=`expr $ac_mid + 1`
17746 if test $ac_lo -le $ac_mid; then
17750 ac_mid
=`expr 2 '*' $ac_mid + 1`
17752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.
$ac_ext >&5
17758 cat >conftest.
$ac_ext <<_ACEOF
17761 cat confdefs.h
>>conftest.
$ac_ext
17762 cat >>conftest.
$ac_ext <<_ACEOF
17763 /* end confdefs.h. */
17764 $ac_includes_default
17768 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
17775 rm -f conftest.
$ac_objext
17776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17777 (eval $ac_compile) 2>conftest.er1
17779 grep -v '^ *+' conftest.er1
>conftest.err
17781 cat conftest.err
>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); } &&
17784 { ac_try
='test -z "$ac_c_werror_flag"
17785 || test ! -s conftest.err'
17786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17787 (eval $ac_try) 2>&5
17789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17790 (exit $ac_status); }; } &&
17791 { ac_try
='test -s conftest.$ac_objext'
17792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17793 (eval $ac_try) 2>&5
17795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17796 (exit $ac_status); }; }; then
17799 cat >conftest.
$ac_ext <<_ACEOF
17802 cat confdefs.h
>>conftest.
$ac_ext
17803 cat >>conftest.
$ac_ext <<_ACEOF
17804 /* end confdefs.h. */
17805 $ac_includes_default
17809 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
17816 rm -f conftest.
$ac_objext
17817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17818 (eval $ac_compile) 2>conftest.er1
17820 grep -v '^ *+' conftest.er1
>conftest.err
17822 cat conftest.err
>&5
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); } &&
17825 { ac_try
='test -z "$ac_c_werror_flag"
17826 || test ! -s conftest.err'
17827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17828 (eval $ac_try) 2>&5
17830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17831 (exit $ac_status); }; } &&
17832 { ac_try
='test -s conftest.$ac_objext'
17833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17834 (eval $ac_try) 2>&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); }; }; then
17838 ac_lo
=$ac_mid; break
17840 echo "$as_me: failed program was:" >&5
17841 sed 's/^/| /' conftest.
$ac_ext >&5
17843 ac_hi
=`expr '(' $ac_mid ')' - 1`
17844 if test $ac_mid -le $ac_hi; then
17848 ac_mid
=`expr 2 '*' $ac_mid`
17850 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.
$ac_ext >&5
17858 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17860 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17861 # Binary search between lo and hi bounds.
17862 while test "x$ac_lo" != "x$ac_hi"; do
17863 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
17864 cat >conftest.
$ac_ext <<_ACEOF
17867 cat confdefs.h
>>conftest.
$ac_ext
17868 cat >>conftest.
$ac_ext <<_ACEOF
17869 /* end confdefs.h. */
17870 $ac_includes_default
17874 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
17881 rm -f conftest.
$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17885 grep -v '^ *+' conftest.er1
>conftest.err
17887 cat conftest.err
>&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try
='test -z "$ac_c_werror_flag"
17891 || test ! -s conftest.err'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; } &&
17897 { ac_try
='test -s conftest.$ac_objext'
17898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17899 (eval $ac_try) 2>&5
17901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17902 (exit $ac_status); }; }; then
17905 echo "$as_me: failed program was:" >&5
17906 sed 's/^/| /' conftest.
$ac_ext >&5
17908 ac_lo
=`expr '(' $ac_mid ')' + 1`
17910 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17913 ?
*) ac_cv_sizeof_short
=$ac_lo;;
17914 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17915 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17916 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17917 See \`config.log' for more details." >&5
17918 echo "$as_me: error: cannot compute sizeof (short), 77
17919 See \`config.log' for more details." >&2;}
17920 { (exit 1); exit 1; }; }; } ;;
17923 if test "$cross_compiling" = yes; then
17924 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17925 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17926 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
17927 See \`config.log' for more details." >&5
17928 echo "$as_me: error: cannot run test program while cross compiling
17929 See \`config.log' for more details." >&2;}
17930 { (exit 1); exit 1; }; }; }
17932 cat >conftest.
$ac_ext <<_ACEOF
17935 cat confdefs.h
>>conftest.
$ac_ext
17936 cat >>conftest.
$ac_ext <<_ACEOF
17937 /* end confdefs.h. */
17938 $ac_includes_default
17939 long longval () { return (long) (sizeof (short)); }
17940 unsigned long ulongval () { return (long) (sizeof (short)); }
17942 #include <stdlib.h>
17947 FILE *f = fopen ("conftest.val", "w");
17950 if (((long) (sizeof (short))) < 0)
17952 long i = longval ();
17953 if (i != ((long) (sizeof (short))))
17955 fprintf (f, "%ld\n", i);
17959 unsigned long i = ulongval ();
17960 if (i != ((long) (sizeof (short))))
17962 fprintf (f, "%lu\n", i);
17964 exit (ferror (f) || fclose (f) != 0);
17970 rm -f conftest
$ac_exeext
17971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17972 (eval $ac_link) 2>&5
17974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_cv_sizeof_short
=`cat conftest.val`
17983 echo "$as_me: program exited with status $ac_status" >&5
17984 echo "$as_me: failed program was:" >&5
17985 sed 's/^/| /' conftest.
$ac_ext >&5
17987 ( exit $ac_status )
17988 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
17989 echo "$as_me: error: in \`$ac_pwd':" >&2;}
17990 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
17991 See \`config.log' for more details." >&5
17992 echo "$as_me: error: cannot compute sizeof (short), 77
17993 See \`config.log' for more details." >&2;}
17994 { (exit 1); exit 1; }; }; }
17996 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18001 ac_cv_sizeof_short
=0
18004 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18005 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18006 cat >>confdefs.h
<<_ACEOF
18007 #define SIZEOF_SHORT $ac_cv_sizeof_short
18011 echo "$as_me:$LINENO: checking for char" >&5
18012 echo $ECHO_N "checking for char... $ECHO_C" >&6
18013 if test "${ac_cv_type_char+set}" = set; then
18014 echo $ECHO_N "(cached) $ECHO_C" >&6
18016 cat >conftest.
$ac_ext <<_ACEOF
18019 cat confdefs.h
>>conftest.
$ac_ext
18020 cat >>conftest.
$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 $ac_includes_default
18034 rm -f conftest.
$ac_objext
18035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18036 (eval $ac_compile) 2>conftest.er1
18038 grep -v '^ *+' conftest.er1
>conftest.err
18040 cat conftest.err
>&5
18041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18042 (exit $ac_status); } &&
18043 { ac_try
='test -z "$ac_c_werror_flag"
18044 || test ! -s conftest.err'
18045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18046 (eval $ac_try) 2>&5
18048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18049 (exit $ac_status); }; } &&
18050 { ac_try
='test -s conftest.$ac_objext'
18051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18052 (eval $ac_try) 2>&5
18054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18055 (exit $ac_status); }; }; then
18056 ac_cv_type_char
=yes
18058 echo "$as_me: failed program was:" >&5
18059 sed 's/^/| /' conftest.
$ac_ext >&5
18063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18065 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18066 echo "${ECHO_T}$ac_cv_type_char" >&6
18068 echo "$as_me:$LINENO: checking size of char" >&5
18069 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18070 if test "${ac_cv_sizeof_char+set}" = set; then
18071 echo $ECHO_N "(cached) $ECHO_C" >&6
18073 if test "$ac_cv_type_char" = yes; then
18074 # The cast to unsigned long works around a bug in the HP C Compiler
18075 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18076 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18077 # This bug is HP SR number 8606223364.
18078 if test "$cross_compiling" = yes; then
18079 # Depending upon the size, compute the lo and hi bounds.
18080 cat >conftest.
$ac_ext <<_ACEOF
18083 cat confdefs.h
>>conftest.
$ac_ext
18084 cat >>conftest.
$ac_ext <<_ACEOF
18085 /* end confdefs.h. */
18086 $ac_includes_default
18090 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18097 rm -f conftest.
$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18101 grep -v '^ *+' conftest.er1
>conftest.err
18103 cat conftest.err
>&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try
='test -z "$ac_c_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try
='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18121 cat >conftest.
$ac_ext <<_ACEOF
18124 cat confdefs.h
>>conftest.
$ac_ext
18125 cat >>conftest.
$ac_ext <<_ACEOF
18126 /* end confdefs.h. */
18127 $ac_includes_default
18131 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18138 rm -f conftest.
$ac_objext
18139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18140 (eval $ac_compile) 2>conftest.er1
18142 grep -v '^ *+' conftest.er1
>conftest.err
18144 cat conftest.err
>&5
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); } &&
18147 { ac_try
='test -z "$ac_c_werror_flag"
18148 || test ! -s conftest.err'
18149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18150 (eval $ac_try) 2>&5
18152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18153 (exit $ac_status); }; } &&
18154 { ac_try
='test -s conftest.$ac_objext'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; }; then
18160 ac_hi
=$ac_mid; break
18162 echo "$as_me: failed program was:" >&5
18163 sed 's/^/| /' conftest.
$ac_ext >&5
18165 ac_lo
=`expr $ac_mid + 1`
18166 if test $ac_lo -le $ac_mid; then
18170 ac_mid
=`expr 2 '*' $ac_mid + 1`
18172 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18175 echo "$as_me: failed program was:" >&5
18176 sed 's/^/| /' conftest.
$ac_ext >&5
18178 cat >conftest.
$ac_ext <<_ACEOF
18181 cat confdefs.h
>>conftest.
$ac_ext
18182 cat >>conftest.
$ac_ext <<_ACEOF
18183 /* end confdefs.h. */
18184 $ac_includes_default
18188 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18195 rm -f conftest.
$ac_objext
18196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18197 (eval $ac_compile) 2>conftest.er1
18199 grep -v '^ *+' conftest.er1
>conftest.err
18201 cat conftest.err
>&5
18202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18203 (exit $ac_status); } &&
18204 { ac_try
='test -z "$ac_c_werror_flag"
18205 || test ! -s conftest.err'
18206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18207 (eval $ac_try) 2>&5
18209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18210 (exit $ac_status); }; } &&
18211 { ac_try
='test -s conftest.$ac_objext'
18212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18213 (eval $ac_try) 2>&5
18215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18216 (exit $ac_status); }; }; then
18219 cat >conftest.
$ac_ext <<_ACEOF
18222 cat confdefs.h
>>conftest.
$ac_ext
18223 cat >>conftest.
$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 $ac_includes_default
18229 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18236 rm -f conftest.
$ac_objext
18237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18238 (eval $ac_compile) 2>conftest.er1
18240 grep -v '^ *+' conftest.er1
>conftest.err
18242 cat conftest.err
>&5
18243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18244 (exit $ac_status); } &&
18245 { ac_try
='test -z "$ac_c_werror_flag"
18246 || test ! -s conftest.err'
18247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18248 (eval $ac_try) 2>&5
18250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18251 (exit $ac_status); }; } &&
18252 { ac_try
='test -s conftest.$ac_objext'
18253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18254 (eval $ac_try) 2>&5
18256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18257 (exit $ac_status); }; }; then
18258 ac_lo
=$ac_mid; break
18260 echo "$as_me: failed program was:" >&5
18261 sed 's/^/| /' conftest.
$ac_ext >&5
18263 ac_hi
=`expr '(' $ac_mid ')' - 1`
18264 if test $ac_mid -le $ac_hi; then
18268 ac_mid
=`expr 2 '*' $ac_mid`
18270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18273 echo "$as_me: failed program was:" >&5
18274 sed 's/^/| /' conftest.
$ac_ext >&5
18278 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18281 # Binary search between lo and hi bounds.
18282 while test "x$ac_lo" != "x$ac_hi"; do
18283 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18284 cat >conftest.
$ac_ext <<_ACEOF
18287 cat confdefs.h
>>conftest.
$ac_ext
18288 cat >>conftest.
$ac_ext <<_ACEOF
18289 /* end confdefs.h. */
18290 $ac_includes_default
18294 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18301 rm -f conftest.
$ac_objext
18302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18303 (eval $ac_compile) 2>conftest.er1
18305 grep -v '^ *+' conftest.er1
>conftest.err
18307 cat conftest.err
>&5
18308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18309 (exit $ac_status); } &&
18310 { ac_try
='test -z "$ac_c_werror_flag"
18311 || test ! -s conftest.err'
18312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18313 (eval $ac_try) 2>&5
18315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18316 (exit $ac_status); }; } &&
18317 { ac_try
='test -s conftest.$ac_objext'
18318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18319 (eval $ac_try) 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 ac_lo
=`expr '(' $ac_mid ')' + 1`
18330 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18333 ?
*) ac_cv_sizeof_char
=$ac_lo;;
18334 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18335 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18336 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18337 See \`config.log' for more details." >&5
18338 echo "$as_me: error: cannot compute sizeof (char), 77
18339 See \`config.log' for more details." >&2;}
18340 { (exit 1); exit 1; }; }; } ;;
18343 if test "$cross_compiling" = yes; then
18344 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18345 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18346 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18347 See \`config.log' for more details." >&5
18348 echo "$as_me: error: cannot run test program while cross compiling
18349 See \`config.log' for more details." >&2;}
18350 { (exit 1); exit 1; }; }; }
18352 cat >conftest.
$ac_ext <<_ACEOF
18355 cat confdefs.h
>>conftest.
$ac_ext
18356 cat >>conftest.
$ac_ext <<_ACEOF
18357 /* end confdefs.h. */
18358 $ac_includes_default
18359 long longval () { return (long) (sizeof (char)); }
18360 unsigned long ulongval () { return (long) (sizeof (char)); }
18362 #include <stdlib.h>
18367 FILE *f = fopen ("conftest.val", "w");
18370 if (((long) (sizeof (char))) < 0)
18372 long i = longval ();
18373 if (i != ((long) (sizeof (char))))
18375 fprintf (f, "%ld\n", i);
18379 unsigned long i = ulongval ();
18380 if (i != ((long) (sizeof (char))))
18382 fprintf (f, "%lu\n", i);
18384 exit (ferror (f) || fclose (f) != 0);
18390 rm -f conftest
$ac_exeext
18391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18392 (eval $ac_link) 2>&5
18394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18395 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
18396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18397 (eval $ac_try) 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; }; then
18401 ac_cv_sizeof_char
=`cat conftest.val`
18403 echo "$as_me: program exited with status $ac_status" >&5
18404 echo "$as_me: failed program was:" >&5
18405 sed 's/^/| /' conftest.
$ac_ext >&5
18407 ( exit $ac_status )
18408 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18409 echo "$as_me: error: in \`$ac_pwd':" >&2;}
18410 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18411 See \`config.log' for more details." >&5
18412 echo "$as_me: error: cannot compute sizeof (char), 77
18413 See \`config.log' for more details." >&2;}
18414 { (exit 1); exit 1; }; }; }
18416 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
18421 ac_cv_sizeof_char
=0
18424 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18425 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18426 cat >>confdefs.h
<<_ACEOF
18427 #define SIZEOF_CHAR $ac_cv_sizeof_char
18432 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
18433 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
18434 case "$ac_cv_sizeof_char" in
18435 1) acx_cv_type_int8_t
=char
;;
18436 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
18437 echo "$as_me: error: no 8-bit type" >&2;}
18438 { (exit please report a bug
); exit please report a bug
; }; }
18440 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
18441 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
18443 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
18444 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
18445 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
18446 2:*) acx_cv_type_int16_t
=int
;;
18447 *:2) acx_cv_type_int16_t
=short
;;
18448 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
18449 echo "$as_me: error: no 16-bit type" >&2;}
18450 { (exit please report a bug
); exit please report a bug
; }; }
18452 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
18453 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
18455 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
18456 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
18457 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
18458 4:*) acx_cv_type_int32_t
=int
;;
18459 *:4) acx_cv_type_int32_t
=long
;;
18460 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
18461 echo "$as_me: error: no 32-bit type" >&2;}
18462 { (exit please report a bug
); exit please report a bug
; }; }
18464 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
18465 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
18468 # These tests are here to make the output prettier
18470 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
18471 case "$ac_cv_sizeof_long" in
18472 8) acx_cv_type_int64_t
=long
;;
18474 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
18475 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
18476 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
18477 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
18480 # Now we can use the above types
18482 if test "$ac_cv_type_uintptr_t" != yes; then
18483 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
18484 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
18485 case $ac_cv_sizeof_void_p in
18486 2) acx_cv_type_intptr_t
=int16_t
;;
18487 4) acx_cv_type_intptr_t
=int32_t
;;
18488 8) acx_cv_type_intptr_t
=int64_t
;;
18489 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
18490 echo "$as_me: error: no equivalent for intptr_t" >&2;}
18491 { (exit please report a bug
); exit please report a bug
; }; }
18493 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
18494 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
18497 # ----------------- done all checks, emit header -------------
18498 ac_config_commands
="$ac_config_commands gstdint.h"
18503 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
18504 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
18505 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18508 cat >conftest.
$ac_ext <<_ACEOF
18511 cat confdefs.h
>>conftest.
$ac_ext
18512 cat >>conftest.
$ac_ext <<_ACEOF
18513 /* end confdefs.h. */
18514 $ac_includes_default
18518 static struct stat ac_aggr;
18519 if (ac_aggr.st_blksize)
18525 rm -f conftest.
$ac_objext
18526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18527 (eval $ac_compile) 2>conftest.er1
18529 grep -v '^ *+' conftest.er1
>conftest.err
18531 cat conftest.err
>&5
18532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18533 (exit $ac_status); } &&
18534 { ac_try
='test -z "$ac_c_werror_flag"
18535 || test ! -s conftest.err'
18536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18537 (eval $ac_try) 2>&5
18539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18540 (exit $ac_status); }; } &&
18541 { ac_try
='test -s conftest.$ac_objext'
18542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18543 (eval $ac_try) 2>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); }; }; then
18547 ac_cv_member_struct_stat_st_blksize
=yes
18549 echo "$as_me: failed program was:" >&5
18550 sed 's/^/| /' conftest.
$ac_ext >&5
18552 cat >conftest.
$ac_ext <<_ACEOF
18555 cat confdefs.h
>>conftest.
$ac_ext
18556 cat >>conftest.
$ac_ext <<_ACEOF
18557 /* end confdefs.h. */
18558 $ac_includes_default
18562 static struct stat ac_aggr;
18563 if (sizeof ac_aggr.st_blksize)
18569 rm -f conftest.
$ac_objext
18570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18571 (eval $ac_compile) 2>conftest.er1
18573 grep -v '^ *+' conftest.er1
>conftest.err
18575 cat conftest.err
>&5
18576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18577 (exit $ac_status); } &&
18578 { ac_try
='test -z "$ac_c_werror_flag"
18579 || test ! -s conftest.err'
18580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18581 (eval $ac_try) 2>&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); }; } &&
18585 { ac_try
='test -s conftest.$ac_objext'
18586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18587 (eval $ac_try) 2>&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); }; }; then
18591 ac_cv_member_struct_stat_st_blksize
=yes
18593 echo "$as_me: failed program was:" >&5
18594 sed 's/^/| /' conftest.
$ac_ext >&5
18596 ac_cv_member_struct_stat_st_blksize
=no
18598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18602 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
18603 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
18604 if test $ac_cv_member_struct_stat_st_blksize = yes; then
18606 cat >>confdefs.h
<<_ACEOF
18607 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
18613 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
18614 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
18615 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
18616 echo $ECHO_N "(cached) $ECHO_C" >&6
18618 cat >conftest.
$ac_ext <<_ACEOF
18621 cat confdefs.h
>>conftest.
$ac_ext
18622 cat >>conftest.
$ac_ext <<_ACEOF
18623 /* end confdefs.h. */
18624 $ac_includes_default
18628 static struct stat ac_aggr;
18629 if (ac_aggr.st_blocks)
18635 rm -f conftest.
$ac_objext
18636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18637 (eval $ac_compile) 2>conftest.er1
18639 grep -v '^ *+' conftest.er1
>conftest.err
18641 cat conftest.err
>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); } &&
18644 { ac_try
='test -z "$ac_c_werror_flag"
18645 || test ! -s conftest.err'
18646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18647 (eval $ac_try) 2>&5
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; } &&
18651 { ac_try
='test -s conftest.$ac_objext'
18652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18653 (eval $ac_try) 2>&5
18655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18656 (exit $ac_status); }; }; then
18657 ac_cv_member_struct_stat_st_blocks
=yes
18659 echo "$as_me: failed program was:" >&5
18660 sed 's/^/| /' conftest.
$ac_ext >&5
18662 cat >conftest.
$ac_ext <<_ACEOF
18665 cat confdefs.h
>>conftest.
$ac_ext
18666 cat >>conftest.
$ac_ext <<_ACEOF
18667 /* end confdefs.h. */
18668 $ac_includes_default
18672 static struct stat ac_aggr;
18673 if (sizeof ac_aggr.st_blocks)
18679 rm -f conftest.
$ac_objext
18680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18681 (eval $ac_compile) 2>conftest.er1
18683 grep -v '^ *+' conftest.er1
>conftest.err
18685 cat conftest.err
>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); } &&
18688 { ac_try
='test -z "$ac_c_werror_flag"
18689 || test ! -s conftest.err'
18690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18691 (eval $ac_try) 2>&5
18693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18694 (exit $ac_status); }; } &&
18695 { ac_try
='test -s conftest.$ac_objext'
18696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18697 (eval $ac_try) 2>&5
18699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18700 (exit $ac_status); }; }; then
18701 ac_cv_member_struct_stat_st_blocks
=yes
18703 echo "$as_me: failed program was:" >&5
18704 sed 's/^/| /' conftest.
$ac_ext >&5
18706 ac_cv_member_struct_stat_st_blocks
=no
18708 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18710 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18712 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
18713 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
18714 if test $ac_cv_member_struct_stat_st_blocks = yes; then
18716 cat >>confdefs.h
<<_ACEOF
18717 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18723 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
18724 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
18725 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 $ac_includes_default
18738 static struct stat ac_aggr;
18739 if (ac_aggr.st_rdev)
18745 rm -f conftest.
$ac_objext
18746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18747 (eval $ac_compile) 2>conftest.er1
18749 grep -v '^ *+' conftest.er1
>conftest.err
18751 cat conftest.err
>&5
18752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18753 (exit $ac_status); } &&
18754 { ac_try
='test -z "$ac_c_werror_flag"
18755 || test ! -s conftest.err'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; } &&
18761 { ac_try
='test -s conftest.$ac_objext'
18762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18763 (eval $ac_try) 2>&5
18765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18766 (exit $ac_status); }; }; then
18767 ac_cv_member_struct_stat_st_rdev
=yes
18769 echo "$as_me: failed program was:" >&5
18770 sed 's/^/| /' conftest.
$ac_ext >&5
18772 cat >conftest.
$ac_ext <<_ACEOF
18775 cat confdefs.h
>>conftest.
$ac_ext
18776 cat >>conftest.
$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 $ac_includes_default
18782 static struct stat ac_aggr;
18783 if (sizeof ac_aggr.st_rdev)
18789 rm -f conftest.
$ac_objext
18790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18791 (eval $ac_compile) 2>conftest.er1
18793 grep -v '^ *+' conftest.er1
>conftest.err
18795 cat conftest.err
>&5
18796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18797 (exit $ac_status); } &&
18798 { ac_try
='test -z "$ac_c_werror_flag"
18799 || test ! -s conftest.err'
18800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18801 (eval $ac_try) 2>&5
18803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18804 (exit $ac_status); }; } &&
18805 { ac_try
='test -s conftest.$ac_objext'
18806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18807 (eval $ac_try) 2>&5
18809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18810 (exit $ac_status); }; }; then
18811 ac_cv_member_struct_stat_st_rdev
=yes
18813 echo "$as_me: failed program was:" >&5
18814 sed 's/^/| /' conftest.
$ac_ext >&5
18816 ac_cv_member_struct_stat_st_rdev
=no
18818 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18822 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
18823 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
18824 if test $ac_cv_member_struct_stat_st_rdev = yes; then
18826 cat >>confdefs.h
<<_ACEOF
18827 #define HAVE_STRUCT_STAT_ST_RDEV 1
18834 # Check for library functions.
18843 for ac_func
in getrusage
times mkstemp strtof strtold snprintf ftruncate chsize
18845 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18846 echo "$as_me:$LINENO: checking for $ac_func" >&5
18847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18848 if eval "test \"\${$as_ac_var+set}\" = set"; then
18849 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 if test x
$gcc_no_link = xyes
; then
18852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18854 { (exit 1); exit 1; }; }
18856 cat >conftest.
$ac_ext <<_ACEOF
18859 cat confdefs.h
>>conftest.
$ac_ext
18860 cat >>conftest.
$ac_ext <<_ACEOF
18861 /* end confdefs.h. */
18862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18864 #define $ac_func innocuous_$ac_func
18866 /* System header to define __stub macros and hopefully few prototypes,
18867 which can conflict with char $ac_func (); below.
18868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18869 <limits.h> exists even on freestanding compilers. */
18872 # include <limits.h>
18874 # include <assert.h>
18879 /* Override any gcc2 internal prototype to avoid an error. */
18884 /* We use char because int might match the return type of a gcc2
18885 builtin and then its argument prototype would still apply. */
18887 /* The GNU C library defines this for functions which it implements
18888 to always fail with ENOSYS. Some functions are actually named
18889 something starting with __ and the normal name is an alias. */
18890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18893 char (*f) () = $ac_func;
18902 return f != $ac_func;
18907 rm -f conftest.
$ac_objext conftest
$ac_exeext
18908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18909 (eval $ac_link) 2>conftest.er1
18911 grep -v '^ *+' conftest.er1
>conftest.err
18913 cat conftest.err
>&5
18914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18915 (exit $ac_status); } &&
18916 { ac_try
='test -z "$ac_c_werror_flag"
18917 || test ! -s conftest.err'
18918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18919 (eval $ac_try) 2>&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); }; } &&
18923 { ac_try
='test -s conftest$ac_exeext'
18924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18925 (eval $ac_try) 2>&5
18927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18928 (exit $ac_status); }; }; then
18929 eval "$as_ac_var=yes"
18931 echo "$as_me: failed program was:" >&5
18932 sed 's/^/| /' conftest.
$ac_ext >&5
18934 eval "$as_ac_var=no"
18936 rm -f conftest.err conftest.
$ac_objext \
18937 conftest
$ac_exeext conftest.
$ac_ext
18939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18941 if test `eval echo '${'$as_ac_var'}'` = yes; then
18942 cat >>confdefs.h
<<_ACEOF
18943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18957 for ac_func
in chdir strerror getlogin gethostname
kill link symlink perror
18959 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18960 echo "$as_me:$LINENO: checking for $ac_func" >&5
18961 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18962 if eval "test \"\${$as_ac_var+set}\" = set"; then
18963 echo $ECHO_N "(cached) $ECHO_C" >&6
18965 if test x
$gcc_no_link = xyes
; then
18966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18968 { (exit 1); exit 1; }; }
18970 cat >conftest.
$ac_ext <<_ACEOF
18973 cat confdefs.h
>>conftest.
$ac_ext
18974 cat >>conftest.
$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18977 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18978 #define $ac_func innocuous_$ac_func
18980 /* System header to define __stub macros and hopefully few prototypes,
18981 which can conflict with char $ac_func (); below.
18982 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18983 <limits.h> exists even on freestanding compilers. */
18986 # include <limits.h>
18988 # include <assert.h>
18993 /* Override any gcc2 internal prototype to avoid an error. */
18998 /* We use char because int might match the return type of a gcc2
18999 builtin and then its argument prototype would still apply. */
19001 /* The GNU C library defines this for functions which it implements
19002 to always fail with ENOSYS. Some functions are actually named
19003 something starting with __ and the normal name is an alias. */
19004 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19007 char (*f) () = $ac_func;
19016 return f != $ac_func;
19021 rm -f conftest.
$ac_objext conftest
$ac_exeext
19022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19023 (eval $ac_link) 2>conftest.er1
19025 grep -v '^ *+' conftest.er1
>conftest.err
19027 cat conftest.err
>&5
19028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19029 (exit $ac_status); } &&
19030 { ac_try
='test -z "$ac_c_werror_flag"
19031 || test ! -s conftest.err'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; } &&
19037 { ac_try
='test -s conftest$ac_exeext'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; }; then
19043 eval "$as_ac_var=yes"
19045 echo "$as_me: failed program was:" >&5
19046 sed 's/^/| /' conftest.
$ac_ext >&5
19048 eval "$as_ac_var=no"
19050 rm -f conftest.err conftest.
$ac_objext \
19051 conftest
$ac_exeext conftest.
$ac_ext
19053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19054 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19055 if test `eval echo '${'$as_ac_var'}'` = yes; then
19056 cat >>confdefs.h
<<_ACEOF
19057 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19073 for ac_func
in sleep time ttyname signal alarm ctime
clock access fork execl
19075 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19076 echo "$as_me:$LINENO: checking for $ac_func" >&5
19077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19078 if eval "test \"\${$as_ac_var+set}\" = set"; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19081 if test x
$gcc_no_link = xyes
; then
19082 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19084 { (exit 1); exit 1; }; }
19086 cat >conftest.
$ac_ext <<_ACEOF
19089 cat confdefs.h
>>conftest.
$ac_ext
19090 cat >>conftest.
$ac_ext <<_ACEOF
19091 /* end confdefs.h. */
19092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19094 #define $ac_func innocuous_$ac_func
19096 /* System header to define __stub macros and hopefully few prototypes,
19097 which can conflict with char $ac_func (); below.
19098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19099 <limits.h> exists even on freestanding compilers. */
19102 # include <limits.h>
19104 # include <assert.h>
19109 /* Override any gcc2 internal prototype to avoid an error. */
19114 /* We use char because int might match the return type of a gcc2
19115 builtin and then its argument prototype would still apply. */
19117 /* The GNU C library defines this for functions which it implements
19118 to always fail with ENOSYS. Some functions are actually named
19119 something starting with __ and the normal name is an alias. */
19120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19123 char (*f) () = $ac_func;
19132 return f != $ac_func;
19137 rm -f conftest.
$ac_objext conftest
$ac_exeext
19138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19139 (eval $ac_link) 2>conftest.er1
19141 grep -v '^ *+' conftest.er1
>conftest.err
19143 cat conftest.err
>&5
19144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19145 (exit $ac_status); } &&
19146 { ac_try
='test -z "$ac_c_werror_flag"
19147 || test ! -s conftest.err'
19148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19149 (eval $ac_try) 2>&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); }; } &&
19153 { ac_try
='test -s conftest$ac_exeext'
19154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19155 (eval $ac_try) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); }; }; then
19159 eval "$as_ac_var=yes"
19161 echo "$as_me: failed program was:" >&5
19162 sed 's/^/| /' conftest.
$ac_ext >&5
19164 eval "$as_ac_var=no"
19166 rm -f conftest.err conftest.
$ac_objext \
19167 conftest
$ac_exeext conftest.
$ac_ext
19169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19171 if test `eval echo '${'$as_ac_var'}'` = yes; then
19172 cat >>confdefs.h
<<_ACEOF
19173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19188 for ac_func
in wait setmode execvp pipe dup2 close fdopen strcasestr getrlimit
19190 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19191 echo "$as_me:$LINENO: checking for $ac_func" >&5
19192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19193 if eval "test \"\${$as_ac_var+set}\" = set"; then
19194 echo $ECHO_N "(cached) $ECHO_C" >&6
19196 if test x
$gcc_no_link = xyes
; then
19197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19199 { (exit 1); exit 1; }; }
19201 cat >conftest.
$ac_ext <<_ACEOF
19204 cat confdefs.h
>>conftest.
$ac_ext
19205 cat >>conftest.
$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19209 #define $ac_func innocuous_$ac_func
19211 /* System header to define __stub macros and hopefully few prototypes,
19212 which can conflict with char $ac_func (); below.
19213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19214 <limits.h> exists even on freestanding compilers. */
19217 # include <limits.h>
19219 # include <assert.h>
19224 /* Override any gcc2 internal prototype to avoid an error. */
19229 /* We use char because int might match the return type of a gcc2
19230 builtin and then its argument prototype would still apply. */
19232 /* The GNU C library defines this for functions which it implements
19233 to always fail with ENOSYS. Some functions are actually named
19234 something starting with __ and the normal name is an alias. */
19235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19238 char (*f) () = $ac_func;
19247 return f != $ac_func;
19252 rm -f conftest.
$ac_objext conftest
$ac_exeext
19253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19254 (eval $ac_link) 2>conftest.er1
19256 grep -v '^ *+' conftest.er1
>conftest.err
19258 cat conftest.err
>&5
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); } &&
19261 { ac_try
='test -z "$ac_c_werror_flag"
19262 || test ! -s conftest.err'
19263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19264 (eval $ac_try) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); }; } &&
19268 { ac_try
='test -s conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 eval "$as_ac_var=yes"
19276 echo "$as_me: failed program was:" >&5
19277 sed 's/^/| /' conftest.
$ac_ext >&5
19279 eval "$as_ac_var=no"
19281 rm -f conftest.err conftest.
$ac_objext \
19282 conftest
$ac_exeext conftest.
$ac_ext
19284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19286 if test `eval echo '${'$as_ac_var'}'` = yes; then
19287 cat >>confdefs.h
<<_ACEOF
19288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19302 for ac_func
in gettimeofday stat fstat lstat getpwuid vsnprintf dup getcwd
19304 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19305 echo "$as_me:$LINENO: checking for $ac_func" >&5
19306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19307 if eval "test \"\${$as_ac_var+set}\" = set"; then
19308 echo $ECHO_N "(cached) $ECHO_C" >&6
19310 if test x
$gcc_no_link = xyes
; then
19311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19313 { (exit 1); exit 1; }; }
19315 cat >conftest.
$ac_ext <<_ACEOF
19318 cat confdefs.h
>>conftest.
$ac_ext
19319 cat >>conftest.
$ac_ext <<_ACEOF
19320 /* end confdefs.h. */
19321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19323 #define $ac_func innocuous_$ac_func
19325 /* System header to define __stub macros and hopefully few prototypes,
19326 which can conflict with char $ac_func (); below.
19327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19328 <limits.h> exists even on freestanding compilers. */
19331 # include <limits.h>
19333 # include <assert.h>
19338 /* Override any gcc2 internal prototype to avoid an error. */
19343 /* We use char because int might match the return type of a gcc2
19344 builtin and then its argument prototype would still apply. */
19346 /* The GNU C library defines this for functions which it implements
19347 to always fail with ENOSYS. Some functions are actually named
19348 something starting with __ and the normal name is an alias. */
19349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19352 char (*f) () = $ac_func;
19361 return f != $ac_func;
19366 rm -f conftest.
$ac_objext conftest
$ac_exeext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19368 (eval $ac_link) 2>conftest.er1
19370 grep -v '^ *+' conftest.er1
>conftest.err
19372 cat conftest.err
>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } &&
19375 { ac_try
='test -z "$ac_c_werror_flag"
19376 || test ! -s conftest.err'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; } &&
19382 { ac_try
='test -s conftest$ac_exeext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 eval "$as_ac_var=yes"
19390 echo "$as_me: failed program was:" >&5
19391 sed 's/^/| /' conftest.
$ac_ext >&5
19393 eval "$as_ac_var=no"
19395 rm -f conftest.err conftest.
$ac_objext \
19396 conftest
$ac_exeext conftest.
$ac_ext
19398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19400 if test `eval echo '${'$as_ac_var'}'` = yes; then
19401 cat >>confdefs.h
<<_ACEOF
19402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19409 # Check for glibc backtrace functions
19412 for ac_func
in backtrace backtrace_symbols
19414 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19415 echo "$as_me:$LINENO: checking for $ac_func" >&5
19416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19417 if eval "test \"\${$as_ac_var+set}\" = set"; then
19418 echo $ECHO_N "(cached) $ECHO_C" >&6
19420 if test x
$gcc_no_link = xyes
; then
19421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19423 { (exit 1); exit 1; }; }
19425 cat >conftest.
$ac_ext <<_ACEOF
19428 cat confdefs.h
>>conftest.
$ac_ext
19429 cat >>conftest.
$ac_ext <<_ACEOF
19430 /* end confdefs.h. */
19431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19433 #define $ac_func innocuous_$ac_func
19435 /* System header to define __stub macros and hopefully few prototypes,
19436 which can conflict with char $ac_func (); below.
19437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19438 <limits.h> exists even on freestanding compilers. */
19441 # include <limits.h>
19443 # include <assert.h>
19448 /* Override any gcc2 internal prototype to avoid an error. */
19453 /* We use char because int might match the return type of a gcc2
19454 builtin and then its argument prototype would still apply. */
19456 /* The GNU C library defines this for functions which it implements
19457 to always fail with ENOSYS. Some functions are actually named
19458 something starting with __ and the normal name is an alias. */
19459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19462 char (*f) () = $ac_func;
19471 return f != $ac_func;
19476 rm -f conftest.
$ac_objext conftest
$ac_exeext
19477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19478 (eval $ac_link) 2>conftest.er1
19480 grep -v '^ *+' conftest.er1
>conftest.err
19482 cat conftest.err
>&5
19483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19484 (exit $ac_status); } &&
19485 { ac_try
='test -z "$ac_c_werror_flag"
19486 || test ! -s conftest.err'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; } &&
19492 { ac_try
='test -s conftest$ac_exeext'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; }; then
19498 eval "$as_ac_var=yes"
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.
$ac_ext >&5
19503 eval "$as_ac_var=no"
19505 rm -f conftest.err conftest.
$ac_objext \
19506 conftest
$ac_exeext conftest.
$ac_ext
19508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19510 if test `eval echo '${'$as_ac_var'}'` = yes; then
19511 cat >>confdefs.h
<<_ACEOF
19512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19520 echo "$as_me:$LINENO: checking for intptr_t" >&5
19521 echo $ECHO_N "checking for intptr_t... $ECHO_C" >&6
19522 if test "${ac_cv_type_intptr_t+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19525 cat >conftest.
$ac_ext <<_ACEOF
19528 cat confdefs.h
>>conftest.
$ac_ext
19529 cat >>conftest.
$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19535 if ((intptr_t *) 0)
19537 if (sizeof (intptr_t))
19543 rm -f conftest.
$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19547 grep -v '^ *+' conftest.er1
>conftest.err
19549 cat conftest.err
>&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try
='test -z "$ac_c_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try
='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 ac_cv_type_intptr_t
=yes
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.
$ac_ext >&5
19570 ac_cv_type_intptr_t
=no
19572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19574 echo "$as_me:$LINENO: result: $ac_cv_type_intptr_t" >&5
19575 echo "${ECHO_T}$ac_cv_type_intptr_t" >&6
19576 if test $ac_cv_type_intptr_t = yes; then
19578 cat >>confdefs.h
<<_ACEOF
19579 #define HAVE_INTPTR_T 1
19585 echo "$as_me:$LINENO: checking for uintptr_t" >&5
19586 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
19587 if test "${ac_cv_type_uintptr_t+set}" = set; then
19588 echo $ECHO_N "(cached) $ECHO_C" >&6
19590 cat >conftest.
$ac_ext <<_ACEOF
19593 cat confdefs.h
>>conftest.
$ac_ext
19594 cat >>conftest.
$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19600 if ((uintptr_t *) 0)
19602 if (sizeof (uintptr_t))
19608 rm -f conftest.
$ac_objext
19609 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19610 (eval $ac_compile) 2>conftest.er1
19612 grep -v '^ *+' conftest.er1
>conftest.err
19614 cat conftest.err
>&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } &&
19617 { ac_try
='test -z "$ac_c_werror_flag"
19618 || test ! -s conftest.err'
19619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620 (eval $ac_try) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; } &&
19624 { ac_try
='test -s conftest.$ac_objext'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; }; then
19630 ac_cv_type_uintptr_t
=yes
19632 echo "$as_me: failed program was:" >&5
19633 sed 's/^/| /' conftest.
$ac_ext >&5
19635 ac_cv_type_uintptr_t
=no
19637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19639 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
19640 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
19641 if test $ac_cv_type_uintptr_t = yes; then
19643 cat >>confdefs.h
<<_ACEOF
19644 #define HAVE_UINTPTR_T 1
19651 # Check libc for getgid, getpid, getuid
19652 echo "$as_me:$LINENO: checking for getgid in -lc" >&5
19653 echo $ECHO_N "checking for getgid in -lc... $ECHO_C" >&6
19654 if test "${ac_cv_lib_c_getgid+set}" = set; then
19655 echo $ECHO_N "(cached) $ECHO_C" >&6
19657 ac_check_lib_save_LIBS
=$LIBS
19659 if test x
$gcc_no_link = xyes
; then
19660 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19661 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19662 { (exit 1); exit 1; }; }
19664 cat >conftest.
$ac_ext <<_ACEOF
19667 cat confdefs.h
>>conftest.
$ac_ext
19668 cat >>conftest.
$ac_ext <<_ACEOF
19669 /* end confdefs.h. */
19671 /* Override any gcc2 internal prototype to avoid an error. */
19675 /* We use char because int might match the return type of a gcc2
19676 builtin and then its argument prototype would still apply. */
19686 rm -f conftest.
$ac_objext conftest
$ac_exeext
19687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19688 (eval $ac_link) 2>conftest.er1
19690 grep -v '^ *+' conftest.er1
>conftest.err
19692 cat conftest.err
>&5
19693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19694 (exit $ac_status); } &&
19695 { ac_try
='test -z "$ac_c_werror_flag"
19696 || test ! -s conftest.err'
19697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19698 (eval $ac_try) 2>&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); }; } &&
19702 { ac_try
='test -s conftest$ac_exeext'
19703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19704 (eval $ac_try) 2>&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); }; }; then
19708 ac_cv_lib_c_getgid
=yes
19710 echo "$as_me: failed program was:" >&5
19711 sed 's/^/| /' conftest.
$ac_ext >&5
19713 ac_cv_lib_c_getgid
=no
19715 rm -f conftest.err conftest.
$ac_objext \
19716 conftest
$ac_exeext conftest.
$ac_ext
19717 LIBS
=$ac_check_lib_save_LIBS
19719 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getgid" >&5
19720 echo "${ECHO_T}$ac_cv_lib_c_getgid" >&6
19721 if test $ac_cv_lib_c_getgid = yes; then
19723 cat >>confdefs.h
<<\_ACEOF
19724 #define HAVE_GETGID 1
19729 echo "$as_me:$LINENO: checking for getpid in -lc" >&5
19730 echo $ECHO_N "checking for getpid in -lc... $ECHO_C" >&6
19731 if test "${ac_cv_lib_c_getpid+set}" = set; then
19732 echo $ECHO_N "(cached) $ECHO_C" >&6
19734 ac_check_lib_save_LIBS
=$LIBS
19736 if test x
$gcc_no_link = xyes
; then
19737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19739 { (exit 1); exit 1; }; }
19741 cat >conftest.
$ac_ext <<_ACEOF
19744 cat confdefs.h
>>conftest.
$ac_ext
19745 cat >>conftest.
$ac_ext <<_ACEOF
19746 /* end confdefs.h. */
19748 /* Override any gcc2 internal prototype to avoid an error. */
19752 /* We use char because int might match the return type of a gcc2
19753 builtin and then its argument prototype would still apply. */
19763 rm -f conftest.
$ac_objext conftest
$ac_exeext
19764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19765 (eval $ac_link) 2>conftest.er1
19767 grep -v '^ *+' conftest.er1
>conftest.err
19769 cat conftest.err
>&5
19770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19771 (exit $ac_status); } &&
19772 { ac_try
='test -z "$ac_c_werror_flag"
19773 || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try
='test -s conftest$ac_exeext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_cv_lib_c_getpid
=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.
$ac_ext >&5
19790 ac_cv_lib_c_getpid
=no
19792 rm -f conftest.err conftest.
$ac_objext \
19793 conftest
$ac_exeext conftest.
$ac_ext
19794 LIBS
=$ac_check_lib_save_LIBS
19796 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getpid" >&5
19797 echo "${ECHO_T}$ac_cv_lib_c_getpid" >&6
19798 if test $ac_cv_lib_c_getpid = yes; then
19800 cat >>confdefs.h
<<\_ACEOF
19801 #define HAVE_GETPID 1
19806 echo "$as_me:$LINENO: checking for getppid in -lc" >&5
19807 echo $ECHO_N "checking for getppid in -lc... $ECHO_C" >&6
19808 if test "${ac_cv_lib_c_getppid+set}" = set; then
19809 echo $ECHO_N "(cached) $ECHO_C" >&6
19811 ac_check_lib_save_LIBS
=$LIBS
19813 if test x
$gcc_no_link = xyes
; then
19814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19816 { (exit 1); exit 1; }; }
19818 cat >conftest.
$ac_ext <<_ACEOF
19821 cat confdefs.h
>>conftest.
$ac_ext
19822 cat >>conftest.
$ac_ext <<_ACEOF
19823 /* end confdefs.h. */
19825 /* Override any gcc2 internal prototype to avoid an error. */
19829 /* We use char because int might match the return type of a gcc2
19830 builtin and then its argument prototype would still apply. */
19840 rm -f conftest.
$ac_objext conftest
$ac_exeext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19842 (eval $ac_link) 2>conftest.er1
19844 grep -v '^ *+' conftest.er1
>conftest.err
19846 cat conftest.err
>&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try
='test -z "$ac_c_werror_flag"
19850 || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try
='test -s conftest$ac_exeext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 ac_cv_lib_c_getppid
=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.
$ac_ext >&5
19867 ac_cv_lib_c_getppid
=no
19869 rm -f conftest.err conftest.
$ac_objext \
19870 conftest
$ac_exeext conftest.
$ac_ext
19871 LIBS
=$ac_check_lib_save_LIBS
19873 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getppid" >&5
19874 echo "${ECHO_T}$ac_cv_lib_c_getppid" >&6
19875 if test $ac_cv_lib_c_getppid = yes; then
19877 cat >>confdefs.h
<<\_ACEOF
19878 #define HAVE_GETPPID 1
19883 echo "$as_me:$LINENO: checking for getuid in -lc" >&5
19884 echo $ECHO_N "checking for getuid in -lc... $ECHO_C" >&6
19885 if test "${ac_cv_lib_c_getuid+set}" = set; then
19886 echo $ECHO_N "(cached) $ECHO_C" >&6
19888 ac_check_lib_save_LIBS
=$LIBS
19890 if test x
$gcc_no_link = xyes
; then
19891 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19892 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19893 { (exit 1); exit 1; }; }
19895 cat >conftest.
$ac_ext <<_ACEOF
19898 cat confdefs.h
>>conftest.
$ac_ext
19899 cat >>conftest.
$ac_ext <<_ACEOF
19900 /* end confdefs.h. */
19902 /* Override any gcc2 internal prototype to avoid an error. */
19906 /* We use char because int might match the return type of a gcc2
19907 builtin and then its argument prototype would still apply. */
19917 rm -f conftest.
$ac_objext conftest
$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>conftest.er1
19921 grep -v '^ *+' conftest.er1
>conftest.err
19923 cat conftest.err
>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } &&
19926 { ac_try
='test -z "$ac_c_werror_flag"
19927 || test ! -s conftest.err'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try
='test -s conftest$ac_exeext'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; }; then
19939 ac_cv_lib_c_getuid
=yes
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.
$ac_ext >&5
19944 ac_cv_lib_c_getuid
=no
19946 rm -f conftest.err conftest.
$ac_objext \
19947 conftest
$ac_exeext conftest.
$ac_ext
19948 LIBS
=$ac_check_lib_save_LIBS
19950 echo "$as_me:$LINENO: result: $ac_cv_lib_c_getuid" >&5
19951 echo "${ECHO_T}$ac_cv_lib_c_getuid" >&6
19952 if test $ac_cv_lib_c_getuid = yes; then
19954 cat >>confdefs.h
<<\_ACEOF
19955 #define HAVE_GETUID 1
19960 echo "$as_me:$LINENO: checking for geteuid in -lc" >&5
19961 echo $ECHO_N "checking for geteuid in -lc... $ECHO_C" >&6
19962 if test "${ac_cv_lib_c_geteuid+set}" = set; then
19963 echo $ECHO_N "(cached) $ECHO_C" >&6
19965 ac_check_lib_save_LIBS
=$LIBS
19967 if test x
$gcc_no_link = xyes
; then
19968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19970 { (exit 1); exit 1; }; }
19972 cat >conftest.
$ac_ext <<_ACEOF
19975 cat confdefs.h
>>conftest.
$ac_ext
19976 cat >>conftest.
$ac_ext <<_ACEOF
19977 /* end confdefs.h. */
19979 /* Override any gcc2 internal prototype to avoid an error. */
19983 /* We use char because int might match the return type of a gcc2
19984 builtin and then its argument prototype would still apply. */
19994 rm -f conftest.
$ac_objext conftest
$ac_exeext
19995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19996 (eval $ac_link) 2>conftest.er1
19998 grep -v '^ *+' conftest.er1
>conftest.err
20000 cat conftest.err
>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); } &&
20003 { ac_try
='test -z "$ac_c_werror_flag"
20004 || test ! -s conftest.err'
20005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20006 (eval $ac_try) 2>&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); }; } &&
20010 { ac_try
='test -s conftest$ac_exeext'
20011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20012 (eval $ac_try) 2>&5
20014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20015 (exit $ac_status); }; }; then
20016 ac_cv_lib_c_geteuid
=yes
20018 echo "$as_me: failed program was:" >&5
20019 sed 's/^/| /' conftest.
$ac_ext >&5
20021 ac_cv_lib_c_geteuid
=no
20023 rm -f conftest.err conftest.
$ac_objext \
20024 conftest
$ac_exeext conftest.
$ac_ext
20025 LIBS
=$ac_check_lib_save_LIBS
20027 echo "$as_me:$LINENO: result: $ac_cv_lib_c_geteuid" >&5
20028 echo "${ECHO_T}$ac_cv_lib_c_geteuid" >&6
20029 if test $ac_cv_lib_c_geteuid = yes; then
20031 cat >>confdefs.h
<<\_ACEOF
20032 #define HAVE_GETEUID 1
20038 # Check for C99 (and other IEEE) math functions
20039 echo "$as_me:$LINENO: checking for acosf in -lm" >&5
20040 echo $ECHO_N "checking for acosf in -lm... $ECHO_C" >&6
20041 if test "${ac_cv_lib_m_acosf+set}" = set; then
20042 echo $ECHO_N "(cached) $ECHO_C" >&6
20044 ac_check_lib_save_LIBS
=$LIBS
20046 if test x
$gcc_no_link = xyes
; then
20047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20049 { (exit 1); exit 1; }; }
20051 cat >conftest.
$ac_ext <<_ACEOF
20054 cat confdefs.h
>>conftest.
$ac_ext
20055 cat >>conftest.
$ac_ext <<_ACEOF
20056 /* end confdefs.h. */
20058 /* Override any gcc2 internal prototype to avoid an error. */
20062 /* We use char because int might match the return type of a gcc2
20063 builtin and then its argument prototype would still apply. */
20073 rm -f conftest.
$ac_objext conftest
$ac_exeext
20074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20075 (eval $ac_link) 2>conftest.er1
20077 grep -v '^ *+' conftest.er1
>conftest.err
20079 cat conftest.err
>&5
20080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20081 (exit $ac_status); } &&
20082 { ac_try
='test -z "$ac_c_werror_flag"
20083 || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try
='test -s conftest$ac_exeext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 ac_cv_lib_m_acosf
=yes
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.
$ac_ext >&5
20100 ac_cv_lib_m_acosf
=no
20102 rm -f conftest.err conftest.
$ac_objext \
20103 conftest
$ac_exeext conftest.
$ac_ext
20104 LIBS
=$ac_check_lib_save_LIBS
20106 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosf" >&5
20107 echo "${ECHO_T}$ac_cv_lib_m_acosf" >&6
20108 if test $ac_cv_lib_m_acosf = yes; then
20110 cat >>confdefs.h
<<\_ACEOF
20111 #define HAVE_ACOSF 1
20116 echo "$as_me:$LINENO: checking for acos in -lm" >&5
20117 echo $ECHO_N "checking for acos in -lm... $ECHO_C" >&6
20118 if test "${ac_cv_lib_m_acos+set}" = set; then
20119 echo $ECHO_N "(cached) $ECHO_C" >&6
20121 ac_check_lib_save_LIBS
=$LIBS
20123 if test x
$gcc_no_link = xyes
; then
20124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20126 { (exit 1); exit 1; }; }
20128 cat >conftest.
$ac_ext <<_ACEOF
20131 cat confdefs.h
>>conftest.
$ac_ext
20132 cat >>conftest.
$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20135 /* Override any gcc2 internal prototype to avoid an error. */
20139 /* We use char because int might match the return type of a gcc2
20140 builtin and then its argument prototype would still apply. */
20150 rm -f conftest.
$ac_objext conftest
$ac_exeext
20151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20152 (eval $ac_link) 2>conftest.er1
20154 grep -v '^ *+' conftest.er1
>conftest.err
20156 cat conftest.err
>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); } &&
20159 { ac_try
='test -z "$ac_c_werror_flag"
20160 || test ! -s conftest.err'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; } &&
20166 { ac_try
='test -s conftest$ac_exeext'
20167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20168 (eval $ac_try) 2>&5
20170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20171 (exit $ac_status); }; }; then
20172 ac_cv_lib_m_acos
=yes
20174 echo "$as_me: failed program was:" >&5
20175 sed 's/^/| /' conftest.
$ac_ext >&5
20177 ac_cv_lib_m_acos
=no
20179 rm -f conftest.err conftest.
$ac_objext \
20180 conftest
$ac_exeext conftest.
$ac_ext
20181 LIBS
=$ac_check_lib_save_LIBS
20183 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acos" >&5
20184 echo "${ECHO_T}$ac_cv_lib_m_acos" >&6
20185 if test $ac_cv_lib_m_acos = yes; then
20187 cat >>confdefs.h
<<\_ACEOF
20188 #define HAVE_ACOS 1
20193 echo "$as_me:$LINENO: checking for acosl in -lm" >&5
20194 echo $ECHO_N "checking for acosl in -lm... $ECHO_C" >&6
20195 if test "${ac_cv_lib_m_acosl+set}" = set; then
20196 echo $ECHO_N "(cached) $ECHO_C" >&6
20198 ac_check_lib_save_LIBS
=$LIBS
20200 if test x
$gcc_no_link = xyes
; then
20201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20203 { (exit 1); exit 1; }; }
20205 cat >conftest.
$ac_ext <<_ACEOF
20208 cat confdefs.h
>>conftest.
$ac_ext
20209 cat >>conftest.
$ac_ext <<_ACEOF
20210 /* end confdefs.h. */
20212 /* Override any gcc2 internal prototype to avoid an error. */
20216 /* We use char because int might match the return type of a gcc2
20217 builtin and then its argument prototype would still apply. */
20227 rm -f conftest.
$ac_objext conftest
$ac_exeext
20228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20229 (eval $ac_link) 2>conftest.er1
20231 grep -v '^ *+' conftest.er1
>conftest.err
20233 cat conftest.err
>&5
20234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20235 (exit $ac_status); } &&
20236 { ac_try
='test -z "$ac_c_werror_flag"
20237 || test ! -s conftest.err'
20238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20239 (eval $ac_try) 2>&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); }; } &&
20243 { ac_try
='test -s conftest$ac_exeext'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; }; then
20249 ac_cv_lib_m_acosl
=yes
20251 echo "$as_me: failed program was:" >&5
20252 sed 's/^/| /' conftest.
$ac_ext >&5
20254 ac_cv_lib_m_acosl
=no
20256 rm -f conftest.err conftest.
$ac_objext \
20257 conftest
$ac_exeext conftest.
$ac_ext
20258 LIBS
=$ac_check_lib_save_LIBS
20260 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosl" >&5
20261 echo "${ECHO_T}$ac_cv_lib_m_acosl" >&6
20262 if test $ac_cv_lib_m_acosl = yes; then
20264 cat >>confdefs.h
<<\_ACEOF
20265 #define HAVE_ACOSL 1
20270 echo "$as_me:$LINENO: checking for acoshf in -lm" >&5
20271 echo $ECHO_N "checking for acoshf in -lm... $ECHO_C" >&6
20272 if test "${ac_cv_lib_m_acoshf+set}" = set; then
20273 echo $ECHO_N "(cached) $ECHO_C" >&6
20275 ac_check_lib_save_LIBS
=$LIBS
20277 if test x
$gcc_no_link = xyes
; then
20278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20280 { (exit 1); exit 1; }; }
20282 cat >conftest.
$ac_ext <<_ACEOF
20285 cat confdefs.h
>>conftest.
$ac_ext
20286 cat >>conftest.
$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20289 /* Override any gcc2 internal prototype to avoid an error. */
20293 /* We use char because int might match the return type of a gcc2
20294 builtin and then its argument prototype would still apply. */
20304 rm -f conftest.
$ac_objext conftest
$ac_exeext
20305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20306 (eval $ac_link) 2>conftest.er1
20308 grep -v '^ *+' conftest.er1
>conftest.err
20310 cat conftest.err
>&5
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); } &&
20313 { ac_try
='test -z "$ac_c_werror_flag"
20314 || test ! -s conftest.err'
20315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20316 (eval $ac_try) 2>&5
20318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20319 (exit $ac_status); }; } &&
20320 { ac_try
='test -s conftest$ac_exeext'
20321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20322 (eval $ac_try) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); }; }; then
20326 ac_cv_lib_m_acoshf
=yes
20328 echo "$as_me: failed program was:" >&5
20329 sed 's/^/| /' conftest.
$ac_ext >&5
20331 ac_cv_lib_m_acoshf
=no
20333 rm -f conftest.err conftest.
$ac_objext \
20334 conftest
$ac_exeext conftest.
$ac_ext
20335 LIBS
=$ac_check_lib_save_LIBS
20337 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshf" >&5
20338 echo "${ECHO_T}$ac_cv_lib_m_acoshf" >&6
20339 if test $ac_cv_lib_m_acoshf = yes; then
20341 cat >>confdefs.h
<<\_ACEOF
20342 #define HAVE_ACOSHF 1
20347 echo "$as_me:$LINENO: checking for acosh in -lm" >&5
20348 echo $ECHO_N "checking for acosh in -lm... $ECHO_C" >&6
20349 if test "${ac_cv_lib_m_acosh+set}" = set; then
20350 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 ac_check_lib_save_LIBS
=$LIBS
20354 if test x
$gcc_no_link = xyes
; then
20355 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20356 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20357 { (exit 1); exit 1; }; }
20359 cat >conftest.
$ac_ext <<_ACEOF
20362 cat confdefs.h
>>conftest.
$ac_ext
20363 cat >>conftest.
$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20366 /* Override any gcc2 internal prototype to avoid an error. */
20370 /* We use char because int might match the return type of a gcc2
20371 builtin and then its argument prototype would still apply. */
20381 rm -f conftest.
$ac_objext conftest
$ac_exeext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20383 (eval $ac_link) 2>conftest.er1
20385 grep -v '^ *+' conftest.er1
>conftest.err
20387 cat conftest.err
>&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try
='test -z "$ac_c_werror_flag"
20391 || test ! -s conftest.err'
20392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20393 (eval $ac_try) 2>&5
20395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20396 (exit $ac_status); }; } &&
20397 { ac_try
='test -s conftest$ac_exeext'
20398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20399 (eval $ac_try) 2>&5
20401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20402 (exit $ac_status); }; }; then
20403 ac_cv_lib_m_acosh
=yes
20405 echo "$as_me: failed program was:" >&5
20406 sed 's/^/| /' conftest.
$ac_ext >&5
20408 ac_cv_lib_m_acosh
=no
20410 rm -f conftest.err conftest.
$ac_objext \
20411 conftest
$ac_exeext conftest.
$ac_ext
20412 LIBS
=$ac_check_lib_save_LIBS
20414 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acosh" >&5
20415 echo "${ECHO_T}$ac_cv_lib_m_acosh" >&6
20416 if test $ac_cv_lib_m_acosh = yes; then
20418 cat >>confdefs.h
<<\_ACEOF
20419 #define HAVE_ACOSH 1
20424 echo "$as_me:$LINENO: checking for acoshl in -lm" >&5
20425 echo $ECHO_N "checking for acoshl in -lm... $ECHO_C" >&6
20426 if test "${ac_cv_lib_m_acoshl+set}" = set; then
20427 echo $ECHO_N "(cached) $ECHO_C" >&6
20429 ac_check_lib_save_LIBS
=$LIBS
20431 if test x
$gcc_no_link = xyes
; then
20432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20434 { (exit 1); exit 1; }; }
20436 cat >conftest.
$ac_ext <<_ACEOF
20439 cat confdefs.h
>>conftest.
$ac_ext
20440 cat >>conftest.
$ac_ext <<_ACEOF
20441 /* end confdefs.h. */
20443 /* Override any gcc2 internal prototype to avoid an error. */
20447 /* We use char because int might match the return type of a gcc2
20448 builtin and then its argument prototype would still apply. */
20458 rm -f conftest.
$ac_objext conftest
$ac_exeext
20459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20460 (eval $ac_link) 2>conftest.er1
20462 grep -v '^ *+' conftest.er1
>conftest.err
20464 cat conftest.err
>&5
20465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20466 (exit $ac_status); } &&
20467 { ac_try
='test -z "$ac_c_werror_flag"
20468 || test ! -s conftest.err'
20469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20470 (eval $ac_try) 2>&5
20472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20473 (exit $ac_status); }; } &&
20474 { ac_try
='test -s conftest$ac_exeext'
20475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20476 (eval $ac_try) 2>&5
20478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20479 (exit $ac_status); }; }; then
20480 ac_cv_lib_m_acoshl
=yes
20482 echo "$as_me: failed program was:" >&5
20483 sed 's/^/| /' conftest.
$ac_ext >&5
20485 ac_cv_lib_m_acoshl
=no
20487 rm -f conftest.err conftest.
$ac_objext \
20488 conftest
$ac_exeext conftest.
$ac_ext
20489 LIBS
=$ac_check_lib_save_LIBS
20491 echo "$as_me:$LINENO: result: $ac_cv_lib_m_acoshl" >&5
20492 echo "${ECHO_T}$ac_cv_lib_m_acoshl" >&6
20493 if test $ac_cv_lib_m_acoshl = yes; then
20495 cat >>confdefs.h
<<\_ACEOF
20496 #define HAVE_ACOSHL 1
20501 echo "$as_me:$LINENO: checking for asinf in -lm" >&5
20502 echo $ECHO_N "checking for asinf in -lm... $ECHO_C" >&6
20503 if test "${ac_cv_lib_m_asinf+set}" = set; then
20504 echo $ECHO_N "(cached) $ECHO_C" >&6
20506 ac_check_lib_save_LIBS
=$LIBS
20508 if test x
$gcc_no_link = xyes
; then
20509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20511 { (exit 1); exit 1; }; }
20513 cat >conftest.
$ac_ext <<_ACEOF
20516 cat confdefs.h
>>conftest.
$ac_ext
20517 cat >>conftest.
$ac_ext <<_ACEOF
20518 /* end confdefs.h. */
20520 /* Override any gcc2 internal prototype to avoid an error. */
20524 /* We use char because int might match the return type of a gcc2
20525 builtin and then its argument prototype would still apply. */
20535 rm -f conftest.
$ac_objext conftest
$ac_exeext
20536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20537 (eval $ac_link) 2>conftest.er1
20539 grep -v '^ *+' conftest.er1
>conftest.err
20541 cat conftest.err
>&5
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); } &&
20544 { ac_try
='test -z "$ac_c_werror_flag"
20545 || test ! -s conftest.err'
20546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20547 (eval $ac_try) 2>&5
20549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20550 (exit $ac_status); }; } &&
20551 { ac_try
='test -s conftest$ac_exeext'
20552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20553 (eval $ac_try) 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); }; }; then
20557 ac_cv_lib_m_asinf
=yes
20559 echo "$as_me: failed program was:" >&5
20560 sed 's/^/| /' conftest.
$ac_ext >&5
20562 ac_cv_lib_m_asinf
=no
20564 rm -f conftest.err conftest.
$ac_objext \
20565 conftest
$ac_exeext conftest.
$ac_ext
20566 LIBS
=$ac_check_lib_save_LIBS
20568 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinf" >&5
20569 echo "${ECHO_T}$ac_cv_lib_m_asinf" >&6
20570 if test $ac_cv_lib_m_asinf = yes; then
20572 cat >>confdefs.h
<<\_ACEOF
20573 #define HAVE_ASINF 1
20578 echo "$as_me:$LINENO: checking for asin in -lm" >&5
20579 echo $ECHO_N "checking for asin in -lm... $ECHO_C" >&6
20580 if test "${ac_cv_lib_m_asin+set}" = set; then
20581 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 ac_check_lib_save_LIBS
=$LIBS
20585 if test x
$gcc_no_link = xyes
; then
20586 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20587 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20588 { (exit 1); exit 1; }; }
20590 cat >conftest.
$ac_ext <<_ACEOF
20593 cat confdefs.h
>>conftest.
$ac_ext
20594 cat >>conftest.
$ac_ext <<_ACEOF
20595 /* end confdefs.h. */
20597 /* Override any gcc2 internal prototype to avoid an error. */
20601 /* We use char because int might match the return type of a gcc2
20602 builtin and then its argument prototype would still apply. */
20612 rm -f conftest.
$ac_objext conftest
$ac_exeext
20613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20614 (eval $ac_link) 2>conftest.er1
20616 grep -v '^ *+' conftest.er1
>conftest.err
20618 cat conftest.err
>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); } &&
20621 { ac_try
='test -z "$ac_c_werror_flag"
20622 || test ! -s conftest.err'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; } &&
20628 { ac_try
='test -s conftest$ac_exeext'
20629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20630 (eval $ac_try) 2>&5
20632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20633 (exit $ac_status); }; }; then
20634 ac_cv_lib_m_asin
=yes
20636 echo "$as_me: failed program was:" >&5
20637 sed 's/^/| /' conftest.
$ac_ext >&5
20639 ac_cv_lib_m_asin
=no
20641 rm -f conftest.err conftest.
$ac_objext \
20642 conftest
$ac_exeext conftest.
$ac_ext
20643 LIBS
=$ac_check_lib_save_LIBS
20645 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asin" >&5
20646 echo "${ECHO_T}$ac_cv_lib_m_asin" >&6
20647 if test $ac_cv_lib_m_asin = yes; then
20649 cat >>confdefs.h
<<\_ACEOF
20650 #define HAVE_ASIN 1
20655 echo "$as_me:$LINENO: checking for asinl in -lm" >&5
20656 echo $ECHO_N "checking for asinl in -lm... $ECHO_C" >&6
20657 if test "${ac_cv_lib_m_asinl+set}" = set; then
20658 echo $ECHO_N "(cached) $ECHO_C" >&6
20660 ac_check_lib_save_LIBS
=$LIBS
20662 if test x
$gcc_no_link = xyes
; then
20663 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20664 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20665 { (exit 1); exit 1; }; }
20667 cat >conftest.
$ac_ext <<_ACEOF
20670 cat confdefs.h
>>conftest.
$ac_ext
20671 cat >>conftest.
$ac_ext <<_ACEOF
20672 /* end confdefs.h. */
20674 /* Override any gcc2 internal prototype to avoid an error. */
20678 /* We use char because int might match the return type of a gcc2
20679 builtin and then its argument prototype would still apply. */
20689 rm -f conftest.
$ac_objext conftest
$ac_exeext
20690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20691 (eval $ac_link) 2>conftest.er1
20693 grep -v '^ *+' conftest.er1
>conftest.err
20695 cat conftest.err
>&5
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); } &&
20698 { ac_try
='test -z "$ac_c_werror_flag"
20699 || test ! -s conftest.err'
20700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20701 (eval $ac_try) 2>&5
20703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20704 (exit $ac_status); }; } &&
20705 { ac_try
='test -s conftest$ac_exeext'
20706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20707 (eval $ac_try) 2>&5
20709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20710 (exit $ac_status); }; }; then
20711 ac_cv_lib_m_asinl
=yes
20713 echo "$as_me: failed program was:" >&5
20714 sed 's/^/| /' conftest.
$ac_ext >&5
20716 ac_cv_lib_m_asinl
=no
20718 rm -f conftest.err conftest.
$ac_objext \
20719 conftest
$ac_exeext conftest.
$ac_ext
20720 LIBS
=$ac_check_lib_save_LIBS
20722 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinl" >&5
20723 echo "${ECHO_T}$ac_cv_lib_m_asinl" >&6
20724 if test $ac_cv_lib_m_asinl = yes; then
20726 cat >>confdefs.h
<<\_ACEOF
20727 #define HAVE_ASINL 1
20732 echo "$as_me:$LINENO: checking for asinhf in -lm" >&5
20733 echo $ECHO_N "checking for asinhf in -lm... $ECHO_C" >&6
20734 if test "${ac_cv_lib_m_asinhf+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 ac_check_lib_save_LIBS
=$LIBS
20739 if test x
$gcc_no_link = xyes
; then
20740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20742 { (exit 1); exit 1; }; }
20744 cat >conftest.
$ac_ext <<_ACEOF
20747 cat confdefs.h
>>conftest.
$ac_ext
20748 cat >>conftest.
$ac_ext <<_ACEOF
20749 /* end confdefs.h. */
20751 /* Override any gcc2 internal prototype to avoid an error. */
20755 /* We use char because int might match the return type of a gcc2
20756 builtin and then its argument prototype would still apply. */
20766 rm -f conftest.
$ac_objext conftest
$ac_exeext
20767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20768 (eval $ac_link) 2>conftest.er1
20770 grep -v '^ *+' conftest.er1
>conftest.err
20772 cat conftest.err
>&5
20773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20774 (exit $ac_status); } &&
20775 { ac_try
='test -z "$ac_c_werror_flag"
20776 || test ! -s conftest.err'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; } &&
20782 { ac_try
='test -s conftest$ac_exeext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_lib_m_asinhf
=yes
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.
$ac_ext >&5
20793 ac_cv_lib_m_asinhf
=no
20795 rm -f conftest.err conftest.
$ac_objext \
20796 conftest
$ac_exeext conftest.
$ac_ext
20797 LIBS
=$ac_check_lib_save_LIBS
20799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhf" >&5
20800 echo "${ECHO_T}$ac_cv_lib_m_asinhf" >&6
20801 if test $ac_cv_lib_m_asinhf = yes; then
20803 cat >>confdefs.h
<<\_ACEOF
20804 #define HAVE_ASINHF 1
20809 echo "$as_me:$LINENO: checking for asinh in -lm" >&5
20810 echo $ECHO_N "checking for asinh in -lm... $ECHO_C" >&6
20811 if test "${ac_cv_lib_m_asinh+set}" = set; then
20812 echo $ECHO_N "(cached) $ECHO_C" >&6
20814 ac_check_lib_save_LIBS
=$LIBS
20816 if test x
$gcc_no_link = xyes
; then
20817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20819 { (exit 1); exit 1; }; }
20821 cat >conftest.
$ac_ext <<_ACEOF
20824 cat confdefs.h
>>conftest.
$ac_ext
20825 cat >>conftest.
$ac_ext <<_ACEOF
20826 /* end confdefs.h. */
20828 /* Override any gcc2 internal prototype to avoid an error. */
20832 /* We use char because int might match the return type of a gcc2
20833 builtin and then its argument prototype would still apply. */
20843 rm -f conftest.
$ac_objext conftest
$ac_exeext
20844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20845 (eval $ac_link) 2>conftest.er1
20847 grep -v '^ *+' conftest.er1
>conftest.err
20849 cat conftest.err
>&5
20850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20851 (exit $ac_status); } &&
20852 { ac_try
='test -z "$ac_c_werror_flag"
20853 || test ! -s conftest.err'
20854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20855 (eval $ac_try) 2>&5
20857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20858 (exit $ac_status); }; } &&
20859 { ac_try
='test -s conftest$ac_exeext'
20860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20861 (eval $ac_try) 2>&5
20863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20864 (exit $ac_status); }; }; then
20865 ac_cv_lib_m_asinh
=yes
20867 echo "$as_me: failed program was:" >&5
20868 sed 's/^/| /' conftest.
$ac_ext >&5
20870 ac_cv_lib_m_asinh
=no
20872 rm -f conftest.err conftest.
$ac_objext \
20873 conftest
$ac_exeext conftest.
$ac_ext
20874 LIBS
=$ac_check_lib_save_LIBS
20876 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinh" >&5
20877 echo "${ECHO_T}$ac_cv_lib_m_asinh" >&6
20878 if test $ac_cv_lib_m_asinh = yes; then
20880 cat >>confdefs.h
<<\_ACEOF
20881 #define HAVE_ASINH 1
20886 echo "$as_me:$LINENO: checking for asinhl in -lm" >&5
20887 echo $ECHO_N "checking for asinhl in -lm... $ECHO_C" >&6
20888 if test "${ac_cv_lib_m_asinhl+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20891 ac_check_lib_save_LIBS
=$LIBS
20893 if test x
$gcc_no_link = xyes
; then
20894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20896 { (exit 1); exit 1; }; }
20898 cat >conftest.
$ac_ext <<_ACEOF
20901 cat confdefs.h
>>conftest.
$ac_ext
20902 cat >>conftest.
$ac_ext <<_ACEOF
20903 /* end confdefs.h. */
20905 /* Override any gcc2 internal prototype to avoid an error. */
20909 /* We use char because int might match the return type of a gcc2
20910 builtin and then its argument prototype would still apply. */
20920 rm -f conftest.
$ac_objext conftest
$ac_exeext
20921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20922 (eval $ac_link) 2>conftest.er1
20924 grep -v '^ *+' conftest.er1
>conftest.err
20926 cat conftest.err
>&5
20927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20928 (exit $ac_status); } &&
20929 { ac_try
='test -z "$ac_c_werror_flag"
20930 || test ! -s conftest.err'
20931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20932 (eval $ac_try) 2>&5
20934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20935 (exit $ac_status); }; } &&
20936 { ac_try
='test -s conftest$ac_exeext'
20937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20938 (eval $ac_try) 2>&5
20940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20941 (exit $ac_status); }; }; then
20942 ac_cv_lib_m_asinhl
=yes
20944 echo "$as_me: failed program was:" >&5
20945 sed 's/^/| /' conftest.
$ac_ext >&5
20947 ac_cv_lib_m_asinhl
=no
20949 rm -f conftest.err conftest.
$ac_objext \
20950 conftest
$ac_exeext conftest.
$ac_ext
20951 LIBS
=$ac_check_lib_save_LIBS
20953 echo "$as_me:$LINENO: result: $ac_cv_lib_m_asinhl" >&5
20954 echo "${ECHO_T}$ac_cv_lib_m_asinhl" >&6
20955 if test $ac_cv_lib_m_asinhl = yes; then
20957 cat >>confdefs.h
<<\_ACEOF
20958 #define HAVE_ASINHL 1
20963 echo "$as_me:$LINENO: checking for atan2f in -lm" >&5
20964 echo $ECHO_N "checking for atan2f in -lm... $ECHO_C" >&6
20965 if test "${ac_cv_lib_m_atan2f+set}" = set; then
20966 echo $ECHO_N "(cached) $ECHO_C" >&6
20968 ac_check_lib_save_LIBS
=$LIBS
20970 if test x
$gcc_no_link = xyes
; then
20971 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20973 { (exit 1); exit 1; }; }
20975 cat >conftest.
$ac_ext <<_ACEOF
20978 cat confdefs.h
>>conftest.
$ac_ext
20979 cat >>conftest.
$ac_ext <<_ACEOF
20980 /* end confdefs.h. */
20982 /* Override any gcc2 internal prototype to avoid an error. */
20986 /* We use char because int might match the return type of a gcc2
20987 builtin and then its argument prototype would still apply. */
20997 rm -f conftest.
$ac_objext conftest
$ac_exeext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20999 (eval $ac_link) 2>conftest.er1
21001 grep -v '^ *+' conftest.er1
>conftest.err
21003 cat conftest.err
>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try
='test -z "$ac_c_werror_flag"
21007 || test ! -s conftest.err'
21008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21009 (eval $ac_try) 2>&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); }; } &&
21013 { ac_try
='test -s conftest$ac_exeext'
21014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21015 (eval $ac_try) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 ac_cv_lib_m_atan2f
=yes
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.
$ac_ext >&5
21024 ac_cv_lib_m_atan2f
=no
21026 rm -f conftest.err conftest.
$ac_objext \
21027 conftest
$ac_exeext conftest.
$ac_ext
21028 LIBS
=$ac_check_lib_save_LIBS
21030 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2f" >&5
21031 echo "${ECHO_T}$ac_cv_lib_m_atan2f" >&6
21032 if test $ac_cv_lib_m_atan2f = yes; then
21034 cat >>confdefs.h
<<\_ACEOF
21035 #define HAVE_ATAN2F 1
21040 echo "$as_me:$LINENO: checking for atan2 in -lm" >&5
21041 echo $ECHO_N "checking for atan2 in -lm... $ECHO_C" >&6
21042 if test "${ac_cv_lib_m_atan2+set}" = set; then
21043 echo $ECHO_N "(cached) $ECHO_C" >&6
21045 ac_check_lib_save_LIBS
=$LIBS
21047 if test x
$gcc_no_link = xyes
; then
21048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21050 { (exit 1); exit 1; }; }
21052 cat >conftest.
$ac_ext <<_ACEOF
21055 cat confdefs.h
>>conftest.
$ac_ext
21056 cat >>conftest.
$ac_ext <<_ACEOF
21057 /* end confdefs.h. */
21059 /* Override any gcc2 internal prototype to avoid an error. */
21063 /* We use char because int might match the return type of a gcc2
21064 builtin and then its argument prototype would still apply. */
21074 rm -f conftest.
$ac_objext conftest
$ac_exeext
21075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21076 (eval $ac_link) 2>conftest.er1
21078 grep -v '^ *+' conftest.er1
>conftest.err
21080 cat conftest.err
>&5
21081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21082 (exit $ac_status); } &&
21083 { ac_try
='test -z "$ac_c_werror_flag"
21084 || test ! -s conftest.err'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; } &&
21090 { ac_try
='test -s conftest$ac_exeext'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; }; then
21096 ac_cv_lib_m_atan2
=yes
21098 echo "$as_me: failed program was:" >&5
21099 sed 's/^/| /' conftest.
$ac_ext >&5
21101 ac_cv_lib_m_atan2
=no
21103 rm -f conftest.err conftest.
$ac_objext \
21104 conftest
$ac_exeext conftest.
$ac_ext
21105 LIBS
=$ac_check_lib_save_LIBS
21107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2" >&5
21108 echo "${ECHO_T}$ac_cv_lib_m_atan2" >&6
21109 if test $ac_cv_lib_m_atan2 = yes; then
21111 cat >>confdefs.h
<<\_ACEOF
21112 #define HAVE_ATAN2 1
21117 echo "$as_me:$LINENO: checking for atan2l in -lm" >&5
21118 echo $ECHO_N "checking for atan2l in -lm... $ECHO_C" >&6
21119 if test "${ac_cv_lib_m_atan2l+set}" = set; then
21120 echo $ECHO_N "(cached) $ECHO_C" >&6
21122 ac_check_lib_save_LIBS
=$LIBS
21124 if test x
$gcc_no_link = xyes
; then
21125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21127 { (exit 1); exit 1; }; }
21129 cat >conftest.
$ac_ext <<_ACEOF
21132 cat confdefs.h
>>conftest.
$ac_ext
21133 cat >>conftest.
$ac_ext <<_ACEOF
21134 /* end confdefs.h. */
21136 /* Override any gcc2 internal prototype to avoid an error. */
21140 /* We use char because int might match the return type of a gcc2
21141 builtin and then its argument prototype would still apply. */
21151 rm -f conftest.
$ac_objext conftest
$ac_exeext
21152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21153 (eval $ac_link) 2>conftest.er1
21155 grep -v '^ *+' conftest.er1
>conftest.err
21157 cat conftest.err
>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } &&
21160 { ac_try
='test -z "$ac_c_werror_flag"
21161 || test ! -s conftest.err'
21162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21163 (eval $ac_try) 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); }; } &&
21167 { ac_try
='test -s conftest$ac_exeext'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; }; then
21173 ac_cv_lib_m_atan2l
=yes
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.
$ac_ext >&5
21178 ac_cv_lib_m_atan2l
=no
21180 rm -f conftest.err conftest.
$ac_objext \
21181 conftest
$ac_exeext conftest.
$ac_ext
21182 LIBS
=$ac_check_lib_save_LIBS
21184 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan2l" >&5
21185 echo "${ECHO_T}$ac_cv_lib_m_atan2l" >&6
21186 if test $ac_cv_lib_m_atan2l = yes; then
21188 cat >>confdefs.h
<<\_ACEOF
21189 #define HAVE_ATAN2L 1
21194 echo "$as_me:$LINENO: checking for atanf in -lm" >&5
21195 echo $ECHO_N "checking for atanf in -lm... $ECHO_C" >&6
21196 if test "${ac_cv_lib_m_atanf+set}" = set; then
21197 echo $ECHO_N "(cached) $ECHO_C" >&6
21199 ac_check_lib_save_LIBS
=$LIBS
21201 if test x
$gcc_no_link = xyes
; then
21202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21204 { (exit 1); exit 1; }; }
21206 cat >conftest.
$ac_ext <<_ACEOF
21209 cat confdefs.h
>>conftest.
$ac_ext
21210 cat >>conftest.
$ac_ext <<_ACEOF
21211 /* end confdefs.h. */
21213 /* Override any gcc2 internal prototype to avoid an error. */
21217 /* We use char because int might match the return type of a gcc2
21218 builtin and then its argument prototype would still apply. */
21228 rm -f conftest.
$ac_objext conftest
$ac_exeext
21229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21230 (eval $ac_link) 2>conftest.er1
21232 grep -v '^ *+' conftest.er1
>conftest.err
21234 cat conftest.err
>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try
='test -z "$ac_c_werror_flag"
21238 || test ! -s conftest.err'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; } &&
21244 { ac_try
='test -s conftest$ac_exeext'
21245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21246 (eval $ac_try) 2>&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); }; }; then
21250 ac_cv_lib_m_atanf
=yes
21252 echo "$as_me: failed program was:" >&5
21253 sed 's/^/| /' conftest.
$ac_ext >&5
21255 ac_cv_lib_m_atanf
=no
21257 rm -f conftest.err conftest.
$ac_objext \
21258 conftest
$ac_exeext conftest.
$ac_ext
21259 LIBS
=$ac_check_lib_save_LIBS
21261 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanf" >&5
21262 echo "${ECHO_T}$ac_cv_lib_m_atanf" >&6
21263 if test $ac_cv_lib_m_atanf = yes; then
21265 cat >>confdefs.h
<<\_ACEOF
21266 #define HAVE_ATANF 1
21271 echo "$as_me:$LINENO: checking for atan in -lm" >&5
21272 echo $ECHO_N "checking for atan in -lm... $ECHO_C" >&6
21273 if test "${ac_cv_lib_m_atan+set}" = set; then
21274 echo $ECHO_N "(cached) $ECHO_C" >&6
21276 ac_check_lib_save_LIBS
=$LIBS
21278 if test x
$gcc_no_link = xyes
; then
21279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21281 { (exit 1); exit 1; }; }
21283 cat >conftest.
$ac_ext <<_ACEOF
21286 cat confdefs.h
>>conftest.
$ac_ext
21287 cat >>conftest.
$ac_ext <<_ACEOF
21288 /* end confdefs.h. */
21290 /* Override any gcc2 internal prototype to avoid an error. */
21294 /* We use char because int might match the return type of a gcc2
21295 builtin and then its argument prototype would still apply. */
21305 rm -f conftest.
$ac_objext conftest
$ac_exeext
21306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21307 (eval $ac_link) 2>conftest.er1
21309 grep -v '^ *+' conftest.er1
>conftest.err
21311 cat conftest.err
>&5
21312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21313 (exit $ac_status); } &&
21314 { ac_try
='test -z "$ac_c_werror_flag"
21315 || test ! -s conftest.err'
21316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21317 (eval $ac_try) 2>&5
21319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21320 (exit $ac_status); }; } &&
21321 { ac_try
='test -s conftest$ac_exeext'
21322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21323 (eval $ac_try) 2>&5
21325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21326 (exit $ac_status); }; }; then
21327 ac_cv_lib_m_atan
=yes
21329 echo "$as_me: failed program was:" >&5
21330 sed 's/^/| /' conftest.
$ac_ext >&5
21332 ac_cv_lib_m_atan
=no
21334 rm -f conftest.err conftest.
$ac_objext \
21335 conftest
$ac_exeext conftest.
$ac_ext
21336 LIBS
=$ac_check_lib_save_LIBS
21338 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atan" >&5
21339 echo "${ECHO_T}$ac_cv_lib_m_atan" >&6
21340 if test $ac_cv_lib_m_atan = yes; then
21342 cat >>confdefs.h
<<\_ACEOF
21343 #define HAVE_ATAN 1
21348 echo "$as_me:$LINENO: checking for atanl in -lm" >&5
21349 echo $ECHO_N "checking for atanl in -lm... $ECHO_C" >&6
21350 if test "${ac_cv_lib_m_atanl+set}" = set; then
21351 echo $ECHO_N "(cached) $ECHO_C" >&6
21353 ac_check_lib_save_LIBS
=$LIBS
21355 if test x
$gcc_no_link = xyes
; then
21356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21358 { (exit 1); exit 1; }; }
21360 cat >conftest.
$ac_ext <<_ACEOF
21363 cat confdefs.h
>>conftest.
$ac_ext
21364 cat >>conftest.
$ac_ext <<_ACEOF
21365 /* end confdefs.h. */
21367 /* Override any gcc2 internal prototype to avoid an error. */
21371 /* We use char because int might match the return type of a gcc2
21372 builtin and then its argument prototype would still apply. */
21382 rm -f conftest.
$ac_objext conftest
$ac_exeext
21383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21384 (eval $ac_link) 2>conftest.er1
21386 grep -v '^ *+' conftest.er1
>conftest.err
21388 cat conftest.err
>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } &&
21391 { ac_try
='test -z "$ac_c_werror_flag"
21392 || test ! -s conftest.err'
21393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21394 (eval $ac_try) 2>&5
21396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21397 (exit $ac_status); }; } &&
21398 { ac_try
='test -s conftest$ac_exeext'
21399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400 (eval $ac_try) 2>&5
21402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403 (exit $ac_status); }; }; then
21404 ac_cv_lib_m_atanl
=yes
21406 echo "$as_me: failed program was:" >&5
21407 sed 's/^/| /' conftest.
$ac_ext >&5
21409 ac_cv_lib_m_atanl
=no
21411 rm -f conftest.err conftest.
$ac_objext \
21412 conftest
$ac_exeext conftest.
$ac_ext
21413 LIBS
=$ac_check_lib_save_LIBS
21415 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanl" >&5
21416 echo "${ECHO_T}$ac_cv_lib_m_atanl" >&6
21417 if test $ac_cv_lib_m_atanl = yes; then
21419 cat >>confdefs.h
<<\_ACEOF
21420 #define HAVE_ATANL 1
21425 echo "$as_me:$LINENO: checking for atanhf in -lm" >&5
21426 echo $ECHO_N "checking for atanhf in -lm... $ECHO_C" >&6
21427 if test "${ac_cv_lib_m_atanhf+set}" = set; then
21428 echo $ECHO_N "(cached) $ECHO_C" >&6
21430 ac_check_lib_save_LIBS
=$LIBS
21432 if test x
$gcc_no_link = xyes
; then
21433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21435 { (exit 1); exit 1; }; }
21437 cat >conftest.
$ac_ext <<_ACEOF
21440 cat confdefs.h
>>conftest.
$ac_ext
21441 cat >>conftest.
$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21444 /* Override any gcc2 internal prototype to avoid an error. */
21448 /* We use char because int might match the return type of a gcc2
21449 builtin and then its argument prototype would still apply. */
21459 rm -f conftest.
$ac_objext conftest
$ac_exeext
21460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21461 (eval $ac_link) 2>conftest.er1
21463 grep -v '^ *+' conftest.er1
>conftest.err
21465 cat conftest.err
>&5
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); } &&
21468 { ac_try
='test -z "$ac_c_werror_flag"
21469 || test ! -s conftest.err'
21470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21471 (eval $ac_try) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); }; } &&
21475 { ac_try
='test -s conftest$ac_exeext'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; }; then
21481 ac_cv_lib_m_atanhf
=yes
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.
$ac_ext >&5
21486 ac_cv_lib_m_atanhf
=no
21488 rm -f conftest.err conftest.
$ac_objext \
21489 conftest
$ac_exeext conftest.
$ac_ext
21490 LIBS
=$ac_check_lib_save_LIBS
21492 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhf" >&5
21493 echo "${ECHO_T}$ac_cv_lib_m_atanhf" >&6
21494 if test $ac_cv_lib_m_atanhf = yes; then
21496 cat >>confdefs.h
<<\_ACEOF
21497 #define HAVE_ATANHF 1
21502 echo "$as_me:$LINENO: checking for atanh in -lm" >&5
21503 echo $ECHO_N "checking for atanh in -lm... $ECHO_C" >&6
21504 if test "${ac_cv_lib_m_atanh+set}" = set; then
21505 echo $ECHO_N "(cached) $ECHO_C" >&6
21507 ac_check_lib_save_LIBS
=$LIBS
21509 if test x
$gcc_no_link = xyes
; then
21510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21512 { (exit 1); exit 1; }; }
21514 cat >conftest.
$ac_ext <<_ACEOF
21517 cat confdefs.h
>>conftest.
$ac_ext
21518 cat >>conftest.
$ac_ext <<_ACEOF
21519 /* end confdefs.h. */
21521 /* Override any gcc2 internal prototype to avoid an error. */
21525 /* We use char because int might match the return type of a gcc2
21526 builtin and then its argument prototype would still apply. */
21536 rm -f conftest.
$ac_objext conftest
$ac_exeext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21538 (eval $ac_link) 2>conftest.er1
21540 grep -v '^ *+' conftest.er1
>conftest.err
21542 cat conftest.err
>&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try
='test -z "$ac_c_werror_flag"
21546 || test ! -s conftest.err'
21547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21548 (eval $ac_try) 2>&5
21550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21551 (exit $ac_status); }; } &&
21552 { ac_try
='test -s conftest$ac_exeext'
21553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21554 (eval $ac_try) 2>&5
21556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21557 (exit $ac_status); }; }; then
21558 ac_cv_lib_m_atanh
=yes
21560 echo "$as_me: failed program was:" >&5
21561 sed 's/^/| /' conftest.
$ac_ext >&5
21563 ac_cv_lib_m_atanh
=no
21565 rm -f conftest.err conftest.
$ac_objext \
21566 conftest
$ac_exeext conftest.
$ac_ext
21567 LIBS
=$ac_check_lib_save_LIBS
21569 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanh" >&5
21570 echo "${ECHO_T}$ac_cv_lib_m_atanh" >&6
21571 if test $ac_cv_lib_m_atanh = yes; then
21573 cat >>confdefs.h
<<\_ACEOF
21574 #define HAVE_ATANH 1
21579 echo "$as_me:$LINENO: checking for atanhl in -lm" >&5
21580 echo $ECHO_N "checking for atanhl in -lm... $ECHO_C" >&6
21581 if test "${ac_cv_lib_m_atanhl+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21584 ac_check_lib_save_LIBS
=$LIBS
21586 if test x
$gcc_no_link = xyes
; then
21587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21589 { (exit 1); exit 1; }; }
21591 cat >conftest.
$ac_ext <<_ACEOF
21594 cat confdefs.h
>>conftest.
$ac_ext
21595 cat >>conftest.
$ac_ext <<_ACEOF
21596 /* end confdefs.h. */
21598 /* Override any gcc2 internal prototype to avoid an error. */
21602 /* We use char because int might match the return type of a gcc2
21603 builtin and then its argument prototype would still apply. */
21613 rm -f conftest.
$ac_objext conftest
$ac_exeext
21614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21615 (eval $ac_link) 2>conftest.er1
21617 grep -v '^ *+' conftest.er1
>conftest.err
21619 cat conftest.err
>&5
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); } &&
21622 { ac_try
='test -z "$ac_c_werror_flag"
21623 || test ! -s conftest.err'
21624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21625 (eval $ac_try) 2>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; } &&
21629 { ac_try
='test -s conftest$ac_exeext'
21630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21631 (eval $ac_try) 2>&5
21633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21634 (exit $ac_status); }; }; then
21635 ac_cv_lib_m_atanhl
=yes
21637 echo "$as_me: failed program was:" >&5
21638 sed 's/^/| /' conftest.
$ac_ext >&5
21640 ac_cv_lib_m_atanhl
=no
21642 rm -f conftest.err conftest.
$ac_objext \
21643 conftest
$ac_exeext conftest.
$ac_ext
21644 LIBS
=$ac_check_lib_save_LIBS
21646 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atanhl" >&5
21647 echo "${ECHO_T}$ac_cv_lib_m_atanhl" >&6
21648 if test $ac_cv_lib_m_atanhl = yes; then
21650 cat >>confdefs.h
<<\_ACEOF
21651 #define HAVE_ATANHL 1
21656 echo "$as_me:$LINENO: checking for cargf in -lm" >&5
21657 echo $ECHO_N "checking for cargf in -lm... $ECHO_C" >&6
21658 if test "${ac_cv_lib_m_cargf+set}" = set; then
21659 echo $ECHO_N "(cached) $ECHO_C" >&6
21661 ac_check_lib_save_LIBS
=$LIBS
21663 if test x
$gcc_no_link = xyes
; then
21664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21666 { (exit 1); exit 1; }; }
21668 cat >conftest.
$ac_ext <<_ACEOF
21671 cat confdefs.h
>>conftest.
$ac_ext
21672 cat >>conftest.
$ac_ext <<_ACEOF
21673 /* end confdefs.h. */
21675 /* Override any gcc2 internal prototype to avoid an error. */
21679 /* We use char because int might match the return type of a gcc2
21680 builtin and then its argument prototype would still apply. */
21690 rm -f conftest.
$ac_objext conftest
$ac_exeext
21691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21692 (eval $ac_link) 2>conftest.er1
21694 grep -v '^ *+' conftest.er1
>conftest.err
21696 cat conftest.err
>&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } &&
21699 { ac_try
='test -z "$ac_c_werror_flag"
21700 || test ! -s conftest.err'
21701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21702 (eval $ac_try) 2>&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); }; } &&
21706 { ac_try
='test -s conftest$ac_exeext'
21707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21708 (eval $ac_try) 2>&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); }; }; then
21712 ac_cv_lib_m_cargf
=yes
21714 echo "$as_me: failed program was:" >&5
21715 sed 's/^/| /' conftest.
$ac_ext >&5
21717 ac_cv_lib_m_cargf
=no
21719 rm -f conftest.err conftest.
$ac_objext \
21720 conftest
$ac_exeext conftest.
$ac_ext
21721 LIBS
=$ac_check_lib_save_LIBS
21723 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargf" >&5
21724 echo "${ECHO_T}$ac_cv_lib_m_cargf" >&6
21725 if test $ac_cv_lib_m_cargf = yes; then
21727 cat >>confdefs.h
<<\_ACEOF
21728 #define HAVE_CARGF 1
21733 echo "$as_me:$LINENO: checking for carg in -lm" >&5
21734 echo $ECHO_N "checking for carg in -lm... $ECHO_C" >&6
21735 if test "${ac_cv_lib_m_carg+set}" = set; then
21736 echo $ECHO_N "(cached) $ECHO_C" >&6
21738 ac_check_lib_save_LIBS
=$LIBS
21740 if test x
$gcc_no_link = xyes
; then
21741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21743 { (exit 1); exit 1; }; }
21745 cat >conftest.
$ac_ext <<_ACEOF
21748 cat confdefs.h
>>conftest.
$ac_ext
21749 cat >>conftest.
$ac_ext <<_ACEOF
21750 /* end confdefs.h. */
21752 /* Override any gcc2 internal prototype to avoid an error. */
21756 /* We use char because int might match the return type of a gcc2
21757 builtin and then its argument prototype would still apply. */
21767 rm -f conftest.
$ac_objext conftest
$ac_exeext
21768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21769 (eval $ac_link) 2>conftest.er1
21771 grep -v '^ *+' conftest.er1
>conftest.err
21773 cat conftest.err
>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } &&
21776 { ac_try
='test -z "$ac_c_werror_flag"
21777 || test ! -s conftest.err'
21778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21779 (eval $ac_try) 2>&5
21781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21782 (exit $ac_status); }; } &&
21783 { ac_try
='test -s conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_lib_m_carg
=yes
21791 echo "$as_me: failed program was:" >&5
21792 sed 's/^/| /' conftest.
$ac_ext >&5
21794 ac_cv_lib_m_carg
=no
21796 rm -f conftest.err conftest.
$ac_objext \
21797 conftest
$ac_exeext conftest.
$ac_ext
21798 LIBS
=$ac_check_lib_save_LIBS
21800 echo "$as_me:$LINENO: result: $ac_cv_lib_m_carg" >&5
21801 echo "${ECHO_T}$ac_cv_lib_m_carg" >&6
21802 if test $ac_cv_lib_m_carg = yes; then
21804 cat >>confdefs.h
<<\_ACEOF
21805 #define HAVE_CARG 1
21810 echo "$as_me:$LINENO: checking for cargl in -lm" >&5
21811 echo $ECHO_N "checking for cargl in -lm... $ECHO_C" >&6
21812 if test "${ac_cv_lib_m_cargl+set}" = set; then
21813 echo $ECHO_N "(cached) $ECHO_C" >&6
21815 ac_check_lib_save_LIBS
=$LIBS
21817 if test x
$gcc_no_link = xyes
; then
21818 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21819 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21820 { (exit 1); exit 1; }; }
21822 cat >conftest.
$ac_ext <<_ACEOF
21825 cat confdefs.h
>>conftest.
$ac_ext
21826 cat >>conftest.
$ac_ext <<_ACEOF
21827 /* end confdefs.h. */
21829 /* Override any gcc2 internal prototype to avoid an error. */
21833 /* We use char because int might match the return type of a gcc2
21834 builtin and then its argument prototype would still apply. */
21844 rm -f conftest.
$ac_objext conftest
$ac_exeext
21845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21846 (eval $ac_link) 2>conftest.er1
21848 grep -v '^ *+' conftest.er1
>conftest.err
21850 cat conftest.err
>&5
21851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21852 (exit $ac_status); } &&
21853 { ac_try
='test -z "$ac_c_werror_flag"
21854 || test ! -s conftest.err'
21855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21856 (eval $ac_try) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); }; } &&
21860 { ac_try
='test -s conftest$ac_exeext'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; }; then
21866 ac_cv_lib_m_cargl
=yes
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.
$ac_ext >&5
21871 ac_cv_lib_m_cargl
=no
21873 rm -f conftest.err conftest.
$ac_objext \
21874 conftest
$ac_exeext conftest.
$ac_ext
21875 LIBS
=$ac_check_lib_save_LIBS
21877 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cargl" >&5
21878 echo "${ECHO_T}$ac_cv_lib_m_cargl" >&6
21879 if test $ac_cv_lib_m_cargl = yes; then
21881 cat >>confdefs.h
<<\_ACEOF
21882 #define HAVE_CARGL 1
21887 echo "$as_me:$LINENO: checking for ceilf in -lm" >&5
21888 echo $ECHO_N "checking for ceilf in -lm... $ECHO_C" >&6
21889 if test "${ac_cv_lib_m_ceilf+set}" = set; then
21890 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 ac_check_lib_save_LIBS
=$LIBS
21894 if test x
$gcc_no_link = xyes
; then
21895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21897 { (exit 1); exit 1; }; }
21899 cat >conftest.
$ac_ext <<_ACEOF
21902 cat confdefs.h
>>conftest.
$ac_ext
21903 cat >>conftest.
$ac_ext <<_ACEOF
21904 /* end confdefs.h. */
21906 /* Override any gcc2 internal prototype to avoid an error. */
21910 /* We use char because int might match the return type of a gcc2
21911 builtin and then its argument prototype would still apply. */
21921 rm -f conftest.
$ac_objext conftest
$ac_exeext
21922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21923 (eval $ac_link) 2>conftest.er1
21925 grep -v '^ *+' conftest.er1
>conftest.err
21927 cat conftest.err
>&5
21928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21929 (exit $ac_status); } &&
21930 { ac_try
='test -z "$ac_c_werror_flag"
21931 || test ! -s conftest.err'
21932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21933 (eval $ac_try) 2>&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); }; } &&
21937 { ac_try
='test -s conftest$ac_exeext'
21938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21939 (eval $ac_try) 2>&5
21941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21942 (exit $ac_status); }; }; then
21943 ac_cv_lib_m_ceilf
=yes
21945 echo "$as_me: failed program was:" >&5
21946 sed 's/^/| /' conftest.
$ac_ext >&5
21948 ac_cv_lib_m_ceilf
=no
21950 rm -f conftest.err conftest.
$ac_objext \
21951 conftest
$ac_exeext conftest.
$ac_ext
21952 LIBS
=$ac_check_lib_save_LIBS
21954 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceilf" >&5
21955 echo "${ECHO_T}$ac_cv_lib_m_ceilf" >&6
21956 if test $ac_cv_lib_m_ceilf = yes; then
21958 cat >>confdefs.h
<<\_ACEOF
21959 #define HAVE_CEILF 1
21964 echo "$as_me:$LINENO: checking for ceil in -lm" >&5
21965 echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6
21966 if test "${ac_cv_lib_m_ceil+set}" = set; then
21967 echo $ECHO_N "(cached) $ECHO_C" >&6
21969 ac_check_lib_save_LIBS
=$LIBS
21971 if test x
$gcc_no_link = xyes
; then
21972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21974 { (exit 1); exit 1; }; }
21976 cat >conftest.
$ac_ext <<_ACEOF
21979 cat confdefs.h
>>conftest.
$ac_ext
21980 cat >>conftest.
$ac_ext <<_ACEOF
21981 /* end confdefs.h. */
21983 /* Override any gcc2 internal prototype to avoid an error. */
21987 /* We use char because int might match the return type of a gcc2
21988 builtin and then its argument prototype would still apply. */
21998 rm -f conftest.
$ac_objext conftest
$ac_exeext
21999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22000 (eval $ac_link) 2>conftest.er1
22002 grep -v '^ *+' conftest.er1
>conftest.err
22004 cat conftest.err
>&5
22005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22006 (exit $ac_status); } &&
22007 { ac_try
='test -z "$ac_c_werror_flag"
22008 || test ! -s conftest.err'
22009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22010 (eval $ac_try) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); }; } &&
22014 { ac_try
='test -s conftest$ac_exeext'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; }; then
22020 ac_cv_lib_m_ceil
=yes
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.
$ac_ext >&5
22025 ac_cv_lib_m_ceil
=no
22027 rm -f conftest.err conftest.
$ac_objext \
22028 conftest
$ac_exeext conftest.
$ac_ext
22029 LIBS
=$ac_check_lib_save_LIBS
22031 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5
22032 echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6
22033 if test $ac_cv_lib_m_ceil = yes; then
22035 cat >>confdefs.h
<<\_ACEOF
22036 #define HAVE_CEIL 1
22041 echo "$as_me:$LINENO: checking for ceill in -lm" >&5
22042 echo $ECHO_N "checking for ceill in -lm... $ECHO_C" >&6
22043 if test "${ac_cv_lib_m_ceill+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22046 ac_check_lib_save_LIBS
=$LIBS
22048 if test x
$gcc_no_link = xyes
; then
22049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22051 { (exit 1); exit 1; }; }
22053 cat >conftest.
$ac_ext <<_ACEOF
22056 cat confdefs.h
>>conftest.
$ac_ext
22057 cat >>conftest.
$ac_ext <<_ACEOF
22058 /* end confdefs.h. */
22060 /* Override any gcc2 internal prototype to avoid an error. */
22064 /* We use char because int might match the return type of a gcc2
22065 builtin and then its argument prototype would still apply. */
22075 rm -f conftest.
$ac_objext conftest
$ac_exeext
22076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22077 (eval $ac_link) 2>conftest.er1
22079 grep -v '^ *+' conftest.er1
>conftest.err
22081 cat conftest.err
>&5
22082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22083 (exit $ac_status); } &&
22084 { ac_try
='test -z "$ac_c_werror_flag"
22085 || test ! -s conftest.err'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; } &&
22091 { ac_try
='test -s conftest$ac_exeext'
22092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22093 (eval $ac_try) 2>&5
22095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22096 (exit $ac_status); }; }; then
22097 ac_cv_lib_m_ceill
=yes
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.
$ac_ext >&5
22102 ac_cv_lib_m_ceill
=no
22104 rm -f conftest.err conftest.
$ac_objext \
22105 conftest
$ac_exeext conftest.
$ac_ext
22106 LIBS
=$ac_check_lib_save_LIBS
22108 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceill" >&5
22109 echo "${ECHO_T}$ac_cv_lib_m_ceill" >&6
22110 if test $ac_cv_lib_m_ceill = yes; then
22112 cat >>confdefs.h
<<\_ACEOF
22113 #define HAVE_CEILL 1
22118 echo "$as_me:$LINENO: checking for copysignf in -lm" >&5
22119 echo $ECHO_N "checking for copysignf in -lm... $ECHO_C" >&6
22120 if test "${ac_cv_lib_m_copysignf+set}" = set; then
22121 echo $ECHO_N "(cached) $ECHO_C" >&6
22123 ac_check_lib_save_LIBS
=$LIBS
22125 if test x
$gcc_no_link = xyes
; then
22126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22128 { (exit 1); exit 1; }; }
22130 cat >conftest.
$ac_ext <<_ACEOF
22133 cat confdefs.h
>>conftest.
$ac_ext
22134 cat >>conftest.
$ac_ext <<_ACEOF
22135 /* end confdefs.h. */
22137 /* Override any gcc2 internal prototype to avoid an error. */
22141 /* We use char because int might match the return type of a gcc2
22142 builtin and then its argument prototype would still apply. */
22152 rm -f conftest.
$ac_objext conftest
$ac_exeext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22154 (eval $ac_link) 2>conftest.er1
22156 grep -v '^ *+' conftest.er1
>conftest.err
22158 cat conftest.err
>&5
22159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22160 (exit $ac_status); } &&
22161 { ac_try
='test -z "$ac_c_werror_flag"
22162 || test ! -s conftest.err'
22163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22164 (eval $ac_try) 2>&5
22166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22167 (exit $ac_status); }; } &&
22168 { ac_try
='test -s conftest$ac_exeext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 ac_cv_lib_m_copysignf
=yes
22176 echo "$as_me: failed program was:" >&5
22177 sed 's/^/| /' conftest.
$ac_ext >&5
22179 ac_cv_lib_m_copysignf
=no
22181 rm -f conftest.err conftest.
$ac_objext \
22182 conftest
$ac_exeext conftest.
$ac_ext
22183 LIBS
=$ac_check_lib_save_LIBS
22185 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignf" >&5
22186 echo "${ECHO_T}$ac_cv_lib_m_copysignf" >&6
22187 if test $ac_cv_lib_m_copysignf = yes; then
22189 cat >>confdefs.h
<<\_ACEOF
22190 #define HAVE_COPYSIGNF 1
22195 echo "$as_me:$LINENO: checking for copysign in -lm" >&5
22196 echo $ECHO_N "checking for copysign in -lm... $ECHO_C" >&6
22197 if test "${ac_cv_lib_m_copysign+set}" = set; then
22198 echo $ECHO_N "(cached) $ECHO_C" >&6
22200 ac_check_lib_save_LIBS
=$LIBS
22202 if test x
$gcc_no_link = xyes
; then
22203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22205 { (exit 1); exit 1; }; }
22207 cat >conftest.
$ac_ext <<_ACEOF
22210 cat confdefs.h
>>conftest.
$ac_ext
22211 cat >>conftest.
$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22214 /* Override any gcc2 internal prototype to avoid an error. */
22218 /* We use char because int might match the return type of a gcc2
22219 builtin and then its argument prototype would still apply. */
22229 rm -f conftest.
$ac_objext conftest
$ac_exeext
22230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22231 (eval $ac_link) 2>conftest.er1
22233 grep -v '^ *+' conftest.er1
>conftest.err
22235 cat conftest.err
>&5
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); } &&
22238 { ac_try
='test -z "$ac_c_werror_flag"
22239 || test ! -s conftest.err'
22240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22241 (eval $ac_try) 2>&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); }; } &&
22245 { ac_try
='test -s conftest$ac_exeext'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; }; then
22251 ac_cv_lib_m_copysign
=yes
22253 echo "$as_me: failed program was:" >&5
22254 sed 's/^/| /' conftest.
$ac_ext >&5
22256 ac_cv_lib_m_copysign
=no
22258 rm -f conftest.err conftest.
$ac_objext \
22259 conftest
$ac_exeext conftest.
$ac_ext
22260 LIBS
=$ac_check_lib_save_LIBS
22262 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysign" >&5
22263 echo "${ECHO_T}$ac_cv_lib_m_copysign" >&6
22264 if test $ac_cv_lib_m_copysign = yes; then
22266 cat >>confdefs.h
<<\_ACEOF
22267 #define HAVE_COPYSIGN 1
22272 echo "$as_me:$LINENO: checking for copysignl in -lm" >&5
22273 echo $ECHO_N "checking for copysignl in -lm... $ECHO_C" >&6
22274 if test "${ac_cv_lib_m_copysignl+set}" = set; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 ac_check_lib_save_LIBS
=$LIBS
22279 if test x
$gcc_no_link = xyes
; then
22280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22282 { (exit 1); exit 1; }; }
22284 cat >conftest.
$ac_ext <<_ACEOF
22287 cat confdefs.h
>>conftest.
$ac_ext
22288 cat >>conftest.
$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22291 /* Override any gcc2 internal prototype to avoid an error. */
22295 /* We use char because int might match the return type of a gcc2
22296 builtin and then its argument prototype would still apply. */
22306 rm -f conftest.
$ac_objext conftest
$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>conftest.er1
22310 grep -v '^ *+' conftest.er1
>conftest.err
22312 cat conftest.err
>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try
='test -z "$ac_c_werror_flag"
22316 || test ! -s conftest.err'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; } &&
22322 { ac_try
='test -s conftest$ac_exeext'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 ac_cv_lib_m_copysignl
=yes
22330 echo "$as_me: failed program was:" >&5
22331 sed 's/^/| /' conftest.
$ac_ext >&5
22333 ac_cv_lib_m_copysignl
=no
22335 rm -f conftest.err conftest.
$ac_objext \
22336 conftest
$ac_exeext conftest.
$ac_ext
22337 LIBS
=$ac_check_lib_save_LIBS
22339 echo "$as_me:$LINENO: result: $ac_cv_lib_m_copysignl" >&5
22340 echo "${ECHO_T}$ac_cv_lib_m_copysignl" >&6
22341 if test $ac_cv_lib_m_copysignl = yes; then
22343 cat >>confdefs.h
<<\_ACEOF
22344 #define HAVE_COPYSIGNL 1
22349 echo "$as_me:$LINENO: checking for cosf in -lm" >&5
22350 echo $ECHO_N "checking for cosf in -lm... $ECHO_C" >&6
22351 if test "${ac_cv_lib_m_cosf+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 ac_check_lib_save_LIBS
=$LIBS
22356 if test x
$gcc_no_link = xyes
; then
22357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22359 { (exit 1); exit 1; }; }
22361 cat >conftest.
$ac_ext <<_ACEOF
22364 cat confdefs.h
>>conftest.
$ac_ext
22365 cat >>conftest.
$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22368 /* Override any gcc2 internal prototype to avoid an error. */
22372 /* We use char because int might match the return type of a gcc2
22373 builtin and then its argument prototype would still apply. */
22383 rm -f conftest.
$ac_objext conftest
$ac_exeext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22385 (eval $ac_link) 2>conftest.er1
22387 grep -v '^ *+' conftest.er1
>conftest.err
22389 cat conftest.err
>&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try
='test -z "$ac_c_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try
='test -s conftest$ac_exeext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_lib_m_cosf
=yes
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.
$ac_ext >&5
22410 ac_cv_lib_m_cosf
=no
22412 rm -f conftest.err conftest.
$ac_objext \
22413 conftest
$ac_exeext conftest.
$ac_ext
22414 LIBS
=$ac_check_lib_save_LIBS
22416 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosf" >&5
22417 echo "${ECHO_T}$ac_cv_lib_m_cosf" >&6
22418 if test $ac_cv_lib_m_cosf = yes; then
22420 cat >>confdefs.h
<<\_ACEOF
22421 #define HAVE_COSF 1
22426 echo "$as_me:$LINENO: checking for cos in -lm" >&5
22427 echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
22428 if test "${ac_cv_lib_m_cos+set}" = set; then
22429 echo $ECHO_N "(cached) $ECHO_C" >&6
22431 ac_check_lib_save_LIBS
=$LIBS
22433 if test x
$gcc_no_link = xyes
; then
22434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22436 { (exit 1); exit 1; }; }
22438 cat >conftest.
$ac_ext <<_ACEOF
22441 cat confdefs.h
>>conftest.
$ac_ext
22442 cat >>conftest.
$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22445 /* Override any gcc2 internal prototype to avoid an error. */
22449 /* We use char because int might match the return type of a gcc2
22450 builtin and then its argument prototype would still apply. */
22460 rm -f conftest.
$ac_objext conftest
$ac_exeext
22461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22462 (eval $ac_link) 2>conftest.er1
22464 grep -v '^ *+' conftest.er1
>conftest.err
22466 cat conftest.err
>&5
22467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22468 (exit $ac_status); } &&
22469 { ac_try
='test -z "$ac_c_werror_flag"
22470 || test ! -s conftest.err'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; } &&
22476 { ac_try
='test -s conftest$ac_exeext'
22477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22478 (eval $ac_try) 2>&5
22480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22481 (exit $ac_status); }; }; then
22482 ac_cv_lib_m_cos
=yes
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.
$ac_ext >&5
22489 rm -f conftest.err conftest.
$ac_objext \
22490 conftest
$ac_exeext conftest.
$ac_ext
22491 LIBS
=$ac_check_lib_save_LIBS
22493 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
22494 echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
22495 if test $ac_cv_lib_m_cos = yes; then
22497 cat >>confdefs.h
<<\_ACEOF
22503 echo "$as_me:$LINENO: checking for cosl in -lm" >&5
22504 echo $ECHO_N "checking for cosl in -lm... $ECHO_C" >&6
22505 if test "${ac_cv_lib_m_cosl+set}" = set; then
22506 echo $ECHO_N "(cached) $ECHO_C" >&6
22508 ac_check_lib_save_LIBS
=$LIBS
22510 if test x
$gcc_no_link = xyes
; then
22511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22513 { (exit 1); exit 1; }; }
22515 cat >conftest.
$ac_ext <<_ACEOF
22518 cat confdefs.h
>>conftest.
$ac_ext
22519 cat >>conftest.
$ac_ext <<_ACEOF
22520 /* end confdefs.h. */
22522 /* Override any gcc2 internal prototype to avoid an error. */
22526 /* We use char because int might match the return type of a gcc2
22527 builtin and then its argument prototype would still apply. */
22537 rm -f conftest.
$ac_objext conftest
$ac_exeext
22538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22539 (eval $ac_link) 2>conftest.er1
22541 grep -v '^ *+' conftest.er1
>conftest.err
22543 cat conftest.err
>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); } &&
22546 { ac_try
='test -z "$ac_c_werror_flag"
22547 || test ! -s conftest.err'
22548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22549 (eval $ac_try) 2>&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); }; } &&
22553 { ac_try
='test -s conftest$ac_exeext'
22554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555 (eval $ac_try) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); }; }; then
22559 ac_cv_lib_m_cosl
=yes
22561 echo "$as_me: failed program was:" >&5
22562 sed 's/^/| /' conftest.
$ac_ext >&5
22564 ac_cv_lib_m_cosl
=no
22566 rm -f conftest.err conftest.
$ac_objext \
22567 conftest
$ac_exeext conftest.
$ac_ext
22568 LIBS
=$ac_check_lib_save_LIBS
22570 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosl" >&5
22571 echo "${ECHO_T}$ac_cv_lib_m_cosl" >&6
22572 if test $ac_cv_lib_m_cosl = yes; then
22574 cat >>confdefs.h
<<\_ACEOF
22575 #define HAVE_COSL 1
22580 echo "$as_me:$LINENO: checking for ccosf in -lm" >&5
22581 echo $ECHO_N "checking for ccosf in -lm... $ECHO_C" >&6
22582 if test "${ac_cv_lib_m_ccosf+set}" = set; then
22583 echo $ECHO_N "(cached) $ECHO_C" >&6
22585 ac_check_lib_save_LIBS
=$LIBS
22587 if test x
$gcc_no_link = xyes
; then
22588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22590 { (exit 1); exit 1; }; }
22592 cat >conftest.
$ac_ext <<_ACEOF
22595 cat confdefs.h
>>conftest.
$ac_ext
22596 cat >>conftest.
$ac_ext <<_ACEOF
22597 /* end confdefs.h. */
22599 /* Override any gcc2 internal prototype to avoid an error. */
22603 /* We use char because int might match the return type of a gcc2
22604 builtin and then its argument prototype would still apply. */
22614 rm -f conftest.
$ac_objext conftest
$ac_exeext
22615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22616 (eval $ac_link) 2>conftest.er1
22618 grep -v '^ *+' conftest.er1
>conftest.err
22620 cat conftest.err
>&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } &&
22623 { ac_try
='test -z "$ac_c_werror_flag"
22624 || test ! -s conftest.err'
22625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22626 (eval $ac_try) 2>&5
22628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22629 (exit $ac_status); }; } &&
22630 { ac_try
='test -s conftest$ac_exeext'
22631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22632 (eval $ac_try) 2>&5
22634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22635 (exit $ac_status); }; }; then
22636 ac_cv_lib_m_ccosf
=yes
22638 echo "$as_me: failed program was:" >&5
22639 sed 's/^/| /' conftest.
$ac_ext >&5
22641 ac_cv_lib_m_ccosf
=no
22643 rm -f conftest.err conftest.
$ac_objext \
22644 conftest
$ac_exeext conftest.
$ac_ext
22645 LIBS
=$ac_check_lib_save_LIBS
22647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosf" >&5
22648 echo "${ECHO_T}$ac_cv_lib_m_ccosf" >&6
22649 if test $ac_cv_lib_m_ccosf = yes; then
22651 cat >>confdefs.h
<<\_ACEOF
22652 #define HAVE_CCOSF 1
22657 echo "$as_me:$LINENO: checking for ccos in -lm" >&5
22658 echo $ECHO_N "checking for ccos in -lm... $ECHO_C" >&6
22659 if test "${ac_cv_lib_m_ccos+set}" = set; then
22660 echo $ECHO_N "(cached) $ECHO_C" >&6
22662 ac_check_lib_save_LIBS
=$LIBS
22664 if test x
$gcc_no_link = xyes
; then
22665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22667 { (exit 1); exit 1; }; }
22669 cat >conftest.
$ac_ext <<_ACEOF
22672 cat confdefs.h
>>conftest.
$ac_ext
22673 cat >>conftest.
$ac_ext <<_ACEOF
22674 /* end confdefs.h. */
22676 /* Override any gcc2 internal prototype to avoid an error. */
22680 /* We use char because int might match the return type of a gcc2
22681 builtin and then its argument prototype would still apply. */
22691 rm -f conftest.
$ac_objext conftest
$ac_exeext
22692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22693 (eval $ac_link) 2>conftest.er1
22695 grep -v '^ *+' conftest.er1
>conftest.err
22697 cat conftest.err
>&5
22698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22699 (exit $ac_status); } &&
22700 { ac_try
='test -z "$ac_c_werror_flag"
22701 || test ! -s conftest.err'
22702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22703 (eval $ac_try) 2>&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); }; } &&
22707 { ac_try
='test -s conftest$ac_exeext'
22708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22709 (eval $ac_try) 2>&5
22711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22712 (exit $ac_status); }; }; then
22713 ac_cv_lib_m_ccos
=yes
22715 echo "$as_me: failed program was:" >&5
22716 sed 's/^/| /' conftest.
$ac_ext >&5
22718 ac_cv_lib_m_ccos
=no
22720 rm -f conftest.err conftest.
$ac_objext \
22721 conftest
$ac_exeext conftest.
$ac_ext
22722 LIBS
=$ac_check_lib_save_LIBS
22724 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccos" >&5
22725 echo "${ECHO_T}$ac_cv_lib_m_ccos" >&6
22726 if test $ac_cv_lib_m_ccos = yes; then
22728 cat >>confdefs.h
<<\_ACEOF
22729 #define HAVE_CCOS 1
22734 echo "$as_me:$LINENO: checking for ccosl in -lm" >&5
22735 echo $ECHO_N "checking for ccosl in -lm... $ECHO_C" >&6
22736 if test "${ac_cv_lib_m_ccosl+set}" = set; then
22737 echo $ECHO_N "(cached) $ECHO_C" >&6
22739 ac_check_lib_save_LIBS
=$LIBS
22741 if test x
$gcc_no_link = xyes
; then
22742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22744 { (exit 1); exit 1; }; }
22746 cat >conftest.
$ac_ext <<_ACEOF
22749 cat confdefs.h
>>conftest.
$ac_ext
22750 cat >>conftest.
$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22753 /* Override any gcc2 internal prototype to avoid an error. */
22757 /* We use char because int might match the return type of a gcc2
22758 builtin and then its argument prototype would still apply. */
22768 rm -f conftest.
$ac_objext conftest
$ac_exeext
22769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22770 (eval $ac_link) 2>conftest.er1
22772 grep -v '^ *+' conftest.er1
>conftest.err
22774 cat conftest.err
>&5
22775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22776 (exit $ac_status); } &&
22777 { ac_try
='test -z "$ac_c_werror_flag"
22778 || test ! -s conftest.err'
22779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22780 (eval $ac_try) 2>&5
22782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22783 (exit $ac_status); }; } &&
22784 { ac_try
='test -s conftest$ac_exeext'
22785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22786 (eval $ac_try) 2>&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); }; }; then
22790 ac_cv_lib_m_ccosl
=yes
22792 echo "$as_me: failed program was:" >&5
22793 sed 's/^/| /' conftest.
$ac_ext >&5
22795 ac_cv_lib_m_ccosl
=no
22797 rm -f conftest.err conftest.
$ac_objext \
22798 conftest
$ac_exeext conftest.
$ac_ext
22799 LIBS
=$ac_check_lib_save_LIBS
22801 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosl" >&5
22802 echo "${ECHO_T}$ac_cv_lib_m_ccosl" >&6
22803 if test $ac_cv_lib_m_ccosl = yes; then
22805 cat >>confdefs.h
<<\_ACEOF
22806 #define HAVE_CCOSL 1
22811 echo "$as_me:$LINENO: checking for coshf in -lm" >&5
22812 echo $ECHO_N "checking for coshf in -lm... $ECHO_C" >&6
22813 if test "${ac_cv_lib_m_coshf+set}" = set; then
22814 echo $ECHO_N "(cached) $ECHO_C" >&6
22816 ac_check_lib_save_LIBS
=$LIBS
22818 if test x
$gcc_no_link = xyes
; then
22819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22821 { (exit 1); exit 1; }; }
22823 cat >conftest.
$ac_ext <<_ACEOF
22826 cat confdefs.h
>>conftest.
$ac_ext
22827 cat >>conftest.
$ac_ext <<_ACEOF
22828 /* end confdefs.h. */
22830 /* Override any gcc2 internal prototype to avoid an error. */
22834 /* We use char because int might match the return type of a gcc2
22835 builtin and then its argument prototype would still apply. */
22845 rm -f conftest.
$ac_objext conftest
$ac_exeext
22846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22847 (eval $ac_link) 2>conftest.er1
22849 grep -v '^ *+' conftest.er1
>conftest.err
22851 cat conftest.err
>&5
22852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22853 (exit $ac_status); } &&
22854 { ac_try
='test -z "$ac_c_werror_flag"
22855 || test ! -s conftest.err'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; } &&
22861 { ac_try
='test -s conftest$ac_exeext'
22862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22863 (eval $ac_try) 2>&5
22865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22866 (exit $ac_status); }; }; then
22867 ac_cv_lib_m_coshf
=yes
22869 echo "$as_me: failed program was:" >&5
22870 sed 's/^/| /' conftest.
$ac_ext >&5
22872 ac_cv_lib_m_coshf
=no
22874 rm -f conftest.err conftest.
$ac_objext \
22875 conftest
$ac_exeext conftest.
$ac_ext
22876 LIBS
=$ac_check_lib_save_LIBS
22878 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshf" >&5
22879 echo "${ECHO_T}$ac_cv_lib_m_coshf" >&6
22880 if test $ac_cv_lib_m_coshf = yes; then
22882 cat >>confdefs.h
<<\_ACEOF
22883 #define HAVE_COSHF 1
22888 echo "$as_me:$LINENO: checking for cosh in -lm" >&5
22889 echo $ECHO_N "checking for cosh in -lm... $ECHO_C" >&6
22890 if test "${ac_cv_lib_m_cosh+set}" = set; then
22891 echo $ECHO_N "(cached) $ECHO_C" >&6
22893 ac_check_lib_save_LIBS
=$LIBS
22895 if test x
$gcc_no_link = xyes
; then
22896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22898 { (exit 1); exit 1; }; }
22900 cat >conftest.
$ac_ext <<_ACEOF
22903 cat confdefs.h
>>conftest.
$ac_ext
22904 cat >>conftest.
$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22907 /* Override any gcc2 internal prototype to avoid an error. */
22911 /* We use char because int might match the return type of a gcc2
22912 builtin and then its argument prototype would still apply. */
22922 rm -f conftest.
$ac_objext conftest
$ac_exeext
22923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22924 (eval $ac_link) 2>conftest.er1
22926 grep -v '^ *+' conftest.er1
>conftest.err
22928 cat conftest.err
>&5
22929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22930 (exit $ac_status); } &&
22931 { ac_try
='test -z "$ac_c_werror_flag"
22932 || test ! -s conftest.err'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; } &&
22938 { ac_try
='test -s conftest$ac_exeext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_cv_lib_m_cosh
=yes
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.
$ac_ext >&5
22949 ac_cv_lib_m_cosh
=no
22951 rm -f conftest.err conftest.
$ac_objext \
22952 conftest
$ac_exeext conftest.
$ac_ext
22953 LIBS
=$ac_check_lib_save_LIBS
22955 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cosh" >&5
22956 echo "${ECHO_T}$ac_cv_lib_m_cosh" >&6
22957 if test $ac_cv_lib_m_cosh = yes; then
22959 cat >>confdefs.h
<<\_ACEOF
22960 #define HAVE_COSH 1
22965 echo "$as_me:$LINENO: checking for coshl in -lm" >&5
22966 echo $ECHO_N "checking for coshl in -lm... $ECHO_C" >&6
22967 if test "${ac_cv_lib_m_coshl+set}" = set; then
22968 echo $ECHO_N "(cached) $ECHO_C" >&6
22970 ac_check_lib_save_LIBS
=$LIBS
22972 if test x
$gcc_no_link = xyes
; then
22973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22975 { (exit 1); exit 1; }; }
22977 cat >conftest.
$ac_ext <<_ACEOF
22980 cat confdefs.h
>>conftest.
$ac_ext
22981 cat >>conftest.
$ac_ext <<_ACEOF
22982 /* end confdefs.h. */
22984 /* Override any gcc2 internal prototype to avoid an error. */
22988 /* We use char because int might match the return type of a gcc2
22989 builtin and then its argument prototype would still apply. */
22999 rm -f conftest.
$ac_objext conftest
$ac_exeext
23000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23001 (eval $ac_link) 2>conftest.er1
23003 grep -v '^ *+' conftest.er1
>conftest.err
23005 cat conftest.err
>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); } &&
23008 { ac_try
='test -z "$ac_c_werror_flag"
23009 || test ! -s conftest.err'
23010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23011 (eval $ac_try) 2>&5
23013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23014 (exit $ac_status); }; } &&
23015 { ac_try
='test -s conftest$ac_exeext'
23016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23017 (eval $ac_try) 2>&5
23019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23020 (exit $ac_status); }; }; then
23021 ac_cv_lib_m_coshl
=yes
23023 echo "$as_me: failed program was:" >&5
23024 sed 's/^/| /' conftest.
$ac_ext >&5
23026 ac_cv_lib_m_coshl
=no
23028 rm -f conftest.err conftest.
$ac_objext \
23029 conftest
$ac_exeext conftest.
$ac_ext
23030 LIBS
=$ac_check_lib_save_LIBS
23032 echo "$as_me:$LINENO: result: $ac_cv_lib_m_coshl" >&5
23033 echo "${ECHO_T}$ac_cv_lib_m_coshl" >&6
23034 if test $ac_cv_lib_m_coshl = yes; then
23036 cat >>confdefs.h
<<\_ACEOF
23037 #define HAVE_COSHL 1
23042 echo "$as_me:$LINENO: checking for ccoshf in -lm" >&5
23043 echo $ECHO_N "checking for ccoshf in -lm... $ECHO_C" >&6
23044 if test "${ac_cv_lib_m_ccoshf+set}" = set; then
23045 echo $ECHO_N "(cached) $ECHO_C" >&6
23047 ac_check_lib_save_LIBS
=$LIBS
23049 if test x
$gcc_no_link = xyes
; then
23050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23052 { (exit 1); exit 1; }; }
23054 cat >conftest.
$ac_ext <<_ACEOF
23057 cat confdefs.h
>>conftest.
$ac_ext
23058 cat >>conftest.
$ac_ext <<_ACEOF
23059 /* end confdefs.h. */
23061 /* Override any gcc2 internal prototype to avoid an error. */
23065 /* We use char because int might match the return type of a gcc2
23066 builtin and then its argument prototype would still apply. */
23076 rm -f conftest.
$ac_objext conftest
$ac_exeext
23077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23078 (eval $ac_link) 2>conftest.er1
23080 grep -v '^ *+' conftest.er1
>conftest.err
23082 cat conftest.err
>&5
23083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23084 (exit $ac_status); } &&
23085 { ac_try
='test -z "$ac_c_werror_flag"
23086 || test ! -s conftest.err'
23087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23088 (eval $ac_try) 2>&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); }; } &&
23092 { ac_try
='test -s conftest$ac_exeext'
23093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23094 (eval $ac_try) 2>&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); }; }; then
23098 ac_cv_lib_m_ccoshf
=yes
23100 echo "$as_me: failed program was:" >&5
23101 sed 's/^/| /' conftest.
$ac_ext >&5
23103 ac_cv_lib_m_ccoshf
=no
23105 rm -f conftest.err conftest.
$ac_objext \
23106 conftest
$ac_exeext conftest.
$ac_ext
23107 LIBS
=$ac_check_lib_save_LIBS
23109 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshf" >&5
23110 echo "${ECHO_T}$ac_cv_lib_m_ccoshf" >&6
23111 if test $ac_cv_lib_m_ccoshf = yes; then
23113 cat >>confdefs.h
<<\_ACEOF
23114 #define HAVE_CCOSHF 1
23119 echo "$as_me:$LINENO: checking for ccosh in -lm" >&5
23120 echo $ECHO_N "checking for ccosh in -lm... $ECHO_C" >&6
23121 if test "${ac_cv_lib_m_ccosh+set}" = set; then
23122 echo $ECHO_N "(cached) $ECHO_C" >&6
23124 ac_check_lib_save_LIBS
=$LIBS
23126 if test x
$gcc_no_link = xyes
; then
23127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23129 { (exit 1); exit 1; }; }
23131 cat >conftest.
$ac_ext <<_ACEOF
23134 cat confdefs.h
>>conftest.
$ac_ext
23135 cat >>conftest.
$ac_ext <<_ACEOF
23136 /* end confdefs.h. */
23138 /* Override any gcc2 internal prototype to avoid an error. */
23142 /* We use char because int might match the return type of a gcc2
23143 builtin and then its argument prototype would still apply. */
23153 rm -f conftest.
$ac_objext conftest
$ac_exeext
23154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23155 (eval $ac_link) 2>conftest.er1
23157 grep -v '^ *+' conftest.er1
>conftest.err
23159 cat conftest.err
>&5
23160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23161 (exit $ac_status); } &&
23162 { ac_try
='test -z "$ac_c_werror_flag"
23163 || test ! -s conftest.err'
23164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23165 (eval $ac_try) 2>&5
23167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23168 (exit $ac_status); }; } &&
23169 { ac_try
='test -s conftest$ac_exeext'
23170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23171 (eval $ac_try) 2>&5
23173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23174 (exit $ac_status); }; }; then
23175 ac_cv_lib_m_ccosh
=yes
23177 echo "$as_me: failed program was:" >&5
23178 sed 's/^/| /' conftest.
$ac_ext >&5
23180 ac_cv_lib_m_ccosh
=no
23182 rm -f conftest.err conftest.
$ac_objext \
23183 conftest
$ac_exeext conftest.
$ac_ext
23184 LIBS
=$ac_check_lib_save_LIBS
23186 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccosh" >&5
23187 echo "${ECHO_T}$ac_cv_lib_m_ccosh" >&6
23188 if test $ac_cv_lib_m_ccosh = yes; then
23190 cat >>confdefs.h
<<\_ACEOF
23191 #define HAVE_CCOSH 1
23196 echo "$as_me:$LINENO: checking for ccoshl in -lm" >&5
23197 echo $ECHO_N "checking for ccoshl in -lm... $ECHO_C" >&6
23198 if test "${ac_cv_lib_m_ccoshl+set}" = set; then
23199 echo $ECHO_N "(cached) $ECHO_C" >&6
23201 ac_check_lib_save_LIBS
=$LIBS
23203 if test x
$gcc_no_link = xyes
; then
23204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23206 { (exit 1); exit 1; }; }
23208 cat >conftest.
$ac_ext <<_ACEOF
23211 cat confdefs.h
>>conftest.
$ac_ext
23212 cat >>conftest.
$ac_ext <<_ACEOF
23213 /* end confdefs.h. */
23215 /* Override any gcc2 internal prototype to avoid an error. */
23219 /* We use char because int might match the return type of a gcc2
23220 builtin and then its argument prototype would still apply. */
23230 rm -f conftest.
$ac_objext conftest
$ac_exeext
23231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23232 (eval $ac_link) 2>conftest.er1
23234 grep -v '^ *+' conftest.er1
>conftest.err
23236 cat conftest.err
>&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } &&
23239 { ac_try
='test -z "$ac_c_werror_flag"
23240 || test ! -s conftest.err'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; } &&
23246 { ac_try
='test -s conftest$ac_exeext'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23252 ac_cv_lib_m_ccoshl
=yes
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.
$ac_ext >&5
23257 ac_cv_lib_m_ccoshl
=no
23259 rm -f conftest.err conftest.
$ac_objext \
23260 conftest
$ac_exeext conftest.
$ac_ext
23261 LIBS
=$ac_check_lib_save_LIBS
23263 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ccoshl" >&5
23264 echo "${ECHO_T}$ac_cv_lib_m_ccoshl" >&6
23265 if test $ac_cv_lib_m_ccoshl = yes; then
23267 cat >>confdefs.h
<<\_ACEOF
23268 #define HAVE_CCOSHL 1
23273 echo "$as_me:$LINENO: checking for expf in -lm" >&5
23274 echo $ECHO_N "checking for expf in -lm... $ECHO_C" >&6
23275 if test "${ac_cv_lib_m_expf+set}" = set; then
23276 echo $ECHO_N "(cached) $ECHO_C" >&6
23278 ac_check_lib_save_LIBS
=$LIBS
23280 if test x
$gcc_no_link = xyes
; then
23281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23283 { (exit 1); exit 1; }; }
23285 cat >conftest.
$ac_ext <<_ACEOF
23288 cat confdefs.h
>>conftest.
$ac_ext
23289 cat >>conftest.
$ac_ext <<_ACEOF
23290 /* end confdefs.h. */
23292 /* Override any gcc2 internal prototype to avoid an error. */
23296 /* We use char because int might match the return type of a gcc2
23297 builtin and then its argument prototype would still apply. */
23307 rm -f conftest.
$ac_objext conftest
$ac_exeext
23308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23309 (eval $ac_link) 2>conftest.er1
23311 grep -v '^ *+' conftest.er1
>conftest.err
23313 cat conftest.err
>&5
23314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23315 (exit $ac_status); } &&
23316 { ac_try
='test -z "$ac_c_werror_flag"
23317 || test ! -s conftest.err'
23318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23319 (eval $ac_try) 2>&5
23321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23322 (exit $ac_status); }; } &&
23323 { ac_try
='test -s conftest$ac_exeext'
23324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23325 (eval $ac_try) 2>&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); }; }; then
23329 ac_cv_lib_m_expf
=yes
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.
$ac_ext >&5
23334 ac_cv_lib_m_expf
=no
23336 rm -f conftest.err conftest.
$ac_objext \
23337 conftest
$ac_exeext conftest.
$ac_ext
23338 LIBS
=$ac_check_lib_save_LIBS
23340 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expf" >&5
23341 echo "${ECHO_T}$ac_cv_lib_m_expf" >&6
23342 if test $ac_cv_lib_m_expf = yes; then
23344 cat >>confdefs.h
<<\_ACEOF
23345 #define HAVE_EXPF 1
23350 echo "$as_me:$LINENO: checking for exp in -lm" >&5
23351 echo $ECHO_N "checking for exp in -lm... $ECHO_C" >&6
23352 if test "${ac_cv_lib_m_exp+set}" = set; then
23353 echo $ECHO_N "(cached) $ECHO_C" >&6
23355 ac_check_lib_save_LIBS
=$LIBS
23357 if test x
$gcc_no_link = xyes
; then
23358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23360 { (exit 1); exit 1; }; }
23362 cat >conftest.
$ac_ext <<_ACEOF
23365 cat confdefs.h
>>conftest.
$ac_ext
23366 cat >>conftest.
$ac_ext <<_ACEOF
23367 /* end confdefs.h. */
23369 /* Override any gcc2 internal prototype to avoid an error. */
23373 /* We use char because int might match the return type of a gcc2
23374 builtin and then its argument prototype would still apply. */
23384 rm -f conftest.
$ac_objext conftest
$ac_exeext
23385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23386 (eval $ac_link) 2>conftest.er1
23388 grep -v '^ *+' conftest.er1
>conftest.err
23390 cat conftest.err
>&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } &&
23393 { ac_try
='test -z "$ac_c_werror_flag"
23394 || test ! -s conftest.err'
23395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23396 (eval $ac_try) 2>&5
23398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23399 (exit $ac_status); }; } &&
23400 { ac_try
='test -s conftest$ac_exeext'
23401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23402 (eval $ac_try) 2>&5
23404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23405 (exit $ac_status); }; }; then
23406 ac_cv_lib_m_exp
=yes
23408 echo "$as_me: failed program was:" >&5
23409 sed 's/^/| /' conftest.
$ac_ext >&5
23413 rm -f conftest.err conftest.
$ac_objext \
23414 conftest
$ac_exeext conftest.
$ac_ext
23415 LIBS
=$ac_check_lib_save_LIBS
23417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_exp" >&5
23418 echo "${ECHO_T}$ac_cv_lib_m_exp" >&6
23419 if test $ac_cv_lib_m_exp = yes; then
23421 cat >>confdefs.h
<<\_ACEOF
23427 echo "$as_me:$LINENO: checking for expl in -lm" >&5
23428 echo $ECHO_N "checking for expl in -lm... $ECHO_C" >&6
23429 if test "${ac_cv_lib_m_expl+set}" = set; then
23430 echo $ECHO_N "(cached) $ECHO_C" >&6
23432 ac_check_lib_save_LIBS
=$LIBS
23434 if test x
$gcc_no_link = xyes
; then
23435 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23437 { (exit 1); exit 1; }; }
23439 cat >conftest.
$ac_ext <<_ACEOF
23442 cat confdefs.h
>>conftest.
$ac_ext
23443 cat >>conftest.
$ac_ext <<_ACEOF
23444 /* end confdefs.h. */
23446 /* Override any gcc2 internal prototype to avoid an error. */
23450 /* We use char because int might match the return type of a gcc2
23451 builtin and then its argument prototype would still apply. */
23461 rm -f conftest.
$ac_objext conftest
$ac_exeext
23462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23463 (eval $ac_link) 2>conftest.er1
23465 grep -v '^ *+' conftest.er1
>conftest.err
23467 cat conftest.err
>&5
23468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23469 (exit $ac_status); } &&
23470 { ac_try
='test -z "$ac_c_werror_flag"
23471 || test ! -s conftest.err'
23472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23473 (eval $ac_try) 2>&5
23475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23476 (exit $ac_status); }; } &&
23477 { ac_try
='test -s conftest$ac_exeext'
23478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23479 (eval $ac_try) 2>&5
23481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23482 (exit $ac_status); }; }; then
23483 ac_cv_lib_m_expl
=yes
23485 echo "$as_me: failed program was:" >&5
23486 sed 's/^/| /' conftest.
$ac_ext >&5
23488 ac_cv_lib_m_expl
=no
23490 rm -f conftest.err conftest.
$ac_objext \
23491 conftest
$ac_exeext conftest.
$ac_ext
23492 LIBS
=$ac_check_lib_save_LIBS
23494 echo "$as_me:$LINENO: result: $ac_cv_lib_m_expl" >&5
23495 echo "${ECHO_T}$ac_cv_lib_m_expl" >&6
23496 if test $ac_cv_lib_m_expl = yes; then
23498 cat >>confdefs.h
<<\_ACEOF
23499 #define HAVE_EXPL 1
23504 echo "$as_me:$LINENO: checking for cexpf in -lm" >&5
23505 echo $ECHO_N "checking for cexpf in -lm... $ECHO_C" >&6
23506 if test "${ac_cv_lib_m_cexpf+set}" = set; then
23507 echo $ECHO_N "(cached) $ECHO_C" >&6
23509 ac_check_lib_save_LIBS
=$LIBS
23511 if test x
$gcc_no_link = xyes
; then
23512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23514 { (exit 1); exit 1; }; }
23516 cat >conftest.
$ac_ext <<_ACEOF
23519 cat confdefs.h
>>conftest.
$ac_ext
23520 cat >>conftest.
$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23523 /* Override any gcc2 internal prototype to avoid an error. */
23527 /* We use char because int might match the return type of a gcc2
23528 builtin and then its argument prototype would still apply. */
23538 rm -f conftest.
$ac_objext conftest
$ac_exeext
23539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23540 (eval $ac_link) 2>conftest.er1
23542 grep -v '^ *+' conftest.er1
>conftest.err
23544 cat conftest.err
>&5
23545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23546 (exit $ac_status); } &&
23547 { ac_try
='test -z "$ac_c_werror_flag"
23548 || test ! -s conftest.err'
23549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23550 (eval $ac_try) 2>&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); }; } &&
23554 { ac_try
='test -s conftest$ac_exeext'
23555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23556 (eval $ac_try) 2>&5
23558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23559 (exit $ac_status); }; }; then
23560 ac_cv_lib_m_cexpf
=yes
23562 echo "$as_me: failed program was:" >&5
23563 sed 's/^/| /' conftest.
$ac_ext >&5
23565 ac_cv_lib_m_cexpf
=no
23567 rm -f conftest.err conftest.
$ac_objext \
23568 conftest
$ac_exeext conftest.
$ac_ext
23569 LIBS
=$ac_check_lib_save_LIBS
23571 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpf" >&5
23572 echo "${ECHO_T}$ac_cv_lib_m_cexpf" >&6
23573 if test $ac_cv_lib_m_cexpf = yes; then
23575 cat >>confdefs.h
<<\_ACEOF
23576 #define HAVE_CEXPF 1
23581 echo "$as_me:$LINENO: checking for cexp in -lm" >&5
23582 echo $ECHO_N "checking for cexp in -lm... $ECHO_C" >&6
23583 if test "${ac_cv_lib_m_cexp+set}" = set; then
23584 echo $ECHO_N "(cached) $ECHO_C" >&6
23586 ac_check_lib_save_LIBS
=$LIBS
23588 if test x
$gcc_no_link = xyes
; then
23589 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23590 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23591 { (exit 1); exit 1; }; }
23593 cat >conftest.
$ac_ext <<_ACEOF
23596 cat confdefs.h
>>conftest.
$ac_ext
23597 cat >>conftest.
$ac_ext <<_ACEOF
23598 /* end confdefs.h. */
23600 /* Override any gcc2 internal prototype to avoid an error. */
23604 /* We use char because int might match the return type of a gcc2
23605 builtin and then its argument prototype would still apply. */
23615 rm -f conftest.
$ac_objext conftest
$ac_exeext
23616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23617 (eval $ac_link) 2>conftest.er1
23619 grep -v '^ *+' conftest.er1
>conftest.err
23621 cat conftest.err
>&5
23622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23623 (exit $ac_status); } &&
23624 { ac_try
='test -z "$ac_c_werror_flag"
23625 || test ! -s conftest.err'
23626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23627 (eval $ac_try) 2>&5
23629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23630 (exit $ac_status); }; } &&
23631 { ac_try
='test -s conftest$ac_exeext'
23632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23633 (eval $ac_try) 2>&5
23635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23636 (exit $ac_status); }; }; then
23637 ac_cv_lib_m_cexp
=yes
23639 echo "$as_me: failed program was:" >&5
23640 sed 's/^/| /' conftest.
$ac_ext >&5
23642 ac_cv_lib_m_cexp
=no
23644 rm -f conftest.err conftest.
$ac_objext \
23645 conftest
$ac_exeext conftest.
$ac_ext
23646 LIBS
=$ac_check_lib_save_LIBS
23648 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexp" >&5
23649 echo "${ECHO_T}$ac_cv_lib_m_cexp" >&6
23650 if test $ac_cv_lib_m_cexp = yes; then
23652 cat >>confdefs.h
<<\_ACEOF
23653 #define HAVE_CEXP 1
23658 echo "$as_me:$LINENO: checking for cexpl in -lm" >&5
23659 echo $ECHO_N "checking for cexpl in -lm... $ECHO_C" >&6
23660 if test "${ac_cv_lib_m_cexpl+set}" = set; then
23661 echo $ECHO_N "(cached) $ECHO_C" >&6
23663 ac_check_lib_save_LIBS
=$LIBS
23665 if test x
$gcc_no_link = xyes
; then
23666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23668 { (exit 1); exit 1; }; }
23670 cat >conftest.
$ac_ext <<_ACEOF
23673 cat confdefs.h
>>conftest.
$ac_ext
23674 cat >>conftest.
$ac_ext <<_ACEOF
23675 /* end confdefs.h. */
23677 /* Override any gcc2 internal prototype to avoid an error. */
23681 /* We use char because int might match the return type of a gcc2
23682 builtin and then its argument prototype would still apply. */
23692 rm -f conftest.
$ac_objext conftest
$ac_exeext
23693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23694 (eval $ac_link) 2>conftest.er1
23696 grep -v '^ *+' conftest.er1
>conftest.err
23698 cat conftest.err
>&5
23699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23700 (exit $ac_status); } &&
23701 { ac_try
='test -z "$ac_c_werror_flag"
23702 || test ! -s conftest.err'
23703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23704 (eval $ac_try) 2>&5
23706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23707 (exit $ac_status); }; } &&
23708 { ac_try
='test -s conftest$ac_exeext'
23709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23710 (eval $ac_try) 2>&5
23712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23713 (exit $ac_status); }; }; then
23714 ac_cv_lib_m_cexpl
=yes
23716 echo "$as_me: failed program was:" >&5
23717 sed 's/^/| /' conftest.
$ac_ext >&5
23719 ac_cv_lib_m_cexpl
=no
23721 rm -f conftest.err conftest.
$ac_objext \
23722 conftest
$ac_exeext conftest.
$ac_ext
23723 LIBS
=$ac_check_lib_save_LIBS
23725 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cexpl" >&5
23726 echo "${ECHO_T}$ac_cv_lib_m_cexpl" >&6
23727 if test $ac_cv_lib_m_cexpl = yes; then
23729 cat >>confdefs.h
<<\_ACEOF
23730 #define HAVE_CEXPL 1
23735 echo "$as_me:$LINENO: checking for fabsf in -lm" >&5
23736 echo $ECHO_N "checking for fabsf in -lm... $ECHO_C" >&6
23737 if test "${ac_cv_lib_m_fabsf+set}" = set; then
23738 echo $ECHO_N "(cached) $ECHO_C" >&6
23740 ac_check_lib_save_LIBS
=$LIBS
23742 if test x
$gcc_no_link = xyes
; then
23743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23745 { (exit 1); exit 1; }; }
23747 cat >conftest.
$ac_ext <<_ACEOF
23750 cat confdefs.h
>>conftest.
$ac_ext
23751 cat >>conftest.
$ac_ext <<_ACEOF
23752 /* end confdefs.h. */
23754 /* Override any gcc2 internal prototype to avoid an error. */
23758 /* We use char because int might match the return type of a gcc2
23759 builtin and then its argument prototype would still apply. */
23769 rm -f conftest.
$ac_objext conftest
$ac_exeext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23771 (eval $ac_link) 2>conftest.er1
23773 grep -v '^ *+' conftest.er1
>conftest.err
23775 cat conftest.err
>&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); } &&
23778 { ac_try
='test -z "$ac_c_werror_flag"
23779 || test ! -s conftest.err'
23780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23781 (eval $ac_try) 2>&5
23783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23784 (exit $ac_status); }; } &&
23785 { ac_try
='test -s conftest$ac_exeext'
23786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23787 (eval $ac_try) 2>&5
23789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23790 (exit $ac_status); }; }; then
23791 ac_cv_lib_m_fabsf
=yes
23793 echo "$as_me: failed program was:" >&5
23794 sed 's/^/| /' conftest.
$ac_ext >&5
23796 ac_cv_lib_m_fabsf
=no
23798 rm -f conftest.err conftest.
$ac_objext \
23799 conftest
$ac_exeext conftest.
$ac_ext
23800 LIBS
=$ac_check_lib_save_LIBS
23802 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsf" >&5
23803 echo "${ECHO_T}$ac_cv_lib_m_fabsf" >&6
23804 if test $ac_cv_lib_m_fabsf = yes; then
23806 cat >>confdefs.h
<<\_ACEOF
23807 #define HAVE_FABSF 1
23812 echo "$as_me:$LINENO: checking for fabs in -lm" >&5
23813 echo $ECHO_N "checking for fabs in -lm... $ECHO_C" >&6
23814 if test "${ac_cv_lib_m_fabs+set}" = set; then
23815 echo $ECHO_N "(cached) $ECHO_C" >&6
23817 ac_check_lib_save_LIBS
=$LIBS
23819 if test x
$gcc_no_link = xyes
; then
23820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23822 { (exit 1); exit 1; }; }
23824 cat >conftest.
$ac_ext <<_ACEOF
23827 cat confdefs.h
>>conftest.
$ac_ext
23828 cat >>conftest.
$ac_ext <<_ACEOF
23829 /* end confdefs.h. */
23831 /* Override any gcc2 internal prototype to avoid an error. */
23835 /* We use char because int might match the return type of a gcc2
23836 builtin and then its argument prototype would still apply. */
23846 rm -f conftest.
$ac_objext conftest
$ac_exeext
23847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23848 (eval $ac_link) 2>conftest.er1
23850 grep -v '^ *+' conftest.er1
>conftest.err
23852 cat conftest.err
>&5
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); } &&
23855 { ac_try
='test -z "$ac_c_werror_flag"
23856 || test ! -s conftest.err'
23857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23858 (eval $ac_try) 2>&5
23860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23861 (exit $ac_status); }; } &&
23862 { ac_try
='test -s conftest$ac_exeext'
23863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23864 (eval $ac_try) 2>&5
23866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23867 (exit $ac_status); }; }; then
23868 ac_cv_lib_m_fabs
=yes
23870 echo "$as_me: failed program was:" >&5
23871 sed 's/^/| /' conftest.
$ac_ext >&5
23873 ac_cv_lib_m_fabs
=no
23875 rm -f conftest.err conftest.
$ac_objext \
23876 conftest
$ac_exeext conftest.
$ac_ext
23877 LIBS
=$ac_check_lib_save_LIBS
23879 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabs" >&5
23880 echo "${ECHO_T}$ac_cv_lib_m_fabs" >&6
23881 if test $ac_cv_lib_m_fabs = yes; then
23883 cat >>confdefs.h
<<\_ACEOF
23884 #define HAVE_FABS 1
23889 echo "$as_me:$LINENO: checking for fabsl in -lm" >&5
23890 echo $ECHO_N "checking for fabsl in -lm... $ECHO_C" >&6
23891 if test "${ac_cv_lib_m_fabsl+set}" = set; then
23892 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 ac_check_lib_save_LIBS
=$LIBS
23896 if test x
$gcc_no_link = xyes
; then
23897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23899 { (exit 1); exit 1; }; }
23901 cat >conftest.
$ac_ext <<_ACEOF
23904 cat confdefs.h
>>conftest.
$ac_ext
23905 cat >>conftest.
$ac_ext <<_ACEOF
23906 /* end confdefs.h. */
23908 /* Override any gcc2 internal prototype to avoid an error. */
23912 /* We use char because int might match the return type of a gcc2
23913 builtin and then its argument prototype would still apply. */
23923 rm -f conftest.
$ac_objext conftest
$ac_exeext
23924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23925 (eval $ac_link) 2>conftest.er1
23927 grep -v '^ *+' conftest.er1
>conftest.err
23929 cat conftest.err
>&5
23930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23931 (exit $ac_status); } &&
23932 { ac_try
='test -z "$ac_c_werror_flag"
23933 || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try
='test -s conftest$ac_exeext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 ac_cv_lib_m_fabsl
=yes
23947 echo "$as_me: failed program was:" >&5
23948 sed 's/^/| /' conftest.
$ac_ext >&5
23950 ac_cv_lib_m_fabsl
=no
23952 rm -f conftest.err conftest.
$ac_objext \
23953 conftest
$ac_exeext conftest.
$ac_ext
23954 LIBS
=$ac_check_lib_save_LIBS
23956 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fabsl" >&5
23957 echo "${ECHO_T}$ac_cv_lib_m_fabsl" >&6
23958 if test $ac_cv_lib_m_fabsl = yes; then
23960 cat >>confdefs.h
<<\_ACEOF
23961 #define HAVE_FABSL 1
23966 echo "$as_me:$LINENO: checking for cabsf in -lm" >&5
23967 echo $ECHO_N "checking for cabsf in -lm... $ECHO_C" >&6
23968 if test "${ac_cv_lib_m_cabsf+set}" = set; then
23969 echo $ECHO_N "(cached) $ECHO_C" >&6
23971 ac_check_lib_save_LIBS
=$LIBS
23973 if test x
$gcc_no_link = xyes
; then
23974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23976 { (exit 1); exit 1; }; }
23978 cat >conftest.
$ac_ext <<_ACEOF
23981 cat confdefs.h
>>conftest.
$ac_ext
23982 cat >>conftest.
$ac_ext <<_ACEOF
23983 /* end confdefs.h. */
23985 /* Override any gcc2 internal prototype to avoid an error. */
23989 /* We use char because int might match the return type of a gcc2
23990 builtin and then its argument prototype would still apply. */
24000 rm -f conftest.
$ac_objext conftest
$ac_exeext
24001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24002 (eval $ac_link) 2>conftest.er1
24004 grep -v '^ *+' conftest.er1
>conftest.err
24006 cat conftest.err
>&5
24007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24008 (exit $ac_status); } &&
24009 { ac_try
='test -z "$ac_c_werror_flag"
24010 || test ! -s conftest.err'
24011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24012 (eval $ac_try) 2>&5
24014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24015 (exit $ac_status); }; } &&
24016 { ac_try
='test -s conftest$ac_exeext'
24017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24018 (eval $ac_try) 2>&5
24020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24021 (exit $ac_status); }; }; then
24022 ac_cv_lib_m_cabsf
=yes
24024 echo "$as_me: failed program was:" >&5
24025 sed 's/^/| /' conftest.
$ac_ext >&5
24027 ac_cv_lib_m_cabsf
=no
24029 rm -f conftest.err conftest.
$ac_objext \
24030 conftest
$ac_exeext conftest.
$ac_ext
24031 LIBS
=$ac_check_lib_save_LIBS
24033 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsf" >&5
24034 echo "${ECHO_T}$ac_cv_lib_m_cabsf" >&6
24035 if test $ac_cv_lib_m_cabsf = yes; then
24037 cat >>confdefs.h
<<\_ACEOF
24038 #define HAVE_CABSF 1
24043 echo "$as_me:$LINENO: checking for cabs in -lm" >&5
24044 echo $ECHO_N "checking for cabs in -lm... $ECHO_C" >&6
24045 if test "${ac_cv_lib_m_cabs+set}" = set; then
24046 echo $ECHO_N "(cached) $ECHO_C" >&6
24048 ac_check_lib_save_LIBS
=$LIBS
24050 if test x
$gcc_no_link = xyes
; then
24051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24053 { (exit 1); exit 1; }; }
24055 cat >conftest.
$ac_ext <<_ACEOF
24058 cat confdefs.h
>>conftest.
$ac_ext
24059 cat >>conftest.
$ac_ext <<_ACEOF
24060 /* end confdefs.h. */
24062 /* Override any gcc2 internal prototype to avoid an error. */
24066 /* We use char because int might match the return type of a gcc2
24067 builtin and then its argument prototype would still apply. */
24077 rm -f conftest.
$ac_objext conftest
$ac_exeext
24078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24079 (eval $ac_link) 2>conftest.er1
24081 grep -v '^ *+' conftest.er1
>conftest.err
24083 cat conftest.err
>&5
24084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24085 (exit $ac_status); } &&
24086 { ac_try
='test -z "$ac_c_werror_flag"
24087 || test ! -s conftest.err'
24088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24089 (eval $ac_try) 2>&5
24091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24092 (exit $ac_status); }; } &&
24093 { ac_try
='test -s conftest$ac_exeext'
24094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24095 (eval $ac_try) 2>&5
24097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24098 (exit $ac_status); }; }; then
24099 ac_cv_lib_m_cabs
=yes
24101 echo "$as_me: failed program was:" >&5
24102 sed 's/^/| /' conftest.
$ac_ext >&5
24104 ac_cv_lib_m_cabs
=no
24106 rm -f conftest.err conftest.
$ac_objext \
24107 conftest
$ac_exeext conftest.
$ac_ext
24108 LIBS
=$ac_check_lib_save_LIBS
24110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabs" >&5
24111 echo "${ECHO_T}$ac_cv_lib_m_cabs" >&6
24112 if test $ac_cv_lib_m_cabs = yes; then
24114 cat >>confdefs.h
<<\_ACEOF
24115 #define HAVE_CABS 1
24120 echo "$as_me:$LINENO: checking for cabsl in -lm" >&5
24121 echo $ECHO_N "checking for cabsl in -lm... $ECHO_C" >&6
24122 if test "${ac_cv_lib_m_cabsl+set}" = set; then
24123 echo $ECHO_N "(cached) $ECHO_C" >&6
24125 ac_check_lib_save_LIBS
=$LIBS
24127 if test x
$gcc_no_link = xyes
; then
24128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24130 { (exit 1); exit 1; }; }
24132 cat >conftest.
$ac_ext <<_ACEOF
24135 cat confdefs.h
>>conftest.
$ac_ext
24136 cat >>conftest.
$ac_ext <<_ACEOF
24137 /* end confdefs.h. */
24139 /* Override any gcc2 internal prototype to avoid an error. */
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24154 rm -f conftest.
$ac_objext conftest
$ac_exeext
24155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24156 (eval $ac_link) 2>conftest.er1
24158 grep -v '^ *+' conftest.er1
>conftest.err
24160 cat conftest.err
>&5
24161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24162 (exit $ac_status); } &&
24163 { ac_try
='test -z "$ac_c_werror_flag"
24164 || test ! -s conftest.err'
24165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24166 (eval $ac_try) 2>&5
24168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24169 (exit $ac_status); }; } &&
24170 { ac_try
='test -s conftest$ac_exeext'
24171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24172 (eval $ac_try) 2>&5
24174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24175 (exit $ac_status); }; }; then
24176 ac_cv_lib_m_cabsl
=yes
24178 echo "$as_me: failed program was:" >&5
24179 sed 's/^/| /' conftest.
$ac_ext >&5
24181 ac_cv_lib_m_cabsl
=no
24183 rm -f conftest.err conftest.
$ac_objext \
24184 conftest
$ac_exeext conftest.
$ac_ext
24185 LIBS
=$ac_check_lib_save_LIBS
24187 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cabsl" >&5
24188 echo "${ECHO_T}$ac_cv_lib_m_cabsl" >&6
24189 if test $ac_cv_lib_m_cabsl = yes; then
24191 cat >>confdefs.h
<<\_ACEOF
24192 #define HAVE_CABSL 1
24197 echo "$as_me:$LINENO: checking for floorf in -lm" >&5
24198 echo $ECHO_N "checking for floorf in -lm... $ECHO_C" >&6
24199 if test "${ac_cv_lib_m_floorf+set}" = set; then
24200 echo $ECHO_N "(cached) $ECHO_C" >&6
24202 ac_check_lib_save_LIBS
=$LIBS
24204 if test x
$gcc_no_link = xyes
; then
24205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24207 { (exit 1); exit 1; }; }
24209 cat >conftest.
$ac_ext <<_ACEOF
24212 cat confdefs.h
>>conftest.
$ac_ext
24213 cat >>conftest.
$ac_ext <<_ACEOF
24214 /* end confdefs.h. */
24216 /* Override any gcc2 internal prototype to avoid an error. */
24220 /* We use char because int might match the return type of a gcc2
24221 builtin and then its argument prototype would still apply. */
24231 rm -f conftest.
$ac_objext conftest
$ac_exeext
24232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24233 (eval $ac_link) 2>conftest.er1
24235 grep -v '^ *+' conftest.er1
>conftest.err
24237 cat conftest.err
>&5
24238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24239 (exit $ac_status); } &&
24240 { ac_try
='test -z "$ac_c_werror_flag"
24241 || test ! -s conftest.err'
24242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24243 (eval $ac_try) 2>&5
24245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24246 (exit $ac_status); }; } &&
24247 { ac_try
='test -s conftest$ac_exeext'
24248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24249 (eval $ac_try) 2>&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); }; }; then
24253 ac_cv_lib_m_floorf
=yes
24255 echo "$as_me: failed program was:" >&5
24256 sed 's/^/| /' conftest.
$ac_ext >&5
24258 ac_cv_lib_m_floorf
=no
24260 rm -f conftest.err conftest.
$ac_objext \
24261 conftest
$ac_exeext conftest.
$ac_ext
24262 LIBS
=$ac_check_lib_save_LIBS
24264 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorf" >&5
24265 echo "${ECHO_T}$ac_cv_lib_m_floorf" >&6
24266 if test $ac_cv_lib_m_floorf = yes; then
24268 cat >>confdefs.h
<<\_ACEOF
24269 #define HAVE_FLOORF 1
24274 echo "$as_me:$LINENO: checking for floor in -lm" >&5
24275 echo $ECHO_N "checking for floor in -lm... $ECHO_C" >&6
24276 if test "${ac_cv_lib_m_floor+set}" = set; then
24277 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 ac_check_lib_save_LIBS
=$LIBS
24281 if test x
$gcc_no_link = xyes
; then
24282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24284 { (exit 1); exit 1; }; }
24286 cat >conftest.
$ac_ext <<_ACEOF
24289 cat confdefs.h
>>conftest.
$ac_ext
24290 cat >>conftest.
$ac_ext <<_ACEOF
24291 /* end confdefs.h. */
24293 /* Override any gcc2 internal prototype to avoid an error. */
24297 /* We use char because int might match the return type of a gcc2
24298 builtin and then its argument prototype would still apply. */
24308 rm -f conftest.
$ac_objext conftest
$ac_exeext
24309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24310 (eval $ac_link) 2>conftest.er1
24312 grep -v '^ *+' conftest.er1
>conftest.err
24314 cat conftest.err
>&5
24315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24316 (exit $ac_status); } &&
24317 { ac_try
='test -z "$ac_c_werror_flag"
24318 || test ! -s conftest.err'
24319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24320 (eval $ac_try) 2>&5
24322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24323 (exit $ac_status); }; } &&
24324 { ac_try
='test -s conftest$ac_exeext'
24325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24326 (eval $ac_try) 2>&5
24328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24329 (exit $ac_status); }; }; then
24330 ac_cv_lib_m_floor
=yes
24332 echo "$as_me: failed program was:" >&5
24333 sed 's/^/| /' conftest.
$ac_ext >&5
24335 ac_cv_lib_m_floor
=no
24337 rm -f conftest.err conftest.
$ac_objext \
24338 conftest
$ac_exeext conftest.
$ac_ext
24339 LIBS
=$ac_check_lib_save_LIBS
24341 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floor" >&5
24342 echo "${ECHO_T}$ac_cv_lib_m_floor" >&6
24343 if test $ac_cv_lib_m_floor = yes; then
24345 cat >>confdefs.h
<<\_ACEOF
24346 #define HAVE_FLOOR 1
24351 echo "$as_me:$LINENO: checking for floorl in -lm" >&5
24352 echo $ECHO_N "checking for floorl in -lm... $ECHO_C" >&6
24353 if test "${ac_cv_lib_m_floorl+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24356 ac_check_lib_save_LIBS
=$LIBS
24358 if test x
$gcc_no_link = xyes
; then
24359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24361 { (exit 1); exit 1; }; }
24363 cat >conftest.
$ac_ext <<_ACEOF
24366 cat confdefs.h
>>conftest.
$ac_ext
24367 cat >>conftest.
$ac_ext <<_ACEOF
24368 /* end confdefs.h. */
24370 /* Override any gcc2 internal prototype to avoid an error. */
24374 /* We use char because int might match the return type of a gcc2
24375 builtin and then its argument prototype would still apply. */
24385 rm -f conftest.
$ac_objext conftest
$ac_exeext
24386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24387 (eval $ac_link) 2>conftest.er1
24389 grep -v '^ *+' conftest.er1
>conftest.err
24391 cat conftest.err
>&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } &&
24394 { ac_try
='test -z "$ac_c_werror_flag"
24395 || test ! -s conftest.err'
24396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24397 (eval $ac_try) 2>&5
24399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24400 (exit $ac_status); }; } &&
24401 { ac_try
='test -s conftest$ac_exeext'
24402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24403 (eval $ac_try) 2>&5
24405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24406 (exit $ac_status); }; }; then
24407 ac_cv_lib_m_floorl
=yes
24409 echo "$as_me: failed program was:" >&5
24410 sed 's/^/| /' conftest.
$ac_ext >&5
24412 ac_cv_lib_m_floorl
=no
24414 rm -f conftest.err conftest.
$ac_objext \
24415 conftest
$ac_exeext conftest.
$ac_ext
24416 LIBS
=$ac_check_lib_save_LIBS
24418 echo "$as_me:$LINENO: result: $ac_cv_lib_m_floorl" >&5
24419 echo "${ECHO_T}$ac_cv_lib_m_floorl" >&6
24420 if test $ac_cv_lib_m_floorl = yes; then
24422 cat >>confdefs.h
<<\_ACEOF
24423 #define HAVE_FLOORL 1
24428 echo "$as_me:$LINENO: checking for fmodf in -lm" >&5
24429 echo $ECHO_N "checking for fmodf in -lm... $ECHO_C" >&6
24430 if test "${ac_cv_lib_m_fmodf+set}" = set; then
24431 echo $ECHO_N "(cached) $ECHO_C" >&6
24433 ac_check_lib_save_LIBS
=$LIBS
24435 if test x
$gcc_no_link = xyes
; then
24436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24438 { (exit 1); exit 1; }; }
24440 cat >conftest.
$ac_ext <<_ACEOF
24443 cat confdefs.h
>>conftest.
$ac_ext
24444 cat >>conftest.
$ac_ext <<_ACEOF
24445 /* end confdefs.h. */
24447 /* Override any gcc2 internal prototype to avoid an error. */
24451 /* We use char because int might match the return type of a gcc2
24452 builtin and then its argument prototype would still apply. */
24462 rm -f conftest.
$ac_objext conftest
$ac_exeext
24463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24464 (eval $ac_link) 2>conftest.er1
24466 grep -v '^ *+' conftest.er1
>conftest.err
24468 cat conftest.err
>&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } &&
24471 { ac_try
='test -z "$ac_c_werror_flag"
24472 || test ! -s conftest.err'
24473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24474 (eval $ac_try) 2>&5
24476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24477 (exit $ac_status); }; } &&
24478 { ac_try
='test -s conftest$ac_exeext'
24479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24480 (eval $ac_try) 2>&5
24482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24483 (exit $ac_status); }; }; then
24484 ac_cv_lib_m_fmodf
=yes
24486 echo "$as_me: failed program was:" >&5
24487 sed 's/^/| /' conftest.
$ac_ext >&5
24489 ac_cv_lib_m_fmodf
=no
24491 rm -f conftest.err conftest.
$ac_objext \
24492 conftest
$ac_exeext conftest.
$ac_ext
24493 LIBS
=$ac_check_lib_save_LIBS
24495 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodf" >&5
24496 echo "${ECHO_T}$ac_cv_lib_m_fmodf" >&6
24497 if test $ac_cv_lib_m_fmodf = yes; then
24499 cat >>confdefs.h
<<\_ACEOF
24500 #define HAVE_FMODF 1
24505 echo "$as_me:$LINENO: checking for fmod in -lm" >&5
24506 echo $ECHO_N "checking for fmod in -lm... $ECHO_C" >&6
24507 if test "${ac_cv_lib_m_fmod+set}" = set; then
24508 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 ac_check_lib_save_LIBS
=$LIBS
24512 if test x
$gcc_no_link = xyes
; then
24513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24515 { (exit 1); exit 1; }; }
24517 cat >conftest.
$ac_ext <<_ACEOF
24520 cat confdefs.h
>>conftest.
$ac_ext
24521 cat >>conftest.
$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24524 /* Override any gcc2 internal prototype to avoid an error. */
24528 /* We use char because int might match the return type of a gcc2
24529 builtin and then its argument prototype would still apply. */
24539 rm -f conftest.
$ac_objext conftest
$ac_exeext
24540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24541 (eval $ac_link) 2>conftest.er1
24543 grep -v '^ *+' conftest.er1
>conftest.err
24545 cat conftest.err
>&5
24546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24547 (exit $ac_status); } &&
24548 { ac_try
='test -z "$ac_c_werror_flag"
24549 || test ! -s conftest.err'
24550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24551 (eval $ac_try) 2>&5
24553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24554 (exit $ac_status); }; } &&
24555 { ac_try
='test -s conftest$ac_exeext'
24556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24557 (eval $ac_try) 2>&5
24559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24560 (exit $ac_status); }; }; then
24561 ac_cv_lib_m_fmod
=yes
24563 echo "$as_me: failed program was:" >&5
24564 sed 's/^/| /' conftest.
$ac_ext >&5
24566 ac_cv_lib_m_fmod
=no
24568 rm -f conftest.err conftest.
$ac_objext \
24569 conftest
$ac_exeext conftest.
$ac_ext
24570 LIBS
=$ac_check_lib_save_LIBS
24572 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmod" >&5
24573 echo "${ECHO_T}$ac_cv_lib_m_fmod" >&6
24574 if test $ac_cv_lib_m_fmod = yes; then
24576 cat >>confdefs.h
<<\_ACEOF
24577 #define HAVE_FMOD 1
24582 echo "$as_me:$LINENO: checking for fmodl in -lm" >&5
24583 echo $ECHO_N "checking for fmodl in -lm... $ECHO_C" >&6
24584 if test "${ac_cv_lib_m_fmodl+set}" = set; then
24585 echo $ECHO_N "(cached) $ECHO_C" >&6
24587 ac_check_lib_save_LIBS
=$LIBS
24589 if test x
$gcc_no_link = xyes
; then
24590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24592 { (exit 1); exit 1; }; }
24594 cat >conftest.
$ac_ext <<_ACEOF
24597 cat confdefs.h
>>conftest.
$ac_ext
24598 cat >>conftest.
$ac_ext <<_ACEOF
24599 /* end confdefs.h. */
24601 /* Override any gcc2 internal prototype to avoid an error. */
24605 /* We use char because int might match the return type of a gcc2
24606 builtin and then its argument prototype would still apply. */
24616 rm -f conftest.
$ac_objext conftest
$ac_exeext
24617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24618 (eval $ac_link) 2>conftest.er1
24620 grep -v '^ *+' conftest.er1
>conftest.err
24622 cat conftest.err
>&5
24623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24624 (exit $ac_status); } &&
24625 { ac_try
='test -z "$ac_c_werror_flag"
24626 || test ! -s conftest.err'
24627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24628 (eval $ac_try) 2>&5
24630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24631 (exit $ac_status); }; } &&
24632 { ac_try
='test -s conftest$ac_exeext'
24633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634 (eval $ac_try) 2>&5
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); }; }; then
24638 ac_cv_lib_m_fmodl
=yes
24640 echo "$as_me: failed program was:" >&5
24641 sed 's/^/| /' conftest.
$ac_ext >&5
24643 ac_cv_lib_m_fmodl
=no
24645 rm -f conftest.err conftest.
$ac_objext \
24646 conftest
$ac_exeext conftest.
$ac_ext
24647 LIBS
=$ac_check_lib_save_LIBS
24649 echo "$as_me:$LINENO: result: $ac_cv_lib_m_fmodl" >&5
24650 echo "${ECHO_T}$ac_cv_lib_m_fmodl" >&6
24651 if test $ac_cv_lib_m_fmodl = yes; then
24653 cat >>confdefs.h
<<\_ACEOF
24654 #define HAVE_FMODL 1
24659 echo "$as_me:$LINENO: checking for frexpf in -lm" >&5
24660 echo $ECHO_N "checking for frexpf in -lm... $ECHO_C" >&6
24661 if test "${ac_cv_lib_m_frexpf+set}" = set; then
24662 echo $ECHO_N "(cached) $ECHO_C" >&6
24664 ac_check_lib_save_LIBS
=$LIBS
24666 if test x
$gcc_no_link = xyes
; then
24667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24669 { (exit 1); exit 1; }; }
24671 cat >conftest.
$ac_ext <<_ACEOF
24674 cat confdefs.h
>>conftest.
$ac_ext
24675 cat >>conftest.
$ac_ext <<_ACEOF
24676 /* end confdefs.h. */
24678 /* Override any gcc2 internal prototype to avoid an error. */
24682 /* We use char because int might match the return type of a gcc2
24683 builtin and then its argument prototype would still apply. */
24693 rm -f conftest.
$ac_objext conftest
$ac_exeext
24694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24695 (eval $ac_link) 2>conftest.er1
24697 grep -v '^ *+' conftest.er1
>conftest.err
24699 cat conftest.err
>&5
24700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24701 (exit $ac_status); } &&
24702 { ac_try
='test -z "$ac_c_werror_flag"
24703 || test ! -s conftest.err'
24704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24705 (eval $ac_try) 2>&5
24707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24708 (exit $ac_status); }; } &&
24709 { ac_try
='test -s conftest$ac_exeext'
24710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24711 (eval $ac_try) 2>&5
24713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24714 (exit $ac_status); }; }; then
24715 ac_cv_lib_m_frexpf
=yes
24717 echo "$as_me: failed program was:" >&5
24718 sed 's/^/| /' conftest.
$ac_ext >&5
24720 ac_cv_lib_m_frexpf
=no
24722 rm -f conftest.err conftest.
$ac_objext \
24723 conftest
$ac_exeext conftest.
$ac_ext
24724 LIBS
=$ac_check_lib_save_LIBS
24726 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpf" >&5
24727 echo "${ECHO_T}$ac_cv_lib_m_frexpf" >&6
24728 if test $ac_cv_lib_m_frexpf = yes; then
24730 cat >>confdefs.h
<<\_ACEOF
24731 #define HAVE_FREXPF 1
24736 echo "$as_me:$LINENO: checking for frexp in -lm" >&5
24737 echo $ECHO_N "checking for frexp in -lm... $ECHO_C" >&6
24738 if test "${ac_cv_lib_m_frexp+set}" = set; then
24739 echo $ECHO_N "(cached) $ECHO_C" >&6
24741 ac_check_lib_save_LIBS
=$LIBS
24743 if test x
$gcc_no_link = xyes
; then
24744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24746 { (exit 1); exit 1; }; }
24748 cat >conftest.
$ac_ext <<_ACEOF
24751 cat confdefs.h
>>conftest.
$ac_ext
24752 cat >>conftest.
$ac_ext <<_ACEOF
24753 /* end confdefs.h. */
24755 /* Override any gcc2 internal prototype to avoid an error. */
24759 /* We use char because int might match the return type of a gcc2
24760 builtin and then its argument prototype would still apply. */
24770 rm -f conftest.
$ac_objext conftest
$ac_exeext
24771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24772 (eval $ac_link) 2>conftest.er1
24774 grep -v '^ *+' conftest.er1
>conftest.err
24776 cat conftest.err
>&5
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); } &&
24779 { ac_try
='test -z "$ac_c_werror_flag"
24780 || test ! -s conftest.err'
24781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24782 (eval $ac_try) 2>&5
24784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24785 (exit $ac_status); }; } &&
24786 { ac_try
='test -s conftest$ac_exeext'
24787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24788 (eval $ac_try) 2>&5
24790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24791 (exit $ac_status); }; }; then
24792 ac_cv_lib_m_frexp
=yes
24794 echo "$as_me: failed program was:" >&5
24795 sed 's/^/| /' conftest.
$ac_ext >&5
24797 ac_cv_lib_m_frexp
=no
24799 rm -f conftest.err conftest.
$ac_objext \
24800 conftest
$ac_exeext conftest.
$ac_ext
24801 LIBS
=$ac_check_lib_save_LIBS
24803 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexp" >&5
24804 echo "${ECHO_T}$ac_cv_lib_m_frexp" >&6
24805 if test $ac_cv_lib_m_frexp = yes; then
24807 cat >>confdefs.h
<<\_ACEOF
24808 #define HAVE_FREXP 1
24813 echo "$as_me:$LINENO: checking for frexpl in -lm" >&5
24814 echo $ECHO_N "checking for frexpl in -lm... $ECHO_C" >&6
24815 if test "${ac_cv_lib_m_frexpl+set}" = set; then
24816 echo $ECHO_N "(cached) $ECHO_C" >&6
24818 ac_check_lib_save_LIBS
=$LIBS
24820 if test x
$gcc_no_link = xyes
; then
24821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24823 { (exit 1); exit 1; }; }
24825 cat >conftest.
$ac_ext <<_ACEOF
24828 cat confdefs.h
>>conftest.
$ac_ext
24829 cat >>conftest.
$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24832 /* Override any gcc2 internal prototype to avoid an error. */
24836 /* We use char because int might match the return type of a gcc2
24837 builtin and then its argument prototype would still apply. */
24847 rm -f conftest.
$ac_objext conftest
$ac_exeext
24848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24849 (eval $ac_link) 2>conftest.er1
24851 grep -v '^ *+' conftest.er1
>conftest.err
24853 cat conftest.err
>&5
24854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24855 (exit $ac_status); } &&
24856 { ac_try
='test -z "$ac_c_werror_flag"
24857 || test ! -s conftest.err'
24858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24859 (eval $ac_try) 2>&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); }; } &&
24863 { ac_try
='test -s conftest$ac_exeext'
24864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24865 (eval $ac_try) 2>&5
24867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24868 (exit $ac_status); }; }; then
24869 ac_cv_lib_m_frexpl
=yes
24871 echo "$as_me: failed program was:" >&5
24872 sed 's/^/| /' conftest.
$ac_ext >&5
24874 ac_cv_lib_m_frexpl
=no
24876 rm -f conftest.err conftest.
$ac_objext \
24877 conftest
$ac_exeext conftest.
$ac_ext
24878 LIBS
=$ac_check_lib_save_LIBS
24880 echo "$as_me:$LINENO: result: $ac_cv_lib_m_frexpl" >&5
24881 echo "${ECHO_T}$ac_cv_lib_m_frexpl" >&6
24882 if test $ac_cv_lib_m_frexpl = yes; then
24884 cat >>confdefs.h
<<\_ACEOF
24885 #define HAVE_FREXPL 1
24890 echo "$as_me:$LINENO: checking for hypotf in -lm" >&5
24891 echo $ECHO_N "checking for hypotf in -lm... $ECHO_C" >&6
24892 if test "${ac_cv_lib_m_hypotf+set}" = set; then
24893 echo $ECHO_N "(cached) $ECHO_C" >&6
24895 ac_check_lib_save_LIBS
=$LIBS
24897 if test x
$gcc_no_link = xyes
; then
24898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24900 { (exit 1); exit 1; }; }
24902 cat >conftest.
$ac_ext <<_ACEOF
24905 cat confdefs.h
>>conftest.
$ac_ext
24906 cat >>conftest.
$ac_ext <<_ACEOF
24907 /* end confdefs.h. */
24909 /* Override any gcc2 internal prototype to avoid an error. */
24913 /* We use char because int might match the return type of a gcc2
24914 builtin and then its argument prototype would still apply. */
24924 rm -f conftest.
$ac_objext conftest
$ac_exeext
24925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24926 (eval $ac_link) 2>conftest.er1
24928 grep -v '^ *+' conftest.er1
>conftest.err
24930 cat conftest.err
>&5
24931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24932 (exit $ac_status); } &&
24933 { ac_try
='test -z "$ac_c_werror_flag"
24934 || test ! -s conftest.err'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; } &&
24940 { ac_try
='test -s conftest$ac_exeext'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; }; then
24946 ac_cv_lib_m_hypotf
=yes
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.
$ac_ext >&5
24951 ac_cv_lib_m_hypotf
=no
24953 rm -f conftest.err conftest.
$ac_objext \
24954 conftest
$ac_exeext conftest.
$ac_ext
24955 LIBS
=$ac_check_lib_save_LIBS
24957 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotf" >&5
24958 echo "${ECHO_T}$ac_cv_lib_m_hypotf" >&6
24959 if test $ac_cv_lib_m_hypotf = yes; then
24961 cat >>confdefs.h
<<\_ACEOF
24962 #define HAVE_HYPOTF 1
24967 echo "$as_me:$LINENO: checking for hypot in -lm" >&5
24968 echo $ECHO_N "checking for hypot in -lm... $ECHO_C" >&6
24969 if test "${ac_cv_lib_m_hypot+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24972 ac_check_lib_save_LIBS
=$LIBS
24974 if test x
$gcc_no_link = xyes
; then
24975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24977 { (exit 1); exit 1; }; }
24979 cat >conftest.
$ac_ext <<_ACEOF
24982 cat confdefs.h
>>conftest.
$ac_ext
24983 cat >>conftest.
$ac_ext <<_ACEOF
24984 /* end confdefs.h. */
24986 /* Override any gcc2 internal prototype to avoid an error. */
24990 /* We use char because int might match the return type of a gcc2
24991 builtin and then its argument prototype would still apply. */
25001 rm -f conftest.
$ac_objext conftest
$ac_exeext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25003 (eval $ac_link) 2>conftest.er1
25005 grep -v '^ *+' conftest.er1
>conftest.err
25007 cat conftest.err
>&5
25008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009 (exit $ac_status); } &&
25010 { ac_try
='test -z "$ac_c_werror_flag"
25011 || test ! -s conftest.err'
25012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013 (eval $ac_try) 2>&5
25015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016 (exit $ac_status); }; } &&
25017 { ac_try
='test -s conftest$ac_exeext'
25018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019 (eval $ac_try) 2>&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); }; }; then
25023 ac_cv_lib_m_hypot
=yes
25025 echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.
$ac_ext >&5
25028 ac_cv_lib_m_hypot
=no
25030 rm -f conftest.err conftest.
$ac_objext \
25031 conftest
$ac_exeext conftest.
$ac_ext
25032 LIBS
=$ac_check_lib_save_LIBS
25034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypot" >&5
25035 echo "${ECHO_T}$ac_cv_lib_m_hypot" >&6
25036 if test $ac_cv_lib_m_hypot = yes; then
25038 cat >>confdefs.h
<<\_ACEOF
25039 #define HAVE_HYPOT 1
25044 echo "$as_me:$LINENO: checking for hypotl in -lm" >&5
25045 echo $ECHO_N "checking for hypotl in -lm... $ECHO_C" >&6
25046 if test "${ac_cv_lib_m_hypotl+set}" = set; then
25047 echo $ECHO_N "(cached) $ECHO_C" >&6
25049 ac_check_lib_save_LIBS
=$LIBS
25051 if test x
$gcc_no_link = xyes
; then
25052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25054 { (exit 1); exit 1; }; }
25056 cat >conftest.
$ac_ext <<_ACEOF
25059 cat confdefs.h
>>conftest.
$ac_ext
25060 cat >>conftest.
$ac_ext <<_ACEOF
25061 /* end confdefs.h. */
25063 /* Override any gcc2 internal prototype to avoid an error. */
25067 /* We use char because int might match the return type of a gcc2
25068 builtin and then its argument prototype would still apply. */
25078 rm -f conftest.
$ac_objext conftest
$ac_exeext
25079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25080 (eval $ac_link) 2>conftest.er1
25082 grep -v '^ *+' conftest.er1
>conftest.err
25084 cat conftest.err
>&5
25085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25086 (exit $ac_status); } &&
25087 { ac_try
='test -z "$ac_c_werror_flag"
25088 || test ! -s conftest.err'
25089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25090 (eval $ac_try) 2>&5
25092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25093 (exit $ac_status); }; } &&
25094 { ac_try
='test -s conftest$ac_exeext'
25095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25096 (eval $ac_try) 2>&5
25098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25099 (exit $ac_status); }; }; then
25100 ac_cv_lib_m_hypotl
=yes
25102 echo "$as_me: failed program was:" >&5
25103 sed 's/^/| /' conftest.
$ac_ext >&5
25105 ac_cv_lib_m_hypotl
=no
25107 rm -f conftest.err conftest.
$ac_objext \
25108 conftest
$ac_exeext conftest.
$ac_ext
25109 LIBS
=$ac_check_lib_save_LIBS
25111 echo "$as_me:$LINENO: result: $ac_cv_lib_m_hypotl" >&5
25112 echo "${ECHO_T}$ac_cv_lib_m_hypotl" >&6
25113 if test $ac_cv_lib_m_hypotl = yes; then
25115 cat >>confdefs.h
<<\_ACEOF
25116 #define HAVE_HYPOTL 1
25121 echo "$as_me:$LINENO: checking for ldexpf in -lm" >&5
25122 echo $ECHO_N "checking for ldexpf in -lm... $ECHO_C" >&6
25123 if test "${ac_cv_lib_m_ldexpf+set}" = set; then
25124 echo $ECHO_N "(cached) $ECHO_C" >&6
25126 ac_check_lib_save_LIBS
=$LIBS
25128 if test x
$gcc_no_link = xyes
; then
25129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25131 { (exit 1); exit 1; }; }
25133 cat >conftest.
$ac_ext <<_ACEOF
25136 cat confdefs.h
>>conftest.
$ac_ext
25137 cat >>conftest.
$ac_ext <<_ACEOF
25138 /* end confdefs.h. */
25140 /* Override any gcc2 internal prototype to avoid an error. */
25144 /* We use char because int might match the return type of a gcc2
25145 builtin and then its argument prototype would still apply. */
25155 rm -f conftest.
$ac_objext conftest
$ac_exeext
25156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25157 (eval $ac_link) 2>conftest.er1
25159 grep -v '^ *+' conftest.er1
>conftest.err
25161 cat conftest.err
>&5
25162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25163 (exit $ac_status); } &&
25164 { ac_try
='test -z "$ac_c_werror_flag"
25165 || test ! -s conftest.err'
25166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25167 (eval $ac_try) 2>&5
25169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25170 (exit $ac_status); }; } &&
25171 { ac_try
='test -s conftest$ac_exeext'
25172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25173 (eval $ac_try) 2>&5
25175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25176 (exit $ac_status); }; }; then
25177 ac_cv_lib_m_ldexpf
=yes
25179 echo "$as_me: failed program was:" >&5
25180 sed 's/^/| /' conftest.
$ac_ext >&5
25182 ac_cv_lib_m_ldexpf
=no
25184 rm -f conftest.err conftest.
$ac_objext \
25185 conftest
$ac_exeext conftest.
$ac_ext
25186 LIBS
=$ac_check_lib_save_LIBS
25188 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpf" >&5
25189 echo "${ECHO_T}$ac_cv_lib_m_ldexpf" >&6
25190 if test $ac_cv_lib_m_ldexpf = yes; then
25192 cat >>confdefs.h
<<\_ACEOF
25193 #define HAVE_LDEXPF 1
25198 echo "$as_me:$LINENO: checking for ldexp in -lm" >&5
25199 echo $ECHO_N "checking for ldexp in -lm... $ECHO_C" >&6
25200 if test "${ac_cv_lib_m_ldexp+set}" = set; then
25201 echo $ECHO_N "(cached) $ECHO_C" >&6
25203 ac_check_lib_save_LIBS
=$LIBS
25205 if test x
$gcc_no_link = xyes
; then
25206 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25207 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25208 { (exit 1); exit 1; }; }
25210 cat >conftest.
$ac_ext <<_ACEOF
25213 cat confdefs.h
>>conftest.
$ac_ext
25214 cat >>conftest.
$ac_ext <<_ACEOF
25215 /* end confdefs.h. */
25217 /* Override any gcc2 internal prototype to avoid an error. */
25221 /* We use char because int might match the return type of a gcc2
25222 builtin and then its argument prototype would still apply. */
25232 rm -f conftest.
$ac_objext conftest
$ac_exeext
25233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25234 (eval $ac_link) 2>conftest.er1
25236 grep -v '^ *+' conftest.er1
>conftest.err
25238 cat conftest.err
>&5
25239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25240 (exit $ac_status); } &&
25241 { ac_try
='test -z "$ac_c_werror_flag"
25242 || test ! -s conftest.err'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; } &&
25248 { ac_try
='test -s conftest$ac_exeext'
25249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25250 (eval $ac_try) 2>&5
25252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25253 (exit $ac_status); }; }; then
25254 ac_cv_lib_m_ldexp
=yes
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.
$ac_ext >&5
25259 ac_cv_lib_m_ldexp
=no
25261 rm -f conftest.err conftest.
$ac_objext \
25262 conftest
$ac_exeext conftest.
$ac_ext
25263 LIBS
=$ac_check_lib_save_LIBS
25265 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexp" >&5
25266 echo "${ECHO_T}$ac_cv_lib_m_ldexp" >&6
25267 if test $ac_cv_lib_m_ldexp = yes; then
25269 cat >>confdefs.h
<<\_ACEOF
25270 #define HAVE_LDEXP 1
25275 echo "$as_me:$LINENO: checking for ldexpl in -lm" >&5
25276 echo $ECHO_N "checking for ldexpl in -lm... $ECHO_C" >&6
25277 if test "${ac_cv_lib_m_ldexpl+set}" = set; then
25278 echo $ECHO_N "(cached) $ECHO_C" >&6
25280 ac_check_lib_save_LIBS
=$LIBS
25282 if test x
$gcc_no_link = xyes
; then
25283 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25284 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25285 { (exit 1); exit 1; }; }
25287 cat >conftest.
$ac_ext <<_ACEOF
25290 cat confdefs.h
>>conftest.
$ac_ext
25291 cat >>conftest.
$ac_ext <<_ACEOF
25292 /* end confdefs.h. */
25294 /* Override any gcc2 internal prototype to avoid an error. */
25298 /* We use char because int might match the return type of a gcc2
25299 builtin and then its argument prototype would still apply. */
25309 rm -f conftest.
$ac_objext conftest
$ac_exeext
25310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25311 (eval $ac_link) 2>conftest.er1
25313 grep -v '^ *+' conftest.er1
>conftest.err
25315 cat conftest.err
>&5
25316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25317 (exit $ac_status); } &&
25318 { ac_try
='test -z "$ac_c_werror_flag"
25319 || test ! -s conftest.err'
25320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25321 (eval $ac_try) 2>&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); }; } &&
25325 { ac_try
='test -s conftest$ac_exeext'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; }; then
25331 ac_cv_lib_m_ldexpl
=yes
25333 echo "$as_me: failed program was:" >&5
25334 sed 's/^/| /' conftest.
$ac_ext >&5
25336 ac_cv_lib_m_ldexpl
=no
25338 rm -f conftest.err conftest.
$ac_objext \
25339 conftest
$ac_exeext conftest.
$ac_ext
25340 LIBS
=$ac_check_lib_save_LIBS
25342 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ldexpl" >&5
25343 echo "${ECHO_T}$ac_cv_lib_m_ldexpl" >&6
25344 if test $ac_cv_lib_m_ldexpl = yes; then
25346 cat >>confdefs.h
<<\_ACEOF
25347 #define HAVE_LDEXPL 1
25352 echo "$as_me:$LINENO: checking for logf in -lm" >&5
25353 echo $ECHO_N "checking for logf in -lm... $ECHO_C" >&6
25354 if test "${ac_cv_lib_m_logf+set}" = set; then
25355 echo $ECHO_N "(cached) $ECHO_C" >&6
25357 ac_check_lib_save_LIBS
=$LIBS
25359 if test x
$gcc_no_link = xyes
; then
25360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25362 { (exit 1); exit 1; }; }
25364 cat >conftest.
$ac_ext <<_ACEOF
25367 cat confdefs.h
>>conftest.
$ac_ext
25368 cat >>conftest.
$ac_ext <<_ACEOF
25369 /* end confdefs.h. */
25371 /* Override any gcc2 internal prototype to avoid an error. */
25375 /* We use char because int might match the return type of a gcc2
25376 builtin and then its argument prototype would still apply. */
25386 rm -f conftest.
$ac_objext conftest
$ac_exeext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25388 (eval $ac_link) 2>conftest.er1
25390 grep -v '^ *+' conftest.er1
>conftest.err
25392 cat conftest.err
>&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } &&
25395 { ac_try
='test -z "$ac_c_werror_flag"
25396 || test ! -s conftest.err'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try
='test -s conftest$ac_exeext'
25403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404 (eval $ac_try) 2>&5
25406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407 (exit $ac_status); }; }; then
25408 ac_cv_lib_m_logf
=yes
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.
$ac_ext >&5
25413 ac_cv_lib_m_logf
=no
25415 rm -f conftest.err conftest.
$ac_objext \
25416 conftest
$ac_exeext conftest.
$ac_ext
25417 LIBS
=$ac_check_lib_save_LIBS
25419 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logf" >&5
25420 echo "${ECHO_T}$ac_cv_lib_m_logf" >&6
25421 if test $ac_cv_lib_m_logf = yes; then
25423 cat >>confdefs.h
<<\_ACEOF
25424 #define HAVE_LOGF 1
25429 echo "$as_me:$LINENO: checking for log in -lm" >&5
25430 echo $ECHO_N "checking for log in -lm... $ECHO_C" >&6
25431 if test "${ac_cv_lib_m_log+set}" = set; then
25432 echo $ECHO_N "(cached) $ECHO_C" >&6
25434 ac_check_lib_save_LIBS
=$LIBS
25436 if test x
$gcc_no_link = xyes
; then
25437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25439 { (exit 1); exit 1; }; }
25441 cat >conftest.
$ac_ext <<_ACEOF
25444 cat confdefs.h
>>conftest.
$ac_ext
25445 cat >>conftest.
$ac_ext <<_ACEOF
25446 /* end confdefs.h. */
25448 /* Override any gcc2 internal prototype to avoid an error. */
25452 /* We use char because int might match the return type of a gcc2
25453 builtin and then its argument prototype would still apply. */
25463 rm -f conftest.
$ac_objext conftest
$ac_exeext
25464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25465 (eval $ac_link) 2>conftest.er1
25467 grep -v '^ *+' conftest.er1
>conftest.err
25469 cat conftest.err
>&5
25470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25471 (exit $ac_status); } &&
25472 { ac_try
='test -z "$ac_c_werror_flag"
25473 || test ! -s conftest.err'
25474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25475 (eval $ac_try) 2>&5
25477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25478 (exit $ac_status); }; } &&
25479 { ac_try
='test -s conftest$ac_exeext'
25480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25481 (eval $ac_try) 2>&5
25483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25484 (exit $ac_status); }; }; then
25485 ac_cv_lib_m_log
=yes
25487 echo "$as_me: failed program was:" >&5
25488 sed 's/^/| /' conftest.
$ac_ext >&5
25492 rm -f conftest.err conftest.
$ac_objext \
25493 conftest
$ac_exeext conftest.
$ac_ext
25494 LIBS
=$ac_check_lib_save_LIBS
25496 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log" >&5
25497 echo "${ECHO_T}$ac_cv_lib_m_log" >&6
25498 if test $ac_cv_lib_m_log = yes; then
25500 cat >>confdefs.h
<<\_ACEOF
25506 echo "$as_me:$LINENO: checking for logl in -lm" >&5
25507 echo $ECHO_N "checking for logl in -lm... $ECHO_C" >&6
25508 if test "${ac_cv_lib_m_logl+set}" = set; then
25509 echo $ECHO_N "(cached) $ECHO_C" >&6
25511 ac_check_lib_save_LIBS
=$LIBS
25513 if test x
$gcc_no_link = xyes
; then
25514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25516 { (exit 1); exit 1; }; }
25518 cat >conftest.
$ac_ext <<_ACEOF
25521 cat confdefs.h
>>conftest.
$ac_ext
25522 cat >>conftest.
$ac_ext <<_ACEOF
25523 /* end confdefs.h. */
25525 /* Override any gcc2 internal prototype to avoid an error. */
25529 /* We use char because int might match the return type of a gcc2
25530 builtin and then its argument prototype would still apply. */
25540 rm -f conftest.
$ac_objext conftest
$ac_exeext
25541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25542 (eval $ac_link) 2>conftest.er1
25544 grep -v '^ *+' conftest.er1
>conftest.err
25546 cat conftest.err
>&5
25547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25548 (exit $ac_status); } &&
25549 { ac_try
='test -z "$ac_c_werror_flag"
25550 || test ! -s conftest.err'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; } &&
25556 { ac_try
='test -s conftest$ac_exeext'
25557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25558 (eval $ac_try) 2>&5
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); }; }; then
25562 ac_cv_lib_m_logl
=yes
25564 echo "$as_me: failed program was:" >&5
25565 sed 's/^/| /' conftest.
$ac_ext >&5
25567 ac_cv_lib_m_logl
=no
25569 rm -f conftest.err conftest.
$ac_objext \
25570 conftest
$ac_exeext conftest.
$ac_ext
25571 LIBS
=$ac_check_lib_save_LIBS
25573 echo "$as_me:$LINENO: result: $ac_cv_lib_m_logl" >&5
25574 echo "${ECHO_T}$ac_cv_lib_m_logl" >&6
25575 if test $ac_cv_lib_m_logl = yes; then
25577 cat >>confdefs.h
<<\_ACEOF
25578 #define HAVE_LOGL 1
25583 echo "$as_me:$LINENO: checking for clogf in -lm" >&5
25584 echo $ECHO_N "checking for clogf in -lm... $ECHO_C" >&6
25585 if test "${ac_cv_lib_m_clogf+set}" = set; then
25586 echo $ECHO_N "(cached) $ECHO_C" >&6
25588 ac_check_lib_save_LIBS
=$LIBS
25590 if test x
$gcc_no_link = xyes
; then
25591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25593 { (exit 1); exit 1; }; }
25595 cat >conftest.
$ac_ext <<_ACEOF
25598 cat confdefs.h
>>conftest.
$ac_ext
25599 cat >>conftest.
$ac_ext <<_ACEOF
25600 /* end confdefs.h. */
25602 /* Override any gcc2 internal prototype to avoid an error. */
25606 /* We use char because int might match the return type of a gcc2
25607 builtin and then its argument prototype would still apply. */
25617 rm -f conftest.
$ac_objext conftest
$ac_exeext
25618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25619 (eval $ac_link) 2>conftest.er1
25621 grep -v '^ *+' conftest.er1
>conftest.err
25623 cat conftest.err
>&5
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); } &&
25626 { ac_try
='test -z "$ac_c_werror_flag"
25627 || test ! -s conftest.err'
25628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25629 (eval $ac_try) 2>&5
25631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25632 (exit $ac_status); }; } &&
25633 { ac_try
='test -s conftest$ac_exeext'
25634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25635 (eval $ac_try) 2>&5
25637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25638 (exit $ac_status); }; }; then
25639 ac_cv_lib_m_clogf
=yes
25641 echo "$as_me: failed program was:" >&5
25642 sed 's/^/| /' conftest.
$ac_ext >&5
25644 ac_cv_lib_m_clogf
=no
25646 rm -f conftest.err conftest.
$ac_objext \
25647 conftest
$ac_exeext conftest.
$ac_ext
25648 LIBS
=$ac_check_lib_save_LIBS
25650 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogf" >&5
25651 echo "${ECHO_T}$ac_cv_lib_m_clogf" >&6
25652 if test $ac_cv_lib_m_clogf = yes; then
25654 cat >>confdefs.h
<<\_ACEOF
25655 #define HAVE_CLOGF 1
25660 echo "$as_me:$LINENO: checking for clog in -lm" >&5
25661 echo $ECHO_N "checking for clog in -lm... $ECHO_C" >&6
25662 if test "${ac_cv_lib_m_clog+set}" = set; then
25663 echo $ECHO_N "(cached) $ECHO_C" >&6
25665 ac_check_lib_save_LIBS
=$LIBS
25667 if test x
$gcc_no_link = xyes
; then
25668 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25669 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25670 { (exit 1); exit 1; }; }
25672 cat >conftest.
$ac_ext <<_ACEOF
25675 cat confdefs.h
>>conftest.
$ac_ext
25676 cat >>conftest.
$ac_ext <<_ACEOF
25677 /* end confdefs.h. */
25679 /* Override any gcc2 internal prototype to avoid an error. */
25683 /* We use char because int might match the return type of a gcc2
25684 builtin and then its argument prototype would still apply. */
25694 rm -f conftest.
$ac_objext conftest
$ac_exeext
25695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25696 (eval $ac_link) 2>conftest.er1
25698 grep -v '^ *+' conftest.er1
>conftest.err
25700 cat conftest.err
>&5
25701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25702 (exit $ac_status); } &&
25703 { ac_try
='test -z "$ac_c_werror_flag"
25704 || test ! -s conftest.err'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; } &&
25710 { ac_try
='test -s conftest$ac_exeext'
25711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25712 (eval $ac_try) 2>&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); }; }; then
25716 ac_cv_lib_m_clog
=yes
25718 echo "$as_me: failed program was:" >&5
25719 sed 's/^/| /' conftest.
$ac_ext >&5
25721 ac_cv_lib_m_clog
=no
25723 rm -f conftest.err conftest.
$ac_objext \
25724 conftest
$ac_exeext conftest.
$ac_ext
25725 LIBS
=$ac_check_lib_save_LIBS
25727 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog" >&5
25728 echo "${ECHO_T}$ac_cv_lib_m_clog" >&6
25729 if test $ac_cv_lib_m_clog = yes; then
25731 cat >>confdefs.h
<<\_ACEOF
25732 #define HAVE_CLOG 1
25737 echo "$as_me:$LINENO: checking for clogl in -lm" >&5
25738 echo $ECHO_N "checking for clogl in -lm... $ECHO_C" >&6
25739 if test "${ac_cv_lib_m_clogl+set}" = set; then
25740 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 ac_check_lib_save_LIBS
=$LIBS
25744 if test x
$gcc_no_link = xyes
; then
25745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25747 { (exit 1); exit 1; }; }
25749 cat >conftest.
$ac_ext <<_ACEOF
25752 cat confdefs.h
>>conftest.
$ac_ext
25753 cat >>conftest.
$ac_ext <<_ACEOF
25754 /* end confdefs.h. */
25756 /* Override any gcc2 internal prototype to avoid an error. */
25760 /* We use char because int might match the return type of a gcc2
25761 builtin and then its argument prototype would still apply. */
25771 rm -f conftest.
$ac_objext conftest
$ac_exeext
25772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25773 (eval $ac_link) 2>conftest.er1
25775 grep -v '^ *+' conftest.er1
>conftest.err
25777 cat conftest.err
>&5
25778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25779 (exit $ac_status); } &&
25780 { ac_try
='test -z "$ac_c_werror_flag"
25781 || test ! -s conftest.err'
25782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25783 (eval $ac_try) 2>&5
25785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25786 (exit $ac_status); }; } &&
25787 { ac_try
='test -s conftest$ac_exeext'
25788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25789 (eval $ac_try) 2>&5
25791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25792 (exit $ac_status); }; }; then
25793 ac_cv_lib_m_clogl
=yes
25795 echo "$as_me: failed program was:" >&5
25796 sed 's/^/| /' conftest.
$ac_ext >&5
25798 ac_cv_lib_m_clogl
=no
25800 rm -f conftest.err conftest.
$ac_objext \
25801 conftest
$ac_exeext conftest.
$ac_ext
25802 LIBS
=$ac_check_lib_save_LIBS
25804 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clogl" >&5
25805 echo "${ECHO_T}$ac_cv_lib_m_clogl" >&6
25806 if test $ac_cv_lib_m_clogl = yes; then
25808 cat >>confdefs.h
<<\_ACEOF
25809 #define HAVE_CLOGL 1
25814 echo "$as_me:$LINENO: checking for log10f in -lm" >&5
25815 echo $ECHO_N "checking for log10f in -lm... $ECHO_C" >&6
25816 if test "${ac_cv_lib_m_log10f+set}" = set; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25819 ac_check_lib_save_LIBS
=$LIBS
25821 if test x
$gcc_no_link = xyes
; then
25822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25824 { (exit 1); exit 1; }; }
25826 cat >conftest.
$ac_ext <<_ACEOF
25829 cat confdefs.h
>>conftest.
$ac_ext
25830 cat >>conftest.
$ac_ext <<_ACEOF
25831 /* end confdefs.h. */
25833 /* Override any gcc2 internal prototype to avoid an error. */
25837 /* We use char because int might match the return type of a gcc2
25838 builtin and then its argument prototype would still apply. */
25848 rm -f conftest.
$ac_objext conftest
$ac_exeext
25849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25850 (eval $ac_link) 2>conftest.er1
25852 grep -v '^ *+' conftest.er1
>conftest.err
25854 cat conftest.err
>&5
25855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25856 (exit $ac_status); } &&
25857 { ac_try
='test -z "$ac_c_werror_flag"
25858 || test ! -s conftest.err'
25859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25860 (eval $ac_try) 2>&5
25862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25863 (exit $ac_status); }; } &&
25864 { ac_try
='test -s conftest$ac_exeext'
25865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25866 (eval $ac_try) 2>&5
25868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25869 (exit $ac_status); }; }; then
25870 ac_cv_lib_m_log10f
=yes
25872 echo "$as_me: failed program was:" >&5
25873 sed 's/^/| /' conftest.
$ac_ext >&5
25875 ac_cv_lib_m_log10f
=no
25877 rm -f conftest.err conftest.
$ac_objext \
25878 conftest
$ac_exeext conftest.
$ac_ext
25879 LIBS
=$ac_check_lib_save_LIBS
25881 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10f" >&5
25882 echo "${ECHO_T}$ac_cv_lib_m_log10f" >&6
25883 if test $ac_cv_lib_m_log10f = yes; then
25885 cat >>confdefs.h
<<\_ACEOF
25886 #define HAVE_LOG10F 1
25891 echo "$as_me:$LINENO: checking for log10 in -lm" >&5
25892 echo $ECHO_N "checking for log10 in -lm... $ECHO_C" >&6
25893 if test "${ac_cv_lib_m_log10+set}" = set; then
25894 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 ac_check_lib_save_LIBS
=$LIBS
25898 if test x
$gcc_no_link = xyes
; then
25899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25901 { (exit 1); exit 1; }; }
25903 cat >conftest.
$ac_ext <<_ACEOF
25906 cat confdefs.h
>>conftest.
$ac_ext
25907 cat >>conftest.
$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25910 /* Override any gcc2 internal prototype to avoid an error. */
25914 /* We use char because int might match the return type of a gcc2
25915 builtin and then its argument prototype would still apply. */
25925 rm -f conftest.
$ac_objext conftest
$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25929 grep -v '^ *+' conftest.er1
>conftest.err
25931 cat conftest.err
>&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try
='test -z "$ac_c_werror_flag"
25935 || test ! -s conftest.err'
25936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25937 (eval $ac_try) 2>&5
25939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25940 (exit $ac_status); }; } &&
25941 { ac_try
='test -s conftest$ac_exeext'
25942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25943 (eval $ac_try) 2>&5
25945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25946 (exit $ac_status); }; }; then
25947 ac_cv_lib_m_log10
=yes
25949 echo "$as_me: failed program was:" >&5
25950 sed 's/^/| /' conftest.
$ac_ext >&5
25952 ac_cv_lib_m_log10
=no
25954 rm -f conftest.err conftest.
$ac_objext \
25955 conftest
$ac_exeext conftest.
$ac_ext
25956 LIBS
=$ac_check_lib_save_LIBS
25958 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10" >&5
25959 echo "${ECHO_T}$ac_cv_lib_m_log10" >&6
25960 if test $ac_cv_lib_m_log10 = yes; then
25962 cat >>confdefs.h
<<\_ACEOF
25963 #define HAVE_LOG10 1
25968 echo "$as_me:$LINENO: checking for log10l in -lm" >&5
25969 echo $ECHO_N "checking for log10l in -lm... $ECHO_C" >&6
25970 if test "${ac_cv_lib_m_log10l+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25973 ac_check_lib_save_LIBS
=$LIBS
25975 if test x
$gcc_no_link = xyes
; then
25976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25978 { (exit 1); exit 1; }; }
25980 cat >conftest.
$ac_ext <<_ACEOF
25983 cat confdefs.h
>>conftest.
$ac_ext
25984 cat >>conftest.
$ac_ext <<_ACEOF
25985 /* end confdefs.h. */
25987 /* Override any gcc2 internal prototype to avoid an error. */
25991 /* We use char because int might match the return type of a gcc2
25992 builtin and then its argument prototype would still apply. */
26002 rm -f conftest.
$ac_objext conftest
$ac_exeext
26003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26004 (eval $ac_link) 2>conftest.er1
26006 grep -v '^ *+' conftest.er1
>conftest.err
26008 cat conftest.err
>&5
26009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26010 (exit $ac_status); } &&
26011 { ac_try
='test -z "$ac_c_werror_flag"
26012 || test ! -s conftest.err'
26013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26014 (eval $ac_try) 2>&5
26016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26017 (exit $ac_status); }; } &&
26018 { ac_try
='test -s conftest$ac_exeext'
26019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26020 (eval $ac_try) 2>&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); }; }; then
26024 ac_cv_lib_m_log10l
=yes
26026 echo "$as_me: failed program was:" >&5
26027 sed 's/^/| /' conftest.
$ac_ext >&5
26029 ac_cv_lib_m_log10l
=no
26031 rm -f conftest.err conftest.
$ac_objext \
26032 conftest
$ac_exeext conftest.
$ac_ext
26033 LIBS
=$ac_check_lib_save_LIBS
26035 echo "$as_me:$LINENO: result: $ac_cv_lib_m_log10l" >&5
26036 echo "${ECHO_T}$ac_cv_lib_m_log10l" >&6
26037 if test $ac_cv_lib_m_log10l = yes; then
26039 cat >>confdefs.h
<<\_ACEOF
26040 #define HAVE_LOG10L 1
26045 echo "$as_me:$LINENO: checking for clog10f in -lm" >&5
26046 echo $ECHO_N "checking for clog10f in -lm... $ECHO_C" >&6
26047 if test "${ac_cv_lib_m_clog10f+set}" = set; then
26048 echo $ECHO_N "(cached) $ECHO_C" >&6
26050 ac_check_lib_save_LIBS
=$LIBS
26052 if test x
$gcc_no_link = xyes
; then
26053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26055 { (exit 1); exit 1; }; }
26057 cat >conftest.
$ac_ext <<_ACEOF
26060 cat confdefs.h
>>conftest.
$ac_ext
26061 cat >>conftest.
$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26064 /* Override any gcc2 internal prototype to avoid an error. */
26068 /* We use char because int might match the return type of a gcc2
26069 builtin and then its argument prototype would still apply. */
26079 rm -f conftest.
$ac_objext conftest
$ac_exeext
26080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26081 (eval $ac_link) 2>conftest.er1
26083 grep -v '^ *+' conftest.er1
>conftest.err
26085 cat conftest.err
>&5
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); } &&
26088 { ac_try
='test -z "$ac_c_werror_flag"
26089 || test ! -s conftest.err'
26090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26091 (eval $ac_try) 2>&5
26093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26094 (exit $ac_status); }; } &&
26095 { ac_try
='test -s conftest$ac_exeext'
26096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26097 (eval $ac_try) 2>&5
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); }; }; then
26101 ac_cv_lib_m_clog10f
=yes
26103 echo "$as_me: failed program was:" >&5
26104 sed 's/^/| /' conftest.
$ac_ext >&5
26106 ac_cv_lib_m_clog10f
=no
26108 rm -f conftest.err conftest.
$ac_objext \
26109 conftest
$ac_exeext conftest.
$ac_ext
26110 LIBS
=$ac_check_lib_save_LIBS
26112 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10f" >&5
26113 echo "${ECHO_T}$ac_cv_lib_m_clog10f" >&6
26114 if test $ac_cv_lib_m_clog10f = yes; then
26116 cat >>confdefs.h
<<\_ACEOF
26117 #define HAVE_CLOG10F 1
26122 echo "$as_me:$LINENO: checking for clog10 in -lm" >&5
26123 echo $ECHO_N "checking for clog10 in -lm... $ECHO_C" >&6
26124 if test "${ac_cv_lib_m_clog10+set}" = set; then
26125 echo $ECHO_N "(cached) $ECHO_C" >&6
26127 ac_check_lib_save_LIBS
=$LIBS
26129 if test x
$gcc_no_link = xyes
; then
26130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26132 { (exit 1); exit 1; }; }
26134 cat >conftest.
$ac_ext <<_ACEOF
26137 cat confdefs.h
>>conftest.
$ac_ext
26138 cat >>conftest.
$ac_ext <<_ACEOF
26139 /* end confdefs.h. */
26141 /* Override any gcc2 internal prototype to avoid an error. */
26145 /* We use char because int might match the return type of a gcc2
26146 builtin and then its argument prototype would still apply. */
26156 rm -f conftest.
$ac_objext conftest
$ac_exeext
26157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26158 (eval $ac_link) 2>conftest.er1
26160 grep -v '^ *+' conftest.er1
>conftest.err
26162 cat conftest.err
>&5
26163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26164 (exit $ac_status); } &&
26165 { ac_try
='test -z "$ac_c_werror_flag"
26166 || test ! -s conftest.err'
26167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26168 (eval $ac_try) 2>&5
26170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26171 (exit $ac_status); }; } &&
26172 { ac_try
='test -s conftest$ac_exeext'
26173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26174 (eval $ac_try) 2>&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); }; }; then
26178 ac_cv_lib_m_clog10
=yes
26180 echo "$as_me: failed program was:" >&5
26181 sed 's/^/| /' conftest.
$ac_ext >&5
26183 ac_cv_lib_m_clog10
=no
26185 rm -f conftest.err conftest.
$ac_objext \
26186 conftest
$ac_exeext conftest.
$ac_ext
26187 LIBS
=$ac_check_lib_save_LIBS
26189 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10" >&5
26190 echo "${ECHO_T}$ac_cv_lib_m_clog10" >&6
26191 if test $ac_cv_lib_m_clog10 = yes; then
26193 cat >>confdefs.h
<<\_ACEOF
26194 #define HAVE_CLOG10 1
26199 echo "$as_me:$LINENO: checking for clog10l in -lm" >&5
26200 echo $ECHO_N "checking for clog10l in -lm... $ECHO_C" >&6
26201 if test "${ac_cv_lib_m_clog10l+set}" = set; then
26202 echo $ECHO_N "(cached) $ECHO_C" >&6
26204 ac_check_lib_save_LIBS
=$LIBS
26206 if test x
$gcc_no_link = xyes
; then
26207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26209 { (exit 1); exit 1; }; }
26211 cat >conftest.
$ac_ext <<_ACEOF
26214 cat confdefs.h
>>conftest.
$ac_ext
26215 cat >>conftest.
$ac_ext <<_ACEOF
26216 /* end confdefs.h. */
26218 /* Override any gcc2 internal prototype to avoid an error. */
26222 /* We use char because int might match the return type of a gcc2
26223 builtin and then its argument prototype would still apply. */
26233 rm -f conftest.
$ac_objext conftest
$ac_exeext
26234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26235 (eval $ac_link) 2>conftest.er1
26237 grep -v '^ *+' conftest.er1
>conftest.err
26239 cat conftest.err
>&5
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); } &&
26242 { ac_try
='test -z "$ac_c_werror_flag"
26243 || test ! -s conftest.err'
26244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26245 (eval $ac_try) 2>&5
26247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26248 (exit $ac_status); }; } &&
26249 { ac_try
='test -s conftest$ac_exeext'
26250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26251 (eval $ac_try) 2>&5
26253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26254 (exit $ac_status); }; }; then
26255 ac_cv_lib_m_clog10l
=yes
26257 echo "$as_me: failed program was:" >&5
26258 sed 's/^/| /' conftest.
$ac_ext >&5
26260 ac_cv_lib_m_clog10l
=no
26262 rm -f conftest.err conftest.
$ac_objext \
26263 conftest
$ac_exeext conftest.
$ac_ext
26264 LIBS
=$ac_check_lib_save_LIBS
26266 echo "$as_me:$LINENO: result: $ac_cv_lib_m_clog10l" >&5
26267 echo "${ECHO_T}$ac_cv_lib_m_clog10l" >&6
26268 if test $ac_cv_lib_m_clog10l = yes; then
26270 cat >>confdefs.h
<<\_ACEOF
26271 #define HAVE_CLOG10L 1
26276 echo "$as_me:$LINENO: checking for nextafterf in -lm" >&5
26277 echo $ECHO_N "checking for nextafterf in -lm... $ECHO_C" >&6
26278 if test "${ac_cv_lib_m_nextafterf+set}" = set; then
26279 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 ac_check_lib_save_LIBS
=$LIBS
26283 if test x
$gcc_no_link = xyes
; then
26284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26286 { (exit 1); exit 1; }; }
26288 cat >conftest.
$ac_ext <<_ACEOF
26291 cat confdefs.h
>>conftest.
$ac_ext
26292 cat >>conftest.
$ac_ext <<_ACEOF
26293 /* end confdefs.h. */
26295 /* Override any gcc2 internal prototype to avoid an error. */
26299 /* We use char because int might match the return type of a gcc2
26300 builtin and then its argument prototype would still apply. */
26301 char nextafterf ();
26310 rm -f conftest.
$ac_objext conftest
$ac_exeext
26311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26312 (eval $ac_link) 2>conftest.er1
26314 grep -v '^ *+' conftest.er1
>conftest.err
26316 cat conftest.err
>&5
26317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26318 (exit $ac_status); } &&
26319 { ac_try
='test -z "$ac_c_werror_flag"
26320 || test ! -s conftest.err'
26321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26322 (eval $ac_try) 2>&5
26324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26325 (exit $ac_status); }; } &&
26326 { ac_try
='test -s conftest$ac_exeext'
26327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26328 (eval $ac_try) 2>&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; }; then
26332 ac_cv_lib_m_nextafterf
=yes
26334 echo "$as_me: failed program was:" >&5
26335 sed 's/^/| /' conftest.
$ac_ext >&5
26337 ac_cv_lib_m_nextafterf
=no
26339 rm -f conftest.err conftest.
$ac_objext \
26340 conftest
$ac_exeext conftest.
$ac_ext
26341 LIBS
=$ac_check_lib_save_LIBS
26343 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterf" >&5
26344 echo "${ECHO_T}$ac_cv_lib_m_nextafterf" >&6
26345 if test $ac_cv_lib_m_nextafterf = yes; then
26347 cat >>confdefs.h
<<\_ACEOF
26348 #define HAVE_NEXTAFTERF 1
26353 echo "$as_me:$LINENO: checking for nextafter in -lm" >&5
26354 echo $ECHO_N "checking for nextafter in -lm... $ECHO_C" >&6
26355 if test "${ac_cv_lib_m_nextafter+set}" = set; then
26356 echo $ECHO_N "(cached) $ECHO_C" >&6
26358 ac_check_lib_save_LIBS
=$LIBS
26360 if test x
$gcc_no_link = xyes
; then
26361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26363 { (exit 1); exit 1; }; }
26365 cat >conftest.
$ac_ext <<_ACEOF
26368 cat confdefs.h
>>conftest.
$ac_ext
26369 cat >>conftest.
$ac_ext <<_ACEOF
26370 /* end confdefs.h. */
26372 /* Override any gcc2 internal prototype to avoid an error. */
26376 /* We use char because int might match the return type of a gcc2
26377 builtin and then its argument prototype would still apply. */
26387 rm -f conftest.
$ac_objext conftest
$ac_exeext
26388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26389 (eval $ac_link) 2>conftest.er1
26391 grep -v '^ *+' conftest.er1
>conftest.err
26393 cat conftest.err
>&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } &&
26396 { ac_try
='test -z "$ac_c_werror_flag"
26397 || test ! -s conftest.err'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try
='test -s conftest$ac_exeext'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; }; then
26409 ac_cv_lib_m_nextafter
=yes
26411 echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.
$ac_ext >&5
26414 ac_cv_lib_m_nextafter
=no
26416 rm -f conftest.err conftest.
$ac_objext \
26417 conftest
$ac_exeext conftest.
$ac_ext
26418 LIBS
=$ac_check_lib_save_LIBS
26420 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafter" >&5
26421 echo "${ECHO_T}$ac_cv_lib_m_nextafter" >&6
26422 if test $ac_cv_lib_m_nextafter = yes; then
26424 cat >>confdefs.h
<<\_ACEOF
26425 #define HAVE_NEXTAFTER 1
26430 echo "$as_me:$LINENO: checking for nextafterl in -lm" >&5
26431 echo $ECHO_N "checking for nextafterl in -lm... $ECHO_C" >&6
26432 if test "${ac_cv_lib_m_nextafterl+set}" = set; then
26433 echo $ECHO_N "(cached) $ECHO_C" >&6
26435 ac_check_lib_save_LIBS
=$LIBS
26437 if test x
$gcc_no_link = xyes
; then
26438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26440 { (exit 1); exit 1; }; }
26442 cat >conftest.
$ac_ext <<_ACEOF
26445 cat confdefs.h
>>conftest.
$ac_ext
26446 cat >>conftest.
$ac_ext <<_ACEOF
26447 /* end confdefs.h. */
26449 /* Override any gcc2 internal prototype to avoid an error. */
26453 /* We use char because int might match the return type of a gcc2
26454 builtin and then its argument prototype would still apply. */
26455 char nextafterl ();
26464 rm -f conftest.
$ac_objext conftest
$ac_exeext
26465 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26466 (eval $ac_link) 2>conftest.er1
26468 grep -v '^ *+' conftest.er1
>conftest.err
26470 cat conftest.err
>&5
26471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26472 (exit $ac_status); } &&
26473 { ac_try
='test -z "$ac_c_werror_flag"
26474 || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try
='test -s conftest$ac_exeext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 ac_cv_lib_m_nextafterl
=yes
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.
$ac_ext >&5
26491 ac_cv_lib_m_nextafterl
=no
26493 rm -f conftest.err conftest.
$ac_objext \
26494 conftest
$ac_exeext conftest.
$ac_ext
26495 LIBS
=$ac_check_lib_save_LIBS
26497 echo "$as_me:$LINENO: result: $ac_cv_lib_m_nextafterl" >&5
26498 echo "${ECHO_T}$ac_cv_lib_m_nextafterl" >&6
26499 if test $ac_cv_lib_m_nextafterl = yes; then
26501 cat >>confdefs.h
<<\_ACEOF
26502 #define HAVE_NEXTAFTERL 1
26507 echo "$as_me:$LINENO: checking for powf in -lm" >&5
26508 echo $ECHO_N "checking for powf in -lm... $ECHO_C" >&6
26509 if test "${ac_cv_lib_m_powf+set}" = set; then
26510 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 ac_check_lib_save_LIBS
=$LIBS
26514 if test x
$gcc_no_link = xyes
; then
26515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26517 { (exit 1); exit 1; }; }
26519 cat >conftest.
$ac_ext <<_ACEOF
26522 cat confdefs.h
>>conftest.
$ac_ext
26523 cat >>conftest.
$ac_ext <<_ACEOF
26524 /* end confdefs.h. */
26526 /* Override any gcc2 internal prototype to avoid an error. */
26530 /* We use char because int might match the return type of a gcc2
26531 builtin and then its argument prototype would still apply. */
26541 rm -f conftest.
$ac_objext conftest
$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26545 grep -v '^ *+' conftest.er1
>conftest.err
26547 cat conftest.err
>&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try
='test -z "$ac_c_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try
='test -s conftest$ac_exeext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 ac_cv_lib_m_powf
=yes
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.
$ac_ext >&5
26568 ac_cv_lib_m_powf
=no
26570 rm -f conftest.err conftest.
$ac_objext \
26571 conftest
$ac_exeext conftest.
$ac_ext
26572 LIBS
=$ac_check_lib_save_LIBS
26574 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powf" >&5
26575 echo "${ECHO_T}$ac_cv_lib_m_powf" >&6
26576 if test $ac_cv_lib_m_powf = yes; then
26578 cat >>confdefs.h
<<\_ACEOF
26579 #define HAVE_POWF 1
26584 echo "$as_me:$LINENO: checking for pow in -lm" >&5
26585 echo $ECHO_N "checking for pow in -lm... $ECHO_C" >&6
26586 if test "${ac_cv_lib_m_pow+set}" = set; then
26587 echo $ECHO_N "(cached) $ECHO_C" >&6
26589 ac_check_lib_save_LIBS
=$LIBS
26591 if test x
$gcc_no_link = xyes
; then
26592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26594 { (exit 1); exit 1; }; }
26596 cat >conftest.
$ac_ext <<_ACEOF
26599 cat confdefs.h
>>conftest.
$ac_ext
26600 cat >>conftest.
$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26603 /* Override any gcc2 internal prototype to avoid an error. */
26607 /* We use char because int might match the return type of a gcc2
26608 builtin and then its argument prototype would still apply. */
26618 rm -f conftest.
$ac_objext conftest
$ac_exeext
26619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26620 (eval $ac_link) 2>conftest.er1
26622 grep -v '^ *+' conftest.er1
>conftest.err
26624 cat conftest.err
>&5
26625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26626 (exit $ac_status); } &&
26627 { ac_try
='test -z "$ac_c_werror_flag"
26628 || test ! -s conftest.err'
26629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630 (eval $ac_try) 2>&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); }; } &&
26634 { ac_try
='test -s conftest$ac_exeext'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; }; then
26640 ac_cv_lib_m_pow
=yes
26642 echo "$as_me: failed program was:" >&5
26643 sed 's/^/| /' conftest.
$ac_ext >&5
26647 rm -f conftest.err conftest.
$ac_objext \
26648 conftest
$ac_exeext conftest.
$ac_ext
26649 LIBS
=$ac_check_lib_save_LIBS
26651 echo "$as_me:$LINENO: result: $ac_cv_lib_m_pow" >&5
26652 echo "${ECHO_T}$ac_cv_lib_m_pow" >&6
26653 if test $ac_cv_lib_m_pow = yes; then
26655 cat >>confdefs.h
<<\_ACEOF
26661 echo "$as_me:$LINENO: checking for powl in -lm" >&5
26662 echo $ECHO_N "checking for powl in -lm... $ECHO_C" >&6
26663 if test "${ac_cv_lib_m_powl+set}" = set; then
26664 echo $ECHO_N "(cached) $ECHO_C" >&6
26666 ac_check_lib_save_LIBS
=$LIBS
26668 if test x
$gcc_no_link = xyes
; then
26669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26671 { (exit 1); exit 1; }; }
26673 cat >conftest.
$ac_ext <<_ACEOF
26676 cat confdefs.h
>>conftest.
$ac_ext
26677 cat >>conftest.
$ac_ext <<_ACEOF
26678 /* end confdefs.h. */
26680 /* Override any gcc2 internal prototype to avoid an error. */
26684 /* We use char because int might match the return type of a gcc2
26685 builtin and then its argument prototype would still apply. */
26695 rm -f conftest.
$ac_objext conftest
$ac_exeext
26696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26697 (eval $ac_link) 2>conftest.er1
26699 grep -v '^ *+' conftest.er1
>conftest.err
26701 cat conftest.err
>&5
26702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26703 (exit $ac_status); } &&
26704 { ac_try
='test -z "$ac_c_werror_flag"
26705 || test ! -s conftest.err'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; } &&
26711 { ac_try
='test -s conftest$ac_exeext'
26712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26713 (eval $ac_try) 2>&5
26715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26716 (exit $ac_status); }; }; then
26717 ac_cv_lib_m_powl
=yes
26719 echo "$as_me: failed program was:" >&5
26720 sed 's/^/| /' conftest.
$ac_ext >&5
26722 ac_cv_lib_m_powl
=no
26724 rm -f conftest.err conftest.
$ac_objext \
26725 conftest
$ac_exeext conftest.
$ac_ext
26726 LIBS
=$ac_check_lib_save_LIBS
26728 echo "$as_me:$LINENO: result: $ac_cv_lib_m_powl" >&5
26729 echo "${ECHO_T}$ac_cv_lib_m_powl" >&6
26730 if test $ac_cv_lib_m_powl = yes; then
26732 cat >>confdefs.h
<<\_ACEOF
26733 #define HAVE_POWL 1
26738 echo "$as_me:$LINENO: checking for cpowf in -lm" >&5
26739 echo $ECHO_N "checking for cpowf in -lm... $ECHO_C" >&6
26740 if test "${ac_cv_lib_m_cpowf+set}" = set; then
26741 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 ac_check_lib_save_LIBS
=$LIBS
26745 if test x
$gcc_no_link = xyes
; then
26746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26748 { (exit 1); exit 1; }; }
26750 cat >conftest.
$ac_ext <<_ACEOF
26753 cat confdefs.h
>>conftest.
$ac_ext
26754 cat >>conftest.
$ac_ext <<_ACEOF
26755 /* end confdefs.h. */
26757 /* Override any gcc2 internal prototype to avoid an error. */
26761 /* We use char because int might match the return type of a gcc2
26762 builtin and then its argument prototype would still apply. */
26772 rm -f conftest.
$ac_objext conftest
$ac_exeext
26773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26774 (eval $ac_link) 2>conftest.er1
26776 grep -v '^ *+' conftest.er1
>conftest.err
26778 cat conftest.err
>&5
26779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26780 (exit $ac_status); } &&
26781 { ac_try
='test -z "$ac_c_werror_flag"
26782 || test ! -s conftest.err'
26783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26784 (eval $ac_try) 2>&5
26786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26787 (exit $ac_status); }; } &&
26788 { ac_try
='test -s conftest$ac_exeext'
26789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26790 (eval $ac_try) 2>&5
26792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26793 (exit $ac_status); }; }; then
26794 ac_cv_lib_m_cpowf
=yes
26796 echo "$as_me: failed program was:" >&5
26797 sed 's/^/| /' conftest.
$ac_ext >&5
26799 ac_cv_lib_m_cpowf
=no
26801 rm -f conftest.err conftest.
$ac_objext \
26802 conftest
$ac_exeext conftest.
$ac_ext
26803 LIBS
=$ac_check_lib_save_LIBS
26805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowf" >&5
26806 echo "${ECHO_T}$ac_cv_lib_m_cpowf" >&6
26807 if test $ac_cv_lib_m_cpowf = yes; then
26809 cat >>confdefs.h
<<\_ACEOF
26810 #define HAVE_CPOWF 1
26815 echo "$as_me:$LINENO: checking for cpow in -lm" >&5
26816 echo $ECHO_N "checking for cpow in -lm... $ECHO_C" >&6
26817 if test "${ac_cv_lib_m_cpow+set}" = set; then
26818 echo $ECHO_N "(cached) $ECHO_C" >&6
26820 ac_check_lib_save_LIBS
=$LIBS
26822 if test x
$gcc_no_link = xyes
; then
26823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26825 { (exit 1); exit 1; }; }
26827 cat >conftest.
$ac_ext <<_ACEOF
26830 cat confdefs.h
>>conftest.
$ac_ext
26831 cat >>conftest.
$ac_ext <<_ACEOF
26832 /* end confdefs.h. */
26834 /* Override any gcc2 internal prototype to avoid an error. */
26838 /* We use char because int might match the return type of a gcc2
26839 builtin and then its argument prototype would still apply. */
26849 rm -f conftest.
$ac_objext conftest
$ac_exeext
26850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26851 (eval $ac_link) 2>conftest.er1
26853 grep -v '^ *+' conftest.er1
>conftest.err
26855 cat conftest.err
>&5
26856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26857 (exit $ac_status); } &&
26858 { ac_try
='test -z "$ac_c_werror_flag"
26859 || test ! -s conftest.err'
26860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26861 (eval $ac_try) 2>&5
26863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26864 (exit $ac_status); }; } &&
26865 { ac_try
='test -s conftest$ac_exeext'
26866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26867 (eval $ac_try) 2>&5
26869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26870 (exit $ac_status); }; }; then
26871 ac_cv_lib_m_cpow
=yes
26873 echo "$as_me: failed program was:" >&5
26874 sed 's/^/| /' conftest.
$ac_ext >&5
26876 ac_cv_lib_m_cpow
=no
26878 rm -f conftest.err conftest.
$ac_objext \
26879 conftest
$ac_exeext conftest.
$ac_ext
26880 LIBS
=$ac_check_lib_save_LIBS
26882 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpow" >&5
26883 echo "${ECHO_T}$ac_cv_lib_m_cpow" >&6
26884 if test $ac_cv_lib_m_cpow = yes; then
26886 cat >>confdefs.h
<<\_ACEOF
26887 #define HAVE_CPOW 1
26892 echo "$as_me:$LINENO: checking for cpowl in -lm" >&5
26893 echo $ECHO_N "checking for cpowl in -lm... $ECHO_C" >&6
26894 if test "${ac_cv_lib_m_cpowl+set}" = set; then
26895 echo $ECHO_N "(cached) $ECHO_C" >&6
26897 ac_check_lib_save_LIBS
=$LIBS
26899 if test x
$gcc_no_link = xyes
; then
26900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26902 { (exit 1); exit 1; }; }
26904 cat >conftest.
$ac_ext <<_ACEOF
26907 cat confdefs.h
>>conftest.
$ac_ext
26908 cat >>conftest.
$ac_ext <<_ACEOF
26909 /* end confdefs.h. */
26911 /* Override any gcc2 internal prototype to avoid an error. */
26915 /* We use char because int might match the return type of a gcc2
26916 builtin and then its argument prototype would still apply. */
26926 rm -f conftest.
$ac_objext conftest
$ac_exeext
26927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26928 (eval $ac_link) 2>conftest.er1
26930 grep -v '^ *+' conftest.er1
>conftest.err
26932 cat conftest.err
>&5
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); } &&
26935 { ac_try
='test -z "$ac_c_werror_flag"
26936 || test ! -s conftest.err'
26937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26938 (eval $ac_try) 2>&5
26940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26941 (exit $ac_status); }; } &&
26942 { ac_try
='test -s conftest$ac_exeext'
26943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26944 (eval $ac_try) 2>&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); }; }; then
26948 ac_cv_lib_m_cpowl
=yes
26950 echo "$as_me: failed program was:" >&5
26951 sed 's/^/| /' conftest.
$ac_ext >&5
26953 ac_cv_lib_m_cpowl
=no
26955 rm -f conftest.err conftest.
$ac_objext \
26956 conftest
$ac_exeext conftest.
$ac_ext
26957 LIBS
=$ac_check_lib_save_LIBS
26959 echo "$as_me:$LINENO: result: $ac_cv_lib_m_cpowl" >&5
26960 echo "${ECHO_T}$ac_cv_lib_m_cpowl" >&6
26961 if test $ac_cv_lib_m_cpowl = yes; then
26963 cat >>confdefs.h
<<\_ACEOF
26964 #define HAVE_CPOWL 1
26969 echo "$as_me:$LINENO: checking for roundf in -lm" >&5
26970 echo $ECHO_N "checking for roundf in -lm... $ECHO_C" >&6
26971 if test "${ac_cv_lib_m_roundf+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26974 ac_check_lib_save_LIBS
=$LIBS
26976 if test x
$gcc_no_link = xyes
; then
26977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26979 { (exit 1); exit 1; }; }
26981 cat >conftest.
$ac_ext <<_ACEOF
26984 cat confdefs.h
>>conftest.
$ac_ext
26985 cat >>conftest.
$ac_ext <<_ACEOF
26986 /* end confdefs.h. */
26988 /* Override any gcc2 internal prototype to avoid an error. */
26992 /* We use char because int might match the return type of a gcc2
26993 builtin and then its argument prototype would still apply. */
27003 rm -f conftest.
$ac_objext conftest
$ac_exeext
27004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27005 (eval $ac_link) 2>conftest.er1
27007 grep -v '^ *+' conftest.er1
>conftest.err
27009 cat conftest.err
>&5
27010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27011 (exit $ac_status); } &&
27012 { ac_try
='test -z "$ac_c_werror_flag"
27013 || test ! -s conftest.err'
27014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27015 (eval $ac_try) 2>&5
27017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27018 (exit $ac_status); }; } &&
27019 { ac_try
='test -s conftest$ac_exeext'
27020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27021 (eval $ac_try) 2>&5
27023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27024 (exit $ac_status); }; }; then
27025 ac_cv_lib_m_roundf
=yes
27027 echo "$as_me: failed program was:" >&5
27028 sed 's/^/| /' conftest.
$ac_ext >&5
27030 ac_cv_lib_m_roundf
=no
27032 rm -f conftest.err conftest.
$ac_objext \
27033 conftest
$ac_exeext conftest.
$ac_ext
27034 LIBS
=$ac_check_lib_save_LIBS
27036 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundf" >&5
27037 echo "${ECHO_T}$ac_cv_lib_m_roundf" >&6
27038 if test $ac_cv_lib_m_roundf = yes; then
27040 cat >>confdefs.h
<<\_ACEOF
27041 #define HAVE_ROUNDF 1
27046 echo "$as_me:$LINENO: checking for round in -lm" >&5
27047 echo $ECHO_N "checking for round in -lm... $ECHO_C" >&6
27048 if test "${ac_cv_lib_m_round+set}" = set; then
27049 echo $ECHO_N "(cached) $ECHO_C" >&6
27051 ac_check_lib_save_LIBS
=$LIBS
27053 if test x
$gcc_no_link = xyes
; then
27054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27056 { (exit 1); exit 1; }; }
27058 cat >conftest.
$ac_ext <<_ACEOF
27061 cat confdefs.h
>>conftest.
$ac_ext
27062 cat >>conftest.
$ac_ext <<_ACEOF
27063 /* end confdefs.h. */
27065 /* Override any gcc2 internal prototype to avoid an error. */
27069 /* We use char because int might match the return type of a gcc2
27070 builtin and then its argument prototype would still apply. */
27080 rm -f conftest.
$ac_objext conftest
$ac_exeext
27081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27082 (eval $ac_link) 2>conftest.er1
27084 grep -v '^ *+' conftest.er1
>conftest.err
27086 cat conftest.err
>&5
27087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27088 (exit $ac_status); } &&
27089 { ac_try
='test -z "$ac_c_werror_flag"
27090 || test ! -s conftest.err'
27091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27092 (eval $ac_try) 2>&5
27094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27095 (exit $ac_status); }; } &&
27096 { ac_try
='test -s conftest$ac_exeext'
27097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27098 (eval $ac_try) 2>&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); }; }; then
27102 ac_cv_lib_m_round
=yes
27104 echo "$as_me: failed program was:" >&5
27105 sed 's/^/| /' conftest.
$ac_ext >&5
27107 ac_cv_lib_m_round
=no
27109 rm -f conftest.err conftest.
$ac_objext \
27110 conftest
$ac_exeext conftest.
$ac_ext
27111 LIBS
=$ac_check_lib_save_LIBS
27113 echo "$as_me:$LINENO: result: $ac_cv_lib_m_round" >&5
27114 echo "${ECHO_T}$ac_cv_lib_m_round" >&6
27115 if test $ac_cv_lib_m_round = yes; then
27117 cat >>confdefs.h
<<\_ACEOF
27118 #define HAVE_ROUND 1
27123 echo "$as_me:$LINENO: checking for roundl in -lm" >&5
27124 echo $ECHO_N "checking for roundl in -lm... $ECHO_C" >&6
27125 if test "${ac_cv_lib_m_roundl+set}" = set; then
27126 echo $ECHO_N "(cached) $ECHO_C" >&6
27128 ac_check_lib_save_LIBS
=$LIBS
27130 if test x
$gcc_no_link = xyes
; then
27131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27133 { (exit 1); exit 1; }; }
27135 cat >conftest.
$ac_ext <<_ACEOF
27138 cat confdefs.h
>>conftest.
$ac_ext
27139 cat >>conftest.
$ac_ext <<_ACEOF
27140 /* end confdefs.h. */
27142 /* Override any gcc2 internal prototype to avoid an error. */
27146 /* We use char because int might match the return type of a gcc2
27147 builtin and then its argument prototype would still apply. */
27157 rm -f conftest.
$ac_objext conftest
$ac_exeext
27158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27159 (eval $ac_link) 2>conftest.er1
27161 grep -v '^ *+' conftest.er1
>conftest.err
27163 cat conftest.err
>&5
27164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27165 (exit $ac_status); } &&
27166 { ac_try
='test -z "$ac_c_werror_flag"
27167 || test ! -s conftest.err'
27168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27169 (eval $ac_try) 2>&5
27171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27172 (exit $ac_status); }; } &&
27173 { ac_try
='test -s conftest$ac_exeext'
27174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27175 (eval $ac_try) 2>&5
27177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27178 (exit $ac_status); }; }; then
27179 ac_cv_lib_m_roundl
=yes
27181 echo "$as_me: failed program was:" >&5
27182 sed 's/^/| /' conftest.
$ac_ext >&5
27184 ac_cv_lib_m_roundl
=no
27186 rm -f conftest.err conftest.
$ac_objext \
27187 conftest
$ac_exeext conftest.
$ac_ext
27188 LIBS
=$ac_check_lib_save_LIBS
27190 echo "$as_me:$LINENO: result: $ac_cv_lib_m_roundl" >&5
27191 echo "${ECHO_T}$ac_cv_lib_m_roundl" >&6
27192 if test $ac_cv_lib_m_roundl = yes; then
27194 cat >>confdefs.h
<<\_ACEOF
27195 #define HAVE_ROUNDL 1
27200 echo "$as_me:$LINENO: checking for lroundf in -lm" >&5
27201 echo $ECHO_N "checking for lroundf in -lm... $ECHO_C" >&6
27202 if test "${ac_cv_lib_m_lroundf+set}" = set; then
27203 echo $ECHO_N "(cached) $ECHO_C" >&6
27205 ac_check_lib_save_LIBS
=$LIBS
27207 if test x
$gcc_no_link = xyes
; then
27208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27210 { (exit 1); exit 1; }; }
27212 cat >conftest.
$ac_ext <<_ACEOF
27215 cat confdefs.h
>>conftest.
$ac_ext
27216 cat >>conftest.
$ac_ext <<_ACEOF
27217 /* end confdefs.h. */
27219 /* Override any gcc2 internal prototype to avoid an error. */
27223 /* We use char because int might match the return type of a gcc2
27224 builtin and then its argument prototype would still apply. */
27234 rm -f conftest.
$ac_objext conftest
$ac_exeext
27235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27236 (eval $ac_link) 2>conftest.er1
27238 grep -v '^ *+' conftest.er1
>conftest.err
27240 cat conftest.err
>&5
27241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27242 (exit $ac_status); } &&
27243 { ac_try
='test -z "$ac_c_werror_flag"
27244 || test ! -s conftest.err'
27245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27246 (eval $ac_try) 2>&5
27248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27249 (exit $ac_status); }; } &&
27250 { ac_try
='test -s conftest$ac_exeext'
27251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27252 (eval $ac_try) 2>&5
27254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27255 (exit $ac_status); }; }; then
27256 ac_cv_lib_m_lroundf
=yes
27258 echo "$as_me: failed program was:" >&5
27259 sed 's/^/| /' conftest.
$ac_ext >&5
27261 ac_cv_lib_m_lroundf
=no
27263 rm -f conftest.err conftest.
$ac_objext \
27264 conftest
$ac_exeext conftest.
$ac_ext
27265 LIBS
=$ac_check_lib_save_LIBS
27267 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundf" >&5
27268 echo "${ECHO_T}$ac_cv_lib_m_lroundf" >&6
27269 if test $ac_cv_lib_m_lroundf = yes; then
27271 cat >>confdefs.h
<<\_ACEOF
27272 #define HAVE_LROUNDF 1
27277 echo "$as_me:$LINENO: checking for lround in -lm" >&5
27278 echo $ECHO_N "checking for lround in -lm... $ECHO_C" >&6
27279 if test "${ac_cv_lib_m_lround+set}" = set; then
27280 echo $ECHO_N "(cached) $ECHO_C" >&6
27282 ac_check_lib_save_LIBS
=$LIBS
27284 if test x
$gcc_no_link = xyes
; then
27285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27287 { (exit 1); exit 1; }; }
27289 cat >conftest.
$ac_ext <<_ACEOF
27292 cat confdefs.h
>>conftest.
$ac_ext
27293 cat >>conftest.
$ac_ext <<_ACEOF
27294 /* end confdefs.h. */
27296 /* Override any gcc2 internal prototype to avoid an error. */
27300 /* We use char because int might match the return type of a gcc2
27301 builtin and then its argument prototype would still apply. */
27311 rm -f conftest.
$ac_objext conftest
$ac_exeext
27312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27313 (eval $ac_link) 2>conftest.er1
27315 grep -v '^ *+' conftest.er1
>conftest.err
27317 cat conftest.err
>&5
27318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27319 (exit $ac_status); } &&
27320 { ac_try
='test -z "$ac_c_werror_flag"
27321 || test ! -s conftest.err'
27322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27323 (eval $ac_try) 2>&5
27325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27326 (exit $ac_status); }; } &&
27327 { ac_try
='test -s conftest$ac_exeext'
27328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329 (eval $ac_try) 2>&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); }; }; then
27333 ac_cv_lib_m_lround
=yes
27335 echo "$as_me: failed program was:" >&5
27336 sed 's/^/| /' conftest.
$ac_ext >&5
27338 ac_cv_lib_m_lround
=no
27340 rm -f conftest.err conftest.
$ac_objext \
27341 conftest
$ac_exeext conftest.
$ac_ext
27342 LIBS
=$ac_check_lib_save_LIBS
27344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lround" >&5
27345 echo "${ECHO_T}$ac_cv_lib_m_lround" >&6
27346 if test $ac_cv_lib_m_lround = yes; then
27348 cat >>confdefs.h
<<\_ACEOF
27349 #define HAVE_LROUND 1
27354 echo "$as_me:$LINENO: checking for lroundl in -lm" >&5
27355 echo $ECHO_N "checking for lroundl in -lm... $ECHO_C" >&6
27356 if test "${ac_cv_lib_m_lroundl+set}" = set; then
27357 echo $ECHO_N "(cached) $ECHO_C" >&6
27359 ac_check_lib_save_LIBS
=$LIBS
27361 if test x
$gcc_no_link = xyes
; then
27362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27364 { (exit 1); exit 1; }; }
27366 cat >conftest.
$ac_ext <<_ACEOF
27369 cat confdefs.h
>>conftest.
$ac_ext
27370 cat >>conftest.
$ac_ext <<_ACEOF
27371 /* end confdefs.h. */
27373 /* Override any gcc2 internal prototype to avoid an error. */
27377 /* We use char because int might match the return type of a gcc2
27378 builtin and then its argument prototype would still apply. */
27388 rm -f conftest.
$ac_objext conftest
$ac_exeext
27389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27390 (eval $ac_link) 2>conftest.er1
27392 grep -v '^ *+' conftest.er1
>conftest.err
27394 cat conftest.err
>&5
27395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27396 (exit $ac_status); } &&
27397 { ac_try
='test -z "$ac_c_werror_flag"
27398 || test ! -s conftest.err'
27399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27400 (eval $ac_try) 2>&5
27402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27403 (exit $ac_status); }; } &&
27404 { ac_try
='test -s conftest$ac_exeext'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; }; then
27410 ac_cv_lib_m_lroundl
=yes
27412 echo "$as_me: failed program was:" >&5
27413 sed 's/^/| /' conftest.
$ac_ext >&5
27415 ac_cv_lib_m_lroundl
=no
27417 rm -f conftest.err conftest.
$ac_objext \
27418 conftest
$ac_exeext conftest.
$ac_ext
27419 LIBS
=$ac_check_lib_save_LIBS
27421 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lroundl" >&5
27422 echo "${ECHO_T}$ac_cv_lib_m_lroundl" >&6
27423 if test $ac_cv_lib_m_lroundl = yes; then
27425 cat >>confdefs.h
<<\_ACEOF
27426 #define HAVE_LROUNDL 1
27431 echo "$as_me:$LINENO: checking for llroundf in -lm" >&5
27432 echo $ECHO_N "checking for llroundf in -lm... $ECHO_C" >&6
27433 if test "${ac_cv_lib_m_llroundf+set}" = set; then
27434 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 ac_check_lib_save_LIBS
=$LIBS
27438 if test x
$gcc_no_link = xyes
; then
27439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27441 { (exit 1); exit 1; }; }
27443 cat >conftest.
$ac_ext <<_ACEOF
27446 cat confdefs.h
>>conftest.
$ac_ext
27447 cat >>conftest.
$ac_ext <<_ACEOF
27448 /* end confdefs.h. */
27450 /* Override any gcc2 internal prototype to avoid an error. */
27454 /* We use char because int might match the return type of a gcc2
27455 builtin and then its argument prototype would still apply. */
27465 rm -f conftest.
$ac_objext conftest
$ac_exeext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27467 (eval $ac_link) 2>conftest.er1
27469 grep -v '^ *+' conftest.er1
>conftest.err
27471 cat conftest.err
>&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } &&
27474 { ac_try
='test -z "$ac_c_werror_flag"
27475 || test ! -s conftest.err'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; } &&
27481 { ac_try
='test -s conftest$ac_exeext'
27482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483 (eval $ac_try) 2>&5
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); }; }; then
27487 ac_cv_lib_m_llroundf
=yes
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.
$ac_ext >&5
27492 ac_cv_lib_m_llroundf
=no
27494 rm -f conftest.err conftest.
$ac_objext \
27495 conftest
$ac_exeext conftest.
$ac_ext
27496 LIBS
=$ac_check_lib_save_LIBS
27498 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundf" >&5
27499 echo "${ECHO_T}$ac_cv_lib_m_llroundf" >&6
27500 if test $ac_cv_lib_m_llroundf = yes; then
27502 cat >>confdefs.h
<<\_ACEOF
27503 #define HAVE_LLROUNDF 1
27508 echo "$as_me:$LINENO: checking for llround in -lm" >&5
27509 echo $ECHO_N "checking for llround in -lm... $ECHO_C" >&6
27510 if test "${ac_cv_lib_m_llround+set}" = set; then
27511 echo $ECHO_N "(cached) $ECHO_C" >&6
27513 ac_check_lib_save_LIBS
=$LIBS
27515 if test x
$gcc_no_link = xyes
; then
27516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27518 { (exit 1); exit 1; }; }
27520 cat >conftest.
$ac_ext <<_ACEOF
27523 cat confdefs.h
>>conftest.
$ac_ext
27524 cat >>conftest.
$ac_ext <<_ACEOF
27525 /* end confdefs.h. */
27527 /* Override any gcc2 internal prototype to avoid an error. */
27531 /* We use char because int might match the return type of a gcc2
27532 builtin and then its argument prototype would still apply. */
27542 rm -f conftest.
$ac_objext conftest
$ac_exeext
27543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27544 (eval $ac_link) 2>conftest.er1
27546 grep -v '^ *+' conftest.er1
>conftest.err
27548 cat conftest.err
>&5
27549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550 (exit $ac_status); } &&
27551 { ac_try
='test -z "$ac_c_werror_flag"
27552 || test ! -s conftest.err'
27553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27554 (eval $ac_try) 2>&5
27556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27557 (exit $ac_status); }; } &&
27558 { ac_try
='test -s conftest$ac_exeext'
27559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27560 (eval $ac_try) 2>&5
27562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27563 (exit $ac_status); }; }; then
27564 ac_cv_lib_m_llround
=yes
27566 echo "$as_me: failed program was:" >&5
27567 sed 's/^/| /' conftest.
$ac_ext >&5
27569 ac_cv_lib_m_llround
=no
27571 rm -f conftest.err conftest.
$ac_objext \
27572 conftest
$ac_exeext conftest.
$ac_ext
27573 LIBS
=$ac_check_lib_save_LIBS
27575 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llround" >&5
27576 echo "${ECHO_T}$ac_cv_lib_m_llround" >&6
27577 if test $ac_cv_lib_m_llround = yes; then
27579 cat >>confdefs.h
<<\_ACEOF
27580 #define HAVE_LLROUND 1
27585 echo "$as_me:$LINENO: checking for llroundl in -lm" >&5
27586 echo $ECHO_N "checking for llroundl in -lm... $ECHO_C" >&6
27587 if test "${ac_cv_lib_m_llroundl+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27590 ac_check_lib_save_LIBS
=$LIBS
27592 if test x
$gcc_no_link = xyes
; then
27593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27595 { (exit 1); exit 1; }; }
27597 cat >conftest.
$ac_ext <<_ACEOF
27600 cat confdefs.h
>>conftest.
$ac_ext
27601 cat >>conftest.
$ac_ext <<_ACEOF
27602 /* end confdefs.h. */
27604 /* Override any gcc2 internal prototype to avoid an error. */
27608 /* We use char because int might match the return type of a gcc2
27609 builtin and then its argument prototype would still apply. */
27619 rm -f conftest.
$ac_objext conftest
$ac_exeext
27620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27621 (eval $ac_link) 2>conftest.er1
27623 grep -v '^ *+' conftest.er1
>conftest.err
27625 cat conftest.err
>&5
27626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27627 (exit $ac_status); } &&
27628 { ac_try
='test -z "$ac_c_werror_flag"
27629 || test ! -s conftest.err'
27630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27631 (eval $ac_try) 2>&5
27633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27634 (exit $ac_status); }; } &&
27635 { ac_try
='test -s conftest$ac_exeext'
27636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27637 (eval $ac_try) 2>&5
27639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27640 (exit $ac_status); }; }; then
27641 ac_cv_lib_m_llroundl
=yes
27643 echo "$as_me: failed program was:" >&5
27644 sed 's/^/| /' conftest.
$ac_ext >&5
27646 ac_cv_lib_m_llroundl
=no
27648 rm -f conftest.err conftest.
$ac_objext \
27649 conftest
$ac_exeext conftest.
$ac_ext
27650 LIBS
=$ac_check_lib_save_LIBS
27652 echo "$as_me:$LINENO: result: $ac_cv_lib_m_llroundl" >&5
27653 echo "${ECHO_T}$ac_cv_lib_m_llroundl" >&6
27654 if test $ac_cv_lib_m_llroundl = yes; then
27656 cat >>confdefs.h
<<\_ACEOF
27657 #define HAVE_LLROUNDL 1
27662 echo "$as_me:$LINENO: checking for scalbnf in -lm" >&5
27663 echo $ECHO_N "checking for scalbnf in -lm... $ECHO_C" >&6
27664 if test "${ac_cv_lib_m_scalbnf+set}" = set; then
27665 echo $ECHO_N "(cached) $ECHO_C" >&6
27667 ac_check_lib_save_LIBS
=$LIBS
27669 if test x
$gcc_no_link = xyes
; then
27670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27672 { (exit 1); exit 1; }; }
27674 cat >conftest.
$ac_ext <<_ACEOF
27677 cat confdefs.h
>>conftest.
$ac_ext
27678 cat >>conftest.
$ac_ext <<_ACEOF
27679 /* end confdefs.h. */
27681 /* Override any gcc2 internal prototype to avoid an error. */
27685 /* We use char because int might match the return type of a gcc2
27686 builtin and then its argument prototype would still apply. */
27696 rm -f conftest.
$ac_objext conftest
$ac_exeext
27697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27698 (eval $ac_link) 2>conftest.er1
27700 grep -v '^ *+' conftest.er1
>conftest.err
27702 cat conftest.err
>&5
27703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27704 (exit $ac_status); } &&
27705 { ac_try
='test -z "$ac_c_werror_flag"
27706 || test ! -s conftest.err'
27707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27708 (eval $ac_try) 2>&5
27710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27711 (exit $ac_status); }; } &&
27712 { ac_try
='test -s conftest$ac_exeext'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; }; then
27718 ac_cv_lib_m_scalbnf
=yes
27720 echo "$as_me: failed program was:" >&5
27721 sed 's/^/| /' conftest.
$ac_ext >&5
27723 ac_cv_lib_m_scalbnf
=no
27725 rm -f conftest.err conftest.
$ac_objext \
27726 conftest
$ac_exeext conftest.
$ac_ext
27727 LIBS
=$ac_check_lib_save_LIBS
27729 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnf" >&5
27730 echo "${ECHO_T}$ac_cv_lib_m_scalbnf" >&6
27731 if test $ac_cv_lib_m_scalbnf = yes; then
27733 cat >>confdefs.h
<<\_ACEOF
27734 #define HAVE_SCALBNF 1
27739 echo "$as_me:$LINENO: checking for scalbn in -lm" >&5
27740 echo $ECHO_N "checking for scalbn in -lm... $ECHO_C" >&6
27741 if test "${ac_cv_lib_m_scalbn+set}" = set; then
27742 echo $ECHO_N "(cached) $ECHO_C" >&6
27744 ac_check_lib_save_LIBS
=$LIBS
27746 if test x
$gcc_no_link = xyes
; then
27747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27749 { (exit 1); exit 1; }; }
27751 cat >conftest.
$ac_ext <<_ACEOF
27754 cat confdefs.h
>>conftest.
$ac_ext
27755 cat >>conftest.
$ac_ext <<_ACEOF
27756 /* end confdefs.h. */
27758 /* Override any gcc2 internal prototype to avoid an error. */
27762 /* We use char because int might match the return type of a gcc2
27763 builtin and then its argument prototype would still apply. */
27773 rm -f conftest.
$ac_objext conftest
$ac_exeext
27774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27775 (eval $ac_link) 2>conftest.er1
27777 grep -v '^ *+' conftest.er1
>conftest.err
27779 cat conftest.err
>&5
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); } &&
27782 { ac_try
='test -z "$ac_c_werror_flag"
27783 || test ! -s conftest.err'
27784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27785 (eval $ac_try) 2>&5
27787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27788 (exit $ac_status); }; } &&
27789 { ac_try
='test -s conftest$ac_exeext'
27790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27791 (eval $ac_try) 2>&5
27793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27794 (exit $ac_status); }; }; then
27795 ac_cv_lib_m_scalbn
=yes
27797 echo "$as_me: failed program was:" >&5
27798 sed 's/^/| /' conftest.
$ac_ext >&5
27800 ac_cv_lib_m_scalbn
=no
27802 rm -f conftest.err conftest.
$ac_objext \
27803 conftest
$ac_exeext conftest.
$ac_ext
27804 LIBS
=$ac_check_lib_save_LIBS
27806 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbn" >&5
27807 echo "${ECHO_T}$ac_cv_lib_m_scalbn" >&6
27808 if test $ac_cv_lib_m_scalbn = yes; then
27810 cat >>confdefs.h
<<\_ACEOF
27811 #define HAVE_SCALBN 1
27816 echo "$as_me:$LINENO: checking for scalbnl in -lm" >&5
27817 echo $ECHO_N "checking for scalbnl in -lm... $ECHO_C" >&6
27818 if test "${ac_cv_lib_m_scalbnl+set}" = set; then
27819 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 ac_check_lib_save_LIBS
=$LIBS
27823 if test x
$gcc_no_link = xyes
; then
27824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27826 { (exit 1); exit 1; }; }
27828 cat >conftest.
$ac_ext <<_ACEOF
27831 cat confdefs.h
>>conftest.
$ac_ext
27832 cat >>conftest.
$ac_ext <<_ACEOF
27833 /* end confdefs.h. */
27835 /* Override any gcc2 internal prototype to avoid an error. */
27839 /* We use char because int might match the return type of a gcc2
27840 builtin and then its argument prototype would still apply. */
27850 rm -f conftest.
$ac_objext conftest
$ac_exeext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27852 (eval $ac_link) 2>conftest.er1
27854 grep -v '^ *+' conftest.er1
>conftest.err
27856 cat conftest.err
>&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try
='test -z "$ac_c_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try
='test -s conftest$ac_exeext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 ac_cv_lib_m_scalbnl
=yes
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.
$ac_ext >&5
27877 ac_cv_lib_m_scalbnl
=no
27879 rm -f conftest.err conftest.
$ac_objext \
27880 conftest
$ac_exeext conftest.
$ac_ext
27881 LIBS
=$ac_check_lib_save_LIBS
27883 echo "$as_me:$LINENO: result: $ac_cv_lib_m_scalbnl" >&5
27884 echo "${ECHO_T}$ac_cv_lib_m_scalbnl" >&6
27885 if test $ac_cv_lib_m_scalbnl = yes; then
27887 cat >>confdefs.h
<<\_ACEOF
27888 #define HAVE_SCALBNL 1
27893 echo "$as_me:$LINENO: checking for sinf in -lm" >&5
27894 echo $ECHO_N "checking for sinf in -lm... $ECHO_C" >&6
27895 if test "${ac_cv_lib_m_sinf+set}" = set; then
27896 echo $ECHO_N "(cached) $ECHO_C" >&6
27898 ac_check_lib_save_LIBS
=$LIBS
27900 if test x
$gcc_no_link = xyes
; then
27901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27903 { (exit 1); exit 1; }; }
27905 cat >conftest.
$ac_ext <<_ACEOF
27908 cat confdefs.h
>>conftest.
$ac_ext
27909 cat >>conftest.
$ac_ext <<_ACEOF
27910 /* end confdefs.h. */
27912 /* Override any gcc2 internal prototype to avoid an error. */
27916 /* We use char because int might match the return type of a gcc2
27917 builtin and then its argument prototype would still apply. */
27927 rm -f conftest.
$ac_objext conftest
$ac_exeext
27928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27929 (eval $ac_link) 2>conftest.er1
27931 grep -v '^ *+' conftest.er1
>conftest.err
27933 cat conftest.err
>&5
27934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27935 (exit $ac_status); } &&
27936 { ac_try
='test -z "$ac_c_werror_flag"
27937 || test ! -s conftest.err'
27938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27939 (eval $ac_try) 2>&5
27941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27942 (exit $ac_status); }; } &&
27943 { ac_try
='test -s conftest$ac_exeext'
27944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27945 (eval $ac_try) 2>&5
27947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27948 (exit $ac_status); }; }; then
27949 ac_cv_lib_m_sinf
=yes
27951 echo "$as_me: failed program was:" >&5
27952 sed 's/^/| /' conftest.
$ac_ext >&5
27954 ac_cv_lib_m_sinf
=no
27956 rm -f conftest.err conftest.
$ac_objext \
27957 conftest
$ac_exeext conftest.
$ac_ext
27958 LIBS
=$ac_check_lib_save_LIBS
27960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinf" >&5
27961 echo "${ECHO_T}$ac_cv_lib_m_sinf" >&6
27962 if test $ac_cv_lib_m_sinf = yes; then
27964 cat >>confdefs.h
<<\_ACEOF
27965 #define HAVE_SINF 1
27970 echo "$as_me:$LINENO: checking for sin in -lm" >&5
27971 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
27972 if test "${ac_cv_lib_m_sin+set}" = set; then
27973 echo $ECHO_N "(cached) $ECHO_C" >&6
27975 ac_check_lib_save_LIBS
=$LIBS
27977 if test x
$gcc_no_link = xyes
; then
27978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27980 { (exit 1); exit 1; }; }
27982 cat >conftest.
$ac_ext <<_ACEOF
27985 cat confdefs.h
>>conftest.
$ac_ext
27986 cat >>conftest.
$ac_ext <<_ACEOF
27987 /* end confdefs.h. */
27989 /* Override any gcc2 internal prototype to avoid an error. */
27993 /* We use char because int might match the return type of a gcc2
27994 builtin and then its argument prototype would still apply. */
28004 rm -f conftest.
$ac_objext conftest
$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006 (eval $ac_link) 2>conftest.er1
28008 grep -v '^ *+' conftest.er1
>conftest.err
28010 cat conftest.err
>&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } &&
28013 { ac_try
='test -z "$ac_c_werror_flag"
28014 || test ! -s conftest.err'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; } &&
28020 { ac_try
='test -s conftest$ac_exeext'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; }; then
28026 ac_cv_lib_m_sin
=yes
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.
$ac_ext >&5
28033 rm -f conftest.err conftest.
$ac_objext \
28034 conftest
$ac_exeext conftest.
$ac_ext
28035 LIBS
=$ac_check_lib_save_LIBS
28037 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
28038 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
28039 if test $ac_cv_lib_m_sin = yes; then
28041 cat >>confdefs.h
<<\_ACEOF
28047 echo "$as_me:$LINENO: checking for sinl in -lm" >&5
28048 echo $ECHO_N "checking for sinl in -lm... $ECHO_C" >&6
28049 if test "${ac_cv_lib_m_sinl+set}" = set; then
28050 echo $ECHO_N "(cached) $ECHO_C" >&6
28052 ac_check_lib_save_LIBS
=$LIBS
28054 if test x
$gcc_no_link = xyes
; then
28055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28057 { (exit 1); exit 1; }; }
28059 cat >conftest.
$ac_ext <<_ACEOF
28062 cat confdefs.h
>>conftest.
$ac_ext
28063 cat >>conftest.
$ac_ext <<_ACEOF
28064 /* end confdefs.h. */
28066 /* Override any gcc2 internal prototype to avoid an error. */
28070 /* We use char because int might match the return type of a gcc2
28071 builtin and then its argument prototype would still apply. */
28081 rm -f conftest.
$ac_objext conftest
$ac_exeext
28082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28083 (eval $ac_link) 2>conftest.er1
28085 grep -v '^ *+' conftest.er1
>conftest.err
28087 cat conftest.err
>&5
28088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28089 (exit $ac_status); } &&
28090 { ac_try
='test -z "$ac_c_werror_flag"
28091 || test ! -s conftest.err'
28092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28093 (eval $ac_try) 2>&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); }; } &&
28097 { ac_try
='test -s conftest$ac_exeext'
28098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28099 (eval $ac_try) 2>&5
28101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28102 (exit $ac_status); }; }; then
28103 ac_cv_lib_m_sinl
=yes
28105 echo "$as_me: failed program was:" >&5
28106 sed 's/^/| /' conftest.
$ac_ext >&5
28108 ac_cv_lib_m_sinl
=no
28110 rm -f conftest.err conftest.
$ac_objext \
28111 conftest
$ac_exeext conftest.
$ac_ext
28112 LIBS
=$ac_check_lib_save_LIBS
28114 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinl" >&5
28115 echo "${ECHO_T}$ac_cv_lib_m_sinl" >&6
28116 if test $ac_cv_lib_m_sinl = yes; then
28118 cat >>confdefs.h
<<\_ACEOF
28119 #define HAVE_SINL 1
28124 echo "$as_me:$LINENO: checking for csinf in -lm" >&5
28125 echo $ECHO_N "checking for csinf in -lm... $ECHO_C" >&6
28126 if test "${ac_cv_lib_m_csinf+set}" = set; then
28127 echo $ECHO_N "(cached) $ECHO_C" >&6
28129 ac_check_lib_save_LIBS
=$LIBS
28131 if test x
$gcc_no_link = xyes
; then
28132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28134 { (exit 1); exit 1; }; }
28136 cat >conftest.
$ac_ext <<_ACEOF
28139 cat confdefs.h
>>conftest.
$ac_ext
28140 cat >>conftest.
$ac_ext <<_ACEOF
28141 /* end confdefs.h. */
28143 /* Override any gcc2 internal prototype to avoid an error. */
28147 /* We use char because int might match the return type of a gcc2
28148 builtin and then its argument prototype would still apply. */
28158 rm -f conftest.
$ac_objext conftest
$ac_exeext
28159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28160 (eval $ac_link) 2>conftest.er1
28162 grep -v '^ *+' conftest.er1
>conftest.err
28164 cat conftest.err
>&5
28165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28166 (exit $ac_status); } &&
28167 { ac_try
='test -z "$ac_c_werror_flag"
28168 || test ! -s conftest.err'
28169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28170 (eval $ac_try) 2>&5
28172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28173 (exit $ac_status); }; } &&
28174 { ac_try
='test -s conftest$ac_exeext'
28175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28176 (eval $ac_try) 2>&5
28178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28179 (exit $ac_status); }; }; then
28180 ac_cv_lib_m_csinf
=yes
28182 echo "$as_me: failed program was:" >&5
28183 sed 's/^/| /' conftest.
$ac_ext >&5
28185 ac_cv_lib_m_csinf
=no
28187 rm -f conftest.err conftest.
$ac_objext \
28188 conftest
$ac_exeext conftest.
$ac_ext
28189 LIBS
=$ac_check_lib_save_LIBS
28191 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinf" >&5
28192 echo "${ECHO_T}$ac_cv_lib_m_csinf" >&6
28193 if test $ac_cv_lib_m_csinf = yes; then
28195 cat >>confdefs.h
<<\_ACEOF
28196 #define HAVE_CSINF 1
28201 echo "$as_me:$LINENO: checking for csin in -lm" >&5
28202 echo $ECHO_N "checking for csin in -lm... $ECHO_C" >&6
28203 if test "${ac_cv_lib_m_csin+set}" = set; then
28204 echo $ECHO_N "(cached) $ECHO_C" >&6
28206 ac_check_lib_save_LIBS
=$LIBS
28208 if test x
$gcc_no_link = xyes
; then
28209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28211 { (exit 1); exit 1; }; }
28213 cat >conftest.
$ac_ext <<_ACEOF
28216 cat confdefs.h
>>conftest.
$ac_ext
28217 cat >>conftest.
$ac_ext <<_ACEOF
28218 /* end confdefs.h. */
28220 /* Override any gcc2 internal prototype to avoid an error. */
28224 /* We use char because int might match the return type of a gcc2
28225 builtin and then its argument prototype would still apply. */
28235 rm -f conftest.
$ac_objext conftest
$ac_exeext
28236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28237 (eval $ac_link) 2>conftest.er1
28239 grep -v '^ *+' conftest.er1
>conftest.err
28241 cat conftest.err
>&5
28242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28243 (exit $ac_status); } &&
28244 { ac_try
='test -z "$ac_c_werror_flag"
28245 || test ! -s conftest.err'
28246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28247 (eval $ac_try) 2>&5
28249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28250 (exit $ac_status); }; } &&
28251 { ac_try
='test -s conftest$ac_exeext'
28252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28253 (eval $ac_try) 2>&5
28255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28256 (exit $ac_status); }; }; then
28257 ac_cv_lib_m_csin
=yes
28259 echo "$as_me: failed program was:" >&5
28260 sed 's/^/| /' conftest.
$ac_ext >&5
28262 ac_cv_lib_m_csin
=no
28264 rm -f conftest.err conftest.
$ac_objext \
28265 conftest
$ac_exeext conftest.
$ac_ext
28266 LIBS
=$ac_check_lib_save_LIBS
28268 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csin" >&5
28269 echo "${ECHO_T}$ac_cv_lib_m_csin" >&6
28270 if test $ac_cv_lib_m_csin = yes; then
28272 cat >>confdefs.h
<<\_ACEOF
28273 #define HAVE_CSIN 1
28278 echo "$as_me:$LINENO: checking for csinl in -lm" >&5
28279 echo $ECHO_N "checking for csinl in -lm... $ECHO_C" >&6
28280 if test "${ac_cv_lib_m_csinl+set}" = set; then
28281 echo $ECHO_N "(cached) $ECHO_C" >&6
28283 ac_check_lib_save_LIBS
=$LIBS
28285 if test x
$gcc_no_link = xyes
; then
28286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28288 { (exit 1); exit 1; }; }
28290 cat >conftest.
$ac_ext <<_ACEOF
28293 cat confdefs.h
>>conftest.
$ac_ext
28294 cat >>conftest.
$ac_ext <<_ACEOF
28295 /* end confdefs.h. */
28297 /* Override any gcc2 internal prototype to avoid an error. */
28301 /* We use char because int might match the return type of a gcc2
28302 builtin and then its argument prototype would still apply. */
28312 rm -f conftest.
$ac_objext conftest
$ac_exeext
28313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28314 (eval $ac_link) 2>conftest.er1
28316 grep -v '^ *+' conftest.er1
>conftest.err
28318 cat conftest.err
>&5
28319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28320 (exit $ac_status); } &&
28321 { ac_try
='test -z "$ac_c_werror_flag"
28322 || test ! -s conftest.err'
28323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28324 (eval $ac_try) 2>&5
28326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28327 (exit $ac_status); }; } &&
28328 { ac_try
='test -s conftest$ac_exeext'
28329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28330 (eval $ac_try) 2>&5
28332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28333 (exit $ac_status); }; }; then
28334 ac_cv_lib_m_csinl
=yes
28336 echo "$as_me: failed program was:" >&5
28337 sed 's/^/| /' conftest.
$ac_ext >&5
28339 ac_cv_lib_m_csinl
=no
28341 rm -f conftest.err conftest.
$ac_objext \
28342 conftest
$ac_exeext conftest.
$ac_ext
28343 LIBS
=$ac_check_lib_save_LIBS
28345 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinl" >&5
28346 echo "${ECHO_T}$ac_cv_lib_m_csinl" >&6
28347 if test $ac_cv_lib_m_csinl = yes; then
28349 cat >>confdefs.h
<<\_ACEOF
28350 #define HAVE_CSINL 1
28355 echo "$as_me:$LINENO: checking for sinhf in -lm" >&5
28356 echo $ECHO_N "checking for sinhf in -lm... $ECHO_C" >&6
28357 if test "${ac_cv_lib_m_sinhf+set}" = set; then
28358 echo $ECHO_N "(cached) $ECHO_C" >&6
28360 ac_check_lib_save_LIBS
=$LIBS
28362 if test x
$gcc_no_link = xyes
; then
28363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28365 { (exit 1); exit 1; }; }
28367 cat >conftest.
$ac_ext <<_ACEOF
28370 cat confdefs.h
>>conftest.
$ac_ext
28371 cat >>conftest.
$ac_ext <<_ACEOF
28372 /* end confdefs.h. */
28374 /* Override any gcc2 internal prototype to avoid an error. */
28378 /* We use char because int might match the return type of a gcc2
28379 builtin and then its argument prototype would still apply. */
28389 rm -f conftest.
$ac_objext conftest
$ac_exeext
28390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28391 (eval $ac_link) 2>conftest.er1
28393 grep -v '^ *+' conftest.er1
>conftest.err
28395 cat conftest.err
>&5
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); } &&
28398 { ac_try
='test -z "$ac_c_werror_flag"
28399 || test ! -s conftest.err'
28400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28401 (eval $ac_try) 2>&5
28403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28404 (exit $ac_status); }; } &&
28405 { ac_try
='test -s conftest$ac_exeext'
28406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28407 (eval $ac_try) 2>&5
28409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28410 (exit $ac_status); }; }; then
28411 ac_cv_lib_m_sinhf
=yes
28413 echo "$as_me: failed program was:" >&5
28414 sed 's/^/| /' conftest.
$ac_ext >&5
28416 ac_cv_lib_m_sinhf
=no
28418 rm -f conftest.err conftest.
$ac_objext \
28419 conftest
$ac_exeext conftest.
$ac_ext
28420 LIBS
=$ac_check_lib_save_LIBS
28422 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhf" >&5
28423 echo "${ECHO_T}$ac_cv_lib_m_sinhf" >&6
28424 if test $ac_cv_lib_m_sinhf = yes; then
28426 cat >>confdefs.h
<<\_ACEOF
28427 #define HAVE_SINHF 1
28432 echo "$as_me:$LINENO: checking for sinh in -lm" >&5
28433 echo $ECHO_N "checking for sinh in -lm... $ECHO_C" >&6
28434 if test "${ac_cv_lib_m_sinh+set}" = set; then
28435 echo $ECHO_N "(cached) $ECHO_C" >&6
28437 ac_check_lib_save_LIBS
=$LIBS
28439 if test x
$gcc_no_link = xyes
; then
28440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28442 { (exit 1); exit 1; }; }
28444 cat >conftest.
$ac_ext <<_ACEOF
28447 cat confdefs.h
>>conftest.
$ac_ext
28448 cat >>conftest.
$ac_ext <<_ACEOF
28449 /* end confdefs.h. */
28451 /* Override any gcc2 internal prototype to avoid an error. */
28455 /* We use char because int might match the return type of a gcc2
28456 builtin and then its argument prototype would still apply. */
28466 rm -f conftest.
$ac_objext conftest
$ac_exeext
28467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28468 (eval $ac_link) 2>conftest.er1
28470 grep -v '^ *+' conftest.er1
>conftest.err
28472 cat conftest.err
>&5
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); } &&
28475 { ac_try
='test -z "$ac_c_werror_flag"
28476 || test ! -s conftest.err'
28477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28478 (eval $ac_try) 2>&5
28480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28481 (exit $ac_status); }; } &&
28482 { ac_try
='test -s conftest$ac_exeext'
28483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28484 (eval $ac_try) 2>&5
28486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28487 (exit $ac_status); }; }; then
28488 ac_cv_lib_m_sinh
=yes
28490 echo "$as_me: failed program was:" >&5
28491 sed 's/^/| /' conftest.
$ac_ext >&5
28493 ac_cv_lib_m_sinh
=no
28495 rm -f conftest.err conftest.
$ac_objext \
28496 conftest
$ac_exeext conftest.
$ac_ext
28497 LIBS
=$ac_check_lib_save_LIBS
28499 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinh" >&5
28500 echo "${ECHO_T}$ac_cv_lib_m_sinh" >&6
28501 if test $ac_cv_lib_m_sinh = yes; then
28503 cat >>confdefs.h
<<\_ACEOF
28504 #define HAVE_SINH 1
28509 echo "$as_me:$LINENO: checking for sinhl in -lm" >&5
28510 echo $ECHO_N "checking for sinhl in -lm... $ECHO_C" >&6
28511 if test "${ac_cv_lib_m_sinhl+set}" = set; then
28512 echo $ECHO_N "(cached) $ECHO_C" >&6
28514 ac_check_lib_save_LIBS
=$LIBS
28516 if test x
$gcc_no_link = xyes
; then
28517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28519 { (exit 1); exit 1; }; }
28521 cat >conftest.
$ac_ext <<_ACEOF
28524 cat confdefs.h
>>conftest.
$ac_ext
28525 cat >>conftest.
$ac_ext <<_ACEOF
28526 /* end confdefs.h. */
28528 /* Override any gcc2 internal prototype to avoid an error. */
28532 /* We use char because int might match the return type of a gcc2
28533 builtin and then its argument prototype would still apply. */
28543 rm -f conftest.
$ac_objext conftest
$ac_exeext
28544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28545 (eval $ac_link) 2>conftest.er1
28547 grep -v '^ *+' conftest.er1
>conftest.err
28549 cat conftest.err
>&5
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); } &&
28552 { ac_try
='test -z "$ac_c_werror_flag"
28553 || test ! -s conftest.err'
28554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28555 (eval $ac_try) 2>&5
28557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28558 (exit $ac_status); }; } &&
28559 { ac_try
='test -s conftest$ac_exeext'
28560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28561 (eval $ac_try) 2>&5
28563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28564 (exit $ac_status); }; }; then
28565 ac_cv_lib_m_sinhl
=yes
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.
$ac_ext >&5
28570 ac_cv_lib_m_sinhl
=no
28572 rm -f conftest.err conftest.
$ac_objext \
28573 conftest
$ac_exeext conftest.
$ac_ext
28574 LIBS
=$ac_check_lib_save_LIBS
28576 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sinhl" >&5
28577 echo "${ECHO_T}$ac_cv_lib_m_sinhl" >&6
28578 if test $ac_cv_lib_m_sinhl = yes; then
28580 cat >>confdefs.h
<<\_ACEOF
28581 #define HAVE_SINHL 1
28586 echo "$as_me:$LINENO: checking for csinhf in -lm" >&5
28587 echo $ECHO_N "checking for csinhf in -lm... $ECHO_C" >&6
28588 if test "${ac_cv_lib_m_csinhf+set}" = set; then
28589 echo $ECHO_N "(cached) $ECHO_C" >&6
28591 ac_check_lib_save_LIBS
=$LIBS
28593 if test x
$gcc_no_link = xyes
; then
28594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28596 { (exit 1); exit 1; }; }
28598 cat >conftest.
$ac_ext <<_ACEOF
28601 cat confdefs.h
>>conftest.
$ac_ext
28602 cat >>conftest.
$ac_ext <<_ACEOF
28603 /* end confdefs.h. */
28605 /* Override any gcc2 internal prototype to avoid an error. */
28609 /* We use char because int might match the return type of a gcc2
28610 builtin and then its argument prototype would still apply. */
28620 rm -f conftest.
$ac_objext conftest
$ac_exeext
28621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28622 (eval $ac_link) 2>conftest.er1
28624 grep -v '^ *+' conftest.er1
>conftest.err
28626 cat conftest.err
>&5
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } &&
28629 { ac_try
='test -z "$ac_c_werror_flag"
28630 || test ! -s conftest.err'
28631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28632 (eval $ac_try) 2>&5
28634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28635 (exit $ac_status); }; } &&
28636 { ac_try
='test -s conftest$ac_exeext'
28637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28638 (eval $ac_try) 2>&5
28640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28641 (exit $ac_status); }; }; then
28642 ac_cv_lib_m_csinhf
=yes
28644 echo "$as_me: failed program was:" >&5
28645 sed 's/^/| /' conftest.
$ac_ext >&5
28647 ac_cv_lib_m_csinhf
=no
28649 rm -f conftest.err conftest.
$ac_objext \
28650 conftest
$ac_exeext conftest.
$ac_ext
28651 LIBS
=$ac_check_lib_save_LIBS
28653 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhf" >&5
28654 echo "${ECHO_T}$ac_cv_lib_m_csinhf" >&6
28655 if test $ac_cv_lib_m_csinhf = yes; then
28657 cat >>confdefs.h
<<\_ACEOF
28658 #define HAVE_CSINHF 1
28663 echo "$as_me:$LINENO: checking for csinh in -lm" >&5
28664 echo $ECHO_N "checking for csinh in -lm... $ECHO_C" >&6
28665 if test "${ac_cv_lib_m_csinh+set}" = set; then
28666 echo $ECHO_N "(cached) $ECHO_C" >&6
28668 ac_check_lib_save_LIBS
=$LIBS
28670 if test x
$gcc_no_link = xyes
; then
28671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28673 { (exit 1); exit 1; }; }
28675 cat >conftest.
$ac_ext <<_ACEOF
28678 cat confdefs.h
>>conftest.
$ac_ext
28679 cat >>conftest.
$ac_ext <<_ACEOF
28680 /* end confdefs.h. */
28682 /* Override any gcc2 internal prototype to avoid an error. */
28686 /* We use char because int might match the return type of a gcc2
28687 builtin and then its argument prototype would still apply. */
28697 rm -f conftest.
$ac_objext conftest
$ac_exeext
28698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28699 (eval $ac_link) 2>conftest.er1
28701 grep -v '^ *+' conftest.er1
>conftest.err
28703 cat conftest.err
>&5
28704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28705 (exit $ac_status); } &&
28706 { ac_try
='test -z "$ac_c_werror_flag"
28707 || test ! -s conftest.err'
28708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28709 (eval $ac_try) 2>&5
28711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28712 (exit $ac_status); }; } &&
28713 { ac_try
='test -s conftest$ac_exeext'
28714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28715 (eval $ac_try) 2>&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); }; }; then
28719 ac_cv_lib_m_csinh
=yes
28721 echo "$as_me: failed program was:" >&5
28722 sed 's/^/| /' conftest.
$ac_ext >&5
28724 ac_cv_lib_m_csinh
=no
28726 rm -f conftest.err conftest.
$ac_objext \
28727 conftest
$ac_exeext conftest.
$ac_ext
28728 LIBS
=$ac_check_lib_save_LIBS
28730 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinh" >&5
28731 echo "${ECHO_T}$ac_cv_lib_m_csinh" >&6
28732 if test $ac_cv_lib_m_csinh = yes; then
28734 cat >>confdefs.h
<<\_ACEOF
28735 #define HAVE_CSINH 1
28740 echo "$as_me:$LINENO: checking for csinhl in -lm" >&5
28741 echo $ECHO_N "checking for csinhl in -lm... $ECHO_C" >&6
28742 if test "${ac_cv_lib_m_csinhl+set}" = set; then
28743 echo $ECHO_N "(cached) $ECHO_C" >&6
28745 ac_check_lib_save_LIBS
=$LIBS
28747 if test x
$gcc_no_link = xyes
; then
28748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28750 { (exit 1); exit 1; }; }
28752 cat >conftest.
$ac_ext <<_ACEOF
28755 cat confdefs.h
>>conftest.
$ac_ext
28756 cat >>conftest.
$ac_ext <<_ACEOF
28757 /* end confdefs.h. */
28759 /* Override any gcc2 internal prototype to avoid an error. */
28763 /* We use char because int might match the return type of a gcc2
28764 builtin and then its argument prototype would still apply. */
28774 rm -f conftest.
$ac_objext conftest
$ac_exeext
28775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28776 (eval $ac_link) 2>conftest.er1
28778 grep -v '^ *+' conftest.er1
>conftest.err
28780 cat conftest.err
>&5
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } &&
28783 { ac_try
='test -z "$ac_c_werror_flag"
28784 || test ! -s conftest.err'
28785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28786 (eval $ac_try) 2>&5
28788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28789 (exit $ac_status); }; } &&
28790 { ac_try
='test -s conftest$ac_exeext'
28791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28792 (eval $ac_try) 2>&5
28794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28795 (exit $ac_status); }; }; then
28796 ac_cv_lib_m_csinhl
=yes
28798 echo "$as_me: failed program was:" >&5
28799 sed 's/^/| /' conftest.
$ac_ext >&5
28801 ac_cv_lib_m_csinhl
=no
28803 rm -f conftest.err conftest.
$ac_objext \
28804 conftest
$ac_exeext conftest.
$ac_ext
28805 LIBS
=$ac_check_lib_save_LIBS
28807 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csinhl" >&5
28808 echo "${ECHO_T}$ac_cv_lib_m_csinhl" >&6
28809 if test $ac_cv_lib_m_csinhl = yes; then
28811 cat >>confdefs.h
<<\_ACEOF
28812 #define HAVE_CSINHL 1
28817 echo "$as_me:$LINENO: checking for sqrtf in -lm" >&5
28818 echo $ECHO_N "checking for sqrtf in -lm... $ECHO_C" >&6
28819 if test "${ac_cv_lib_m_sqrtf+set}" = set; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28822 ac_check_lib_save_LIBS
=$LIBS
28824 if test x
$gcc_no_link = xyes
; then
28825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28827 { (exit 1); exit 1; }; }
28829 cat >conftest.
$ac_ext <<_ACEOF
28832 cat confdefs.h
>>conftest.
$ac_ext
28833 cat >>conftest.
$ac_ext <<_ACEOF
28834 /* end confdefs.h. */
28836 /* Override any gcc2 internal prototype to avoid an error. */
28840 /* We use char because int might match the return type of a gcc2
28841 builtin and then its argument prototype would still apply. */
28851 rm -f conftest.
$ac_objext conftest
$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28855 grep -v '^ *+' conftest.er1
>conftest.err
28857 cat conftest.err
>&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try
='test -z "$ac_c_werror_flag"
28861 || test ! -s conftest.err'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; } &&
28867 { ac_try
='test -s conftest$ac_exeext'
28868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28869 (eval $ac_try) 2>&5
28871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28872 (exit $ac_status); }; }; then
28873 ac_cv_lib_m_sqrtf
=yes
28875 echo "$as_me: failed program was:" >&5
28876 sed 's/^/| /' conftest.
$ac_ext >&5
28878 ac_cv_lib_m_sqrtf
=no
28880 rm -f conftest.err conftest.
$ac_objext \
28881 conftest
$ac_exeext conftest.
$ac_ext
28882 LIBS
=$ac_check_lib_save_LIBS
28884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtf" >&5
28885 echo "${ECHO_T}$ac_cv_lib_m_sqrtf" >&6
28886 if test $ac_cv_lib_m_sqrtf = yes; then
28888 cat >>confdefs.h
<<\_ACEOF
28889 #define HAVE_SQRTF 1
28894 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
28895 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
28896 if test "${ac_cv_lib_m_sqrt+set}" = set; then
28897 echo $ECHO_N "(cached) $ECHO_C" >&6
28899 ac_check_lib_save_LIBS
=$LIBS
28901 if test x
$gcc_no_link = xyes
; then
28902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28904 { (exit 1); exit 1; }; }
28906 cat >conftest.
$ac_ext <<_ACEOF
28909 cat confdefs.h
>>conftest.
$ac_ext
28910 cat >>conftest.
$ac_ext <<_ACEOF
28911 /* end confdefs.h. */
28913 /* Override any gcc2 internal prototype to avoid an error. */
28917 /* We use char because int might match the return type of a gcc2
28918 builtin and then its argument prototype would still apply. */
28928 rm -f conftest.
$ac_objext conftest
$ac_exeext
28929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28930 (eval $ac_link) 2>conftest.er1
28932 grep -v '^ *+' conftest.er1
>conftest.err
28934 cat conftest.err
>&5
28935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28936 (exit $ac_status); } &&
28937 { ac_try
='test -z "$ac_c_werror_flag"
28938 || test ! -s conftest.err'
28939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28940 (eval $ac_try) 2>&5
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); }; } &&
28944 { ac_try
='test -s conftest$ac_exeext'
28945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28946 (eval $ac_try) 2>&5
28948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28949 (exit $ac_status); }; }; then
28950 ac_cv_lib_m_sqrt
=yes
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.
$ac_ext >&5
28955 ac_cv_lib_m_sqrt
=no
28957 rm -f conftest.err conftest.
$ac_objext \
28958 conftest
$ac_exeext conftest.
$ac_ext
28959 LIBS
=$ac_check_lib_save_LIBS
28961 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
28962 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
28963 if test $ac_cv_lib_m_sqrt = yes; then
28965 cat >>confdefs.h
<<\_ACEOF
28966 #define HAVE_SQRT 1
28971 echo "$as_me:$LINENO: checking for sqrtl in -lm" >&5
28972 echo $ECHO_N "checking for sqrtl in -lm... $ECHO_C" >&6
28973 if test "${ac_cv_lib_m_sqrtl+set}" = set; then
28974 echo $ECHO_N "(cached) $ECHO_C" >&6
28976 ac_check_lib_save_LIBS
=$LIBS
28978 if test x
$gcc_no_link = xyes
; then
28979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28981 { (exit 1); exit 1; }; }
28983 cat >conftest.
$ac_ext <<_ACEOF
28986 cat confdefs.h
>>conftest.
$ac_ext
28987 cat >>conftest.
$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28990 /* Override any gcc2 internal prototype to avoid an error. */
28994 /* We use char because int might match the return type of a gcc2
28995 builtin and then its argument prototype would still apply. */
29005 rm -f conftest.
$ac_objext conftest
$ac_exeext
29006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29007 (eval $ac_link) 2>conftest.er1
29009 grep -v '^ *+' conftest.er1
>conftest.err
29011 cat conftest.err
>&5
29012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29013 (exit $ac_status); } &&
29014 { ac_try
='test -z "$ac_c_werror_flag"
29015 || test ! -s conftest.err'
29016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29017 (eval $ac_try) 2>&5
29019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29020 (exit $ac_status); }; } &&
29021 { ac_try
='test -s conftest$ac_exeext'
29022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29023 (eval $ac_try) 2>&5
29025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29026 (exit $ac_status); }; }; then
29027 ac_cv_lib_m_sqrtl
=yes
29029 echo "$as_me: failed program was:" >&5
29030 sed 's/^/| /' conftest.
$ac_ext >&5
29032 ac_cv_lib_m_sqrtl
=no
29034 rm -f conftest.err conftest.
$ac_objext \
29035 conftest
$ac_exeext conftest.
$ac_ext
29036 LIBS
=$ac_check_lib_save_LIBS
29038 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrtl" >&5
29039 echo "${ECHO_T}$ac_cv_lib_m_sqrtl" >&6
29040 if test $ac_cv_lib_m_sqrtl = yes; then
29042 cat >>confdefs.h
<<\_ACEOF
29043 #define HAVE_SQRTL 1
29048 echo "$as_me:$LINENO: checking for csqrtf in -lm" >&5
29049 echo $ECHO_N "checking for csqrtf in -lm... $ECHO_C" >&6
29050 if test "${ac_cv_lib_m_csqrtf+set}" = set; then
29051 echo $ECHO_N "(cached) $ECHO_C" >&6
29053 ac_check_lib_save_LIBS
=$LIBS
29055 if test x
$gcc_no_link = xyes
; then
29056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29058 { (exit 1); exit 1; }; }
29060 cat >conftest.
$ac_ext <<_ACEOF
29063 cat confdefs.h
>>conftest.
$ac_ext
29064 cat >>conftest.
$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29067 /* Override any gcc2 internal prototype to avoid an error. */
29071 /* We use char because int might match the return type of a gcc2
29072 builtin and then its argument prototype would still apply. */
29082 rm -f conftest.
$ac_objext conftest
$ac_exeext
29083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29084 (eval $ac_link) 2>conftest.er1
29086 grep -v '^ *+' conftest.er1
>conftest.err
29088 cat conftest.err
>&5
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); } &&
29091 { ac_try
='test -z "$ac_c_werror_flag"
29092 || test ! -s conftest.err'
29093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29094 (eval $ac_try) 2>&5
29096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29097 (exit $ac_status); }; } &&
29098 { ac_try
='test -s conftest$ac_exeext'
29099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29100 (eval $ac_try) 2>&5
29102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29103 (exit $ac_status); }; }; then
29104 ac_cv_lib_m_csqrtf
=yes
29106 echo "$as_me: failed program was:" >&5
29107 sed 's/^/| /' conftest.
$ac_ext >&5
29109 ac_cv_lib_m_csqrtf
=no
29111 rm -f conftest.err conftest.
$ac_objext \
29112 conftest
$ac_exeext conftest.
$ac_ext
29113 LIBS
=$ac_check_lib_save_LIBS
29115 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtf" >&5
29116 echo "${ECHO_T}$ac_cv_lib_m_csqrtf" >&6
29117 if test $ac_cv_lib_m_csqrtf = yes; then
29119 cat >>confdefs.h
<<\_ACEOF
29120 #define HAVE_CSQRTF 1
29125 echo "$as_me:$LINENO: checking for csqrt in -lm" >&5
29126 echo $ECHO_N "checking for csqrt in -lm... $ECHO_C" >&6
29127 if test "${ac_cv_lib_m_csqrt+set}" = set; then
29128 echo $ECHO_N "(cached) $ECHO_C" >&6
29130 ac_check_lib_save_LIBS
=$LIBS
29132 if test x
$gcc_no_link = xyes
; then
29133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29135 { (exit 1); exit 1; }; }
29137 cat >conftest.
$ac_ext <<_ACEOF
29140 cat confdefs.h
>>conftest.
$ac_ext
29141 cat >>conftest.
$ac_ext <<_ACEOF
29142 /* end confdefs.h. */
29144 /* Override any gcc2 internal prototype to avoid an error. */
29148 /* We use char because int might match the return type of a gcc2
29149 builtin and then its argument prototype would still apply. */
29159 rm -f conftest.
$ac_objext conftest
$ac_exeext
29160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29161 (eval $ac_link) 2>conftest.er1
29163 grep -v '^ *+' conftest.er1
>conftest.err
29165 cat conftest.err
>&5
29166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29167 (exit $ac_status); } &&
29168 { ac_try
='test -z "$ac_c_werror_flag"
29169 || test ! -s conftest.err'
29170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29171 (eval $ac_try) 2>&5
29173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29174 (exit $ac_status); }; } &&
29175 { ac_try
='test -s conftest$ac_exeext'
29176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29177 (eval $ac_try) 2>&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); }; }; then
29181 ac_cv_lib_m_csqrt
=yes
29183 echo "$as_me: failed program was:" >&5
29184 sed 's/^/| /' conftest.
$ac_ext >&5
29186 ac_cv_lib_m_csqrt
=no
29188 rm -f conftest.err conftest.
$ac_objext \
29189 conftest
$ac_exeext conftest.
$ac_ext
29190 LIBS
=$ac_check_lib_save_LIBS
29192 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrt" >&5
29193 echo "${ECHO_T}$ac_cv_lib_m_csqrt" >&6
29194 if test $ac_cv_lib_m_csqrt = yes; then
29196 cat >>confdefs.h
<<\_ACEOF
29197 #define HAVE_CSQRT 1
29202 echo "$as_me:$LINENO: checking for csqrtl in -lm" >&5
29203 echo $ECHO_N "checking for csqrtl in -lm... $ECHO_C" >&6
29204 if test "${ac_cv_lib_m_csqrtl+set}" = set; then
29205 echo $ECHO_N "(cached) $ECHO_C" >&6
29207 ac_check_lib_save_LIBS
=$LIBS
29209 if test x
$gcc_no_link = xyes
; then
29210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29212 { (exit 1); exit 1; }; }
29214 cat >conftest.
$ac_ext <<_ACEOF
29217 cat confdefs.h
>>conftest.
$ac_ext
29218 cat >>conftest.
$ac_ext <<_ACEOF
29219 /* end confdefs.h. */
29221 /* Override any gcc2 internal prototype to avoid an error. */
29225 /* We use char because int might match the return type of a gcc2
29226 builtin and then its argument prototype would still apply. */
29236 rm -f conftest.
$ac_objext conftest
$ac_exeext
29237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29238 (eval $ac_link) 2>conftest.er1
29240 grep -v '^ *+' conftest.er1
>conftest.err
29242 cat conftest.err
>&5
29243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29244 (exit $ac_status); } &&
29245 { ac_try
='test -z "$ac_c_werror_flag"
29246 || test ! -s conftest.err'
29247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29248 (eval $ac_try) 2>&5
29250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29251 (exit $ac_status); }; } &&
29252 { ac_try
='test -s conftest$ac_exeext'
29253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29254 (eval $ac_try) 2>&5
29256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29257 (exit $ac_status); }; }; then
29258 ac_cv_lib_m_csqrtl
=yes
29260 echo "$as_me: failed program was:" >&5
29261 sed 's/^/| /' conftest.
$ac_ext >&5
29263 ac_cv_lib_m_csqrtl
=no
29265 rm -f conftest.err conftest.
$ac_objext \
29266 conftest
$ac_exeext conftest.
$ac_ext
29267 LIBS
=$ac_check_lib_save_LIBS
29269 echo "$as_me:$LINENO: result: $ac_cv_lib_m_csqrtl" >&5
29270 echo "${ECHO_T}$ac_cv_lib_m_csqrtl" >&6
29271 if test $ac_cv_lib_m_csqrtl = yes; then
29273 cat >>confdefs.h
<<\_ACEOF
29274 #define HAVE_CSQRTL 1
29279 echo "$as_me:$LINENO: checking for tanf in -lm" >&5
29280 echo $ECHO_N "checking for tanf in -lm... $ECHO_C" >&6
29281 if test "${ac_cv_lib_m_tanf+set}" = set; then
29282 echo $ECHO_N "(cached) $ECHO_C" >&6
29284 ac_check_lib_save_LIBS
=$LIBS
29286 if test x
$gcc_no_link = xyes
; then
29287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29289 { (exit 1); exit 1; }; }
29291 cat >conftest.
$ac_ext <<_ACEOF
29294 cat confdefs.h
>>conftest.
$ac_ext
29295 cat >>conftest.
$ac_ext <<_ACEOF
29296 /* end confdefs.h. */
29298 /* Override any gcc2 internal prototype to avoid an error. */
29302 /* We use char because int might match the return type of a gcc2
29303 builtin and then its argument prototype would still apply. */
29313 rm -f conftest.
$ac_objext conftest
$ac_exeext
29314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29315 (eval $ac_link) 2>conftest.er1
29317 grep -v '^ *+' conftest.er1
>conftest.err
29319 cat conftest.err
>&5
29320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29321 (exit $ac_status); } &&
29322 { ac_try
='test -z "$ac_c_werror_flag"
29323 || test ! -s conftest.err'
29324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29325 (eval $ac_try) 2>&5
29327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29328 (exit $ac_status); }; } &&
29329 { ac_try
='test -s conftest$ac_exeext'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; }; then
29335 ac_cv_lib_m_tanf
=yes
29337 echo "$as_me: failed program was:" >&5
29338 sed 's/^/| /' conftest.
$ac_ext >&5
29340 ac_cv_lib_m_tanf
=no
29342 rm -f conftest.err conftest.
$ac_objext \
29343 conftest
$ac_exeext conftest.
$ac_ext
29344 LIBS
=$ac_check_lib_save_LIBS
29346 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanf" >&5
29347 echo "${ECHO_T}$ac_cv_lib_m_tanf" >&6
29348 if test $ac_cv_lib_m_tanf = yes; then
29350 cat >>confdefs.h
<<\_ACEOF
29351 #define HAVE_TANF 1
29356 echo "$as_me:$LINENO: checking for tan in -lm" >&5
29357 echo $ECHO_N "checking for tan in -lm... $ECHO_C" >&6
29358 if test "${ac_cv_lib_m_tan+set}" = set; then
29359 echo $ECHO_N "(cached) $ECHO_C" >&6
29361 ac_check_lib_save_LIBS
=$LIBS
29363 if test x
$gcc_no_link = xyes
; then
29364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29366 { (exit 1); exit 1; }; }
29368 cat >conftest.
$ac_ext <<_ACEOF
29371 cat confdefs.h
>>conftest.
$ac_ext
29372 cat >>conftest.
$ac_ext <<_ACEOF
29373 /* end confdefs.h. */
29375 /* Override any gcc2 internal prototype to avoid an error. */
29379 /* We use char because int might match the return type of a gcc2
29380 builtin and then its argument prototype would still apply. */
29390 rm -f conftest.
$ac_objext conftest
$ac_exeext
29391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29392 (eval $ac_link) 2>conftest.er1
29394 grep -v '^ *+' conftest.er1
>conftest.err
29396 cat conftest.err
>&5
29397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29398 (exit $ac_status); } &&
29399 { ac_try
='test -z "$ac_c_werror_flag"
29400 || test ! -s conftest.err'
29401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29402 (eval $ac_try) 2>&5
29404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29405 (exit $ac_status); }; } &&
29406 { ac_try
='test -s conftest$ac_exeext'
29407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29408 (eval $ac_try) 2>&5
29410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29411 (exit $ac_status); }; }; then
29412 ac_cv_lib_m_tan
=yes
29414 echo "$as_me: failed program was:" >&5
29415 sed 's/^/| /' conftest.
$ac_ext >&5
29419 rm -f conftest.err conftest.
$ac_objext \
29420 conftest
$ac_exeext conftest.
$ac_ext
29421 LIBS
=$ac_check_lib_save_LIBS
29423 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tan" >&5
29424 echo "${ECHO_T}$ac_cv_lib_m_tan" >&6
29425 if test $ac_cv_lib_m_tan = yes; then
29427 cat >>confdefs.h
<<\_ACEOF
29433 echo "$as_me:$LINENO: checking for tanl in -lm" >&5
29434 echo $ECHO_N "checking for tanl in -lm... $ECHO_C" >&6
29435 if test "${ac_cv_lib_m_tanl+set}" = set; then
29436 echo $ECHO_N "(cached) $ECHO_C" >&6
29438 ac_check_lib_save_LIBS
=$LIBS
29440 if test x
$gcc_no_link = xyes
; then
29441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29443 { (exit 1); exit 1; }; }
29445 cat >conftest.
$ac_ext <<_ACEOF
29448 cat confdefs.h
>>conftest.
$ac_ext
29449 cat >>conftest.
$ac_ext <<_ACEOF
29450 /* end confdefs.h. */
29452 /* Override any gcc2 internal prototype to avoid an error. */
29456 /* We use char because int might match the return type of a gcc2
29457 builtin and then its argument prototype would still apply. */
29467 rm -f conftest.
$ac_objext conftest
$ac_exeext
29468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29469 (eval $ac_link) 2>conftest.er1
29471 grep -v '^ *+' conftest.er1
>conftest.err
29473 cat conftest.err
>&5
29474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475 (exit $ac_status); } &&
29476 { ac_try
='test -z "$ac_c_werror_flag"
29477 || test ! -s conftest.err'
29478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29479 (eval $ac_try) 2>&5
29481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29482 (exit $ac_status); }; } &&
29483 { ac_try
='test -s conftest$ac_exeext'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; }; then
29489 ac_cv_lib_m_tanl
=yes
29491 echo "$as_me: failed program was:" >&5
29492 sed 's/^/| /' conftest.
$ac_ext >&5
29494 ac_cv_lib_m_tanl
=no
29496 rm -f conftest.err conftest.
$ac_objext \
29497 conftest
$ac_exeext conftest.
$ac_ext
29498 LIBS
=$ac_check_lib_save_LIBS
29500 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanl" >&5
29501 echo "${ECHO_T}$ac_cv_lib_m_tanl" >&6
29502 if test $ac_cv_lib_m_tanl = yes; then
29504 cat >>confdefs.h
<<\_ACEOF
29505 #define HAVE_TANL 1
29510 echo "$as_me:$LINENO: checking for ctanf in -lm" >&5
29511 echo $ECHO_N "checking for ctanf in -lm... $ECHO_C" >&6
29512 if test "${ac_cv_lib_m_ctanf+set}" = set; then
29513 echo $ECHO_N "(cached) $ECHO_C" >&6
29515 ac_check_lib_save_LIBS
=$LIBS
29517 if test x
$gcc_no_link = xyes
; then
29518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29520 { (exit 1); exit 1; }; }
29522 cat >conftest.
$ac_ext <<_ACEOF
29525 cat confdefs.h
>>conftest.
$ac_ext
29526 cat >>conftest.
$ac_ext <<_ACEOF
29527 /* end confdefs.h. */
29529 /* Override any gcc2 internal prototype to avoid an error. */
29533 /* We use char because int might match the return type of a gcc2
29534 builtin and then its argument prototype would still apply. */
29544 rm -f conftest.
$ac_objext conftest
$ac_exeext
29545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29546 (eval $ac_link) 2>conftest.er1
29548 grep -v '^ *+' conftest.er1
>conftest.err
29550 cat conftest.err
>&5
29551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29552 (exit $ac_status); } &&
29553 { ac_try
='test -z "$ac_c_werror_flag"
29554 || test ! -s conftest.err'
29555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29556 (eval $ac_try) 2>&5
29558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29559 (exit $ac_status); }; } &&
29560 { ac_try
='test -s conftest$ac_exeext'
29561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29562 (eval $ac_try) 2>&5
29564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29565 (exit $ac_status); }; }; then
29566 ac_cv_lib_m_ctanf
=yes
29568 echo "$as_me: failed program was:" >&5
29569 sed 's/^/| /' conftest.
$ac_ext >&5
29571 ac_cv_lib_m_ctanf
=no
29573 rm -f conftest.err conftest.
$ac_objext \
29574 conftest
$ac_exeext conftest.
$ac_ext
29575 LIBS
=$ac_check_lib_save_LIBS
29577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanf" >&5
29578 echo "${ECHO_T}$ac_cv_lib_m_ctanf" >&6
29579 if test $ac_cv_lib_m_ctanf = yes; then
29581 cat >>confdefs.h
<<\_ACEOF
29582 #define HAVE_CTANF 1
29587 echo "$as_me:$LINENO: checking for ctan in -lm" >&5
29588 echo $ECHO_N "checking for ctan in -lm... $ECHO_C" >&6
29589 if test "${ac_cv_lib_m_ctan+set}" = set; then
29590 echo $ECHO_N "(cached) $ECHO_C" >&6
29592 ac_check_lib_save_LIBS
=$LIBS
29594 if test x
$gcc_no_link = xyes
; then
29595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29597 { (exit 1); exit 1; }; }
29599 cat >conftest.
$ac_ext <<_ACEOF
29602 cat confdefs.h
>>conftest.
$ac_ext
29603 cat >>conftest.
$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29606 /* Override any gcc2 internal prototype to avoid an error. */
29610 /* We use char because int might match the return type of a gcc2
29611 builtin and then its argument prototype would still apply. */
29621 rm -f conftest.
$ac_objext conftest
$ac_exeext
29622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29623 (eval $ac_link) 2>conftest.er1
29625 grep -v '^ *+' conftest.er1
>conftest.err
29627 cat conftest.err
>&5
29628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29629 (exit $ac_status); } &&
29630 { ac_try
='test -z "$ac_c_werror_flag"
29631 || test ! -s conftest.err'
29632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29633 (eval $ac_try) 2>&5
29635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29636 (exit $ac_status); }; } &&
29637 { ac_try
='test -s conftest$ac_exeext'
29638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29639 (eval $ac_try) 2>&5
29641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29642 (exit $ac_status); }; }; then
29643 ac_cv_lib_m_ctan
=yes
29645 echo "$as_me: failed program was:" >&5
29646 sed 's/^/| /' conftest.
$ac_ext >&5
29648 ac_cv_lib_m_ctan
=no
29650 rm -f conftest.err conftest.
$ac_objext \
29651 conftest
$ac_exeext conftest.
$ac_ext
29652 LIBS
=$ac_check_lib_save_LIBS
29654 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctan" >&5
29655 echo "${ECHO_T}$ac_cv_lib_m_ctan" >&6
29656 if test $ac_cv_lib_m_ctan = yes; then
29658 cat >>confdefs.h
<<\_ACEOF
29659 #define HAVE_CTAN 1
29664 echo "$as_me:$LINENO: checking for ctanl in -lm" >&5
29665 echo $ECHO_N "checking for ctanl in -lm... $ECHO_C" >&6
29666 if test "${ac_cv_lib_m_ctanl+set}" = set; then
29667 echo $ECHO_N "(cached) $ECHO_C" >&6
29669 ac_check_lib_save_LIBS
=$LIBS
29671 if test x
$gcc_no_link = xyes
; then
29672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29674 { (exit 1); exit 1; }; }
29676 cat >conftest.
$ac_ext <<_ACEOF
29679 cat confdefs.h
>>conftest.
$ac_ext
29680 cat >>conftest.
$ac_ext <<_ACEOF
29681 /* end confdefs.h. */
29683 /* Override any gcc2 internal prototype to avoid an error. */
29687 /* We use char because int might match the return type of a gcc2
29688 builtin and then its argument prototype would still apply. */
29698 rm -f conftest.
$ac_objext conftest
$ac_exeext
29699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29700 (eval $ac_link) 2>conftest.er1
29702 grep -v '^ *+' conftest.er1
>conftest.err
29704 cat conftest.err
>&5
29705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29706 (exit $ac_status); } &&
29707 { ac_try
='test -z "$ac_c_werror_flag"
29708 || test ! -s conftest.err'
29709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29710 (eval $ac_try) 2>&5
29712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29713 (exit $ac_status); }; } &&
29714 { ac_try
='test -s conftest$ac_exeext'
29715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29716 (eval $ac_try) 2>&5
29718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29719 (exit $ac_status); }; }; then
29720 ac_cv_lib_m_ctanl
=yes
29722 echo "$as_me: failed program was:" >&5
29723 sed 's/^/| /' conftest.
$ac_ext >&5
29725 ac_cv_lib_m_ctanl
=no
29727 rm -f conftest.err conftest.
$ac_objext \
29728 conftest
$ac_exeext conftest.
$ac_ext
29729 LIBS
=$ac_check_lib_save_LIBS
29731 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanl" >&5
29732 echo "${ECHO_T}$ac_cv_lib_m_ctanl" >&6
29733 if test $ac_cv_lib_m_ctanl = yes; then
29735 cat >>confdefs.h
<<\_ACEOF
29736 #define HAVE_CTANL 1
29741 echo "$as_me:$LINENO: checking for tanhf in -lm" >&5
29742 echo $ECHO_N "checking for tanhf in -lm... $ECHO_C" >&6
29743 if test "${ac_cv_lib_m_tanhf+set}" = set; then
29744 echo $ECHO_N "(cached) $ECHO_C" >&6
29746 ac_check_lib_save_LIBS
=$LIBS
29748 if test x
$gcc_no_link = xyes
; then
29749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29751 { (exit 1); exit 1; }; }
29753 cat >conftest.
$ac_ext <<_ACEOF
29756 cat confdefs.h
>>conftest.
$ac_ext
29757 cat >>conftest.
$ac_ext <<_ACEOF
29758 /* end confdefs.h. */
29760 /* Override any gcc2 internal prototype to avoid an error. */
29764 /* We use char because int might match the return type of a gcc2
29765 builtin and then its argument prototype would still apply. */
29775 rm -f conftest.
$ac_objext conftest
$ac_exeext
29776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29777 (eval $ac_link) 2>conftest.er1
29779 grep -v '^ *+' conftest.er1
>conftest.err
29781 cat conftest.err
>&5
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); } &&
29784 { ac_try
='test -z "$ac_c_werror_flag"
29785 || test ! -s conftest.err'
29786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29787 (eval $ac_try) 2>&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); }; } &&
29791 { ac_try
='test -s conftest$ac_exeext'
29792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29793 (eval $ac_try) 2>&5
29795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29796 (exit $ac_status); }; }; then
29797 ac_cv_lib_m_tanhf
=yes
29799 echo "$as_me: failed program was:" >&5
29800 sed 's/^/| /' conftest.
$ac_ext >&5
29802 ac_cv_lib_m_tanhf
=no
29804 rm -f conftest.err conftest.
$ac_objext \
29805 conftest
$ac_exeext conftest.
$ac_ext
29806 LIBS
=$ac_check_lib_save_LIBS
29808 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhf" >&5
29809 echo "${ECHO_T}$ac_cv_lib_m_tanhf" >&6
29810 if test $ac_cv_lib_m_tanhf = yes; then
29812 cat >>confdefs.h
<<\_ACEOF
29813 #define HAVE_TANHF 1
29818 echo "$as_me:$LINENO: checking for tanh in -lm" >&5
29819 echo $ECHO_N "checking for tanh in -lm... $ECHO_C" >&6
29820 if test "${ac_cv_lib_m_tanh+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29823 ac_check_lib_save_LIBS
=$LIBS
29825 if test x
$gcc_no_link = xyes
; then
29826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29828 { (exit 1); exit 1; }; }
29830 cat >conftest.
$ac_ext <<_ACEOF
29833 cat confdefs.h
>>conftest.
$ac_ext
29834 cat >>conftest.
$ac_ext <<_ACEOF
29835 /* end confdefs.h. */
29837 /* Override any gcc2 internal prototype to avoid an error. */
29841 /* We use char because int might match the return type of a gcc2
29842 builtin and then its argument prototype would still apply. */
29852 rm -f conftest.
$ac_objext conftest
$ac_exeext
29853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29854 (eval $ac_link) 2>conftest.er1
29856 grep -v '^ *+' conftest.er1
>conftest.err
29858 cat conftest.err
>&5
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); } &&
29861 { ac_try
='test -z "$ac_c_werror_flag"
29862 || test ! -s conftest.err'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; } &&
29868 { ac_try
='test -s conftest$ac_exeext'
29869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29870 (eval $ac_try) 2>&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); }; }; then
29874 ac_cv_lib_m_tanh
=yes
29876 echo "$as_me: failed program was:" >&5
29877 sed 's/^/| /' conftest.
$ac_ext >&5
29879 ac_cv_lib_m_tanh
=no
29881 rm -f conftest.err conftest.
$ac_objext \
29882 conftest
$ac_exeext conftest.
$ac_ext
29883 LIBS
=$ac_check_lib_save_LIBS
29885 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanh" >&5
29886 echo "${ECHO_T}$ac_cv_lib_m_tanh" >&6
29887 if test $ac_cv_lib_m_tanh = yes; then
29889 cat >>confdefs.h
<<\_ACEOF
29890 #define HAVE_TANH 1
29895 echo "$as_me:$LINENO: checking for tanhl in -lm" >&5
29896 echo $ECHO_N "checking for tanhl in -lm... $ECHO_C" >&6
29897 if test "${ac_cv_lib_m_tanhl+set}" = set; then
29898 echo $ECHO_N "(cached) $ECHO_C" >&6
29900 ac_check_lib_save_LIBS
=$LIBS
29902 if test x
$gcc_no_link = xyes
; then
29903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29905 { (exit 1); exit 1; }; }
29907 cat >conftest.
$ac_ext <<_ACEOF
29910 cat confdefs.h
>>conftest.
$ac_ext
29911 cat >>conftest.
$ac_ext <<_ACEOF
29912 /* end confdefs.h. */
29914 /* Override any gcc2 internal prototype to avoid an error. */
29918 /* We use char because int might match the return type of a gcc2
29919 builtin and then its argument prototype would still apply. */
29929 rm -f conftest.
$ac_objext conftest
$ac_exeext
29930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29931 (eval $ac_link) 2>conftest.er1
29933 grep -v '^ *+' conftest.er1
>conftest.err
29935 cat conftest.err
>&5
29936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29937 (exit $ac_status); } &&
29938 { ac_try
='test -z "$ac_c_werror_flag"
29939 || test ! -s conftest.err'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; } &&
29945 { ac_try
='test -s conftest$ac_exeext'
29946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29947 (eval $ac_try) 2>&5
29949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29950 (exit $ac_status); }; }; then
29951 ac_cv_lib_m_tanhl
=yes
29953 echo "$as_me: failed program was:" >&5
29954 sed 's/^/| /' conftest.
$ac_ext >&5
29956 ac_cv_lib_m_tanhl
=no
29958 rm -f conftest.err conftest.
$ac_objext \
29959 conftest
$ac_exeext conftest.
$ac_ext
29960 LIBS
=$ac_check_lib_save_LIBS
29962 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tanhl" >&5
29963 echo "${ECHO_T}$ac_cv_lib_m_tanhl" >&6
29964 if test $ac_cv_lib_m_tanhl = yes; then
29966 cat >>confdefs.h
<<\_ACEOF
29967 #define HAVE_TANHL 1
29972 echo "$as_me:$LINENO: checking for ctanhf in -lm" >&5
29973 echo $ECHO_N "checking for ctanhf in -lm... $ECHO_C" >&6
29974 if test "${ac_cv_lib_m_ctanhf+set}" = set; then
29975 echo $ECHO_N "(cached) $ECHO_C" >&6
29977 ac_check_lib_save_LIBS
=$LIBS
29979 if test x
$gcc_no_link = xyes
; then
29980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29982 { (exit 1); exit 1; }; }
29984 cat >conftest.
$ac_ext <<_ACEOF
29987 cat confdefs.h
>>conftest.
$ac_ext
29988 cat >>conftest.
$ac_ext <<_ACEOF
29989 /* end confdefs.h. */
29991 /* Override any gcc2 internal prototype to avoid an error. */
29995 /* We use char because int might match the return type of a gcc2
29996 builtin and then its argument prototype would still apply. */
30006 rm -f conftest.
$ac_objext conftest
$ac_exeext
30007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30008 (eval $ac_link) 2>conftest.er1
30010 grep -v '^ *+' conftest.er1
>conftest.err
30012 cat conftest.err
>&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } &&
30015 { ac_try
='test -z "$ac_c_werror_flag"
30016 || test ! -s conftest.err'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; } &&
30022 { ac_try
='test -s conftest$ac_exeext'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; }; then
30028 ac_cv_lib_m_ctanhf
=yes
30030 echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.
$ac_ext >&5
30033 ac_cv_lib_m_ctanhf
=no
30035 rm -f conftest.err conftest.
$ac_objext \
30036 conftest
$ac_exeext conftest.
$ac_ext
30037 LIBS
=$ac_check_lib_save_LIBS
30039 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhf" >&5
30040 echo "${ECHO_T}$ac_cv_lib_m_ctanhf" >&6
30041 if test $ac_cv_lib_m_ctanhf = yes; then
30043 cat >>confdefs.h
<<\_ACEOF
30044 #define HAVE_CTANHF 1
30049 echo "$as_me:$LINENO: checking for ctanh in -lm" >&5
30050 echo $ECHO_N "checking for ctanh in -lm... $ECHO_C" >&6
30051 if test "${ac_cv_lib_m_ctanh+set}" = set; then
30052 echo $ECHO_N "(cached) $ECHO_C" >&6
30054 ac_check_lib_save_LIBS
=$LIBS
30056 if test x
$gcc_no_link = xyes
; then
30057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30059 { (exit 1); exit 1; }; }
30061 cat >conftest.
$ac_ext <<_ACEOF
30064 cat confdefs.h
>>conftest.
$ac_ext
30065 cat >>conftest.
$ac_ext <<_ACEOF
30066 /* end confdefs.h. */
30068 /* Override any gcc2 internal prototype to avoid an error. */
30072 /* We use char because int might match the return type of a gcc2
30073 builtin and then its argument prototype would still apply. */
30083 rm -f conftest.
$ac_objext conftest
$ac_exeext
30084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30085 (eval $ac_link) 2>conftest.er1
30087 grep -v '^ *+' conftest.er1
>conftest.err
30089 cat conftest.err
>&5
30090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30091 (exit $ac_status); } &&
30092 { ac_try
='test -z "$ac_c_werror_flag"
30093 || test ! -s conftest.err'
30094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30095 (eval $ac_try) 2>&5
30097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30098 (exit $ac_status); }; } &&
30099 { ac_try
='test -s conftest$ac_exeext'
30100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30101 (eval $ac_try) 2>&5
30103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30104 (exit $ac_status); }; }; then
30105 ac_cv_lib_m_ctanh
=yes
30107 echo "$as_me: failed program was:" >&5
30108 sed 's/^/| /' conftest.
$ac_ext >&5
30110 ac_cv_lib_m_ctanh
=no
30112 rm -f conftest.err conftest.
$ac_objext \
30113 conftest
$ac_exeext conftest.
$ac_ext
30114 LIBS
=$ac_check_lib_save_LIBS
30116 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanh" >&5
30117 echo "${ECHO_T}$ac_cv_lib_m_ctanh" >&6
30118 if test $ac_cv_lib_m_ctanh = yes; then
30120 cat >>confdefs.h
<<\_ACEOF
30121 #define HAVE_CTANH 1
30126 echo "$as_me:$LINENO: checking for ctanhl in -lm" >&5
30127 echo $ECHO_N "checking for ctanhl in -lm... $ECHO_C" >&6
30128 if test "${ac_cv_lib_m_ctanhl+set}" = set; then
30129 echo $ECHO_N "(cached) $ECHO_C" >&6
30131 ac_check_lib_save_LIBS
=$LIBS
30133 if test x
$gcc_no_link = xyes
; then
30134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30136 { (exit 1); exit 1; }; }
30138 cat >conftest.
$ac_ext <<_ACEOF
30141 cat confdefs.h
>>conftest.
$ac_ext
30142 cat >>conftest.
$ac_ext <<_ACEOF
30143 /* end confdefs.h. */
30145 /* Override any gcc2 internal prototype to avoid an error. */
30149 /* We use char because int might match the return type of a gcc2
30150 builtin and then its argument prototype would still apply. */
30160 rm -f conftest.
$ac_objext conftest
$ac_exeext
30161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30162 (eval $ac_link) 2>conftest.er1
30164 grep -v '^ *+' conftest.er1
>conftest.err
30166 cat conftest.err
>&5
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); } &&
30169 { ac_try
='test -z "$ac_c_werror_flag"
30170 || test ! -s conftest.err'
30171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30172 (eval $ac_try) 2>&5
30174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30175 (exit $ac_status); }; } &&
30176 { ac_try
='test -s conftest$ac_exeext'
30177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30178 (eval $ac_try) 2>&5
30180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30181 (exit $ac_status); }; }; then
30182 ac_cv_lib_m_ctanhl
=yes
30184 echo "$as_me: failed program was:" >&5
30185 sed 's/^/| /' conftest.
$ac_ext >&5
30187 ac_cv_lib_m_ctanhl
=no
30189 rm -f conftest.err conftest.
$ac_objext \
30190 conftest
$ac_exeext conftest.
$ac_ext
30191 LIBS
=$ac_check_lib_save_LIBS
30193 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ctanhl" >&5
30194 echo "${ECHO_T}$ac_cv_lib_m_ctanhl" >&6
30195 if test $ac_cv_lib_m_ctanhl = yes; then
30197 cat >>confdefs.h
<<\_ACEOF
30198 #define HAVE_CTANHL 1
30203 echo "$as_me:$LINENO: checking for truncf in -lm" >&5
30204 echo $ECHO_N "checking for truncf in -lm... $ECHO_C" >&6
30205 if test "${ac_cv_lib_m_truncf+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 ac_check_lib_save_LIBS
=$LIBS
30210 if test x
$gcc_no_link = xyes
; then
30211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30213 { (exit 1); exit 1; }; }
30215 cat >conftest.
$ac_ext <<_ACEOF
30218 cat confdefs.h
>>conftest.
$ac_ext
30219 cat >>conftest.
$ac_ext <<_ACEOF
30220 /* end confdefs.h. */
30222 /* Override any gcc2 internal prototype to avoid an error. */
30226 /* We use char because int might match the return type of a gcc2
30227 builtin and then its argument prototype would still apply. */
30237 rm -f conftest.
$ac_objext conftest
$ac_exeext
30238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30239 (eval $ac_link) 2>conftest.er1
30241 grep -v '^ *+' conftest.er1
>conftest.err
30243 cat conftest.err
>&5
30244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30245 (exit $ac_status); } &&
30246 { ac_try
='test -z "$ac_c_werror_flag"
30247 || test ! -s conftest.err'
30248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30249 (eval $ac_try) 2>&5
30251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30252 (exit $ac_status); }; } &&
30253 { ac_try
='test -s conftest$ac_exeext'
30254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30255 (eval $ac_try) 2>&5
30257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30258 (exit $ac_status); }; }; then
30259 ac_cv_lib_m_truncf
=yes
30261 echo "$as_me: failed program was:" >&5
30262 sed 's/^/| /' conftest.
$ac_ext >&5
30264 ac_cv_lib_m_truncf
=no
30266 rm -f conftest.err conftest.
$ac_objext \
30267 conftest
$ac_exeext conftest.
$ac_ext
30268 LIBS
=$ac_check_lib_save_LIBS
30270 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncf" >&5
30271 echo "${ECHO_T}$ac_cv_lib_m_truncf" >&6
30272 if test $ac_cv_lib_m_truncf = yes; then
30274 cat >>confdefs.h
<<\_ACEOF
30275 #define HAVE_TRUNCF 1
30280 echo "$as_me:$LINENO: checking for trunc in -lm" >&5
30281 echo $ECHO_N "checking for trunc in -lm... $ECHO_C" >&6
30282 if test "${ac_cv_lib_m_trunc+set}" = set; then
30283 echo $ECHO_N "(cached) $ECHO_C" >&6
30285 ac_check_lib_save_LIBS
=$LIBS
30287 if test x
$gcc_no_link = xyes
; then
30288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30290 { (exit 1); exit 1; }; }
30292 cat >conftest.
$ac_ext <<_ACEOF
30295 cat confdefs.h
>>conftest.
$ac_ext
30296 cat >>conftest.
$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30299 /* Override any gcc2 internal prototype to avoid an error. */
30303 /* We use char because int might match the return type of a gcc2
30304 builtin and then its argument prototype would still apply. */
30314 rm -f conftest.
$ac_objext conftest
$ac_exeext
30315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30316 (eval $ac_link) 2>conftest.er1
30318 grep -v '^ *+' conftest.er1
>conftest.err
30320 cat conftest.err
>&5
30321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30322 (exit $ac_status); } &&
30323 { ac_try
='test -z "$ac_c_werror_flag"
30324 || test ! -s conftest.err'
30325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30326 (eval $ac_try) 2>&5
30328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30329 (exit $ac_status); }; } &&
30330 { ac_try
='test -s conftest$ac_exeext'
30331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30332 (eval $ac_try) 2>&5
30334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30335 (exit $ac_status); }; }; then
30336 ac_cv_lib_m_trunc
=yes
30338 echo "$as_me: failed program was:" >&5
30339 sed 's/^/| /' conftest.
$ac_ext >&5
30341 ac_cv_lib_m_trunc
=no
30343 rm -f conftest.err conftest.
$ac_objext \
30344 conftest
$ac_exeext conftest.
$ac_ext
30345 LIBS
=$ac_check_lib_save_LIBS
30347 echo "$as_me:$LINENO: result: $ac_cv_lib_m_trunc" >&5
30348 echo "${ECHO_T}$ac_cv_lib_m_trunc" >&6
30349 if test $ac_cv_lib_m_trunc = yes; then
30351 cat >>confdefs.h
<<\_ACEOF
30352 #define HAVE_TRUNC 1
30357 echo "$as_me:$LINENO: checking for truncl in -lm" >&5
30358 echo $ECHO_N "checking for truncl in -lm... $ECHO_C" >&6
30359 if test "${ac_cv_lib_m_truncl+set}" = set; then
30360 echo $ECHO_N "(cached) $ECHO_C" >&6
30362 ac_check_lib_save_LIBS
=$LIBS
30364 if test x
$gcc_no_link = xyes
; then
30365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30367 { (exit 1); exit 1; }; }
30369 cat >conftest.
$ac_ext <<_ACEOF
30372 cat confdefs.h
>>conftest.
$ac_ext
30373 cat >>conftest.
$ac_ext <<_ACEOF
30374 /* end confdefs.h. */
30376 /* Override any gcc2 internal prototype to avoid an error. */
30380 /* We use char because int might match the return type of a gcc2
30381 builtin and then its argument prototype would still apply. */
30391 rm -f conftest.
$ac_objext conftest
$ac_exeext
30392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30393 (eval $ac_link) 2>conftest.er1
30395 grep -v '^ *+' conftest.er1
>conftest.err
30397 cat conftest.err
>&5
30398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30399 (exit $ac_status); } &&
30400 { ac_try
='test -z "$ac_c_werror_flag"
30401 || test ! -s conftest.err'
30402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30403 (eval $ac_try) 2>&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); }; } &&
30407 { ac_try
='test -s conftest$ac_exeext'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; }; then
30413 ac_cv_lib_m_truncl
=yes
30415 echo "$as_me: failed program was:" >&5
30416 sed 's/^/| /' conftest.
$ac_ext >&5
30418 ac_cv_lib_m_truncl
=no
30420 rm -f conftest.err conftest.
$ac_objext \
30421 conftest
$ac_exeext conftest.
$ac_ext
30422 LIBS
=$ac_check_lib_save_LIBS
30424 echo "$as_me:$LINENO: result: $ac_cv_lib_m_truncl" >&5
30425 echo "${ECHO_T}$ac_cv_lib_m_truncl" >&6
30426 if test $ac_cv_lib_m_truncl = yes; then
30428 cat >>confdefs.h
<<\_ACEOF
30429 #define HAVE_TRUNCL 1
30434 echo "$as_me:$LINENO: checking for erff in -lm" >&5
30435 echo $ECHO_N "checking for erff in -lm... $ECHO_C" >&6
30436 if test "${ac_cv_lib_m_erff+set}" = set; then
30437 echo $ECHO_N "(cached) $ECHO_C" >&6
30439 ac_check_lib_save_LIBS
=$LIBS
30441 if test x
$gcc_no_link = xyes
; then
30442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30444 { (exit 1); exit 1; }; }
30446 cat >conftest.
$ac_ext <<_ACEOF
30449 cat confdefs.h
>>conftest.
$ac_ext
30450 cat >>conftest.
$ac_ext <<_ACEOF
30451 /* end confdefs.h. */
30453 /* Override any gcc2 internal prototype to avoid an error. */
30457 /* We use char because int might match the return type of a gcc2
30458 builtin and then its argument prototype would still apply. */
30468 rm -f conftest.
$ac_objext conftest
$ac_exeext
30469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30470 (eval $ac_link) 2>conftest.er1
30472 grep -v '^ *+' conftest.er1
>conftest.err
30474 cat conftest.err
>&5
30475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30476 (exit $ac_status); } &&
30477 { ac_try
='test -z "$ac_c_werror_flag"
30478 || test ! -s conftest.err'
30479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30480 (eval $ac_try) 2>&5
30482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30483 (exit $ac_status); }; } &&
30484 { ac_try
='test -s conftest$ac_exeext'
30485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30486 (eval $ac_try) 2>&5
30488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30489 (exit $ac_status); }; }; then
30490 ac_cv_lib_m_erff
=yes
30492 echo "$as_me: failed program was:" >&5
30493 sed 's/^/| /' conftest.
$ac_ext >&5
30495 ac_cv_lib_m_erff
=no
30497 rm -f conftest.err conftest.
$ac_objext \
30498 conftest
$ac_exeext conftest.
$ac_ext
30499 LIBS
=$ac_check_lib_save_LIBS
30501 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erff" >&5
30502 echo "${ECHO_T}$ac_cv_lib_m_erff" >&6
30503 if test $ac_cv_lib_m_erff = yes; then
30505 cat >>confdefs.h
<<\_ACEOF
30506 #define HAVE_ERFF 1
30511 echo "$as_me:$LINENO: checking for erf in -lm" >&5
30512 echo $ECHO_N "checking for erf in -lm... $ECHO_C" >&6
30513 if test "${ac_cv_lib_m_erf+set}" = set; then
30514 echo $ECHO_N "(cached) $ECHO_C" >&6
30516 ac_check_lib_save_LIBS
=$LIBS
30518 if test x
$gcc_no_link = xyes
; then
30519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30521 { (exit 1); exit 1; }; }
30523 cat >conftest.
$ac_ext <<_ACEOF
30526 cat confdefs.h
>>conftest.
$ac_ext
30527 cat >>conftest.
$ac_ext <<_ACEOF
30528 /* end confdefs.h. */
30530 /* Override any gcc2 internal prototype to avoid an error. */
30534 /* We use char because int might match the return type of a gcc2
30535 builtin and then its argument prototype would still apply. */
30545 rm -f conftest.
$ac_objext conftest
$ac_exeext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30547 (eval $ac_link) 2>conftest.er1
30549 grep -v '^ *+' conftest.er1
>conftest.err
30551 cat conftest.err
>&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); } &&
30554 { ac_try
='test -z "$ac_c_werror_flag"
30555 || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try
='test -s conftest$ac_exeext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 ac_cv_lib_m_erf
=yes
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.
$ac_ext >&5
30574 rm -f conftest.err conftest.
$ac_objext \
30575 conftest
$ac_exeext conftest.
$ac_ext
30576 LIBS
=$ac_check_lib_save_LIBS
30578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erf" >&5
30579 echo "${ECHO_T}$ac_cv_lib_m_erf" >&6
30580 if test $ac_cv_lib_m_erf = yes; then
30582 cat >>confdefs.h
<<\_ACEOF
30588 echo "$as_me:$LINENO: checking for erfl in -lm" >&5
30589 echo $ECHO_N "checking for erfl in -lm... $ECHO_C" >&6
30590 if test "${ac_cv_lib_m_erfl+set}" = set; then
30591 echo $ECHO_N "(cached) $ECHO_C" >&6
30593 ac_check_lib_save_LIBS
=$LIBS
30595 if test x
$gcc_no_link = xyes
; then
30596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30598 { (exit 1); exit 1; }; }
30600 cat >conftest.
$ac_ext <<_ACEOF
30603 cat confdefs.h
>>conftest.
$ac_ext
30604 cat >>conftest.
$ac_ext <<_ACEOF
30605 /* end confdefs.h. */
30607 /* Override any gcc2 internal prototype to avoid an error. */
30611 /* We use char because int might match the return type of a gcc2
30612 builtin and then its argument prototype would still apply. */
30622 rm -f conftest.
$ac_objext conftest
$ac_exeext
30623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30624 (eval $ac_link) 2>conftest.er1
30626 grep -v '^ *+' conftest.er1
>conftest.err
30628 cat conftest.err
>&5
30629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30630 (exit $ac_status); } &&
30631 { ac_try
='test -z "$ac_c_werror_flag"
30632 || test ! -s conftest.err'
30633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30634 (eval $ac_try) 2>&5
30636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30637 (exit $ac_status); }; } &&
30638 { ac_try
='test -s conftest$ac_exeext'
30639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30640 (eval $ac_try) 2>&5
30642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30643 (exit $ac_status); }; }; then
30644 ac_cv_lib_m_erfl
=yes
30646 echo "$as_me: failed program was:" >&5
30647 sed 's/^/| /' conftest.
$ac_ext >&5
30649 ac_cv_lib_m_erfl
=no
30651 rm -f conftest.err conftest.
$ac_objext \
30652 conftest
$ac_exeext conftest.
$ac_ext
30653 LIBS
=$ac_check_lib_save_LIBS
30655 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfl" >&5
30656 echo "${ECHO_T}$ac_cv_lib_m_erfl" >&6
30657 if test $ac_cv_lib_m_erfl = yes; then
30659 cat >>confdefs.h
<<\_ACEOF
30660 #define HAVE_ERFL 1
30665 echo "$as_me:$LINENO: checking for erfcf in -lm" >&5
30666 echo $ECHO_N "checking for erfcf in -lm... $ECHO_C" >&6
30667 if test "${ac_cv_lib_m_erfcf+set}" = set; then
30668 echo $ECHO_N "(cached) $ECHO_C" >&6
30670 ac_check_lib_save_LIBS
=$LIBS
30672 if test x
$gcc_no_link = xyes
; then
30673 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30674 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30675 { (exit 1); exit 1; }; }
30677 cat >conftest.
$ac_ext <<_ACEOF
30680 cat confdefs.h
>>conftest.
$ac_ext
30681 cat >>conftest.
$ac_ext <<_ACEOF
30682 /* end confdefs.h. */
30684 /* Override any gcc2 internal prototype to avoid an error. */
30688 /* We use char because int might match the return type of a gcc2
30689 builtin and then its argument prototype would still apply. */
30699 rm -f conftest.
$ac_objext conftest
$ac_exeext
30700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30701 (eval $ac_link) 2>conftest.er1
30703 grep -v '^ *+' conftest.er1
>conftest.err
30705 cat conftest.err
>&5
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); } &&
30708 { ac_try
='test -z "$ac_c_werror_flag"
30709 || test ! -s conftest.err'
30710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30711 (eval $ac_try) 2>&5
30713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30714 (exit $ac_status); }; } &&
30715 { ac_try
='test -s conftest$ac_exeext'
30716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30717 (eval $ac_try) 2>&5
30719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30720 (exit $ac_status); }; }; then
30721 ac_cv_lib_m_erfcf
=yes
30723 echo "$as_me: failed program was:" >&5
30724 sed 's/^/| /' conftest.
$ac_ext >&5
30726 ac_cv_lib_m_erfcf
=no
30728 rm -f conftest.err conftest.
$ac_objext \
30729 conftest
$ac_exeext conftest.
$ac_ext
30730 LIBS
=$ac_check_lib_save_LIBS
30732 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcf" >&5
30733 echo "${ECHO_T}$ac_cv_lib_m_erfcf" >&6
30734 if test $ac_cv_lib_m_erfcf = yes; then
30736 cat >>confdefs.h
<<\_ACEOF
30737 #define HAVE_ERFCF 1
30742 echo "$as_me:$LINENO: checking for erfc in -lm" >&5
30743 echo $ECHO_N "checking for erfc in -lm... $ECHO_C" >&6
30744 if test "${ac_cv_lib_m_erfc+set}" = set; then
30745 echo $ECHO_N "(cached) $ECHO_C" >&6
30747 ac_check_lib_save_LIBS
=$LIBS
30749 if test x
$gcc_no_link = xyes
; then
30750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30752 { (exit 1); exit 1; }; }
30754 cat >conftest.
$ac_ext <<_ACEOF
30757 cat confdefs.h
>>conftest.
$ac_ext
30758 cat >>conftest.
$ac_ext <<_ACEOF
30759 /* end confdefs.h. */
30761 /* Override any gcc2 internal prototype to avoid an error. */
30765 /* We use char because int might match the return type of a gcc2
30766 builtin and then its argument prototype would still apply. */
30776 rm -f conftest.
$ac_objext conftest
$ac_exeext
30777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30778 (eval $ac_link) 2>conftest.er1
30780 grep -v '^ *+' conftest.er1
>conftest.err
30782 cat conftest.err
>&5
30783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30784 (exit $ac_status); } &&
30785 { ac_try
='test -z "$ac_c_werror_flag"
30786 || test ! -s conftest.err'
30787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30788 (eval $ac_try) 2>&5
30790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30791 (exit $ac_status); }; } &&
30792 { ac_try
='test -s conftest$ac_exeext'
30793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30794 (eval $ac_try) 2>&5
30796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30797 (exit $ac_status); }; }; then
30798 ac_cv_lib_m_erfc
=yes
30800 echo "$as_me: failed program was:" >&5
30801 sed 's/^/| /' conftest.
$ac_ext >&5
30803 ac_cv_lib_m_erfc
=no
30805 rm -f conftest.err conftest.
$ac_objext \
30806 conftest
$ac_exeext conftest.
$ac_ext
30807 LIBS
=$ac_check_lib_save_LIBS
30809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfc" >&5
30810 echo "${ECHO_T}$ac_cv_lib_m_erfc" >&6
30811 if test $ac_cv_lib_m_erfc = yes; then
30813 cat >>confdefs.h
<<\_ACEOF
30814 #define HAVE_ERFC 1
30819 echo "$as_me:$LINENO: checking for erfcl in -lm" >&5
30820 echo $ECHO_N "checking for erfcl in -lm... $ECHO_C" >&6
30821 if test "${ac_cv_lib_m_erfcl+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30824 ac_check_lib_save_LIBS
=$LIBS
30826 if test x
$gcc_no_link = xyes
; then
30827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30829 { (exit 1); exit 1; }; }
30831 cat >conftest.
$ac_ext <<_ACEOF
30834 cat confdefs.h
>>conftest.
$ac_ext
30835 cat >>conftest.
$ac_ext <<_ACEOF
30836 /* end confdefs.h. */
30838 /* Override any gcc2 internal prototype to avoid an error. */
30842 /* We use char because int might match the return type of a gcc2
30843 builtin and then its argument prototype would still apply. */
30853 rm -f conftest.
$ac_objext conftest
$ac_exeext
30854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30855 (eval $ac_link) 2>conftest.er1
30857 grep -v '^ *+' conftest.er1
>conftest.err
30859 cat conftest.err
>&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); } &&
30862 { ac_try
='test -z "$ac_c_werror_flag"
30863 || test ! -s conftest.err'
30864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30865 (eval $ac_try) 2>&5
30867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30868 (exit $ac_status); }; } &&
30869 { ac_try
='test -s conftest$ac_exeext'
30870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30871 (eval $ac_try) 2>&5
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); }; }; then
30875 ac_cv_lib_m_erfcl
=yes
30877 echo "$as_me: failed program was:" >&5
30878 sed 's/^/| /' conftest.
$ac_ext >&5
30880 ac_cv_lib_m_erfcl
=no
30882 rm -f conftest.err conftest.
$ac_objext \
30883 conftest
$ac_exeext conftest.
$ac_ext
30884 LIBS
=$ac_check_lib_save_LIBS
30886 echo "$as_me:$LINENO: result: $ac_cv_lib_m_erfcl" >&5
30887 echo "${ECHO_T}$ac_cv_lib_m_erfcl" >&6
30888 if test $ac_cv_lib_m_erfcl = yes; then
30890 cat >>confdefs.h
<<\_ACEOF
30891 #define HAVE_ERFCL 1
30896 echo "$as_me:$LINENO: checking for j0f in -lm" >&5
30897 echo $ECHO_N "checking for j0f in -lm... $ECHO_C" >&6
30898 if test "${ac_cv_lib_m_j0f+set}" = set; then
30899 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 ac_check_lib_save_LIBS
=$LIBS
30903 if test x
$gcc_no_link = xyes
; then
30904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30906 { (exit 1); exit 1; }; }
30908 cat >conftest.
$ac_ext <<_ACEOF
30911 cat confdefs.h
>>conftest.
$ac_ext
30912 cat >>conftest.
$ac_ext <<_ACEOF
30913 /* end confdefs.h. */
30915 /* Override any gcc2 internal prototype to avoid an error. */
30919 /* We use char because int might match the return type of a gcc2
30920 builtin and then its argument prototype would still apply. */
30930 rm -f conftest.
$ac_objext conftest
$ac_exeext
30931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30932 (eval $ac_link) 2>conftest.er1
30934 grep -v '^ *+' conftest.er1
>conftest.err
30936 cat conftest.err
>&5
30937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30938 (exit $ac_status); } &&
30939 { ac_try
='test -z "$ac_c_werror_flag"
30940 || test ! -s conftest.err'
30941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30942 (eval $ac_try) 2>&5
30944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30945 (exit $ac_status); }; } &&
30946 { ac_try
='test -s conftest$ac_exeext'
30947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30948 (eval $ac_try) 2>&5
30950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30951 (exit $ac_status); }; }; then
30952 ac_cv_lib_m_j0f
=yes
30954 echo "$as_me: failed program was:" >&5
30955 sed 's/^/| /' conftest.
$ac_ext >&5
30959 rm -f conftest.err conftest.
$ac_objext \
30960 conftest
$ac_exeext conftest.
$ac_ext
30961 LIBS
=$ac_check_lib_save_LIBS
30963 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0f" >&5
30964 echo "${ECHO_T}$ac_cv_lib_m_j0f" >&6
30965 if test $ac_cv_lib_m_j0f = yes; then
30967 cat >>confdefs.h
<<\_ACEOF
30973 echo "$as_me:$LINENO: checking for j0 in -lm" >&5
30974 echo $ECHO_N "checking for j0 in -lm... $ECHO_C" >&6
30975 if test "${ac_cv_lib_m_j0+set}" = set; then
30976 echo $ECHO_N "(cached) $ECHO_C" >&6
30978 ac_check_lib_save_LIBS
=$LIBS
30980 if test x
$gcc_no_link = xyes
; then
30981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30983 { (exit 1); exit 1; }; }
30985 cat >conftest.
$ac_ext <<_ACEOF
30988 cat confdefs.h
>>conftest.
$ac_ext
30989 cat >>conftest.
$ac_ext <<_ACEOF
30990 /* end confdefs.h. */
30992 /* Override any gcc2 internal prototype to avoid an error. */
30996 /* We use char because int might match the return type of a gcc2
30997 builtin and then its argument prototype would still apply. */
31007 rm -f conftest.
$ac_objext conftest
$ac_exeext
31008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31009 (eval $ac_link) 2>conftest.er1
31011 grep -v '^ *+' conftest.er1
>conftest.err
31013 cat conftest.err
>&5
31014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31015 (exit $ac_status); } &&
31016 { ac_try
='test -z "$ac_c_werror_flag"
31017 || test ! -s conftest.err'
31018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31019 (eval $ac_try) 2>&5
31021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31022 (exit $ac_status); }; } &&
31023 { ac_try
='test -s conftest$ac_exeext'
31024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31025 (eval $ac_try) 2>&5
31027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31028 (exit $ac_status); }; }; then
31031 echo "$as_me: failed program was:" >&5
31032 sed 's/^/| /' conftest.
$ac_ext >&5
31036 rm -f conftest.err conftest.
$ac_objext \
31037 conftest
$ac_exeext conftest.
$ac_ext
31038 LIBS
=$ac_check_lib_save_LIBS
31040 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0" >&5
31041 echo "${ECHO_T}$ac_cv_lib_m_j0" >&6
31042 if test $ac_cv_lib_m_j0 = yes; then
31044 cat >>confdefs.h
<<\_ACEOF
31050 echo "$as_me:$LINENO: checking for j0l in -lm" >&5
31051 echo $ECHO_N "checking for j0l in -lm... $ECHO_C" >&6
31052 if test "${ac_cv_lib_m_j0l+set}" = set; then
31053 echo $ECHO_N "(cached) $ECHO_C" >&6
31055 ac_check_lib_save_LIBS
=$LIBS
31057 if test x
$gcc_no_link = xyes
; then
31058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31060 { (exit 1); exit 1; }; }
31062 cat >conftest.
$ac_ext <<_ACEOF
31065 cat confdefs.h
>>conftest.
$ac_ext
31066 cat >>conftest.
$ac_ext <<_ACEOF
31067 /* end confdefs.h. */
31069 /* Override any gcc2 internal prototype to avoid an error. */
31073 /* We use char because int might match the return type of a gcc2
31074 builtin and then its argument prototype would still apply. */
31084 rm -f conftest.
$ac_objext conftest
$ac_exeext
31085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31086 (eval $ac_link) 2>conftest.er1
31088 grep -v '^ *+' conftest.er1
>conftest.err
31090 cat conftest.err
>&5
31091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31092 (exit $ac_status); } &&
31093 { ac_try
='test -z "$ac_c_werror_flag"
31094 || test ! -s conftest.err'
31095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31096 (eval $ac_try) 2>&5
31098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31099 (exit $ac_status); }; } &&
31100 { ac_try
='test -s conftest$ac_exeext'
31101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31102 (eval $ac_try) 2>&5
31104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31105 (exit $ac_status); }; }; then
31106 ac_cv_lib_m_j0l
=yes
31108 echo "$as_me: failed program was:" >&5
31109 sed 's/^/| /' conftest.
$ac_ext >&5
31113 rm -f conftest.err conftest.
$ac_objext \
31114 conftest
$ac_exeext conftest.
$ac_ext
31115 LIBS
=$ac_check_lib_save_LIBS
31117 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j0l" >&5
31118 echo "${ECHO_T}$ac_cv_lib_m_j0l" >&6
31119 if test $ac_cv_lib_m_j0l = yes; then
31121 cat >>confdefs.h
<<\_ACEOF
31127 echo "$as_me:$LINENO: checking for j1f in -lm" >&5
31128 echo $ECHO_N "checking for j1f in -lm... $ECHO_C" >&6
31129 if test "${ac_cv_lib_m_j1f+set}" = set; then
31130 echo $ECHO_N "(cached) $ECHO_C" >&6
31132 ac_check_lib_save_LIBS
=$LIBS
31134 if test x
$gcc_no_link = xyes
; then
31135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31137 { (exit 1); exit 1; }; }
31139 cat >conftest.
$ac_ext <<_ACEOF
31142 cat confdefs.h
>>conftest.
$ac_ext
31143 cat >>conftest.
$ac_ext <<_ACEOF
31144 /* end confdefs.h. */
31146 /* Override any gcc2 internal prototype to avoid an error. */
31150 /* We use char because int might match the return type of a gcc2
31151 builtin and then its argument prototype would still apply. */
31161 rm -f conftest.
$ac_objext conftest
$ac_exeext
31162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31163 (eval $ac_link) 2>conftest.er1
31165 grep -v '^ *+' conftest.er1
>conftest.err
31167 cat conftest.err
>&5
31168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31169 (exit $ac_status); } &&
31170 { ac_try
='test -z "$ac_c_werror_flag"
31171 || test ! -s conftest.err'
31172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31173 (eval $ac_try) 2>&5
31175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31176 (exit $ac_status); }; } &&
31177 { ac_try
='test -s conftest$ac_exeext'
31178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31179 (eval $ac_try) 2>&5
31181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31182 (exit $ac_status); }; }; then
31183 ac_cv_lib_m_j1f
=yes
31185 echo "$as_me: failed program was:" >&5
31186 sed 's/^/| /' conftest.
$ac_ext >&5
31190 rm -f conftest.err conftest.
$ac_objext \
31191 conftest
$ac_exeext conftest.
$ac_ext
31192 LIBS
=$ac_check_lib_save_LIBS
31194 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1f" >&5
31195 echo "${ECHO_T}$ac_cv_lib_m_j1f" >&6
31196 if test $ac_cv_lib_m_j1f = yes; then
31198 cat >>confdefs.h
<<\_ACEOF
31204 echo "$as_me:$LINENO: checking for j1 in -lm" >&5
31205 echo $ECHO_N "checking for j1 in -lm... $ECHO_C" >&6
31206 if test "${ac_cv_lib_m_j1+set}" = set; then
31207 echo $ECHO_N "(cached) $ECHO_C" >&6
31209 ac_check_lib_save_LIBS
=$LIBS
31211 if test x
$gcc_no_link = xyes
; then
31212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31214 { (exit 1); exit 1; }; }
31216 cat >conftest.
$ac_ext <<_ACEOF
31219 cat confdefs.h
>>conftest.
$ac_ext
31220 cat >>conftest.
$ac_ext <<_ACEOF
31221 /* end confdefs.h. */
31223 /* Override any gcc2 internal prototype to avoid an error. */
31227 /* We use char because int might match the return type of a gcc2
31228 builtin and then its argument prototype would still apply. */
31238 rm -f conftest.
$ac_objext conftest
$ac_exeext
31239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31240 (eval $ac_link) 2>conftest.er1
31242 grep -v '^ *+' conftest.er1
>conftest.err
31244 cat conftest.err
>&5
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); } &&
31247 { ac_try
='test -z "$ac_c_werror_flag"
31248 || test ! -s conftest.err'
31249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250 (eval $ac_try) 2>&5
31252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253 (exit $ac_status); }; } &&
31254 { ac_try
='test -s conftest$ac_exeext'
31255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256 (eval $ac_try) 2>&5
31258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259 (exit $ac_status); }; }; then
31262 echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.
$ac_ext >&5
31267 rm -f conftest.err conftest.
$ac_objext \
31268 conftest
$ac_exeext conftest.
$ac_ext
31269 LIBS
=$ac_check_lib_save_LIBS
31271 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1" >&5
31272 echo "${ECHO_T}$ac_cv_lib_m_j1" >&6
31273 if test $ac_cv_lib_m_j1 = yes; then
31275 cat >>confdefs.h
<<\_ACEOF
31281 echo "$as_me:$LINENO: checking for j1l in -lm" >&5
31282 echo $ECHO_N "checking for j1l in -lm... $ECHO_C" >&6
31283 if test "${ac_cv_lib_m_j1l+set}" = set; then
31284 echo $ECHO_N "(cached) $ECHO_C" >&6
31286 ac_check_lib_save_LIBS
=$LIBS
31288 if test x
$gcc_no_link = xyes
; then
31289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31291 { (exit 1); exit 1; }; }
31293 cat >conftest.
$ac_ext <<_ACEOF
31296 cat confdefs.h
>>conftest.
$ac_ext
31297 cat >>conftest.
$ac_ext <<_ACEOF
31298 /* end confdefs.h. */
31300 /* Override any gcc2 internal prototype to avoid an error. */
31304 /* We use char because int might match the return type of a gcc2
31305 builtin and then its argument prototype would still apply. */
31315 rm -f conftest.
$ac_objext conftest
$ac_exeext
31316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31317 (eval $ac_link) 2>conftest.er1
31319 grep -v '^ *+' conftest.er1
>conftest.err
31321 cat conftest.err
>&5
31322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31323 (exit $ac_status); } &&
31324 { ac_try
='test -z "$ac_c_werror_flag"
31325 || test ! -s conftest.err'
31326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31327 (eval $ac_try) 2>&5
31329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31330 (exit $ac_status); }; } &&
31331 { ac_try
='test -s conftest$ac_exeext'
31332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31333 (eval $ac_try) 2>&5
31335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31336 (exit $ac_status); }; }; then
31337 ac_cv_lib_m_j1l
=yes
31339 echo "$as_me: failed program was:" >&5
31340 sed 's/^/| /' conftest.
$ac_ext >&5
31344 rm -f conftest.err conftest.
$ac_objext \
31345 conftest
$ac_exeext conftest.
$ac_ext
31346 LIBS
=$ac_check_lib_save_LIBS
31348 echo "$as_me:$LINENO: result: $ac_cv_lib_m_j1l" >&5
31349 echo "${ECHO_T}$ac_cv_lib_m_j1l" >&6
31350 if test $ac_cv_lib_m_j1l = yes; then
31352 cat >>confdefs.h
<<\_ACEOF
31358 echo "$as_me:$LINENO: checking for jnf in -lm" >&5
31359 echo $ECHO_N "checking for jnf in -lm... $ECHO_C" >&6
31360 if test "${ac_cv_lib_m_jnf+set}" = set; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31363 ac_check_lib_save_LIBS
=$LIBS
31365 if test x
$gcc_no_link = xyes
; then
31366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31368 { (exit 1); exit 1; }; }
31370 cat >conftest.
$ac_ext <<_ACEOF
31373 cat confdefs.h
>>conftest.
$ac_ext
31374 cat >>conftest.
$ac_ext <<_ACEOF
31375 /* end confdefs.h. */
31377 /* Override any gcc2 internal prototype to avoid an error. */
31381 /* We use char because int might match the return type of a gcc2
31382 builtin and then its argument prototype would still apply. */
31392 rm -f conftest.
$ac_objext conftest
$ac_exeext
31393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31394 (eval $ac_link) 2>conftest.er1
31396 grep -v '^ *+' conftest.er1
>conftest.err
31398 cat conftest.err
>&5
31399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31400 (exit $ac_status); } &&
31401 { ac_try
='test -z "$ac_c_werror_flag"
31402 || test ! -s conftest.err'
31403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31404 (eval $ac_try) 2>&5
31406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31407 (exit $ac_status); }; } &&
31408 { ac_try
='test -s conftest$ac_exeext'
31409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31410 (eval $ac_try) 2>&5
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; }; then
31414 ac_cv_lib_m_jnf
=yes
31416 echo "$as_me: failed program was:" >&5
31417 sed 's/^/| /' conftest.
$ac_ext >&5
31421 rm -f conftest.err conftest.
$ac_objext \
31422 conftest
$ac_exeext conftest.
$ac_ext
31423 LIBS
=$ac_check_lib_save_LIBS
31425 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnf" >&5
31426 echo "${ECHO_T}$ac_cv_lib_m_jnf" >&6
31427 if test $ac_cv_lib_m_jnf = yes; then
31429 cat >>confdefs.h
<<\_ACEOF
31435 echo "$as_me:$LINENO: checking for jn in -lm" >&5
31436 echo $ECHO_N "checking for jn in -lm... $ECHO_C" >&6
31437 if test "${ac_cv_lib_m_jn+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31440 ac_check_lib_save_LIBS
=$LIBS
31442 if test x
$gcc_no_link = xyes
; then
31443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31445 { (exit 1); exit 1; }; }
31447 cat >conftest.
$ac_ext <<_ACEOF
31450 cat confdefs.h
>>conftest.
$ac_ext
31451 cat >>conftest.
$ac_ext <<_ACEOF
31452 /* end confdefs.h. */
31454 /* Override any gcc2 internal prototype to avoid an error. */
31458 /* We use char because int might match the return type of a gcc2
31459 builtin and then its argument prototype would still apply. */
31469 rm -f conftest.
$ac_objext conftest
$ac_exeext
31470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31471 (eval $ac_link) 2>conftest.er1
31473 grep -v '^ *+' conftest.er1
>conftest.err
31475 cat conftest.err
>&5
31476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31477 (exit $ac_status); } &&
31478 { ac_try
='test -z "$ac_c_werror_flag"
31479 || test ! -s conftest.err'
31480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31481 (eval $ac_try) 2>&5
31483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31484 (exit $ac_status); }; } &&
31485 { ac_try
='test -s conftest$ac_exeext'
31486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31487 (eval $ac_try) 2>&5
31489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31490 (exit $ac_status); }; }; then
31493 echo "$as_me: failed program was:" >&5
31494 sed 's/^/| /' conftest.
$ac_ext >&5
31498 rm -f conftest.err conftest.
$ac_objext \
31499 conftest
$ac_exeext conftest.
$ac_ext
31500 LIBS
=$ac_check_lib_save_LIBS
31502 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jn" >&5
31503 echo "${ECHO_T}$ac_cv_lib_m_jn" >&6
31504 if test $ac_cv_lib_m_jn = yes; then
31506 cat >>confdefs.h
<<\_ACEOF
31512 echo "$as_me:$LINENO: checking for jnl in -lm" >&5
31513 echo $ECHO_N "checking for jnl in -lm... $ECHO_C" >&6
31514 if test "${ac_cv_lib_m_jnl+set}" = set; then
31515 echo $ECHO_N "(cached) $ECHO_C" >&6
31517 ac_check_lib_save_LIBS
=$LIBS
31519 if test x
$gcc_no_link = xyes
; then
31520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31522 { (exit 1); exit 1; }; }
31524 cat >conftest.
$ac_ext <<_ACEOF
31527 cat confdefs.h
>>conftest.
$ac_ext
31528 cat >>conftest.
$ac_ext <<_ACEOF
31529 /* end confdefs.h. */
31531 /* Override any gcc2 internal prototype to avoid an error. */
31535 /* We use char because int might match the return type of a gcc2
31536 builtin and then its argument prototype would still apply. */
31546 rm -f conftest.
$ac_objext conftest
$ac_exeext
31547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31548 (eval $ac_link) 2>conftest.er1
31550 grep -v '^ *+' conftest.er1
>conftest.err
31552 cat conftest.err
>&5
31553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31554 (exit $ac_status); } &&
31555 { ac_try
='test -z "$ac_c_werror_flag"
31556 || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try
='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 ac_cv_lib_m_jnl
=yes
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.
$ac_ext >&5
31575 rm -f conftest.err conftest.
$ac_objext \
31576 conftest
$ac_exeext conftest.
$ac_ext
31577 LIBS
=$ac_check_lib_save_LIBS
31579 echo "$as_me:$LINENO: result: $ac_cv_lib_m_jnl" >&5
31580 echo "${ECHO_T}$ac_cv_lib_m_jnl" >&6
31581 if test $ac_cv_lib_m_jnl = yes; then
31583 cat >>confdefs.h
<<\_ACEOF
31589 echo "$as_me:$LINENO: checking for y0f in -lm" >&5
31590 echo $ECHO_N "checking for y0f in -lm... $ECHO_C" >&6
31591 if test "${ac_cv_lib_m_y0f+set}" = set; then
31592 echo $ECHO_N "(cached) $ECHO_C" >&6
31594 ac_check_lib_save_LIBS
=$LIBS
31596 if test x
$gcc_no_link = xyes
; then
31597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31599 { (exit 1); exit 1; }; }
31601 cat >conftest.
$ac_ext <<_ACEOF
31604 cat confdefs.h
>>conftest.
$ac_ext
31605 cat >>conftest.
$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31608 /* Override any gcc2 internal prototype to avoid an error. */
31612 /* We use char because int might match the return type of a gcc2
31613 builtin and then its argument prototype would still apply. */
31623 rm -f conftest.
$ac_objext conftest
$ac_exeext
31624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31625 (eval $ac_link) 2>conftest.er1
31627 grep -v '^ *+' conftest.er1
>conftest.err
31629 cat conftest.err
>&5
31630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31631 (exit $ac_status); } &&
31632 { ac_try
='test -z "$ac_c_werror_flag"
31633 || test ! -s conftest.err'
31634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31635 (eval $ac_try) 2>&5
31637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31638 (exit $ac_status); }; } &&
31639 { ac_try
='test -s conftest$ac_exeext'
31640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31641 (eval $ac_try) 2>&5
31643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31644 (exit $ac_status); }; }; then
31645 ac_cv_lib_m_y0f
=yes
31647 echo "$as_me: failed program was:" >&5
31648 sed 's/^/| /' conftest.
$ac_ext >&5
31652 rm -f conftest.err conftest.
$ac_objext \
31653 conftest
$ac_exeext conftest.
$ac_ext
31654 LIBS
=$ac_check_lib_save_LIBS
31656 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0f" >&5
31657 echo "${ECHO_T}$ac_cv_lib_m_y0f" >&6
31658 if test $ac_cv_lib_m_y0f = yes; then
31660 cat >>confdefs.h
<<\_ACEOF
31666 echo "$as_me:$LINENO: checking for y0 in -lm" >&5
31667 echo $ECHO_N "checking for y0 in -lm... $ECHO_C" >&6
31668 if test "${ac_cv_lib_m_y0+set}" = set; then
31669 echo $ECHO_N "(cached) $ECHO_C" >&6
31671 ac_check_lib_save_LIBS
=$LIBS
31673 if test x
$gcc_no_link = xyes
; then
31674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31676 { (exit 1); exit 1; }; }
31678 cat >conftest.
$ac_ext <<_ACEOF
31681 cat confdefs.h
>>conftest.
$ac_ext
31682 cat >>conftest.
$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31685 /* Override any gcc2 internal prototype to avoid an error. */
31689 /* We use char because int might match the return type of a gcc2
31690 builtin and then its argument prototype would still apply. */
31700 rm -f conftest.
$ac_objext conftest
$ac_exeext
31701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31702 (eval $ac_link) 2>conftest.er1
31704 grep -v '^ *+' conftest.er1
>conftest.err
31706 cat conftest.err
>&5
31707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31708 (exit $ac_status); } &&
31709 { ac_try
='test -z "$ac_c_werror_flag"
31710 || test ! -s conftest.err'
31711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31712 (eval $ac_try) 2>&5
31714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31715 (exit $ac_status); }; } &&
31716 { ac_try
='test -s conftest$ac_exeext'
31717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31718 (eval $ac_try) 2>&5
31720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31721 (exit $ac_status); }; }; then
31724 echo "$as_me: failed program was:" >&5
31725 sed 's/^/| /' conftest.
$ac_ext >&5
31729 rm -f conftest.err conftest.
$ac_objext \
31730 conftest
$ac_exeext conftest.
$ac_ext
31731 LIBS
=$ac_check_lib_save_LIBS
31733 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0" >&5
31734 echo "${ECHO_T}$ac_cv_lib_m_y0" >&6
31735 if test $ac_cv_lib_m_y0 = yes; then
31737 cat >>confdefs.h
<<\_ACEOF
31743 echo "$as_me:$LINENO: checking for y0l in -lm" >&5
31744 echo $ECHO_N "checking for y0l in -lm... $ECHO_C" >&6
31745 if test "${ac_cv_lib_m_y0l+set}" = set; then
31746 echo $ECHO_N "(cached) $ECHO_C" >&6
31748 ac_check_lib_save_LIBS
=$LIBS
31750 if test x
$gcc_no_link = xyes
; then
31751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31753 { (exit 1); exit 1; }; }
31755 cat >conftest.
$ac_ext <<_ACEOF
31758 cat confdefs.h
>>conftest.
$ac_ext
31759 cat >>conftest.
$ac_ext <<_ACEOF
31760 /* end confdefs.h. */
31762 /* Override any gcc2 internal prototype to avoid an error. */
31766 /* We use char because int might match the return type of a gcc2
31767 builtin and then its argument prototype would still apply. */
31777 rm -f conftest.
$ac_objext conftest
$ac_exeext
31778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31779 (eval $ac_link) 2>conftest.er1
31781 grep -v '^ *+' conftest.er1
>conftest.err
31783 cat conftest.err
>&5
31784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31785 (exit $ac_status); } &&
31786 { ac_try
='test -z "$ac_c_werror_flag"
31787 || test ! -s conftest.err'
31788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31789 (eval $ac_try) 2>&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); }; } &&
31793 { ac_try
='test -s conftest$ac_exeext'
31794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31795 (eval $ac_try) 2>&5
31797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31798 (exit $ac_status); }; }; then
31799 ac_cv_lib_m_y0l
=yes
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.
$ac_ext >&5
31806 rm -f conftest.err conftest.
$ac_objext \
31807 conftest
$ac_exeext conftest.
$ac_ext
31808 LIBS
=$ac_check_lib_save_LIBS
31810 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y0l" >&5
31811 echo "${ECHO_T}$ac_cv_lib_m_y0l" >&6
31812 if test $ac_cv_lib_m_y0l = yes; then
31814 cat >>confdefs.h
<<\_ACEOF
31820 echo "$as_me:$LINENO: checking for y1f in -lm" >&5
31821 echo $ECHO_N "checking for y1f in -lm... $ECHO_C" >&6
31822 if test "${ac_cv_lib_m_y1f+set}" = set; then
31823 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 ac_check_lib_save_LIBS
=$LIBS
31827 if test x
$gcc_no_link = xyes
; then
31828 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31829 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31830 { (exit 1); exit 1; }; }
31832 cat >conftest.
$ac_ext <<_ACEOF
31835 cat confdefs.h
>>conftest.
$ac_ext
31836 cat >>conftest.
$ac_ext <<_ACEOF
31837 /* end confdefs.h. */
31839 /* Override any gcc2 internal prototype to avoid an error. */
31843 /* We use char because int might match the return type of a gcc2
31844 builtin and then its argument prototype would still apply. */
31854 rm -f conftest.
$ac_objext conftest
$ac_exeext
31855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31856 (eval $ac_link) 2>conftest.er1
31858 grep -v '^ *+' conftest.er1
>conftest.err
31860 cat conftest.err
>&5
31861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31862 (exit $ac_status); } &&
31863 { ac_try
='test -z "$ac_c_werror_flag"
31864 || test ! -s conftest.err'
31865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31866 (eval $ac_try) 2>&5
31868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31869 (exit $ac_status); }; } &&
31870 { ac_try
='test -s conftest$ac_exeext'
31871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31872 (eval $ac_try) 2>&5
31874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31875 (exit $ac_status); }; }; then
31876 ac_cv_lib_m_y1f
=yes
31878 echo "$as_me: failed program was:" >&5
31879 sed 's/^/| /' conftest.
$ac_ext >&5
31883 rm -f conftest.err conftest.
$ac_objext \
31884 conftest
$ac_exeext conftest.
$ac_ext
31885 LIBS
=$ac_check_lib_save_LIBS
31887 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1f" >&5
31888 echo "${ECHO_T}$ac_cv_lib_m_y1f" >&6
31889 if test $ac_cv_lib_m_y1f = yes; then
31891 cat >>confdefs.h
<<\_ACEOF
31897 echo "$as_me:$LINENO: checking for y1 in -lm" >&5
31898 echo $ECHO_N "checking for y1 in -lm... $ECHO_C" >&6
31899 if test "${ac_cv_lib_m_y1+set}" = set; then
31900 echo $ECHO_N "(cached) $ECHO_C" >&6
31902 ac_check_lib_save_LIBS
=$LIBS
31904 if test x
$gcc_no_link = xyes
; then
31905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31907 { (exit 1); exit 1; }; }
31909 cat >conftest.
$ac_ext <<_ACEOF
31912 cat confdefs.h
>>conftest.
$ac_ext
31913 cat >>conftest.
$ac_ext <<_ACEOF
31914 /* end confdefs.h. */
31916 /* Override any gcc2 internal prototype to avoid an error. */
31920 /* We use char because int might match the return type of a gcc2
31921 builtin and then its argument prototype would still apply. */
31931 rm -f conftest.
$ac_objext conftest
$ac_exeext
31932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31933 (eval $ac_link) 2>conftest.er1
31935 grep -v '^ *+' conftest.er1
>conftest.err
31937 cat conftest.err
>&5
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); } &&
31940 { ac_try
='test -z "$ac_c_werror_flag"
31941 || test ! -s conftest.err'
31942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31943 (eval $ac_try) 2>&5
31945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31946 (exit $ac_status); }; } &&
31947 { ac_try
='test -s conftest$ac_exeext'
31948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31949 (eval $ac_try) 2>&5
31951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31952 (exit $ac_status); }; }; then
31955 echo "$as_me: failed program was:" >&5
31956 sed 's/^/| /' conftest.
$ac_ext >&5
31960 rm -f conftest.err conftest.
$ac_objext \
31961 conftest
$ac_exeext conftest.
$ac_ext
31962 LIBS
=$ac_check_lib_save_LIBS
31964 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1" >&5
31965 echo "${ECHO_T}$ac_cv_lib_m_y1" >&6
31966 if test $ac_cv_lib_m_y1 = yes; then
31968 cat >>confdefs.h
<<\_ACEOF
31974 echo "$as_me:$LINENO: checking for y1l in -lm" >&5
31975 echo $ECHO_N "checking for y1l in -lm... $ECHO_C" >&6
31976 if test "${ac_cv_lib_m_y1l+set}" = set; then
31977 echo $ECHO_N "(cached) $ECHO_C" >&6
31979 ac_check_lib_save_LIBS
=$LIBS
31981 if test x
$gcc_no_link = xyes
; then
31982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31984 { (exit 1); exit 1; }; }
31986 cat >conftest.
$ac_ext <<_ACEOF
31989 cat confdefs.h
>>conftest.
$ac_ext
31990 cat >>conftest.
$ac_ext <<_ACEOF
31991 /* end confdefs.h. */
31993 /* Override any gcc2 internal prototype to avoid an error. */
31997 /* We use char because int might match the return type of a gcc2
31998 builtin and then its argument prototype would still apply. */
32008 rm -f conftest.
$ac_objext conftest
$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32012 grep -v '^ *+' conftest.er1
>conftest.err
32014 cat conftest.err
>&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try
='test -z "$ac_c_werror_flag"
32018 || test ! -s conftest.err'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; } &&
32024 { ac_try
='test -s conftest$ac_exeext'
32025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32026 (eval $ac_try) 2>&5
32028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32029 (exit $ac_status); }; }; then
32030 ac_cv_lib_m_y1l
=yes
32032 echo "$as_me: failed program was:" >&5
32033 sed 's/^/| /' conftest.
$ac_ext >&5
32037 rm -f conftest.err conftest.
$ac_objext \
32038 conftest
$ac_exeext conftest.
$ac_ext
32039 LIBS
=$ac_check_lib_save_LIBS
32041 echo "$as_me:$LINENO: result: $ac_cv_lib_m_y1l" >&5
32042 echo "${ECHO_T}$ac_cv_lib_m_y1l" >&6
32043 if test $ac_cv_lib_m_y1l = yes; then
32045 cat >>confdefs.h
<<\_ACEOF
32051 echo "$as_me:$LINENO: checking for ynf in -lm" >&5
32052 echo $ECHO_N "checking for ynf in -lm... $ECHO_C" >&6
32053 if test "${ac_cv_lib_m_ynf+set}" = set; then
32054 echo $ECHO_N "(cached) $ECHO_C" >&6
32056 ac_check_lib_save_LIBS
=$LIBS
32058 if test x
$gcc_no_link = xyes
; then
32059 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32060 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32061 { (exit 1); exit 1; }; }
32063 cat >conftest.
$ac_ext <<_ACEOF
32066 cat confdefs.h
>>conftest.
$ac_ext
32067 cat >>conftest.
$ac_ext <<_ACEOF
32068 /* end confdefs.h. */
32070 /* Override any gcc2 internal prototype to avoid an error. */
32074 /* We use char because int might match the return type of a gcc2
32075 builtin and then its argument prototype would still apply. */
32085 rm -f conftest.
$ac_objext conftest
$ac_exeext
32086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32087 (eval $ac_link) 2>conftest.er1
32089 grep -v '^ *+' conftest.er1
>conftest.err
32091 cat conftest.err
>&5
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); } &&
32094 { ac_try
='test -z "$ac_c_werror_flag"
32095 || test ! -s conftest.err'
32096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32097 (eval $ac_try) 2>&5
32099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32100 (exit $ac_status); }; } &&
32101 { ac_try
='test -s conftest$ac_exeext'
32102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32103 (eval $ac_try) 2>&5
32105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32106 (exit $ac_status); }; }; then
32107 ac_cv_lib_m_ynf
=yes
32109 echo "$as_me: failed program was:" >&5
32110 sed 's/^/| /' conftest.
$ac_ext >&5
32114 rm -f conftest.err conftest.
$ac_objext \
32115 conftest
$ac_exeext conftest.
$ac_ext
32116 LIBS
=$ac_check_lib_save_LIBS
32118 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynf" >&5
32119 echo "${ECHO_T}$ac_cv_lib_m_ynf" >&6
32120 if test $ac_cv_lib_m_ynf = yes; then
32122 cat >>confdefs.h
<<\_ACEOF
32128 echo "$as_me:$LINENO: checking for yn in -lm" >&5
32129 echo $ECHO_N "checking for yn in -lm... $ECHO_C" >&6
32130 if test "${ac_cv_lib_m_yn+set}" = set; then
32131 echo $ECHO_N "(cached) $ECHO_C" >&6
32133 ac_check_lib_save_LIBS
=$LIBS
32135 if test x
$gcc_no_link = xyes
; then
32136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32138 { (exit 1); exit 1; }; }
32140 cat >conftest.
$ac_ext <<_ACEOF
32143 cat confdefs.h
>>conftest.
$ac_ext
32144 cat >>conftest.
$ac_ext <<_ACEOF
32145 /* end confdefs.h. */
32147 /* Override any gcc2 internal prototype to avoid an error. */
32151 /* We use char because int might match the return type of a gcc2
32152 builtin and then its argument prototype would still apply. */
32162 rm -f conftest.
$ac_objext conftest
$ac_exeext
32163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32164 (eval $ac_link) 2>conftest.er1
32166 grep -v '^ *+' conftest.er1
>conftest.err
32168 cat conftest.err
>&5
32169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32170 (exit $ac_status); } &&
32171 { ac_try
='test -z "$ac_c_werror_flag"
32172 || test ! -s conftest.err'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; } &&
32178 { ac_try
='test -s conftest$ac_exeext'
32179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32180 (eval $ac_try) 2>&5
32182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32183 (exit $ac_status); }; }; then
32186 echo "$as_me: failed program was:" >&5
32187 sed 's/^/| /' conftest.
$ac_ext >&5
32191 rm -f conftest.err conftest.
$ac_objext \
32192 conftest
$ac_exeext conftest.
$ac_ext
32193 LIBS
=$ac_check_lib_save_LIBS
32195 echo "$as_me:$LINENO: result: $ac_cv_lib_m_yn" >&5
32196 echo "${ECHO_T}$ac_cv_lib_m_yn" >&6
32197 if test $ac_cv_lib_m_yn = yes; then
32199 cat >>confdefs.h
<<\_ACEOF
32205 echo "$as_me:$LINENO: checking for ynl in -lm" >&5
32206 echo $ECHO_N "checking for ynl in -lm... $ECHO_C" >&6
32207 if test "${ac_cv_lib_m_ynl+set}" = set; then
32208 echo $ECHO_N "(cached) $ECHO_C" >&6
32210 ac_check_lib_save_LIBS
=$LIBS
32212 if test x
$gcc_no_link = xyes
; then
32213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32215 { (exit 1); exit 1; }; }
32217 cat >conftest.
$ac_ext <<_ACEOF
32220 cat confdefs.h
>>conftest.
$ac_ext
32221 cat >>conftest.
$ac_ext <<_ACEOF
32222 /* end confdefs.h. */
32224 /* Override any gcc2 internal prototype to avoid an error. */
32228 /* We use char because int might match the return type of a gcc2
32229 builtin and then its argument prototype would still apply. */
32239 rm -f conftest.
$ac_objext conftest
$ac_exeext
32240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32241 (eval $ac_link) 2>conftest.er1
32243 grep -v '^ *+' conftest.er1
>conftest.err
32245 cat conftest.err
>&5
32246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32247 (exit $ac_status); } &&
32248 { ac_try
='test -z "$ac_c_werror_flag"
32249 || test ! -s conftest.err'
32250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32251 (eval $ac_try) 2>&5
32253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32254 (exit $ac_status); }; } &&
32255 { ac_try
='test -s conftest$ac_exeext'
32256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32257 (eval $ac_try) 2>&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); }; }; then
32261 ac_cv_lib_m_ynl
=yes
32263 echo "$as_me: failed program was:" >&5
32264 sed 's/^/| /' conftest.
$ac_ext >&5
32268 rm -f conftest.err conftest.
$ac_objext \
32269 conftest
$ac_exeext conftest.
$ac_ext
32270 LIBS
=$ac_check_lib_save_LIBS
32272 echo "$as_me:$LINENO: result: $ac_cv_lib_m_ynl" >&5
32273 echo "${ECHO_T}$ac_cv_lib_m_ynl" >&6
32274 if test $ac_cv_lib_m_ynl = yes; then
32276 cat >>confdefs.h
<<\_ACEOF
32282 echo "$as_me:$LINENO: checking for tgamma in -lm" >&5
32283 echo $ECHO_N "checking for tgamma in -lm... $ECHO_C" >&6
32284 if test "${ac_cv_lib_m_tgamma+set}" = set; then
32285 echo $ECHO_N "(cached) $ECHO_C" >&6
32287 ac_check_lib_save_LIBS
=$LIBS
32289 if test x
$gcc_no_link = xyes
; then
32290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32292 { (exit 1); exit 1; }; }
32294 cat >conftest.
$ac_ext <<_ACEOF
32297 cat confdefs.h
>>conftest.
$ac_ext
32298 cat >>conftest.
$ac_ext <<_ACEOF
32299 /* end confdefs.h. */
32301 /* Override any gcc2 internal prototype to avoid an error. */
32305 /* We use char because int might match the return type of a gcc2
32306 builtin and then its argument prototype would still apply. */
32316 rm -f conftest.
$ac_objext conftest
$ac_exeext
32317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32318 (eval $ac_link) 2>conftest.er1
32320 grep -v '^ *+' conftest.er1
>conftest.err
32322 cat conftest.err
>&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); } &&
32325 { ac_try
='test -z "$ac_c_werror_flag"
32326 || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try
='test -s conftest$ac_exeext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 ac_cv_lib_m_tgamma
=yes
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.
$ac_ext >&5
32343 ac_cv_lib_m_tgamma
=no
32345 rm -f conftest.err conftest.
$ac_objext \
32346 conftest
$ac_exeext conftest.
$ac_ext
32347 LIBS
=$ac_check_lib_save_LIBS
32349 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgamma" >&5
32350 echo "${ECHO_T}$ac_cv_lib_m_tgamma" >&6
32351 if test $ac_cv_lib_m_tgamma = yes; then
32353 cat >>confdefs.h
<<\_ACEOF
32354 #define HAVE_TGAMMA 1
32359 echo "$as_me:$LINENO: checking for tgammaf in -lm" >&5
32360 echo $ECHO_N "checking for tgammaf in -lm... $ECHO_C" >&6
32361 if test "${ac_cv_lib_m_tgammaf+set}" = set; then
32362 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 ac_check_lib_save_LIBS
=$LIBS
32366 if test x
$gcc_no_link = xyes
; then
32367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32369 { (exit 1); exit 1; }; }
32371 cat >conftest.
$ac_ext <<_ACEOF
32374 cat confdefs.h
>>conftest.
$ac_ext
32375 cat >>conftest.
$ac_ext <<_ACEOF
32376 /* end confdefs.h. */
32378 /* Override any gcc2 internal prototype to avoid an error. */
32382 /* We use char because int might match the return type of a gcc2
32383 builtin and then its argument prototype would still apply. */
32393 rm -f conftest.
$ac_objext conftest
$ac_exeext
32394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32395 (eval $ac_link) 2>conftest.er1
32397 grep -v '^ *+' conftest.er1
>conftest.err
32399 cat conftest.err
>&5
32400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32401 (exit $ac_status); } &&
32402 { ac_try
='test -z "$ac_c_werror_flag"
32403 || test ! -s conftest.err'
32404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32405 (eval $ac_try) 2>&5
32407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32408 (exit $ac_status); }; } &&
32409 { ac_try
='test -s conftest$ac_exeext'
32410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32411 (eval $ac_try) 2>&5
32413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32414 (exit $ac_status); }; }; then
32415 ac_cv_lib_m_tgammaf
=yes
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.
$ac_ext >&5
32420 ac_cv_lib_m_tgammaf
=no
32422 rm -f conftest.err conftest.
$ac_objext \
32423 conftest
$ac_exeext conftest.
$ac_ext
32424 LIBS
=$ac_check_lib_save_LIBS
32426 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammaf" >&5
32427 echo "${ECHO_T}$ac_cv_lib_m_tgammaf" >&6
32428 if test $ac_cv_lib_m_tgammaf = yes; then
32430 cat >>confdefs.h
<<\_ACEOF
32431 #define HAVE_TGAMMAF 1
32436 echo "$as_me:$LINENO: checking for tgammal in -lm" >&5
32437 echo $ECHO_N "checking for tgammal in -lm... $ECHO_C" >&6
32438 if test "${ac_cv_lib_m_tgammal+set}" = set; then
32439 echo $ECHO_N "(cached) $ECHO_C" >&6
32441 ac_check_lib_save_LIBS
=$LIBS
32443 if test x
$gcc_no_link = xyes
; then
32444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32446 { (exit 1); exit 1; }; }
32448 cat >conftest.
$ac_ext <<_ACEOF
32451 cat confdefs.h
>>conftest.
$ac_ext
32452 cat >>conftest.
$ac_ext <<_ACEOF
32453 /* end confdefs.h. */
32455 /* Override any gcc2 internal prototype to avoid an error. */
32459 /* We use char because int might match the return type of a gcc2
32460 builtin and then its argument prototype would still apply. */
32470 rm -f conftest.
$ac_objext conftest
$ac_exeext
32471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32472 (eval $ac_link) 2>conftest.er1
32474 grep -v '^ *+' conftest.er1
>conftest.err
32476 cat conftest.err
>&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } &&
32479 { ac_try
='test -z "$ac_c_werror_flag"
32480 || test ! -s conftest.err'
32481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32482 (eval $ac_try) 2>&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); }; } &&
32486 { ac_try
='test -s conftest$ac_exeext'
32487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32488 (eval $ac_try) 2>&5
32490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32491 (exit $ac_status); }; }; then
32492 ac_cv_lib_m_tgammal
=yes
32494 echo "$as_me: failed program was:" >&5
32495 sed 's/^/| /' conftest.
$ac_ext >&5
32497 ac_cv_lib_m_tgammal
=no
32499 rm -f conftest.err conftest.
$ac_objext \
32500 conftest
$ac_exeext conftest.
$ac_ext
32501 LIBS
=$ac_check_lib_save_LIBS
32503 echo "$as_me:$LINENO: result: $ac_cv_lib_m_tgammal" >&5
32504 echo "${ECHO_T}$ac_cv_lib_m_tgammal" >&6
32505 if test $ac_cv_lib_m_tgammal = yes; then
32507 cat >>confdefs.h
<<\_ACEOF
32508 #define HAVE_TGAMMAL 1
32513 echo "$as_me:$LINENO: checking for lgamma in -lm" >&5
32514 echo $ECHO_N "checking for lgamma in -lm... $ECHO_C" >&6
32515 if test "${ac_cv_lib_m_lgamma+set}" = set; then
32516 echo $ECHO_N "(cached) $ECHO_C" >&6
32518 ac_check_lib_save_LIBS
=$LIBS
32520 if test x
$gcc_no_link = xyes
; then
32521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32523 { (exit 1); exit 1; }; }
32525 cat >conftest.
$ac_ext <<_ACEOF
32528 cat confdefs.h
>>conftest.
$ac_ext
32529 cat >>conftest.
$ac_ext <<_ACEOF
32530 /* end confdefs.h. */
32532 /* Override any gcc2 internal prototype to avoid an error. */
32536 /* We use char because int might match the return type of a gcc2
32537 builtin and then its argument prototype would still apply. */
32547 rm -f conftest.
$ac_objext conftest
$ac_exeext
32548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32549 (eval $ac_link) 2>conftest.er1
32551 grep -v '^ *+' conftest.er1
>conftest.err
32553 cat conftest.err
>&5
32554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32555 (exit $ac_status); } &&
32556 { ac_try
='test -z "$ac_c_werror_flag"
32557 || test ! -s conftest.err'
32558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 (eval $ac_try) 2>&5
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); }; } &&
32563 { ac_try
='test -s conftest$ac_exeext'
32564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32565 (eval $ac_try) 2>&5
32567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32568 (exit $ac_status); }; }; then
32569 ac_cv_lib_m_lgamma
=yes
32571 echo "$as_me: failed program was:" >&5
32572 sed 's/^/| /' conftest.
$ac_ext >&5
32574 ac_cv_lib_m_lgamma
=no
32576 rm -f conftest.err conftest.
$ac_objext \
32577 conftest
$ac_exeext conftest.
$ac_ext
32578 LIBS
=$ac_check_lib_save_LIBS
32580 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgamma" >&5
32581 echo "${ECHO_T}$ac_cv_lib_m_lgamma" >&6
32582 if test $ac_cv_lib_m_lgamma = yes; then
32584 cat >>confdefs.h
<<\_ACEOF
32585 #define HAVE_LGAMMA 1
32590 echo "$as_me:$LINENO: checking for lgammaf in -lm" >&5
32591 echo $ECHO_N "checking for lgammaf in -lm... $ECHO_C" >&6
32592 if test "${ac_cv_lib_m_lgammaf+set}" = set; then
32593 echo $ECHO_N "(cached) $ECHO_C" >&6
32595 ac_check_lib_save_LIBS
=$LIBS
32597 if test x
$gcc_no_link = xyes
; then
32598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32600 { (exit 1); exit 1; }; }
32602 cat >conftest.
$ac_ext <<_ACEOF
32605 cat confdefs.h
>>conftest.
$ac_ext
32606 cat >>conftest.
$ac_ext <<_ACEOF
32607 /* end confdefs.h. */
32609 /* Override any gcc2 internal prototype to avoid an error. */
32613 /* We use char because int might match the return type of a gcc2
32614 builtin and then its argument prototype would still apply. */
32624 rm -f conftest.
$ac_objext conftest
$ac_exeext
32625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32626 (eval $ac_link) 2>conftest.er1
32628 grep -v '^ *+' conftest.er1
>conftest.err
32630 cat conftest.err
>&5
32631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32632 (exit $ac_status); } &&
32633 { ac_try
='test -z "$ac_c_werror_flag"
32634 || test ! -s conftest.err'
32635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32636 (eval $ac_try) 2>&5
32638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32639 (exit $ac_status); }; } &&
32640 { ac_try
='test -s conftest$ac_exeext'
32641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32642 (eval $ac_try) 2>&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); }; }; then
32646 ac_cv_lib_m_lgammaf
=yes
32648 echo "$as_me: failed program was:" >&5
32649 sed 's/^/| /' conftest.
$ac_ext >&5
32651 ac_cv_lib_m_lgammaf
=no
32653 rm -f conftest.err conftest.
$ac_objext \
32654 conftest
$ac_exeext conftest.
$ac_ext
32655 LIBS
=$ac_check_lib_save_LIBS
32657 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammaf" >&5
32658 echo "${ECHO_T}$ac_cv_lib_m_lgammaf" >&6
32659 if test $ac_cv_lib_m_lgammaf = yes; then
32661 cat >>confdefs.h
<<\_ACEOF
32662 #define HAVE_LGAMMAF 1
32667 echo "$as_me:$LINENO: checking for lgammal in -lm" >&5
32668 echo $ECHO_N "checking for lgammal in -lm... $ECHO_C" >&6
32669 if test "${ac_cv_lib_m_lgammal+set}" = set; then
32670 echo $ECHO_N "(cached) $ECHO_C" >&6
32672 ac_check_lib_save_LIBS
=$LIBS
32674 if test x
$gcc_no_link = xyes
; then
32675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32677 { (exit 1); exit 1; }; }
32679 cat >conftest.
$ac_ext <<_ACEOF
32682 cat confdefs.h
>>conftest.
$ac_ext
32683 cat >>conftest.
$ac_ext <<_ACEOF
32684 /* end confdefs.h. */
32686 /* Override any gcc2 internal prototype to avoid an error. */
32690 /* We use char because int might match the return type of a gcc2
32691 builtin and then its argument prototype would still apply. */
32701 rm -f conftest.
$ac_objext conftest
$ac_exeext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32703 (eval $ac_link) 2>conftest.er1
32705 grep -v '^ *+' conftest.er1
>conftest.err
32707 cat conftest.err
>&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); } &&
32710 { ac_try
='test -z "$ac_c_werror_flag"
32711 || test ! -s conftest.err'
32712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32713 (eval $ac_try) 2>&5
32715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32716 (exit $ac_status); }; } &&
32717 { ac_try
='test -s conftest$ac_exeext'
32718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32719 (eval $ac_try) 2>&5
32721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32722 (exit $ac_status); }; }; then
32723 ac_cv_lib_m_lgammal
=yes
32725 echo "$as_me: failed program was:" >&5
32726 sed 's/^/| /' conftest.
$ac_ext >&5
32728 ac_cv_lib_m_lgammal
=no
32730 rm -f conftest.err conftest.
$ac_objext \
32731 conftest
$ac_exeext conftest.
$ac_ext
32732 LIBS
=$ac_check_lib_save_LIBS
32734 echo "$as_me:$LINENO: result: $ac_cv_lib_m_lgammal" >&5
32735 echo "${ECHO_T}$ac_cv_lib_m_lgammal" >&6
32736 if test $ac_cv_lib_m_lgammal = yes; then
32738 cat >>confdefs.h
<<\_ACEOF
32739 #define HAVE_LGAMMAL 1
32745 # On AIX, clog is present in libm as __clog
32746 echo "$as_me:$LINENO: checking for __clog in -lm" >&5
32747 echo $ECHO_N "checking for __clog in -lm... $ECHO_C" >&6
32748 if test "${ac_cv_lib_m___clog+set}" = set; then
32749 echo $ECHO_N "(cached) $ECHO_C" >&6
32751 ac_check_lib_save_LIBS
=$LIBS
32753 if test x
$gcc_no_link = xyes
; then
32754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32756 { (exit 1); exit 1; }; }
32758 cat >conftest.
$ac_ext <<_ACEOF
32761 cat confdefs.h
>>conftest.
$ac_ext
32762 cat >>conftest.
$ac_ext <<_ACEOF
32763 /* end confdefs.h. */
32765 /* Override any gcc2 internal prototype to avoid an error. */
32769 /* We use char because int might match the return type of a gcc2
32770 builtin and then its argument prototype would still apply. */
32780 rm -f conftest.
$ac_objext conftest
$ac_exeext
32781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32782 (eval $ac_link) 2>conftest.er1
32784 grep -v '^ *+' conftest.er1
>conftest.err
32786 cat conftest.err
>&5
32787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32788 (exit $ac_status); } &&
32789 { ac_try
='test -z "$ac_c_werror_flag"
32790 || test ! -s conftest.err'
32791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32792 (eval $ac_try) 2>&5
32794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32795 (exit $ac_status); }; } &&
32796 { ac_try
='test -s conftest$ac_exeext'
32797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32798 (eval $ac_try) 2>&5
32800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32801 (exit $ac_status); }; }; then
32802 ac_cv_lib_m___clog
=yes
32804 echo "$as_me: failed program was:" >&5
32805 sed 's/^/| /' conftest.
$ac_ext >&5
32807 ac_cv_lib_m___clog
=no
32809 rm -f conftest.err conftest.
$ac_objext \
32810 conftest
$ac_exeext conftest.
$ac_ext
32811 LIBS
=$ac_check_lib_save_LIBS
32813 echo "$as_me:$LINENO: result: $ac_cv_lib_m___clog" >&5
32814 echo "${ECHO_T}$ac_cv_lib_m___clog" >&6
32815 if test $ac_cv_lib_m___clog = yes; then
32817 cat >>confdefs.h
<<\_ACEOF
32818 #define HAVE_CLOG 1
32824 # Check for a isfinite macro that works on long doubles.
32826 echo "$as_me:$LINENO: checking whether isfinite is broken" >&5
32827 echo $ECHO_N "checking whether isfinite is broken... $ECHO_C" >&6
32828 if test "${libgfor_cv_have_broken_isfinite+set}" = set; then
32829 echo $ECHO_N "(cached) $ECHO_C" >&6
32832 libgfor_check_for_broken_isfinite_save_LIBS
=$LIBS
32834 if test "$cross_compiling" = yes; then
32836 case "${target}" in
32837 hppa
*-*-hpux*) libgfor_cv_have_broken_isfinite
=yes ;;
32838 *) libgfor_cv_have_broken_isfinite
=no
;;
32841 cat >conftest.
$ac_ext <<_ACEOF
32844 cat confdefs.h
>>conftest.
$ac_ext
32845 cat >>conftest.
$ac_ext <<_ACEOF
32846 /* end confdefs.h. */
32854 if (!isfinite(LDBL_MAX)) return 1;
32857 if (!isfinite(DBL_MAX)) return 1;
32863 rm -f conftest
$ac_exeext
32864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32865 (eval $ac_link) 2>&5
32867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32868 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870 (eval $ac_try) 2>&5
32872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873 (exit $ac_status); }; }; then
32874 libgfor_cv_have_broken_isfinite
=no
32876 echo "$as_me: program exited with status $ac_status" >&5
32877 echo "$as_me: failed program was:" >&5
32878 sed 's/^/| /' conftest.
$ac_ext >&5
32880 ( exit $ac_status )
32881 libgfor_cv_have_broken_isfinite
=yes
32883 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32885 LIBS
=$libgfor_check_for_broken_isfinite_save_LIBS
32887 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isfinite" >&5
32888 echo "${ECHO_T}$libgfor_cv_have_broken_isfinite" >&6
32889 if test x
"$libgfor_cv_have_broken_isfinite" = xyes
; then
32891 cat >>confdefs.h
<<\_ACEOF
32892 #define HAVE_BROKEN_ISFINITE 1
32897 # Check for a isnan macro that works on long doubles.
32899 echo "$as_me:$LINENO: checking whether isnan is broken" >&5
32900 echo $ECHO_N "checking whether isnan is broken... $ECHO_C" >&6
32901 if test "${libgfor_cv_have_broken_isnan+set}" = set; then
32902 echo $ECHO_N "(cached) $ECHO_C" >&6
32905 libgfor_check_for_broken_isnan_save_LIBS
=$LIBS
32907 if test "$cross_compiling" = yes; then
32909 case "${target}" in
32910 hppa
*-*-hpux*) libgfor_cv_have_broken_isnan
=yes ;;
32911 *) libgfor_cv_have_broken_isnan
=no
;;
32914 cat >conftest.
$ac_ext <<_ACEOF
32917 cat confdefs.h
>>conftest.
$ac_ext
32918 cat >>conftest.
$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32929 x = __builtin_nanl ("");
32930 if (!isnan(x)) return 1;
32931 if (isnan(LDBL_MAX)) return 1;
32933 x = (long double) NAN;
32934 if (!isnan(x)) return 1;
32941 y = __builtin_nan ("");
32942 if (!isnan(y)) return 1;
32943 if (isnan(DBL_MAX)) return 1;
32946 if (!isnan(y)) return 1;
32954 rm -f conftest
$ac_exeext
32955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32956 (eval $ac_link) 2>&5
32958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32959 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; }; then
32965 libgfor_cv_have_broken_isnan
=no
32967 echo "$as_me: program exited with status $ac_status" >&5
32968 echo "$as_me: failed program was:" >&5
32969 sed 's/^/| /' conftest.
$ac_ext >&5
32971 ( exit $ac_status )
32972 libgfor_cv_have_broken_isnan
=yes
32974 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
32976 LIBS
=$libgfor_check_for_broken_isnan_save_LIBS
32978 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_isnan" >&5
32979 echo "${ECHO_T}$libgfor_cv_have_broken_isnan" >&6
32980 if test x
"$libgfor_cv_have_broken_isnan" = xyes
; then
32982 cat >>confdefs.h
<<\_ACEOF
32983 #define HAVE_BROKEN_ISNAN 1
32988 # Check for a fpclassify macro that works on long doubles.
32990 echo "$as_me:$LINENO: checking whether fpclassify is broken" >&5
32991 echo $ECHO_N "checking whether fpclassify is broken... $ECHO_C" >&6
32992 if test "${libgfor_cv_have_broken_fpclassify+set}" = set; then
32993 echo $ECHO_N "(cached) $ECHO_C" >&6
32996 libgfor_check_for_broken_fpclassify_save_LIBS
=$LIBS
32998 if test "$cross_compiling" = yes; then
33000 case "${target}" in
33001 hppa
*-*-hpux*) libgfor_cv_have_broken_fpclassify
=yes ;;
33002 *) libgfor_cv_have_broken_fpclassify
=no
;;
33005 cat >conftest.
$ac_ext <<_ACEOF
33008 cat confdefs.h
>>conftest.
$ac_ext
33009 cat >>conftest.
$ac_ext <<_ACEOF
33010 /* end confdefs.h. */
33018 if (fpclassify(LDBL_MAX) == FP_NAN
33019 || fpclassify(LDBL_MAX) == FP_INFINITE) return 1;
33022 if (fpclassify(DBL_MAX) == FP_NAN
33023 || fpclassify(DBL_MAX) == FP_INFINITE) return 1;
33029 rm -f conftest
$ac_exeext
33030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33031 (eval $ac_link) 2>&5
33033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33036 (eval $ac_try) 2>&5
33038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33039 (exit $ac_status); }; }; then
33040 libgfor_cv_have_broken_fpclassify
=no
33042 echo "$as_me: program exited with status $ac_status" >&5
33043 echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.
$ac_ext >&5
33046 ( exit $ac_status )
33047 libgfor_cv_have_broken_fpclassify
=yes
33049 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33051 LIBS
=$libgfor_check_for_broken_fpclassify_save_LIBS
33053 echo "$as_me:$LINENO: result: $libgfor_cv_have_broken_fpclassify" >&5
33054 echo "${ECHO_T}$libgfor_cv_have_broken_fpclassify" >&6
33055 if test x
"$libgfor_cv_have_broken_fpclassify" = xyes
; then
33057 cat >>confdefs.h
<<\_ACEOF
33058 #define HAVE_BROKEN_FPCLASSIFY 1
33063 # Check whether the system has a working stat()
33065 echo "$as_me:$LINENO: checking whether the target stat is reliable" >&5
33066 echo $ECHO_N "checking whether the target stat is reliable... $ECHO_C" >&6
33067 if test "${libgfor_cv_have_working_stat+set}" = set; then
33068 echo $ECHO_N "(cached) $ECHO_C" >&6
33071 if test "$cross_compiling" = yes; then
33073 case "${target}" in
33074 *mingw
*) libgfor_cv_have_working_stat
=no
;;
33075 *) libgfor_cv_have_working_stat
=yes;;
33078 cat >conftest.
$ac_ext <<_ACEOF
33081 cat confdefs.h
>>conftest.
$ac_ext
33082 cat >>conftest.
$ac_ext <<_ACEOF
33083 /* end confdefs.h. */
33086 #include <sys/types.h>
33087 #include <sys/stat.h>
33088 #include <unistd.h>
33093 struct stat st1, st2;
33095 f = fopen ("foo", "w");
33096 g = fopen ("bar", "w");
33097 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
33099 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
33106 rm -f conftest
$ac_exeext
33107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33108 (eval $ac_link) 2>&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
33112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33113 (eval $ac_try) 2>&5
33115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33116 (exit $ac_status); }; }; then
33117 libgfor_cv_have_working_stat
=yes
33119 echo "$as_me: program exited with status $ac_status" >&5
33120 echo "$as_me: failed program was:" >&5
33121 sed 's/^/| /' conftest.
$ac_ext >&5
33123 ( exit $ac_status )
33124 libgfor_cv_have_working_stat
=no
33126 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
33129 echo "$as_me:$LINENO: result: $libgfor_cv_have_working_stat" >&5
33130 echo "${ECHO_T}$libgfor_cv_have_working_stat" >&6
33131 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
33133 cat >>confdefs.h
<<\_ACEOF
33134 #define HAVE_WORKING_STAT 1
33139 # Check whether __mingw_snprintf() is present
33141 echo "$as_me:$LINENO: checking whether __mingw_snprintf is present" >&5
33142 echo $ECHO_N "checking whether __mingw_snprintf is present... $ECHO_C" >&6
33143 if test "${libgfor_cv_have_mingw_snprintf+set}" = set; then
33144 echo $ECHO_N "(cached) $ECHO_C" >&6
33147 if test x
$gcc_no_link = xyes
; then
33148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33150 { (exit 1); exit 1; }; }
33152 cat >conftest.
$ac_ext <<_ACEOF
33155 cat confdefs.h
>>conftest.
$ac_ext
33156 cat >>conftest.
$ac_ext <<_ACEOF
33157 /* end confdefs.h. */
33160 extern int __mingw_snprintf (char *, size_t, const char *, ...);
33166 __mingw_snprintf (NULL, 0, "%d\n", 1);
33172 rm -f conftest.
$ac_objext conftest
$ac_exeext
33173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33174 (eval $ac_link) 2>conftest.er1
33176 grep -v '^ *+' conftest.er1
>conftest.err
33178 cat conftest.err
>&5
33179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33180 (exit $ac_status); } &&
33181 { ac_try
='test -z "$ac_c_werror_flag"
33182 || test ! -s conftest.err'
33183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33184 (eval $ac_try) 2>&5
33186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33187 (exit $ac_status); }; } &&
33188 { ac_try
='test -s conftest$ac_exeext'
33189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33190 (eval $ac_try) 2>&5
33192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33193 (exit $ac_status); }; }; then
33194 eval "libgfor_cv_have_mingw_snprintf=yes"
33196 echo "$as_me: failed program was:" >&5
33197 sed 's/^/| /' conftest.
$ac_ext >&5
33199 eval "libgfor_cv_have_mingw_snprintf=no"
33201 rm -f conftest.err conftest.
$ac_objext \
33202 conftest
$ac_exeext conftest.
$ac_ext
33205 echo "$as_me:$LINENO: result: $libgfor_cv_have_mingw_snprintf" >&5
33206 echo "${ECHO_T}$libgfor_cv_have_mingw_snprintf" >&6
33207 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
33209 cat >>confdefs.h
<<\_ACEOF
33210 #define HAVE_MINGW_SNPRINTF 1
33216 # Check for GNU libc feenableexcept
33217 echo "$as_me:$LINENO: checking for feenableexcept in -lm" >&5
33218 echo $ECHO_N "checking for feenableexcept in -lm... $ECHO_C" >&6
33219 if test "${ac_cv_lib_m_feenableexcept+set}" = set; then
33220 echo $ECHO_N "(cached) $ECHO_C" >&6
33222 ac_check_lib_save_LIBS
=$LIBS
33224 if test x
$gcc_no_link = xyes
; then
33225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33227 { (exit 1); exit 1; }; }
33229 cat >conftest.
$ac_ext <<_ACEOF
33232 cat confdefs.h
>>conftest.
$ac_ext
33233 cat >>conftest.
$ac_ext <<_ACEOF
33234 /* end confdefs.h. */
33236 /* Override any gcc2 internal prototype to avoid an error. */
33240 /* We use char because int might match the return type of a gcc2
33241 builtin and then its argument prototype would still apply. */
33242 char feenableexcept ();
33251 rm -f conftest.
$ac_objext conftest
$ac_exeext
33252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33253 (eval $ac_link) 2>conftest.er1
33255 grep -v '^ *+' conftest.er1
>conftest.err
33257 cat conftest.err
>&5
33258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33259 (exit $ac_status); } &&
33260 { ac_try
='test -z "$ac_c_werror_flag"
33261 || test ! -s conftest.err'
33262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33263 (eval $ac_try) 2>&5
33265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33266 (exit $ac_status); }; } &&
33267 { ac_try
='test -s conftest$ac_exeext'
33268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33269 (eval $ac_try) 2>&5
33271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33272 (exit $ac_status); }; }; then
33273 ac_cv_lib_m_feenableexcept
=yes
33275 echo "$as_me: failed program was:" >&5
33276 sed 's/^/| /' conftest.
$ac_ext >&5
33278 ac_cv_lib_m_feenableexcept
=no
33280 rm -f conftest.err conftest.
$ac_objext \
33281 conftest
$ac_exeext conftest.
$ac_ext
33282 LIBS
=$ac_check_lib_save_LIBS
33284 echo "$as_me:$LINENO: result: $ac_cv_lib_m_feenableexcept" >&5
33285 echo "${ECHO_T}$ac_cv_lib_m_feenableexcept" >&6
33286 if test $ac_cv_lib_m_feenableexcept = yes; then
33287 have_feenableexcept
=yes
33288 cat >>confdefs.h
<<\_ACEOF
33289 #define HAVE_FEENABLEEXCEPT 1
33295 # Check for SysV fpsetmask
33297 echo "$as_me:$LINENO: checking whether fpsetmask is present" >&5
33298 echo $ECHO_N "checking whether fpsetmask is present... $ECHO_C" >&6
33299 if test "${libgfor_cv_have_fpsetmask+set}" = set; then
33300 echo $ECHO_N "(cached) $ECHO_C" >&6
33303 if test x
$gcc_no_link = xyes
; then
33304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33306 { (exit 1); exit 1; }; }
33308 cat >conftest.
$ac_ext <<_ACEOF
33311 cat confdefs.h
>>conftest.
$ac_ext
33312 cat >>conftest.
$ac_ext <<_ACEOF
33313 /* end confdefs.h. */
33315 #if HAVE_FLOATINGPOINT_H
33316 # include <floatingpoint.h>
33317 #endif /* HAVE_FLOATINGPOINT_H */
33319 # include <ieeefp.h>
33320 #endif /* HAVE_IEEEFP_H */
33329 rm -f conftest.
$ac_objext conftest
$ac_exeext
33330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33331 (eval $ac_link) 2>conftest.er1
33333 grep -v '^ *+' conftest.er1
>conftest.err
33335 cat conftest.err
>&5
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); } &&
33338 { ac_try
='test -z "$ac_c_werror_flag"
33339 || test ! -s conftest.err'
33340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33341 (eval $ac_try) 2>&5
33343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33344 (exit $ac_status); }; } &&
33345 { ac_try
='test -s conftest$ac_exeext'
33346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33347 (eval $ac_try) 2>&5
33349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33350 (exit $ac_status); }; }; then
33351 eval "libgfor_cv_have_fpsetmask=yes"
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.
$ac_ext >&5
33356 eval "libgfor_cv_have_fpsetmask=no"
33358 rm -f conftest.err conftest.
$ac_objext \
33359 conftest
$ac_exeext conftest.
$ac_ext
33362 echo "$as_me:$LINENO: result: $libgfor_cv_have_fpsetmask" >&5
33363 echo "${ECHO_T}$libgfor_cv_have_fpsetmask" >&6
33364 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
33366 cat >>confdefs.h
<<\_ACEOF
33367 #define HAVE_FPSETMASK 1
33373 # Check for AIX fp_trap and fp_enable
33374 echo "$as_me:$LINENO: checking for fp_trap" >&5
33375 echo $ECHO_N "checking for fp_trap... $ECHO_C" >&6
33376 if test "${ac_cv_func_fp_trap+set}" = set; then
33377 echo $ECHO_N "(cached) $ECHO_C" >&6
33379 if test x
$gcc_no_link = xyes
; then
33380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33382 { (exit 1); exit 1; }; }
33384 cat >conftest.
$ac_ext <<_ACEOF
33387 cat confdefs.h
>>conftest.
$ac_ext
33388 cat >>conftest.
$ac_ext <<_ACEOF
33389 /* end confdefs.h. */
33390 /* Define fp_trap to an innocuous variant, in case <limits.h> declares fp_trap.
33391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33392 #define fp_trap innocuous_fp_trap
33394 /* System header to define __stub macros and hopefully few prototypes,
33395 which can conflict with char fp_trap (); below.
33396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33397 <limits.h> exists even on freestanding compilers. */
33400 # include <limits.h>
33402 # include <assert.h>
33407 /* Override any gcc2 internal prototype to avoid an error. */
33412 /* We use char because int might match the return type of a gcc2
33413 builtin and then its argument prototype would still apply. */
33415 /* The GNU C library defines this for functions which it implements
33416 to always fail with ENOSYS. Some functions are actually named
33417 something starting with __ and the normal name is an alias. */
33418 #if defined (__stub_fp_trap) || defined (__stub___fp_trap)
33421 char (*f) () = fp_trap;
33430 return f != fp_trap;
33435 rm -f conftest.
$ac_objext conftest
$ac_exeext
33436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33437 (eval $ac_link) 2>conftest.er1
33439 grep -v '^ *+' conftest.er1
>conftest.err
33441 cat conftest.err
>&5
33442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33443 (exit $ac_status); } &&
33444 { ac_try
='test -z "$ac_c_werror_flag"
33445 || test ! -s conftest.err'
33446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33447 (eval $ac_try) 2>&5
33449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33450 (exit $ac_status); }; } &&
33451 { ac_try
='test -s conftest$ac_exeext'
33452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33453 (eval $ac_try) 2>&5
33455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33456 (exit $ac_status); }; }; then
33457 ac_cv_func_fp_trap
=yes
33459 echo "$as_me: failed program was:" >&5
33460 sed 's/^/| /' conftest.
$ac_ext >&5
33462 ac_cv_func_fp_trap
=no
33464 rm -f conftest.err conftest.
$ac_objext \
33465 conftest
$ac_exeext conftest.
$ac_ext
33467 echo "$as_me:$LINENO: result: $ac_cv_func_fp_trap" >&5
33468 echo "${ECHO_T}$ac_cv_func_fp_trap" >&6
33469 if test $ac_cv_func_fp_trap = yes; then
33471 cat >>confdefs.h
<<\_ACEOF
33472 #define HAVE_FP_TRAP 1
33477 echo "$as_me:$LINENO: checking for fp_enable" >&5
33478 echo $ECHO_N "checking for fp_enable... $ECHO_C" >&6
33479 if test "${ac_cv_func_fp_enable+set}" = set; then
33480 echo $ECHO_N "(cached) $ECHO_C" >&6
33482 if test x
$gcc_no_link = xyes
; then
33483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33485 { (exit 1); exit 1; }; }
33487 cat >conftest.
$ac_ext <<_ACEOF
33490 cat confdefs.h
>>conftest.
$ac_ext
33491 cat >>conftest.
$ac_ext <<_ACEOF
33492 /* end confdefs.h. */
33493 /* Define fp_enable to an innocuous variant, in case <limits.h> declares fp_enable.
33494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33495 #define fp_enable innocuous_fp_enable
33497 /* System header to define __stub macros and hopefully few prototypes,
33498 which can conflict with char fp_enable (); below.
33499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33500 <limits.h> exists even on freestanding compilers. */
33503 # include <limits.h>
33505 # include <assert.h>
33510 /* Override any gcc2 internal prototype to avoid an error. */
33515 /* We use char because int might match the return type of a gcc2
33516 builtin and then its argument prototype would still apply. */
33518 /* The GNU C library defines this for functions which it implements
33519 to always fail with ENOSYS. Some functions are actually named
33520 something starting with __ and the normal name is an alias. */
33521 #if defined (__stub_fp_enable) || defined (__stub___fp_enable)
33524 char (*f) () = fp_enable;
33533 return f != fp_enable;
33538 rm -f conftest.
$ac_objext conftest
$ac_exeext
33539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33540 (eval $ac_link) 2>conftest.er1
33542 grep -v '^ *+' conftest.er1
>conftest.err
33544 cat conftest.err
>&5
33545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33546 (exit $ac_status); } &&
33547 { ac_try
='test -z "$ac_c_werror_flag"
33548 || test ! -s conftest.err'
33549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33550 (eval $ac_try) 2>&5
33552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33553 (exit $ac_status); }; } &&
33554 { ac_try
='test -s conftest$ac_exeext'
33555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33556 (eval $ac_try) 2>&5
33558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33559 (exit $ac_status); }; }; then
33560 ac_cv_func_fp_enable
=yes
33562 echo "$as_me: failed program was:" >&5
33563 sed 's/^/| /' conftest.
$ac_ext >&5
33565 ac_cv_func_fp_enable
=no
33567 rm -f conftest.err conftest.
$ac_objext \
33568 conftest
$ac_exeext conftest.
$ac_ext
33570 echo "$as_me:$LINENO: result: $ac_cv_func_fp_enable" >&5
33571 echo "${ECHO_T}$ac_cv_func_fp_enable" >&6
33572 if test $ac_cv_func_fp_enable = yes; then
33574 cat >>confdefs.h
<<\_ACEOF
33575 #define HAVE_FP_ENABLE 1
33581 # Runs configure.host to set up necessary host-dependent shell variables.
33582 # We then display a message about it, and propagate them through the
33584 .
${srcdir}/configure.
host
33585 { echo "$as_me:$LINENO: FPU dependent file will be ${fpu_host}.h" >&5
33586 echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
33587 FPU_HOST_HEADER
=config
/${fpu_host}.h
33590 # Check out attribute support.
33592 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
33593 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
33594 if test "${libgfor_cv_have_attribute_visibility+set}" = set; then
33595 echo $ECHO_N "(cached) $ECHO_C" >&6
33598 save_CFLAGS
="$CFLAGS"
33599 CFLAGS
="$CFLAGS -Werror"
33600 cat >conftest.
$ac_ext <<_ACEOF
33603 cat confdefs.h
>>conftest.
$ac_ext
33604 cat >>conftest.
$ac_ext <<_ACEOF
33605 /* end confdefs.h. */
33606 void __attribute__((visibility("hidden"))) foo(void) { }
33615 rm -f conftest.
$ac_objext
33616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33617 (eval $ac_compile) 2>conftest.er1
33619 grep -v '^ *+' conftest.er1
>conftest.err
33621 cat conftest.err
>&5
33622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33623 (exit $ac_status); } &&
33624 { ac_try
='test -z "$ac_c_werror_flag"
33625 || test ! -s conftest.err'
33626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33627 (eval $ac_try) 2>&5
33629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33630 (exit $ac_status); }; } &&
33631 { ac_try
='test -s conftest.$ac_objext'
33632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33633 (eval $ac_try) 2>&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); }; }; then
33637 libgfor_cv_have_attribute_visibility
=yes
33639 echo "$as_me: failed program was:" >&5
33640 sed 's/^/| /' conftest.
$ac_ext >&5
33642 libgfor_cv_have_attribute_visibility
=no
33644 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33645 CFLAGS
="$save_CFLAGS"
33647 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_visibility" >&5
33648 echo "${ECHO_T}$libgfor_cv_have_attribute_visibility" >&6
33649 if test $libgfor_cv_have_attribute_visibility = yes; then
33651 cat >>confdefs.h
<<\_ACEOF
33652 #define HAVE_ATTRIBUTE_VISIBILITY 1
33657 echo "$as_me:$LINENO: checking whether the target supports dllexport" >&5
33658 echo $ECHO_N "checking whether the target supports dllexport... $ECHO_C" >&6
33659 if test "${libgfor_cv_have_attribute_dllexport+set}" = set; then
33660 echo $ECHO_N "(cached) $ECHO_C" >&6
33663 save_CFLAGS
="$CFLAGS"
33664 CFLAGS
="$CFLAGS -Werror"
33665 cat >conftest.
$ac_ext <<_ACEOF
33668 cat confdefs.h
>>conftest.
$ac_ext
33669 cat >>conftest.
$ac_ext <<_ACEOF
33670 /* end confdefs.h. */
33671 void __attribute__((dllexport)) foo(void) { }
33680 rm -f conftest.
$ac_objext
33681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33682 (eval $ac_compile) 2>conftest.er1
33684 grep -v '^ *+' conftest.er1
>conftest.err
33686 cat conftest.err
>&5
33687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33688 (exit $ac_status); } &&
33689 { ac_try
='test -z "$ac_c_werror_flag"
33690 || test ! -s conftest.err'
33691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33692 (eval $ac_try) 2>&5
33694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695 (exit $ac_status); }; } &&
33696 { ac_try
='test -s conftest.$ac_objext'
33697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33698 (eval $ac_try) 2>&5
33700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33701 (exit $ac_status); }; }; then
33702 libgfor_cv_have_attribute_dllexport
=yes
33704 echo "$as_me: failed program was:" >&5
33705 sed 's/^/| /' conftest.
$ac_ext >&5
33707 libgfor_cv_have_attribute_dllexport
=no
33709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33710 CFLAGS
="$save_CFLAGS"
33712 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_dllexport" >&5
33713 echo "${ECHO_T}$libgfor_cv_have_attribute_dllexport" >&6
33714 if test $libgfor_cv_have_attribute_dllexport = yes; then
33716 cat >>confdefs.h
<<\_ACEOF
33717 #define HAVE_ATTRIBUTE_DLLEXPORT 1
33722 echo "$as_me:$LINENO: checking whether the target supports symbol aliases" >&5
33723 echo $ECHO_N "checking whether the target supports symbol aliases... $ECHO_C" >&6
33724 if test "${libgfor_cv_have_attribute_alias+set}" = set; then
33725 echo $ECHO_N "(cached) $ECHO_C" >&6
33728 if test x
$gcc_no_link = xyes
; then
33729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731 { (exit 1); exit 1; }; }
33733 cat >conftest.
$ac_ext <<_ACEOF
33736 cat confdefs.h
>>conftest.
$ac_ext
33737 cat >>conftest.
$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33741 extern void bar(void) __attribute__((alias("foo")));
33750 rm -f conftest.
$ac_objext conftest
$ac_exeext
33751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33752 (eval $ac_link) 2>conftest.er1
33754 grep -v '^ *+' conftest.er1
>conftest.err
33756 cat conftest.err
>&5
33757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33758 (exit $ac_status); } &&
33759 { ac_try
='test -z "$ac_c_werror_flag"
33760 || test ! -s conftest.err'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; } &&
33766 { ac_try
='test -s conftest$ac_exeext'
33767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33768 (eval $ac_try) 2>&5
33770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33771 (exit $ac_status); }; }; then
33772 libgfor_cv_have_attribute_alias
=yes
33774 echo "$as_me: failed program was:" >&5
33775 sed 's/^/| /' conftest.
$ac_ext >&5
33777 libgfor_cv_have_attribute_alias
=no
33779 rm -f conftest.err conftest.
$ac_objext \
33780 conftest
$ac_exeext conftest.
$ac_ext
33782 echo "$as_me:$LINENO: result: $libgfor_cv_have_attribute_alias" >&5
33783 echo "${ECHO_T}$libgfor_cv_have_attribute_alias" >&6
33784 if test $libgfor_cv_have_attribute_alias = yes; then
33786 cat >>confdefs.h
<<\_ACEOF
33787 #define HAVE_ATTRIBUTE_ALIAS 1
33792 # Check out sync builtins support.
33794 echo "$as_me:$LINENO: checking whether the target supports __sync_fetch_and_add" >&5
33795 echo $ECHO_N "checking whether the target supports __sync_fetch_and_add... $ECHO_C" >&6
33796 if test "${libgfor_cv_have_sync_fetch_and_add+set}" = set; then
33797 echo $ECHO_N "(cached) $ECHO_C" >&6
33800 if test x
$gcc_no_link = xyes
; then
33801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33803 { (exit 1); exit 1; }; }
33805 cat >conftest.
$ac_ext <<_ACEOF
33808 cat confdefs.h
>>conftest.
$ac_ext
33809 cat >>conftest.
$ac_ext <<_ACEOF
33810 /* end confdefs.h. */
33816 if (foovar <= 0) return __sync_fetch_and_add (&foovar, 1);
33817 if (foovar > 10) return __sync_add_and_fetch (&foovar, -1);
33822 rm -f conftest.
$ac_objext conftest
$ac_exeext
33823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33824 (eval $ac_link) 2>conftest.er1
33826 grep -v '^ *+' conftest.er1
>conftest.err
33828 cat conftest.err
>&5
33829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33830 (exit $ac_status); } &&
33831 { ac_try
='test -z "$ac_c_werror_flag"
33832 || test ! -s conftest.err'
33833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33834 (eval $ac_try) 2>&5
33836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33837 (exit $ac_status); }; } &&
33838 { ac_try
='test -s conftest$ac_exeext'
33839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33840 (eval $ac_try) 2>&5
33842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33843 (exit $ac_status); }; }; then
33844 libgfor_cv_have_sync_fetch_and_add
=yes
33846 echo "$as_me: failed program was:" >&5
33847 sed 's/^/| /' conftest.
$ac_ext >&5
33849 libgfor_cv_have_sync_fetch_and_add
=no
33851 rm -f conftest.err conftest.
$ac_objext \
33852 conftest
$ac_exeext conftest.
$ac_ext
33854 echo "$as_me:$LINENO: result: $libgfor_cv_have_sync_fetch_and_add" >&5
33855 echo "${ECHO_T}$libgfor_cv_have_sync_fetch_and_add" >&6
33856 if test $libgfor_cv_have_sync_fetch_and_add = yes; then
33858 cat >>confdefs.h
<<\_ACEOF
33859 #define HAVE_SYNC_FETCH_AND_ADD 1
33864 # Check out thread support.
33866 echo "$as_me:$LINENO: checking configured target thread model" >&5
33867 echo $ECHO_N "checking configured target thread model... $ECHO_C" >&6
33868 if test "${libgfor_cv_target_thread_file+set}" = set; then
33869 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 libgfor_cv_target_thread_file
=`$CC -v 2>&1 | sed -n 's/^Thread model: //p'`
33874 echo "$as_me:$LINENO: result: $libgfor_cv_target_thread_file" >&5
33875 echo "${ECHO_T}$libgfor_cv_target_thread_file" >&6
33877 if test $libgfor_cv_target_thread_file != single
; then
33879 cat >>confdefs.h
<<\_ACEOF
33880 #define HAVE_GTHR_DEFAULT 1
33885 # Check out #pragma weak.
33887 echo "$as_me:$LINENO: checking whether pragma weak works" >&5
33888 echo $ECHO_N "checking whether pragma weak works... $ECHO_C" >&6
33889 if test "${libgfor_cv_have_pragma_weak+set}" = set; then
33890 echo $ECHO_N "(cached) $ECHO_C" >&6
33893 gfor_save_CFLAGS
="$CFLAGS"
33894 CFLAGS
="$CFLAGS -Wunknown-pragmas"
33895 cat >conftest.
$ac_ext <<_ACEOF
33898 cat confdefs.h
>>conftest.
$ac_ext
33899 cat >>conftest.
$ac_ext <<_ACEOF
33900 /* end confdefs.h. */
33911 rm -f conftest.
$ac_objext
33912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33913 (eval $ac_compile) 2>conftest.er1
33915 grep -v '^ *+' conftest.er1
>conftest.err
33917 cat conftest.err
>&5
33918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33919 (exit $ac_status); } &&
33920 { ac_try
='test -z "$ac_c_werror_flag"
33921 || test ! -s conftest.err'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; } &&
33927 { ac_try
='test -s conftest.$ac_objext'
33928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33929 (eval $ac_try) 2>&5
33931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33932 (exit $ac_status); }; }; then
33933 libgfor_cv_have_pragma_weak
=yes
33935 echo "$as_me: failed program was:" >&5
33936 sed 's/^/| /' conftest.
$ac_ext >&5
33938 libgfor_cv_have_pragma_weak
=no
33940 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
33942 echo "$as_me:$LINENO: result: $libgfor_cv_have_pragma_weak" >&5
33943 echo "${ECHO_T}$libgfor_cv_have_pragma_weak" >&6
33944 if test $libgfor_cv_have_pragma_weak = yes; then
33946 cat >>confdefs.h
<<\_ACEOF
33947 #define SUPPORTS_WEAK 1
33952 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* )
33954 cat >>confdefs.h
<<\_ACEOF
33955 #define GTHREAD_USE_WEAK 0
33961 # Various other checks on target
33963 echo "$as_me:$LINENO: checking whether the target can unlink an open file" >&5
33964 echo $ECHO_N "checking whether the target can unlink an open file... $ECHO_C" >&6
33965 if test "${libgfor_cv_have_unlink_open_file+set}" = set; then
33966 echo $ECHO_N "(cached) $ECHO_C" >&6
33969 if test "$cross_compiling" = yes; then
33971 case "${target}" in
33972 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
33973 *) libgfor_cv_have_unlink_open_file
=yes;;
33976 cat >conftest.
$ac_ext <<_ACEOF
33979 cat confdefs.h
>>conftest.
$ac_ext
33980 cat >>conftest.
$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33985 #include <unistd.h>
33986 #include <sys/stat.h>
33992 fd = open ("testfile", O_RDWR | O_CREAT, S_IWRITE | S_IREAD);
33995 if (unlink ("testfile") == -1)
33997 write (fd, "This is a test\n", 15);
34000 if (open ("testfile", O_RDONLY, S_IWRITE | S_IREAD) == -1 && errno == ENOENT)
34006 rm -f conftest
$ac_exeext
34007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34008 (eval $ac_link) 2>&5
34010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34011 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013 (eval $ac_try) 2>&5
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); }; }; then
34017 libgfor_cv_have_unlink_open_file
=yes
34019 echo "$as_me: program exited with status $ac_status" >&5
34020 echo "$as_me: failed program was:" >&5
34021 sed 's/^/| /' conftest.
$ac_ext >&5
34023 ( exit $ac_status )
34024 libgfor_cv_have_unlink_open_file
=no
34026 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34029 echo "$as_me:$LINENO: result: $libgfor_cv_have_unlink_open_file" >&5
34030 echo "${ECHO_T}$libgfor_cv_have_unlink_open_file" >&6
34031 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
34033 cat >>confdefs.h
<<\_ACEOF
34034 #define HAVE_UNLINK_OPEN_FILE 1
34039 # Check whether line terminator is LF or CRLF
34041 echo "$as_me:$LINENO: checking whether the target has CRLF as line terminator" >&5
34042 echo $ECHO_N "checking whether the target has CRLF as line terminator... $ECHO_C" >&6
34043 if test "${libgfor_cv_have_crlf+set}" = set; then
34044 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 if test "$cross_compiling" = yes; then
34049 case "${target}" in
34050 *mingw
*) libgfor_cv_have_crlf
=yes ;;
34051 *) libgfor_cv_have_crlf
=no
;;
34054 cat >conftest.
$ac_ext <<_ACEOF
34057 cat confdefs.h
>>conftest.
$ac_ext
34058 cat >>conftest.
$ac_ext <<_ACEOF
34059 /* end confdefs.h. */
34061 /* This test program should exit with status 0 if system uses a CRLF as
34062 line terminator, and status 1 otherwise.
34063 Since it is used to check for mingw systems, and should return 0 in any
34064 other case, in case of a failure we will not use CRLF. */
34065 #include <sys/stat.h>
34066 #include <stdlib.h>
34078 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
34081 if (write (fd, "\n", 1) < 0)
34086 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
34088 bytes = read (fd, buff, 5);
34089 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
34096 rm -f conftest
$ac_exeext
34097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34098 (eval $ac_link) 2>&5
34100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34101 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
34102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34103 (eval $ac_try) 2>&5
34105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34106 (exit $ac_status); }; }; then
34107 libgfor_cv_have_crlf
=yes
34109 echo "$as_me: program exited with status $ac_status" >&5
34110 echo "$as_me: failed program was:" >&5
34111 sed 's/^/| /' conftest.
$ac_ext >&5
34113 ( exit $ac_status )
34114 libgfor_cv_have_crlf
=no
34116 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
34119 echo "$as_me:$LINENO: result: $libgfor_cv_have_crlf" >&5
34120 echo "${ECHO_T}$libgfor_cv_have_crlf" >&6
34121 if test x
"$libgfor_cv_have_crlf" = xyes
; then
34123 cat >>confdefs.h
<<\_ACEOF
34124 #define HAVE_CRLF 1
34129 cat >confcache
<<\_ACEOF
34130 # This file is a shell script that caches the results of configure
34131 # tests run on this system so they can be shared between configure
34132 # scripts and configure runs, see configure's option --config-cache.
34133 # It is not useful on other systems. If it contains results you don't
34134 # want to keep, you may remove or edit it.
34136 # config.status only pays attention to the cache file if you give it
34137 # the --recheck option to rerun configure.
34139 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34140 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34141 # following values.
34145 # The following way of writing the cache mishandles newlines in values,
34146 # but we know of no workaround that is simple, portable, and efficient.
34147 # So, don't put newlines in cache variables' values.
34148 # Ultrix sh set writes to stderr and can't be redirected directly,
34149 # and sets the high bit in the cache file unless we assign to the vars.
34152 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34154 # `set' does not quote correctly, so add quotes (double-quote
34155 # substitution turns \\\\ into \\, and sed turns \\ into \).
34158 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34161 # `set' quotes correctly as required by POSIX, so do not add quotes.
34163 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34170 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34172 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34174 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34175 if test -w $cache_file; then
34176 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34177 cat confcache
>$cache_file
34179 echo "not updating unwritable cache $cache_file"
34184 if test ${multilib} = yes; then
34185 multilib_arg
="--enable-multilib"
34190 # Write our Makefile.
34191 ac_config_files
="$ac_config_files Makefile"
34193 cat >confcache
<<\_ACEOF
34194 # This file is a shell script that caches the results of configure
34195 # tests run on this system so they can be shared between configure
34196 # scripts and configure runs, see configure's option --config-cache.
34197 # It is not useful on other systems. If it contains results you don't
34198 # want to keep, you may remove or edit it.
34200 # config.status only pays attention to the cache file if you give it
34201 # the --recheck option to rerun configure.
34203 # `ac_cv_env_foo' variables (set or unset) will be overridden when
34204 # loading this file, other *unset* `ac_cv_foo' will be assigned the
34205 # following values.
34209 # The following way of writing the cache mishandles newlines in values,
34210 # but we know of no workaround that is simple, portable, and efficient.
34211 # So, don't put newlines in cache variables' values.
34212 # Ultrix sh set writes to stderr and can't be redirected directly,
34213 # and sets the high bit in the cache file unless we assign to the vars.
34216 case `(ac_space=' '; set | grep ac_space) 2>&1` in
34218 # `set' does not quote correctly, so add quotes (double-quote
34219 # substitution turns \\\\ into \\, and sed turns \\ into \).
34222 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
34225 # `set' quotes correctly as required by POSIX, so do not add quotes.
34227 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
34234 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
34236 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
34238 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
34239 if test -w $cache_file; then
34240 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
34241 cat confcache
>$cache_file
34243 echo "not updating unwritable cache $cache_file"
34248 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
34249 # Let make expand exec_prefix.
34250 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
34252 # VPATH may cause trouble with some makes, so we remove $(srcdir),
34253 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
34254 # trailing colons and then remove the whole line if VPATH becomes empty
34255 # (actually we leave an empty line to preserve line numbers).
34256 if test "x$srcdir" = x.
; then
34257 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
34258 s/:*\$(srcdir):*/:/;
34259 s/:*\${srcdir}:*/:/;
34261 s/^\([^=]*=[ ]*\):*/\1/;
34267 DEFS
=-DHAVE_CONFIG_H
34271 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
34272 # 1. Remove the extension, and $U if already installed.
34273 ac_i
=`echo "$ac_i" |
34274 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
34276 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
34277 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
34279 LIBOBJS
=$ac_libobjs
34281 LTLIBOBJS
=$ac_ltlibobjs
34284 if test -z "${onestep_TRUE}" && test -z "${onestep_FALSE}"; then
34285 { { echo "$as_me:$LINENO: error: conditional \"onestep\" was never defined.
34286 Usually this means the macro was only invoked conditionally." >&5
34287 echo "$as_me: error: conditional \"onestep\" was never defined.
34288 Usually this means the macro was only invoked conditionally." >&2;}
34289 { (exit 1); exit 1; }; }
34291 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
34292 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
34293 Usually this means the macro was only invoked conditionally." >&5
34294 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
34295 Usually this means the macro was only invoked conditionally." >&2;}
34296 { (exit 1); exit 1; }; }
34298 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
34299 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
34300 Usually this means the macro was only invoked conditionally." >&5
34301 echo "$as_me: error: conditional \"AMDEP\" was never defined.
34302 Usually this means the macro was only invoked conditionally." >&2;}
34303 { (exit 1); exit 1; }; }
34305 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
34306 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
34307 Usually this means the macro was only invoked conditionally." >&5
34308 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
34309 Usually this means the macro was only invoked conditionally." >&2;}
34310 { (exit 1); exit 1; }; }
34312 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
34313 { { echo "$as_me:$LINENO: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34314 Usually this means the macro was only invoked conditionally." >&5
34315 echo "$as_me: error: conditional \"LIBGFOR_USE_SYMVER\" was never defined.
34316 Usually this means the macro was only invoked conditionally." >&2;}
34317 { (exit 1); exit 1; }; }
34320 : ${CONFIG_STATUS=./config.status}
34321 ac_clean_files_save
=$ac_clean_files
34322 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
34323 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
34324 echo "$as_me: creating $CONFIG_STATUS" >&6;}
34325 cat >$CONFIG_STATUS <<_ACEOF
34327 # Generated by $as_me.
34328 # Run this file to recreate the current configuration.
34329 # Compiler output produced by configure, useful for debugging
34330 # configure, is in config.log if it exists.
34333 ac_cs_recheck=false
34335 SHELL=\${CONFIG_SHELL-$SHELL}
34338 cat >>$CONFIG_STATUS <<\_ACEOF
34339 ## --------------------- ##
34340 ## M4sh Initialization. ##
34341 ## --------------------- ##
34343 # Be Bourne compatible
34344 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
34347 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
34348 # is contrary to our usage. Disable this feature.
34349 alias -g '${1+"$@"}'='"$@"'
34350 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
34353 DUALCASE
=1; export DUALCASE
# for MKS sh
34355 # Support unset when possible.
34356 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34363 # Work around bugs in pre-3.0 UWIN ksh.
34364 $as_unset ENV MAIL MAILPATH
34371 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
34372 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
34373 LC_TELEPHONE LC_TIME
34375 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
34376 eval $as_var=C
; export $as_var
34382 # Required to use basename.
34383 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34389 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
34390 as_basename
=basename
34396 # Name of the executable.
34397 as_me
=`$as_basename "$0" ||
34398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
34399 X"$0" : 'X\(//\)$' \| \
34400 X"$0" : 'X\(/\)$' \| \
34401 . : '\(.\)' 2>/dev/null ||
34403 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
34404 /^X\/\(\/\/\)$/{ s//\1/; q; }
34405 /^X\/\(\/\).*/{ s//\1/; q; }
34409 # PATH needs CR, and LINENO needs CR and PATH.
34410 # Avoid depending upon Character Ranges.
34411 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
34412 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34413 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
34414 as_cr_digits
='0123456789'
34415 as_cr_alnum
=$as_cr_Letters$as_cr_digits
34417 # The user is always right.
34418 if test "${PATH_SEPARATOR+set}" != set; then
34419 echo "#! /bin/sh" >conf$$.sh
34420 echo "exit 0" >>conf$$.sh
34422 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
34431 as_lineno_1
=$LINENO
34432 as_lineno_2
=$LINENO
34433 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
34434 test "x$as_lineno_1" != "x$as_lineno_2" &&
34435 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
34436 # Find who we are. Look in the path if we contain no path at all
34439 *[\\/]* ) as_myself
=$0 ;;
34440 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34441 for as_dir
in $PATH
34444 test -z "$as_dir" && as_dir
=.
34445 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
34450 # We did not find ourselves, most probably we were run as `sh COMMAND'
34451 # in which case we are not to be found in the path.
34452 if test "x$as_myself" = x
; then
34455 if test ! -f "$as_myself"; then
34456 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
34457 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
34458 { (exit 1); exit 1; }; }
34460 case $CONFIG_SHELL in
34462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
34463 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
34466 test -z "$as_dir" && as_dir
=.
34467 for as_base
in sh bash ksh sh5
; do
34470 if ("$as_dir/$as_base" -c '
34471 as_lineno_1=$LINENO
34472 as_lineno_2=$LINENO
34473 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
34474 test "x$as_lineno_1" != "x$as_lineno_2" &&
34475 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
34476 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
34477 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
34478 CONFIG_SHELL
=$as_dir/$as_base
34479 export CONFIG_SHELL
34480 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
34488 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
34489 # uniformly replaced by the line number. The first 'sed' inserts a
34490 # line-number line before each line; the second 'sed' does the real
34491 # work. The second script uses 'N' to pair each line-number line
34492 # with the numbered line, and appends trailing '-' during
34493 # substitution so that $LINENO is not a special case at line end.
34494 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
34495 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
34496 sed '=' <$as_myself |
34501 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
34504 s,^['$as_cr_digits']*\n,,
34505 ' >$as_me.lineno
&&
34506 chmod +x
$as_me.lineno ||
34507 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
34508 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
34509 { (exit 1); exit 1; }; }
34511 # Don't try to exec as it changes $[0], causing all sort of problems
34512 # (the dirname of $[0] is not the place where we might find the
34513 # original and so on. Autoconf is especially sensible to this).
34515 # Exit status is that of the last command.
34520 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
34521 *c
*,-n*) ECHO_N
= ECHO_C
='
34523 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
34524 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
34527 if expr a
: '\(a\)' >/dev
/null
2>&1; then
34533 rm -f conf$$ conf$$.exe conf$$.
file
34535 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
34536 # We could just check for DJGPP; but this test a) works b) is more generic
34537 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
34538 if test -f conf$$.exe
; then
34539 # Don't use ln at all; we don't have any links
34544 elif ln conf$$.
file conf$$
2>/dev
/null
; then
34549 rm -f conf$$ conf$$.exe conf$$.
file
34551 if mkdir
-p .
2>/dev
/null
; then
34554 test -d .
/-p && rmdir .
/-p
34558 as_executable_p
="test -f"
34560 # Sed expression to map a string onto a valid CPP name.
34561 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
34563 # Sed expression to map a string onto a valid variable name.
34564 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
34568 # We need space, tab and new line, in precisely that order.
34578 # Open the log real soon, to keep \$[0] and so on meaningful, and to
34579 # report actual input values of CONFIG_FILES etc. instead of their
34580 # values after options handling. Logging --version etc. is OK.
34584 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
34585 ## Running $as_me. ##
34590 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
34591 generated by GNU Autoconf 2.59. Invocation command line was
34593 CONFIG_FILES = $CONFIG_FILES
34594 CONFIG_HEADERS = $CONFIG_HEADERS
34595 CONFIG_LINKS = $CONFIG_LINKS
34596 CONFIG_COMMANDS = $CONFIG_COMMANDS
34600 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
34604 # Files that config.status was made for.
34605 if test -n "$ac_config_files"; then
34606 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
34609 if test -n "$ac_config_headers"; then
34610 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
34613 if test -n "$ac_config_links"; then
34614 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
34617 if test -n "$ac_config_commands"; then
34618 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
34621 cat >>$CONFIG_STATUS <<\_ACEOF
34624 \`$as_me' instantiates files from templates according to the
34625 current configuration.
34627 Usage: $0 [OPTIONS] [FILE]...
34629 -h, --help print this help, then exit
34630 -V, --version print version number, then exit
34631 -q, --quiet do not print progress messages
34632 -d, --debug don't remove temporary files
34633 --recheck update $as_me by reconfiguring in the same conditions
34634 --file=FILE[:TEMPLATE]
34635 instantiate the configuration file FILE
34636 --header=FILE[:TEMPLATE]
34637 instantiate the configuration header FILE
34639 Configuration files:
34642 Configuration headers:
34645 Configuration commands:
34648 Report bugs to <bug-autoconf@gnu.org>."
34651 cat >>$CONFIG_STATUS <<_ACEOF
34653 GNU Fortran Runtime Library config.status 0.3
34654 configured by $0, generated by GNU Autoconf 2.59,
34655 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
34657 Copyright (C) 2003 Free Software Foundation, Inc.
34658 This config.status script is free software; the Free Software Foundation
34659 gives unlimited permission to copy, distribute and modify it."
34664 cat >>$CONFIG_STATUS <<\_ACEOF
34665 # If no file are specified by the user, then we need to provide default
34666 # value. By we need to know if files were specified by the user.
34672 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
34673 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
34681 *) # This is not an option, so the user has probably given explicit
34684 ac_need_defaults
=false
;;
34688 # Handling of the options.
34690 cat >>$CONFIG_STATUS <<\_ACEOF
34691 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
34693 --version |
--vers* |
-V )
34694 echo "$ac_cs_version"; exit 0 ;;
34696 # Conflict between --help and --header
34697 { { echo "$as_me:$LINENO: error: ambiguous option: $1
34698 Try \`$0 --help' for more information." >&5
34699 echo "$as_me: error: ambiguous option: $1
34700 Try \`$0 --help' for more information." >&2;}
34701 { (exit 1); exit 1; }; };;
34702 --help |
--hel |
-h )
34703 echo "$ac_cs_usage"; exit 0 ;;
34704 --debug |
--d* |
-d )
34706 --file |
--fil |
--fi |
--f )
34708 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
34709 ac_need_defaults
=false
;;
34710 --header |
--heade |
--head |
--hea )
34712 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
34713 ac_need_defaults
=false
;;
34714 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
34715 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
34718 # This is an error.
34719 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
34720 Try \`$0 --help' for more information." >&5
34721 echo "$as_me: error: unrecognized option: $1
34722 Try \`$0 --help' for more information." >&2;}
34723 { (exit 1); exit 1; }; } ;;
34725 *) ac_config_targets
="$ac_config_targets $1" ;;
34731 ac_configure_extra_args
=
34733 if $ac_cs_silent; then
34735 ac_configure_extra_args
="$ac_configure_extra_args --silent"
34739 cat >>$CONFIG_STATUS <<_ACEOF
34740 if \$ac_cs_recheck; then
34741 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
34742 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
34747 cat >>$CONFIG_STATUS <<_ACEOF
34749 # INIT-COMMANDS section.
34756 with_multisubdir="$with_multisubdir"
34757 with_multisrctop="$with_multisrctop"
34758 with_target_subdir="$with_target_subdir"
34759 ac_configure_args="${multilib_arg} ${ac_configure_args}"
34760 multi_basedir="$multi_basedir"
34761 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
34763 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
34766 # The HP-UX ksh and POSIX shell print the target directory to stdout
34767 # if CDPATH is set.
34768 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
34770 sed_quote_subst='$sed_quote_subst'
34771 double_quote_subst='$double_quote_subst'
34772 delay_variable_subst='$delay_variable_subst'
34773 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
34774 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
34775 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
34776 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
34777 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
34778 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
34779 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
34780 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
34781 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
34782 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
34783 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
34784 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
34785 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
34786 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
34787 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
34788 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
34789 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
34790 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
34791 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
34792 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
34793 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
34794 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
34795 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
34796 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
34797 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
34798 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
34799 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
34800 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34801 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
34802 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
34803 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
34804 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
34805 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34806 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
34807 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
34808 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34809 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34810 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34811 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
34812 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
34813 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
34814 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
34815 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
34816 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
34817 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"`'
34818 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"`'
34819 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
34820 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
34821 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
34822 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
34823 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
34824 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
34825 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
34826 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
34827 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
34828 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
34829 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
34830 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
34831 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
34832 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
34833 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
34834 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
34835 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34836 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34837 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
34838 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
34839 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34840 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34841 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
34842 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34843 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34844 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34845 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34846 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34847 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34848 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
34849 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34850 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
34851 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
34852 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
34853 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
34854 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
34855 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
34856 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
34857 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34858 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
34859 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
34860 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
34861 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
34862 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
34863 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34864 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34865 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
34866 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34867 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
34868 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
34869 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
34870 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
34871 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
34872 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34873 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
34874 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
34875 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34876 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
34877 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
34878 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34879 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34880 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
34881 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
34882 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
34883 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34884 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
34885 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
34886 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
34887 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
34888 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
34889 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
34890 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
34891 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
34892 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34893 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
34894 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
34895 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
34896 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
34897 LD_FC='`$ECHO "X$LD_FC" | $Xsed -e "$delay_single_quote_subst"`'
34898 old_archive_cmds_FC='`$ECHO "X$old_archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34899 compiler_FC='`$ECHO "X$compiler_FC" | $Xsed -e "$delay_single_quote_subst"`'
34900 GCC_FC='`$ECHO "X$GCC_FC" | $Xsed -e "$delay_single_quote_subst"`'
34901 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "X$lt_prog_compiler_no_builtin_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34902 lt_prog_compiler_wl_FC='`$ECHO "X$lt_prog_compiler_wl_FC" | $Xsed -e "$delay_single_quote_subst"`'
34903 lt_prog_compiler_pic_FC='`$ECHO "X$lt_prog_compiler_pic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34904 lt_prog_compiler_static_FC='`$ECHO "X$lt_prog_compiler_static_FC" | $Xsed -e "$delay_single_quote_subst"`'
34905 lt_cv_prog_compiler_c_o_FC='`$ECHO "X$lt_cv_prog_compiler_c_o_FC" | $Xsed -e "$delay_single_quote_subst"`'
34906 archive_cmds_need_lc_FC='`$ECHO "X$archive_cmds_need_lc_FC" | $Xsed -e "$delay_single_quote_subst"`'
34907 enable_shared_with_static_runtimes_FC='`$ECHO "X$enable_shared_with_static_runtimes_FC" | $Xsed -e "$delay_single_quote_subst"`'
34908 export_dynamic_flag_spec_FC='`$ECHO "X$export_dynamic_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34909 whole_archive_flag_spec_FC='`$ECHO "X$whole_archive_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34910 compiler_needs_object_FC='`$ECHO "X$compiler_needs_object_FC" | $Xsed -e "$delay_single_quote_subst"`'
34911 old_archive_from_new_cmds_FC='`$ECHO "X$old_archive_from_new_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34912 old_archive_from_expsyms_cmds_FC='`$ECHO "X$old_archive_from_expsyms_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34913 archive_cmds_FC='`$ECHO "X$archive_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34914 archive_expsym_cmds_FC='`$ECHO "X$archive_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34915 module_cmds_FC='`$ECHO "X$module_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34916 module_expsym_cmds_FC='`$ECHO "X$module_expsym_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34917 with_gnu_ld_FC='`$ECHO "X$with_gnu_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34918 allow_undefined_flag_FC='`$ECHO "X$allow_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34919 no_undefined_flag_FC='`$ECHO "X$no_undefined_flag_FC" | $Xsed -e "$delay_single_quote_subst"`'
34920 hardcode_libdir_flag_spec_FC='`$ECHO "X$hardcode_libdir_flag_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34921 hardcode_libdir_flag_spec_ld_FC='`$ECHO "X$hardcode_libdir_flag_spec_ld_FC" | $Xsed -e "$delay_single_quote_subst"`'
34922 hardcode_libdir_separator_FC='`$ECHO "X$hardcode_libdir_separator_FC" | $Xsed -e "$delay_single_quote_subst"`'
34923 hardcode_direct_FC='`$ECHO "X$hardcode_direct_FC" | $Xsed -e "$delay_single_quote_subst"`'
34924 hardcode_direct_absolute_FC='`$ECHO "X$hardcode_direct_absolute_FC" | $Xsed -e "$delay_single_quote_subst"`'
34925 hardcode_minus_L_FC='`$ECHO "X$hardcode_minus_L_FC" | $Xsed -e "$delay_single_quote_subst"`'
34926 hardcode_shlibpath_var_FC='`$ECHO "X$hardcode_shlibpath_var_FC" | $Xsed -e "$delay_single_quote_subst"`'
34927 hardcode_automatic_FC='`$ECHO "X$hardcode_automatic_FC" | $Xsed -e "$delay_single_quote_subst"`'
34928 inherit_rpath_FC='`$ECHO "X$inherit_rpath_FC" | $Xsed -e "$delay_single_quote_subst"`'
34929 link_all_deplibs_FC='`$ECHO "X$link_all_deplibs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34930 fix_srcfile_path_FC='`$ECHO "X$fix_srcfile_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34931 always_export_symbols_FC='`$ECHO "X$always_export_symbols_FC" | $Xsed -e "$delay_single_quote_subst"`'
34932 export_symbols_cmds_FC='`$ECHO "X$export_symbols_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34933 exclude_expsyms_FC='`$ECHO "X$exclude_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34934 include_expsyms_FC='`$ECHO "X$include_expsyms_FC" | $Xsed -e "$delay_single_quote_subst"`'
34935 prelink_cmds_FC='`$ECHO "X$prelink_cmds_FC" | $Xsed -e "$delay_single_quote_subst"`'
34936 file_list_spec_FC='`$ECHO "X$file_list_spec_FC" | $Xsed -e "$delay_single_quote_subst"`'
34937 hardcode_action_FC='`$ECHO "X$hardcode_action_FC" | $Xsed -e "$delay_single_quote_subst"`'
34938 compiler_lib_search_dirs_FC='`$ECHO "X$compiler_lib_search_dirs_FC" | $Xsed -e "$delay_single_quote_subst"`'
34939 predep_objects_FC='`$ECHO "X$predep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34940 postdep_objects_FC='`$ECHO "X$postdep_objects_FC" | $Xsed -e "$delay_single_quote_subst"`'
34941 predeps_FC='`$ECHO "X$predeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34942 postdeps_FC='`$ECHO "X$postdeps_FC" | $Xsed -e "$delay_single_quote_subst"`'
34943 compiler_lib_search_path_FC='`$ECHO "X$compiler_lib_search_path_FC" | $Xsed -e "$delay_single_quote_subst"`'
34946 LTCFLAGS='$LTCFLAGS'
34947 compiler='$compiler_DEFAULT'
34949 # Quote evaled strings.
34961 deplibs_check_method \
34970 lt_cv_sys_global_symbol_pipe \
34971 lt_cv_sys_global_symbol_to_cdecl \
34972 lt_cv_sys_global_symbol_to_c_name_address \
34973 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
34976 lt_prog_compiler_no_builtin_flag \
34977 lt_prog_compiler_wl \
34978 lt_prog_compiler_pic \
34979 lt_prog_compiler_static \
34980 lt_cv_prog_compiler_c_o \
34988 export_dynamic_flag_spec \
34989 whole_archive_flag_spec \
34990 compiler_needs_object \
34992 allow_undefined_flag \
34993 no_undefined_flag \
34994 hardcode_libdir_flag_spec \
34995 hardcode_libdir_flag_spec_ld \
34996 hardcode_libdir_separator \
35001 variables_saved_for_relink \
35003 library_names_spec \
35008 compiler_lib_search_dirs \
35013 compiler_lib_search_path \
35016 lt_prog_compiler_no_builtin_flag_FC \
35017 lt_prog_compiler_wl_FC \
35018 lt_prog_compiler_pic_FC \
35019 lt_prog_compiler_static_FC \
35020 lt_cv_prog_compiler_c_o_FC \
35021 export_dynamic_flag_spec_FC \
35022 whole_archive_flag_spec_FC \
35023 compiler_needs_object_FC \
35025 allow_undefined_flag_FC \
35026 no_undefined_flag_FC \
35027 hardcode_libdir_flag_spec_FC \
35028 hardcode_libdir_flag_spec_ld_FC \
35029 hardcode_libdir_separator_FC \
35030 fix_srcfile_path_FC \
35031 exclude_expsyms_FC \
35032 include_expsyms_FC \
35033 file_list_spec_FC \
35034 compiler_lib_search_dirs_FC \
35035 predep_objects_FC \
35036 postdep_objects_FC \
35039 compiler_lib_search_path_FC; do
35040 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35041 *[\\\\\\\`\\"\\\$]*)
35042 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
35045 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35050 # Double-quote double-evaled strings.
35051 for var in reload_cmds \
35052 old_postinstall_cmds \
35053 old_postuninstall_cmds \
35055 extract_expsyms_cmds \
35056 old_archive_from_new_cmds \
35057 old_archive_from_expsyms_cmds \
35059 archive_expsym_cmds \
35061 module_expsym_cmds \
35062 export_symbols_cmds \
35065 postuninstall_cmds \
35067 sys_lib_search_path_spec \
35068 sys_lib_dlsearch_path_spec \
35069 old_archive_cmds_FC \
35070 old_archive_from_new_cmds_FC \
35071 old_archive_from_expsyms_cmds_FC \
35073 archive_expsym_cmds_FC \
35075 module_expsym_cmds_FC \
35076 export_symbols_cmds_FC \
35077 prelink_cmds_FC; do
35078 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
35079 *[\\\\\\\`\\"\\\$]*)
35080 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
35083 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
35088 # Fix-up fallback echo if it was mangled by the above quoting rules.
35090 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
35094 ac_aux_dir='$ac_aux_dir'
35095 xsi_shell='$xsi_shell'
35096 lt_shell_append='$lt_shell_append'
35098 # See if we are running on zsh, and set the options which allow our
35099 # commands through without removal of \ escapes INIT.
35100 if test -n "\${ZSH_VERSION+set}" ; then
35101 setopt NO_GLOB_SUBST
35107 TIMESTAMP='$TIMESTAMP'
35118 acx_cv_header_stdint="$acx_cv_header_stdint"
35119 acx_cv_type_int8_t="$acx_cv_type_int8_t"
35120 acx_cv_type_int16_t="$acx_cv_type_int16_t"
35121 acx_cv_type_int32_t="$acx_cv_type_int32_t"
35122 acx_cv_type_int64_t="$acx_cv_type_int64_t"
35123 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
35124 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
35125 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
35126 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
35127 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
35128 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
35129 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
35130 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
35131 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
35138 cat >>$CONFIG_STATUS <<\_ACEOF
35139 for ac_config_target
in $ac_config_targets
35141 case "$ac_config_target" in
35142 # Handling of arguments.
35143 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
35144 "default-1" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
35145 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
35146 "libtool" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
35147 "gstdint.h" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
35148 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
35149 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
35150 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
35151 { (exit 1); exit 1; }; };;
35155 # If the user did not use the arguments to specify the items to instantiate,
35156 # then the envvar interface is used. Set only those that are not.
35157 # We use the long form for the default assignment because of an extremely
35158 # bizarre bug on SunOS 4.1.3.
35159 if $ac_need_defaults; then
35160 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
35161 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
35162 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
35165 # Have a temporary directory for convenience. Make it in the build tree
35166 # simply because there is no reason to put it here, and in addition,
35167 # creating and moving files from /tmp can sometimes cause problems.
35168 # Create a temporary directory, and hook for its removal unless debugging.
35171 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
35172 trap '{ (exit 1); exit 1; }' 1 2 13 15
35175 # Create a (secure) tmp directory for tmp files.
35178 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
35179 test -n "$tmp" && test -d "$tmp"
35182 tmp
=.
/confstat$$
-$RANDOM
35183 (umask 077 && mkdir
$tmp)
35186 echo "$me: cannot create a temporary directory in ." >&2
35187 { (exit 1); exit 1; }
35192 cat >>$CONFIG_STATUS <<_ACEOF
35195 # CONFIG_FILES section.
35198 # No need to generate the scripts if there are no CONFIG_FILES.
35199 # This happens for instance when ./config.status config.h
35200 if test -n "\$CONFIG_FILES"; then
35201 # Protect against being on the right side of a sed subst in config.status.
35202 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
35203 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
35204 s,@SHELL@,$SHELL,;t t
35205 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
35206 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
35207 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
35208 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
35209 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
35210 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
35211 s,@exec_prefix@,$exec_prefix,;t t
35212 s,@prefix@,$prefix,;t t
35213 s,@program_transform_name@,$program_transform_name,;t t
35214 s,@bindir@,$bindir,;t t
35215 s,@sbindir@,$sbindir,;t t
35216 s,@libexecdir@,$libexecdir,;t t
35217 s,@datadir@,$datadir,;t t
35218 s,@sysconfdir@,$sysconfdir,;t t
35219 s,@sharedstatedir@,$sharedstatedir,;t t
35220 s,@localstatedir@,$localstatedir,;t t
35221 s,@libdir@,$libdir,;t t
35222 s,@includedir@,$includedir,;t t
35223 s,@oldincludedir@,$oldincludedir,;t t
35224 s,@infodir@,$infodir,;t t
35225 s,@mandir@,$mandir,;t t
35226 s,@build_alias@,$build_alias,;t t
35227 s,@host_alias@,$host_alias,;t t
35228 s,@target_alias@,$target_alias,;t t
35229 s,@DEFS@,$DEFS,;t t
35230 s,@ECHO_C@,$ECHO_C,;t t
35231 s,@ECHO_N@,$ECHO_N,;t t
35232 s,@ECHO_T@,$ECHO_T,;t t
35233 s,@LIBS@,$LIBS,;t t
35234 s,@build@,$build,;t t
35235 s,@build_cpu@,$build_cpu,;t t
35236 s,@build_vendor@,$build_vendor,;t t
35237 s,@build_os@,$build_os,;t t
35238 s,@build_libsubdir@,$build_libsubdir,;t t
35239 s,@build_subdir@,$build_subdir,;t t
35240 s,@host_subdir@,$host_subdir,;t t
35241 s,@target_subdir@,$target_subdir,;t t
35242 s,@onestep_TRUE@,$onestep_TRUE,;t t
35243 s,@onestep_FALSE@,$onestep_FALSE,;t t
35244 s,@onestep@,$onestep,;t t
35245 s,@host@,$host,;t t
35246 s,@host_cpu@,$host_cpu,;t t
35247 s,@host_vendor@,$host_vendor,;t t
35248 s,@host_os@,$host_os,;t t
35249 s,@target@,$target,;t t
35250 s,@target_cpu@,$target_cpu,;t t
35251 s,@target_vendor@,$target_vendor,;t t
35252 s,@target_os@,$target_os,;t t
35253 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
35254 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
35255 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
35256 s,@CYGPATH_W@,$CYGPATH_W,;t t
35257 s,@PACKAGE@,$PACKAGE,;t t
35258 s,@VERSION@,$VERSION,;t t
35259 s,@ACLOCAL@,$ACLOCAL,;t t
35260 s,@AUTOCONF@,$AUTOCONF,;t t
35261 s,@AUTOMAKE@,$AUTOMAKE,;t t
35262 s,@AUTOHEADER@,$AUTOHEADER,;t t
35263 s,@MAKEINFO@,$MAKEINFO,;t t
35264 s,@install_sh@,$install_sh,;t t
35265 s,@STRIP@,$STRIP,;t t
35266 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
35267 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
35268 s,@mkdir_p@,$mkdir_p,;t t
35270 s,@SET_MAKE@,$SET_MAKE,;t t
35271 s,@am__leading_dot@,$am__leading_dot,;t t
35272 s,@AMTAR@,$AMTAR,;t t
35273 s,@am__tar@,$am__tar,;t t
35274 s,@am__untar@,$am__untar,;t t
35275 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
35276 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
35277 s,@MAINT@,$MAINT,;t t
35278 s,@multi_basedir@,$multi_basedir,;t t
35279 s,@toolexecdir@,$toolexecdir,;t t
35280 s,@toolexeclibdir@,$toolexeclibdir,;t t
35282 s,@ac_ct_CC@,$ac_ct_CC,;t t
35283 s,@EXEEXT@,$EXEEXT,;t t
35284 s,@OBJEXT@,$OBJEXT,;t t
35285 s,@DEPDIR@,$DEPDIR,;t t
35286 s,@am__include@,$am__include,;t t
35287 s,@am__quote@,$am__quote,;t t
35288 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
35289 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
35290 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
35291 s,@CCDEPMODE@,$CCDEPMODE,;t t
35292 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
35293 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
35294 s,@AM_FCFLAGS@,$AM_FCFLAGS,;t t
35295 s,@AM_CFLAGS@,$AM_CFLAGS,;t t
35296 s,@CFLAGS@,$CFLAGS,;t t
35297 s,@LIBGFOR_USE_SYMVER_TRUE@,$LIBGFOR_USE_SYMVER_TRUE,;t t
35298 s,@LIBGFOR_USE_SYMVER_FALSE@,$LIBGFOR_USE_SYMVER_FALSE,;t t
35300 s,@ac_ct_AS@,$ac_ct_AS,;t t
35302 s,@ac_ct_AR@,$ac_ct_AR,;t t
35303 s,@RANLIB@,$RANLIB,;t t
35304 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
35305 s,@LIBTOOL@,$LIBTOOL,;t t
35307 s,@EGREP@,$EGREP,;t t
35308 s,@FGREP@,$FGREP,;t t
35309 s,@GREP@,$GREP,;t t
35311 s,@DUMPBIN@,$DUMPBIN,;t t
35312 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
35314 s,@LN_S@,$LN_S,;t t
35315 s,@OBJDUMP@,$OBJDUMP,;t t
35316 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
35317 s,@lt_ECHO@,$lt_ECHO,;t t
35318 s,@DSYMUTIL@,$DSYMUTIL,;t t
35319 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
35320 s,@NMEDIT@,$NMEDIT,;t t
35321 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
35322 s,@LIPO@,$LIPO,;t t
35323 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
35324 s,@OTOOL@,$OTOOL,;t t
35325 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
35326 s,@OTOOL64@,$OTOOL64,;t t
35327 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
35329 s,@CPPFLAGS@,$CPPFLAGS,;t t
35330 s,@enable_shared@,$enable_shared,;t t
35331 s,@enable_static@,$enable_static,;t t
35333 s,@FCFLAGS@,$FCFLAGS,;t t
35334 s,@LDFLAGS@,$LDFLAGS,;t t
35335 s,@ac_ct_FC@,$ac_ct_FC,;t t
35336 s,@extra_ldflags_libgfortran@,$extra_ldflags_libgfortran,;t t
35337 s,@FPU_HOST_HEADER@,$FPU_HOST_HEADER,;t t
35338 s,@LIBOBJS@,$LIBOBJS,;t t
35339 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
35344 cat >>$CONFIG_STATUS <<\_ACEOF
35345 # Split the substitutions into bite-sized pieces for seds with
35346 # small command number limits, like on Digital OSF/1 and HP-UX.
35347 ac_max_sed_lines
=48
35348 ac_sed_frag
=1 # Number of current file.
35349 ac_beg
=1 # First line for current file.
35350 ac_end
=$ac_max_sed_lines # Line after last line for current file.
35353 while $ac_more_lines; do
35354 if test $ac_beg -gt 1; then
35355 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35357 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
35359 if test ! -s $tmp/subs.frag
; then
35360 ac_more_lines
=false
35362 # The purpose of the label and of the branching condition is to
35363 # speed up the sed processing (if there are no `@' at all, there
35364 # is no need to browse any of the substitutions).
35365 # These are the two extra sed commands mentioned above.
35367 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
35368 if test -z "$ac_sed_cmds"; then
35369 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
35371 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
35373 ac_sed_frag
=`expr $ac_sed_frag + 1`
35375 ac_end
=`expr $ac_end + $ac_max_sed_lines`
35378 if test -z "$ac_sed_cmds"; then
35381 fi # test -n "$CONFIG_FILES"
35384 cat >>$CONFIG_STATUS <<\_ACEOF
35385 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
35386 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35388 - |
*:- |
*:-:* ) # input from stdin
35390 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35391 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35392 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35393 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35394 * ) ac_file_in
=$ac_file.
in ;;
35397 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
35398 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35399 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35400 X"$ac_file" : 'X\(//\)[^/]' \| \
35401 X"$ac_file" : 'X\(//\)$' \| \
35402 X"$ac_file" : 'X\(/\)' \| \
35403 . : '\(.\)' 2>/dev/null ||
35405 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35406 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35407 /^X\(\/\/\)$/{ s//\1/; q; }
35408 /^X\(\/\).*/{ s//\1/; q; }
35410 { if $as_mkdir_p; then
35415 while test ! -d "$as_dir"; do
35416 as_dirs
="$as_dir $as_dirs"
35417 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35418 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35419 X"$as_dir" : 'X\(//\)[^/]' \| \
35420 X"$as_dir" : 'X\(//\)$' \| \
35421 X"$as_dir" : 'X\(/\)' \| \
35422 . : '\(.\)' 2>/dev/null ||
35424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35425 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35426 /^X\(\/\/\)$/{ s//\1/; q; }
35427 /^X\(\/\).*/{ s//\1/; q; }
35430 test ! -n "$as_dirs" || mkdir
$as_dirs
35431 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35432 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35433 { (exit 1); exit 1; }; }; }
35437 if test "$ac_dir" != .
; then
35438 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35439 # A "../" for each directory in $ac_dir_suffix.
35440 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35442 ac_dir_suffix
= ac_top_builddir
=
35446 .
) # No --srcdir option. We are building in place.
35448 if test -z "$ac_top_builddir"; then
35451 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35453 [\\/]* | ?
:[\\/]* ) # Absolute path.
35454 ac_srcdir
=$srcdir$ac_dir_suffix;
35455 ac_top_srcdir
=$srcdir ;;
35456 *) # Relative path.
35457 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35458 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35461 # Do not use `cd foo && pwd` to compute absolute paths, because
35462 # the directories may not exist.
35464 .
) ac_abs_builddir
="$ac_dir";;
35467 .
) ac_abs_builddir
=`pwd`;;
35468 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
35469 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
35472 case $ac_abs_builddir in
35473 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
35475 case ${ac_top_builddir}.
in
35476 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
35477 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
35478 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
35481 case $ac_abs_builddir in
35482 .
) ac_abs_srcdir
=$ac_srcdir;;
35485 .
) ac_abs_srcdir
=$ac_abs_builddir;;
35486 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
35487 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
35490 case $ac_abs_builddir in
35491 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
35493 case $ac_top_srcdir in
35494 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
35495 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
35496 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
35502 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
35503 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
35506 if test x
"$ac_file" != x-
; then
35507 { echo "$as_me:$LINENO: creating $ac_file" >&5
35508 echo "$as_me: creating $ac_file" >&6;}
35511 # Let's still pretend it is `configure' which instantiates (i.e., don't
35512 # use $as_me), people would be surprised to read:
35513 # /* config.h. Generated by config.status. */
35514 if test x
"$ac_file" = x-
; then
35517 configure_input
="$ac_file. "
35519 configure_input
=$configure_input"Generated from `echo $ac_file_in |
35520 sed 's,.*/,,'` by configure."
35522 # First look for the input files in the build tree, otherwise in the
35524 ac_file_inputs
=`IFS=:
35525 for f in $ac_file_in; do
35527 -) echo $tmp/stdin ;;
35529 # Absolute (can't be DOS-style, as IFS=:)
35530 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35531 echo "$as_me: error: cannot find input file: $f" >&2;}
35532 { (exit 1); exit 1; }; }
35535 if test -f "$f"; then
35538 elif test -f "$srcdir/$f"; then
35543 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35544 echo "$as_me: error: cannot find input file: $f" >&2;}
35545 { (exit 1); exit 1; }; }
35548 done` ||
{ (exit 1); exit 1; }
35550 cat >>$CONFIG_STATUS <<_ACEOF
35554 cat >>$CONFIG_STATUS <<\_ACEOF
35556 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
35557 s
,@configure_input@
,$configure_input,;t t
35558 s
,@srcdir@
,$ac_srcdir,;t t
35559 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
35560 s
,@top_srcdir@
,$ac_top_srcdir,;t t
35561 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
35562 s
,@builddir@
,$ac_builddir,;t t
35563 s
,@abs_builddir@
,$ac_abs_builddir,;t t
35564 s
,@top_builddir@
,$ac_top_builddir,;t t
35565 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
35566 s
,@INSTALL@
,$ac_INSTALL,;t t
35567 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
35569 if test x"$ac_file" != x-; then
35570 mv $tmp/out $ac_file
35578 cat >>$CONFIG_STATUS <<\_ACEOF
35581 # CONFIG_HEADER section.
35584 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
35585 # NAME is the cpp macro being defined and VALUE is the value it is being given.
35587 # ac_d sets the value in "#define NAME VALUE" lines.
35588 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
35589 ac_dB
='[ ].*$,\1#\2'
35592 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
35593 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
35594 ac_uB
='$,\1#\2define\3'
35598 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
35599 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
35601 - |
*:- |
*:-:* ) # input from stdin
35603 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35604 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35605 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35606 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
35607 * ) ac_file_in
=$ac_file.
in ;;
35610 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
35611 echo "$as_me: creating $ac_file" >&6;}
35613 # First look for the input files in the build tree, otherwise in the
35615 ac_file_inputs
=`IFS=:
35616 for f in $ac_file_in; do
35618 -) echo $tmp/stdin ;;
35620 # Absolute (can't be DOS-style, as IFS=:)
35621 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35622 echo "$as_me: error: cannot find input file: $f" >&2;}
35623 { (exit 1); exit 1; }; }
35624 # Do quote $f, to prevent DOS paths from being IFS'd.
35627 if test -f "$f"; then
35630 elif test -f "$srcdir/$f"; then
35635 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
35636 echo "$as_me: error: cannot find input file: $f" >&2;}
35637 { (exit 1); exit 1; }; }
35640 done` ||
{ (exit 1); exit 1; }
35641 # Remove the trailing spaces.
35642 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
35646 # Transform confdefs.h into two sed scripts, `conftest.defines' and
35647 # `conftest.undefs', that substitutes the proper values into
35648 # config.h.in to produce config.h. The first handles `#define'
35649 # templates, and the second `#undef' templates.
35650 # And first: Protect against being on the right side of a sed subst in
35651 # config.status. Protect against being in an unquoted here document
35652 # in config.status.
35653 rm -f conftest.defines conftest.undefs
35654 # Using a here document instead of a string reduces the quoting nightmare.
35655 # Putting comments in sed scripts is not portable.
35657 # `end' is used to avoid that the second main sed command (meant for
35658 # 0-ary CPP macros) applies to n-ary macro definitions.
35659 # See the Autoconf documentation for `clear'.
35660 cat >confdef2sed.
sed <<\_ACEOF
35665 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
35667 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
35670 # If some macros were called several times there might be several times
35671 # the same #defines, which is useless. Nevertheless, we may not want to
35672 # sort them, since we want the *last* AC-DEFINE to be honored.
35673 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
35674 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
35675 rm -f confdef2sed.sed
35677 # This sed command replaces #undef with comments. This is necessary, for
35678 # example, in the case of _POSIX_SOURCE, which is predefined and required
35679 # on some systems where configure will not decide to define it.
35680 cat >>conftest.undefs <<\_ACEOF
35681 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
35684 # Break up conftest.defines because some shells have a limit on the size
35685 # of here documents, and old seds have small limits too (100 cmds).
35686 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
35687 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
35688 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
35689 echo ' :' >>$CONFIG_STATUS
35690 rm -f conftest.tail
35691 while grep . conftest.defines >/dev/null
35693 # Write a limited-size here document to $tmp/defines.sed.
35694 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
35695 # Speed up: don't consider the non `#define' lines.
35696 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
35697 # Work around the forget-to-reset-the-flag bug.
35698 echo 't clr' >>$CONFIG_STATUS
35699 echo ': clr' >>$CONFIG_STATUS
35700 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
35702 sed -f $tmp/defines.sed $tmp/in >$tmp/out
35704 mv $tmp/out $tmp/in
35706 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
35707 rm -f conftest.defines
35708 mv conftest.
tail conftest.defines
35710 rm -f conftest.defines
35711 echo ' fi # grep' >>$CONFIG_STATUS
35712 echo >>$CONFIG_STATUS
35714 # Break up conftest.undefs because some shells have a limit on the size
35715 # of here documents, and old seds have small limits too (100 cmds).
35716 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
35717 rm -f conftest.
tail
35718 while grep . conftest.undefs
>/dev
/null
35720 # Write a limited-size here document to $tmp/undefs.sed.
35721 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
35722 # Speed up: don't consider the non
`#undef'
35723 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
35724 # Work around the forget-to-reset-the-flag bug.
35725 echo 't clr' >>$CONFIG_STATUS
35726 echo ': clr' >>$CONFIG_STATUS
35727 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
35729 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
35731 mv $tmp/out $tmp/in
35733 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
35734 rm -f conftest.undefs
35735 mv conftest.tail conftest.undefs
35737 rm -f conftest.undefs
35739 cat >>$CONFIG_STATUS <<\_ACEOF
35740 # Let's still pretend it is `configure
' which instantiates (i.e., don't
35741 # use $as_me), people would be surprised to read:
35742 # /* config.h. Generated by config.status. */
35743 if test x
"$ac_file" = x-
; then
35744 echo "/* Generated by configure. */" >$tmp/config.h
35746 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
35748 cat $tmp/in >>$tmp/config.h
35750 if test x
"$ac_file" != x-
; then
35751 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
35752 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
35753 echo "$as_me: $ac_file is unchanged" >&6;}
35755 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
35756 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35757 X"$ac_file" : 'X\(//\)[^/]' \| \
35758 X"$ac_file" : 'X\(//\)$' \| \
35759 X"$ac_file" : 'X\(/\)' \| \
35760 . : '\(.\)' 2>/dev/null ||
35762 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35763 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35764 /^X\(\/\/\)$/{ s//\1/; q; }
35765 /^X\(\/\).*/{ s//\1/; q; }
35767 { if $as_mkdir_p; then
35772 while test ! -d "$as_dir"; do
35773 as_dirs
="$as_dir $as_dirs"
35774 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35776 X"$as_dir" : 'X\(//\)[^/]' \| \
35777 X"$as_dir" : 'X\(//\)$' \| \
35778 X"$as_dir" : 'X\(/\)' \| \
35779 . : '\(.\)' 2>/dev/null ||
35781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35782 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35783 /^X\(\/\/\)$/{ s//\1/; q; }
35784 /^X\(\/\).*/{ s//\1/; q; }
35787 test ! -n "$as_dirs" || mkdir
$as_dirs
35788 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35789 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35790 { (exit 1); exit 1; }; }; }
35793 mv $tmp/config.h
$ac_file
35797 rm -f $tmp/config.h
35799 # Compute $ac_file's index in $config_headers.
35801 for _am_header
in $config_headers :; do
35802 case $_am_header in
35803 $ac_file |
$ac_file:* )
35806 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
35809 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
35810 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35811 X$ac_file : 'X\(//\)[^/]' \| \
35812 X$ac_file : 'X\(//\)$' \| \
35813 X$ac_file : 'X\(/\)' \| \
35814 . : '\(.\)' 2>/dev/null ||
35816 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35817 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35818 /^X\(\/\/\)$/{ s//\1/; q; }
35819 /^X\(\/\).*/{ s//\1/; q; }
35820 s/.*/./; q'`/stamp-h
$_am_stamp_count
35823 cat >>$CONFIG_STATUS <<\_ACEOF
35826 # CONFIG_COMMANDS section.
35828 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
35829 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
35830 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
35831 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
35832 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35833 X"$ac_dest" : 'X\(//\)[^/]' \| \
35834 X"$ac_dest" : 'X\(//\)$' \| \
35835 X"$ac_dest" : 'X\(/\)' \| \
35836 . : '\(.\)' 2>/dev/null ||
35838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35839 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35840 /^X\(\/\/\)$/{ s//\1/; q; }
35841 /^X\(\/\).*/{ s//\1/; q; }
35843 { if $as_mkdir_p; then
35848 while test ! -d "$as_dir"; do
35849 as_dirs
="$as_dir $as_dirs"
35850 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
35851 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35852 X"$as_dir" : 'X\(//\)[^/]' \| \
35853 X"$as_dir" : 'X\(//\)$' \| \
35854 X"$as_dir" : 'X\(/\)' \| \
35855 . : '\(.\)' 2>/dev/null ||
35857 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35858 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35859 /^X\(\/\/\)$/{ s//\1/; q; }
35860 /^X\(\/\).*/{ s//\1/; q; }
35863 test ! -n "$as_dirs" || mkdir
$as_dirs
35864 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
35865 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
35866 { (exit 1); exit 1; }; }; }
35870 if test "$ac_dir" != .
; then
35871 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
35872 # A "../" for each directory in $ac_dir_suffix.
35873 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
35875 ac_dir_suffix
= ac_top_builddir
=
35879 .
) # No --srcdir option. We are building in place.
35881 if test -z "$ac_top_builddir"; then
35884 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
35886 [\\/]* | ?
:[\\/]* ) # Absolute path.
35887 ac_srcdir
=$srcdir$ac_dir_suffix;
35888 ac_top_srcdir
=$srcdir ;;
35889 *) # Relative path.
35890 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
35891 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
35894 # Do not use `cd foo && pwd` to compute absolute paths, because
35895 # the directories may not exist.
35897 .
) ac_abs_builddir
="$ac_dir";;
35900 .
) ac_abs_builddir
=`pwd`;;
35901 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
35902 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
35905 case $ac_abs_builddir in
35906 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
35908 case ${ac_top_builddir}.
in
35909 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
35910 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
35911 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
35914 case $ac_abs_builddir in
35915 .
) ac_abs_srcdir
=$ac_srcdir;;
35918 .
) ac_abs_srcdir
=$ac_abs_builddir;;
35919 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
35920 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
35923 case $ac_abs_builddir in
35924 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
35926 case $ac_top_srcdir in
35927 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
35928 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
35929 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
35934 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
35935 echo "$as_me: executing $ac_dest commands" >&6;}
35938 # Only add multilib support code if we just rebuilt the top-level
35940 case " $CONFIG_FILES " in
35942 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
35945 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
35946 # Strip MF so we end up with the name of the file.
35947 mf
=`echo "$mf" | sed -e 's/:.*$//'`
35948 # Check whether this is an Automake generated Makefile or not.
35949 # We used to match only the files named `Makefile.in', but
35950 # some people rename them; so instead we look at the file content.
35951 # Grep'ing the first line is not enough: some people post-process
35952 # each Makefile.in and add a new line on top of each file to say so.
35953 # So let's grep whole file.
35954 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
35955 dirpart
=`(dirname "$mf") 2>/dev/null ||
35956 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35957 X"$mf" : 'X\(//\)[^/]' \| \
35958 X"$mf" : 'X\(//\)$' \| \
35959 X"$mf" : 'X\(/\)' \| \
35960 . : '\(.\)' 2>/dev/null ||
35962 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35963 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35964 /^X\(\/\/\)$/{ s//\1/; q; }
35965 /^X\(\/\).*/{ s//\1/; q; }
35970 # Extract the definition of DEPDIR, am__include, and am__quote
35971 # from the Makefile without running `make'.
35972 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
35973 test -z "$DEPDIR" && continue
35974 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
35975 test -z "am__include" && continue
35976 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
35977 # When using ansi2knr, U may be empty or an underscore; expand it
35978 U
=`sed -n 's/^U = //p' < "$mf"`
35979 # Find all dependency output files, they are included files with
35980 # $(DEPDIR) in their names. We invoke sed twice because it is the
35981 # simplest approach to changing $(DEPDIR) to its actual value in the
35983 for file in `sed -n "
35984 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
35985 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
35986 # Make sure the directory exists.
35987 test -f "$dirpart/$file" && continue
35988 fdir
=`(dirname "$file") 2>/dev/null ||
35989 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
35990 X"$file" : 'X\(//\)[^/]' \| \
35991 X"$file" : 'X\(//\)$' \| \
35992 X"$file" : 'X\(/\)' \| \
35993 . : '\(.\)' 2>/dev/null ||
35995 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
35996 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
35997 /^X\(\/\/\)$/{ s//\1/; q; }
35998 /^X\(\/\).*/{ s//\1/; q; }
36000 { if $as_mkdir_p; then
36001 mkdir
-p $dirpart/$fdir
36003 as_dir
=$dirpart/$fdir
36005 while test ! -d "$as_dir"; do
36006 as_dirs
="$as_dir $as_dirs"
36007 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
36008 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
36009 X"$as_dir" : 'X\(//\)[^/]' \| \
36010 X"$as_dir" : 'X\(//\)$' \| \
36011 X"$as_dir" : 'X\(/\)' \| \
36012 . : '\(.\)' 2>/dev/null ||
36014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
36015 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
36016 /^X\(\/\/\)$/{ s//\1/; q; }
36017 /^X\(\/\).*/{ s//\1/; q; }
36020 test ! -n "$as_dirs" || mkdir
$as_dirs
36021 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
36022 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
36023 { (exit 1); exit 1; }; }; }
36025 # echo "creating $dirpart/$file"
36026 echo '# dummy' > "$dirpart/$file"
36032 # See if we are running on zsh, and set the options which allow our
36033 # commands through without removal of \ escapes.
36034 if test -n "${ZSH_VERSION+set}" ; then
36035 setopt NO_GLOB_SUBST
36038 cfgfile
="${ofile}T"
36039 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
36042 cat <<_LT_EOF >> "$cfgfile"
36045 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
36046 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
36047 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
36048 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
36050 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
36051 # 2006, 2007, 2008 Free Software Foundation, Inc.
36052 # Written by Gordon Matzigkeit, 1996
36054 # This file is part of GNU Libtool.
36056 # GNU Libtool is free software; you can redistribute it and/or
36057 # modify it under the terms of the GNU General Public License as
36058 # published by the Free Software Foundation; either version 2 of
36059 # the License, or (at your option) any later version.
36061 # As a special exception to the GNU General Public License,
36062 # if you distribute this file as part of a program or library that
36063 # is built using GNU Libtool, you may include this file under the
36064 # same distribution terms that you use for the rest of that program.
36066 # GNU Libtool is distributed in the hope that it will be useful,
36067 # but WITHOUT ANY WARRANTY; without even the implied warranty of
36068 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36069 # GNU General Public License for more details.
36071 # You should have received a copy of the GNU General Public License
36072 # along with GNU Libtool; see the file COPYING. If not, a copy
36073 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
36074 # obtained by writing to the Free Software Foundation, Inc.,
36075 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
36078 # The names of the tagged configurations supported by this script.
36079 available_tags="FC "
36081 # ### BEGIN LIBTOOL CONFIG
36083 # Which release of libtool.m4 was used?
36084 macro_version=$macro_version
36085 macro_revision=$macro_revision
36087 # Whether or not to build shared libraries.
36088 build_libtool_libs=$enable_shared
36090 # Whether or not to build static libraries.
36091 build_old_libs=$enable_static
36093 # What type of objects to build.
36096 # Whether or not to optimize for fast installation.
36097 fast_install=$enable_fast_install
36100 host_alias=$host_alias
36104 # The build system.
36105 build_alias=$build_alias
36109 # A sed program that does not truncate output.
36112 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
36113 Xsed="\$SED -e 1s/^X//"
36115 # A grep program that handles long lines.
36121 # A literal string matcher.
36124 # A BSD- or MS-compatible name lister.
36127 # Whether we need soft or hard links.
36130 # What is the maximum length of a command?
36131 max_cmd_len=$max_cmd_len
36133 # Object file suffix (normally "o").
36136 # Executable file suffix (normally "").
36139 # whether the shell understands "unset".
36142 # turn spaces into newlines.
36145 # turn newlines into spaces.
36148 # How to create reloadable object files.
36149 reload_flag=$lt_reload_flag
36150 reload_cmds=$lt_reload_cmds
36152 # An object symbol dumper.
36153 OBJDUMP=$lt_OBJDUMP
36155 # Method to check whether dependent libraries are shared objects.
36156 deplibs_check_method=$lt_deplibs_check_method
36158 # Command to use when deplibs_check_method == "file_magic".
36159 file_magic_cmd=$lt_file_magic_cmd
36163 AR_FLAGS=$lt_AR_FLAGS
36165 # A symbol stripping program.
36168 # Commands used to install an old-style archive.
36170 old_postinstall_cmds=$lt_old_postinstall_cmds
36171 old_postuninstall_cmds=$lt_old_postuninstall_cmds
36176 # LTCC compiler flags.
36177 LTCFLAGS=$lt_CFLAGS
36179 # Take the output of nm and produce a listing of raw symbols and C names.
36180 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
36182 # Transform the output of nm in a proper C declaration.
36183 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
36185 # Transform the output of nm in a C name address pair.
36186 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
36188 # Transform the output of nm in a C name address pair when lib prefix is needed.
36189 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
36191 # The name of the directory that contains temporary libtool files.
36194 # Shell to use when invoking shell scripts.
36197 # An echo program that does not interpret backslashes.
36200 # Used to examine libraries when file_magic_cmd begins with "file".
36201 MAGIC_CMD=$MAGIC_CMD
36203 # Must we lock files when doing compilation?
36204 need_locks=$lt_need_locks
36206 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
36207 DSYMUTIL=$lt_DSYMUTIL
36209 # Tool to change global to local symbols on Mac OS X.
36212 # Tool to manipulate fat objects and archives on Mac OS X.
36215 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
36218 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
36219 OTOOL64=$lt_OTOOL64
36221 # Old archive suffix (normally "a").
36224 # Shared library suffix (normally ".so").
36225 shrext_cmds=$lt_shrext_cmds
36227 # The commands to extract the exported symbol list from a shared archive.
36228 extract_expsyms_cmds=$lt_extract_expsyms_cmds
36230 # Variables whose values should be saved in libtool wrapper scripts and
36231 # restored at link time.
36232 variables_saved_for_relink=$lt_variables_saved_for_relink
36234 # Do we need the "lib" prefix for modules?
36235 need_lib_prefix=$need_lib_prefix
36237 # Do we need a version for libraries?
36238 need_version=$need_version
36240 # Library versioning type.
36241 version_type=$version_type
36243 # Shared library runtime path variable.
36244 runpath_var=$runpath_var
36246 # Shared library path variable.
36247 shlibpath_var=$shlibpath_var
36249 # Is shlibpath searched before the hard-coded library search path?
36250 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
36252 # Format of library name prefix.
36253 libname_spec=$lt_libname_spec
36255 # List of archive names. First name is the real one, the rest are links.
36256 # The last name is the one that the linker finds with -lNAME
36257 library_names_spec=$lt_library_names_spec
36259 # The coded name of the library, if different from the real name.
36260 soname_spec=$lt_soname_spec
36262 # Command to use after installation of a shared archive.
36263 postinstall_cmds=$lt_postinstall_cmds
36265 # Command to use after uninstallation of a shared archive.
36266 postuninstall_cmds=$lt_postuninstall_cmds
36268 # Commands used to finish a libtool library installation in a directory.
36269 finish_cmds=$lt_finish_cmds
36271 # As "finish_cmds", except a single script fragment to be evaled but
36273 finish_eval=$lt_finish_eval
36275 # Whether we should hardcode library paths into libraries.
36276 hardcode_into_libs=$hardcode_into_libs
36278 # Compile-time system search path for libraries.
36279 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
36281 # Run-time system search path for libraries.
36282 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
36284 # Whether dlopen is supported.
36285 dlopen_support=$enable_dlopen
36287 # Whether dlopen of programs is supported.
36288 dlopen_self=$enable_dlopen_self
36290 # Whether dlopen of statically linked programs is supported.
36291 dlopen_self_static=$enable_dlopen_self_static
36293 # Commands to strip libraries.
36294 old_striplib=$lt_old_striplib
36295 striplib=$lt_striplib
36298 # The linker used to build libraries.
36301 # Commands used to build an old-style archive.
36302 old_archive_cmds=$lt_old_archive_cmds
36304 # A language specific compiler.
36307 # Is the compiler the GNU compiler?
36310 # Compiler flag to turn off builtin functions.
36311 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
36313 # How to pass a linker flag through the compiler.
36314 wl=$lt_lt_prog_compiler_wl
36316 # Additional compiler flags for building library objects.
36317 pic_flag=$lt_lt_prog_compiler_pic
36319 # Compiler flag to prevent dynamic linking.
36320 link_static_flag=$lt_lt_prog_compiler_static
36322 # Does compiler simultaneously support -c and -o options?
36323 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
36325 # Whether or not to add -lc for building shared libraries.
36326 build_libtool_need_lc=$archive_cmds_need_lc
36328 # Whether or not to disallow shared libs when runtime libs are static.
36329 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
36331 # Compiler flag to allow reflexive dlopens.
36332 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
36334 # Compiler flag to generate shared objects directly from archives.
36335 whole_archive_flag_spec=$lt_whole_archive_flag_spec
36337 # Whether the compiler copes with passing no objects directly.
36338 compiler_needs_object=$lt_compiler_needs_object
36340 # Create an old-style archive from a shared archive.
36341 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
36343 # Create a temporary old-style archive to link instead of a shared archive.
36344 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
36346 # Commands used to build a shared archive.
36347 archive_cmds=$lt_archive_cmds
36348 archive_expsym_cmds=$lt_archive_expsym_cmds
36350 # Commands used to build a loadable module if different from building
36351 # a shared archive.
36352 module_cmds=$lt_module_cmds
36353 module_expsym_cmds=$lt_module_expsym_cmds
36355 # Whether we are building with GNU ld or not.
36356 with_gnu_ld=$lt_with_gnu_ld
36358 # Flag that allows shared libraries with undefined symbols to be built.
36359 allow_undefined_flag=$lt_allow_undefined_flag
36361 # Flag that enforces no undefined symbols.
36362 no_undefined_flag=$lt_no_undefined_flag
36364 # Flag to hardcode \$libdir into a binary during linking.
36365 # This must work even if \$libdir does not exist
36366 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
36368 # If ld is used when linking, flag to hardcode \$libdir into a binary
36369 # during linking. This must work even if \$libdir does not exist.
36370 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
36372 # Whether we need a single "-rpath" flag with a separated argument.
36373 hardcode_libdir_separator=$lt_hardcode_libdir_separator
36375 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36376 # DIR into the resulting binary.
36377 hardcode_direct=$hardcode_direct
36379 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36380 # DIR into the resulting binary and the resulting library dependency is
36381 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36382 # library is relocated.
36383 hardcode_direct_absolute=$hardcode_direct_absolute
36385 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36386 # into the resulting binary.
36387 hardcode_minus_L=$hardcode_minus_L
36389 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36390 # into the resulting binary.
36391 hardcode_shlibpath_var=$hardcode_shlibpath_var
36393 # Set to "yes" if building a shared library automatically hardcodes DIR
36394 # into the library and all subsequent libraries and executables linked
36396 hardcode_automatic=$hardcode_automatic
36398 # Set to yes if linker adds runtime paths of dependent libraries
36399 # to runtime path list.
36400 inherit_rpath=$inherit_rpath
36402 # Whether libtool must link a program against all its dependency libraries.
36403 link_all_deplibs=$link_all_deplibs
36405 # Fix the shell variable \$srcfile for the compiler.
36406 fix_srcfile_path=$lt_fix_srcfile_path
36408 # Set to "yes" if exported symbols are required.
36409 always_export_symbols=$always_export_symbols
36411 # The commands to list exported symbols.
36412 export_symbols_cmds=$lt_export_symbols_cmds
36414 # Symbols that should not be listed in the preloaded symbols.
36415 exclude_expsyms=$lt_exclude_expsyms
36417 # Symbols that must always be exported.
36418 include_expsyms=$lt_include_expsyms
36420 # Commands necessary for linking programs (against libraries) with templates.
36421 prelink_cmds=$lt_prelink_cmds
36423 # Specify filename containing input files.
36424 file_list_spec=$lt_file_list_spec
36426 # How to hardcode a shared library path into an executable.
36427 hardcode_action=$hardcode_action
36429 # The directories searched by this compiler when creating a shared library.
36430 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
36432 # Dependencies to place before and after the objects being linked to
36433 # create a shared library.
36434 predep_objects=$lt_predep_objects
36435 postdep_objects=$lt_postdep_objects
36436 predeps=$lt_predeps
36437 postdeps=$lt_postdeps
36439 # The library search path used internally by the compiler when linking
36440 # a shared library.
36441 compiler_lib_search_path=$lt_compiler_lib_search_path
36443 # ### END LIBTOOL CONFIG
36449 cat <<\_LT_EOF
>> "$cfgfile"
36450 # AIX sometimes has problems with the GCC collect2 program. For some
36451 # reason, if we set the COLLECT_NAMES environment variable, the problems
36452 # vanish in a puff of smoke.
36453 if test "X${COLLECT_NAMES+set}" != Xset
; then
36455 export COLLECT_NAMES
36462 ltmain
="$ac_aux_dir/ltmain.sh"
36465 # We use sed instead of cat because bash on DJGPP gets confused if
36466 # if finds mixed CR/LF and LF-only lines. Since sed operates in
36467 # text mode, it properly converts lines to CR/LF. This bash problem
36468 # is reportedly fixed, but why not run on old versions too?
36469 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
36470 ||
(rm -f "$cfgfile"; exit 1)
36474 cat << \_LT_EOF
>> "$cfgfile"
36476 # func_dirname file append nondir_replacement
36477 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36478 # otherwise set result to NONDIR_REPLACEMENT.
36482 */*) func_dirname_result
="${1%/*}${2}" ;;
36483 * ) func_dirname_result
="${3}" ;;
36487 # func_basename file
36490 func_basename_result
="${1##*/}"
36493 # func_dirname_and_basename file append nondir_replacement
36494 # perform func_basename and func_dirname in a single function
36496 # dirname: Compute the dirname of FILE. If nonempty,
36497 # add APPEND to the result, otherwise set result
36498 # to NONDIR_REPLACEMENT.
36499 # value returned in "$func_dirname_result"
36500 # basename: Compute filename of FILE.
36501 # value retuned in "$func_basename_result"
36502 # Implementation must be kept synchronized with func_dirname
36503 # and func_basename. For efficiency, we do not delegate to
36504 # those functions but instead duplicate the functionality here.
36505 func_dirname_and_basename
()
36508 */*) func_dirname_result
="${1%/*}${2}" ;;
36509 * ) func_dirname_result
="${3}" ;;
36511 func_basename_result
="${1##*/}"
36514 # func_stripname prefix suffix name
36515 # strip PREFIX and SUFFIX off of NAME.
36516 # PREFIX and SUFFIX must not contain globbing or regex special
36517 # characters, hashes, percent signs, but SUFFIX may contain a leading
36518 # dot (in which case that matches only a dot).
36521 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
36522 # positional parameters, so assign one to ordinary parameter first.
36523 func_stripname_result
=${3}
36524 func_stripname_result
=${func_stripname_result#"${1}"}
36525 func_stripname_result
=${func_stripname_result%"${2}"}
36531 func_opt_split_opt
=${1%%=*}
36532 func_opt_split_arg
=${1#*=}
36539 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
36540 *) func_lo2o_result
=${1} ;;
36544 # func_xform libobj-or-source
36547 func_xform_result
=${1%.*}.lo
36550 # func_arith arithmetic-term...
36553 func_arith_result
=$
(( $
* ))
36557 # STRING may not start with a hyphen.
36560 func_len_result
=${#1}
36565 *) # Bourne compatible functions.
36566 cat << \_LT_EOF
>> "$cfgfile"
36568 # func_dirname file append nondir_replacement
36569 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
36570 # otherwise set result to NONDIR_REPLACEMENT.
36573 # Extract subdirectory from the argument.
36574 func_dirname_result
=`$ECHO "X${1}" | $Xsed -e "$dirname"`
36575 if test "X$func_dirname_result" = "X${1}"; then
36576 func_dirname_result
="${3}"
36578 func_dirname_result
="$func_dirname_result${2}"
36582 # func_basename file
36585 func_basename_result
=`$ECHO "X${1}" | $Xsed -e "$basename"`
36589 # func_stripname prefix suffix name
36590 # strip PREFIX and SUFFIX off of NAME.
36591 # PREFIX and SUFFIX must not contain globbing or regex special
36592 # characters, hashes, percent signs, but SUFFIX may contain a leading
36593 # dot (in which case that matches only a dot).
36594 # func_strip_suffix prefix name
36598 .
*) func_stripname_result
=`$ECHO "X${3}" \
36599 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
36600 *) func_stripname_result
=`$ECHO "X${3}" \
36601 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
36606 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
36607 my_sed_long_arg
='1s/^-[^=]*=//'
36612 func_opt_split_opt
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
36613 func_opt_split_arg
=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
36619 func_lo2o_result
=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
36622 # func_xform libobj-or-source
36625 func_xform_result
=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
36628 # func_arith arithmetic-term...
36631 func_arith_result
=`expr "$@"`
36635 # STRING may not start with a hyphen.
36638 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
36644 case $lt_shell_append in
36646 cat << \_LT_EOF
>> "$cfgfile"
36648 # func_append var value
36649 # Append VALUE to the end of shell variable VAR.
36657 cat << \_LT_EOF
>> "$cfgfile"
36659 # func_append var value
36660 # Append VALUE to the end of shell variable VAR.
36671 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
36672 ||
(rm -f "$cfgfile"; exit 1)
36674 mv -f "$cfgfile" "$ofile" ||
36675 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
36679 cat <<_LT_EOF >> "$ofile"
36681 # ### BEGIN LIBTOOL TAG CONFIG: FC
36683 # The linker used to build libraries.
36686 # Commands used to build an old-style archive.
36687 old_archive_cmds=$lt_old_archive_cmds_FC
36689 # A language specific compiler.
36692 # Is the compiler the GNU compiler?
36695 # Compiler flag to turn off builtin functions.
36696 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
36698 # How to pass a linker flag through the compiler.
36699 wl=$lt_lt_prog_compiler_wl_FC
36701 # Additional compiler flags for building library objects.
36702 pic_flag=$lt_lt_prog_compiler_pic_FC
36704 # Compiler flag to prevent dynamic linking.
36705 link_static_flag=$lt_lt_prog_compiler_static_FC
36707 # Does compiler simultaneously support -c and -o options?
36708 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
36710 # Whether or not to add -lc for building shared libraries.
36711 build_libtool_need_lc=$archive_cmds_need_lc_FC
36713 # Whether or not to disallow shared libs when runtime libs are static.
36714 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
36716 # Compiler flag to allow reflexive dlopens.
36717 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
36719 # Compiler flag to generate shared objects directly from archives.
36720 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
36722 # Whether the compiler copes with passing no objects directly.
36723 compiler_needs_object=$lt_compiler_needs_object_FC
36725 # Create an old-style archive from a shared archive.
36726 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
36728 # Create a temporary old-style archive to link instead of a shared archive.
36729 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
36731 # Commands used to build a shared archive.
36732 archive_cmds=$lt_archive_cmds_FC
36733 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
36735 # Commands used to build a loadable module if different from building
36736 # a shared archive.
36737 module_cmds=$lt_module_cmds_FC
36738 module_expsym_cmds=$lt_module_expsym_cmds_FC
36740 # Whether we are building with GNU ld or not.
36741 with_gnu_ld=$lt_with_gnu_ld_FC
36743 # Flag that allows shared libraries with undefined symbols to be built.
36744 allow_undefined_flag=$lt_allow_undefined_flag_FC
36746 # Flag that enforces no undefined symbols.
36747 no_undefined_flag=$lt_no_undefined_flag_FC
36749 # Flag to hardcode \$libdir into a binary during linking.
36750 # This must work even if \$libdir does not exist
36751 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
36753 # If ld is used when linking, flag to hardcode \$libdir into a binary
36754 # during linking. This must work even if \$libdir does not exist.
36755 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
36757 # Whether we need a single "-rpath" flag with a separated argument.
36758 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
36760 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36761 # DIR into the resulting binary.
36762 hardcode_direct=$hardcode_direct_FC
36764 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
36765 # DIR into the resulting binary and the resulting library dependency is
36766 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
36767 # library is relocated.
36768 hardcode_direct_absolute=$hardcode_direct_absolute_FC
36770 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
36771 # into the resulting binary.
36772 hardcode_minus_L=$hardcode_minus_L_FC
36774 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
36775 # into the resulting binary.
36776 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
36778 # Set to "yes" if building a shared library automatically hardcodes DIR
36779 # into the library and all subsequent libraries and executables linked
36781 hardcode_automatic=$hardcode_automatic_FC
36783 # Set to yes if linker adds runtime paths of dependent libraries
36784 # to runtime path list.
36785 inherit_rpath=$inherit_rpath_FC
36787 # Whether libtool must link a program against all its dependency libraries.
36788 link_all_deplibs=$link_all_deplibs_FC
36790 # Fix the shell variable \$srcfile for the compiler.
36791 fix_srcfile_path=$lt_fix_srcfile_path_FC
36793 # Set to "yes" if exported symbols are required.
36794 always_export_symbols=$always_export_symbols_FC
36796 # The commands to list exported symbols.
36797 export_symbols_cmds=$lt_export_symbols_cmds_FC
36799 # Symbols that should not be listed in the preloaded symbols.
36800 exclude_expsyms=$lt_exclude_expsyms_FC
36802 # Symbols that must always be exported.
36803 include_expsyms=$lt_include_expsyms_FC
36805 # Commands necessary for linking programs (against libraries) with templates.
36806 prelink_cmds=$lt_prelink_cmds_FC
36808 # Specify filename containing input files.
36809 file_list_spec=$lt_file_list_spec_FC
36811 # How to hardcode a shared library path into an executable.
36812 hardcode_action=$hardcode_action_FC
36814 # The directories searched by this compiler when creating a shared library.
36815 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
36817 # Dependencies to place before and after the objects being linked to
36818 # create a shared library.
36819 predep_objects=$lt_predep_objects_FC
36820 postdep_objects=$lt_postdep_objects_FC
36821 predeps=$lt_predeps_FC
36822 postdeps=$lt_postdeps_FC
36824 # The library search path used internally by the compiler when linking
36825 # a shared library.
36826 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
36828 # ### END LIBTOOL TAG CONFIG: FC
36833 if test "$GCC" = yes; then
36834 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
36836 echo "/* generated for $CC */" > tmp-stdint.h
36839 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36841 #ifndef GCC_GENERATED_STDINT_H
36842 #define GCC_GENERATED_STDINT_H 1
36844 #include <sys/types.h>
36847 if test "$acx_cv_header_stdint" != stdint.h
; then
36848 echo "#include <stddef.h>" >> tmp-stdint.h
36850 if test "$acx_cv_header_stdint" != stddef.h
; then
36851 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
36854 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36855 /* glibc uses these symbols as guards to prevent redefinitions. */
36856 #ifdef __int8_t_defined
36861 #ifdef __uint32_t_defined
36867 # ----------------- done header, emit basic int types -------------
36868 if test "$acx_cv_header_stdint" = stddef.h
; then
36869 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36873 #ifndef __uint8_t_defined
36874 #define __uint8_t_defined
36875 typedef unsigned $acx_cv_type_int8_t uint8_t;
36881 #ifndef __uint16_t_defined
36882 #define __uint16_t_defined
36883 typedef unsigned $acx_cv_type_int16_t uint16_t;
36889 #ifndef __uint32_t_defined
36890 #define __uint32_t_defined
36891 typedef unsigned $acx_cv_type_int32_t uint32_t;
36897 #ifndef __int8_t_defined
36898 #define __int8_t_defined
36899 typedef $acx_cv_type_int8_t int8_t;
36905 #ifndef __int16_t_defined
36906 #define __int16_t_defined
36907 typedef $acx_cv_type_int16_t int16_t;
36913 #ifndef __int32_t_defined
36914 #define __int32_t_defined
36915 typedef $acx_cv_type_int32_t int32_t;
36919 elif test "$ac_cv_type_u_int32_t" = yes; then
36920 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36922 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
36935 #ifndef __uint8_t_defined
36936 #define __uint8_t_defined
36937 typedef u_int8_t uint8_t;
36943 #ifndef __uint16_t_defined
36944 #define __uint16_t_defined
36945 typedef u_int16_t uint16_t;
36951 #ifndef __uint32_t_defined
36952 #define __uint32_t_defined
36953 typedef u_int32_t uint32_t;
36958 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36960 /* Some systems have guard macros to prevent redefinitions, define them. */
36982 # ------------- done basic int types, emit int64_t types ------------
36983 if test "$ac_cv_type_uint64_t" = yes; then
36984 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36986 /* system headers have good uint64_t and int64_t */
36994 elif test "$ac_cv_type_u_int64_t" = yes; then
36995 sed 's/^ *//' >> tmp-stdint.h
<<EOF
36997 /* system headers have an u_int64_t (and int64_t) */
37003 #ifndef __uint64_t_defined
37004 #define __uint64_t_defined
37005 typedef u_int64_t uint64_t;
37009 elif test -n "$acx_cv_type_int64_t"; then
37010 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37012 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
37015 typedef $acx_cv_type_int64_t int64_t;
37019 #ifndef __uint64_t_defined
37020 #define __uint64_t_defined
37021 typedef unsigned $acx_cv_type_int64_t uint64_t;
37026 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37028 /* some common heuristics for int64_t, using compiler-specific tests */
37029 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
37032 #ifndef __int64_t_defined
37033 typedef long long int64_t;
37038 typedef unsigned long long uint64_t;
37041 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
37042 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
37043 does not implement __extension__. But that compiler doesn't define
37045 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
37046 # define __extension__
37051 __extension__ typedef long long int64_t;
37055 __extension__ typedef unsigned long long uint64_t;
37058 #elif !defined __STRICT_ANSI__
37059 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
37063 typedef __int64 int64_t;
37067 typedef unsigned __int64 uint64_t;
37069 # endif /* compiler */
37071 #endif /* ANSI version */
37075 # ------------- done int64_t types, emit intptr types ------------
37076 if test "$ac_cv_type_uintptr_t" != yes; then
37077 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37079 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
37080 #ifndef __uintptr_t_defined
37081 typedef u$acx_cv_type_intptr_t uintptr_t;
37083 #ifndef __intptr_t_defined
37084 typedef $acx_cv_type_intptr_t intptr_t;
37089 # ------------- done intptr types, emit int_least types ------------
37090 if test "$ac_cv_type_int_least32_t" != yes; then
37091 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37093 /* Define int_least types */
37094 typedef int8_t int_least8_t;
37095 typedef int16_t int_least16_t;
37096 typedef int32_t int_least32_t;
37098 typedef int64_t int_least64_t;
37101 typedef uint8_t uint_least8_t;
37102 typedef uint16_t uint_least16_t;
37103 typedef uint32_t uint_least32_t;
37105 typedef uint64_t uint_least64_t;
37110 # ------------- done intptr types, emit int_fast types ------------
37111 if test "$ac_cv_type_int_fast32_t" != yes; then
37112 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37114 /* Define int_fast types. short is often slow */
37115 typedef int8_t int_fast8_t;
37116 typedef int int_fast16_t;
37117 typedef int32_t int_fast32_t;
37119 typedef int64_t int_fast64_t;
37122 typedef uint8_t uint_fast8_t;
37123 typedef unsigned int uint_fast16_t;
37124 typedef uint32_t uint_fast32_t;
37126 typedef uint64_t uint_fast64_t;
37131 if test "$ac_cv_type_uintmax_t" != yes; then
37132 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37134 /* Define intmax based on what we found */
37136 typedef int64_t intmax_t;
37138 typedef long intmax_t;
37141 typedef uint64_t uintmax_t;
37143 typedef unsigned long uintmax_t;
37148 sed 's/^ *//' >> tmp-stdint.h
<<EOF
37150 #endif /* GCC_GENERATED_STDINT_H */
37153 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
37156 mv -f tmp-stdint.h gstdint.h
37164 cat >>$CONFIG_STATUS <<\_ACEOF
37166 { (exit 0); exit 0; }
37168 chmod +x
$CONFIG_STATUS
37169 ac_clean_files
=$ac_clean_files_save
37172 # configure is writing to config.log, and then calls config.status.
37173 # config.status does its own redirection, appending to config.log.
37174 # Unfortunately, on DOS this fails, as config.log is still kept open
37175 # by configure, so config.status won't be able to write to it; its
37176 # output is simply discarded. So we exec the FD to /dev/null,
37177 # effectively closing config.log, so it can be properly (re)opened and
37178 # appended to by config.status. When coming back to configure, we
37179 # need to make the FD available again.
37180 if test "$no_create" != yes; then
37182 ac_config_status_args
=
37183 test "$silent" = yes &&
37184 ac_config_status_args
="$ac_config_status_args --quiet"
37186 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
37188 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
37189 # would make configure fail if this is the last instruction.
37190 $ac_cs_success ||
{ (exit 1); exit 1; }