2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x
; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var
in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\
${$as_var+set} = xset \
120 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
133 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
138 _as_can_reexec
=no
; export _as_can_reexec
;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
147 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec
=; unset _as_can_reexec
;}
160 if test "x$CONFIG_SHELL" = x
; then
161 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required
="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev
/null
; then :
213 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
218 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
221 test -z "$as_dir" && as_dir
=.
225 for as_base
in sh bash ksh sh5
; do
226 # Try only shells that exist, to save several forks.
227 as_shell
=$as_dir/$as_base
228 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
230 CONFIG_SHELL
=$as_shell as_have_required
=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
239 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
241 CONFIG_SHELL
=$SHELL as_have_required
=yes
246 if test "x$CONFIG_SHELL" != x
; then :
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
254 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
256 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
268 if test x
$as_have_required = xno
; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x
${ZSH_VERSION+set} = xset
; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
284 SHELL
=${CONFIG_SHELL-/bin/sh}
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE
= GREP_OPTIONS
=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
295 # Portably unset VAR.
298 { eval $1=; unset $1;}
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
322 # Create "$as_dir" as a directory, including parents if necessary.
327 -*) as_dir
=.
/$as_dir;;
329 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
333 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 as_dirs
="'$as_qdir' $as_dirs"
337 as_dir
=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
360 test -d "$as_dir" && break
362 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
363 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p
()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
382 eval 'as_fn_append ()
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
406 as_val
=`expr "$@" || test $? -eq 1`
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
418 as_status
=$1; test $as_status -eq 0 && as_status
=1
420 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit
$as_status
427 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
434 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
446 as_me
=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
465 # Avoid depending upon Character Ranges.
466 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits
='0123456789'
470 as_cr_alnum
=$as_cr_Letters$as_cr_digits
473 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
474 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
493 chmod +x
"$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec
=no
; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
504 # Exit status is that of the last command.
508 ECHO_C
= ECHO_N
= ECHO_T
=
509 case `echo -n x` in #(((((
511 case `echo 'xy\c'` in
512 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
521 rm -f conf$$ conf$$.exe conf$$.
file
522 if test -d conf$$.dir
; then
523 rm -f conf$$.dir
/conf$$.
file
526 mkdir conf$$.dir
2>/dev
/null
528 if (echo >conf$$.
file) 2>/dev
/null
; then
529 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
537 elif ln conf$$.
file conf$$
2>/dev
/null
; then
545 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
546 rmdir conf$$.dir
2>/dev
/null
548 if mkdir
-p .
2>/dev
/null
; then
549 as_mkdir_p
='mkdir -p "$as_dir"'
551 test -d .
/-p && rmdir .
/-p
556 as_executable_p
=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL
=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
578 ac_default_prefix
=/usr
/local
580 ac_config_libobj_dir
=.
587 # Identity of this package.
588 PACKAGE_NAME
='package-unused'
589 PACKAGE_TARNAME
='libstdc++'
590 PACKAGE_VERSION
='version-unused'
591 PACKAGE_STRING
='package-unused version-unused'
595 ac_unique_file
="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default
="\
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
609 # ifdef HAVE_STDLIB_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
632 ac_subst_vars
='am__EXEEXT_FALSE
641 glibcxx_toolexeclibdir
649 ERROR_CONSTANTS_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
678 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
705 ENABLE_DUAL_ABI_FALSE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
720 port_specific_symbol_files
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
780 ENABLE_FLOAT128_FALSE
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
792 ENABLE_DARWIN_AT_RPATH_FALSE
793 ENABLE_DARWIN_AT_RPATH_TRUE
815 MAINTAINER_MODE_FALSE
847 INSTALL_STRIP_PROGRAM
902 program_transform_name
915 enable_option_checking
922 enable_maintainer_mode
929 enable_darwin_at_rpath
930 enable_hosted_libstdcxx
931 enable_libstdcxx_hosted
932 enable_libstdcxx_verbose
934 with_libstdcxx_lock_policy
938 enable_libstdcxx_allocator
939 enable_cheaders_obsolete
944 enable_concept_checks
945 enable_libstdcxx_debug_flags
946 enable_libstdcxx_debug
948 enable_fully_dynamic_string
949 enable_extern_template
953 enable_libstdcxx_time
958 with_system_libunwind
961 enable_libstdcxx_visibility
962 enable_libstdcxx_dual_abi
963 with_default_libstdcxx_abi
964 enable_libstdcxx_threads
965 enable_libstdcxx_filesystem_ts
966 enable_libstdcxx_backtrace
967 enable_libstdcxx_static_eh_pool
968 with_libstdcxx_eh_pool_obj_count
969 with_libstdcxx_zoneinfo
972 enable_version_specific_runtime_libs
974 with_gcc_major_version_only
976 ac_precious_vars
='build_alias
992 # Initialize some variables set by options.
994 ac_init_version
=false
995 ac_unrecognized_opts
=
997 # The variables have the same names as the options, with
998 # dashes changed to underlines.
1006 program_transform_name
=s
,x
,x
,
1014 # Installation directory options.
1015 # These are left unexpanded so users can "make install exec_prefix=/foo"
1016 # and all the variables that are supposed to be based on exec_prefix
1017 # by default will actually change.
1018 # Use braces instead of parens because sh, perl, etc. also accept them.
1019 # (The list follows the same order as the GNU Coding Standards.)
1020 bindir
='${exec_prefix}/bin'
1021 sbindir
='${exec_prefix}/sbin'
1022 libexecdir
='${exec_prefix}/libexec'
1023 datarootdir
='${prefix}/share'
1024 datadir
='${datarootdir}'
1025 sysconfdir
='${prefix}/etc'
1026 sharedstatedir
='${prefix}/com'
1027 localstatedir
='${prefix}/var'
1028 includedir
='${prefix}/include'
1029 oldincludedir
='/usr/include'
1030 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
1031 infodir
='${datarootdir}/info'
1036 libdir
='${exec_prefix}/lib'
1037 localedir
='${datarootdir}/locale'
1038 mandir
='${datarootdir}/man'
1044 # If the previous option needs an argument, assign it.
1045 if test -n "$ac_prev"; then
1046 eval $ac_prev=\
$ac_option
1052 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1057 # Accept the important Cygnus configure options, so we can diagnose typos.
1059 case $ac_dashdash$ac_option in
1063 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
1065 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
1066 bindir
=$ac_optarg ;;
1068 -build |
--build |
--buil |
--bui |
--bu)
1069 ac_prev
=build_alias
;;
1070 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
1071 build_alias
=$ac_optarg ;;
1073 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
1074 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
1075 ac_prev
=cache_file
;;
1076 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
1077 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
1078 cache_file
=$ac_optarg ;;
1080 --config-cache |
-C)
1081 cache_file
=config.cache
;;
1083 -datadir |
--datadir |
--datadi |
--datad)
1085 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
1086 datadir
=$ac_optarg ;;
1088 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
1089 |
--dataroo |
--dataro |
--datar)
1090 ac_prev
=datarootdir
;;
1091 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
1092 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
1093 datarootdir
=$ac_optarg ;;
1095 -disable-* |
--disable-*)
1096 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1097 # Reject names that are not valid shell variable names.
1098 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1099 as_fn_error $?
"invalid feature name: $ac_useropt"
1100 ac_useropt_orig
=$ac_useropt
1101 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1102 case $ac_user_opts in
1104 "enable_
$ac_useropt"
1106 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1107 ac_unrecognized_sep
=', ';;
1109 eval enable_
$ac_useropt=no
;;
1111 -docdir |
--docdir |
--docdi |
--doc |
--do)
1113 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1114 docdir
=$ac_optarg ;;
1116 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1118 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1119 dvidir
=$ac_optarg ;;
1121 -enable-* |
--enable-*)
1122 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1123 # Reject names that are not valid shell variable names.
1124 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1125 as_fn_error $?
"invalid feature name: $ac_useropt"
1126 ac_useropt_orig
=$ac_useropt
1127 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1128 case $ac_user_opts in
1130 "enable_
$ac_useropt"
1132 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1133 ac_unrecognized_sep
=', ';;
1135 eval enable_
$ac_useropt=\
$ac_optarg ;;
1137 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1138 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1139 |
--exec |
--exe |
--ex)
1140 ac_prev
=exec_prefix
;;
1141 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1142 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1143 |
--exec=* |
--exe=* |
--ex=*)
1144 exec_prefix
=$ac_optarg ;;
1146 -gas |
--gas |
--ga |
--g)
1147 # Obsolete; use --with-gas.
1150 -help |
--help |
--hel |
--he |
-h)
1151 ac_init_help
=long
;;
1152 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1153 ac_init_help
=recursive
;;
1154 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1155 ac_init_help
=short
;;
1157 -host |
--host |
--hos |
--ho)
1158 ac_prev
=host_alias
;;
1159 -host=* |
--host=* |
--hos=* |
--ho=*)
1160 host_alias
=$ac_optarg ;;
1162 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1164 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1166 htmldir
=$ac_optarg ;;
1168 -includedir |
--includedir |
--includedi |
--included |
--include \
1169 |
--includ |
--inclu |
--incl |
--inc)
1170 ac_prev
=includedir
;;
1171 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1172 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1173 includedir
=$ac_optarg ;;
1175 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1177 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1178 infodir
=$ac_optarg ;;
1180 -libdir |
--libdir |
--libdi |
--libd)
1182 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1183 libdir
=$ac_optarg ;;
1185 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1186 |
--libexe |
--libex |
--libe)
1187 ac_prev
=libexecdir
;;
1188 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1189 |
--libexe=* |
--libex=* |
--libe=*)
1190 libexecdir
=$ac_optarg ;;
1192 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1193 ac_prev
=localedir
;;
1194 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1195 localedir
=$ac_optarg ;;
1197 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1198 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1199 ac_prev
=localstatedir
;;
1200 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1201 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1202 localstatedir
=$ac_optarg ;;
1204 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1206 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1207 mandir
=$ac_optarg ;;
1209 -nfp |
--nfp |
--nf)
1210 # Obsolete; use --without-fp.
1213 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1214 |
--no-cr |
--no-c |
-n)
1217 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1218 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1221 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1222 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1223 |
--oldin |
--oldi |
--old |
--ol |
--o)
1224 ac_prev
=oldincludedir
;;
1225 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1226 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1227 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1228 oldincludedir
=$ac_optarg ;;
1230 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1232 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1233 prefix
=$ac_optarg ;;
1235 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1236 |
--program-pre |
--program-pr |
--program-p)
1237 ac_prev
=program_prefix
;;
1238 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1239 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1240 program_prefix
=$ac_optarg ;;
1242 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1243 |
--program-suf |
--program-su |
--program-s)
1244 ac_prev
=program_suffix
;;
1245 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1246 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1247 program_suffix
=$ac_optarg ;;
1249 -program-transform-name |
--program-transform-name \
1250 |
--program-transform-nam |
--program-transform-na \
1251 |
--program-transform-n |
--program-transform- \
1252 |
--program-transform |
--program-transfor \
1253 |
--program-transfo |
--program-transf \
1254 |
--program-trans |
--program-tran \
1255 |
--progr-tra |
--program-tr |
--program-t)
1256 ac_prev
=program_transform_name
;;
1257 -program-transform-name=* |
--program-transform-name=* \
1258 |
--program-transform-nam=* |
--program-transform-na=* \
1259 |
--program-transform-n=* |
--program-transform-=* \
1260 |
--program-transform=* |
--program-transfor=* \
1261 |
--program-transfo=* |
--program-transf=* \
1262 |
--program-trans=* |
--program-tran=* \
1263 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1264 program_transform_name
=$ac_optarg ;;
1266 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1268 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1269 pdfdir
=$ac_optarg ;;
1271 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1273 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1276 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1277 |
-silent |
--silent |
--silen |
--sile |
--sil)
1280 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1282 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1284 sbindir
=$ac_optarg ;;
1286 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1287 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1288 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1290 ac_prev
=sharedstatedir
;;
1291 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1292 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1293 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1295 sharedstatedir
=$ac_optarg ;;
1297 -site |
--site |
--sit)
1299 -site=* |
--site=* |
--sit=*)
1302 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1304 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1305 srcdir
=$ac_optarg ;;
1307 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1308 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1309 ac_prev
=sysconfdir
;;
1310 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1311 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1312 sysconfdir
=$ac_optarg ;;
1314 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1315 ac_prev
=target_alias
;;
1316 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1317 target_alias
=$ac_optarg ;;
1319 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1322 -version |
--version |
--versio |
--versi |
--vers |
-V)
1323 ac_init_version
=: ;;
1326 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1327 # Reject names that are not valid shell variable names.
1328 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1329 as_fn_error $?
"invalid package name: $ac_useropt"
1330 ac_useropt_orig
=$ac_useropt
1331 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1332 case $ac_user_opts in
1336 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1337 ac_unrecognized_sep
=', ';;
1339 eval with_
$ac_useropt=\
$ac_optarg ;;
1341 -without-* |
--without-*)
1342 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1343 # Reject names that are not valid shell variable names.
1344 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1345 as_fn_error $?
"invalid package name: $ac_useropt"
1346 ac_useropt_orig
=$ac_useropt
1347 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1348 case $ac_user_opts in
1352 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1353 ac_unrecognized_sep
=', ';;
1355 eval with_
$ac_useropt=no
;;
1358 # Obsolete; use --with-x.
1361 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1362 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1363 ac_prev
=x_includes
;;
1364 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1365 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1366 x_includes
=$ac_optarg ;;
1368 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1369 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1370 ac_prev
=x_libraries
;;
1371 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1372 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1373 x_libraries
=$ac_optarg ;;
1375 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1376 Try \`$0 --help' for more information"
1380 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1381 # Reject names that are not valid shell variable names.
1382 case $ac_envvar in #(
1383 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1384 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1386 eval $ac_envvar=\
$ac_optarg
1387 export $ac_envvar ;;
1390 # FIXME: should be removed in autoconf 3.0.
1391 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1392 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1393 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1394 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1400 if test -n "$ac_prev"; then
1401 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1402 as_fn_error $?
"missing argument to $ac_option"
1405 if test -n "$ac_unrecognized_opts"; then
1406 case $enable_option_checking in
1408 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1409 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1413 # Check all directory arguments for consistency.
1414 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1415 datadir sysconfdir sharedstatedir localstatedir includedir \
1416 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1417 libdir localedir mandir
1419 eval ac_val
=\$
$ac_var
1420 # Remove trailing slashes.
1423 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1424 eval $ac_var=\
$ac_val;;
1426 # Be sure to have absolute directory names.
1428 [\\/$
]* | ?
:[\\/]* ) continue;;
1429 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1431 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1434 # There might be people who depend on the old broken behavior: `$host'
1435 # used to hold the argument of --host etc.
1436 # FIXME: To remove some day.
1439 target
=$target_alias
1441 # FIXME: To remove some day.
1442 if test "x$host_alias" != x
; then
1443 if test "x$build_alias" = x
; then
1444 cross_compiling
=maybe
1445 elif test "x$build_alias" != "x$host_alias"; then
1451 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1453 test "$silent" = yes && exec 6>/dev
/null
1456 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1457 ac_ls_di
=`ls -di .` &&
1458 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1459 as_fn_error $?
"working directory cannot be determined"
1460 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1461 as_fn_error $?
"pwd does not report name of working directory"
1464 # Find the source files, if location was not specified.
1465 if test -z "$srcdir"; then
1466 ac_srcdir_defaulted
=yes
1467 # Try the directory containing this script, then the parent directory.
1468 ac_confdir
=`$as_dirname -- "$as_myself" ||
1469 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1470 X"$as_myself" : 'X\(//\)[^/]' \| \
1471 X"$as_myself" : 'X\(//\)$' \| \
1472 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1473 $as_echo X"$as_myself" |
1474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1492 if test ! -r "$srcdir/$ac_unique_file"; then
1496 ac_srcdir_defaulted
=no
1498 if test ! -r "$srcdir/$ac_unique_file"; then
1499 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1500 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1502 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1504 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1506 # When building in place, set srcdir=.
1507 if test "$ac_abs_confdir" = "$ac_pwd"; then
1510 # Remove unnecessary trailing slashes from srcdir.
1511 # Double slashes in file names in object file debugging info
1512 # mess up M-x gdb in Emacs.
1514 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1516 for ac_var
in $ac_precious_vars; do
1517 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1518 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1519 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1520 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1524 # Report the --help message.
1526 if test "$ac_init_help" = "long"; then
1527 # Omit some internal or obsolete options to make the list less imposing.
1528 # This message is too long to be a string in the A/UX 3.1 sh.
1530 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1532 Usage: $0 [OPTION]... [VAR=VALUE]...
1534 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1535 VAR=VALUE. See below for descriptions of some of the useful variables.
1537 Defaults for the options are specified in brackets.
1540 -h, --help display this help and exit
1541 --help=short display options specific to this package
1542 --help=recursive display the short help of all the included packages
1543 -V, --version display version information and exit
1544 -q, --quiet, --silent do not print \`checking ...' messages
1545 --cache-file=FILE cache test results in FILE [disabled]
1546 -C, --config-cache alias for \`--cache-file=config.cache'
1547 -n, --no-create do not create output files
1548 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1550 Installation directories:
1551 --prefix=PREFIX install architecture-independent files in PREFIX
1552 [$ac_default_prefix]
1553 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1556 By default, \`make install' will install all the files in
1557 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1558 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1559 for instance \`--prefix=\$HOME'.
1561 For better control, use the options below.
1563 Fine tuning of the installation directories:
1564 --bindir=DIR user executables [EPREFIX/bin]
1565 --sbindir=DIR system admin executables [EPREFIX/sbin]
1566 --libexecdir=DIR program executables [EPREFIX/libexec]
1567 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1568 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1569 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1570 --libdir=DIR object code libraries [EPREFIX/lib]
1571 --includedir=DIR C header files [PREFIX/include]
1572 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1573 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1574 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1575 --infodir=DIR info documentation [DATAROOTDIR/info]
1576 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1577 --mandir=DIR man documentation [DATAROOTDIR/man]
1578 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1579 --htmldir=DIR html documentation [DOCDIR]
1580 --dvidir=DIR dvi documentation [DOCDIR]
1581 --pdfdir=DIR pdf documentation [DOCDIR]
1582 --psdir=DIR ps documentation [DOCDIR]
1588 --program-prefix=PREFIX prepend PREFIX to installed program names
1589 --program-suffix=SUFFIX append SUFFIX to installed program names
1590 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1593 --build=BUILD configure
for building on BUILD
[guessed
]
1594 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1595 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1599 if test -n "$ac_init_help"; then
1600 case $ac_init_help in
1601 short | recursive
) echo "Configuration of package-unused version-unused:";;
1606 --disable-option-checking ignore unrecognized
--enable/--with options
1607 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1608 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1609 --enable-multilib build many library versions
(default
)
1610 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1611 --disable-silent-rules verbose build output
(undo
: "make V=0")
1612 --disable-largefile omit support
for large files
1613 --enable-maintainer-mode
1614 enable make rules and dependencies not useful
(and
1615 sometimes confusing
) to the casual installer
1616 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1617 --enable-static[=PKGS
] build static libraries
[default
=yes]
1618 --enable-fast-install[=PKGS
]
1619 optimize
for fast installation
[default
=yes]
1620 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1621 --enable-darwin-at-rpath
1622 install libraries with @rpath
/library-name
, requires
1623 rpaths to be added to executables
1624 --disable-hosted-libstdcxx
1625 only build freestanding C
++ runtime support
1626 --disable-libstdcxx-hosted
1627 alias for --disable-hosted-libstdcxx
1628 --disable-libstdcxx-verbose
1629 disable termination messages to standard error
1630 --enable-libstdcxx-pch build pre-compiled libstdc
++ headers
1631 [default
=$is_hosted]
1632 --enable-cstdio[=PACKAGE
]
1633 use target-specific I
/O package
[default
=stdio
]
1634 --enable-clocale[=MODEL
]
1635 use MODEL
for target locale package
[default
=auto
]
1636 --enable-nls use Native Language Support
(default
)
1637 --enable-libstdcxx-allocator[=KIND
]
1638 use KIND
for target std
::allocator base
1640 --enable-cheaders-obsolete
1641 allow use of obsolete
"C" headers
for g
++
1643 --enable-cheaders[=KIND
]
1644 construct
"C" headers
for g
++ [default
=$c_model]
1645 --enable-long-long enable template specializations
for 'long long'
1647 --enable-wchar_t enable template specializations
for 'wchar_t'
1649 --enable-c99 turns on ISO
/IEC
9899:1999 support
[default
=yes]
1650 --enable-concept-checks use Boost-derived template checks
[default
=no
]
1651 --enable-libstdcxx-debug-flags=FLAGS
1652 pass compiler FLAGS when building debug library
1653 [default
="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1654 --enable-libstdcxx-debug
1655 build extra debug library
[default
=no
]
1656 --enable-cxx-flags=FLAGS
1657 pass compiler FLAGS when building library
[default
=]
1658 --enable-fully-dynamic-string
1659 do not put empty
strings in per-process static
1661 --enable-extern-template
1662 enable extern template
[default
=yes]
1663 --enable-werror turns on
-Werror [default
=no
]
1664 --enable-vtable-verify enable vtable verify
[default
=no
]
1665 --enable-libstdcxx-time[=KIND
]
1666 use KIND
for check
type [default
=auto
]
1667 --enable-tls Use thread-local storage
[default
=yes]
1668 --disable-rpath do not hardcode runtime library paths
1669 --enable-linux-futex use the Linux futex system call
[default
=default
]
1670 --enable-symvers[=STYLE
]
1671 enables symbol versioning of the shared library
1673 --enable-libstdcxx-visibility
1674 enables visibility safe usage
[default
=yes]
1675 --enable-libstdcxx-dual-abi
1676 support two versions of std
::string
[default
=yes]
1677 --enable-libstdcxx-threads
1678 enable C
++11 threads support
[default
=auto
]
1679 --enable-libstdcxx-filesystem-ts
1680 turns on ISO
/IEC TS
18822 support
[default
=auto
]
1681 --enable-libstdcxx-backtrace
1682 turns on libbacktrace support
[default
=auto
]
1683 --enable-libstdcxx-static-eh-pool
1684 use a fixed-size static buffer
for allocating
1685 exceptions
if malloc fails
1686 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1687 --enable-version-specific-runtime-libs
1688 Specify that runtime libraries should be installed
1689 in a compiler-specific directory
1692 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1693 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1694 --with-target-subdir=SUBDIR
1695 configuring
in a subdirectory
1696 --with-cross-host=HOST configuring with a cross compiler
1697 --with-newlib assume newlib as a system C library
1698 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1700 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1701 --with-libstdcxx-lock-policy={atomic
,mutex
,auto
}
1702 synchronization policy
for shared_ptr reference
1703 counting
[default
=auto
]
1704 --with-python-dir the location to
install Python modules. This path is
1705 relative starting from the prefix.
1706 --with-gnu-ld assume the C compiler uses GNU ld default
=no
1707 --with-libiconv-prefix[=DIR
] search
for libiconv
in DIR
/include and DIR
/lib
1708 --without-libiconv-prefix don
't search for libiconv in includedir and libdir
1709 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1710 --with-system-libunwind use installed libunwind
1711 --with-default-libstdcxx-abi
1712 set the std::string ABI to use by default
1713 --with-libstdcxx-eh-pool-obj-count
1714 the number of exceptions that can be allocated from
1715 the pool if malloc fails
1716 --with-libstdcxx-zoneinfo
1717 the location to use for tzdata
1718 --with-gxx-include-dir=DIR
1719 installation directory for include files
1720 --with-toolexeclibdir=DIR
1721 install libraries built with a cross compiler within
1723 --with-gcc-major-version-only
1724 use only GCC major number in filesystem paths
1726 Some influential environment variables:
1727 CC C compiler command
1728 CFLAGS C compiler flags
1729 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1730 nonstandard directory <lib dir>
1731 LIBS libraries to pass to the linker, e.g. -l<library>
1732 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1733 you have headers in a nonstandard directory <include dir>
1734 CXX C++ compiler command
1735 CXXFLAGS C++ compiler flags
1737 CXXCPP C++ preprocessor
1738 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1739 `c++filt', `gc++filt' on PATH.
1741 Use these variables to override the choices made by `configure
' or to help
1742 it to find libraries and programs with nonstandard names/locations.
1744 Report bugs to the package provider.
1749 if test "$ac_init_help" = "recursive"; then
1750 # If there are subdirs, report their specific --help.
1751 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1752 test -d "$ac_dir" ||
1753 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1758 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1760 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.
[\\/]||
'`
1761 # A ".." for each directory in $ac_dir_suffix.
1762 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|
/[^
\\/]*|
/..|g
;s|
/||
'`
1763 case $ac_top_builddir_sub in
1764 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1765 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1768 ac_abs_top_builddir=$ac_pwd
1769 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1770 # for backward compatibility:
1771 ac_top_builddir=$ac_top_build_prefix
1774 .) # We are building in place.
1776 ac_top_srcdir=$ac_top_builddir_sub
1777 ac_abs_top_srcdir=$ac_pwd ;;
1778 [\\/]* | ?:[\\/]* ) # Absolute name.
1779 ac_srcdir=$srcdir$ac_dir_suffix;
1780 ac_top_srcdir=$srcdir
1781 ac_abs_top_srcdir=$srcdir ;;
1783 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1784 ac_top_srcdir=$ac_top_build_prefix$srcdir
1785 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1787 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1789 cd "$ac_dir" || { ac_status=$?; continue; }
1790 # Check for guested configure.
1791 if test -f "$ac_srcdir/configure.gnu"; then
1793 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1794 elif test -f "$ac_srcdir/configure"; then
1796 $SHELL "$ac_srcdir/configure" --help=recursive
1798 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1800 cd "$ac_pwd" || { ac_status=$?; break; }
1804 test -n "$ac_init_help" && exit $ac_status
1805 if $ac_init_version; then
1807 package-unused configure version-unused
1808 generated by GNU Autoconf 2.69
1810 Copyright (C) 2012 Free Software Foundation, Inc.
1811 This configure script is free software; the Free Software Foundation
1812 gives unlimited permission to copy, distribute and modify it.
1817 ## ------------------------ ##
1818 ## Autoconf initialization. ##
1819 ## ------------------------ ##
1821 # ac_fn_c_try_compile LINENO
1822 # --------------------------
1823 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1824 ac_fn_c_try_compile ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 rm -f conftest.$ac_objext
1828 if { { ac_try="$ac_compile"
1830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1831 *) ac_try_echo=$ac_try;;
1833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1834 $as_echo "$ac_try_echo"; } >&5
1835 (eval "$ac_compile") 2>conftest.err
1837 if test -s conftest.err; then
1838 grep -v '^
*+' conftest.err >conftest.er1
1839 cat conftest.er1 >&5
1840 mv -f conftest.er1 conftest.err
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; } && {
1844 test -z "$ac_c_werror_flag" ||
1845 test ! -s conftest.err
1846 } && test -s conftest.$ac_objext; then :
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's
/^
/|
/' conftest.$ac_ext >&5
1854 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1855 as_fn_set_status $ac_retval
1857 } # ac_fn_c_try_compile
1859 # ac_fn_cxx_try_compile LINENO
1860 # ----------------------------
1861 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1862 ac_fn_cxx_try_compile ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 rm -f conftest.$ac_objext
1866 if { { ac_try="$ac_compile"
1868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_compile") 2>conftest.err
1875 if test -s conftest.err; then
1876 grep -v '^
*+' conftest.err >conftest.er1
1877 cat conftest.er1 >&5
1878 mv -f conftest.er1 conftest.err
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; } && {
1882 test -z "$ac_cxx_werror_flag" ||
1883 test ! -s conftest.err
1884 } && test -s conftest.$ac_objext; then :
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's
/^
/|
/' conftest.$ac_ext >&5
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1893 as_fn_set_status $ac_retval
1895 } # ac_fn_cxx_try_compile
1897 # ac_fn_c_try_cpp LINENO
1898 # ----------------------
1899 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 if { { ac_try="$ac_cpp conftest.$ac_ext"
1905 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1906 *) ac_try_echo=$ac_try;;
1908 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1912 if test -s conftest.err; then
1913 grep -v '^
*+' conftest.err >conftest.er1
1914 cat conftest.er1 >&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } > conftest.i && {
1919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's
/^
/|
/' conftest.$ac_ext >&5
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 as_fn_set_status $ac_retval
1934 # ac_fn_c_try_link LINENO
1935 # -----------------------
1936 # Try to link conftest.$ac_ext, and return whether this succeeded.
1939 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1940 rm -f conftest.$ac_objext conftest$ac_exeext
1941 if { { ac_try="$ac_link"
1943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1944 *) ac_try_echo=$ac_try;;
1946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1947 $as_echo "$ac_try_echo"; } >&5
1948 (eval "$ac_link") 2>conftest.err
1950 if test -s conftest.err; then
1951 grep -v '^
*+' conftest.err >conftest.er1
1952 cat conftest.er1 >&5
1953 mv -f conftest.er1 conftest.err
1955 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1956 test $ac_status = 0; } && {
1957 test -z "$ac_c_werror_flag" ||
1958 test ! -s conftest.err
1959 } && test -s conftest$ac_exeext && {
1960 test "$cross_compiling" = yes ||
1961 test -x conftest$ac_exeext
1965 $as_echo "$as_me: failed program was:" >&5
1966 sed 's
/^
/|
/' conftest.$ac_ext >&5
1970 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1971 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1972 # interfere with the next link command; also delete a directory that is
1973 # left behind by Apple's compiler. We
do this before executing the actions.
1974 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1975 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1976 as_fn_set_status
$ac_retval
1978 } # ac_fn_c_try_link
1980 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1981 # -------------------------------------------------------
1982 # Tests whether HEADER exists and can be compiled using the include files in
1983 # INCLUDES, setting the cache variable VAR accordingly.
1984 ac_fn_c_check_header_compile
()
1986 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1988 $as_echo_n "checking for $2... " >&6; }
1989 if eval \
${$3+:} false
; then :
1990 $as_echo_n "(cached) " >&6
1992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1993 /* end confdefs.h. */
1997 if ac_fn_c_try_compile
"$LINENO"; then :
2002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2009 } # ac_fn_c_check_header_compile
2011 # ac_fn_c_try_run LINENO
2012 # ----------------------
2013 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2014 # that executables *can* be run.
2017 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2018 if { { ac_try
="$ac_link"
2020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2021 *) ac_try_echo=$ac_try;;
2023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2024 $as_echo "$ac_try_echo"; } >&5
2025 (eval "$ac_link") 2>&5
2027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2028 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2029 { { case "(($ac_try" in
2030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2031 *) ac_try_echo
=$ac_try;;
2033 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2034 $as_echo "$ac_try_echo"; } >&5
2035 (eval "$ac_try") 2>&5
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; }; }; then :
2041 $as_echo "$as_me: program exited with status $ac_status" >&5
2042 $as_echo "$as_me: failed program was:" >&5
2043 sed 's/^/| /' conftest.
$ac_ext >&5
2045 ac_retval
=$ac_status
2047 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2048 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2049 as_fn_set_status
$ac_retval
2053 # ac_fn_c_check_func LINENO FUNC VAR
2054 # ----------------------------------
2055 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2056 ac_fn_c_check_func
()
2058 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060 $as_echo_n "checking for $2... " >&6; }
2061 if eval \
${$3+:} false
; then :
2062 $as_echo_n "(cached) " >&6
2064 if test x
$gcc_no_link = xyes
; then
2065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2068 /* end confdefs.h. */
2069 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2070 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2071 #define $2 innocuous_$2
2073 /* System header to define __stub macros and hopefully few prototypes,
2074 which can conflict with char $2 (); below.
2075 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2076 <limits.h> exists even on freestanding compilers. */
2079 # include <limits.h>
2081 # include <assert.h>
2086 /* Override any GCC internal prototype to avoid an error.
2087 Use char because int might match the return type of a GCC
2088 builtin and then its argument prototype would still apply. */
2093 /* The GNU C library defines this for functions which it implements
2094 to always fail with ENOSYS. Some functions are actually named
2095 something starting with __ and the normal name is an alias. */
2096 #if defined __stub_$2 || defined __stub___$2
2108 if ac_fn_c_try_link
"$LINENO"; then :
2113 rm -f core conftest.err conftest.
$ac_objext \
2114 conftest
$ac_exeext conftest.
$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_func
2123 # ac_fn_cxx_try_cpp LINENO
2124 # ------------------------
2125 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2126 ac_fn_cxx_try_cpp
()
2128 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2129 if { { ac_try
="$ac_cpp conftest.$ac_ext"
2131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2132 *) ac_try_echo=$ac_try;;
2134 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2135 $as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2138 if test -s conftest.err; then
2139 grep -v '^ *+' conftest.err >conftest.er1
2140 cat conftest.er1 >&5
2141 mv -f conftest.er1 conftest.err
2143 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2144 test $ac_status = 0; } > conftest.i && {
2145 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2146 test ! -s conftest.err
2150 $as_echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2156 as_fn_set_status $ac_retval
2158 } # ac_fn_cxx_try_cpp
2160 # ac_fn_cxx_try_link LINENO
2161 # -------------------------
2162 # Try to link conftest.$ac_ext, and return whether this succeeded.
2163 ac_fn_cxx_try_link ()
2165 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2166 rm -f conftest.$ac_objext conftest$ac_exeext
2167 if { { ac_try="$ac_link"
2169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2170 *) ac_try_echo
=$ac_try;;
2172 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2173 $as_echo "$ac_try_echo"; } >&5
2174 (eval "$ac_link") 2>conftest.err
2176 if test -s conftest.err
; then
2177 grep -v '^ *+' conftest.err
>conftest.er1
2178 cat conftest.er1
>&5
2179 mv -f conftest.er1 conftest.err
2181 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2182 test $ac_status = 0; } && {
2183 test -z "$ac_cxx_werror_flag" ||
2184 test ! -s conftest.err
2185 } && test -s conftest
$ac_exeext && {
2186 test "$cross_compiling" = yes ||
2187 test -x conftest
$ac_exeext
2191 $as_echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2196 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2197 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2198 # interfere with the next link command; also delete a directory that is
2199 # left behind by Apple's compiler. We do this before executing the actions.
2200 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2201 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 as_fn_set_status
$ac_retval
2204 } # ac_fn_cxx_try_link
2206 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2207 # -------------------------------------------------------
2208 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2209 # the include files in INCLUDES and setting the cache variable VAR
2211 ac_fn_c_check_header_mongrel
()
2213 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2214 if eval \
${$3+:} false
; then :
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2216 $as_echo_n "checking for $2... " >&6; }
2217 if eval \
${$3+:} false
; then :
2218 $as_echo_n "(cached) " >&6
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2222 $as_echo "$ac_res" >&6; }
2224 # Is the header compilable?
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2226 $as_echo_n "checking $2 usability... " >&6; }
2227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2228 /* end confdefs.h. */
2232 if ac_fn_c_try_compile
"$LINENO"; then :
2233 ac_header_compiler
=yes
2235 ac_header_compiler
=no
2237 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2239 $as_echo "$ac_header_compiler" >&6; }
2241 # Is the header present?
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2243 $as_echo_n "checking $2 presence... " >&6; }
2244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2248 if ac_fn_c_try_cpp
"$LINENO"; then :
2249 ac_header_preproc
=yes
2251 ac_header_preproc
=no
2253 rm -f conftest.err conftest.i conftest.
$ac_ext
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2255 $as_echo "$ac_header_preproc" >&6; }
2257 # So? What about this header?
2258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2261 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2263 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2267 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2269 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2271 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2273 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2275 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2279 $as_echo_n "checking for $2... " >&6; }
2280 if eval \
${$3+:} false
; then :
2281 $as_echo_n "(cached) " >&6
2283 eval "$3=\$ac_header_compiler"
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2287 $as_echo "$ac_res" >&6; }
2289 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2291 } # ac_fn_c_check_header_mongrel
2293 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2294 # ---------------------------------------------------------
2295 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2296 # the include files in INCLUDES and setting the cache variable VAR
2298 ac_fn_cxx_check_header_mongrel
()
2300 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2301 if eval \
${$3+:} false
; then :
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2303 $as_echo_n "checking for $2... " >&6; }
2304 if eval \
${$3+:} false
; then :
2305 $as_echo_n "(cached) " >&6
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2309 $as_echo "$ac_res" >&6; }
2311 # Is the header compilable?
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2313 $as_echo_n "checking $2 usability... " >&6; }
2314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2319 if ac_fn_cxx_try_compile
"$LINENO"; then :
2320 ac_header_compiler
=yes
2322 ac_header_compiler
=no
2324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2326 $as_echo "$ac_header_compiler" >&6; }
2328 # Is the header present?
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2330 $as_echo_n "checking $2 presence... " >&6; }
2331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2332 /* end confdefs.h. */
2335 if ac_fn_cxx_try_cpp
"$LINENO"; then :
2336 ac_header_preproc
=yes
2338 ac_header_preproc
=no
2340 rm -f conftest.err conftest.i conftest.
$ac_ext
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2342 $as_echo "$ac_header_preproc" >&6; }
2344 # So? What about this header?
2345 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2348 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2350 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2354 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2356 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2358 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2360 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2362 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2366 $as_echo_n "checking for $2... " >&6; }
2367 if eval \
${$3+:} false
; then :
2368 $as_echo_n "(cached) " >&6
2370 eval "$3=\$ac_header_compiler"
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2374 $as_echo "$ac_res" >&6; }
2376 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2378 } # ac_fn_cxx_check_header_mongrel
2380 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2381 # --------------------------------------------
2382 # Tries to find the compile-time value of EXPR in a program that includes
2383 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2385 ac_fn_c_compute_int
()
2387 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2388 if test "$cross_compiling" = yes; then
2389 # Depending upon the size, compute the lo and hi bounds.
2390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2396 static int test_array [1 - 2 * !(($2) >= 0)];
2398 return test_array [0];
2404 if ac_fn_c_try_compile
"$LINENO"; then :
2407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2408 /* end confdefs.h. */
2413 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2415 return test_array [0];
2421 if ac_fn_c_try_compile
"$LINENO"; then :
2422 ac_hi
=$ac_mid; break
2424 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2425 if test $ac_lo -le $ac_mid; then
2429 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2440 static int test_array [1 - 2 * !(($2) < 0)];
2442 return test_array [0];
2448 if ac_fn_c_try_compile
"$LINENO"; then :
2451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2452 /* end confdefs.h. */
2457 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2459 return test_array [0];
2465 if ac_fn_c_try_compile
"$LINENO"; then :
2466 ac_lo
=$ac_mid; break
2468 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2469 if test $ac_mid -le $ac_hi; then
2473 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2483 # Binary search between lo and hi bounds.
2484 while test "x$ac_lo" != "x$ac_hi"; do
2485 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2487 /* end confdefs.h. */
2492 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2494 return test_array [0];
2500 if ac_fn_c_try_compile
"$LINENO"; then :
2503 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2508 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2513 /* end confdefs.h. */
2515 static long int longval () { return $2; }
2516 static unsigned long int ulongval () { return $2; }
2523 FILE *f = fopen ("conftest.val", "w");
2528 long int i = longval ();
2531 fprintf (f, "%ld", i);
2535 unsigned long int i = ulongval ();
2538 fprintf (f, "%lu", i);
2540 /* Do not output a trailing newline, as this causes \r\n confusion
2541 on some platforms. */
2542 return ferror (f) || fclose (f) != 0;
2548 if ac_fn_c_try_run
"$LINENO"; then :
2549 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2553 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2554 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2558 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2559 as_fn_set_status
$ac_retval
2561 } # ac_fn_c_compute_int
2563 # ac_fn_cxx_check_func LINENO FUNC VAR
2564 # ------------------------------------
2565 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2566 ac_fn_cxx_check_func
()
2568 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2570 $as_echo_n "checking for $2... " >&6; }
2571 if eval \
${$3+:} false
; then :
2572 $as_echo_n "(cached) " >&6
2574 if test x
$gcc_no_link = xyes
; then
2575 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2579 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2581 #define $2 innocuous_$2
2583 /* System header to define __stub macros and hopefully few prototypes,
2584 which can conflict with char $2 (); below.
2585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2586 <limits.h> exists even on freestanding compilers. */
2589 # include <limits.h>
2591 # include <assert.h>
2596 /* Override any GCC internal prototype to avoid an error.
2597 Use char because int might match the return type of a GCC
2598 builtin and then its argument prototype would still apply. */
2603 /* The GNU C library defines this for functions which it implements
2604 to always fail with ENOSYS. Some functions are actually named
2605 something starting with __ and the normal name is an alias. */
2606 #if defined __stub_$2 || defined __stub___$2
2618 if ac_fn_cxx_try_link
"$LINENO"; then :
2623 rm -f core conftest.err conftest.
$ac_objext \
2624 conftest
$ac_exeext conftest.
$ac_ext
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2628 $as_echo "$ac_res" >&6; }
2629 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2631 } # ac_fn_cxx_check_func
2633 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2634 # ---------------------------------------------
2635 # Tests whether TYPE exists after having included INCLUDES, setting cache
2636 # variable VAR accordingly.
2637 ac_fn_cxx_check_type
()
2639 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2641 $as_echo_n "checking for $2... " >&6; }
2642 if eval \
${$3+:} false
; then :
2643 $as_echo_n "(cached) " >&6
2646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2658 if ac_fn_cxx_try_compile
"$LINENO"; then :
2659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2671 if ac_fn_cxx_try_compile
"$LINENO"; then :
2676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2682 $as_echo "$ac_res" >&6; }
2683 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2685 } # ac_fn_cxx_check_type
2687 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2688 # ---------------------------------------------
2689 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2691 ac_fn_c_check_decl
()
2693 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2694 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2695 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2697 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2698 if eval \
${$3+:} false
; then :
2699 $as_echo_n "(cached) " >&6
2701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2702 /* end confdefs.h. */
2707 #ifndef $as_decl_name
2709 (void) $as_decl_use;
2711 (void) $as_decl_name;
2719 if ac_fn_c_try_compile
"$LINENO"; then :
2724 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2728 $as_echo "$ac_res" >&6; }
2729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2731 } # ac_fn_c_check_decl
2732 cat >config.log
<<_ACEOF
2733 This file contains any messages produced by compilers while
2734 running configure, to aid debugging if configure makes a mistake.
2736 It was created by package-unused $as_me version-unused, which was
2737 generated by GNU Autoconf 2.69. Invocation command line was
2749 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2750 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2751 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2752 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2753 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2755 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2756 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2758 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2759 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2760 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2761 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2762 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2763 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2764 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2772 test -z "$as_dir" && as_dir
=.
2773 $as_echo "PATH: $as_dir"
2789 # Keep a trace of the command line.
2790 # Strip out --no-create and --no-recursion so they do not pile up.
2791 # Strip out --silent because we don't want to record it for future runs.
2792 # Also quote any args containing shell meta-characters.
2793 # Make two passes to allow for proper duplicate-argument suppression.
2797 ac_must_keep_next
=false
2803 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2804 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2805 |
-silent |
--silent |
--silen |
--sile |
--sil)
2808 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2811 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2813 as_fn_append ac_configure_args1
" '$ac_arg'"
2814 if test $ac_must_keep_next = true
; then
2815 ac_must_keep_next
=false
# Got value, back to normal.
2818 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2819 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2820 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2821 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2822 case "$ac_configure_args0 " in
2823 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2826 -* ) ac_must_keep_next
=true
;;
2829 as_fn_append ac_configure_args
" '$ac_arg'"
2834 { ac_configure_args0
=; unset ac_configure_args0
;}
2835 { ac_configure_args1
=; unset ac_configure_args1
;}
2837 # When interrupted or exit'd, cleanup temporary files, and complete
2838 # config.log. We remove comments because anyway the quotes in there
2839 # would cause problems or look ugly.
2840 # WARNING: Use '\'' to represent an apostrophe within the trap.
2841 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2842 trap 'exit_status=$?
2843 # Save into config.log some information that might help in debugging.
2847 $as_echo "## ---------------- ##
2848 ## Cache variables. ##
2849 ## ---------------- ##"
2851 # The following way of writing the cache mishandles newlines in values,
2853 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2854 eval ac_val=\$$ac_var
2858 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2859 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2862 _ | IFS | as_nl) ;; #(
2863 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2864 *) { eval $ac_var=; unset $ac_var;} ;;
2869 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2870 *${as_nl}ac_space=\ *)
2872 "s/'\''/'\''\\\\'\'''\''/g;
2873 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2876 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2883 $as_echo "## ----------------- ##
2884 ## Output variables. ##
2885 ## ----------------- ##"
2887 for ac_var in $ac_subst_vars
2889 eval ac_val=\$$ac_var
2891 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2893 $as_echo "$ac_var='\''$ac_val'\''"
2897 if test -n "$ac_subst_files"; then
2898 $as_echo "## ------------------- ##
2899 ## File substitutions. ##
2900 ## ------------------- ##"
2902 for ac_var
in $ac_subst_files
2904 eval ac_val
=\$
$ac_var
2906 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2908 $as_echo "$ac_var='\''$ac_val'\''"
2913 if test -s confdefs.h; then
2914 $as_echo "## ----------- ##
2921 test "$ac_signal" != 0 &&
2922 $as_echo "$as_me: caught signal $ac_signal"
2923 $as_echo "$as_me: exit $exit_status"
2925 rm -f core *.core core.conftest.* &&
2926 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2929 for ac_signal
in 1 2 13 15; do
2930 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2934 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2935 rm -f -r conftest
* confdefs.h
2937 $as_echo "/* confdefs.h */" > confdefs.h
2939 # Predefined preprocessor variables.
2941 cat >>confdefs.h
<<_ACEOF
2942 #define PACKAGE_NAME "$PACKAGE_NAME"
2945 cat >>confdefs.h
<<_ACEOF
2946 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2949 cat >>confdefs.h
<<_ACEOF
2950 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2953 cat >>confdefs.h
<<_ACEOF
2954 #define PACKAGE_STRING "$PACKAGE_STRING"
2957 cat >>confdefs.h
<<_ACEOF
2958 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2961 cat >>confdefs.h
<<_ACEOF
2962 #define PACKAGE_URL "$PACKAGE_URL"
2966 # Let the site file select an alternate cache file if it wants to.
2967 # Prefer an explicitly selected file to automatically selected ones.
2970 if test -n "$CONFIG_SITE"; then
2971 # We do not want a PATH search for config.site.
2972 case $CONFIG_SITE in #((
2973 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2974 */*) ac_site_file1
=$CONFIG_SITE;;
2975 *) ac_site_file1
=.
/$CONFIG_SITE;;
2977 elif test "x$prefix" != xNONE
; then
2978 ac_site_file1
=$prefix/share
/config.site
2979 ac_site_file2
=$prefix/etc
/config.site
2981 ac_site_file1
=$ac_default_prefix/share
/config.site
2982 ac_site_file2
=$ac_default_prefix/etc
/config.site
2984 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2986 test "x$ac_site_file" = xNONE
&& continue
2987 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2989 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2990 sed 's/^/| /' "$ac_site_file" >&5
2992 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2994 as_fn_error $?
"failed to load site script $ac_site_file
2995 See \`config.log' for more details" "$LINENO" 5; }
2999 if test -r "$cache_file"; then
3000 # Some versions of bash will fail to source /dev/null (special files
3001 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3002 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3004 $as_echo "$as_me: loading cache $cache_file" >&6;}
3006 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
3007 *) .
"./$cache_file";;
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3012 $as_echo "$as_me: creating cache $cache_file" >&6;}
3016 # Check that the precious variables saved in the cache have kept the same
3018 ac_cache_corrupted
=false
3019 for ac_var
in $ac_precious_vars; do
3020 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
3021 eval ac_new_set
=\
$ac_env_${ac_var}_set
3022 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
3023 eval ac_new_val
=\
$ac_env_${ac_var}_value
3024 case $ac_old_set,$ac_new_set in
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3027 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3028 ac_cache_corrupted
=: ;;
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3031 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3032 ac_cache_corrupted
=: ;;
3035 if test "x$ac_old_val" != "x$ac_new_val"; then
3036 # differences in whitespace do not lead to failure.
3037 ac_old_val_w
=`echo x $ac_old_val`
3038 ac_new_val_w
=`echo x $ac_new_val`
3039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3041 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3042 ac_cache_corrupted
=:
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3045 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3046 eval $ac_var=\
$ac_old_val
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3049 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3051 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3054 # Pass precious variables to config.status.
3055 if test "$ac_new_set" = set; then
3057 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3058 *) ac_arg
=$ac_var=$ac_new_val ;;
3060 case " $ac_configure_args " in
3061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3062 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
3066 if $ac_cache_corrupted; then
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3070 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3071 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3073 ## -------------------- ##
3074 ## Main body of script. ##
3075 ## -------------------- ##
3078 ac_cpp
='$CPP $CPPFLAGS'
3079 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3088 ac_config_headers
="$ac_config_headers config.h"
3091 # This works around the fact that libtool configuration may change LD
3092 # for this particular configuration, but some shells, instead of
3093 # keeping the changes in LD private, export them just because LD is
3094 # exported. Only used at the end of this file.
3095 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3097 # Find the rest of the source tree framework.
3098 # Default to --enable-multilib
3099 # Check whether --enable-multilib was given.
3100 if test "${enable_multilib+set}" = set; then :
3101 enableval
=$enable_multilib; case "$enableval" in
3102 yes) multilib
=yes ;;
3104 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3111 # We may get other options which we leave undocumented:
3112 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3113 # See config-ml.in if you want the gory details.
3115 if test "$srcdir" = "."; then
3116 if test "$with_target_subdir" != "."; then
3117 multi_basedir
="$srcdir/$with_multisrctop../.."
3119 multi_basedir
="$srcdir/$with_multisrctop.."
3122 multi_basedir
="$srcdir/.."
3126 # Even if the default multilib is not a cross compilation,
3127 # it may be that some of the other multilibs are.
3128 if test $cross_compiling = no
&& test $multilib = yes \
3129 && test "x${with_multisubdir}" != x
; then
3130 cross_compiling
=maybe
3133 ac_config_commands
="$ac_config_commands default-1"
3136 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3138 # You will slowly go insane if you do not grok the following fact: when
3139 # building v3 as part of the compiler, the top-level /target/ becomes the
3140 # library's /host/. configure then causes --target to default to --host,
3141 # exactly like any other package using autoconf. Therefore, 'target' and
3142 # 'host' will always be the same. This makes sense both for native and
3143 # cross compilers, just think about it for a little while. :-)
3145 # Also, if v3 is being configured as part of a cross compiler, the top-level
3146 # configure script will pass the "real" host as $with_cross_host.
3148 # Do not delete or change the following two lines. For why, see
3149 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3151 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3152 if test -f "$ac_dir/install-sh"; then
3154 ac_install_sh
="$ac_aux_dir/install-sh -c"
3156 elif test -f "$ac_dir/install.sh"; then
3158 ac_install_sh
="$ac_aux_dir/install.sh -c"
3160 elif test -f "$ac_dir/shtool"; then
3162 ac_install_sh
="$ac_aux_dir/shtool install -c"
3166 if test -z "$ac_aux_dir"; then
3167 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3170 # These three variables are undocumented and unsupported,
3171 # and are intended to be withdrawn in a future Autoconf release.
3172 # They can cause serious problems if a builder's source tree is in a directory
3173 # whose full name contains unusual characters.
3174 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3175 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3176 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3179 # Make sure we can run config.sub.
3180 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3181 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3184 $as_echo_n "checking build system type... " >&6; }
3185 if ${ac_cv_build+:} false
; then :
3186 $as_echo_n "(cached) " >&6
3188 ac_build_alias
=$build_alias
3189 test "x$ac_build_alias" = x
&&
3190 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3191 test "x$ac_build_alias" = x
&&
3192 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
3193 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3194 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3198 $as_echo "$ac_cv_build" >&6; }
3199 case $ac_cv_build in
3201 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
3204 ac_save_IFS
=$IFS; IFS
='-'
3210 # Remember, the first character of IFS is used to create $*,
3211 # except with old shells:
3214 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3218 $as_echo_n "checking host system type... " >&6; }
3219 if ${ac_cv_host+:} false
; then :
3220 $as_echo_n "(cached) " >&6
3222 if test "x$host_alias" = x
; then
3223 ac_cv_host
=$ac_cv_build
3225 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3226 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3231 $as_echo "$ac_cv_host" >&6; }
3234 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
3237 ac_save_IFS
=$IFS; IFS
='-'
3243 # Remember, the first character of IFS is used to create $*,
3244 # except with old shells:
3247 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3251 $as_echo_n "checking target system type... " >&6; }
3252 if ${ac_cv_target+:} false
; then :
3253 $as_echo_n "(cached) " >&6
3255 if test "x$target_alias" = x
; then
3256 ac_cv_target
=$ac_cv_host
3258 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3259 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3264 $as_echo "$ac_cv_target" >&6; }
3265 case $ac_cv_target in
3267 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
3269 target
=$ac_cv_target
3270 ac_save_IFS
=$IFS; IFS
='-'
3276 # Remember, the first character of IFS is used to create $*,
3277 # except with old shells:
3280 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
3283 # The aliases save the names the user supplied, while $host etc.
3284 # will get canonicalized.
3285 test -n "$target_alias" &&
3286 test "$program_prefix$program_suffix$program_transform_name" = \
3288 program_prefix
=${target_alias}-
3290 target_alias
=${target_alias-$host_alias}
3292 # Handy for debugging:
3293 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3295 if test "$build" != "$host"; then
3296 # We are being configured with some form of cross compiler.
3297 GLIBCXX_IS_NATIVE
=false
3298 case "$host","$target" in
3299 # Darwin crosses can use the host system's libraries and headers,
3300 # because of the fat library support. Of course, it must be the
3301 # same version of Darwin on both sides. Allow the user to
3302 # just say --target=foo-darwin without a version number to mean
3303 # "the version on this system".
3304 *-*-darwin*,*-*-darwin*)
3305 hostos
=`echo $host | sed 's/.*-darwin/darwin/'`
3306 targetos
=`echo $target | sed 's/.*-darwin/darwin/'`
3307 if test $hostos = $targetos ||
test $targetos = darwin
; then
3308 GLIBCXX_IS_NATIVE
=true
3317 GLIBCXX_IS_NATIVE
=true
3320 # In the case that we're building without headers, we won't have <stdio.h>
3321 # available. In these cases, we have to instruct autotools to never include
3322 # <stdio.h> as a part of default headers.
3324 if test "x$with_headers" = "xno"; then
3325 ac_includes_default
=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3329 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3330 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3331 # 1.x: minimum required version
3332 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3333 # of other PACKAGE_* variables will, however, and there's nothing
3334 # we can do about that; they come from AC_INIT).
3335 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3336 # file in the top srcdir, etc, etc), so stop complaining.
3337 # no-dependencies: turns off auto dependency generation (just for now)
3338 # no-dist: we don't want 'dist' and related rules.
3339 # -Wall: turns on all automake warnings...
3340 # -Wno-portability: ...except this one, since GNU make is now required.
3341 am__api_version
='1.15'
3343 # Find a good install program. We prefer a C program (faster),
3344 # so one script is as good as another. But avoid the broken or
3345 # incompatible versions:
3346 # SysV /etc/install, /usr/sbin/install
3347 # SunOS /usr/etc/install
3348 # IRIX /sbin/install
3350 # AmigaOS /C/install, which installs bootblocks on floppy discs
3351 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3352 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3353 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3354 # OS/2's system install, which has a completely different semantic
3355 # ./install, which can be erroneously created by make from ./install.sh.
3356 # Reject install programs that cannot install multiple files.
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3358 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3359 if test -z "$INSTALL"; then
3360 if ${ac_cv_path_install+:} false
; then :
3361 $as_echo_n "(cached) " >&6
3363 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3367 test -z "$as_dir" && as_dir
=.
3368 # Account for people who put trailing slashes in PATH elements.
3369 case $as_dir/ in #((
3370 .
/ | .
// |
/[cC
]/* | \
3371 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3372 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3375 # OSF1 and SCO ODT 3.0 have their own names for install.
3376 # Don't use installbsd from OSF since it installs stuff as root
3378 for ac_prog
in ginstall scoinst
install; do
3379 for ac_exec_ext
in '' $ac_executable_extensions; do
3380 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3381 if test $ac_prog = install &&
3382 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3383 # AIX install. It has an incompatible calling convention.
3385 elif test $ac_prog = install &&
3386 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3387 # program-specific install script used by HP pwplus--don't use.
3390 rm -rf conftest.one conftest.two conftest.dir
3391 echo one
> conftest.one
3392 echo two
> conftest.two
3394 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3395 test -s conftest.one
&& test -s conftest.two
&&
3396 test -s conftest.dir
/conftest.one
&&
3397 test -s conftest.dir
/conftest.two
3399 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3412 rm -rf conftest.one conftest.two conftest.dir
3415 if test "${ac_cv_path_install+set}" = set; then
3416 INSTALL
=$ac_cv_path_install
3418 # As a last resort, use the slow shell script. Don't cache a
3419 # value for INSTALL within a source directory, because that will
3420 # break other packages using the cache if that directory is
3421 # removed, or if the value is a relative name.
3422 INSTALL
=$ac_install_sh
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3426 $as_echo "$INSTALL" >&6; }
3428 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3429 # It thinks the first close brace ends the variable substitution.
3430 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3432 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3434 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3437 $as_echo_n "checking whether build environment is sane... " >&6; }
3438 # Reject unsafe characters in $srcdir or the absolute working directory
3439 # name. Accept space and tab only in the latter.
3443 *[\\\"\
#\$\&\'\`$am_lf]*)
3444 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3447 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3448 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3451 # Do 'set' in a subshell so we don't clobber the current shell's
3452 # arguments. Must try -L first in case configure is actually a
3453 # symlink; some systems play weird games with the mod time of symlinks
3454 # (eg FreeBSD returns the mod time of the symlink's containing
3458 for am_try
in 1 2; do
3459 echo "timestamp, slept: $am_has_slept" > conftest.
file
3460 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3461 if test "$*" = "X"; then
3463 set X
`ls -t "$srcdir/configure" conftest.file`
3465 if test "$*" != "X $srcdir/configure conftest.file" \
3466 && test "$*" != "X conftest.file $srcdir/configure"; then
3468 # If neither matched, then we have a broken ls. This can happen
3469 # if, for instance, CONFIG_SHELL is bash and it inherits a
3470 # broken ls alias from the environment. This has actually
3471 # happened. Such a system could not be considered "sane".
3472 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3473 alias in your environment" "$LINENO" 5
3475 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3482 test "$2" = conftest.
file
3488 as_fn_error $?
"newly created file is older than distributed files!
3489 Check your system clock" "$LINENO" 5
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3492 $as_echo "yes" >&6; }
3493 # If we didn't sleep, we still need to ensure time stamps of config.status and
3494 # generated files are strictly newer.
3496 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3503 test "$program_prefix" != NONE
&&
3504 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3505 # Use a double $ so make ignores it.
3506 test "$program_suffix" != NONE
&&
3507 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3508 # Double any \ or $.
3509 # By default was `s,x,x', remove it if useless.
3510 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3511 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3513 # Expand $ac_aux_dir to an absolute path.
3514 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3516 if test x
"${MISSING+set}" != xset
; then
3519 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3521 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3524 # Use eval to expand $SHELL
3525 if eval "$MISSING --is-lightweight"; then
3526 am_missing_run
="$MISSING "
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3530 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3533 if test x
"${install_sh+set}" != xset
; then
3536 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3538 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3542 # Installed binaries are usually stripped using 'strip' when the user
3543 # run "make install-strip". However 'strip' might not be the right
3544 # tool to use in cross-compilation environments, therefore Automake
3545 # will honor the 'STRIP' environment variable to overrule this program.
3546 if test "$cross_compiling" != no
; then
3547 if test -n "$ac_tool_prefix"; then
3548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3549 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3551 $as_echo_n "checking for $ac_word... " >&6; }
3552 if ${ac_cv_prog_STRIP+:} false
; then :
3553 $as_echo_n "(cached) " >&6
3555 if test -n "$STRIP"; then
3556 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3562 test -z "$as_dir" && as_dir
=.
3563 for ac_exec_ext
in '' $ac_executable_extensions; do
3564 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3565 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 STRIP
=$ac_cv_prog_STRIP
3576 if test -n "$STRIP"; then
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3578 $as_echo "$STRIP" >&6; }
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3581 $as_echo "no" >&6; }
3586 if test -z "$ac_cv_prog_STRIP"; then
3588 # Extract the first word of "strip", so it can be a program name with args.
3589 set dummy strip
; ac_word
=$2
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3591 $as_echo_n "checking for $ac_word... " >&6; }
3592 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3593 $as_echo_n "(cached) " >&6
3595 if test -n "$ac_ct_STRIP"; then
3596 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3602 test -z "$as_dir" && as_dir
=.
3603 for ac_exec_ext
in '' $ac_executable_extensions; do
3604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3605 ac_cv_prog_ac_ct_STRIP
="strip"
3606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3615 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3616 if test -n "$ac_ct_STRIP"; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3618 $as_echo "$ac_ct_STRIP" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3624 if test "x$ac_ct_STRIP" = x
; then
3627 case $cross_compiling:$ac_tool_warned in
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3631 ac_tool_warned
=yes ;;
3636 STRIP
="$ac_cv_prog_STRIP"
3640 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3643 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3644 if test -z "$MKDIR_P"; then
3645 if ${ac_cv_path_mkdir+:} false
; then :
3646 $as_echo_n "(cached) " >&6
3648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3649 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3652 test -z "$as_dir" && as_dir
=.
3653 for ac_prog
in mkdir gmkdir
; do
3654 for ac_exec_ext
in '' $ac_executable_extensions; do
3655 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3656 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3657 'mkdir (GNU coreutils) '* | \
3658 'mkdir (coreutils) '* | \
3659 'mkdir (fileutils) '4.1*)
3660 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3670 test -d .
/--version && rmdir .
/--version
3671 if test "${ac_cv_path_mkdir+set}" = set; then
3672 MKDIR_P
="$ac_cv_path_mkdir -p"
3674 # As a last resort, use the slow shell script. Don't cache a
3675 # value for MKDIR_P within a source directory, because that will
3676 # break other packages using the cache if that directory is
3677 # removed, or if the value is a relative name.
3678 MKDIR_P
="$ac_install_sh -d"
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3682 $as_echo "$MKDIR_P" >&6; }
3684 for ac_prog
in gawk mawk nawk
awk
3686 # Extract the first word of "$ac_prog", so it can be a program name with args.
3687 set dummy
$ac_prog; ac_word
=$2
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3689 $as_echo_n "checking for $ac_word... " >&6; }
3690 if ${ac_cv_prog_AWK+:} false
; then :
3691 $as_echo_n "(cached) " >&6
3693 if test -n "$AWK"; then
3694 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3700 test -z "$as_dir" && as_dir
=.
3701 for ac_exec_ext
in '' $ac_executable_extensions; do
3702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3703 ac_cv_prog_AWK
="$ac_prog"
3704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 if test -n "$AWK"; then
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3716 $as_echo "$AWK" >&6; }
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3719 $as_echo "no" >&6; }
3723 test -n "$AWK" && break
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3727 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3729 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3730 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3731 $as_echo_n "(cached) " >&6
3733 cat >conftest.
make <<\_ACEOF
3736 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3738 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3739 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3741 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3743 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3747 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3749 $as_echo "yes" >&6; }
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3753 $as_echo "no" >&6; }
3754 SET_MAKE
="MAKE=${MAKE-make}"
3757 rm -rf .tst
2>/dev
/null
3758 mkdir .tst
2>/dev
/null
3759 if test -d .tst
; then
3764 rmdir .tst
2>/dev
/null
3766 # Check whether --enable-silent-rules was given.
3767 if test "${enable_silent_rules+set}" = set; then :
3768 enableval
=$enable_silent_rules;
3771 case $enable_silent_rules in # (((
3772 yes) AM_DEFAULT_VERBOSITY
=0;;
3773 no
) AM_DEFAULT_VERBOSITY
=1;;
3774 *) AM_DEFAULT_VERBOSITY
=1;;
3776 am_make
=${MAKE-make}
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3778 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3779 if ${am_cv_make_support_nested_variables+:} false
; then :
3780 $as_echo_n "(cached) " >&6
3782 if $as_echo 'TRUE=$(BAR$(V))
3788 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3789 am_cv_make_support_nested_variables
=yes
3791 am_cv_make_support_nested_variables
=no
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3795 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3796 if test $am_cv_make_support_nested_variables = yes; then
3798 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3800 AM_V
=$AM_DEFAULT_VERBOSITY
3801 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3805 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3806 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3807 # is not polluted with repeated "-I."
3808 am__isrc
=' -I$(srcdir)'
3809 # test to see if srcdir already configured
3810 if test -f $srcdir/config.status
; then
3811 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3815 # test whether we have cygpath
3816 if test -z "$CYGPATH_W"; then
3817 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3818 CYGPATH_W
='cygpath -w'
3825 # Define the identity of the package.
3827 VERSION
='version-unused'
3830 # Some tools Automake needs.
3832 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3835 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3838 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3841 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3844 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3846 # For better backward compatibility. To be removed once Automake 1.9.x
3847 # dies out for good. For more background, see:
3848 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3849 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3850 mkdir_p
='$(MKDIR_P)'
3852 # We need awk for the "check" target (and possibly the TAP driver). The
3853 # system "awk" is bad on some platforms.
3854 # Always define AMTAR for backward compatibility. Yes, it's still used
3855 # in the wild :-( We should find a proper way to deprecate it ...
3859 # We'll loop over all known methods to create a tar archive until one works.
3860 _am_tools
='gnutar pax cpio none'
3862 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3869 # POSIX will say in a future version that running "rm -f" with no argument
3870 # is OK; and we want to be able to make that assumption in our Makefile
3871 # recipes. So use an aggressive probe to check that the usage we want is
3872 # actually supported "in the wild" to an acceptable degree.
3873 # See automake bug#10828.
3874 # To make any issue more visible, cause the running configure to be aborted
3875 # by default if the 'rm' program in use doesn't match our expectations; the
3876 # user can still override this though.
3877 if rm -f && rm -fr && rm -rf; then : OK
; else
3881 Your 'rm' program seems unable to run without file operands specified
3882 on the command line, even when the '-f' option is present. This is contrary
3883 to the behaviour of most rm programs out there, and not conforming with
3884 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3886 Please tell bug-automake@gnu.org about your system, including the value
3887 of your $PATH and any error possibly output before this message. This
3888 can help us improve future automake versions.
3891 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3892 echo 'Configuration will proceed anyway, since you have set the' >&2
3893 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3897 Aborting the configuration process, to ensure you take notice of the issue.
3899 You can download and install GNU coreutils to get an 'rm' implementation
3900 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3902 If you want to complete the configuration process using your problematic
3903 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3904 to "yes", and re-run configure.
3907 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3914 # -fno-builtin must be present here so that a non-conflicting form of
3915 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3917 save_CXXFLAGS
="$CXXFLAGS"
3918 CXXFLAGS
="$CXXFLAGS -fno-builtin"
3920 ac_cpp
='$CPP $CPPFLAGS'
3921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3926 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if ${ac_cv_prog_CC+:} false
; then :
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$CC"; then
3933 ac_cv_prog_CC
="$CC" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3942 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3953 if test -n "$CC"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3955 $as_echo "$CC" >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3963 if test -z "$ac_cv_prog_CC"; then
3965 # Extract the first word of "gcc", so it can be a program name with args.
3966 set dummy gcc
; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$ac_ct_CC"; then
3973 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_prog_ac_ct_CC
="gcc"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3993 if test -n "$ac_ct_CC"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3995 $as_echo "$ac_ct_CC" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4001 if test "x$ac_ct_CC" = x
; then
4004 case $cross_compiling:$ac_tool_warned in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned
=yes ;;
4016 if test -z "$CC"; then
4017 if test -n "$ac_tool_prefix"; then
4018 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4019 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if ${ac_cv_prog_CC+:} false
; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$CC"; then
4026 ac_cv_prog_CC
="$CC" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4035 ac_cv_prog_CC
="${ac_tool_prefix}cc"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 if test -n "$CC"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4048 $as_echo "$CC" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4057 if test -z "$CC"; then
4058 # Extract the first word of "cc", so it can be a program name with args.
4059 set dummy cc
; ac_word
=$2
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4061 $as_echo_n "checking for $ac_word... " >&6; }
4062 if ${ac_cv_prog_CC+:} false
; then :
4063 $as_echo_n "(cached) " >&6
4065 if test -n "$CC"; then
4066 ac_cv_prog_CC
="$CC" # Let the user override the test.
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4076 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4077 ac_prog_rejected
=yes
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 if test $ac_prog_rejected = yes; then
4089 # We found a bogon in the path, so make sure we never use it.
4090 set dummy
$ac_cv_prog_CC
4092 if test $# != 0; then
4093 # We chose a different compiler from the bogus one.
4094 # However, it has the same basename, so the bogon will be chosen
4095 # first if we set CC to just the basename; use the full file name.
4097 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
4103 if test -n "$CC"; then
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4105 $as_echo "$CC" >&6; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4108 $as_echo "no" >&6; }
4113 if test -z "$CC"; then
4114 if test -n "$ac_tool_prefix"; then
4115 for ac_prog
in cl.exe
4117 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4118 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4120 $as_echo_n "checking for $ac_word... " >&6; }
4121 if ${ac_cv_prog_CC+:} false
; then :
4122 $as_echo_n "(cached) " >&6
4124 if test -n "$CC"; then
4125 ac_cv_prog_CC
="$CC" # Let the user override the test.
4127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4131 test -z "$as_dir" && as_dir
=.
4132 for ac_exec_ext
in '' $ac_executable_extensions; do
4133 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4134 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
4135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 if test -n "$CC"; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4147 $as_echo "$CC" >&6; }
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4150 $as_echo "no" >&6; }
4154 test -n "$CC" && break
4157 if test -z "$CC"; then
4159 for ac_prog
in cl.exe
4161 # Extract the first word of "$ac_prog", so it can be a program name with args.
4162 set dummy
$ac_prog; ac_word
=$2
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4164 $as_echo_n "checking for $ac_word... " >&6; }
4165 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
4166 $as_echo_n "(cached) " >&6
4168 if test -n "$ac_ct_CC"; then
4169 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
4171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4175 test -z "$as_dir" && as_dir
=.
4176 for ac_exec_ext
in '' $ac_executable_extensions; do
4177 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4178 ac_cv_prog_ac_ct_CC
="$ac_prog"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4188 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
4189 if test -n "$ac_ct_CC"; then
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4191 $as_echo "$ac_ct_CC" >&6; }
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4194 $as_echo "no" >&6; }
4198 test -n "$ac_ct_CC" && break
4201 if test "x$ac_ct_CC" = x
; then
4204 case $cross_compiling:$ac_tool_warned in
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4207 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4208 ac_tool_warned
=yes ;;
4217 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4219 as_fn_error $?
"no acceptable C compiler found in \$PATH
4220 See \`config.log' for more details" "$LINENO" 5; }
4222 # Provide some information about the compiler.
4223 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4226 for ac_option
in --version -v -V -qversion; do
4227 { { ac_try
="$ac_compiler $ac_option >&5"
4229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4230 *) ac_try_echo=$ac_try;;
4232 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4233 $as_echo "$ac_try_echo"; } >&5
4234 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4236 if test -s conftest.err; then
4238 ... rest of stderr output deleted ...
4239 10q' conftest.err >conftest.er1
4240 cat conftest.er1 >&5
4242 rm -f conftest.er1 conftest.err
4243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4244 test $ac_status = 0; }
4247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4248 /* end confdefs.h. */
4253 printf ("hello world\n");
4259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4260 (eval $ac_link) 2>&5
4262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4263 test $ac_status = 0; }; then :
4268 if test x$gcc_no_link = xyes; then
4269 # Setting cross_compile will disable run tests; it will
4270 # also disable AC_CHECK_FILE but that's generally
4271 # correct if we can't link.
4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4276 /* end confdefs.h. */
4286 ac_clean_files_save=$ac_clean_files
4287 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4288 # Try to create an executable without -o first, disregard a.out.
4289 # It will help us diagnose broken compilers, and finding out an intuition
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4292 $as_echo_n "checking whether the C compiler works... " >&6; }
4293 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4295 # The possible output files:
4296 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4299 for ac_file in $ac_files
4302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4308 if { { ac_try="$ac_link_default"
4310 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4311 *) ac_try_echo
=$ac_try;;
4313 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4314 $as_echo "$ac_try_echo"; } >&5
4315 (eval "$ac_link_default") 2>&5
4317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4318 test $ac_status = 0; }; then :
4319 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4320 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4321 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4322 # so that the user can short-circuit this test for compilers unknown to
4324 for ac_file
in $ac_files ''
4326 test -f "$ac_file" ||
continue
4328 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4331 # We found the default executable, but exeext='' is most
4335 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4337 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4339 # We set ac_cv_exeext here because the later test for it is not
4340 # safe: cross compilers may not add the suffix if given an `-o'
4341 # argument, so we may need to know it at that point already.
4342 # Even if this section looks crufty: it has the advantage of
4349 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4354 if test -z "$ac_file"; then :
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4357 $as_echo "$as_me: failed program was:" >&5
4358 sed 's/^/| /' conftest.
$ac_ext >&5
4360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4362 as_fn_error
77 "C compiler cannot create executables
4363 See \`config.log' for more details" "$LINENO" 5; }
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4366 $as_echo "yes" >&6; }
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4369 $as_echo_n "checking for C compiler default output file name... " >&6; }
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4371 $as_echo "$ac_file" >&6; }
4372 ac_exeext
=$ac_cv_exeext
4374 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4375 ac_clean_files
=$ac_clean_files_save
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4377 $as_echo_n "checking for suffix of executables... " >&6; }
4378 if { { ac_try
="$ac_link"
4380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_link") 2>&5
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4390 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4391 # work properly (i.e., refer to `conftest.exe'), while it won't with
4393 for ac_file
in conftest.exe conftest conftest.
*; do
4394 test -f "$ac_file" ||
continue
4396 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4397 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4403 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4404 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4405 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4406 See \`config.log' for more details" "$LINENO" 5; }
4408 rm -f conftest conftest
$ac_cv_exeext
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4410 $as_echo "$ac_cv_exeext" >&6; }
4412 rm -f conftest.
$ac_ext
4413 EXEEXT
=$ac_cv_exeext
4415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4421 FILE *f = fopen ("conftest.out", "w");
4422 return ferror (f) || fclose (f) != 0;
4428 ac_clean_files
="$ac_clean_files conftest.out"
4429 # Check that the compiler produces executables we can run. If not, either
4430 # the compiler is broken, or we cross compile.
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4432 $as_echo_n "checking whether we are cross compiling... " >&6; }
4433 if test "$cross_compiling" != yes; then
4434 { { ac_try
="$ac_link"
4436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4437 *) ac_try_echo=$ac_try;;
4439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4440 $as_echo "$ac_try_echo"; } >&5
4441 (eval "$ac_link") 2>&5
4443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4444 test $ac_status = 0; }
4445 if { ac_try='./conftest$ac_cv_exeext'
4446 { { case "(($ac_try" in
4447 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4448 *) ac_try_echo
=$ac_try;;
4450 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_try") 2>&5
4454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4455 test $ac_status = 0; }; }; then
4458 if test "$cross_compiling" = maybe
; then
4461 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4462 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4463 as_fn_error $?
"cannot run C compiled programs.
4464 If you meant to cross compile, use \`--host'.
4465 See \`config.log' for more details" "$LINENO" 5; }
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4470 $as_echo "$cross_compiling" >&6; }
4472 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4473 ac_clean_files
=$ac_clean_files_save
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4476 $as_echo_n "checking for suffix of object files... " >&6; }
4477 if ${ac_cv_objext+:} false
; then :
4478 $as_echo_n "(cached) " >&6
4480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4481 /* end confdefs.h. */
4491 rm -f conftest.o conftest.obj
4492 if { { ac_try
="$ac_compile"
4494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4495 *) ac_try_echo=$ac_try;;
4497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4498 $as_echo "$ac_try_echo"; } >&5
4499 (eval "$ac_compile") 2>&5
4501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4502 test $ac_status = 0; }; then :
4503 for ac_file in conftest.o conftest.obj conftest.*; do
4504 test -f "$ac_file" || continue;
4506 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4507 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4512 $as_echo "$as_me: failed program was:" >&5
4513 sed 's/^/| /' conftest.$ac_ext >&5
4515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4517 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4518 See \
`config.log' for more details" "$LINENO" 5; }
4520 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4523 $as_echo "$ac_cv_objext" >&6; }
4524 OBJEXT=$ac_cv_objext
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4527 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4528 if ${ac_cv_c_compiler_gnu+:} false; then :
4529 $as_echo_n "(cached) " >&6
4531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4532 /* end confdefs.h. */
4545 if ac_fn_c_try_compile "$LINENO"; then :
4550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4551 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4555 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4556 if test $ac_compiler_gnu = yes; then
4561 ac_test_CFLAGS=${CFLAGS+set}
4562 ac_save_CFLAGS=$CFLAGS
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4564 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4565 if ${ac_cv_prog_cc_g+:} false; then :
4566 $as_echo_n "(cached) " >&6
4568 ac_save_c_werror_flag=$ac_c_werror_flag
4569 ac_c_werror_flag=yes
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4583 if ac_fn_c_try_compile "$LINENO"; then :
4587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4588 /* end confdefs.h. */
4598 if ac_fn_c_try_compile "$LINENO"; then :
4601 ac_c_werror_flag=$ac_save_c_werror_flag
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4614 if ac_fn_c_try_compile "$LINENO"; then :
4617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4622 ac_c_werror_flag=$ac_save_c_werror_flag
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4625 $as_echo "$ac_cv_prog_cc_g" >&6; }
4626 if test "$ac_test_CFLAGS" = set; then
4627 CFLAGS=$ac_save_CFLAGS
4628 elif test $ac_cv_prog_cc_g = yes; then
4629 if test "$GCC" = yes; then
4635 if test "$GCC" = yes; then
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4642 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4643 if ${ac_cv_prog_cc_c89+:} false; then :
4644 $as_echo_n "(cached) " >&6
4646 ac_cv_prog_cc_c89=no
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4654 struct buf { int x; };
4655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4656 static char *e (p, i)
4662 static char *f (char * (*g) (char **, int), char **p, ...)
4667 s = g (p, va_arg (v,int));
4672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4673 function prototypes and stuff, but not '\xHH' hex character constants.
4674 These don't provoke an error unfortunately, instead are silently treated
4675 as 'x'. The following induces an error, until -std is added to get
4676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4677 array size at least. It's necessary to write '\x00'==0 to get something
4678 that's true only with -std. */
4679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4682 inside strings and character constants. */
4684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4686 int test (int i, double x);
4687 struct s1 {int (*f) (int a);};
4688 struct s2 {int (*f) (double a);};
4689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4703 CC="$ac_save_CC $ac_arg"
4704 if ac_fn_c_try_compile "$LINENO"; then :
4705 ac_cv_prog_cc_c89=$ac_arg
4707 rm -f core conftest.err conftest.$ac_objext
4708 test "x$ac_cv_prog_cc_c89" != "xno" && break
4710 rm -f conftest.$ac_ext
4715 case "x$ac_cv_prog_cc_c89" in
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4718 $as_echo "none needed" >&6; } ;;
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4721 $as_echo "unsupported" >&6; } ;;
4723 CC="$CC $ac_cv_prog_cc_c89"
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4727 if test "x$ac_cv_prog_cc_c89" != xno; then :
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4738 ac_cpp='$CPP $CPPFLAGS'
4739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4743 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4744 if ${am_cv_prog_cc_c_o+:} false; then :
4745 $as_echo_n "(cached) " >&6
4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4748 /* end confdefs.h. */
4758 # Make sure it works both with $CC and with simple cc.
4759 # Following AC_PROG_CC_C_O, we do the test twice because some
4760 # compilers refuse to overwrite an existing .o file with -o,
4761 # though they will create one.
4762 am_cv_prog_cc_c_o=yes
4764 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4765 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } \
4769 && test -f conftest2.$ac_objext; then
4772 am_cv_prog_cc_c_o=no
4776 rm -f core conftest*
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4780 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4781 if test "$am_cv_prog_cc_c_o" != yes; then
4782 # Losing compiler, so override with the script.
4783 # FIXME: It is wrong to rewrite CC.
4784 # But if we don't then we get into trouble of one sort or another.
4785 # A longer-term fix would be to have automake use am__CC in this case,
4786 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4787 CC="$am_aux_dir/compile $CC"
4790 ac_cpp='$CPP $CPPFLAGS'
4791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4797 ac_cpp='$CXXCPP $CPPFLAGS'
4798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4801 if test -z "$CXX"; then
4802 if test -n "$CCC"; then
4805 if test -n "$ac_tool_prefix"; then
4806 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4808 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4809 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_CXX+:} false; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$CXX"; then
4816 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 if test -n "$CXX"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4838 $as_echo "$CXX" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$CXX" && break
4848 if test -z "$CXX"; then
4850 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4852 # Extract the first word of "$ac_prog", so it can be a program name with args.
4853 set dummy $ac_prog; ac_word=$2
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4855 $as_echo_n "checking for $ac_word... " >&6; }
4856 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4857 $as_echo_n "(cached) " >&6
4859 if test -n "$ac_ct_CXX"; then
4860 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4866 test -z "$as_dir" && as_dir=.
4867 for ac_exec_ext in '' $ac_executable_extensions; do
4868 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4869 ac_cv_prog_ac_ct_CXX="$ac_prog"
4870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4879 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4880 if test -n "$ac_ct_CXX"; then
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4882 $as_echo "$ac_ct_CXX" >&6; }
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4885 $as_echo "no" >&6; }
4889 test -n "$ac_ct_CXX" && break
4892 if test "x$ac_ct_CXX" = x; then
4895 case $cross_compiling:$ac_tool_warned in
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4898 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4899 ac_tool_warned=yes ;;
4907 # Provide some information about the compiler.
4908 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4911 for ac_option in --version -v -V -qversion; do
4912 { { ac_try="$ac_compiler $ac_option >&5"
4914 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4915 *) ac_try_echo
=$ac_try;;
4917 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4918 $as_echo "$ac_try_echo"; } >&5
4919 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4921 if test -s conftest.err
; then
4923 ... rest of stderr output deleted ...
4924 10q' conftest.err
>conftest.er1
4925 cat conftest.er1
>&5
4927 rm -f conftest.er1 conftest.err
4928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4929 test $ac_status = 0; }
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4933 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4934 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
4935 $as_echo_n "(cached) " >&6
4937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4951 if ac_fn_cxx_try_compile
"$LINENO"; then :
4956 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4957 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4961 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4962 if test $ac_compiler_gnu = yes; then
4967 ac_test_CXXFLAGS
=${CXXFLAGS+set}
4968 ac_save_CXXFLAGS
=$CXXFLAGS
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4970 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4971 if ${ac_cv_prog_cxx_g+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
4975 ac_cxx_werror_flag
=yes
4978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_cxx_try_compile
"$LINENO"; then :
4990 ac_cv_prog_cxx_g
=yes
4993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4994 /* end confdefs.h. */
5004 if ac_fn_cxx_try_compile
"$LINENO"; then :
5007 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5020 if ac_fn_cxx_try_compile
"$LINENO"; then :
5021 ac_cv_prog_cxx_g
=yes
5023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5028 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5031 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5032 if test "$ac_test_CXXFLAGS" = set; then
5033 CXXFLAGS
=$ac_save_CXXFLAGS
5034 elif test $ac_cv_prog_cxx_g = yes; then
5035 if test "$GXX" = yes; then
5041 if test "$GXX" = yes; then
5048 ac_cpp
='$CPP $CPPFLAGS'
5049 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5050 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5051 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5053 CXXFLAGS
="$save_CXXFLAGS"
5056 # Check whether --enable-largefile was given.
5057 if test "${enable_largefile+set}" = set; then :
5058 enableval
=$enable_largefile;
5061 if test "$enable_largefile" != no
; then
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5064 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5065 if ${ac_cv_sys_largefile_CC+:} false
; then :
5066 $as_echo_n "(cached) " >&6
5068 ac_cv_sys_largefile_CC
=no
5069 if test "$GCC" != yes; then
5072 # IRIX 6.2 and later do not support large files by default,
5073 # so use the C compiler's -n32 option if that helps.
5074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5075 /* end confdefs.h. */
5076 #include <sys/types.h>
5077 /* Check that off_t can represent 2**63 - 1 correctly.
5078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5079 since some C++ compilers masquerading as C compilers
5080 incorrectly reject 9223372036854775807. */
5081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5083 && LARGE_OFF_T % 2147483647 == 1)
5093 if ac_fn_c_try_compile
"$LINENO"; then :
5096 rm -f core conftest.err conftest.
$ac_objext
5098 if ac_fn_c_try_compile
"$LINENO"; then :
5099 ac_cv_sys_largefile_CC
=' -n32'; break
5101 rm -f core conftest.err conftest.
$ac_objext
5105 rm -f conftest.
$ac_ext
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5109 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5110 if test "$ac_cv_sys_largefile_CC" != no
; then
5111 CC
=$CC$ac_cv_sys_largefile_CC
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5115 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5116 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5117 $as_echo_n "(cached) " >&6
5120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5121 /* end confdefs.h. */
5122 #include <sys/types.h>
5123 /* Check that off_t can represent 2**63 - 1 correctly.
5124 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5125 since some C++ compilers masquerading as C compilers
5126 incorrectly reject 9223372036854775807. */
5127 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5128 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5129 && LARGE_OFF_T % 2147483647 == 1)
5139 if ac_fn_c_try_compile
"$LINENO"; then :
5140 ac_cv_sys_file_offset_bits
=no
; break
5142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5144 /* end confdefs.h. */
5145 #define _FILE_OFFSET_BITS 64
5146 #include <sys/types.h>
5147 /* Check that off_t can represent 2**63 - 1 correctly.
5148 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5149 since some C++ compilers masquerading as C compilers
5150 incorrectly reject 9223372036854775807. */
5151 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5152 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5153 && LARGE_OFF_T % 2147483647 == 1)
5163 if ac_fn_c_try_compile
"$LINENO"; then :
5164 ac_cv_sys_file_offset_bits
=64; break
5166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5167 ac_cv_sys_file_offset_bits
=unknown
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5172 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5173 case $ac_cv_sys_file_offset_bits in #(
5176 cat >>confdefs.h
<<_ACEOF
5177 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5182 if test $ac_cv_sys_file_offset_bits = unknown
; then
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5184 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5185 if ${ac_cv_sys_large_files+:} false
; then :
5186 $as_echo_n "(cached) " >&6
5189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5190 /* end confdefs.h. */
5191 #include <sys/types.h>
5192 /* Check that off_t can represent 2**63 - 1 correctly.
5193 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5194 since some C++ compilers masquerading as C compilers
5195 incorrectly reject 9223372036854775807. */
5196 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5197 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5198 && LARGE_OFF_T % 2147483647 == 1)
5208 if ac_fn_c_try_compile
"$LINENO"; then :
5209 ac_cv_sys_large_files
=no
; break
5211 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5214 #define _LARGE_FILES 1
5215 #include <sys/types.h>
5216 /* Check that off_t can represent 2**63 - 1 correctly.
5217 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5218 since some C++ compilers masquerading as C compilers
5219 incorrectly reject 9223372036854775807. */
5220 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5221 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5222 && LARGE_OFF_T % 2147483647 == 1)
5232 if ac_fn_c_try_compile
"$LINENO"; then :
5233 ac_cv_sys_large_files
=1; break
5235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5236 ac_cv_sys_large_files
=unknown
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5241 $as_echo "$ac_cv_sys_large_files" >&6; }
5242 case $ac_cv_sys_large_files in #(
5245 cat >>confdefs.h
<<_ACEOF
5246 #define _LARGE_FILES $ac_cv_sys_large_files
5257 # Runs configure.host, and assorted other critical bits. Sets
5258 # up critical shell variables.
5260 ac_cpp
='$CPP $CPPFLAGS'
5261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5265 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5266 # On Suns, sometimes $CPP names a directory.
5267 if test -n "$CPP" && test -d "$CPP"; then
5270 if test -z "$CPP"; then
5271 if ${ac_cv_prog_CPP+:} false
; then :
5272 $as_echo_n "(cached) " >&6
5274 # Double quotes because CPP needs to be expanded
5275 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5278 for ac_c_preproc_warn_flag
in '' yes
5280 # Use a header file that comes with gcc, so configuring glibc
5281 # with a fresh cross-compiler works.
5282 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5283 # <limits.h> exists even on freestanding compilers.
5284 # On the NeXT, cc -E runs the code through the compiler's parser,
5285 # not just through cpp. "Syntax error" is here to catch this case.
5286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5287 /* end confdefs.h. */
5289 # include <limits.h>
5291 # include <assert.h>
5295 if ac_fn_c_try_cpp
"$LINENO"; then :
5298 # Broken: fails on valid input.
5301 rm -f conftest.err conftest.i conftest.
$ac_ext
5303 # OK, works on sane cases. Now check whether nonexistent headers
5304 # can be detected and how.
5305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5307 #include <ac_nonexistent.h>
5309 if ac_fn_c_try_cpp
"$LINENO"; then :
5310 # Broken: success on invalid input.
5313 # Passes both tests.
5317 rm -f conftest.err conftest.i conftest.
$ac_ext
5320 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5321 rm -f conftest.i conftest.err conftest.
$ac_ext
5322 if $ac_preproc_ok; then :
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5335 $as_echo "$CPP" >&6; }
5337 for ac_c_preproc_warn_flag
in '' yes
5339 # Use a header file that comes with gcc, so configuring glibc
5340 # with a fresh cross-compiler works.
5341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5342 # <limits.h> exists even on freestanding compilers.
5343 # On the NeXT, cc -E runs the code through the compiler's parser,
5344 # not just through cpp. "Syntax error" is here to catch this case.
5345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5346 /* end confdefs.h. */
5348 # include <limits.h>
5350 # include <assert.h>
5354 if ac_fn_c_try_cpp
"$LINENO"; then :
5357 # Broken: fails on valid input.
5360 rm -f conftest.err conftest.i conftest.
$ac_ext
5362 # OK, works on sane cases. Now check whether nonexistent headers
5363 # can be detected and how.
5364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5365 /* end confdefs.h. */
5366 #include <ac_nonexistent.h>
5368 if ac_fn_c_try_cpp
"$LINENO"; then :
5369 # Broken: success on invalid input.
5372 # Passes both tests.
5376 rm -f conftest.err conftest.i conftest.
$ac_ext
5379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5380 rm -f conftest.i conftest.err conftest.
$ac_ext
5381 if $ac_preproc_ok; then :
5384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5386 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5387 See \`config.log' for more details" "$LINENO" 5; }
5391 ac_cpp
='$CPP $CPPFLAGS'
5392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5398 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5399 if ${ac_cv_path_GREP+:} false
; then :
5400 $as_echo_n "(cached) " >&6
5402 if test -z "$GREP"; then
5403 ac_path_GREP_found
=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_prog
in grep ggrep
; do
5411 for ac_exec_ext
in '' $ac_executable_extensions; do
5412 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5413 as_fn_executable_p
"$ac_path_GREP" ||
continue
5414 # Check for GNU ac_path_GREP and select it if it is found.
5415 # Check for GNU $ac_path_GREP
5416 case `"$ac_path_GREP" --version 2>&1` in
5418 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5421 $as_echo_n 0123456789 >"conftest.in"
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo 'GREP' >> "conftest.nl"
5428 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5429 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5430 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5431 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_GREP
="$ac_path_GREP"
5434 ac_path_GREP_max
=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5439 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5442 $ac_path_GREP_found && break 3
5447 if test -z "$ac_cv_path_GREP"; then
5448 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5451 ac_cv_path_GREP
=$GREP
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5456 $as_echo "$ac_cv_path_GREP" >&6; }
5457 GREP
="$ac_cv_path_GREP"
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5461 $as_echo_n "checking for egrep... " >&6; }
5462 if ${ac_cv_path_EGREP+:} false
; then :
5463 $as_echo_n "(cached) " >&6
5465 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5466 then ac_cv_path_EGREP
="$GREP -E"
5468 if test -z "$EGREP"; then
5469 ac_path_EGREP_found
=false
5470 # Loop through the user's path and test for each of PROGNAME-LIST
5471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5472 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5475 test -z "$as_dir" && as_dir
=.
5476 for ac_prog
in egrep; do
5477 for ac_exec_ext
in '' $ac_executable_extensions; do
5478 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5479 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5480 # Check for GNU ac_path_EGREP and select it if it is found.
5481 # Check for GNU $ac_path_EGREP
5482 case `"$ac_path_EGREP" --version 2>&1` in
5484 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5487 $as_echo_n 0123456789 >"conftest.in"
5490 cat "conftest.in" "conftest.in" >"conftest.tmp"
5491 mv "conftest.tmp" "conftest.in"
5492 cp "conftest.in" "conftest.nl"
5493 $as_echo 'EGREP' >> "conftest.nl"
5494 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5495 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5496 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5497 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5498 # Best one so far, save it but keep looking for a better one
5499 ac_cv_path_EGREP
="$ac_path_EGREP"
5500 ac_path_EGREP_max
=$ac_count
5502 # 10*(2^10) chars as input seems more than enough
5503 test $ac_count -gt 10 && break
5505 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5508 $ac_path_EGREP_found && break 3
5513 if test -z "$ac_cv_path_EGREP"; then
5514 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5517 ac_cv_path_EGREP
=$EGREP
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5523 $as_echo "$ac_cv_path_EGREP" >&6; }
5524 EGREP
="$ac_cv_path_EGREP"
5528 # Keep these sync'd with the list in Makefile.am. The first provides an
5529 # expandable list at autoconf time; the second provides an expandable list
5530 # (i.e., shell variable) at configure time.
5532 SUBDIRS
='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/c++23 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5534 # These need to be absolute paths, yet at the same time need to
5535 # canonicalize only relative paths, because then amd will not unmount
5536 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5537 glibcxx_builddir
=`${PWDCMD-pwd}`
5539 \\/$
* | ?
:\\/*) glibcxx_srcdir
=${srcdir} ;;
5540 *) glibcxx_srcdir
=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5542 toplevel_builddir
=${glibcxx_builddir}/..
5543 toplevel_srcdir
=${glibcxx_srcdir}/..
5549 # We use these options to decide which functions to include. They are
5550 # set from the top level.
5552 # Check whether --with-target-subdir was given.
5553 if test "${with_target_subdir+set}" = set; then :
5554 withval
=$with_target_subdir;
5559 # Check whether --with-cross-host was given.
5560 if test "${with_cross_host+set}" = set; then :
5561 withval
=$with_cross_host;
5566 # Check whether --with-newlib was given.
5567 if test "${with_newlib+set}" = set; then :
5568 withval
=$with_newlib;
5572 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5573 # available). Uncomment the next line to force a particular method.
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5575 $as_echo_n "checking whether ln -s works... " >&6; }
5577 if test "$LN_S" = "ln -s"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5579 $as_echo "yes" >&6; }
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5582 $as_echo "no, using $LN_S" >&6; }
5587 if test -n "$ac_tool_prefix"; then
5588 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5589 set dummy
${ac_tool_prefix}as
; ac_word
=$2
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5591 $as_echo_n "checking for $ac_word... " >&6; }
5592 if ${ac_cv_prog_AS+:} false
; then :
5593 $as_echo_n "(cached) " >&6
5595 if test -n "$AS"; then
5596 ac_cv_prog_AS
="$AS" # Let the user override the test.
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_exec_ext
in '' $ac_executable_extensions; do
5604 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5605 ac_cv_prog_AS
="${ac_tool_prefix}as"
5606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5616 if test -n "$AS"; then
5617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5618 $as_echo "$AS" >&6; }
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5621 $as_echo "no" >&6; }
5626 if test -z "$ac_cv_prog_AS"; then
5628 # Extract the first word of "as", so it can be a program name with args.
5629 set dummy as
; ac_word
=$2
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5631 $as_echo_n "checking for $ac_word... " >&6; }
5632 if ${ac_cv_prog_ac_ct_AS+:} false
; then :
5633 $as_echo_n "(cached) " >&6
5635 if test -n "$ac_ct_AS"; then
5636 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
5638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5642 test -z "$as_dir" && as_dir
=.
5643 for ac_exec_ext
in '' $ac_executable_extensions; do
5644 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5645 ac_cv_prog_ac_ct_AS
="as"
5646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5655 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
5656 if test -n "$ac_ct_AS"; then
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5658 $as_echo "$ac_ct_AS" >&6; }
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5661 $as_echo "no" >&6; }
5664 if test "x$ac_ct_AS" = x
; then
5667 case $cross_compiling:$ac_tool_warned in
5669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5671 ac_tool_warned
=yes ;;
5679 if test -n "$ac_tool_prefix"; then
5680 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5681 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5683 $as_echo_n "checking for $ac_word... " >&6; }
5684 if ${ac_cv_prog_AR+:} false
; then :
5685 $as_echo_n "(cached) " >&6
5687 if test -n "$AR"; then
5688 ac_cv_prog_AR
="$AR" # Let the user override the test.
5690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5694 test -z "$as_dir" && as_dir
=.
5695 for ac_exec_ext
in '' $ac_executable_extensions; do
5696 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5697 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5708 if test -n "$AR"; then
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5710 $as_echo "$AR" >&6; }
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5713 $as_echo "no" >&6; }
5718 if test -z "$ac_cv_prog_AR"; then
5720 # Extract the first word of "ar", so it can be a program name with args.
5721 set dummy
ar; ac_word
=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
5725 $as_echo_n "(cached) " >&6
5727 if test -n "$ac_ct_AR"; then
5728 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5734 test -z "$as_dir" && as_dir
=.
5735 for ac_exec_ext
in '' $ac_executable_extensions; do
5736 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_ac_ct_AR
="ar"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5748 if test -n "$ac_ct_AR"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5750 $as_echo "$ac_ct_AR" >&6; }
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5756 if test "x$ac_ct_AR" = x
; then
5759 case $cross_compiling:$ac_tool_warned in
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5763 ac_tool_warned
=yes ;;
5771 if test -n "$ac_tool_prefix"; then
5772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5773 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5775 $as_echo_n "checking for $ac_word... " >&6; }
5776 if ${ac_cv_prog_RANLIB+:} false
; then :
5777 $as_echo_n "(cached) " >&6
5779 if test -n "$RANLIB"; then
5780 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir
=.
5787 for ac_exec_ext
in '' $ac_executable_extensions; do
5788 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 RANLIB
=$ac_cv_prog_RANLIB
5800 if test -n "$RANLIB"; then
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5802 $as_echo "$RANLIB" >&6; }
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5805 $as_echo "no" >&6; }
5810 if test -z "$ac_cv_prog_RANLIB"; then
5811 ac_ct_RANLIB
=$RANLIB
5812 # Extract the first word of "ranlib", so it can be a program name with args.
5813 set dummy ranlib
; ac_word
=$2
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5815 $as_echo_n "checking for $ac_word... " >&6; }
5816 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
5817 $as_echo_n "(cached) " >&6
5819 if test -n "$ac_ct_RANLIB"; then
5820 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # 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_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5829 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5839 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5840 if test -n "$ac_ct_RANLIB"; then
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5842 $as_echo "$ac_ct_RANLIB" >&6; }
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5845 $as_echo "no" >&6; }
5848 if test "x$ac_ct_RANLIB" = x
; then
5849 RANLIB
="ranlib-not-found-in-path-error"
5851 case $cross_compiling:$ac_tool_warned in
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5855 ac_tool_warned
=yes ;;
5857 RANLIB
=$ac_ct_RANLIB
5860 RANLIB
="$ac_cv_prog_RANLIB"
5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5866 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5867 # Check whether --enable-maintainer-mode was given.
5868 if test "${enable_maintainer_mode+set}" = set; then :
5869 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
5871 USE_MAINTAINER_MODE
=no
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5875 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5876 if test $USE_MAINTAINER_MODE = yes; then
5877 MAINTAINER_MODE_TRUE
=
5878 MAINTAINER_MODE_FALSE
='#'
5880 MAINTAINER_MODE_TRUE
='#'
5881 MAINTAINER_MODE_FALSE
=
5884 MAINT
=$MAINTAINER_MODE_TRUE
5888 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5889 # which are themselves conditionally expanded.
5890 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5891 ## other macros from doing the same. This should be automated.) -pme
5893 # Check for C library flavor since GNU/Linux platforms use different
5894 # configuration directories depending on the C library in use.
5895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5905 $EGREP "_using_uclibc" >/dev
/null
2>&1; then :
5913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5914 /* end confdefs.h. */
5922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5923 $EGREP "_using_bionic" >/dev
/null
2>&1; then :
5931 # Find platform-specific directories containing configuration info.
5932 # Also possibly modify flags used elsewhere, as needed by the platform.
5934 .
$glibcxx_srcdir/configure.
host
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5936 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5937 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5938 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5943 if test "x${with_newlib}" != "xyes" &&
5944 test "x${with_avrlibc}" != "xyes" &&
5945 test "x$with_headers" != "xno"; then
5953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5954 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5959 macro_version
='2.2.7a'
5960 macro_revision
='1.3134'
5974 ltmain
="$ac_aux_dir/ltmain.sh"
5976 # Backslashify metacharacters that are still active within
5977 # double-quoted strings.
5978 sed_quote_subst
='s/\(["`$\\]\)/\\\1/g'
5980 # Same as above, but do not quote variable references.
5981 double_quote_subst
='s/\(["`\\]\)/\\\1/g'
5983 # Sed substitution to delay expansion of an escaped shell variable in a
5984 # double_quote_subst'ed string.
5985 delay_variable_subst
='s/\\\\\\\\\\\$/\\\\\\$/g'
5987 # Sed substitution to delay expansion of an escaped single quote.
5988 delay_single_quote_subst
='s/'\''/'\'\\\\\\\'\''/g'
5990 # Sed substitution to avoid accidental globbing in evaled expressions
5991 no_glob_subst
='s/\*/\\\*/g'
5993 ECHO
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5994 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5995 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5998 $as_echo_n "checking how to print strings... " >&6; }
5999 # Test print first, because it will be a builtin if present.
6000 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
6001 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6003 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6006 # Use this function as a fallback that always works.
6007 func_fallback_echo ()
6009 eval 'cat <<_LTECHO_EOF
6013 ECHO='func_fallback_echo
'
6016 # func_echo_all arg...
6017 # Invoke $ECHO with all args, space-separated.
6024 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6025 $as_echo "printf" >&6; } ;;
6026 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6027 $as_echo "print -r" >&6; } ;;
6028 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6029 $as_echo "cat" >&6; } ;;
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6046 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6047 if ${ac_cv_path_SED+:} false; then :
6048 $as_echo_n "(cached) " >&6
6050 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6051 for ac_i in 1 2 3 4 5 6 7; do
6052 ac_script="$ac_script$as_nl$ac_script"
6054 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6055 { ac_script=; unset ac_script;}
6056 if test -z "$SED"; then
6057 ac_path_SED_found=false
6058 # Loop through the user's path and
test for each of PROGNAME-LIST
6059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6063 test -z "$as_dir" && as_dir
=.
6064 for ac_prog
in sed gsed
; do
6065 for ac_exec_ext
in '' $ac_executable_extensions; do
6066 ac_path_SED
="$as_dir/$ac_prog$ac_exec_ext"
6067 as_fn_executable_p
"$ac_path_SED" ||
continue
6068 # Check for GNU ac_path_SED and select it if it is found.
6069 # Check for GNU $ac_path_SED
6070 case `"$ac_path_SED" --version 2>&1` in
6072 ac_cv_path_SED
="$ac_path_SED" ac_path_SED_found
=:;;
6075 $as_echo_n 0123456789 >"conftest.in"
6078 cat "conftest.in" "conftest.in" >"conftest.tmp"
6079 mv "conftest.tmp" "conftest.in"
6080 cp "conftest.in" "conftest.nl"
6081 $as_echo '' >> "conftest.nl"
6082 "$ac_path_SED" -f conftest.
sed < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6083 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6084 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6085 if test $ac_count -gt ${ac_path_SED_max-0}; then
6086 # Best one so far, save it but keep looking for a better one
6087 ac_cv_path_SED
="$ac_path_SED"
6088 ac_path_SED_max
=$ac_count
6090 # 10*(2^10) chars as input seems more than enough
6091 test $ac_count -gt 10 && break
6093 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6096 $ac_path_SED_found && break 3
6101 if test -z "$ac_cv_path_SED"; then
6102 as_fn_error $?
"no acceptable sed could be found in \$PATH" "$LINENO" 5
6109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6110 $as_echo "$ac_cv_path_SED" >&6; }
6111 SED
="$ac_cv_path_SED"
6114 test -z "$SED" && SED
=sed
6115 Xsed
="$SED -e 1s/^X//"
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6128 $as_echo_n "checking for fgrep... " >&6; }
6129 if ${ac_cv_path_FGREP+:} false
; then :
6130 $as_echo_n "(cached) " >&6
6132 if echo 'ab*c' |
$GREP -F 'ab*c' >/dev
/null
2>&1
6133 then ac_cv_path_FGREP
="$GREP -F"
6135 if test -z "$FGREP"; then
6136 ac_path_FGREP_found
=false
6137 # Loop through the user's path and test for each of PROGNAME-LIST
6138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6139 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
6142 test -z "$as_dir" && as_dir
=.
6143 for ac_prog
in fgrep
; do
6144 for ac_exec_ext
in '' $ac_executable_extensions; do
6145 ac_path_FGREP
="$as_dir/$ac_prog$ac_exec_ext"
6146 as_fn_executable_p
"$ac_path_FGREP" ||
continue
6147 # Check for GNU ac_path_FGREP and select it if it is found.
6148 # Check for GNU $ac_path_FGREP
6149 case `"$ac_path_FGREP" --version 2>&1` in
6151 ac_cv_path_FGREP
="$ac_path_FGREP" ac_path_FGREP_found
=:;;
6154 $as_echo_n 0123456789 >"conftest.in"
6157 cat "conftest.in" "conftest.in" >"conftest.tmp"
6158 mv "conftest.tmp" "conftest.in"
6159 cp "conftest.in" "conftest.nl"
6160 $as_echo 'FGREP' >> "conftest.nl"
6161 "$ac_path_FGREP" FGREP
< "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
6162 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
6163 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
6164 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6165 # Best one so far, save it but keep looking for a better one
6166 ac_cv_path_FGREP
="$ac_path_FGREP"
6167 ac_path_FGREP_max
=$ac_count
6169 # 10*(2^10) chars as input seems more than enough
6170 test $ac_count -gt 10 && break
6172 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
6175 $ac_path_FGREP_found && break 3
6180 if test -z "$ac_cv_path_FGREP"; then
6181 as_fn_error $?
"no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6184 ac_cv_path_FGREP
=$FGREP
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6190 $as_echo "$ac_cv_path_FGREP" >&6; }
6191 FGREP
="$ac_cv_path_FGREP"
6194 test -z "$GREP" && GREP
=grep
6214 # Check whether --with-gnu-ld was given.
6215 if test "${with_gnu_ld+set}" = set; then :
6216 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
6222 if test "$GCC" = yes; then
6223 # Check if gcc -print-prog-name=ld gives a path.
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6225 $as_echo_n "checking for ld used by $CC... " >&6; }
6228 # gcc leaves a trailing carriage return which upsets mingw
6229 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6231 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
6234 # Accept absolute paths.
6236 re_direlt
='/[^/][^/]*/\.\./'
6237 # Canonicalize the pathname of ld
6238 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6239 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
6240 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6242 test -z "$LD" && LD
="$ac_prog"
6245 # If it fails, then pretend we aren't using GCC.
6249 # If it is relative, then search for the first ld in PATH.
6253 elif test "$with_gnu_ld" = yes; then
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6255 $as_echo_n "checking for GNU ld... " >&6; }
6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6258 $as_echo_n "checking for non-GNU ld... " >&6; }
6260 if ${lt_cv_path_LD+:} false
; then :
6261 $as_echo_n "(cached) " >&6
6263 if test -z "$LD"; then
6264 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6265 for ac_dir
in $PATH; do
6267 test -z "$ac_dir" && ac_dir
=.
6268 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
6269 lt_cv_path_LD
="$ac_dir/$ac_prog"
6270 # Check to see if the program is GNU ld. I'd rather use --version,
6271 # but apparently some variants of GNU ld only accept -v.
6272 # Break only if it was the GNU/non-GNU ld that we prefer.
6273 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6274 *GNU
* |
*'with BFD'*)
6275 test "$with_gnu_ld" != no
&& break
6278 test "$with_gnu_ld" != yes && break
6285 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
6290 if test -n "$LD"; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6292 $as_echo "$LD" >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6297 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6299 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6300 if ${lt_cv_prog_gnu_ld+:} false
; then :
6301 $as_echo_n "(cached) " >&6
6303 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6304 case `$LD -v 2>&1 </dev/null` in
6305 *GNU
* |
*'with BFD'*)
6306 lt_cv_prog_gnu_ld
=yes
6309 lt_cv_prog_gnu_ld
=no
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6314 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6315 with_gnu_ld
=$lt_cv_prog_gnu_ld
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6326 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6327 if ${lt_cv_path_NM+:} false
; then :
6328 $as_echo_n "(cached) " >&6
6330 if test -n "$NM"; then
6331 # Let the user override the nm to test.
6332 lt_nm_to_check
="$NM"
6334 lt_nm_to_check
="${ac_tool_prefix}nm"
6335 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6336 lt_nm_to_check
="$lt_nm_to_check nm"
6339 for lt_tmp_nm
in "$lt_nm_to_check"; do
6340 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
6341 for ac_dir
in $PATH /usr
/ccs
/bin
/elf
/usr
/ccs
/bin
/usr
/ucb
/bin
; do
6343 test -z "$ac_dir" && ac_dir
=.
6344 # Strip out any user-provided options from the nm to test twice,
6345 # the first time to test to see if nm (rather than its options) has
6346 # an explicit path, the second time to yield a file which can be
6348 tmp_nm_path
="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
6349 case "$tmp_nm_path" in
6350 */*|
*\\*) tmp_nm
="$lt_tmp_nm";;
6351 *) tmp_nm
="$ac_dir/$lt_tmp_nm";;
6353 tmp_nm_to_nm
="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
6354 if test -f "$tmp_nm_to_nm" ||
test -f "$tmp_nm_to_nm$ac_exeext" ; then
6355 # Check to see if the nm accepts a BSD-compat flag.
6356 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6357 # nm: unknown option "B" ignored
6358 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6359 *$tmp_nm*) lt_cv_path_NM
="$tmp_nm -B"
6363 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
6365 lt_cv_path_NM
="$tmp_nm -p"
6369 lt_cv_path_NM
=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6370 continue # so that we can try to find one that supports BSD flags
6379 : ${lt_cv_path_NM=no}
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6382 $as_echo "$lt_cv_path_NM" >&6; }
6383 if test "$lt_cv_path_NM" != "no"; then
6386 # Didn't find any BSD compatible name lister, look for dumpbin.
6387 if test -n "$DUMPBIN"; then :
6388 # Let the user override the test.
6390 if test -n "$ac_tool_prefix"; then
6391 for ac_prog
in dumpbin
"link -dump"
6393 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6394 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6396 $as_echo_n "checking for $ac_word... " >&6; }
6397 if ${ac_cv_prog_DUMPBIN+:} false
; then :
6398 $as_echo_n "(cached) " >&6
6400 if test -n "$DUMPBIN"; then
6401 ac_cv_prog_DUMPBIN
="$DUMPBIN" # Let the user override the test.
6403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6407 test -z "$as_dir" && as_dir
=.
6408 for ac_exec_ext
in '' $ac_executable_extensions; do
6409 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6410 ac_cv_prog_DUMPBIN
="$ac_tool_prefix$ac_prog"
6411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6420 DUMPBIN
=$ac_cv_prog_DUMPBIN
6421 if test -n "$DUMPBIN"; then
6422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6423 $as_echo "$DUMPBIN" >&6; }
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6426 $as_echo "no" >&6; }
6430 test -n "$DUMPBIN" && break
6433 if test -z "$DUMPBIN"; then
6434 ac_ct_DUMPBIN
=$DUMPBIN
6435 for ac_prog
in dumpbin
"link -dump"
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy
$ac_prog; ac_word
=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false
; then :
6442 $as_echo_n "(cached) " >&6
6444 if test -n "$ac_ct_DUMPBIN"; then
6445 ac_cv_prog_ac_ct_DUMPBIN
="$ac_ct_DUMPBIN" # Let the user override the test.
6447 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6451 test -z "$as_dir" && as_dir
=.
6452 for ac_exec_ext
in '' $ac_executable_extensions; do
6453 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6454 ac_cv_prog_ac_ct_DUMPBIN
="$ac_prog"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6464 ac_ct_DUMPBIN
=$ac_cv_prog_ac_ct_DUMPBIN
6465 if test -n "$ac_ct_DUMPBIN"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6467 $as_echo "$ac_ct_DUMPBIN" >&6; }
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6474 test -n "$ac_ct_DUMPBIN" && break
6477 if test "x$ac_ct_DUMPBIN" = x
; then
6480 case $cross_compiling:$ac_tool_warned in
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6484 ac_tool_warned
=yes ;;
6486 DUMPBIN
=$ac_ct_DUMPBIN
6490 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6492 DUMPBIN
="$DUMPBIN -symbols"
6500 if test "$DUMPBIN" != ":"; then
6504 test -z "$NM" && NM
=nm
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6512 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6513 if ${lt_cv_nm_interface+:} false
; then :
6514 $as_echo_n "(cached) " >&6
6516 lt_cv_nm_interface
="BSD nm"
6517 echo "int some_variable = 0;" > conftest.
$ac_ext
6518 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6519 (eval "$ac_compile" 2>conftest.err
)
6520 cat conftest.err
>&5
6521 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6522 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err
> conftest.out
)
6523 cat conftest.err
>&5
6524 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6525 cat conftest.out
>&5
6526 if $GREP 'External.*some_variable' conftest.out
> /dev
/null
; then
6527 lt_cv_nm_interface
="MS dumpbin"
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6532 $as_echo "$lt_cv_nm_interface" >&6; }
6534 # find the maximum length of command line arguments
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6536 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6537 if ${lt_cv_sys_max_cmd_len+:} false
; then :
6538 $as_echo_n "(cached) " >&6
6545 # On DJGPP, this test can blow up pretty badly due to problems in libc
6546 # (any single argument exceeding 2000 bytes causes a buffer overrun
6547 # during glob expansion). Even if it were fixed, the result of this
6548 # check would be larger than it should be.
6549 lt_cv_sys_max_cmd_len
=12288; # 12K is about right
6553 # Under GNU Hurd, this test is not required because there is
6554 # no limit to the length of command line arguments.
6555 # Libtool will interpret -1 as no limit whatsoever
6556 lt_cv_sys_max_cmd_len
=-1;
6559 cygwin
* | mingw
* | cegcc
*)
6560 # On Win9x/ME, this test blows up -- it succeeds, but takes
6561 # about 5 minutes as the teststring grows exponentially.
6562 # Worse, since 9x/ME are not pre-emptively multitasking,
6563 # you end up with a "frozen" computer, even though with patience
6564 # the test eventually succeeds (with a max line length of 256k).
6565 # Instead, let's just punt: use the minimum linelength reported by
6566 # all of the supported platforms: 8192 (on NT/2K/XP).
6567 lt_cv_sys_max_cmd_len
=8192;
6571 # On MiNT this can take a long time and run out of memory.
6572 lt_cv_sys_max_cmd_len
=8192;
6576 # On AmigaOS with pdksh, this test takes hours, literally.
6577 # So we just punt and use a minimum line length of 8192.
6578 lt_cv_sys_max_cmd_len
=8192;
6581 netbsd
* | freebsd
* | openbsd
* | darwin
* | dragonfly
*)
6582 # This has been around since 386BSD, at least. Likely further.
6583 if test -x /sbin
/sysctl
; then
6584 lt_cv_sys_max_cmd_len
=`/sbin/sysctl -n kern.argmax`
6585 elif test -x /usr
/sbin
/sysctl
; then
6586 lt_cv_sys_max_cmd_len
=`/usr/sbin/sysctl -n kern.argmax`
6588 lt_cv_sys_max_cmd_len
=65536 # usable default for all BSDs
6590 # And add a safety zone
6591 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6592 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6596 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6597 lt_cv_sys_max_cmd_len
=196608
6601 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6602 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6603 # nice to cause kernel panics so lets avoid the loop below.
6604 # First set a reasonable default.
6605 lt_cv_sys_max_cmd_len
=16384
6607 if test -x /sbin
/sysconfig
; then
6608 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6609 *1*) lt_cv_sys_max_cmd_len
=-1 ;;
6614 lt_cv_sys_max_cmd_len
=102400
6616 sysv5
* | sco5v6
* | sysv4.2uw2
*)
6617 kargmax
=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6618 if test -n "$kargmax"; then
6619 lt_cv_sys_max_cmd_len
=`echo $kargmax | sed 's/.*[ ]//'`
6621 lt_cv_sys_max_cmd_len
=32768
6625 lt_cv_sys_max_cmd_len
=`(getconf ARG_MAX) 2> /dev/null`
6626 if test -n "$lt_cv_sys_max_cmd_len"; then
6627 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 4`
6628 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \* 3`
6630 # Make teststring a little bigger before we do anything with it.
6631 # a 1K string should be a reasonable start.
6632 for i
in 1 2 3 4 5 6 7 8 ; do
6633 teststring
=$teststring$teststring
6635 SHELL
=${SHELL-${CONFIG_SHELL-/bin/sh}}
6636 # If test is not a shell built-in, we'll probably end up computing a
6637 # maximum length that is only half of the actual maximum length, but
6639 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6640 = "X$teststring$teststring"; } >/dev
/null
2>&1 &&
6641 test $i != 17 # 1/2 MB should be enough
6644 teststring
=$teststring$teststring
6646 # Only check the string length outside the loop.
6647 lt_cv_sys_max_cmd_len
=`expr "X$teststring" : ".*" 2>&1`
6649 # Add a significant safety factor because C++ compilers can tack on
6650 # massive amounts of additional arguments before passing them to the
6651 # linker. It appears as though 1/2 is a usable value.
6652 lt_cv_sys_max_cmd_len
=`expr $lt_cv_sys_max_cmd_len \/ 2`
6659 if test -n $lt_cv_sys_max_cmd_len ; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6661 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6664 $as_echo "none" >&6; }
6666 max_cmd_len
=$lt_cv_sys_max_cmd_len
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6678 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6679 # Try some XSI features
6682 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6684 && eval 'test $(( 1 + 1 )) -eq 2 \
6685 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $xsi_shell" >&5
6688 $as_echo "$xsi_shell" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands
\"+=\"" >&5
6692 $as_echo_n "checking whether the shell understands
\"+=\"...
" >&6; }
6694 ( foo=bar; set foo baz; eval "$1+=\
$2" && test "$foo" = barbaz ) \
6696 && lt_shell_append=yes
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_shell_append" >&5
6698 $as_echo "$lt_shell_append" >&6; }
6701 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6711 # test EBCDIC or ASCII
6712 case `echo X|tr X '\101'` in
6713 A) # ASCII based system
6714 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6715 lt_SP2NL='tr \040 \012'
6716 lt_NL2SP='tr \015\012 \040\040'
6718 *) # EBCDIC based system
6719 lt_SP2NL='tr \100 \n'
6720 lt_NL2SP='tr \r\n \100\100'
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $LD option to reload object files
" >&5
6733 $as_echo_n "checking
for $LD option to reload object files...
" >&6; }
6734 if ${lt_cv_ld_reload_flag+:} false; then :
6735 $as_echo_n "(cached
) " >&6
6737 lt_cv_ld_reload_flag='-r'
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_reload_flag" >&5
6740 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6741 reload_flag=$lt_cv_ld_reload_flag
6742 case $reload_flag in
6744 *) reload_flag=" $reload_flag" ;;
6746 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6749 if test "$GCC" = yes; then
6750 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6752 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6765 if test -n "$ac_tool_prefix"; then
6766 # Extract the first word of "${ac_tool_prefix}objdump
", so it can be a program name with args.
6767 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6769 $as_echo_n "checking
for $ac_word...
" >&6; }
6770 if ${ac_cv_prog_OBJDUMP+:} false; then :
6771 $as_echo_n "(cached
) " >&6
6773 if test -n "$OBJDUMP"; then
6774 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6780 test -z "$as_dir" && as_dir=.
6781 for ac_exec_ext in '' $ac_executable_extensions; do
6782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6783 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump
"
6784 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6793 OBJDUMP=$ac_cv_prog_OBJDUMP
6794 if test -n "$OBJDUMP"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OBJDUMP" >&5
6796 $as_echo "$OBJDUMP" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6799 $as_echo "no
" >&6; }
6804 if test -z "$ac_cv_prog_OBJDUMP"; then
6805 ac_ct_OBJDUMP=$OBJDUMP
6806 # Extract the first word of "objdump
", so it can be a program name with args.
6807 set dummy objdump; ac_word=$2
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
6809 $as_echo_n "checking
for $ac_word...
" >&6; }
6810 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6811 $as_echo_n "(cached
) " >&6
6813 if test -n "$ac_ct_OBJDUMP"; then
6814 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6820 test -z "$as_dir" && as_dir=.
6821 for ac_exec_ext in '' $ac_executable_extensions; do
6822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6823 ac_cv_prog_ac_ct_OBJDUMP="objdump
"
6824 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
6833 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6834 if test -n "$ac_ct_OBJDUMP"; then
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OBJDUMP" >&5
6836 $as_echo "$ac_ct_OBJDUMP" >&6; }
6838 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
6839 $as_echo "no
" >&6; }
6842 if test "x
$ac_ct_OBJDUMP" = x; then
6845 case $cross_compiling:$ac_tool_warned in
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
6848 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
6849 ac_tool_warned=yes ;;
6851 OBJDUMP=$ac_ct_OBJDUMP
6854 OBJDUMP="$ac_cv_prog_OBJDUMP"
6857 test -z "$OBJDUMP" && OBJDUMP=objdump
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries
" >&5
6868 $as_echo_n "checking how to recognize dependent libraries...
" >&6; }
6869 if ${lt_cv_deplibs_check_method+:} false; then :
6870 $as_echo_n "(cached
) " >&6
6872 lt_cv_file_magic_cmd='$MAGIC_CMD'
6873 lt_cv_file_magic_test_file=
6874 lt_cv_deplibs_check_method='unknown'
6875 # Need to set the preceding variable on all platforms that support
6876 # interlibrary dependencies.
6877 # 'none' -- dependencies not supported.
6878 # `unknown' -- same as none, but documents that we really don't know.
6879 # 'pass_all' -- all dependencies passed with no checks.
6880 # 'test_compile' -- check by making test program.
6881 # 'file_magic [[regex]]' -- check by looking for files in library path
6882 # which responds to the $file_magic_cmd with a given extended regex.
6883 # If you have `file' or equivalent on your system and you're not sure
6884 # whether `pass_all' will *always* work, you probably want this one.
6888 lt_cv_deplibs_check_method=pass_all
6892 lt_cv_deplibs_check_method=pass_all
6896 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6897 lt_cv_file_magic_cmd='/usr/bin/file -L'
6898 lt_cv_file_magic_test_file=/shlib/libc.so
6902 # func_win32_libid is a shell function defined in ltmain.sh
6903 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6904 lt_cv_file_magic_cmd='func_win32_libid'
6908 # Base MSYS/MinGW do not provide the 'file' command needed by
6909 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6910 # unless we find 'file', for example because we are cross-compiling.
6911 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6912 if ( test "$lt_cv_nm_interface" = "BSD nm
" && file / ) >/dev/null 2>&1; then
6913 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6914 lt_cv_file_magic_cmd='func_win32_libid'
6916 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6917 lt_cv_file_magic_cmd='$OBJDUMP -f'
6922 # use the weaker test based on 'objdump'. See mingw*.
6923 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6924 lt_cv_file_magic_cmd='$OBJDUMP -f'
6927 darwin* | rhapsody*)
6928 lt_cv_deplibs_check_method=pass_all
6931 freebsd* | dragonfly*)
6932 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6935 # Not sure whether the presence of OpenBSD here was a mistake.
6936 # Let's accept both of them until this is cleared up.
6937 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6938 lt_cv_file_magic_cmd=/usr/bin/file
6939 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6943 lt_cv_deplibs_check_method=pass_all
6948 lt_cv_deplibs_check_method=pass_all
6952 lt_cv_deplibs_check_method=pass_all
6955 hpux10.20* | hpux11*)
6956 lt_cv_file_magic_cmd=/usr/bin/file
6959 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6960 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6964 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6967 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6968 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6974 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6975 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6978 irix5* | irix6* | nonstopux*)
6980 *-32|*"-32 ") libmagic=32-bit;;
6981 *-n32|*"-n32 ") libmagic=N32;;
6982 *-64|*"-64 ") libmagic=64-bit;;
6983 *) libmagic=never-match;;
6985 lt_cv_deplibs_check_method=pass_all
6988 # This must be Linux ELF.
6989 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6990 lt_cv_deplibs_check_method=pass_all
6994 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6995 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6997 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7003 lt_cv_file_magic_cmd=/usr/bin/file
7004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7008 lt_cv_deplibs_check_method=pass_all
7012 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8
-powerpc"; then
7013 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7015 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7019 osf3* | osf4* | osf5*)
7020 lt_cv_deplibs_check_method=pass_all
7024 lt_cv_deplibs_check_method=pass_all
7028 lt_cv_deplibs_check_method=pass_all
7031 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7032 lt_cv_deplibs_check_method=pass_all
7036 case $host_vendor in
7038 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]'
7039 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7042 lt_cv_deplibs_check_method=pass_all
7045 lt_cv_file_magic_cmd='/bin/file'
7046 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7049 lt_cv_file_magic_cmd='/bin/file'
7050 lt_cv_deplibs_check_method="file_magic ELF
[0-9][0-9]*-bit [LM
]SB dynamic lib
"
7051 lt_cv_file_magic_test_file=/lib/libc.so
7054 lt_cv_deplibs_check_method=pass_all
7057 lt_cv_deplibs_check_method=pass_all
7063 lt_cv_deplibs_check_method=pass_all
7066 # Assume VxWorks cross toolchains are built on Linux, possibly
7067 # as canadian for Windows hosts.
7068 lt_cv_deplibs_check_method=pass_all
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_deplibs_check_method" >&5
7074 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7075 file_magic_cmd=$lt_cv_file_magic_cmd
7076 deplibs_check_method=$lt_cv_deplibs_check_method
7077 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7091 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll
"
7092 for plugin in $plugin_names; do
7093 plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
7094 if test x$plugin_so = x$plugin; then
7095 plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
7097 if test x$plugin_so != x$plugin; then
7098 plugin_option="--plugin $plugin_so"
7103 if test -n "$ac_tool_prefix"; then
7104 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7105 set dummy ${ac_tool_prefix}ar; ac_word=$2
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7107 $as_echo_n "checking
for $ac_word...
" >&6; }
7108 if ${ac_cv_prog_AR+:} false; then :
7109 $as_echo_n "(cached
) " >&6
7111 if test -n "$AR"; then
7112 ac_cv_prog_AR="$AR" # Let the user override the test.
7114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7118 test -z "$as_dir" && as_dir=.
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_AR="${ac_tool_prefix}ar"
7122 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7132 if test -n "$AR"; then
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $AR" >&5
7134 $as_echo "$AR" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7137 $as_echo "no
" >&6; }
7142 if test -z "$ac_cv_prog_AR"; then
7144 # Extract the first word of "ar", so it can be a program name with args.
7145 set dummy ar; ac_word=$2
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7147 $as_echo_n "checking
for $ac_word...
" >&6; }
7148 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7149 $as_echo_n "(cached
) " >&6
7151 if test -n "$ac_ct_AR"; then
7152 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7158 test -z "$as_dir" && as_dir=.
7159 for ac_exec_ext in '' $ac_executable_extensions; do
7160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7161 ac_cv_prog_ac_ct_AR="ar"
7162 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7171 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7172 if test -n "$ac_ct_AR"; then
7173 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_AR" >&5
7174 $as_echo "$ac_ct_AR" >&6; }
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7177 $as_echo "no
" >&6; }
7180 if test "x
$ac_ct_AR" = x; then
7183 case $cross_compiling:$ac_tool_warned in
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7186 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7187 ac_tool_warned=yes ;;
7195 test -z "$AR" && AR=ar
7196 if test -n "$plugin_option"; then
7197 if $AR --help 2>&1 | grep -q "\
--plugin"; then
7199 $AR $plugin_option rc conftest.a conftest.c
7200 if test "$?
" != 0; then
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: Failed
: $AR $plugin_option rc
" >&5
7202 $as_echo "$as_me: WARNING
: Failed
: $AR $plugin_option rc
" >&2;}
7204 AR="$AR $plugin_option"
7209 test -z "$AR_FLAGS" && AR_FLAGS=cru
7221 if test -n "$ac_tool_prefix"; then
7222 # Extract the first word of "${ac_tool_prefix}strip
", so it can be a program name with args.
7223 set dummy ${ac_tool_prefix}strip; ac_word=$2
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7225 $as_echo_n "checking
for $ac_word...
" >&6; }
7226 if ${ac_cv_prog_STRIP+:} false; then :
7227 $as_echo_n "(cached
) " >&6
7229 if test -n "$STRIP"; then
7230 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir=.
7237 for ac_exec_ext in '' $ac_executable_extensions; do
7238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7239 ac_cv_prog_STRIP="${ac_tool_prefix}strip
"
7240 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7249 STRIP=$ac_cv_prog_STRIP
7250 if test -n "$STRIP"; then
7251 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $STRIP" >&5
7252 $as_echo "$STRIP" >&6; }
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7255 $as_echo "no
" >&6; }
7260 if test -z "$ac_cv_prog_STRIP"; then
7262 # Extract the first word of "strip
", so it can be a program name with args.
7263 set dummy strip; ac_word=$2
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7265 $as_echo_n "checking
for $ac_word...
" >&6; }
7266 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7267 $as_echo_n "(cached
) " >&6
7269 if test -n "$ac_ct_STRIP"; then
7270 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7276 test -z "$as_dir" && as_dir=.
7277 for ac_exec_ext in '' $ac_executable_extensions; do
7278 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7279 ac_cv_prog_ac_ct_STRIP="strip
"
7280 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7289 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7290 if test -n "$ac_ct_STRIP"; then
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_STRIP" >&5
7292 $as_echo "$ac_ct_STRIP" >&6; }
7294 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7295 $as_echo "no
" >&6; }
7298 if test "x
$ac_ct_STRIP" = x; then
7301 case $cross_compiling:$ac_tool_warned in
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7304 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7305 ac_tool_warned=yes ;;
7310 STRIP="$ac_cv_prog_STRIP"
7313 test -z "$STRIP" && STRIP=:
7320 if test -n "$ac_tool_prefix"; then
7321 # Extract the first word of "${ac_tool_prefix}ranlib
", so it can be a program name with args.
7322 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7324 $as_echo_n "checking
for $ac_word...
" >&6; }
7325 if ${ac_cv_prog_RANLIB+:} false; then :
7326 $as_echo_n "(cached
) " >&6
7328 if test -n "$RANLIB"; then
7329 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7338 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib
"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7348 RANLIB=$ac_cv_prog_RANLIB
7349 if test -n "$RANLIB"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $RANLIB" >&5
7351 $as_echo "$RANLIB" >&6; }
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7354 $as_echo "no
" >&6; }
7359 if test -z "$ac_cv_prog_RANLIB"; then
7360 ac_ct_RANLIB=$RANLIB
7361 # Extract the first word of "ranlib
", so it can be a program name with args.
7362 set dummy ranlib; ac_word=$2
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7364 $as_echo_n "checking
for $ac_word...
" >&6; }
7365 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7366 $as_echo_n "(cached
) " >&6
7368 if test -n "$ac_ct_RANLIB"; then
7369 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7375 test -z "$as_dir" && as_dir=.
7376 for ac_exec_ext in '' $ac_executable_extensions; do
7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7378 ac_cv_prog_ac_ct_RANLIB="ranlib
"
7379 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7388 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7389 if test -n "$ac_ct_RANLIB"; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_RANLIB" >&5
7391 $as_echo "$ac_ct_RANLIB" >&6; }
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7394 $as_echo "no
" >&6; }
7397 if test "x
$ac_ct_RANLIB" = x; then
7400 case $cross_compiling:$ac_tool_warned in
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7403 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7404 ac_tool_warned=yes ;;
7406 RANLIB=$ac_ct_RANLIB
7409 RANLIB="$ac_cv_prog_RANLIB"
7412 test -z "$RANLIB" && RANLIB=:
7413 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
7414 if $RANLIB --help 2>&1 | grep -q "\
--plugin"; then
7415 RANLIB="$RANLIB $plugin_option"
7424 # Determine commands to create old-style static archives.
7425 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7426 old_postinstall_cmds='chmod 644 $oldlib'
7427 old_postuninstall_cmds=
7429 if test -n "$RANLIB"; then
7432 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB -t \
$oldlib"
7435 old_postinstall_cmds="$old_postinstall_cmds~\
$RANLIB \
$oldlib"
7438 old_archive_cmds="$old_archive_cmds~\
$RANLIB \
$oldlib"
7443 lock_old_archive_extraction=yes ;;
7445 lock_old_archive_extraction=no ;;
7486 # If no C compiler was specified, use CC.
7489 # If no C compiler flags were specified, use CFLAGS.
7490 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7492 # Allow CC to be a program name with arguments.
7496 # Check for command to grab the raw symbol name followed by C symbol from nm.
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
command to parse
$NM output from
$compiler object
" >&5
7498 $as_echo_n "checking
command to parse
$NM output from
$compiler object...
" >&6; }
7499 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7500 $as_echo_n "(cached
) " >&6
7503 # These are sane defaults that work on at least a few old systems.
7504 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7506 # Character class describing NM global symbol codes.
7507 symcode='[BCDEGRST]'
7509 # Regexp to match symbols that can be accessed directly from C.
7510 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7512 # Define system-specific variables.
7517 cygwin* | mingw* | pw32* | cegcc*)
7518 symcode='[ABCDGISTW]'
7521 if test "$host_cpu" = ia64; then
7522 symcode='[ABCDEGRST]'
7526 symcode='[BCDEGRST]'
7529 symcode='[BCDEGQRST]'
7540 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7548 # If we're using GNU nm, then use its standard symbol codes.
7549 case `$NM -V 2>&1` in
7550 *GNU* | *'with BFD'*)
7551 symcode='[ABCDGIRSTW]' ;;
7554 # Transform an extracted symbol line into a proper C declaration.
7555 # Some systems (esp. on ia64) link data and code symbols differently,
7556 # so use this general approach.
7557 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7559 # Transform an extracted symbol line into symbol name and symbol address
7560 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7561 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'"
7563 # Handle CRLF in mingw tool chain
7567 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7571 # Try without a prefix underscore, then with it.
7572 for ac_symprfx in "" "_
"; do
7574 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7575 symxfrm="\\1 $ac_symprfx\\2 \\2"
7577 # Write the raw and C identifiers.
7578 if test "$lt_cv_nm_interface" = "MS dumpbin
"; then
7579 # Fake it for dumpbin and say T for any non-static function
7580 # and D for any global variable.
7581 # Also find C++ and __fastcall symbols from MSVC++,
7582 # which start with @ or ?.
7583 lt_cv_sys_global_symbol_pipe="$AWK '"\
7584 " {last_section=section; section=\$ 3};"\
7585 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7586 " \$ 0!~/External *\|/{next};"\
7587 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7588 " {if(hide[section]) next};"\
7589 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7590 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7591 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7592 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7593 " ' prfx
=^
$ac_symprfx"
7595 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7598 # Check to see that the pipe works correctly.
7602 cat > conftest.$ac_ext <<_LT_EOF
7607 void nm_test_func(void);
7608 void nm_test_func(void){}
7612 int main(){nm_test_var='a';nm_test_func();return(0);}
7615 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7616 (eval $ac_compile) 2>&5
7618 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7619 test $ac_status = 0; }; then
7620 # Now try to grab the symbols.
7622 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist\""; } >&5
7623 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7625 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7626 test $ac_status = 0; } && test -s "$nlist"; then
7627 # Try sorting and uniquifying the output.
7628 if sort "$nlist" | uniq > "$nlist"T; then
7629 mv -f "$nlist"T "$nlist"
7634 # Make sure that we snagged all the symbols we need.
7635 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7636 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7637 cat <<_LT_EOF > conftest.$ac_ext
7643 # Now generate the symbol file.
7644 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7646 cat <<_LT_EOF >> conftest.$ac_ext
7648 /* The mapping between symbol names and symbols. */
7653 lt__PROGRAM__LTX_preloaded_symbols[] =
7655 { "@PROGRAM@
", (void *) 0 },
7657 $SED "s
/^
$symcode$symcode* \
(.
*\
) \
(.
*\
)$
/ {\"\
2\", (void
*) \
&\
2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7658 cat <<\_LT_EOF >> conftest.$ac_ext
7662 /* This works around a problem in FreeBSD linker */
7663 #ifdef FREEBSD_WORKAROUND
7664 static const void *lt_preloaded_setup() {
7665 return lt__PROGRAM__LTX_preloaded_symbols;
7673 # Now try linking the two files.
7674 mv conftest.$ac_objext conftstm.$ac_objext
7675 lt_save_LIBS="$LIBS"
7676 lt_save_CFLAGS="$CFLAGS"
7677 LIBS="conftstm.
$ac_objext"
7678 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7679 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7680 (eval $ac_link) 2>&5
7682 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7683 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7686 LIBS="$lt_save_LIBS"
7687 CFLAGS="$lt_save_CFLAGS"
7689 echo "cannot
find nm_test_func
in $nlist" >&5
7692 echo "cannot
find nm_test_var
in $nlist" >&5
7695 echo "cannot run
$lt_cv_sys_global_symbol_pipe" >&5
7698 echo "$progname: failed program was
:" >&5
7699 cat conftest.$ac_ext >&5
7701 rm -rf conftest* conftst*
7703 # Do not use the global_symbol_pipe unless it works.
7704 if test "$pipe_works" = yes; then
7707 lt_cv_sys_global_symbol_pipe=
7713 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7714 lt_cv_sys_global_symbol_to_cdecl=
7716 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: failed
" >&5
7718 $as_echo "failed
" >&6; }
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: ok
" >&5
7721 $as_echo "ok
" >&6; }
7745 # Check whether --enable-libtool-lock was given.
7746 if test "${enable_libtool_lock+set}" = set; then :
7747 enableval=$enable_libtool_lock;
7750 test "x
$enable_libtool_lock" != xno && enable_libtool_lock=yes
7752 # Some flags need to be propagated to the compiler or linker for good
7756 # Find out which ABI we are using.
7757 echo 'int i;' > conftest.$ac_ext
7758 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7759 (eval $ac_compile) 2>&5
7761 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7762 test $ac_status = 0; }; then
7763 case `/usr/bin/file conftest.$ac_objext` in
7775 # Find out which ABI we are using.
7776 echo '#line '$LINENO' "configure
"' > conftest.$ac_ext
7777 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7778 (eval $ac_compile) 2>&5
7780 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7781 test $ac_status = 0; }; then
7782 if test "$lt_cv_prog_gnu_ld" = yes; then
7783 case `/usr/bin/file conftest.$ac_objext` in
7785 LD="${LD-ld} -melf32bsmip"
7788 LD="${LD-ld} -melf32bmipn32"
7791 LD="${LD-ld} -melf64bmip"
7795 case `/usr/bin/file conftest.$ac_objext` in
7811 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7812 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7813 # Find out which ABI we are using.
7814 echo 'int i;' > conftest.$ac_ext
7815 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7816 (eval $ac_compile) 2>&5
7818 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7819 test $ac_status = 0; }; then
7820 case `/usr/bin/file conftest.o` in
7823 x86_64-*kfreebsd*-gnu)
7824 LD="${LD-ld} -m elf_i386_fbsd
"
7827 case `/usr/bin/file conftest.o` in
7829 LD="${LD-ld} -m elf32_x86_64
"
7832 LD="${LD-ld} -m elf_i386
"
7836 powerpc64le-*linux*)
7837 LD="${LD-ld} -m elf32lppclinux
"
7840 LD="${LD-ld} -m elf32ppclinux
"
7843 LD="${LD-ld} -m elf_s390
"
7846 LD="${LD-ld} -m elf32_sparc
"
7852 x86_64-*kfreebsd*-gnu)
7853 LD="${LD-ld} -m elf_x86_64_fbsd
"
7856 LD="${LD-ld} -m elf_x86_64
"
7859 LD="${LD-ld} -m elf64lppc
"
7862 LD="${LD-ld} -m elf64ppc
"
7864 s390*-*linux*|s390*-*tpf*)
7865 LD="${LD-ld} -m elf64_s390
"
7868 LD="${LD-ld} -m elf64_sparc
"
7878 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7879 SAVE_CFLAGS="$CFLAGS"
7880 CFLAGS="$CFLAGS -belf"
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs
-belf" >&5
7882 $as_echo_n "checking whether the C compiler needs
-belf...
" >&6; }
7883 if ${lt_cv_cc_needs_belf+:} false; then :
7884 $as_echo_n "(cached
) " >&6
7887 ac_cpp='$CPP $CPPFLAGS'
7888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7892 if test x$gcc_no_link = xyes; then
7893 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
7895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7896 /* end confdefs.h. */
7906 if ac_fn_c_try_link "$LINENO"; then :
7907 lt_cv_cc_needs_belf=yes
7909 lt_cv_cc_needs_belf=no
7911 rm -f core conftest.err conftest.$ac_objext \
7912 conftest$ac_exeext conftest.$ac_ext
7914 ac_cpp='$CPP $CPPFLAGS'
7915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_cc_needs_belf" >&5
7921 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7922 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7923 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7924 CFLAGS="$SAVE_CFLAGS"
7928 # Find out which ABI we are using.
7929 echo 'int i;' > conftest.$ac_ext
7930 if { { eval echo "\"\
$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7931 (eval $ac_compile) 2>&5
7933 $as_echo "$as_me:${as_lineno-$LINENO}: \$?
= $ac_status" >&5
7934 test $ac_status = 0; }; then
7935 case `/usr/bin/file conftest.o` in
7937 case $lt_cv_prog_gnu_ld in
7938 yes*) LD="${LD-ld} -m elf64_sparc
" ;;
7940 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7952 need_locks="$enable_libtool_lock"
7956 rhapsody* | darwin*)
7957 if test -n "$ac_tool_prefix"; then
7958 # Extract the first word of "${ac_tool_prefix}dsymutil
", so it can be a program name with args.
7959 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7961 $as_echo_n "checking
for $ac_word...
" >&6; }
7962 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7963 $as_echo_n "(cached
) " >&6
7965 if test -n "$DSYMUTIL"; then
7966 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7972 test -z "$as_dir" && as_dir=.
7973 for ac_exec_ext in '' $ac_executable_extensions; do
7974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7975 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil
"
7976 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7985 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7986 if test -n "$DSYMUTIL"; then
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DSYMUTIL" >&5
7988 $as_echo "$DSYMUTIL" >&6; }
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7991 $as_echo "no
" >&6; }
7996 if test -z "$ac_cv_prog_DSYMUTIL"; then
7997 ac_ct_DSYMUTIL=$DSYMUTIL
7998 # Extract the first word of "dsymutil
", so it can be a program name with args.
7999 set dummy dsymutil; ac_word=$2
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8001 $as_echo_n "checking
for $ac_word...
" >&6; }
8002 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
8003 $as_echo_n "(cached
) " >&6
8005 if test -n "$ac_ct_DSYMUTIL"; then
8006 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
8008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8012 test -z "$as_dir" && as_dir=.
8013 for ac_exec_ext in '' $ac_executable_extensions; do
8014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8015 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil
"
8016 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8025 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
8026 if test -n "$ac_ct_DSYMUTIL"; then
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DSYMUTIL" >&5
8028 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8031 $as_echo "no
" >&6; }
8034 if test "x
$ac_ct_DSYMUTIL" = x; then
8037 case $cross_compiling:$ac_tool_warned in
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8040 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8041 ac_tool_warned=yes ;;
8043 DSYMUTIL=$ac_ct_DSYMUTIL
8046 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8049 if test -n "$ac_tool_prefix"; then
8050 # Extract the first word of "${ac_tool_prefix}nmedit
", so it can be a program name with args.
8051 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8053 $as_echo_n "checking
for $ac_word...
" >&6; }
8054 if ${ac_cv_prog_NMEDIT+:} false; then :
8055 $as_echo_n "(cached
) " >&6
8057 if test -n "$NMEDIT"; then
8058 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir=.
8065 for ac_exec_ext in '' $ac_executable_extensions; do
8066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8067 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit
"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8077 NMEDIT=$ac_cv_prog_NMEDIT
8078 if test -n "$NMEDIT"; then
8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $NMEDIT" >&5
8080 $as_echo "$NMEDIT" >&6; }
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8083 $as_echo "no
" >&6; }
8088 if test -z "$ac_cv_prog_NMEDIT"; then
8089 ac_ct_NMEDIT=$NMEDIT
8090 # Extract the first word of "nmedit
", so it can be a program name with args.
8091 set dummy nmedit; ac_word=$2
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8093 $as_echo_n "checking
for $ac_word...
" >&6; }
8094 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8095 $as_echo_n "(cached
) " >&6
8097 if test -n "$ac_ct_NMEDIT"; then
8098 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8104 test -z "$as_dir" && as_dir=.
8105 for ac_exec_ext in '' $ac_executable_extensions; do
8106 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8107 ac_cv_prog_ac_ct_NMEDIT="nmedit
"
8108 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8117 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8118 if test -n "$ac_ct_NMEDIT"; then
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_NMEDIT" >&5
8120 $as_echo "$ac_ct_NMEDIT" >&6; }
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8123 $as_echo "no
" >&6; }
8126 if test "x
$ac_ct_NMEDIT" = x; then
8129 case $cross_compiling:$ac_tool_warned in
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8132 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8133 ac_tool_warned=yes ;;
8135 NMEDIT=$ac_ct_NMEDIT
8138 NMEDIT="$ac_cv_prog_NMEDIT"
8141 if test -n "$ac_tool_prefix"; then
8142 # Extract the first word of "${ac_tool_prefix}lipo
", so it can be a program name with args.
8143 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8145 $as_echo_n "checking
for $ac_word...
" >&6; }
8146 if ${ac_cv_prog_LIPO+:} false; then :
8147 $as_echo_n "(cached
) " >&6
8149 if test -n "$LIPO"; then
8150 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 test -z "$as_dir" && as_dir=.
8157 for ac_exec_ext in '' $ac_executable_extensions; do
8158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8159 ac_cv_prog_LIPO="${ac_tool_prefix}lipo
"
8160 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8169 LIPO=$ac_cv_prog_LIPO
8170 if test -n "$LIPO"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $LIPO" >&5
8172 $as_echo "$LIPO" >&6; }
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8175 $as_echo "no
" >&6; }
8180 if test -z "$ac_cv_prog_LIPO"; then
8182 # Extract the first word of "lipo
", so it can be a program name with args.
8183 set dummy lipo; ac_word=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8185 $as_echo_n "checking
for $ac_word...
" >&6; }
8186 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8187 $as_echo_n "(cached
) " >&6
8189 if test -n "$ac_ct_LIPO"; then
8190 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8196 test -z "$as_dir" && as_dir=.
8197 for ac_exec_ext in '' $ac_executable_extensions; do
8198 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8199 ac_cv_prog_ac_ct_LIPO="lipo
"
8200 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8209 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8210 if test -n "$ac_ct_LIPO"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_LIPO" >&5
8212 $as_echo "$ac_ct_LIPO" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8215 $as_echo "no
" >&6; }
8218 if test "x
$ac_ct_LIPO" = x; then
8221 case $cross_compiling:$ac_tool_warned in
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8224 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8225 ac_tool_warned=yes ;;
8230 LIPO="$ac_cv_prog_LIPO"
8233 if test -n "$ac_tool_prefix"; then
8234 # Extract the first word of "${ac_tool_prefix}otool
", so it can be a program name with args.
8235 set dummy ${ac_tool_prefix}otool; ac_word=$2
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8237 $as_echo_n "checking
for $ac_word...
" >&6; }
8238 if ${ac_cv_prog_OTOOL+:} false; then :
8239 $as_echo_n "(cached
) " >&6
8241 if test -n "$OTOOL"; then
8242 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8248 test -z "$as_dir" && as_dir=.
8249 for ac_exec_ext in '' $ac_executable_extensions; do
8250 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8251 ac_cv_prog_OTOOL="${ac_tool_prefix}otool
"
8252 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8261 OTOOL=$ac_cv_prog_OTOOL
8262 if test -n "$OTOOL"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL" >&5
8264 $as_echo "$OTOOL" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8267 $as_echo "no
" >&6; }
8272 if test -z "$ac_cv_prog_OTOOL"; then
8274 # Extract the first word of "otool
", so it can be a program name with args.
8275 set dummy otool; ac_word=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8277 $as_echo_n "checking
for $ac_word...
" >&6; }
8278 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8279 $as_echo_n "(cached
) " >&6
8281 if test -n "$ac_ct_OTOOL"; then
8282 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8288 test -z "$as_dir" && as_dir=.
8289 for ac_exec_ext in '' $ac_executable_extensions; do
8290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8291 ac_cv_prog_ac_ct_OTOOL="otool
"
8292 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8301 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8302 if test -n "$ac_ct_OTOOL"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL" >&5
8304 $as_echo "$ac_ct_OTOOL" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8307 $as_echo "no
" >&6; }
8310 if test "x
$ac_ct_OTOOL" = x; then
8313 case $cross_compiling:$ac_tool_warned in
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8316 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8317 ac_tool_warned=yes ;;
8322 OTOOL="$ac_cv_prog_OTOOL"
8325 if test -n "$ac_tool_prefix"; then
8326 # Extract the first word of "${ac_tool_prefix}otool64
", so it can be a program name with args.
8327 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8329 $as_echo_n "checking
for $ac_word...
" >&6; }
8330 if ${ac_cv_prog_OTOOL64+:} false; then :
8331 $as_echo_n "(cached
) " >&6
8333 if test -n "$OTOOL64"; then
8334 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8340 test -z "$as_dir" && as_dir=.
8341 for ac_exec_ext in '' $ac_executable_extensions; do
8342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8343 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64
"
8344 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8353 OTOOL64=$ac_cv_prog_OTOOL64
8354 if test -n "$OTOOL64"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $OTOOL64" >&5
8356 $as_echo "$OTOOL64" >&6; }
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8359 $as_echo "no
" >&6; }
8364 if test -z "$ac_cv_prog_OTOOL64"; then
8365 ac_ct_OTOOL64=$OTOOL64
8366 # Extract the first word of "otool64
", so it can be a program name with args.
8367 set dummy otool64; ac_word=$2
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
8369 $as_echo_n "checking
for $ac_word...
" >&6; }
8370 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8371 $as_echo_n "(cached
) " >&6
8373 if test -n "$ac_ct_OTOOL64"; then
8374 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8380 test -z "$as_dir" && as_dir=.
8381 for ac_exec_ext in '' $ac_executable_extensions; do
8382 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8383 ac_cv_prog_ac_ct_OTOOL64="otool64
"
8384 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
8393 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8394 if test -n "$ac_ct_OTOOL64"; then
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_OTOOL64" >&5
8396 $as_echo "$ac_ct_OTOOL64" >&6; }
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
8399 $as_echo "no
" >&6; }
8402 if test "x
$ac_ct_OTOOL64" = x; then
8405 case $cross_compiling:$ac_tool_warned in
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
8408 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
8409 ac_tool_warned=yes ;;
8411 OTOOL64=$ac_ct_OTOOL64
8414 OTOOL64="$ac_cv_prog_OTOOL64"
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -single_module linker flag
" >&5
8444 $as_echo_n "checking
for -single_module linker flag...
" >&6; }
8445 if ${lt_cv_apple_cc_single_mod+:} false; then :
8446 $as_echo_n "(cached
) " >&6
8448 lt_cv_apple_cc_single_mod=no
8449 if test -z "${LT_MULTI_MODULE}"; then
8450 # By default we will add the -single_module flag. You can override
8451 # by either setting the environment variable LT_MULTI_MODULE
8452 # non-empty at configure time, or by adding -multi_module to the
8454 rm -rf libconftest.dylib*
8455 echo "int foo
(void
){return 1;}" > conftest.c
8456 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8457 -dynamiclib -Wl,-single_module conftest.c
" >&5
8458 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8459 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8461 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8462 lt_cv_apple_cc_single_mod=yes
8464 cat conftest.err >&5
8466 rm -rf libconftest.dylib*
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_apple_cc_single_mod" >&5
8471 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -exported_symbols_list linker flag
" >&5
8473 $as_echo_n "checking
for -exported_symbols_list linker flag...
" >&6; }
8474 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8475 $as_echo_n "(cached
) " >&6
8477 lt_cv_ld_exported_symbols_list=no
8478 save_LDFLAGS=$LDFLAGS
8479 echo "_main
" > conftest.sym
8480 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym
"
8481 if test x$gcc_no_link = xyes; then
8482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES.
" "$LINENO" 5
8484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8485 /* end confdefs.h. */
8495 if ac_fn_c_try_link "$LINENO"; then :
8496 lt_cv_ld_exported_symbols_list=yes
8498 lt_cv_ld_exported_symbols_list=no
8500 rm -f core conftest.err conftest.$ac_objext \
8501 conftest$ac_exeext conftest.$ac_ext
8502 LDFLAGS="$save_LDFLAGS"
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_exported_symbols_list" >&5
8506 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for -force_load linker flag
" >&5
8508 $as_echo_n "checking
for -force_load linker flag...
" >&6; }
8509 if ${lt_cv_ld_force_load+:} false; then :
8510 $as_echo_n "(cached
) " >&6
8512 lt_cv_ld_force_load=no
8513 cat > conftest.c << _LT_EOF
8514 int forced_loaded() { return 2;}
8516 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c
" >&5
8517 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8518 echo "$AR cru libconftest.a conftest.o
" >&5
8519 $AR cru libconftest.a conftest.o 2>&5
8520 cat > conftest.c << _LT_EOF
8521 int main() { return 0;}
8523 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
" >&5
8524 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8526 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8527 lt_cv_ld_force_load=yes
8529 cat conftest.err >&5
8531 rm -f conftest.err libconftest.a conftest conftest.c
8532 rm -rf conftest.dSYM
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_ld_force_load" >&5
8536 $as_echo "$lt_cv_ld_force_load" >&6; }
8537 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8538 # build without first building modern cctools / linker.
8539 case $host_cpu-$host_os in
8540 *-rhapsody* | *-darwin1.[012])
8541 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8543 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8545 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8546 # deployment target is forced to an earlier version.
8547 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8548 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0-9]*)
8551 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8558 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8559 _lt_dar_single_mod='$single_module'
8561 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8562 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8564 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8566 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no
"; then
8567 _lt_dsymutil='~$DSYMUTIL $lib || :'
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for ANSI C header files
" >&5
8575 $as_echo_n "checking
for ANSI C header files...
" >&6; }
8576 if ${ac_cv_header_stdc+:} false; then :
8577 $as_echo_n "(cached
) " >&6
8579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8580 /* end confdefs.h. */
8594 if ac_fn_c_try_compile "$LINENO"; then :
8595 ac_cv_header_stdc=yes
8597 ac_cv_header_stdc=no
8599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8601 if test $ac_cv_header_stdc = yes; then
8602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8604 /* end confdefs.h. */
8608 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8609 $EGREP "memchr
" >/dev/null 2>&1; then :
8612 ac_cv_header_stdc=no
8618 if test $ac_cv_header_stdc = yes; then
8619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8621 /* end confdefs.h. */
8625 if (eval "$ac_cpp conftest.
$ac_ext") 2>&5 |
8626 $EGREP "free
" >/dev/null 2>&1; then :
8629 ac_cv_header_stdc=no
8635 if test $ac_cv_header_stdc = yes; then
8636 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8637 if test "$cross_compiling" = yes; then :
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8644 #if ((' ' & 0x0FF) == 0x020)
8645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8648 # define ISLOWER(c) \
8649 (('a' <= (c) && (c) <= 'i') \
8650 || ('j' <= (c) && (c) <= 'r') \
8651 || ('s' <= (c) && (c) <= 'z'))
8652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8660 for (i = 0; i < 256; i++)
8661 if (XOR (islower (i), ISLOWER (i))
8662 || toupper (i) != TOUPPER (i))
8667 if ac_fn_c_try_run "$LINENO"; then :
8670 ac_cv_header_stdc=no
8672 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8673 conftest.$ac_objext conftest.beam conftest.$ac_ext
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_cv_header_stdc" >&5
8679 $as_echo "$ac_cv_header_stdc" >&6; }
8680 if test $ac_cv_header_stdc = yes; then
8682 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8686 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8687 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
8688 inttypes.h stdint.h unistd.h
8690 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8693 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8694 cat >>confdefs.h
<<_ACEOF
8695 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8703 for ac_header
in dlfcn.h
8705 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8707 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
8708 cat >>confdefs.h
<<_ACEOF
8709 #define HAVE_DLFCN_H 1
8729 # Check whether --enable-shared was given.
8730 if test "${enable_shared+set}" = set; then :
8731 enableval
=$enable_shared; p
=${PACKAGE-default}
8733 yes) enable_shared
=yes ;;
8734 no
) enable_shared
=no
;;
8737 # Look at the argument we got. We use all the common list separators.
8738 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8739 for pkg
in $enableval; do
8741 if test "X$pkg" = "X$p"; then
8760 # Check whether --enable-static was given.
8761 if test "${enable_static+set}" = set; then :
8762 enableval
=$enable_static; p
=${PACKAGE-default}
8764 yes) enable_static
=yes ;;
8765 no
) enable_static
=no
;;
8768 # Look at the argument we got. We use all the common list separators.
8769 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8770 for pkg
in $enableval; do
8772 if test "X$pkg" = "X$p"; then
8792 # Check whether --with-pic was given.
8793 if test "${with_pic+set}" = set; then :
8794 withval
=$with_pic; pic_mode
="$withval"
8800 test -z "$pic_mode" && pic_mode
=default
8808 # Check whether --enable-fast-install was given.
8809 if test "${enable_fast_install+set}" = set; then :
8810 enableval
=$enable_fast_install; p
=${PACKAGE-default}
8812 yes) enable_fast_install
=yes ;;
8813 no
) enable_fast_install
=no
;;
8815 enable_fast_install
=no
8816 # Look at the argument we got. We use all the common list separators.
8817 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
8818 for pkg
in $enableval; do
8820 if test "X$pkg" = "X$p"; then
8821 enable_fast_install
=yes
8828 enable_fast_install
=yes
8841 # This can be used to rebuild libtool when needed
8842 LIBTOOL_DEPS
="$ltmain"
8844 # Always use our own libtool.
8845 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
8872 test -z "$LN_S" && LN_S
="ln -s"
8887 if test -n "${ZSH_VERSION+set}" ; then
8888 setopt NO_GLOB_SUBST
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8892 $as_echo_n "checking for objdir... " >&6; }
8893 if ${lt_cv_objdir+:} false
; then :
8894 $as_echo_n "(cached) " >&6
8896 rm -f .libs
2>/dev
/null
8897 mkdir .libs
2>/dev
/null
8898 if test -d .libs
; then
8901 # MS-DOS does not allow filenames that begin with a dot.
8904 rmdir .libs
2>/dev
/null
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8907 $as_echo "$lt_cv_objdir" >&6; }
8908 objdir
=$lt_cv_objdir
8914 cat >>confdefs.h
<<_ACEOF
8915 #define LT_OBJDIR "$lt_cv_objdir/"
8923 # AIX sometimes has problems with the GCC collect2 program. For some
8924 # reason, if we set the COLLECT_NAMES environment variable, the problems
8925 # vanish in a puff of smoke.
8926 if test "X${COLLECT_NAMES+set}" != Xset
; then
8928 export COLLECT_NAMES
8935 can_build_shared
=yes
8937 # All known linkers require a `.a' archive for static linking (except MSVC,
8938 # which needs '.lib').
8941 with_gnu_ld
="$lt_cv_prog_gnu_ld"
8944 old_CFLAGS
="$CFLAGS"
8946 # Set sane defaults for various variables
8947 test -z "$CC" && CC
=cc
8948 test -z "$LTCC" && LTCC
=$CC
8949 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
8950 test -z "$LD" && LD
=ld
8951 test -z "$ac_objext" && ac_objext
=o
8953 for cc_temp
in $compiler""; do
8955 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
8956 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
8961 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8964 # Only perform the check for file, if the check method requires it
8965 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
8966 case $deplibs_check_method in
8968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8970 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8971 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
8972 $as_echo_n "(cached) " >&6
8976 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
8979 lt_save_MAGIC_CMD
="$MAGIC_CMD"
8980 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
8981 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
8982 for ac_dir
in $ac_dummy; do
8984 test -z "$ac_dir" && ac_dir
=.
8985 if test -f $ac_dir/${ac_tool_prefix}file; then
8986 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
8987 if test -n "$file_magic_test_file"; then
8988 case $deplibs_check_method in
8990 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8991 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
8992 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
8993 $EGREP "$file_magic_regex" > /dev
/null
; then
8998 *** Warning: the command libtool uses to detect shared libraries,
8999 *** $file_magic_cmd, produces output that libtool cannot recognize.
9000 *** The result is that libtool may fail to recognize shared libraries
9001 *** as such. This will affect the creation of libtool libraries that
9002 *** depend on shared libraries, but programs linked with such libtool
9003 *** libraries will work regardless of this problem. Nevertheless, you
9004 *** may want to report the problem to your system manager and/or to
9005 *** bug-libtool@gnu.org
9015 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9020 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9021 if test -n "$MAGIC_CMD"; then
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9023 $as_echo "$MAGIC_CMD" >&6; }
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9033 if test -z "$lt_cv_path_MAGIC_CMD"; then
9034 if test -n "$ac_tool_prefix"; then
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9036 $as_echo_n "checking for file... " >&6; }
9037 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9038 $as_echo_n "(cached) " >&6
9042 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9045 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9046 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9047 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9048 for ac_dir
in $ac_dummy; do
9050 test -z "$ac_dir" && ac_dir
=.
9051 if test -f $ac_dir/file; then
9052 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9053 if test -n "$file_magic_test_file"; then
9054 case $deplibs_check_method in
9056 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9057 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9058 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9059 $EGREP "$file_magic_regex" > /dev
/null
; then
9064 *** Warning: the command libtool uses to detect shared libraries,
9065 *** $file_magic_cmd, produces output that libtool cannot recognize.
9066 *** The result is that libtool may fail to recognize shared libraries
9067 *** as such. This will affect the creation of libtool libraries that
9068 *** depend on shared libraries, but programs linked with such libtool
9069 *** libraries will work regardless of this problem. Nevertheless, you
9070 *** may want to report the problem to your system manager and/or to
9071 *** bug-libtool@gnu.org
9081 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9086 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9087 if test -n "$MAGIC_CMD"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9089 $as_echo "$MAGIC_CMD" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9105 # Use C for the default configuration in the libtool script
9109 ac_cpp
='$CPP $CPPFLAGS'
9110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9115 # Source file extension for C test sources.
9118 # Object file extension for compiled C test sources.
9122 # Code to be used in simple compile tests
9123 lt_simple_compile_test_code
="int some_variable = 0;"
9125 # Code to be used in simple link tests
9126 lt_simple_link_test_code
='int main(){return(0);}'
9134 # If no C compiler was specified, use CC.
9137 # If no C compiler flags were specified, use CFLAGS.
9138 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9140 # Allow CC to be a program name with arguments.
9143 # Save the default compiler, since it gets overwritten when the other
9144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9145 compiler_DEFAULT
=$CC
9147 # save warnings/boilerplate of simple test code
9148 ac_outfile
=conftest.
$ac_objext
9149 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9150 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9151 _lt_compiler_boilerplate
=`cat conftest.err`
9154 ac_outfile
=conftest.
$ac_objext
9155 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9156 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9157 _lt_linker_boilerplate
=`cat conftest.err`
9162 ## There is no encapsulation within the following macros, do not change
9163 ## the running order or otherwise move them around unless you know exactly
9164 ## what you are doing...
9165 if test -n "$compiler"; then
9167 lt_prog_compiler_no_builtin_flag
=
9169 if test "$GCC" = yes; then
9170 case $cc_basename in
9172 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9174 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9178 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9179 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9180 $as_echo_n "(cached) " >&6
9182 lt_cv_prog_compiler_rtti_exceptions
=no
9183 ac_outfile
=conftest.
$ac_objext
9184 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9185 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9186 # Insert the option either (1) after the last *FLAGS variable, or
9187 # (2) before a word containing "conftest.", or (3) at the end.
9188 # Note that $ac_compile itself does not contain backslashes and begins
9189 # with a dollar sign (not a hyphen), so the echo should work correctly.
9190 # The option is referenced via a variable to avoid confusing sed.
9191 lt_compile
=`echo "$ac_compile" | $SED \
9192 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9193 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9194 -e 's:$: $lt_compiler_flag:'`
9195 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9196 (eval "$lt_compile" 2>conftest.err
)
9198 cat conftest.err
>&5
9199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9200 if (exit $ac_status) && test -s "$ac_outfile"; then
9201 # The compiler can only warn and ignore the option if not recognized
9202 # So say no if there are warnings other than the usual output.
9203 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9204 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9205 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9206 lt_cv_prog_compiler_rtti_exceptions
=yes
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9213 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9215 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9216 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9228 lt_prog_compiler_wl
=
9229 lt_prog_compiler_pic
=
9230 lt_prog_compiler_static
=
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9233 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9235 if test "$GCC" = yes; then
9236 lt_prog_compiler_wl
='-Wl,'
9237 lt_prog_compiler_static
='-static'
9241 # All AIX code is PIC.
9242 if test "$host_cpu" = ia64
; then
9243 # AIX 5 now supports IA64 processor
9244 lt_prog_compiler_static
='-Bstatic'
9246 lt_prog_compiler_pic
='-fPIC'
9252 # see comment about AmigaOS4 .so support
9253 lt_prog_compiler_pic
='-fPIC'
9256 # FIXME: we need at least 68020 code to build shared libraries, but
9257 # adding the `-m68020' flag to GCC prevents building anything better,
9259 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9264 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9265 # PIC is the default for these OSes.
9268 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9269 # This hack is so that the source file can tell whether it is being
9270 # built for inclusion in a dll (and should export symbols for example).
9271 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9272 # (--disable-auto-import) libraries
9273 lt_prog_compiler_pic
='-DDLL_EXPORT'
9276 darwin
* | rhapsody
*)
9277 # PIC is the default on this platform
9278 # Common symbols not allowed in MH_DYLIB files
9279 lt_prog_compiler_pic
='-fno-common'
9283 # PIC is the default for Haiku.
9284 # The "-static" flag exists, but is broken.
9285 lt_prog_compiler_static
=
9289 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9290 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9291 # sets the default TLS model and affects inlining.
9297 lt_prog_compiler_pic
='-fPIC'
9303 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9304 # Instead, we relocate shared libraries at runtime.
9308 # Just because we use GCC doesn't mean we suddenly get shared libraries
9309 # on systems that don't support them.
9310 lt_prog_compiler_can_build_shared
=no
9315 # QNX uses GNU C++, but need to define -shared option too, otherwise
9317 lt_prog_compiler_pic
='-fPIC -shared'
9321 if test -d /usr
/nec
; then
9322 lt_prog_compiler_pic
=-Kconform_pic
9327 lt_prog_compiler_pic
='-fPIC'
9331 case $cc_basename in
9332 nvcc
*) # Cuda Compiler Driver 2.2
9333 lt_prog_compiler_wl
='-Xlinker '
9334 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9338 # PORTME Check for flag to pass linker flags through the system compiler.
9341 lt_prog_compiler_wl
='-Wl,'
9342 if test "$host_cpu" = ia64
; then
9343 # AIX 5 now supports IA64 processor
9344 lt_prog_compiler_static
='-Bstatic'
9346 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9350 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9351 # This hack is so that the source file can tell whether it is being
9352 # built for inclusion in a dll (and should export symbols for example).
9353 lt_prog_compiler_pic
='-DDLL_EXPORT'
9356 hpux9
* | hpux10
* | hpux11
*)
9357 lt_prog_compiler_wl
='-Wl,'
9358 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9365 lt_prog_compiler_pic
='+Z'
9368 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9369 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9372 irix5
* | irix6
* | nonstopux
*)
9373 lt_prog_compiler_wl
='-Wl,'
9374 # PIC (with -KPIC) is the default.
9375 lt_prog_compiler_static
='-non_shared'
9378 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9379 case $cc_basename in
9380 # old Intel for x86_64 which still supported -KPIC.
9382 lt_prog_compiler_wl
='-Wl,'
9383 lt_prog_compiler_pic
='-KPIC'
9384 lt_prog_compiler_static
='-static'
9386 # icc used to be incompatible with GCC.
9387 # ICC 10 doesn't accept -KPIC any more.
9389 lt_prog_compiler_wl
='-Wl,'
9390 lt_prog_compiler_pic
='-fPIC'
9391 lt_prog_compiler_static
='-static'
9393 # Lahey Fortran 8.1.
9395 lt_prog_compiler_wl
='-Wl,'
9396 lt_prog_compiler_pic
='--shared'
9397 lt_prog_compiler_static
='--static'
9399 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9400 # Portland Group compilers (*not* the Pentium gcc compiler,
9401 # which looks to be a dead project)
9402 lt_prog_compiler_wl
='-Wl,'
9403 lt_prog_compiler_pic
='-fpic'
9404 lt_prog_compiler_static
='-Bstatic'
9407 lt_prog_compiler_wl
='-Wl,'
9408 # All Alpha code is PIC.
9409 lt_prog_compiler_static
='-non_shared'
9411 xl
* | bgxl
* | bgf
* | mpixl
*)
9412 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9413 lt_prog_compiler_wl
='-Wl,'
9414 lt_prog_compiler_pic
='-qpic'
9415 lt_prog_compiler_static
='-qstaticlink'
9418 case `$CC -V 2>&1 | sed 5q` in
9419 *Sun\ F
* |
*Sun
*Fortran
*)
9420 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9421 lt_prog_compiler_pic
='-KPIC'
9422 lt_prog_compiler_static
='-Bstatic'
9423 lt_prog_compiler_wl
=''
9427 lt_prog_compiler_pic
='-KPIC'
9428 lt_prog_compiler_static
='-Bstatic'
9429 lt_prog_compiler_wl
='-Wl,'
9437 lt_prog_compiler_pic
='-KPIC'
9438 lt_prog_compiler_static
='-Bstatic'
9442 # QNX uses GNU C++, but need to define -shared option too, otherwise
9444 lt_prog_compiler_pic
='-fPIC -shared'
9447 osf3
* | osf4
* | osf5
*)
9448 lt_prog_compiler_wl
='-Wl,'
9449 # All OSF/1 code is PIC.
9450 lt_prog_compiler_static
='-non_shared'
9454 lt_prog_compiler_static
='-non_shared'
9458 lt_prog_compiler_pic
='-KPIC'
9459 lt_prog_compiler_static
='-Bstatic'
9460 case $cc_basename in
9462 lt_prog_compiler_wl
='-Qoption ld ';;
9464 lt_prog_compiler_wl
='-Wl,';;
9469 lt_prog_compiler_wl
='-Qoption ld '
9470 lt_prog_compiler_pic
='-PIC'
9471 lt_prog_compiler_static
='-Bstatic'
9474 sysv4 | sysv4.2uw2
* | sysv4.3
*)
9475 lt_prog_compiler_wl
='-Wl,'
9476 lt_prog_compiler_pic
='-KPIC'
9477 lt_prog_compiler_static
='-Bstatic'
9481 if test -d /usr
/nec
;then
9482 lt_prog_compiler_pic
='-Kconform_pic'
9483 lt_prog_compiler_static
='-Bstatic'
9487 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
9488 lt_prog_compiler_wl
='-Wl,'
9489 lt_prog_compiler_pic
='-KPIC'
9490 lt_prog_compiler_static
='-Bstatic'
9494 lt_prog_compiler_wl
='-Wl,'
9495 lt_prog_compiler_can_build_shared
=no
9499 lt_prog_compiler_pic
='-pic'
9500 lt_prog_compiler_static
='-Bstatic'
9504 lt_prog_compiler_can_build_shared
=no
9510 # For platforms which do not support PIC, -DPIC is meaningless:
9512 lt_prog_compiler_pic
=
9515 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9519 $as_echo "$lt_prog_compiler_pic" >&6; }
9527 # Check to make sure the PIC flag actually works.
9529 if test -n "$lt_prog_compiler_pic"; then
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9531 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9532 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
9533 $as_echo_n "(cached) " >&6
9535 lt_cv_prog_compiler_pic_works
=no
9536 ac_outfile
=conftest.
$ac_objext
9537 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9538 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
9539 # Insert the option either (1) after the last *FLAGS variable, or
9540 # (2) before a word containing "conftest.", or (3) at the end.
9541 # Note that $ac_compile itself does not contain backslashes and begins
9542 # with a dollar sign (not a hyphen), so the echo should work correctly.
9543 # The option is referenced via a variable to avoid confusing sed.
9544 lt_compile
=`echo "$ac_compile" | $SED \
9545 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9547 -e 's:$: $lt_compiler_flag:'`
9548 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9549 (eval "$lt_compile" 2>conftest.err
)
9551 cat conftest.err
>&5
9552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9553 if (exit $ac_status) && test -s "$ac_outfile"; then
9554 # The compiler can only warn and ignore the option if not recognized
9555 # So say no if there are warnings other than the usual output.
9556 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9557 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9558 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9559 lt_cv_prog_compiler_pic_works
=yes
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9566 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9568 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
9569 case $lt_prog_compiler_pic in
9571 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
9574 lt_prog_compiler_pic
=
9575 lt_prog_compiler_can_build_shared
=no
9586 # Check to make sure the static flag actually works.
9588 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9590 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9591 if ${lt_cv_prog_compiler_static_works+:} false
; then :
9592 $as_echo_n "(cached) " >&6
9594 lt_cv_prog_compiler_static_works
=no
9595 save_LDFLAGS
="$LDFLAGS"
9596 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
9597 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
9598 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
9599 # The linker can only warn and ignore the option if not recognized
9600 # So say no if there are warnings
9601 if test -s conftest.err
; then
9602 # Append any errors to the config.log.
9603 cat conftest.err
1>&5
9604 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
9605 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9606 if diff conftest.exp conftest.er2
>/dev
/null
; then
9607 lt_cv_prog_compiler_static_works
=yes
9610 lt_cv_prog_compiler_static_works
=yes
9614 LDFLAGS
="$save_LDFLAGS"
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9618 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9620 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
9623 lt_prog_compiler_static
=
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9633 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9634 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 lt_cv_prog_compiler_c_o
=no
9638 $RM -r conftest
2>/dev
/null
9642 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9644 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9645 # Insert the option either (1) after the last *FLAGS variable, or
9646 # (2) before a word containing "conftest.", or (3) at the end.
9647 # Note that $ac_compile itself does not contain backslashes and begins
9648 # with a dollar sign (not a hyphen), so the echo should work correctly.
9649 lt_compile
=`echo "$ac_compile" | $SED \
9650 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9651 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9652 -e 's:$: $lt_compiler_flag:'`
9653 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9654 (eval "$lt_compile" 2>out
/conftest.err
)
9656 cat out
/conftest.err
>&5
9657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9658 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9660 # The compiler can only warn and ignore the option if not recognized
9661 # So say no if there are warnings
9662 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9663 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9664 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9665 lt_cv_prog_compiler_c_o
=yes
9670 # SGI C++ compiler will create directory out/ii_files/ for
9671 # template instantiation
9672 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9673 $RM out
/* && rmdir out
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9680 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9688 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9689 if ${lt_cv_prog_compiler_c_o+:} false
; then :
9690 $as_echo_n "(cached) " >&6
9692 lt_cv_prog_compiler_c_o
=no
9693 $RM -r conftest
2>/dev
/null
9697 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9699 lt_compiler_flag
="-o out/conftest2.$ac_objext"
9700 # Insert the option either (1) after the last *FLAGS variable, or
9701 # (2) before a word containing "conftest.", or (3) at the end.
9702 # Note that $ac_compile itself does not contain backslashes and begins
9703 # with a dollar sign (not a hyphen), so the echo should work correctly.
9704 lt_compile
=`echo "$ac_compile" | $SED \
9705 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9706 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9707 -e 's:$: $lt_compiler_flag:'`
9708 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9709 (eval "$lt_compile" 2>out
/conftest.err
)
9711 cat out
/conftest.err
>&5
9712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
9715 # The compiler can only warn and ignore the option if not recognized
9716 # So say no if there are warnings
9717 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
9718 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
9719 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
9720 lt_cv_prog_compiler_c_o
=yes
9725 # SGI C++ compiler will create directory out/ii_files/ for
9726 # template instantiation
9727 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
9728 $RM out
/* && rmdir out
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9735 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9740 hard_links
="nottested"
9741 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
9742 # do not overwrite the value of need_locks provided by the user
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9744 $as_echo_n "checking if we can lock with hard links... " >&6; }
9747 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9749 ln conftest.a conftest.b
2>&5 || hard_links
=no
9750 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9752 $as_echo "$hard_links" >&6; }
9753 if test "$hard_links" = no
; then
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9755 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9768 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9771 allow_undefined_flag
=
9772 always_export_symbols
=no
9774 archive_expsym_cmds
=
9775 compiler_needs_object
=no
9776 enable_shared_with_static_runtimes
=no
9777 export_dynamic_flag_spec
=
9778 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9779 hardcode_automatic
=no
9781 hardcode_direct_absolute
=no
9782 hardcode_libdir_flag_spec
=
9783 hardcode_libdir_flag_spec_ld
=
9784 hardcode_libdir_separator
=
9786 hardcode_shlibpath_var
=unsupported
9788 link_all_deplibs
=unknown
9791 old_archive_from_new_cmds
=
9792 old_archive_from_expsyms_cmds
=
9793 thread_safe_flag_spec
=
9794 whole_archive_flag_spec
=
9795 # include_expsyms should be a list of space-separated symbols to be *always*
9796 # included in the symbol list
9798 # exclude_expsyms can be an extended regexp of symbols to exclude
9799 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9800 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9801 # as well as any symbol that contains `d'.
9802 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9803 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9804 # platforms (ab)use it in PIC code, but their linkers get confused if
9805 # the symbol is explicitly referenced. Since portable code cannot
9806 # rely on this symbol name, it's probably fine to never include it in
9807 # preloaded symbol tables.
9808 # Exclude shared library initialization/finalization symbols.
9809 extract_expsyms_cmds
=
9812 cygwin
* | mingw
* | pw32
* | cegcc
*)
9813 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9814 # When not using gcc, we currently assume that we are using
9815 # Microsoft Visual C++.
9816 if test "$GCC" != yes; then
9821 # we just hope/assume this is gcc and not c89 (= MSVC++)
9831 # On some targets, GNU ld is compatible enough with the native linker
9832 # that we're better off using the native interface for both.
9833 lt_use_gnu_ld_interface
=no
9834 if test "$with_gnu_ld" = yes; then
9837 # The AIX port of GNU ld has always aspired to compatibility
9838 # with the native linker. However, as the warning in the GNU ld
9839 # block says, versions before 2.19.5* couldn't really create working
9840 # shared libraries, regardless of the interface used.
9841 case `$LD -v 2>&1` in
9842 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
9843 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
9844 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
9846 lt_use_gnu_ld_interface
=yes
9851 lt_use_gnu_ld_interface
=yes
9856 if test "$lt_use_gnu_ld_interface" = yes; then
9857 # If archive_cmds runs LD, not CC, wlarc should be empty
9860 # Set some defaults for GNU ld with shared library support. These
9861 # are reset later if shared libraries are not supported. Putting them
9862 # here allows them to be overridden if necessary.
9863 runpath_var
=LD_RUN_PATH
9864 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
9865 export_dynamic_flag_spec
='${wl}--export-dynamic'
9866 # ancient GNU ld didn't support --whole-archive et. al.
9867 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
9868 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9870 whole_archive_flag_spec
=
9872 supports_anon_versioning
=no
9873 case `$LD -v 2>&1` in
9874 *GNU\ gold
*) supports_anon_versioning
=yes ;;
9875 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
9876 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
9877 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
9878 *\
2.11.
*) ;; # other 2.11 versions
9879 *) supports_anon_versioning
=yes ;;
9882 # See if GNU ld supports shared libraries.
9885 # On AIX/PPC, the GNU linker is very broken
9886 if test "$host_cpu" != ia64
; then
9890 *** Warning: the GNU linker, at least up to release 2.19, is reported
9891 *** to be unable to reliably create shared libraries on AIX.
9892 *** Therefore, libtool is disabling shared libraries support. If you
9893 *** really care for shared libraries, you may want to install binutils
9894 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9895 *** You will then need to restart the configuration process.
9904 # see comment about AmigaOS4 .so support
9905 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9906 archive_expsym_cmds
=''
9909 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)'
9910 hardcode_libdir_flag_spec
='-L$libdir'
9911 hardcode_minus_L
=yes
9917 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
9918 allow_undefined_flag
=unsupported
9919 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9920 # support --undefined. This deserves some investigation. FIXME
9921 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9927 cygwin
* | mingw
* | pw32
* | cegcc
*)
9928 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9929 # as there is no search path for DLLs.
9930 hardcode_libdir_flag_spec
='-L$libdir'
9931 export_dynamic_flag_spec
='${wl}--export-all-symbols'
9932 allow_undefined_flag
=unsupported
9933 always_export_symbols
=no
9934 enable_shared_with_static_runtimes
=yes
9935 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9937 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
9938 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9939 # If the export-symbols file already is a .def file (1st line
9940 # is EXPORTS), use it as is; otherwise, prepend...
9941 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9942 cp $export_symbols $output_objdir/$soname.def;
9944 echo EXPORTS > $output_objdir/$soname.def;
9945 cat $export_symbols >> $output_objdir/$soname.def;
9947 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9954 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9955 link_all_deplibs
=yes
9960 hardcode_shlibpath_var
=no
9961 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
9962 export_dynamic_flag_spec
='${wl}-E'
9963 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9964 # Instead, shared libraries are loaded at an image base (0x10000000 by
9965 # default) and relocated if they conflict, which is a slow very memory
9966 # consuming and fragmenting process. To avoid this, we pick a random,
9967 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9968 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9969 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9970 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'
9973 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
9975 if test "$host_os" = linux-dietlibc
; then
9976 case $cc_basename in
9977 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
9980 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
9981 && test "$tmp_diet" = no
9983 tmp_addflag
=' $pic_flag'
9984 tmp_sharedflag
='-shared'
9985 case $cc_basename,$host_cpu in
9986 pgcc
*) # Portland Group C compiler
9987 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9988 tmp_addflag
=' $pic_flag'
9990 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9991 # Portland Group f77 and f90 compilers
9992 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9993 tmp_addflag
=' $pic_flag -Mnomain' ;;
9994 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
9995 tmp_addflag
=' -i_dynamic' ;;
9996 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
9997 tmp_addflag
=' -i_dynamic -nofor_main' ;;
9998 ifc
* | ifort
*) # Intel Fortran compiler
9999 tmp_addflag
=' -nofor_main' ;;
10000 lf95
*) # Lahey Fortran 8.1
10001 whole_archive_flag_spec
=
10002 tmp_sharedflag
='--shared' ;;
10003 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10004 tmp_sharedflag
='-qmkshrobj'
10006 nvcc
*) # Cuda Compiler Driver 2.2
10007 whole_archive_flag_spec
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10008 compiler_needs_object
=yes
10011 case `$CC -V 2>&1 | sed 5q` in
10012 *Sun\ C
*) # Sun C 5.9
10013 whole_archive_flag_spec
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
10014 compiler_needs_object
=yes
10015 tmp_sharedflag
='-G' ;;
10016 *Sun\ F
*) # Sun Fortran 8.3
10017 tmp_sharedflag
='-G' ;;
10019 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10021 if test "x$supports_anon_versioning" = xyes
; then
10022 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10023 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10024 echo "local: *; };" >> $output_objdir/$libname.ver~
10025 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10028 case $cc_basename in
10029 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10030 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10031 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10032 hardcode_libdir_flag_spec
=
10033 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10034 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10035 if test "x$supports_anon_versioning" = xyes
; then
10036 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10037 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10038 echo "local: *; };" >> $output_objdir/$libname.ver~
10039 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10049 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10050 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10053 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10054 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10063 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10064 *** create shared libraries on Solaris systems. Therefore, libtool
10065 *** is disabling shared libraries support. We urge you to upgrade GNU
10066 *** binutils to release 2.9.1 or newer. Another option is to modify
10067 *** your PATH or compiler configuration so that the native linker is
10068 *** used, and then restart.
10071 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10072 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10079 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10080 case `$LD -v 2>&1` in
10081 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10085 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10086 *** reliably create shared libraries on SCO systems. Therefore, libtool
10087 *** is disabling shared libraries support. We urge you to upgrade GNU
10088 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10089 *** your PATH or compiler configuration so that the native linker is
10090 *** used, and then restart.
10095 # For security reasons, it is highly recommended that you always
10096 # use absolute paths for naming shared libraries, and exclude the
10097 # DT_RUNPATH tag from executables and libraries. But doing so
10098 # requires that you compile everything twice, which is a pain.
10099 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10100 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10101 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10102 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10111 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10113 hardcode_direct
=yes
10114 hardcode_shlibpath_var
=no
10118 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10119 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10120 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10127 if test "$ld_shlibs" = no
; then
10129 hardcode_libdir_flag_spec
=
10130 export_dynamic_flag_spec
=
10131 whole_archive_flag_spec
=
10134 # PORTME fill in a description of your system's linker (not GNU ld)
10137 allow_undefined_flag
=unsupported
10138 always_export_symbols
=yes
10139 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'
10140 # Note: this linker hardcodes the directories in LIBPATH if there
10141 # are no directories specified by -L.
10142 hardcode_minus_L
=yes
10143 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10144 # Neither direct hardcoding nor static linking is supported with a
10146 hardcode_direct
=unsupported
10151 if test "$host_cpu" = ia64
; then
10152 # On IA64, the linker does run time linking by default, so we don't
10153 # have to do anything special.
10154 aix_use_runtimelinking
=no
10155 exp_sym_flag
='-Bexport'
10158 # If we're using GNU nm, then we don't want the "-C" option.
10159 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10160 # Also, AIX nm treats weak defined symbols like other global
10161 # defined symbols, whereas GNU nm marks them as "W".
10162 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10163 export_symbols_cmds
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10165 export_symbols_cmds
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10167 aix_use_runtimelinking
=no
10169 # Test if we are trying to use run time linking or normal
10170 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10171 # need to do runtime linking.
10172 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10173 for ld_flag
in $LDFLAGS; do
10174 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10175 aix_use_runtimelinking
=yes
10182 exp_sym_flag
='-bexport'
10183 no_entry_flag
='-bnoentry'
10186 # When large executables or shared objects are built, AIX ld can
10187 # have problems creating the table of contents. If linking a library
10188 # or program results in "error TOC overflow" add -mminimal-toc to
10189 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10190 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10193 hardcode_direct
=yes
10194 hardcode_direct_absolute
=yes
10195 hardcode_libdir_separator
=':'
10196 link_all_deplibs
=yes
10197 file_list_spec
='${wl}-f,'
10199 if test "$GCC" = yes; then
10200 case $host_os in aix4.
[012]|aix4.
[012].
*)
10201 # We only want to do this on AIX 4.2 and lower, the check
10202 # below for broken collect2 doesn't work under 4.3+
10203 collect2name
=`${CC} -print-prog-name=collect2`
10204 if test -f "$collect2name" &&
10205 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10207 # We have reworked collect2
10210 # We have old collect2
10211 hardcode_direct
=unsupported
10212 # It fails to find uninstalled libraries when the uninstalled
10213 # path is not listed in the libpath. Setting hardcode_minus_L
10214 # to unsupported forces relinking
10215 hardcode_minus_L
=yes
10216 hardcode_libdir_flag_spec
='-L$libdir'
10217 hardcode_libdir_separator
=
10221 shared_flag
='-shared'
10222 if test "$aix_use_runtimelinking" = yes; then
10223 shared_flag
="$shared_flag "'${wl}-G'
10227 if test "$host_cpu" = ia64
; then
10228 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10229 # chokes on -Wl,-G. The following line is correct:
10232 if test "$aix_use_runtimelinking" = yes; then
10233 shared_flag
='${wl}-G'
10235 shared_flag
='${wl}-bM:SRE'
10240 export_dynamic_flag_spec
='${wl}-bexpall'
10241 # It seems that -bexpall does not export symbols beginning with
10242 # underscore (_), so it is better to generate a list of symbols to export.
10243 always_export_symbols
=yes
10244 if test "$aix_use_runtimelinking" = yes; then
10245 # Warning - without using the other runtime loading flags (-brtl),
10246 # -berok will link without error, but may produce a broken library.
10247 allow_undefined_flag
='-berok'
10248 # Determine the default libpath from the value encoded in an
10249 # empty executable.
10250 if test x
$gcc_no_link = xyes
; then
10251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10254 /* end confdefs.h. */
10264 if ac_fn_c_try_link
"$LINENO"; then :
10266 lt_aix_libpath_sed
='
10267 /Import File Strings/,/^$/ {
10273 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10274 # Check for a 64-bit object if we didn't find anything.
10275 if test -z "$aix_libpath"; then
10276 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10279 rm -f core conftest.err conftest.
$ac_objext \
10280 conftest
$ac_exeext conftest.
$ac_ext
10281 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10283 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10284 archive_expsym_cmds
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
10286 if test "$host_cpu" = ia64
; then
10287 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10288 allow_undefined_flag
="-z nodefs"
10289 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"
10291 # Determine the default libpath from the value encoded in an
10292 # empty executable.
10293 if test x
$gcc_no_link = xyes
; then
10294 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10296 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10307 if ac_fn_c_try_link
"$LINENO"; then :
10309 lt_aix_libpath_sed
='
10310 /Import File Strings/,/^$/ {
10316 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10317 # Check for a 64-bit object if we didn't find anything.
10318 if test -z "$aix_libpath"; then
10319 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10322 rm -f core conftest.err conftest.
$ac_objext \
10323 conftest
$ac_exeext conftest.
$ac_ext
10324 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10326 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10327 # Warning - without using the other run time loading flags,
10328 # -berok will link without error, but may produce a broken library.
10329 no_undefined_flag
=' ${wl}-bernotok'
10330 allow_undefined_flag
=' ${wl}-berok'
10331 if test "$with_gnu_ld" = yes; then
10332 # We only use this code for GNU lds that support --whole-archive.
10333 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10335 # Exported symbols can be pulled into shared objects from archives
10336 whole_archive_flag_spec
='$convenience'
10338 archive_cmds_need_lc
=yes
10339 # This is similar to how AIX traditionally builds its shared libraries.
10340 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'
10348 # see comment about AmigaOS4 .so support
10349 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10350 archive_expsym_cmds
=''
10353 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)'
10354 hardcode_libdir_flag_spec
='-L$libdir'
10355 hardcode_minus_L
=yes
10361 export_dynamic_flag_spec
=-rdynamic
10364 cygwin
* | mingw
* | pw32
* | cegcc
*)
10365 # When not using gcc, we currently assume that we are using
10366 # Microsoft Visual C++.
10367 # hardcode_libdir_flag_spec is actually meaningless, as there is
10368 # no search path for DLLs.
10369 hardcode_libdir_flag_spec
=' '
10370 allow_undefined_flag
=unsupported
10371 # Tell ltmain to make .lib files, not .a files.
10373 # Tell ltmain to make .dll files, not .so files.
10375 # FIXME: Setting linknames here is a bad hack.
10376 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10377 # The linker will automatically build a .lib file if we build a DLL.
10378 old_archive_from_new_cmds
='true'
10379 # FIXME: Should let the user specify the lib program.
10380 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10381 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10382 enable_shared_with_static_runtimes
=yes
10385 darwin
* | rhapsody
*)
10389 # Publish an arg to allow the user to select that Darwin host (and target)
10390 # libraries should be given install-names like @rpath/libfoo.dylib. This
10391 # requires that the user of the library then adds an 'rpath' to the DSO that
10393 # NOTE: there are defaults below, for systems that support rpaths. The person
10394 # configuring can override the defaults for any system version that supports
10395 # them - they are, however, forced off for system versions without support.
10396 # Check whether --enable-darwin-at-rpath was given.
10397 if test "${enable_darwin_at_rpath+set}" = set; then :
10398 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
10399 # This is not supported before macOS 10.5 / Darwin9.
10400 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10401 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
10403 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
10404 enable_darwin_at_rpath
=no
10409 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
10410 # As above, before 10.5 / Darwin9 this does not work.
10411 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
10412 enable_darwin_at_rpath
=no
10415 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
10416 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
10417 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
10418 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
10420 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
10421 enable_darwin_at_rpath
=yes
10423 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
10424 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
10431 archive_cmds_need_lc
=no
10433 hardcode_automatic
=yes
10434 hardcode_shlibpath_var
=unsupported
10435 if test "$lt_cv_ld_force_load" = "yes"; then
10436 whole_archive_flag_spec
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10438 whole_archive_flag_spec
=''
10440 link_all_deplibs
=yes
10441 allow_undefined_flag
="$_lt_dar_allow_undefined"
10442 case $cc_basename in
10443 ifort
*) _lt_dar_can_shared
=yes ;;
10444 *) _lt_dar_can_shared
=$GCC ;;
10446 if test "$_lt_dar_can_shared" = "yes"; then
10447 output_verbose_link_cmd
=func_echo_all
10448 _lt_install_name
='\$rpath/\$soname'
10449 if test "x$enable_darwin_at_rpath" = "xyes"; then
10450 _lt_install_name
='@rpath/\$soname'
10452 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
10453 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10454 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 ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
10455 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}"
10464 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10465 hardcode_libdir_flag_spec
='-L$libdir'
10466 hardcode_shlibpath_var
=no
10469 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10470 # support. Future versions do this automatically, but an explicit c++rt0.o
10471 # does not break anything, and helps significantly (at the cost of a little
10474 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10475 hardcode_libdir_flag_spec
='-R$libdir'
10476 hardcode_direct
=yes
10477 hardcode_shlibpath_var
=no
10480 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10482 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10483 hardcode_direct
=yes
10484 hardcode_minus_L
=yes
10485 hardcode_shlibpath_var
=no
10488 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10489 freebsd
* | dragonfly
*)
10490 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10491 hardcode_libdir_flag_spec
='-R$libdir'
10492 hardcode_direct
=yes
10493 hardcode_shlibpath_var
=no
10497 if test "$GCC" = yes; then
10498 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'
10500 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'
10502 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10503 hardcode_libdir_separator
=:
10504 hardcode_direct
=yes
10506 # hardcode_minus_L: Not really in the search PATH,
10507 # but as the default location of the library.
10508 hardcode_minus_L
=yes
10509 export_dynamic_flag_spec
='${wl}-E'
10513 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10514 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10516 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10518 if test "$with_gnu_ld" = no
; then
10519 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10520 hardcode_libdir_flag_spec_ld
='+b $libdir'
10521 hardcode_libdir_separator
=:
10522 hardcode_direct
=yes
10523 hardcode_direct_absolute
=yes
10524 export_dynamic_flag_spec
='${wl}-E'
10525 # hardcode_minus_L: Not really in the search PATH,
10526 # but as the default location of the library.
10527 hardcode_minus_L
=yes
10532 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
10535 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10538 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10547 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10550 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10554 # Older versions of the 11.00 compiler do not understand -b yet
10555 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10557 $as_echo_n "checking if $CC understands -b... " >&6; }
10558 if ${lt_cv_prog_compiler__b+:} false
; then :
10559 $as_echo_n "(cached) " >&6
10561 lt_cv_prog_compiler__b
=no
10562 save_LDFLAGS
="$LDFLAGS"
10563 LDFLAGS
="$LDFLAGS -b"
10564 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10565 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10566 # The linker can only warn and ignore the option if not recognized
10567 # So say no if there are warnings
10568 if test -s conftest.err
; then
10569 # Append any errors to the config.log.
10570 cat conftest.err
1>&5
10571 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10572 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10573 if diff conftest.exp conftest.er2
>/dev
/null
; then
10574 lt_cv_prog_compiler__b
=yes
10577 lt_cv_prog_compiler__b
=yes
10581 LDFLAGS
="$save_LDFLAGS"
10584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10585 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10587 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
10588 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10590 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10596 if test "$with_gnu_ld" = no
; then
10597 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
10598 hardcode_libdir_separator
=:
10603 hardcode_shlibpath_var
=no
10606 hardcode_direct
=yes
10607 hardcode_direct_absolute
=yes
10608 export_dynamic_flag_spec
='${wl}-E'
10610 # hardcode_minus_L: Not really in the search PATH,
10611 # but as the default location of the library.
10612 hardcode_minus_L
=yes
10618 irix5
* | irix6
* | nonstopux
*)
10619 if test "$GCC" = yes; then
10620 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10621 # Try to use the -exported_symbol ld option, if it does not
10622 # work, assume that -exports_file does not work either and
10623 # implicitly export all symbols.
10624 save_LDFLAGS
="$LDFLAGS"
10625 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10626 if test x
$gcc_no_link = xyes
; then
10627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10630 /* end confdefs.h. */
10633 if ac_fn_c_try_link
"$LINENO"; then :
10634 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10637 rm -f core conftest.err conftest.
$ac_objext \
10638 conftest
$ac_exeext conftest.
$ac_ext
10639 LDFLAGS
="$save_LDFLAGS"
10641 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10642 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10644 archive_cmds_need_lc
='no'
10645 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10646 hardcode_libdir_separator
=:
10648 link_all_deplibs
=yes
10652 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10653 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10655 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10657 hardcode_libdir_flag_spec
='-R$libdir'
10658 hardcode_direct
=yes
10659 hardcode_shlibpath_var
=no
10663 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10664 hardcode_direct
=yes
10665 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10666 hardcode_libdir_separator
=:
10667 hardcode_shlibpath_var
=no
10674 if test -f /usr
/libexec
/ld.so
; then
10675 hardcode_direct
=yes
10676 hardcode_shlibpath_var
=no
10677 hardcode_direct_absolute
=yes
10678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10679 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10680 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10681 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10682 export_dynamic_flag_spec
='${wl}-E'
10685 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
10686 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10687 hardcode_libdir_flag_spec
='-R$libdir'
10690 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10691 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10701 hardcode_libdir_flag_spec
='-L$libdir'
10702 hardcode_minus_L
=yes
10703 allow_undefined_flag
=unsupported
10704 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'
10705 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10709 if test "$GCC" = yes; then
10710 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10711 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10713 allow_undefined_flag
=' -expect_unresolved \*'
10714 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10716 archive_cmds_need_lc
='no'
10717 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10718 hardcode_libdir_separator
=:
10721 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
10722 if test "$GCC" = yes; then
10723 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
10724 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10725 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10727 allow_undefined_flag
=' -expect_unresolved \*'
10728 archive_cmds
='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10729 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~
10730 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10732 # Both c and cxx compiler support -rpath directly
10733 hardcode_libdir_flag_spec
='-rpath $libdir'
10735 archive_cmds_need_lc
='no'
10736 hardcode_libdir_separator
=:
10740 no_undefined_flag
=' -z defs'
10741 if test "$GCC" = yes; then
10743 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10744 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10745 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10747 case `$CC -V 2>&1` in
10750 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10751 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10752 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10756 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10757 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10758 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10762 hardcode_libdir_flag_spec
='-R$libdir'
10763 hardcode_shlibpath_var
=no
10765 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
10767 # The compiler driver will combine and reorder linker options,
10768 # but understands `-z linker_flag'. GCC discards it without `$wl',
10769 # but is careful enough not to reorder.
10770 # Supported since Solaris 2.6 (maybe 2.5.1?)
10771 if test "$GCC" = yes; then
10772 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10774 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
10778 link_all_deplibs
=yes
10782 if test "x$host_vendor" = xsequent
; then
10783 # Use $CC to link under sequent, because it throws in some extra .o
10784 # files that make .init and .fini sections work.
10785 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10787 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10789 hardcode_libdir_flag_spec
='-L$libdir'
10790 hardcode_direct
=yes
10791 hardcode_minus_L
=yes
10792 hardcode_shlibpath_var
=no
10796 case $host_vendor in
10798 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10799 hardcode_direct
=yes # is this really true???
10802 ## LD is ld it makes a PLAMLIB
10803 ## CC just makes a GrossModule.
10804 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10805 reload_cmds
='$CC -r -o $output$reload_objs'
10809 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10810 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
10813 runpath_var
='LD_RUN_PATH'
10814 hardcode_shlibpath_var
=no
10818 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10819 hardcode_shlibpath_var
=no
10820 export_dynamic_flag_spec
='-Bexport'
10824 if test -d /usr
/nec
; then
10825 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10826 hardcode_shlibpath_var
=no
10827 runpath_var
=LD_RUN_PATH
10828 hardcode_runpath_var
=yes
10833 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
10834 no_undefined_flag
='${wl}-z,text'
10835 archive_cmds_need_lc
=no
10836 hardcode_shlibpath_var
=no
10837 runpath_var
='LD_RUN_PATH'
10839 if test "$GCC" = yes; then
10840 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10841 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10843 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10844 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10848 sysv5
* | sco3.2v5
* | sco5v6
*)
10849 # Note: We can NOT use -z defs as we might desire, because we do not
10850 # link with -lc, and that would cause any symbols used from libc to
10851 # always be unresolved, which means just about no library would
10852 # ever link correctly. If we're not using GNU ld we use -z text
10853 # though, which does catch some bad symbols but isn't as heavy-handed
10855 no_undefined_flag
='${wl}-z,text'
10856 allow_undefined_flag
='${wl}-z,nodefs'
10857 archive_cmds_need_lc
=no
10858 hardcode_shlibpath_var
=no
10859 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
10860 hardcode_libdir_separator
=':'
10861 link_all_deplibs
=yes
10862 export_dynamic_flag_spec
='${wl}-Bexport'
10863 runpath_var
='LD_RUN_PATH'
10865 if test "$GCC" = yes; then
10866 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10867 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10869 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10870 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10875 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10876 hardcode_libdir_flag_spec
='-L$libdir'
10877 hardcode_shlibpath_var
=no
10885 if test x
$host_vendor = xsni
; then
10887 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
10888 export_dynamic_flag_spec
='${wl}-Blargedynsym'
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10895 $as_echo "$ld_shlibs" >&6; }
10896 test "$ld_shlibs" = no
&& can_build_shared
=no
10898 with_gnu_ld
=$with_gnu_ld
10915 # Do we need to explicitly link libc?
10917 case "x$archive_cmds_need_lc" in
10919 # Assume -lc should be added
10920 archive_cmds_need_lc
=yes
10922 if test "$enable_shared" = yes && test "$GCC" = yes; then
10923 case $archive_cmds in
10925 # FIXME: we may have to deal with multi-command sequences.
10928 # Test whether the compiler implicitly links with -lc since on some
10929 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10930 # to ld, don't add -lc before -lgcc.
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10932 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10933 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
10934 $as_echo_n "(cached) " >&6
10937 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10939 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10940 (eval $ac_compile) 2>&5
10942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10943 test $ac_status = 0; } 2>conftest.err
; then
10946 libobjs
=conftest.
$ac_objext
10948 wl
=$lt_prog_compiler_wl
10949 pic_flag
=$lt_prog_compiler_pic
10955 lt_save_allow_undefined_flag
=$allow_undefined_flag
10956 allow_undefined_flag
=
10957 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10958 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
10960 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10961 test $ac_status = 0; }
10963 lt_cv_archive_cmds_need_lc
=no
10965 lt_cv_archive_cmds_need_lc
=yes
10967 allow_undefined_flag
=$lt_save_allow_undefined_flag
10969 cat conftest.err
1>&5
10974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10975 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10976 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11140 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11142 if test "$GCC" = yes; then
11144 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11145 *) lt_awk_arg
="/^libraries:/" ;;
11148 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11149 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11151 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11152 case $lt_search_path_spec in
11154 # if the path contains ";" then we assume it to be the separator
11155 # otherwise default to the standard path separator (i.e. ":") - it is
11156 # assumed that no part of a normal pathname contains ";" but that should
11157 # okay in the real world where ";" in dirpaths is itself problematic.
11158 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11161 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11164 # Ok, now we have the path, separated by spaces, we can step through it
11165 # and add multilib dir if necessary.
11166 lt_tmp_lt_search_path_spec
=
11167 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11168 for lt_sys_path
in $lt_search_path_spec; do
11169 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11170 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11172 test -d "$lt_sys_path" && \
11173 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11176 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11177 BEGIN {RS=" "; FS="/|\n";} {
11180 for (lt_i = NF; lt_i > 0; lt_i--) {
11181 if ($lt_i != "" && $lt_i != ".") {
11182 if ($lt_i == "..") {
11185 if (lt_count == 0) {
11186 lt_foo="/" $lt_i lt_foo;
11193 if (lt_foo != "") { lt_freq[lt_foo]++; }
11194 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11196 # AWK program above erroneously prepends '/' to C:/dos/paths
11199 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11200 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11202 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11204 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11206 library_names_spec
=
11207 libname_spec
='lib$name'
11211 postuninstall_cmds
=
11215 shlibpath_overrides_runpath
=unknown
11217 dynamic_linker
="$host_os ld.so"
11218 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11219 need_lib_prefix
=unknown
11220 hardcode_into_libs
=no
11222 # when you set need_version to no, make sure it does not cause -set_version
11223 # flags to be left without arguments
11224 need_version
=unknown
11229 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11230 shlibpath_var
=LIBPATH
11232 # AIX 3 has no versioning support, so we append a major version to the name.
11233 soname_spec
='${libname}${release}${shared_ext}$major'
11240 hardcode_into_libs
=yes
11241 if test "$host_cpu" = ia64
; then
11242 # AIX 5 supports IA64
11243 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11244 shlibpath_var
=LD_LIBRARY_PATH
11246 # With GCC up to 2.95.x, collect2 would create an import file
11247 # for dependence libraries. The import file would start with
11248 # the line `#! .'. This would cause the generated library to
11249 # depend on `.', always an invalid library. This was fixed in
11250 # development snapshots of GCC prior to 3.0.
11252 aix4 | aix4.
[01] | aix4.
[01].
*)
11253 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11255 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11258 can_build_shared
=no
11262 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11263 # soname into executable. Probably we can add versioning support to
11264 # collect2, so additional links can be useful in future.
11265 if test "$aix_use_runtimelinking" = yes; then
11266 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11267 # instead of lib<name>.a to let people know that these are not
11268 # typical AIX shared libraries.
11269 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11271 # We preserve .a as extension for shared libraries through AIX4.2
11272 # and later when we are not doing run time linking.
11273 library_names_spec
='${libname}${release}.a $libname.a'
11274 soname_spec
='${libname}${release}${shared_ext}$major'
11276 shlibpath_var
=LIBPATH
11283 # Since July 2007 AmigaOS4 officially supports .so libraries.
11284 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11285 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11288 library_names_spec
='$libname.ixlibrary $libname.a'
11289 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11290 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
11296 library_names_spec
='${libname}${shared_ext}'
11297 dynamic_linker
="$host_os ld.so"
11298 shlibpath_var
=LIBRARY_PATH
11304 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11305 soname_spec
='${libname}${release}${shared_ext}$major'
11306 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11307 shlibpath_var
=LD_LIBRARY_PATH
11308 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11309 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11310 # the default ld.so.conf also contains /usr/contrib/lib and
11311 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11312 # libtool to hard-code these into programs
11315 cygwin
* | mingw
* | pw32
* | cegcc
*)
11316 version_type
=windows
11321 case $GCC,$host_os in
11322 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11323 library_names_spec
='$libname.dll.a'
11324 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11325 postinstall_cmds
='base_file=`basename \${file}`~
11326 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11327 dldir=$destdir/`dirname \$dlpath`~
11328 test -d \$dldir || mkdir -p \$dldir~
11329 $install_prog $dir/$dlname \$dldir/$dlname~
11330 chmod a+x \$dldir/$dlname~
11331 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11332 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11334 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11335 dlpath=$dir/\$dldll~
11337 shlibpath_overrides_runpath
=yes
11341 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11342 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11344 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11347 # MinGW DLLs use traditional 'lib' prefix
11348 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11351 # pw32 DLLs use 'pw' prefix rather than 'lib'
11352 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11358 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11361 dynamic_linker
='Win32 ld.exe'
11362 # FIXME: first we should search . and the directory the executable is in
11366 darwin
* | rhapsody
*)
11367 dynamic_linker
="$host_os dyld"
11368 version_type
=darwin
11371 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11372 soname_spec
='${libname}${release}${major}$shared_ext'
11373 shlibpath_overrides_runpath
=yes
11374 shlibpath_var
=DYLD_LIBRARY_PATH
11375 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11377 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11378 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11385 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11386 soname_spec
='${libname}${release}${shared_ext}$major'
11387 shlibpath_var
=LD_LIBRARY_PATH
11390 freebsd
* | dragonfly
*)
11391 # DragonFly does not have aout. When/if they implement a new
11392 # versioning mechanism, adjust this.
11393 if test -x /usr
/bin
/objformat
; then
11394 objformat
=`/usr/bin/objformat`
11397 freebsd
[23].
*) objformat
=aout
;;
11398 *) objformat
=elf
;;
11401 version_type
=freebsd-
$objformat
11402 case $version_type in
11404 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11409 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11413 shlibpath_var
=LD_LIBRARY_PATH
11416 shlibpath_overrides_runpath
=yes
11418 freebsd3.
[01]* | freebsdelf3.
[01]*)
11419 shlibpath_overrides_runpath
=yes
11420 hardcode_into_libs
=yes
11422 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11423 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11424 shlibpath_overrides_runpath
=no
11425 hardcode_into_libs
=yes
11427 *) # from 4.6 on, and DragonFly
11428 shlibpath_overrides_runpath
=yes
11429 hardcode_into_libs
=yes
11438 dynamic_linker
="$host_os runtime_loader"
11439 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11440 soname_spec
='${libname}${release}${shared_ext}$major'
11441 shlibpath_var
=LIBRARY_PATH
11442 shlibpath_overrides_runpath
=yes
11443 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11444 hardcode_into_libs
=yes
11447 hpux9
* | hpux10
* | hpux11
*)
11448 # Give a soname corresponding to the major version so that dld.sl refuses to
11449 # link against other versions.
11456 hardcode_into_libs
=yes
11457 dynamic_linker
="$host_os dld.so"
11458 shlibpath_var
=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11460 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11461 soname_spec
='${libname}${release}${shared_ext}$major'
11462 if test "X$HPUX_IA64_MODE" = X32
; then
11463 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11465 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11467 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11471 hardcode_into_libs
=yes
11472 dynamic_linker
="$host_os dld.sl"
11473 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11474 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11475 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11476 soname_spec
='${libname}${release}${shared_ext}$major'
11477 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11478 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11482 dynamic_linker
="$host_os dld.sl"
11483 shlibpath_var
=SHLIB_PATH
11484 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
11485 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec
='${libname}${release}${shared_ext}$major'
11489 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11490 postinstall_cmds
='chmod 555 $lib'
11491 # or fails outright, so override atomically:
11492 install_override_mode
=555
11499 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11500 soname_spec
='${libname}${release}${shared_ext}$major'
11501 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
11502 shlibpath_var
=LD_LIBRARY_PATH
11503 shlibpath_overrides_runpath
=no
11504 hardcode_into_libs
=yes
11507 irix5
* | irix6
* | nonstopux
*)
11509 nonstopux
*) version_type
=nonstopux
;;
11511 if test "$lt_cv_prog_gnu_ld" = yes; then
11519 soname_spec
='${libname}${release}${shared_ext}$major'
11520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11522 irix5
* | nonstopux
*)
11523 libsuff
= shlibsuff
=
11526 case $LD in # libtool.m4 will add one of these switches to LD
11527 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
11528 libsuff
= shlibsuff
= libmagic
=32-bit;;
11529 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
11530 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
11531 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
11532 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
11533 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
11537 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
11538 shlibpath_overrides_runpath
=no
11539 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11540 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
11541 hardcode_into_libs
=yes
11544 # No shared lib support for Linux oldld, aout, or coff.
11545 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
11549 # This must be Linux ELF.
11551 # uclinux* changes (here and below) have been submitted to the libtool
11552 # project, but have not yet been accepted: they are GCC-local changes
11553 # for the time being. (See
11554 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11555 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
11559 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11560 soname_spec
='${libname}${release}${shared_ext}$major'
11561 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11562 shlibpath_var
=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath
=no
11565 # Some binutils ld are patched to set DT_RUNPATH
11566 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
11567 $as_echo_n "(cached) " >&6
11569 lt_cv_shlibpath_overrides_runpath
=no
11570 save_LDFLAGS
=$LDFLAGS
11571 save_libdir
=$libdir
11572 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11573 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11574 if test x
$gcc_no_link = xyes
; then
11575 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11578 /* end confdefs.h. */
11588 if ac_fn_c_try_link
"$LINENO"; then :
11589 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
11590 lt_cv_shlibpath_overrides_runpath
=yes
11593 rm -f core conftest.err conftest.
$ac_objext \
11594 conftest
$ac_exeext conftest.
$ac_ext
11595 LDFLAGS
=$save_LDFLAGS
11596 libdir
=$save_libdir
11600 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
11602 # This implies no fast_install, which is unacceptable.
11603 # Some rework will be needed to allow for fast_install
11604 # before this can be enabled.
11605 hardcode_into_libs
=yes
11607 # Append ld.so.conf contents to the search path
11608 if test -f /etc
/ld.so.conf
; then
11609 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;s/"//g;/^$/d' | tr '\n' ' '`
11610 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
11613 # We used to test for /lib/ld.so.1 and disable shared libraries on
11614 # powerpc, because MkLinux only supported shared libraries with the
11615 # GNU dynamic linker. Since this was broken with cross compilers,
11616 # most powerpc-linux boxes support dynamic linking these days and
11617 # people can always --disable-shared, the test was removed, and we
11618 # assume the GNU/Linux dynamic linker is in use.
11619 dynamic_linker
='GNU/Linux ld.so'
11626 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11627 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11628 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11629 dynamic_linker
='NetBSD (a.out) ld.so'
11631 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11632 soname_spec
='${libname}${release}${shared_ext}$major'
11633 dynamic_linker
='NetBSD ld.elf_so'
11635 shlibpath_var
=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath
=yes
11637 hardcode_into_libs
=yes
11642 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11643 shlibpath_var
=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath
=yes
11651 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11652 soname_spec
='${libname}${release}${shared_ext}$major'
11653 shlibpath_var
=LD_LIBRARY_PATH
11654 shlibpath_overrides_runpath
=no
11655 hardcode_into_libs
=yes
11656 dynamic_linker
='ldqnx.so'
11661 sys_lib_dlsearch_path_spec
="/usr/lib"
11663 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11665 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
11666 *) need_version
=no
;;
11668 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11669 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11670 shlibpath_var
=LD_LIBRARY_PATH
11671 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11673 openbsd2.
[89] | openbsd2.
[89].
*)
11674 shlibpath_overrides_runpath
=no
11677 shlibpath_overrides_runpath
=yes
11681 shlibpath_overrides_runpath
=yes
11686 libname_spec
='$name'
11689 library_names_spec
='$libname${shared_ext} $libname.a'
11690 dynamic_linker
='OS/2 ld.exe'
11691 shlibpath_var
=LIBPATH
11694 osf3
* | osf4
* | osf5
*)
11698 soname_spec
='${libname}${release}${shared_ext}$major'
11699 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11700 shlibpath_var
=LD_LIBRARY_PATH
11701 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11702 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
11713 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11714 soname_spec
='${libname}${release}${shared_ext}$major'
11715 shlibpath_var
=LD_LIBRARY_PATH
11716 shlibpath_overrides_runpath
=yes
11717 hardcode_into_libs
=yes
11718 # ldd complains unless libraries are executable
11719 postinstall_cmds
='chmod +x $lib'
11724 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11725 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11726 shlibpath_var
=LD_LIBRARY_PATH
11727 shlibpath_overrides_runpath
=yes
11728 if test "$with_gnu_ld" = yes; then
11736 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11737 soname_spec
='${libname}${release}${shared_ext}$major'
11738 shlibpath_var
=LD_LIBRARY_PATH
11739 case $host_vendor in
11741 shlibpath_overrides_runpath
=no
11743 runpath_var
=LD_RUN_PATH
11751 shlibpath_overrides_runpath
=no
11752 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
11758 if test -d /usr
/nec
;then
11760 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11761 soname_spec
='$libname${shared_ext}.$major'
11762 shlibpath_var
=LD_LIBRARY_PATH
11766 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
11767 version_type
=freebsd-elf
11770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11771 soname_spec
='${libname}${release}${shared_ext}$major'
11772 shlibpath_var
=LD_LIBRARY_PATH
11773 shlibpath_overrides_runpath
=yes
11774 hardcode_into_libs
=yes
11775 if test "$with_gnu_ld" = yes; then
11776 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11778 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
11781 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
11785 sys_lib_dlsearch_path_spec
='/usr/lib'
11789 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11793 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11794 shlibpath_var
=LD_LIBRARY_PATH
11795 shlibpath_overrides_runpath
=no
11796 hardcode_into_libs
=yes
11801 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11802 soname_spec
='${libname}${release}${shared_ext}$major'
11803 shlibpath_var
=LD_LIBRARY_PATH
11806 # Shared libraries for VwWorks, >= 7 only at this stage
11807 # and (fpic) still incompatible with "large" code models
11808 # in a few configurations. Only for RTP mode in any case,
11809 # and upon explicit request at configure time.
11812 case ${with_multisubdir}-${enable_shared} in
11819 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11820 soname_spec
='${libname}${release}${shared_ext}$major'
11821 dynamic_linker
="$host_os module_loader"
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11830 $as_echo "$dynamic_linker" >&6; }
11831 test "$dynamic_linker" = no
&& can_build_shared
=no
11833 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
11834 if test "$GCC" = yes; then
11835 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11839 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
11841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11842 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11937 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11939 if test -n "$hardcode_libdir_flag_spec" ||
11940 test -n "$runpath_var" ||
11941 test "X$hardcode_automatic" = "Xyes" ; then
11943 # We can hardcode non-existent directories.
11944 if test "$hardcode_direct" != no
&&
11945 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11946 # have to relink, otherwise we might link with an installed library
11947 # when we should be linking with a yet-to-be-installed one
11948 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11949 test "$hardcode_minus_L" != no
; then
11950 # Linking always hardcodes the temporary library directory.
11951 hardcode_action
=relink
11953 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11954 hardcode_action
=immediate
11957 # We cannot hardcode anything, or else we can only hardcode existing
11959 hardcode_action
=unsupported
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11962 $as_echo "$hardcode_action" >&6; }
11964 if test "$hardcode_action" = relink ||
11965 test "$inherit_rpath" = yes; then
11966 # Fast installation is not supported
11967 enable_fast_install
=no
11968 elif test "$shlibpath_overrides_runpath" = yes ||
11969 test "$enable_shared" = no
; then
11970 # Fast installation is not necessary
11971 enable_fast_install
=needless
11979 if test "x$enable_dlopen" != xyes
; then
11980 enable_dlopen
=unknown
11981 enable_dlopen_self
=unknown
11982 enable_dlopen_self_static
=unknown
11989 lt_cv_dlopen
="load_add_on"
11991 lt_cv_dlopen_self
=yes
11994 mingw
* | pw32
* | cegcc
*)
11995 lt_cv_dlopen
="LoadLibrary"
12000 lt_cv_dlopen
="dlopen"
12005 # if libdl is installed we need to link against it
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12007 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12008 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12009 $as_echo_n "(cached) " >&6
12011 ac_check_lib_save_LIBS
=$LIBS
12013 if test x
$gcc_no_link = xyes
; then
12014 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12017 /* end confdefs.h. */
12019 /* Override any GCC internal prototype to avoid an error.
12020 Use char because int might match the return type of a GCC
12021 builtin and then its argument prototype would still apply. */
12034 if ac_fn_c_try_link
"$LINENO"; then :
12035 ac_cv_lib_dl_dlopen
=yes
12037 ac_cv_lib_dl_dlopen
=no
12039 rm -f core conftest.err conftest.
$ac_objext \
12040 conftest
$ac_exeext conftest.
$ac_ext
12041 LIBS
=$ac_check_lib_save_LIBS
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12044 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12045 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12046 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12049 lt_cv_dlopen
="dyld"
12051 lt_cv_dlopen_self
=yes
12058 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12059 if test "x$ac_cv_func_shl_load" = xyes
; then :
12060 lt_cv_dlopen
="shl_load"
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12063 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12064 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12065 $as_echo_n "(cached) " >&6
12067 ac_check_lib_save_LIBS
=$LIBS
12069 if test x
$gcc_no_link = xyes
; then
12070 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 /* Override any GCC internal prototype to avoid an error.
12076 Use char because int might match the return type of a GCC
12077 builtin and then its argument prototype would still apply. */
12085 return shl_load ();
12090 if ac_fn_c_try_link
"$LINENO"; then :
12091 ac_cv_lib_dld_shl_load
=yes
12093 ac_cv_lib_dld_shl_load
=no
12095 rm -f core conftest.err conftest.
$ac_objext \
12096 conftest
$ac_exeext conftest.
$ac_ext
12097 LIBS
=$ac_check_lib_save_LIBS
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12100 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12101 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12102 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12104 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12105 if test "x$ac_cv_func_dlopen" = xyes
; then :
12106 lt_cv_dlopen
="dlopen"
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12109 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12110 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12111 $as_echo_n "(cached) " >&6
12113 ac_check_lib_save_LIBS
=$LIBS
12115 if test x
$gcc_no_link = xyes
; then
12116 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12121 /* Override any GCC internal prototype to avoid an error.
12122 Use char because int might match the return type of a GCC
12123 builtin and then its argument prototype would still apply. */
12136 if ac_fn_c_try_link
"$LINENO"; then :
12137 ac_cv_lib_dl_dlopen
=yes
12139 ac_cv_lib_dl_dlopen
=no
12141 rm -f core conftest.err conftest.
$ac_objext \
12142 conftest
$ac_exeext conftest.
$ac_ext
12143 LIBS
=$ac_check_lib_save_LIBS
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12146 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12147 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12148 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12151 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12152 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12153 $as_echo_n "(cached) " >&6
12155 ac_check_lib_save_LIBS
=$LIBS
12156 LIBS
="-lsvld $LIBS"
12157 if test x
$gcc_no_link = xyes
; then
12158 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12161 /* end confdefs.h. */
12163 /* Override any GCC internal prototype to avoid an error.
12164 Use char because int might match the return type of a GCC
12165 builtin and then its argument prototype would still apply. */
12178 if ac_fn_c_try_link
"$LINENO"; then :
12179 ac_cv_lib_svld_dlopen
=yes
12181 ac_cv_lib_svld_dlopen
=no
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 LIBS
=$ac_check_lib_save_LIBS
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12188 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12189 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12190 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12193 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12194 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 ac_check_lib_save_LIBS
=$LIBS
12199 if test x
$gcc_no_link = xyes
; then
12200 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12203 /* end confdefs.h. */
12205 /* Override any GCC internal prototype to avoid an error.
12206 Use char because int might match the return type of a GCC
12207 builtin and then its argument prototype would still apply. */
12215 return dld_link ();
12220 if ac_fn_c_try_link
"$LINENO"; then :
12221 ac_cv_lib_dld_dld_link
=yes
12223 ac_cv_lib_dld_dld_link
=no
12225 rm -f core conftest.err conftest.
$ac_objext \
12226 conftest
$ac_exeext conftest.
$ac_ext
12227 LIBS
=$ac_check_lib_save_LIBS
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12230 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12231 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12232 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12253 if test "x$lt_cv_dlopen" != xno
; then
12259 case $lt_cv_dlopen in
12261 save_CPPFLAGS
="$CPPFLAGS"
12262 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12264 save_LDFLAGS
="$LDFLAGS"
12265 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12268 LIBS
="$lt_cv_dlopen_libs $LIBS"
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12271 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12272 if ${lt_cv_dlopen_self+:} false
; then :
12273 $as_echo_n "(cached) " >&6
12275 if test "$cross_compiling" = yes; then :
12276 lt_cv_dlopen_self
=cross
12278 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12279 lt_status
=$lt_dlunknown
12280 cat > conftest.
$ac_ext <<_LT_EOF
12281 #line 12281 "configure"
12282 #include "confdefs.h"
12291 # define LT_DLGLOBAL RTLD_GLOBAL
12294 # define LT_DLGLOBAL DL_GLOBAL
12296 # define LT_DLGLOBAL 0
12300 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12301 find out it does not work in some platform. */
12302 #ifndef LT_DLLAZY_OR_NOW
12304 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12307 # define LT_DLLAZY_OR_NOW DL_LAZY
12310 # define LT_DLLAZY_OR_NOW RTLD_NOW
12313 # define LT_DLLAZY_OR_NOW DL_NOW
12315 # define LT_DLLAZY_OR_NOW 0
12322 /* When -fvisbility=hidden is used, assume the code has been annotated
12323 correspondingly for the symbols needed. */
12324 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12325 void fnord () __attribute__((visibility("default")));
12328 void fnord () { int i=42; }
12331 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12332 int status = $lt_dlunknown;
12336 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12339 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12340 else puts (dlerror ());
12342 /* dlclose (self); */
12350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12351 (eval $ac_link) 2>&5
12353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12354 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12355 (.
/conftest
; exit; ) >&5 2>/dev
/null
12357 case x
$lt_status in
12358 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12359 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12360 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12363 # compilation failed
12364 lt_cv_dlopen_self
=no
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12372 $as_echo "$lt_cv_dlopen_self" >&6; }
12374 if test "x$lt_cv_dlopen_self" = xyes
; then
12375 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12377 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12378 if ${lt_cv_dlopen_self_static+:} false
; then :
12379 $as_echo_n "(cached) " >&6
12381 if test "$cross_compiling" = yes; then :
12382 lt_cv_dlopen_self_static
=cross
12384 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12385 lt_status
=$lt_dlunknown
12386 cat > conftest.
$ac_ext <<_LT_EOF
12387 #line 12387 "configure"
12388 #include "confdefs.h"
12397 # define LT_DLGLOBAL RTLD_GLOBAL
12400 # define LT_DLGLOBAL DL_GLOBAL
12402 # define LT_DLGLOBAL 0
12406 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12407 find out it does not work in some platform. */
12408 #ifndef LT_DLLAZY_OR_NOW
12410 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12413 # define LT_DLLAZY_OR_NOW DL_LAZY
12416 # define LT_DLLAZY_OR_NOW RTLD_NOW
12419 # define LT_DLLAZY_OR_NOW DL_NOW
12421 # define LT_DLLAZY_OR_NOW 0
12428 /* When -fvisbility=hidden is used, assume the code has been annotated
12429 correspondingly for the symbols needed. */
12430 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12431 void fnord () __attribute__((visibility("default")));
12434 void fnord () { int i=42; }
12437 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12438 int status = $lt_dlunknown;
12442 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12445 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12446 else puts (dlerror ());
12448 /* dlclose (self); */
12456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12457 (eval $ac_link) 2>&5
12459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12460 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12461 (.
/conftest
; exit; ) >&5 2>/dev
/null
12463 case x
$lt_status in
12464 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12465 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12466 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12469 # compilation failed
12470 lt_cv_dlopen_self_static
=no
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12478 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12481 CPPFLAGS
="$save_CPPFLAGS"
12482 LDFLAGS
="$save_LDFLAGS"
12487 case $lt_cv_dlopen_self in
12488 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
12489 *) enable_dlopen_self
=unknown
;;
12492 case $lt_cv_dlopen_self_static in
12493 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
12494 *) enable_dlopen_self_static
=unknown
;;
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12517 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12518 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
12519 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
12520 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12522 $as_echo "yes" >&6; }
12524 # FIXME - insert some real tests, host_os isn't really good enough
12527 if test -n "$STRIP" ; then
12528 striplib
="$STRIP -x"
12529 old_striplib
="$STRIP -S"
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12531 $as_echo "yes" >&6; }
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12534 $as_echo "no" >&6; }
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12539 $as_echo "no" >&6; }
12555 # Report which library types will actually be built
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12557 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12559 $as_echo "$can_build_shared" >&6; }
12561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12562 $as_echo_n "checking whether to build shared libraries... " >&6; }
12563 test "$can_build_shared" = "no" && enable_shared
=no
12565 # On AIX, shared libraries and static libraries use the same namespace, and
12566 # are all built from PIC.
12569 test "$enable_shared" = yes && enable_static
=no
12570 if test -n "$RANLIB"; then
12571 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
12572 postinstall_cmds
='$RANLIB $lib'
12577 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
12578 test "$enable_shared" = yes && enable_static
=no
12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12583 $as_echo "$enable_shared" >&6; }
12585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12586 $as_echo_n "checking whether to build static libraries... " >&6; }
12587 # Make sure either enable_shared or enable_static is yes.
12588 test "$enable_shared" = yes || enable_static
=yes
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12590 $as_echo "$enable_static" >&6; }
12597 ac_cpp
='$CPP $CPPFLAGS'
12598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12604 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12605 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12606 (test "X$CXX" != "Xg++"))) ; then
12608 ac_cpp
='$CXXCPP $CPPFLAGS'
12609 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12610 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12611 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12613 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12614 if test -z "$CXXCPP"; then
12615 if ${ac_cv_prog_CXXCPP+:} false
; then :
12616 $as_echo_n "(cached) " >&6
12618 # Double quotes because CXXCPP needs to be expanded
12619 for CXXCPP
in "$CXX -E" "/lib/cpp"
12621 ac_preproc_ok
=false
12622 for ac_cxx_preproc_warn_flag
in '' yes
12624 # Use a header file that comes with gcc, so configuring glibc
12625 # with a fresh cross-compiler works.
12626 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12627 # <limits.h> exists even on freestanding compilers.
12628 # On the NeXT, cc -E runs the code through the compiler's parser,
12629 # not just through cpp. "Syntax error" is here to catch this case.
12630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12631 /* end confdefs.h. */
12633 # include <limits.h>
12635 # include <assert.h>
12639 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12642 # Broken: fails on valid input.
12645 rm -f conftest.err conftest.i conftest.
$ac_ext
12647 # OK, works on sane cases. Now check whether nonexistent headers
12648 # can be detected and how.
12649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12650 /* end confdefs.h. */
12651 #include <ac_nonexistent.h>
12653 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12654 # Broken: success on invalid input.
12657 # Passes both tests.
12661 rm -f conftest.err conftest.i conftest.
$ac_ext
12664 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12665 rm -f conftest.i conftest.err conftest.
$ac_ext
12666 if $ac_preproc_ok; then :
12671 ac_cv_prog_CXXCPP
=$CXXCPP
12674 CXXCPP
=$ac_cv_prog_CXXCPP
12676 ac_cv_prog_CXXCPP
=$CXXCPP
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12679 $as_echo "$CXXCPP" >&6; }
12680 ac_preproc_ok
=false
12681 for ac_cxx_preproc_warn_flag
in '' yes
12683 # Use a header file that comes with gcc, so configuring glibc
12684 # with a fresh cross-compiler works.
12685 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12686 # <limits.h> exists even on freestanding compilers.
12687 # On the NeXT, cc -E runs the code through the compiler's parser,
12688 # not just through cpp. "Syntax error" is here to catch this case.
12689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12690 /* end confdefs.h. */
12692 # include <limits.h>
12694 # include <assert.h>
12698 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12701 # Broken: fails on valid input.
12704 rm -f conftest.err conftest.i conftest.
$ac_ext
12706 # OK, works on sane cases. Now check whether nonexistent headers
12707 # can be detected and how.
12708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12709 /* end confdefs.h. */
12710 #include <ac_nonexistent.h>
12712 if ac_fn_cxx_try_cpp
"$LINENO"; then :
12713 # Broken: success on invalid input.
12716 # Passes both tests.
12720 rm -f conftest.err conftest.i conftest.
$ac_ext
12723 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12724 rm -f conftest.i conftest.err conftest.
$ac_ext
12725 if $ac_preproc_ok; then :
12728 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12730 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
12731 See \`config.log' for more details" "$LINENO" 5; }
12735 ac_cpp
='$CPP $CPPFLAGS'
12736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
12741 _lt_caught_CXX_error
=yes
12745 ac_cpp
='$CXXCPP $CPPFLAGS'
12746 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12747 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12748 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
12750 archive_cmds_need_lc_CXX
=no
12751 allow_undefined_flag_CXX
=
12752 always_export_symbols_CXX
=no
12753 archive_expsym_cmds_CXX
=
12754 compiler_needs_object_CXX
=no
12755 export_dynamic_flag_spec_CXX
=
12756 hardcode_direct_CXX
=no
12757 hardcode_direct_absolute_CXX
=no
12758 hardcode_libdir_flag_spec_CXX
=
12759 hardcode_libdir_flag_spec_ld_CXX
=
12760 hardcode_libdir_separator_CXX
=
12761 hardcode_minus_L_CXX
=no
12762 hardcode_shlibpath_var_CXX
=unsupported
12763 hardcode_automatic_CXX
=no
12764 inherit_rpath_CXX
=no
12766 module_expsym_cmds_CXX
=
12767 link_all_deplibs_CXX
=unknown
12768 old_archive_cmds_CXX
=$old_archive_cmds
12769 reload_flag_CXX
=$reload_flag
12770 reload_cmds_CXX
=$reload_cmds
12771 no_undefined_flag_CXX
=
12772 whole_archive_flag_spec_CXX
=
12773 enable_shared_with_static_runtimes_CXX
=no
12775 # Source file extension for C++ test sources.
12778 # Object file extension for compiled C++ test sources.
12782 # No sense in running all these tests if we already determined that
12783 # the CXX compiler isn't working. Some variables (like enable_shared)
12784 # are currently assumed to apply to all compilers on this platform,
12785 # and will be corrupted by setting them based on a non-working compiler.
12786 if test "$_lt_caught_CXX_error" != yes; then
12787 # Code to be used in simple compile tests
12788 lt_simple_compile_test_code
="int some_variable = 0;"
12790 # Code to be used in simple link tests
12791 lt_simple_link_test_code
='int main(int, char *[]) { return(0); }'
12793 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12800 # If no C compiler was specified, use CC.
12803 # If no C compiler flags were specified, use CFLAGS.
12804 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
12806 # Allow CC to be a program name with arguments.
12810 # save warnings/boilerplate of simple test code
12811 ac_outfile
=conftest.
$ac_objext
12812 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
12813 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12814 _lt_compiler_boilerplate
=`cat conftest.err`
12817 ac_outfile
=conftest.
$ac_objext
12818 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
12819 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
12820 _lt_linker_boilerplate
=`cat conftest.err`
12824 # Allow CC to be a program name with arguments.
12829 lt_save_with_gnu_ld
=$with_gnu_ld
12830 lt_save_path_LD
=$lt_cv_path_LD
12831 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12832 lt_cv_prog_gnu_ld
=$lt_cv_prog_gnu_ldcxx
12834 $as_unset lt_cv_prog_gnu_ld
12836 if test -n "${lt_cv_path_LDCXX+set}"; then
12837 lt_cv_path_LD
=$lt_cv_path_LDCXX
12839 $as_unset lt_cv_path_LD
12841 test -z "${LDCXX+set}" || LD
=$LDCXX
12845 for cc_temp
in $compiler""; do
12847 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
12848 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
12853 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12856 if test -n "$compiler"; then
12857 # We don't want -fno-exception when compiling C++ code, so set the
12858 # no_builtin_flag separately
12859 if test "$GXX" = yes; then
12860 lt_prog_compiler_no_builtin_flag_CXX
=' -fno-builtin'
12862 lt_prog_compiler_no_builtin_flag_CXX
=
12865 if test "$GXX" = yes; then
12866 # Set up default GNU C++ configuration
12870 # Check whether --with-gnu-ld was given.
12871 if test "${with_gnu_ld+set}" = set; then :
12872 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
12878 if test "$GCC" = yes; then
12879 # Check if gcc -print-prog-name=ld gives a path.
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12881 $as_echo_n "checking for ld used by $CC... " >&6; }
12884 # gcc leaves a trailing carriage return which upsets mingw
12885 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12887 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
12890 # Accept absolute paths.
12892 re_direlt
='/[^/][^/]*/\.\./'
12893 # Canonicalize the pathname of ld
12894 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12895 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
12896 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12898 test -z "$LD" && LD
="$ac_prog"
12901 # If it fails, then pretend we aren't using GCC.
12905 # If it is relative, then search for the first ld in PATH.
12906 with_gnu_ld
=unknown
12909 elif test "$with_gnu_ld" = yes; then
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12911 $as_echo_n "checking for GNU ld... " >&6; }
12913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12914 $as_echo_n "checking for non-GNU ld... " >&6; }
12916 if ${lt_cv_path_LD+:} false
; then :
12917 $as_echo_n "(cached) " >&6
12919 if test -z "$LD"; then
12920 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
12921 for ac_dir
in $PATH; do
12923 test -z "$ac_dir" && ac_dir
=.
12924 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
12925 lt_cv_path_LD
="$ac_dir/$ac_prog"
12926 # Check to see if the program is GNU ld. I'd rather use --version,
12927 # but apparently some variants of GNU ld only accept -v.
12928 # Break only if it was the GNU/non-GNU ld that we prefer.
12929 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12930 *GNU
* |
*'with BFD'*)
12931 test "$with_gnu_ld" != no
&& break
12934 test "$with_gnu_ld" != yes && break
12941 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
12945 LD
="$lt_cv_path_LD"
12946 if test -n "$LD"; then
12947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12948 $as_echo "$LD" >&6; }
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12951 $as_echo "no" >&6; }
12953 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12955 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12956 if ${lt_cv_prog_gnu_ld+:} false
; then :
12957 $as_echo_n "(cached) " >&6
12959 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12960 case `$LD -v 2>&1 </dev/null` in
12961 *GNU
* |
*'with BFD'*)
12962 lt_cv_prog_gnu_ld
=yes
12965 lt_cv_prog_gnu_ld
=no
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12970 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12971 with_gnu_ld
=$lt_cv_prog_gnu_ld
12979 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12980 # archiving commands below assume that GNU ld is being used.
12981 if test "$with_gnu_ld" = yes; then
12982 archive_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12983 archive_expsym_cmds_CXX
='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12985 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
12986 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
12988 # If archive_cmds runs LD, not CC, wlarc should be empty
12989 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12990 # investigate it a little bit more. (MM)
12993 # ancient GNU ld didn't support --whole-archive et. al.
12994 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12995 $GREP 'no-whole-archive' > /dev
/null
; then
12996 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12998 whole_archive_flag_spec_CXX
=
13004 # A generic and very simple default shared library creation
13005 # command for GNU C++ for the case where it uses the native
13006 # linker, instead of GNU ld. If possible, this setting should
13007 # overridden to take advantage of the native linker features on
13008 # the platform it is being used on.
13009 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13012 # Commands to make compiler produce verbose output that lists
13013 # what "hidden" libraries, object files and flags are used when
13014 # linking a shared library.
13015 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13023 # PORTME: fill in a description of your system's C++ link characteristics
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13025 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13029 # FIXME: insert proper C++ library support
13033 if test "$host_cpu" = ia64
; then
13034 # On IA64, the linker does run time linking by default, so we don't
13035 # have to do anything special.
13036 aix_use_runtimelinking
=no
13037 exp_sym_flag
='-Bexport'
13040 aix_use_runtimelinking
=no
13042 # Test if we are trying to use run time linking or normal
13043 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13044 # need to do runtime linking.
13045 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
13046 for ld_flag
in $LDFLAGS; do
13049 aix_use_runtimelinking
=yes
13057 exp_sym_flag
='-bexport'
13058 no_entry_flag
='-bnoentry'
13061 # When large executables or shared objects are built, AIX ld can
13062 # have problems creating the table of contents. If linking a library
13063 # or program results in "error TOC overflow" add -mminimal-toc to
13064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13067 archive_cmds_CXX
=''
13068 hardcode_direct_CXX
=yes
13069 hardcode_direct_absolute_CXX
=yes
13070 hardcode_libdir_separator_CXX
=':'
13071 link_all_deplibs_CXX
=yes
13072 file_list_spec_CXX
='${wl}-f,'
13074 if test "$GXX" = yes; then
13075 case $host_os in aix4.
[012]|aix4.
[012].
*)
13076 # We only want to do this on AIX 4.2 and lower, the check
13077 # below for broken collect2 doesn't work under 4.3+
13078 collect2name
=`${CC} -print-prog-name=collect2`
13079 if test -f "$collect2name" &&
13080 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
13082 # We have reworked collect2
13085 # We have old collect2
13086 hardcode_direct_CXX
=unsupported
13087 # It fails to find uninstalled libraries when the uninstalled
13088 # path is not listed in the libpath. Setting hardcode_minus_L
13089 # to unsupported forces relinking
13090 hardcode_minus_L_CXX
=yes
13091 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13092 hardcode_libdir_separator_CXX
=
13095 shared_flag
='-shared'
13096 if test "$aix_use_runtimelinking" = yes; then
13097 shared_flag
="$shared_flag "'${wl}-G'
13101 if test "$host_cpu" = ia64
; then
13102 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13103 # chokes on -Wl,-G. The following line is correct:
13106 if test "$aix_use_runtimelinking" = yes; then
13107 shared_flag
='${wl}-G'
13109 shared_flag
='${wl}-bM:SRE'
13114 export_dynamic_flag_spec_CXX
='${wl}-bexpall'
13115 # It seems that -bexpall does not export symbols beginning with
13116 # underscore (_), so it is better to generate a list of symbols to
13118 always_export_symbols_CXX
=yes
13119 if test "$aix_use_runtimelinking" = yes; then
13120 # Warning - without using the other runtime loading flags (-brtl),
13121 # -berok will link without error, but may produce a broken library.
13122 allow_undefined_flag_CXX
='-berok'
13123 # Determine the default libpath from the value encoded in an empty
13125 if test x
$gcc_no_link = xyes
; then
13126 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13129 /* end confdefs.h. */
13139 if ac_fn_cxx_try_link
"$LINENO"; then :
13141 lt_aix_libpath_sed
='
13142 /Import File Strings/,/^$/ {
13148 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13149 # Check for a 64-bit object if we didn't find anything.
13150 if test -z "$aix_libpath"; then
13151 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13154 rm -f core conftest.err conftest.
$ac_objext \
13155 conftest
$ac_exeext conftest.
$ac_ext
13156 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13158 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13160 archive_expsym_cmds_CXX
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
13162 if test "$host_cpu" = ia64
; then
13163 hardcode_libdir_flag_spec_CXX
='${wl}-R $libdir:/usr/lib:/lib'
13164 allow_undefined_flag_CXX
="-z nodefs"
13165 archive_expsym_cmds_CXX
="\$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"
13167 # Determine the default libpath from the value encoded in an
13168 # empty executable.
13169 if test x
$gcc_no_link = xyes
; then
13170 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13173 /* end confdefs.h. */
13183 if ac_fn_cxx_try_link
"$LINENO"; then :
13185 lt_aix_libpath_sed
='
13186 /Import File Strings/,/^$/ {
13192 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13193 # Check for a 64-bit object if we didn't find anything.
13194 if test -z "$aix_libpath"; then
13195 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13198 rm -f core conftest.err conftest.
$ac_objext \
13199 conftest
$ac_exeext conftest.
$ac_ext
13200 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
13202 hardcode_libdir_flag_spec_CXX
='${wl}-blibpath:$libdir:'"$aix_libpath"
13203 # Warning - without using the other run time loading flags,
13204 # -berok will link without error, but may produce a broken library.
13205 no_undefined_flag_CXX
=' ${wl}-bernotok'
13206 allow_undefined_flag_CXX
=' ${wl}-berok'
13207 if test "$with_gnu_ld" = yes; then
13208 # We only use this code for GNU lds that support --whole-archive.
13209 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13211 # Exported symbols can be pulled into shared objects from archives
13212 whole_archive_flag_spec_CXX
='$convenience'
13214 archive_cmds_need_lc_CXX
=yes
13215 # This is similar to how AIX traditionally builds its shared
13217 archive_expsym_cmds_CXX
="\$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'
13223 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
13224 allow_undefined_flag_CXX
=unsupported
13225 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13226 # support --undefined. This deserves some investigation. FIXME
13227 archive_cmds_CXX
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13234 case $cc_basename in
13236 # FIXME: insert proper C++ library support
13242 cygwin
* | mingw
* | pw32
* | cegcc
*)
13243 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13244 # as there is no search path for DLLs.
13245 hardcode_libdir_flag_spec_CXX
='-L$libdir'
13246 export_dynamic_flag_spec_CXX
='${wl}--export-all-symbols'
13247 allow_undefined_flag_CXX
=unsupported
13248 always_export_symbols_CXX
=no
13249 enable_shared_with_static_runtimes_CXX
=yes
13251 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
13252 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13253 # If the export-symbols file already is a .def file (1st line
13254 # is EXPORTS), use it as is; otherwise, prepend...
13255 archive_expsym_cmds_CXX
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13256 cp $export_symbols $output_objdir/$soname.def;
13258 echo EXPORTS > $output_objdir/$soname.def;
13259 cat $export_symbols >> $output_objdir/$soname.def;
13261 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13266 darwin
* | rhapsody
*)
13270 # Publish an arg to allow the user to select that Darwin host (and target)
13271 # libraries should be given install-names like @rpath/libfoo.dylib. This
13272 # requires that the user of the library then adds an 'rpath' to the DSO that
13274 # NOTE: there are defaults below, for systems that support rpaths. The person
13275 # configuring can override the defaults for any system version that supports
13276 # them - they are, however, forced off for system versions without support.
13277 # Check whether --enable-darwin-at-rpath was given.
13278 if test "${enable_darwin_at_rpath+set}" = set; then :
13279 enableval
=$enable_darwin_at_rpath; if test "x$enable_darwin_at_rpath" = "xyes"; then
13280 # This is not supported before macOS 10.5 / Darwin9.
13281 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13282 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&5
13284 $as_echo "$as_me: WARNING: Darwin @rpath library names are incompatible with OSX versions earlier than 10.5 (rpaths disabled)" >&2;}
13285 enable_darwin_at_rpath
=no
13290 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host_os in
13291 # As above, before 10.5 / Darwin9 this does not work.
13292 UNSET
,darwin
[4-8]*|UNSET
,rhapsody
*|
10.
[0-4][,.
]*)
13293 enable_darwin_at_rpath
=no
13296 # We cannot build and test reliably on macOS 10.11+ (Darwin15+) without use
13297 # of rpaths, since runpaths set via DYLD_LIBRARY_PATH are elided by key
13298 # system executables (e.g. /bin/sh). Force rpaths on for these systems.
13299 UNSET
,darwin1
[5-9]*|UNSET
,darwin2
*|
10.1[1-9][,.
]*|
1[1-9].
*[,.
]* )
13300 { $as_echo "$as_me:${as_lineno-$LINENO}: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&5
13301 $as_echo "$as_me: @rpath library names are needed on macOS versions later than 10.11 (rpaths have been enabled)" >&6;}
13302 enable_darwin_at_rpath
=yes
13304 # NOTE: we are not (yet) doing anything for 10.5 .. 10.10, since they can
13305 # work with either DYLD_LIBRARY_PATH or embedded rpaths.
13312 archive_cmds_need_lc_CXX
=no
13313 hardcode_direct_CXX
=no
13314 hardcode_automatic_CXX
=yes
13315 hardcode_shlibpath_var_CXX
=unsupported
13316 if test "$lt_cv_ld_force_load" = "yes"; then
13317 whole_archive_flag_spec_CXX
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
13319 whole_archive_flag_spec_CXX
=''
13321 link_all_deplibs_CXX
=yes
13322 allow_undefined_flag_CXX
="$_lt_dar_allow_undefined"
13323 case $cc_basename in
13324 ifort
*) _lt_dar_can_shared
=yes ;;
13325 *) _lt_dar_can_shared
=$GCC ;;
13327 if test "$_lt_dar_can_shared" = "yes"; then
13328 output_verbose_link_cmd
=func_echo_all
13329 _lt_install_name
='\$rpath/\$soname'
13330 if test "x$enable_darwin_at_rpath" = "xyes"; then
13331 _lt_install_name
='@rpath/\$soname'
13333 archive_cmds_CXX
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dsymutil}"
13334 module_cmds_CXX
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13335 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring ${_lt_dar_export_syms}${_lt_dsymutil}"
13336 module_expsym_cmds_CXX
="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}"
13337 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13338 _lt_install_name
='\$rpath/\$soname'
13339 if test "x$enable_darwin_at_rpath" = "xyes"; then
13340 _lt_install_name
='@rpath/\$soname'
13342 archive_cmds_CXX
="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name ${_lt_install_name} \$verstring${_lt_dsymutil}"
13343 archive_expsym_cmds_CXX
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
13353 case $cc_basename in
13355 # FIXME: insert proper C++ library support
13359 # Green Hills C++ Compiler
13360 # FIXME: insert proper C++ library support
13364 # FIXME: insert proper C++ library support
13371 # C++ shared libraries reported to be fairly broken before
13377 archive_cmds_need_lc_CXX
=no
13380 freebsd
* | dragonfly
*)
13381 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13390 archive_cmds_CXX
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13391 link_all_deplibs_CXX
=yes
13395 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13396 hardcode_libdir_separator_CXX
=:
13397 export_dynamic_flag_spec_CXX
='${wl}-E'
13398 hardcode_direct_CXX
=yes
13399 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13400 # but as the default
13401 # location of the library.
13403 case $cc_basename in
13405 # FIXME: insert proper C++ library support
13409 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13410 # Commands to make compiler produce verbose output that lists
13411 # what "hidden" libraries, object files and flags are used when
13412 # linking a shared library.
13414 # There doesn't appear to be a way to prevent this compiler from
13415 # explicitly linking system object files so we need to strip them
13416 # from the output so that they don't get included in the library
13418 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13421 if test "$GXX" = yes; then
13422 archive_cmds_CXX
='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
13424 # FIXME: insert proper C++ library support
13432 if test $with_gnu_ld = no
; then
13433 hardcode_libdir_flag_spec_CXX
='${wl}+b ${wl}$libdir'
13434 hardcode_libdir_separator_CXX
=:
13440 export_dynamic_flag_spec_CXX
='${wl}-E'
13446 hardcode_direct_CXX
=no
13447 hardcode_shlibpath_var_CXX
=no
13450 hardcode_direct_CXX
=yes
13451 hardcode_direct_absolute_CXX
=yes
13452 hardcode_minus_L_CXX
=yes # Not in the search PATH,
13453 # but as the default
13454 # location of the library.
13458 case $cc_basename in
13460 # FIXME: insert proper C++ library support
13466 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13469 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 archive_cmds_CXX
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13475 # Commands to make compiler produce verbose output that lists
13476 # what "hidden" libraries, object files and flags are used when
13477 # linking a shared library.
13479 # There doesn't appear to be a way to prevent this compiler from
13480 # explicitly linking system object files so we need to strip them
13481 # from the output so that they don't get included in the library
13483 output_verbose_link_cmd
='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13486 if test "$GXX" = yes; then
13487 if test $with_gnu_ld = no
; then
13490 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13493 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13496 archive_cmds_CXX
='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13501 # FIXME: insert proper C++ library support
13509 hardcode_direct_CXX
=no
13510 hardcode_shlibpath_var_CXX
=no
13511 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13512 export_dynamic_flag_spec_CXX
='${wl}-E'
13513 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13514 # Instead, shared libraries are loaded at an image base (0x10000000 by
13515 # default) and relocated if they conflict, which is a slow very memory
13516 # consuming and fragmenting process. To avoid this, we pick a random,
13517 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13518 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13519 archive_cmds_CXX
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
13520 archive_expsym_cmds_CXX
='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'
13523 case $cc_basename in
13526 archive_cmds_CXX
='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13528 # Archives containing C++ object files must be created using
13529 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13530 # necessary to make sure instantiated templates are included
13532 old_archive_cmds_CXX
='$CC -ar -WR,-u -o $oldlib $oldobjs'
13535 if test "$GXX" = yes; then
13536 if test "$with_gnu_ld" = no
; then
13537 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13539 archive_cmds_CXX
='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
13542 link_all_deplibs_CXX
=yes
13545 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13546 hardcode_libdir_separator_CXX
=:
13547 inherit_rpath_CXX
=yes
13550 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13551 case $cc_basename in
13553 # Kuck and Associates, Inc. (KAI) C++ Compiler
13555 # KCC will only create a shared library if the output file
13556 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13557 # to its proper name (with version) after linking.
13558 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13559 archive_expsym_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
13560 # Commands to make compiler produce verbose output that lists
13561 # what "hidden" libraries, object files and flags are used when
13562 # linking a shared library.
13564 # There doesn't appear to be a way to prevent this compiler from
13565 # explicitly linking system object files so we need to strip them
13566 # from the output so that they don't get included in the library
13568 output_verbose_link_cmd
='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13570 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13571 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13573 # Archives containing C++ object files must be created using
13574 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13575 old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs'
13580 # version 8.0 and above of icpc choke on multiply defined symbols
13581 # if we add $predep_objects and $postdep_objects, however 7.1 and
13582 # earlier do not add the objects themselves.
13583 case `$CC -V 2>&1` in
13585 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13586 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13588 *) # Version 8.0 or newer
13591 ia64
*) tmp_idyn
=' -i_dynamic';;
13593 archive_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13594 archive_expsym_cmds_CXX
='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13597 archive_cmds_need_lc_CXX
=no
13598 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13599 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13600 whole_archive_flag_spec_CXX
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13603 # Portland Group C++ compiler
13605 *pgCC\
[1-5].
* |
*pgcpp\
[1-5].
*)
13606 prelink_cmds_CXX
='tpldir=Template.dir~
13608 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13609 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13610 old_archive_cmds_CXX
='tpldir=Template.dir~
13612 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13613 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13615 archive_cmds_CXX
='tpldir=Template.dir~
13617 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13618 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13619 archive_expsym_cmds_CXX
='tpldir=Template.dir~
13621 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13622 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13624 *) # Version 6 and above use weak symbols
13625 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13626 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13630 hardcode_libdir_flag_spec_CXX
='${wl}--rpath ${wl}$libdir'
13631 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13632 whole_archive_flag_spec_CXX
='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13636 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13637 archive_expsym_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
13639 runpath_var
=LD_RUN_PATH
13640 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13641 hardcode_libdir_separator_CXX
=:
13643 # Commands to make compiler produce verbose output that lists
13644 # what "hidden" libraries, object files and flags are used when
13645 # linking a shared library.
13647 # There doesn't appear to be a way to prevent this compiler from
13648 # explicitly linking system object files so we need to strip them
13649 # from the output so that they don't get included in the library
13651 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
13653 xl
* | mpixl
* | bgxl
*)
13654 # IBM XL 8.0 on PPC, with GNU ld
13655 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13656 export_dynamic_flag_spec_CXX
='${wl}--export-dynamic'
13657 archive_cmds_CXX
='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13658 if test "x$supports_anon_versioning" = xyes
; then
13659 archive_expsym_cmds_CXX
='echo "{ global:" > $output_objdir/$libname.ver~
13660 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13661 echo "local: *; };" >> $output_objdir/$libname.ver~
13662 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13666 case `$CC -V 2>&1 | sed 5q` in
13669 no_undefined_flag_CXX
=' -zdefs'
13670 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13671 archive_expsym_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
13672 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13673 whole_archive_flag_spec_CXX
='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
13674 compiler_needs_object_CXX
=yes
13676 # Not sure whether something based on
13677 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13679 output_verbose_link_cmd
='func_echo_all'
13681 # Archives containing C++ object files must be created using
13682 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13683 # necessary to make sure instantiated templates are included
13685 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13693 # FIXME: insert proper C++ library support
13698 # FIXME: insert proper C++ library support
13703 case $cc_basename in
13705 # FIXME: insert proper C++ library support
13709 # FIXME: insert proper C++ library support
13716 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
13717 archive_cmds_CXX
='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13719 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13720 hardcode_direct_CXX
=yes
13721 hardcode_shlibpath_var_CXX
=no
13723 # Workaround some broken pre-1.5 toolchains
13724 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13732 # C++ shared libraries are fairly broken
13737 if test -f /usr
/libexec
/ld.so
; then
13738 hardcode_direct_CXX
=yes
13739 hardcode_shlibpath_var_CXX
=no
13740 hardcode_direct_absolute_CXX
=yes
13741 archive_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13742 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13743 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13744 archive_expsym_cmds_CXX
='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13745 export_dynamic_flag_spec_CXX
='${wl}-E'
13746 whole_archive_flag_spec_CXX
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13748 output_verbose_link_cmd
=func_echo_all
13754 osf3
* | osf4
* | osf5
*)
13755 case $cc_basename in
13757 # Kuck and Associates, Inc. (KAI) C++ Compiler
13759 # KCC will only create a shared library if the output file
13760 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13761 # to its proper name (with version) after linking.
13762 archive_cmds_CXX
='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13764 hardcode_libdir_flag_spec_CXX
='${wl}-rpath,$libdir'
13765 hardcode_libdir_separator_CXX
=:
13767 # Archives containing C++ object files must be created using
13768 # the KAI C++ compiler.
13770 osf3
*) old_archive_cmds_CXX
='$CC -Bstatic -o $oldlib $oldobjs' ;;
13771 *) old_archive_cmds_CXX
='$CC -o $oldlib $oldobjs' ;;
13775 # Rational C++ 2.4.1
13776 # FIXME: insert proper C++ library support
13782 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13783 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13784 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13787 allow_undefined_flag_CXX
=' -expect_unresolved \*'
13788 archive_cmds_CXX
='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13789 archive_expsym_cmds_CXX
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13790 echo "-hidden">> $lib.exp~
13791 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13793 hardcode_libdir_flag_spec_CXX
='-rpath $libdir'
13797 hardcode_libdir_separator_CXX
=:
13799 # Commands to make compiler produce verbose output that lists
13800 # what "hidden" libraries, object files and flags are used when
13801 # linking a shared library.
13803 # There doesn't appear to be a way to prevent this compiler from
13804 # explicitly linking system object files so we need to strip them
13805 # from the output so that they don't get included in the library
13807 output_verbose_link_cmd
='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13810 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13811 allow_undefined_flag_CXX
=' ${wl}-expect_unresolved ${wl}\*'
13814 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13817 archive_cmds_CXX
='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13821 hardcode_libdir_flag_spec_CXX
='${wl}-rpath ${wl}$libdir'
13822 hardcode_libdir_separator_CXX
=:
13824 # Commands to make compiler produce verbose output that lists
13825 # what "hidden" libraries, object files and flags are used when
13826 # linking a shared library.
13827 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13830 # FIXME: insert proper C++ library support
13838 # FIXME: insert proper C++ library support
13843 case $cc_basename in
13846 # FIXME: insert proper C++ library support
13851 # FIXME: insert proper C++ library support
13855 # FIXME: insert proper C++ library support
13862 case $cc_basename in
13864 # Sun C++ 4.2, 5.x and Centerline C++
13865 archive_cmds_need_lc_CXX
=yes
13866 no_undefined_flag_CXX
=' -zdefs'
13867 archive_cmds_CXX
='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13868 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13869 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13871 hardcode_libdir_flag_spec_CXX
='-R$libdir'
13872 hardcode_shlibpath_var_CXX
=no
13874 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13876 # The compiler driver will combine and reorder linker options,
13877 # but understands `-z linker_flag'.
13878 # Supported since Solaris 2.6 (maybe 2.5.1?)
13879 whole_archive_flag_spec_CXX
='-z allextract$convenience -z defaultextract'
13882 link_all_deplibs_CXX
=yes
13884 output_verbose_link_cmd
='func_echo_all'
13886 # Archives containing C++ object files must be created using
13887 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13888 # necessary to make sure instantiated templates are included
13890 old_archive_cmds_CXX
='$CC -xar -o $oldlib $oldobjs'
13893 # Green Hills C++ Compiler
13894 archive_cmds_CXX
='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13896 # The C++ compiler must be used to create the archive.
13897 old_archive_cmds_CXX
='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13900 # GNU C++ compiler with Solaris linker
13901 if test "$GXX" = yes && test "$with_gnu_ld" = no
; then
13902 no_undefined_flag_CXX
=' ${wl}-z ${wl}defs'
13903 if $CC --version |
$GREP -v '^2\.7' > /dev
/null
; then
13904 archive_cmds_CXX
='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13905 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13906 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13908 # Commands to make compiler produce verbose output that lists
13909 # what "hidden" libraries, object files and flags are used when
13910 # linking a shared library.
13911 output_verbose_link_cmd
='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13913 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13915 archive_cmds_CXX
='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13916 archive_expsym_cmds_CXX
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13917 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13919 # Commands to make compiler produce verbose output that lists
13920 # what "hidden" libraries, object files and flags are used when
13921 # linking a shared library.
13922 output_verbose_link_cmd
='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13925 hardcode_libdir_flag_spec_CXX
='${wl}-R $wl$libdir'
13927 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
13929 whole_archive_flag_spec_CXX
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13937 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
13938 no_undefined_flag_CXX
='${wl}-z,text'
13939 archive_cmds_need_lc_CXX
=no
13940 hardcode_shlibpath_var_CXX
=no
13941 runpath_var
='LD_RUN_PATH'
13943 case $cc_basename in
13945 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13946 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13949 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13950 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13955 sysv5
* | sco3.2v5
* | sco5v6
*)
13956 # Note: We can NOT use -z defs as we might desire, because we do not
13957 # link with -lc, and that would cause any symbols used from libc to
13958 # always be unresolved, which means just about no library would
13959 # ever link correctly. If we're not using GNU ld we use -z text
13960 # though, which does catch some bad symbols but isn't as heavy-handed
13962 no_undefined_flag_CXX
='${wl}-z,text'
13963 allow_undefined_flag_CXX
='${wl}-z,nodefs'
13964 archive_cmds_need_lc_CXX
=no
13965 hardcode_shlibpath_var_CXX
=no
13966 hardcode_libdir_flag_spec_CXX
='${wl}-R,$libdir'
13967 hardcode_libdir_separator_CXX
=':'
13968 link_all_deplibs_CXX
=yes
13969 export_dynamic_flag_spec_CXX
='${wl}-Bexport'
13970 runpath_var
='LD_RUN_PATH'
13972 case $cc_basename in
13974 archive_cmds_CXX
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13975 archive_expsym_cmds_CXX
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13976 old_archive_cmds_CXX
='$CC -Tprelink_objects $oldobjs~
13977 '"$old_archive_cmds_CXX"
13978 reload_cmds_CXX
='$CC -Tprelink_objects $reload_objs~
13979 '"$reload_cmds_CXX"
13982 archive_cmds_CXX
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13983 archive_expsym_cmds_CXX
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13989 case $cc_basename in
13991 # NonStop-UX NCC 3.20
13992 # FIXME: insert proper C++ library support
13996 # FIXME: insert proper C++ library support
14003 # For VxWorks ports, we assume the use of a GNU linker with
14004 # standard elf conventions.
14009 # FIXME: insert proper C++ library support
14014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14015 $as_echo "$ld_shlibs_CXX" >&6; }
14016 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14022 ## There is no encapsulation within the following macros, do not change
14023 ## the running order or otherwise move them around unless you know exactly
14024 ## what you are doing...
14025 # Dependencies to place before and after the object being linked:
14026 predep_objects_CXX
=
14027 postdep_objects_CXX
=
14030 compiler_lib_search_path_CXX
=
14032 cat > conftest.
$ac_ext <<_LT_EOF
14036 Foo (void) { a = 0; }
14042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14043 (eval $ac_compile) 2>&5
14045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14046 test $ac_status = 0; }; then
14047 # Parse the compiler output and extract the necessary
14048 # objects, libraries and library flags.
14050 # Sentinel used to keep track of whether or not we are before
14051 # the conftest object file.
14052 pre_test_object_deps_done
=no
14054 for p
in `eval "$output_verbose_link_cmd"`; do
14058 # Some compilers place space between "-{L,R}" and the path.
14059 # Remove the space.
14060 if test $p = "-L" ||
14061 test $p = "-R"; then
14068 if test "$pre_test_object_deps_done" = no
; then
14071 # Internal compiler library paths should come after those
14072 # provided the user. The postdeps already come after the
14073 # user supplied libs so there is no need to process them.
14074 if test -z "$compiler_lib_search_path_CXX"; then
14075 compiler_lib_search_path_CXX
="${prev}${p}"
14077 compiler_lib_search_path_CXX
="${compiler_lib_search_path_CXX} ${prev}${p}"
14080 # The "-l" case would never come before the object being
14081 # linked, so don't bother handling this case.
14084 if test -z "$postdeps_CXX"; then
14085 postdeps_CXX
="${prev}${p}"
14087 postdeps_CXX
="${postdeps_CXX} ${prev}${p}"
14093 # This assumes that the test object file only shows up
14094 # once in the compiler output.
14095 if test "$p" = "conftest.$objext"; then
14096 pre_test_object_deps_done
=yes
14100 if test "$pre_test_object_deps_done" = no
; then
14101 if test -z "$predep_objects_CXX"; then
14102 predep_objects_CXX
="$p"
14104 predep_objects_CXX
="$predep_objects_CXX $p"
14107 if test -z "$postdep_objects_CXX"; then
14108 postdep_objects_CXX
="$p"
14110 postdep_objects_CXX
="$postdep_objects_CXX $p"
14115 *) ;; # Ignore the rest.
14123 echo "libtool.m4: error: problem compiling CXX test program"
14126 $RM -f confest.
$objext
14128 # PORTME: override above test on systems where it is broken
14131 # Interix 3.5 installs completely hosed .la files for C++, so rather than
14132 # hack all around it, let's just trust "g++" to DTRT.
14133 predep_objects_CXX
=
14134 postdep_objects_CXX
=
14139 case `$CC -V 2>&1 | sed 5q` in
14143 # The more standards-conforming stlport4 library is
14144 # incompatible with the Cstd library. Avoid specifying
14145 # it if it's in CXXFLAGS. Ignore libCrun as
14146 # -library=stlport4 depends on it.
14147 case " $CXX $CXXFLAGS " in
14148 *" -library=stlport4 "*)
14149 solaris_use_stlport4
=yes
14153 if test "$solaris_use_stlport4" != yes; then
14154 postdeps_CXX
='-library=Cstd -library=Crun'
14161 case $cc_basename in
14163 # The more standards-conforming stlport4 library is
14164 # incompatible with the Cstd library. Avoid specifying
14165 # it if it's in CXXFLAGS. Ignore libCrun as
14166 # -library=stlport4 depends on it.
14167 case " $CXX $CXXFLAGS " in
14168 *" -library=stlport4 "*)
14169 solaris_use_stlport4
=yes
14173 # Adding this requires a known-good setup of shared libraries for
14174 # Sun compiler versions before 5.6, else PIC objects from an old
14175 # archive will be linked into the output, leading to subtle bugs.
14176 if test "$solaris_use_stlport4" != yes; then
14177 postdeps_CXX
='-library=Cstd -library=Crun'
14185 case " $postdeps_CXX " in
14186 *" -lc "*) archive_cmds_need_lc_CXX
=no
;;
14188 compiler_lib_search_dirs_CXX
=
14189 if test -n "${compiler_lib_search_path_CXX}"; then
14190 compiler_lib_search_dirs_CXX
=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14223 lt_prog_compiler_wl_CXX
=
14224 lt_prog_compiler_pic_CXX
=
14225 lt_prog_compiler_static_CXX
=
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14228 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14230 # C++ specific cases for pic, static, wl, etc.
14231 if test "$GXX" = yes; then
14232 lt_prog_compiler_wl_CXX
='-Wl,'
14233 lt_prog_compiler_static_CXX
='-static'
14237 # All AIX code is PIC.
14238 if test "$host_cpu" = ia64
; then
14239 # AIX 5 now supports IA64 processor
14240 lt_prog_compiler_static_CXX
='-Bstatic'
14242 lt_prog_compiler_pic_CXX
='-fPIC'
14248 # see comment about AmigaOS4 .so support
14249 lt_prog_compiler_pic_CXX
='-fPIC'
14252 # FIXME: we need at least 68020 code to build shared libraries, but
14253 # adding the `-m68020' flag to GCC prevents building anything better,
14255 lt_prog_compiler_pic_CXX
='-m68020 -resident32 -malways-restore-a4'
14260 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
14261 # PIC is the default for these OSes.
14263 mingw
* | cygwin
* | os2
* | pw32
* | cegcc
*)
14264 # This hack is so that the source file can tell whether it is being
14265 # built for inclusion in a dll (and should export symbols for example).
14266 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14267 # (--disable-auto-import) libraries
14268 lt_prog_compiler_pic_CXX
='-DDLL_EXPORT'
14270 darwin
* | rhapsody
*)
14271 # PIC is the default on this platform
14272 # Common symbols not allowed in MH_DYLIB files
14273 lt_prog_compiler_pic_CXX
='-fno-common'
14276 # DJGPP does not support shared libraries at all
14277 lt_prog_compiler_pic_CXX
=
14280 # PIC is the default for Haiku.
14281 # The "-static" flag exists, but is broken.
14282 lt_prog_compiler_static_CXX
=
14285 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14286 # Instead, we relocate shared libraries at runtime.
14289 if test -d /usr
/nec
; then
14290 lt_prog_compiler_pic_CXX
=-Kconform_pic
14294 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14295 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14296 # sets the default TLS model and affects inlining.
14301 lt_prog_compiler_pic_CXX
='-fPIC'
14306 # QNX uses GNU C++, but need to define -shared option too, otherwise
14307 # it will coredump.
14308 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14311 lt_prog_compiler_pic_CXX
='-fPIC'
14317 # All AIX code is PIC.
14318 if test "$host_cpu" = ia64
; then
14319 # AIX 5 now supports IA64 processor
14320 lt_prog_compiler_static_CXX
='-Bstatic'
14322 lt_prog_compiler_static_CXX
='-bnso -bI:/lib/syscalls.exp'
14326 case $cc_basename in
14328 # Green Hills C++ Compiler
14329 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
14334 case $cc_basename in
14336 lt_prog_compiler_pic_CXX
='-KPIC'
14339 # Green Hills C++ Compiler
14340 lt_prog_compiler_pic_CXX
='-pic'
14346 freebsd
* | dragonfly
*)
14347 # FreeBSD uses GNU C++
14349 hpux9
* | hpux10
* | hpux11
*)
14350 case $cc_basename in
14352 lt_prog_compiler_wl_CXX
='-Wl,'
14353 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14354 if test "$host_cpu" != ia64
; then
14355 lt_prog_compiler_pic_CXX
='+Z'
14359 lt_prog_compiler_wl_CXX
='-Wl,'
14360 lt_prog_compiler_static_CXX
='${wl}-a ${wl}archive'
14366 lt_prog_compiler_pic_CXX
='+Z'
14375 # This is c89, which is MS Visual C++ (no shared libs)
14376 # Anyone wants to do a port?
14378 irix5
* | irix6
* | nonstopux
*)
14379 case $cc_basename in
14381 lt_prog_compiler_wl_CXX
='-Wl,'
14382 lt_prog_compiler_static_CXX
='-non_shared'
14383 # CC pic flag -KPIC is the default.
14389 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
14390 case $cc_basename in
14393 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14394 lt_prog_compiler_pic_CXX
='-fPIC'
14397 # old Intel C++ for x86_64 which still supported -KPIC.
14398 lt_prog_compiler_wl_CXX
='-Wl,'
14399 lt_prog_compiler_pic_CXX
='-KPIC'
14400 lt_prog_compiler_static_CXX
='-static'
14403 # Intel C++, used to be incompatible with GCC.
14404 # ICC 10 doesn't accept -KPIC any more.
14405 lt_prog_compiler_wl_CXX
='-Wl,'
14406 lt_prog_compiler_pic_CXX
='-fPIC'
14407 lt_prog_compiler_static_CXX
='-static'
14410 # Portland Group C++ compiler
14411 lt_prog_compiler_wl_CXX
='-Wl,'
14412 lt_prog_compiler_pic_CXX
='-fpic'
14413 lt_prog_compiler_static_CXX
='-Bstatic'
14417 # Make sure the PIC flag is empty. It appears that all Alpha
14418 # Linux and Compaq Tru64 Unix objects are PIC.
14419 lt_prog_compiler_pic_CXX
=
14420 lt_prog_compiler_static_CXX
='-non_shared'
14422 xlc
* | xlC
* | bgxl
[cC
]* | mpixl
[cC
]*)
14423 # IBM XL 8.0, 9.0 on PPC and BlueGene
14424 lt_prog_compiler_wl_CXX
='-Wl,'
14425 lt_prog_compiler_pic_CXX
='-qpic'
14426 lt_prog_compiler_static_CXX
='-qstaticlink'
14429 case `$CC -V 2>&1 | sed 5q` in
14432 lt_prog_compiler_pic_CXX
='-KPIC'
14433 lt_prog_compiler_static_CXX
='-Bstatic'
14434 lt_prog_compiler_wl_CXX
='-Qoption ld '
14445 case $cc_basename in
14447 lt_prog_compiler_pic_CXX
='-W c,exportall'
14456 # QNX uses GNU C++, but need to define -shared option too, otherwise
14457 # it will coredump.
14458 lt_prog_compiler_pic_CXX
='-fPIC -shared'
14460 osf3
* | osf4
* | osf5
*)
14461 case $cc_basename in
14463 lt_prog_compiler_wl_CXX
='--backend -Wl,'
14466 # Rational C++ 2.4.1
14467 lt_prog_compiler_pic_CXX
='-pic'
14470 # Digital/Compaq C++
14471 lt_prog_compiler_wl_CXX
='-Wl,'
14472 # Make sure the PIC flag is empty. It appears that all Alpha
14473 # Linux and Compaq Tru64 Unix objects are PIC.
14474 lt_prog_compiler_pic_CXX
=
14475 lt_prog_compiler_static_CXX
='-non_shared'
14484 case $cc_basename in
14486 # Sun C++ 4.2, 5.x and Centerline C++
14487 lt_prog_compiler_pic_CXX
='-KPIC'
14488 lt_prog_compiler_static_CXX
='-Bstatic'
14489 lt_prog_compiler_wl_CXX
='-Qoption ld '
14492 # Green Hills C++ Compiler
14493 lt_prog_compiler_pic_CXX
='-PIC'
14500 case $cc_basename in
14503 lt_prog_compiler_pic_CXX
='-pic'
14504 lt_prog_compiler_static_CXX
='-Bstatic'
14508 lt_prog_compiler_pic_CXX
='-pic'
14514 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14515 case $cc_basename in
14517 lt_prog_compiler_wl_CXX
='-Wl,'
14518 lt_prog_compiler_pic_CXX
='-KPIC'
14519 lt_prog_compiler_static_CXX
='-Bstatic'
14524 case $cc_basename in
14526 # NonStop-UX NCC 3.20
14527 lt_prog_compiler_pic_CXX
='-KPIC'
14536 lt_prog_compiler_can_build_shared_CXX
=no
14542 # For platforms which do not support PIC, -DPIC is meaningless:
14544 lt_prog_compiler_pic_CXX
=
14547 lt_prog_compiler_pic_CXX
="$lt_prog_compiler_pic_CXX -DPIC"
14550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14551 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14556 # Check to make sure the PIC flag actually works.
14558 if test -n "$lt_prog_compiler_pic_CXX"; then
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14560 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14561 if ${lt_cv_prog_compiler_pic_works_CXX+:} false
; then :
14562 $as_echo_n "(cached) " >&6
14564 lt_cv_prog_compiler_pic_works_CXX
=no
14565 ac_outfile
=conftest.
$ac_objext
14566 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14567 lt_compiler_flag
="$lt_prog_compiler_pic_CXX -DPIC"
14568 # Insert the option either (1) after the last *FLAGS variable, or
14569 # (2) before a word containing "conftest.", or (3) at the end.
14570 # Note that $ac_compile itself does not contain backslashes and begins
14571 # with a dollar sign (not a hyphen), so the echo should work correctly.
14572 # The option is referenced via a variable to avoid confusing sed.
14573 lt_compile
=`echo "$ac_compile" | $SED \
14574 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14575 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14576 -e 's:$: $lt_compiler_flag:'`
14577 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14578 (eval "$lt_compile" 2>conftest.err
)
14580 cat conftest.err
>&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 if (exit $ac_status) && test -s "$ac_outfile"; then
14583 # The compiler can only warn and ignore the option if not recognized
14584 # So say no if there are warnings other than the usual output.
14585 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14586 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14587 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14588 lt_cv_prog_compiler_pic_works_CXX
=yes
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14595 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14597 if test x
"$lt_cv_prog_compiler_pic_works_CXX" = xyes
; then
14598 case $lt_prog_compiler_pic_CXX in
14600 *) lt_prog_compiler_pic_CXX
=" $lt_prog_compiler_pic_CXX" ;;
14603 lt_prog_compiler_pic_CXX
=
14604 lt_prog_compiler_can_build_shared_CXX
=no
14612 # Check to make sure the static flag actually works.
14614 wl
=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_CXX\"
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14616 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14617 if ${lt_cv_prog_compiler_static_works_CXX+:} false
; then :
14618 $as_echo_n "(cached) " >&6
14620 lt_cv_prog_compiler_static_works_CXX
=no
14621 save_LDFLAGS
="$LDFLAGS"
14622 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14623 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14624 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14625 # The linker can only warn and ignore the option if not recognized
14626 # So say no if there are warnings
14627 if test -s conftest.err
; then
14628 # Append any errors to the config.log.
14629 cat conftest.err
1>&5
14630 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14631 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14632 if diff conftest.exp conftest.er2
>/dev
/null
; then
14633 lt_cv_prog_compiler_static_works_CXX
=yes
14636 lt_cv_prog_compiler_static_works_CXX
=yes
14640 LDFLAGS
="$save_LDFLAGS"
14643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14644 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14646 if test x
"$lt_cv_prog_compiler_static_works_CXX" = xyes
; then
14649 lt_prog_compiler_static_CXX
=
14655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14656 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14657 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14658 $as_echo_n "(cached) " >&6
14660 lt_cv_prog_compiler_c_o_CXX
=no
14661 $RM -r conftest
2>/dev
/null
14665 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14667 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14668 # Insert the option either (1) after the last *FLAGS variable, or
14669 # (2) before a word containing "conftest.", or (3) at the end.
14670 # Note that $ac_compile itself does not contain backslashes and begins
14671 # with a dollar sign (not a hyphen), so the echo should work correctly.
14672 lt_compile
=`echo "$ac_compile" | $SED \
14673 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14674 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14675 -e 's:$: $lt_compiler_flag:'`
14676 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14677 (eval "$lt_compile" 2>out
/conftest.err
)
14679 cat out
/conftest.err
>&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14683 # The compiler can only warn and ignore the option if not recognized
14684 # So say no if there are warnings
14685 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14686 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14687 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14688 lt_cv_prog_compiler_c_o_CXX
=yes
14693 # SGI C++ compiler will create directory out/ii_files/ for
14694 # template instantiation
14695 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14696 $RM out
/* && rmdir out
14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14703 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14708 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14709 if ${lt_cv_prog_compiler_c_o_CXX+:} false
; then :
14710 $as_echo_n "(cached) " >&6
14712 lt_cv_prog_compiler_c_o_CXX
=no
14713 $RM -r conftest
2>/dev
/null
14717 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14719 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14720 # Insert the option either (1) after the last *FLAGS variable, or
14721 # (2) before a word containing "conftest.", or (3) at the end.
14722 # Note that $ac_compile itself does not contain backslashes and begins
14723 # with a dollar sign (not a hyphen), so the echo should work correctly.
14724 lt_compile
=`echo "$ac_compile" | $SED \
14725 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14726 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14727 -e 's:$: $lt_compiler_flag:'`
14728 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14729 (eval "$lt_compile" 2>out
/conftest.err
)
14731 cat out
/conftest.err
>&5
14732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14733 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14735 # The compiler can only warn and ignore the option if not recognized
14736 # So say no if there are warnings
14737 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14738 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14739 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14740 lt_cv_prog_compiler_c_o_CXX
=yes
14745 # SGI C++ compiler will create directory out/ii_files/ for
14746 # template instantiation
14747 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14748 $RM out
/* && rmdir out
14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14755 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14760 hard_links
="nottested"
14761 if test "$lt_cv_prog_compiler_c_o_CXX" = no
&& test "$need_locks" != no
; then
14762 # do not overwrite the value of need_locks provided by the user
14763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14764 $as_echo_n "checking if we can lock with hard links... " >&6; }
14767 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14769 ln conftest.a conftest.b
2>&5 || hard_links
=no
14770 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14772 $as_echo "$hard_links" >&6; }
14773 if test "$hard_links" = no
; then
14774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14775 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14785 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14787 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14790 # If we're using GNU nm, then we don't want the "-C" option.
14791 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14792 # Also, AIX nm treats weak defined symbols like other global defined
14793 # symbols, whereas GNU nm marks them as "W".
14794 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14795 export_symbols_cmds_CXX
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14797 export_symbols_cmds_CXX
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14801 export_symbols_cmds_CXX
="$ltdll_cmds"
14803 cygwin
* | mingw
* | cegcc
*)
14804 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14807 export_symbols_cmds_CXX
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14810 exclude_expsyms_CXX
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14813 $as_echo "$ld_shlibs_CXX" >&6; }
14814 test "$ld_shlibs_CXX" = no
&& can_build_shared
=no
14816 with_gnu_ld_CXX
=$with_gnu_ld
14824 # Do we need to explicitly link libc?
14826 case "x$archive_cmds_need_lc_CXX" in
14828 # Assume -lc should be added
14829 archive_cmds_need_lc_CXX
=yes
14831 if test "$enable_shared" = yes && test "$GCC" = yes; then
14832 case $archive_cmds_CXX in
14834 # FIXME: we may have to deal with multi-command sequences.
14837 # Test whether the compiler implicitly links with -lc since on some
14838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14839 # to ld, don't add -lc before -lgcc.
14840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14842 if ${lt_cv_archive_cmds_need_lc_CXX+:} false
; then :
14843 $as_echo_n "(cached) " >&6
14846 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14849 (eval $ac_compile) 2>&5
14851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14852 test $ac_status = 0; } 2>conftest.err
; then
14855 libobjs
=conftest.
$ac_objext
14857 wl
=$lt_prog_compiler_wl_CXX
14858 pic_flag
=$lt_prog_compiler_pic_CXX
14864 lt_save_allow_undefined_flag
=$allow_undefined_flag_CXX
14865 allow_undefined_flag_CXX
=
14866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14867 (eval $archive_cmds_CXX 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
14869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14870 test $ac_status = 0; }
14872 lt_cv_archive_cmds_need_lc_CXX
=no
14874 lt_cv_archive_cmds_need_lc_CXX
=yes
14876 allow_undefined_flag_CXX
=$lt_save_allow_undefined_flag
14878 cat conftest.err
1>&5
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14884 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14885 archive_cmds_need_lc_CXX
=$lt_cv_archive_cmds_need_lc_CXX
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14956 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14958 library_names_spec
=
14959 libname_spec
='lib$name'
14963 postuninstall_cmds
=
14967 shlibpath_overrides_runpath
=unknown
14969 dynamic_linker
="$host_os ld.so"
14970 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
14971 need_lib_prefix
=unknown
14972 hardcode_into_libs
=no
14974 # when you set need_version to no, make sure it does not cause -set_version
14975 # flags to be left without arguments
14976 need_version
=unknown
14981 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
14982 shlibpath_var
=LIBPATH
14984 # AIX 3 has no versioning support, so we append a major version to the name.
14985 soname_spec
='${libname}${release}${shared_ext}$major'
14992 hardcode_into_libs
=yes
14993 if test "$host_cpu" = ia64
; then
14994 # AIX 5 supports IA64
14995 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14996 shlibpath_var
=LD_LIBRARY_PATH
14998 # With GCC up to 2.95.x, collect2 would create an import file
14999 # for dependence libraries. The import file would start with
15000 # the line `#! .'. This would cause the generated library to
15001 # depend on `.', always an invalid library. This was fixed in
15002 # development snapshots of GCC prior to 3.0.
15004 aix4 | aix4.
[01] | aix4.
[01].
*)
15005 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15007 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15010 can_build_shared
=no
15014 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15015 # soname into executable. Probably we can add versioning support to
15016 # collect2, so additional links can be useful in future.
15017 if test "$aix_use_runtimelinking" = yes; then
15018 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15019 # instead of lib<name>.a to let people know that these are not
15020 # typical AIX shared libraries.
15021 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15023 # We preserve .a as extension for shared libraries through AIX4.2
15024 # and later when we are not doing run time linking.
15025 library_names_spec
='${libname}${release}.a $libname.a'
15026 soname_spec
='${libname}${release}${shared_ext}$major'
15028 shlibpath_var
=LIBPATH
15035 # Since July 2007 AmigaOS4 officially supports .so libraries.
15036 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15037 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15040 library_names_spec
='$libname.ixlibrary $libname.a'
15041 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15042 finish_eval
='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
15048 library_names_spec
='${libname}${shared_ext}'
15049 dynamic_linker
="$host_os ld.so"
15050 shlibpath_var
=LIBRARY_PATH
15056 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15057 soname_spec
='${libname}${release}${shared_ext}$major'
15058 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15059 shlibpath_var
=LD_LIBRARY_PATH
15060 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15061 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15062 # the default ld.so.conf also contains /usr/contrib/lib and
15063 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15064 # libtool to hard-code these into programs
15067 cygwin
* | mingw
* | pw32
* | cegcc
*)
15068 version_type
=windows
15073 case $GCC,$host_os in
15074 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15075 library_names_spec
='$libname.dll.a'
15076 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15077 postinstall_cmds
='base_file=`basename \${file}`~
15078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15079 dldir=$destdir/`dirname \$dlpath`~
15080 test -d \$dldir || mkdir -p \$dldir~
15081 $install_prog $dir/$dlname \$dldir/$dlname~
15082 chmod a+x \$dldir/$dlname~
15083 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15084 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15086 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15087 dlpath=$dir/\$dldll~
15089 shlibpath_overrides_runpath
=yes
15093 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15094 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15098 # MinGW DLLs use traditional 'lib' prefix
15099 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15102 # pw32 DLLs use 'pw' prefix rather than 'lib'
15103 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15109 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15112 dynamic_linker
='Win32 ld.exe'
15113 # FIXME: first we should search . and the directory the executable is in
15117 darwin
* | rhapsody
*)
15118 dynamic_linker
="$host_os dyld"
15119 version_type
=darwin
15122 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15123 soname_spec
='${libname}${release}${major}$shared_ext'
15124 shlibpath_overrides_runpath
=yes
15125 shlibpath_var
=DYLD_LIBRARY_PATH
15126 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15128 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15135 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15136 soname_spec
='${libname}${release}${shared_ext}$major'
15137 shlibpath_var
=LD_LIBRARY_PATH
15140 freebsd
* | dragonfly
*)
15141 # DragonFly does not have aout. When/if they implement a new
15142 # versioning mechanism, adjust this.
15143 if test -x /usr
/bin
/objformat
; then
15144 objformat
=`/usr/bin/objformat`
15147 freebsd
[23].
*) objformat
=aout
;;
15148 *) objformat
=elf
;;
15151 version_type
=freebsd-
$objformat
15152 case $version_type in
15154 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15159 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15163 shlibpath_var
=LD_LIBRARY_PATH
15166 shlibpath_overrides_runpath
=yes
15168 freebsd3.
[01]* | freebsdelf3.
[01]*)
15169 shlibpath_overrides_runpath
=yes
15170 hardcode_into_libs
=yes
15172 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15173 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15174 shlibpath_overrides_runpath
=no
15175 hardcode_into_libs
=yes
15177 *) # from 4.6 on, and DragonFly
15178 shlibpath_overrides_runpath
=yes
15179 hardcode_into_libs
=yes
15188 dynamic_linker
="$host_os runtime_loader"
15189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15190 soname_spec
='${libname}${release}${shared_ext}$major'
15191 shlibpath_var
=LIBRARY_PATH
15192 shlibpath_overrides_runpath
=yes
15193 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15194 hardcode_into_libs
=yes
15197 hpux9
* | hpux10
* | hpux11
*)
15198 # Give a soname corresponding to the major version so that dld.sl refuses to
15199 # link against other versions.
15206 hardcode_into_libs
=yes
15207 dynamic_linker
="$host_os dld.so"
15208 shlibpath_var
=LD_LIBRARY_PATH
15209 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15210 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15211 soname_spec
='${libname}${release}${shared_ext}$major'
15212 if test "X$HPUX_IA64_MODE" = X32
; then
15213 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15215 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15217 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15221 hardcode_into_libs
=yes
15222 dynamic_linker
="$host_os dld.sl"
15223 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15224 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15225 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15226 soname_spec
='${libname}${release}${shared_ext}$major'
15227 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15228 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15232 dynamic_linker
="$host_os dld.sl"
15233 shlibpath_var
=SHLIB_PATH
15234 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15235 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15236 soname_spec
='${libname}${release}${shared_ext}$major'
15239 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15240 postinstall_cmds
='chmod 555 $lib'
15241 # or fails outright, so override atomically:
15242 install_override_mode
=555
15249 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15250 soname_spec
='${libname}${release}${shared_ext}$major'
15251 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15252 shlibpath_var
=LD_LIBRARY_PATH
15253 shlibpath_overrides_runpath
=no
15254 hardcode_into_libs
=yes
15257 irix5
* | irix6
* | nonstopux
*)
15259 nonstopux
*) version_type
=nonstopux
;;
15261 if test "$lt_cv_prog_gnu_ld" = yes; then
15269 soname_spec
='${libname}${release}${shared_ext}$major'
15270 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15272 irix5
* | nonstopux
*)
15273 libsuff
= shlibsuff
=
15276 case $LD in # libtool.m4 will add one of these switches to LD
15277 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15278 libsuff
= shlibsuff
= libmagic
=32-bit;;
15279 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15280 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15281 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15282 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15283 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15287 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15288 shlibpath_overrides_runpath
=no
15289 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15290 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15291 hardcode_into_libs
=yes
15294 # No shared lib support for Linux oldld, aout, or coff.
15295 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15299 # This must be Linux ELF.
15301 # uclinux* changes (here and below) have been submitted to the libtool
15302 # project, but have not yet been accepted: they are GCC-local changes
15303 # for the time being. (See
15304 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15305 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15309 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15310 soname_spec
='${libname}${release}${shared_ext}$major'
15311 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15312 shlibpath_var
=LD_LIBRARY_PATH
15313 shlibpath_overrides_runpath
=no
15315 # Some binutils ld are patched to set DT_RUNPATH
15316 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15317 $as_echo_n "(cached) " >&6
15319 lt_cv_shlibpath_overrides_runpath
=no
15320 save_LDFLAGS
=$LDFLAGS
15321 save_libdir
=$libdir
15322 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15323 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15324 if test x
$gcc_no_link = xyes
; then
15325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15338 if ac_fn_cxx_try_link
"$LINENO"; then :
15339 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15340 lt_cv_shlibpath_overrides_runpath
=yes
15343 rm -f core conftest.err conftest.
$ac_objext \
15344 conftest
$ac_exeext conftest.
$ac_ext
15345 LDFLAGS
=$save_LDFLAGS
15346 libdir
=$save_libdir
15350 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15352 # This implies no fast_install, which is unacceptable.
15353 # Some rework will be needed to allow for fast_install
15354 # before this can be enabled.
15355 hardcode_into_libs
=yes
15357 # Append ld.so.conf contents to the search path
15358 if test -f /etc
/ld.so.conf
; then
15359 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;s/"//g;/^$/d' | tr '\n' ' '`
15360 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15363 # We used to test for /lib/ld.so.1 and disable shared libraries on
15364 # powerpc, because MkLinux only supported shared libraries with the
15365 # GNU dynamic linker. Since this was broken with cross compilers,
15366 # most powerpc-linux boxes support dynamic linking these days and
15367 # people can always --disable-shared, the test was removed, and we
15368 # assume the GNU/Linux dynamic linker is in use.
15369 dynamic_linker
='GNU/Linux ld.so'
15376 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15377 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15378 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15379 dynamic_linker
='NetBSD (a.out) ld.so'
15381 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15382 soname_spec
='${libname}${release}${shared_ext}$major'
15383 dynamic_linker
='NetBSD ld.elf_so'
15385 shlibpath_var
=LD_LIBRARY_PATH
15386 shlibpath_overrides_runpath
=yes
15387 hardcode_into_libs
=yes
15392 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15393 shlibpath_var
=LD_LIBRARY_PATH
15394 shlibpath_overrides_runpath
=yes
15401 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 soname_spec
='${libname}${release}${shared_ext}$major'
15403 shlibpath_var
=LD_LIBRARY_PATH
15404 shlibpath_overrides_runpath
=no
15405 hardcode_into_libs
=yes
15406 dynamic_linker
='ldqnx.so'
15411 sys_lib_dlsearch_path_spec
="/usr/lib"
15413 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15415 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15416 *) need_version
=no
;;
15418 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15419 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15420 shlibpath_var
=LD_LIBRARY_PATH
15421 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15423 openbsd2.
[89] | openbsd2.
[89].
*)
15424 shlibpath_overrides_runpath
=no
15427 shlibpath_overrides_runpath
=yes
15431 shlibpath_overrides_runpath
=yes
15436 libname_spec
='$name'
15439 library_names_spec
='$libname${shared_ext} $libname.a'
15440 dynamic_linker
='OS/2 ld.exe'
15441 shlibpath_var
=LIBPATH
15444 osf3
* | osf4
* | osf5
*)
15448 soname_spec
='${libname}${release}${shared_ext}$major'
15449 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15450 shlibpath_var
=LD_LIBRARY_PATH
15451 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15452 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
15463 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15464 soname_spec
='${libname}${release}${shared_ext}$major'
15465 shlibpath_var
=LD_LIBRARY_PATH
15466 shlibpath_overrides_runpath
=yes
15467 hardcode_into_libs
=yes
15468 # ldd complains unless libraries are executable
15469 postinstall_cmds
='chmod +x $lib'
15474 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15475 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15476 shlibpath_var
=LD_LIBRARY_PATH
15477 shlibpath_overrides_runpath
=yes
15478 if test "$with_gnu_ld" = yes; then
15486 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15487 soname_spec
='${libname}${release}${shared_ext}$major'
15488 shlibpath_var
=LD_LIBRARY_PATH
15489 case $host_vendor in
15491 shlibpath_overrides_runpath
=no
15493 runpath_var
=LD_RUN_PATH
15501 shlibpath_overrides_runpath
=no
15502 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
15508 if test -d /usr
/nec
;then
15510 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15511 soname_spec
='$libname${shared_ext}.$major'
15512 shlibpath_var
=LD_LIBRARY_PATH
15516 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
15517 version_type
=freebsd-elf
15520 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15521 soname_spec
='${libname}${release}${shared_ext}$major'
15522 shlibpath_var
=LD_LIBRARY_PATH
15523 shlibpath_overrides_runpath
=yes
15524 hardcode_into_libs
=yes
15525 if test "$with_gnu_ld" = yes; then
15526 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15528 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
15531 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
15535 sys_lib_dlsearch_path_spec
='/usr/lib'
15539 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15543 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15544 shlibpath_var
=LD_LIBRARY_PATH
15545 shlibpath_overrides_runpath
=no
15546 hardcode_into_libs
=yes
15551 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15552 soname_spec
='${libname}${release}${shared_ext}$major'
15553 shlibpath_var
=LD_LIBRARY_PATH
15556 # Shared libraries for VwWorks, >= 7 only at this stage
15557 # and (fpic) still incompatible with "large" code models
15558 # in a few configurations. Only for RTP mode in any case,
15559 # and upon explicit request at configure time.
15562 case ${with_multisubdir}-${enable_shared} in
15569 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15570 soname_spec
='${libname}${release}${shared_ext}$major'
15571 dynamic_linker
="$host_os module_loader"
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15580 $as_echo "$dynamic_linker" >&6; }
15581 test "$dynamic_linker" = no
&& can_build_shared
=no
15583 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
15584 if test "$GCC" = yes; then
15585 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15588 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15589 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
15591 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15592 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15633 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15634 hardcode_action_CXX
=
15635 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15636 test -n "$runpath_var_CXX" ||
15637 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15639 # We can hardcode non-existent directories.
15640 if test "$hardcode_direct_CXX" != no
&&
15641 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15642 # have to relink, otherwise we might link with an installed library
15643 # when we should be linking with a yet-to-be-installed one
15644 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15645 test "$hardcode_minus_L_CXX" != no
; then
15646 # Linking always hardcodes the temporary library directory.
15647 hardcode_action_CXX
=relink
15649 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15650 hardcode_action_CXX
=immediate
15653 # We cannot hardcode anything, or else we can only hardcode existing
15655 hardcode_action_CXX
=unsupported
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15658 $as_echo "$hardcode_action_CXX" >&6; }
15660 if test "$hardcode_action_CXX" = relink ||
15661 test "$inherit_rpath_CXX" = yes; then
15662 # Fast installation is not supported
15663 enable_fast_install
=no
15664 elif test "$shlibpath_overrides_runpath" = yes ||
15665 test "$enable_shared" = no
; then
15666 # Fast installation is not necessary
15667 enable_fast_install
=needless
15676 fi # test -n "$compiler"
15682 with_gnu_ld
=$lt_save_with_gnu_ld
15683 lt_cv_path_LDCXX
=$lt_cv_path_LD
15684 lt_cv_path_LD
=$lt_save_path_LD
15685 lt_cv_prog_gnu_ldcxx
=$lt_cv_prog_gnu_ld
15686 lt_cv_prog_gnu_ld
=$lt_save_with_gnu_ld
15687 fi # test "$_lt_caught_CXX_error" != yes
15690 ac_cpp
='$CPP $CPPFLAGS'
15691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15707 ac_config_commands
="$ac_config_commands libtool"
15712 # Only expand once:
15719 *-cygwin* |
*-mingw*)
15720 # 'host' will be top-level target in the case of a target lib,
15721 # we must compare to with_cross_host to decide if this is a native
15722 # or cross-compiler and select where to install dlls appropriately.
15723 if test -n "$with_cross_host" &&
15724 test x
"$with_cross_host" != x
"no"; then
15725 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
15727 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
15739 if test x
$enable_darwin_at_rpath = xyes
; then
15740 ENABLE_DARWIN_AT_RPATH_TRUE
=
15741 ENABLE_DARWIN_AT_RPATH_FALSE
='#'
15743 ENABLE_DARWIN_AT_RPATH_TRUE
='#'
15744 ENABLE_DARWIN_AT_RPATH_FALSE
=
15748 if test "$enable_vtable_verify" = yes; then
15749 predep_objects_CXX
="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15750 postdep_objects_CXX
="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15754 # libtool variables for C++ shared and position-independent compiles.
15756 # Use glibcxx_lt_pic_flag to designate the automake variable
15757 # used to encapsulate the default libtool approach to creating objects
15758 # with position-independent code. Default: -prefer-pic.
15760 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15761 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15763 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15764 # creating position-independent objects. This varies with the target
15765 # hardware and operating system, but is often: -DPIC -fPIC.
15766 if test "$enable_shared" = yes; then
15767 glibcxx_lt_pic_flag
="-prefer-pic"
15768 glibcxx_compiler_pic_flag
="$lt_prog_compiler_pic_CXX"
15769 glibcxx_compiler_shared_flag
="-D_GLIBCXX_SHARED"
15772 glibcxx_lt_pic_flag
=
15773 glibcxx_compiler_pic_flag
=
15774 glibcxx_compiler_shared_flag
=
15780 # Override the libtool's pic_flag and pic_mode.
15781 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15782 # NB: this impacts --with-pic and --without-pic.
15783 lt_prog_compiler_pic_CXX
="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15786 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15787 postdeps_CXX
=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15789 # Possibly disable most of the library.
15790 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15791 ## than just ignoring the results. Faster /and/ more correct, win win.
15793 # Check whether --enable-hosted-libstdcxx was given.
15794 if test "${enable_hosted_libstdcxx+set}" = set; then :
15795 enableval
=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given
=yes
15798 arm
*-*-symbianelf*)
15799 enable_hosted_libstdcxx
=no
15802 case "${with_newlib}-${with_headers}" in
15803 no-no
) enable_hosted_libstdcxx
=no
;;
15804 *) enable_hosted_libstdcxx
=yes ;;
15811 # Because most configure args are --enable-libstdcxx-foo add an alias
15812 # of that form for --enable-hosted-libstdcxx.
15813 # Check whether --enable-libstdcxx-hosted was given.
15814 if test "${enable_libstdcxx_hosted+set}" = set; then :
15815 enableval
=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15816 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15817 as_fn_error $?
"--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15820 enable_hosted_libstdcxx
=${enableval}
15826 freestanding_flags
=
15827 if test "$enable_hosted_libstdcxx" = no
; then
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15829 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15832 enable_abi_check
=no
15833 enable_libstdcxx_pch
=no
15834 if test "x$with_headers" = xno
; then
15835 freestanding_flags
="-ffreestanding"
15839 hosted_define
=__STDC_HOSTED__
15843 cat >>confdefs.h
<<_ACEOF
15844 #define _GLIBCXX_HOSTED $hosted_define
15847 FREESTANDING_FLAGS
="$freestanding_flags"
15851 # Enable descriptive messages to standard output on termination.
15853 # Check whether --enable-libstdcxx-verbose was given.
15854 if test "${enable_libstdcxx_verbose+set}" = set; then :
15855 enableval
=$enable_libstdcxx_verbose;
15857 enable_libstdcxx_verbose
=yes
15860 if test x
"$enable_libstdcxx_verbose" = xyes
; then
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15864 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15868 cat >>confdefs.h
<<_ACEOF
15869 #define _GLIBCXX_VERBOSE $verbose_define
15874 # Enable compiler support that doesn't require linking.
15876 # Check whether --enable-libstdcxx-pch was given.
15877 if test "${enable_libstdcxx_pch+set}" = set; then :
15878 enableval
=$enable_libstdcxx_pch;
15879 case "$enableval" in
15881 *) as_fn_error $?
"Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15885 enable_libstdcxx_pch
=$is_hosted
15889 if test $enable_libstdcxx_pch = yes; then
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15891 $as_echo_n "checking for compiler with PCH support... " >&6; }
15892 if ${glibcxx_cv_prog_CXX_pch+:} false
; then :
15893 $as_echo_n "(cached) " >&6
15895 ac_save_CXXFLAGS
="$CXXFLAGS"
15896 CXXFLAGS
="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15899 ac_cpp
='$CXXCPP $CPPFLAGS'
15900 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15901 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15902 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15904 echo '#include <math.h>' > conftest.h
15905 if $CXX $CXXFLAGS $CPPFLAGS -x c
++-header conftest.h \
15906 -o conftest.h.gch
1>&5 2>&1 &&
15907 echo '#error "pch failed"' > conftest.h
&&
15908 echo '#include "conftest.h"' > conftest.cc
&&
15909 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc
1>&5 2>&1 ;
15911 glibcxx_cv_prog_CXX_pch
=yes
15913 glibcxx_cv_prog_CXX_pch
=no
15916 CXXFLAGS
=$ac_save_CXXFLAGS
15918 ac_cpp
='$CPP $CPPFLAGS'
15919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15926 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15927 enable_libstdcxx_pch
=$glibcxx_cv_prog_CXX_pch
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15931 $as_echo_n "checking for enabled PCH... " >&6; }
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15933 $as_echo "$enable_libstdcxx_pch" >&6; }
15936 if test $enable_libstdcxx_pch = yes; then
15937 glibcxx_PCHFLAGS
="-include bits/stdc++.h"
15939 glibcxx_PCHFLAGS
=""
15944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15945 $as_echo_n "checking for thread model used by GCC... " >&6; }
15946 target_thread_file
=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15948 $as_echo "$target_thread_file" >&6; }
15950 case $target_thread_file in
15951 aix
) thread_header
=config
/rs6000
/gthr-aix.h
;;
15952 dce
) thread_header
=config
/pa
/gthr-dce.h
;;
15953 gcn
) thread_header
=config
/gcn
/gthr-gcn.h
;;
15954 lynx
) thread_header
=config
/gthr-lynx.h
;;
15955 mipssde
) thread_header
=config
/mips
/gthr-mipssde.h
;;
15956 posix
) thread_header
=gthr-posix.h
;;
15957 rtems
) thread_header
=config
/gthr-rtems.h
;;
15958 single
) thread_header
=gthr-single.h
;;
15959 tpf
) thread_header
=config
/s390
/gthr-tpf.h
;;
15960 vxworks
) thread_header
=config
/gthr-vxworks.h
;;
15961 win32
) thread_header
=config
/i386
/gthr-win32.h
;;
15962 mcf
) thread_header
=config
/i386
/gthr-mcf.h
;;
15970 ac_cpp
='$CXXCPP $CPPFLAGS'
15971 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15972 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15973 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
15975 old_CXXFLAGS
="$CXXFLAGS"
15977 # Do link tests if possible, instead asm tests, limited to some platforms
15978 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15979 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15980 atomic_builtins_link_tests
=no
15981 if test x
$gcc_no_link != xyes
; then
15982 # Can do link tests. Limit to some tested platforms
15984 *-*-linux* |
*-*-uclinux* |
*-*-kfreebsd*-gnu |
*-*-gnu*)
15985 atomic_builtins_link_tests
=yes
15990 if test x
$atomic_builtins_link_tests = xyes
; then
15994 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15997 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15998 if ${glibcxx_cv_atomic_bool+:} false
; then :
15999 $as_echo_n "(cached) " >&6
16002 if test x
$gcc_no_link = xyes
; then
16003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16011 typedef bool atomic_type;
16015 // N.B. __atomic_fetch_add is not supported for bool.
16016 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16018 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16019 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16025 if ac_fn_cxx_try_link
"$LINENO"; then :
16026 glibcxx_cv_atomic_bool
=yes
16028 glibcxx_cv_atomic_bool
=no
16030 rm -f core conftest.err conftest.
$ac_objext \
16031 conftest
$ac_exeext conftest.
$ac_ext
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16035 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16038 $as_echo_n "checking for atomic builtins for short... " >&6; }
16039 if ${glibcxx_cv_atomic_short+:} false
; then :
16040 $as_echo_n "(cached) " >&6
16043 if test x
$gcc_no_link = xyes
; then
16044 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16052 typedef short atomic_type;
16056 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16057 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16059 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16060 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16066 if ac_fn_cxx_try_link
"$LINENO"; then :
16067 glibcxx_cv_atomic_short
=yes
16069 glibcxx_cv_atomic_short
=no
16071 rm -f core conftest.err conftest.
$ac_objext \
16072 conftest
$ac_exeext conftest.
$ac_ext
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16076 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16079 $as_echo_n "checking for atomic builtins for int... " >&6; }
16080 if ${glibcxx_cv_atomic_int+:} false
; then :
16081 $as_echo_n "(cached) " >&6
16084 if test x
$gcc_no_link = xyes
; then
16085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16088 /* end confdefs.h. */
16093 typedef int atomic_type;
16097 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16098 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16100 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16101 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16107 if ac_fn_cxx_try_link
"$LINENO"; then :
16108 glibcxx_cv_atomic_int
=yes
16110 glibcxx_cv_atomic_int
=no
16112 rm -f core conftest.err conftest.
$ac_objext \
16113 conftest
$ac_exeext conftest.
$ac_ext
16116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16117 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16120 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16121 if ${glibcxx_cv_atomic_long_long+:} false
; then :
16122 $as_echo_n "(cached) " >&6
16125 if test x
$gcc_no_link = xyes
; then
16126 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16129 /* end confdefs.h. */
16134 typedef long long atomic_type;
16138 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16139 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16141 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16142 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16148 if ac_fn_cxx_try_link
"$LINENO"; then :
16149 glibcxx_cv_atomic_long_long
=yes
16151 glibcxx_cv_atomic_long_long
=no
16153 rm -f core conftest.err conftest.
$ac_objext \
16154 conftest
$ac_exeext conftest.
$ac_ext
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16158 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16164 # Compile unoptimized.
16167 # Fake what AC_TRY_COMPILE does.
16169 cat > conftest.
$ac_ext << EOF
16170 #line 16170 "configure"
16173 typedef bool atomic_type;
16177 // N.B. __atomic_fetch_add is not supported for bool.
16178 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16180 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16181 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16188 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16190 (eval $ac_compile) 2>&5
16192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16193 test $ac_status = 0; }; then
16194 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
16195 glibcxx_cv_atomic_bool
=no
16197 glibcxx_cv_atomic_bool
=yes
16200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16201 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16204 cat > conftest.
$ac_ext << EOF
16205 #line 16205 "configure"
16208 typedef short atomic_type;
16212 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16213 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16215 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16216 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16223 $as_echo_n "checking for atomic builtins for short... " >&6; }
16224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16225 (eval $ac_compile) 2>&5
16227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16228 test $ac_status = 0; }; then
16229 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
16230 glibcxx_cv_atomic_short
=no
16232 glibcxx_cv_atomic_short
=yes
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16236 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16239 cat > conftest.
$ac_ext << EOF
16240 #line 16240 "configure"
16243 // NB: _Atomic_word not necessarily int.
16244 typedef int atomic_type;
16248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16259 $as_echo_n "checking for atomic builtins for int... " >&6; }
16260 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16261 (eval $ac_compile) 2>&5
16263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16264 test $ac_status = 0; }; then
16265 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
16266 glibcxx_cv_atomic_int
=no
16268 glibcxx_cv_atomic_int
=yes
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16272 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16275 cat > conftest.
$ac_ext << EOF
16276 #line 16276 "configure"
16279 typedef long long atomic_type;
16283 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16284 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16286 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16287 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16294 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16295 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16296 (eval $ac_compile) 2>&5
16298 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16299 test $ac_status = 0; }; then
16300 if grep __atomic_ conftest.s
>/dev
/null
2>&1 ; then
16301 glibcxx_cv_atomic_long_long
=no
16303 glibcxx_cv_atomic_long_long
=yes
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16307 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16312 CXXFLAGS
="$old_CXXFLAGS"
16314 ac_cpp
='$CPP $CPPFLAGS'
16315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16320 # Set atomicity_dir to builtins if all but the long long test above passes,
16321 # or if the builtins were already chosen (e.g. by configure.host).
16322 if { test "$glibcxx_cv_atomic_bool" = yes \
16323 && test "$glibcxx_cv_atomic_short" = yes \
16324 && test "$glibcxx_cv_atomic_int" = yes; } \
16325 ||
test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16327 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16329 atomicity_dir
=cpu
/generic
/atomicity_builtins
16332 # If still generic, set to mutex.
16333 if test $atomicity_dir = "cpu/generic" ; then
16334 atomicity_dir
=cpu
/generic
/atomicity_mutex
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16336 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16337 if test "x$target_thread_file" = xsingle
; then
16338 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16339 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16341 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16344 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16346 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16354 # Check whether --with-libstdcxx-lock-policy was given.
16355 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16356 withval
=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy
=$withval
16358 libstdcxx_atomic_lock_policy
=auto
16362 case "$libstdcxx_atomic_lock_policy" in
16363 atomic|mutex|auto
) ;;
16364 *) as_fn_error $?
"Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16367 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16369 if test x
"$libstdcxx_atomic_lock_policy" = x
"auto"; then
16372 ac_cpp
='$CXXCPP $CPPFLAGS'
16373 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16374 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16375 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16377 ac_save_CXXFLAGS
="$CXXFLAGS"
16379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 #if defined __riscv
16383 # error "Defaulting to mutex-based locks for ABI compatibility"
16385 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16386 # error "No 2-byte compare-and-swap"
16387 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16388 # error "No 4-byte compare-and-swap"
16399 if ac_fn_cxx_try_compile
"$LINENO"; then :
16400 libstdcxx_atomic_lock_policy
=atomic
16402 libstdcxx_atomic_lock_policy
=mutex
16404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16406 ac_cpp
='$CPP $CPPFLAGS'
16407 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16408 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16409 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16411 CXXFLAGS
="$ac_save_CXXFLAGS"
16414 if test x
"$libstdcxx_atomic_lock_policy" = x
"atomic"; then
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16416 $as_echo "atomic" >&6; }
16418 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16422 $as_echo "mutex" >&6; }
16428 # Fake what AC_TRY_COMPILE does, without linking as this is
16429 # unnecessary for this test.
16431 cat > conftest.
$ac_ext << EOF
16432 #line 16432 "configure"
16442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16443 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16445 (eval $ac_compile) 2>&5
16447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16448 test $ac_status = 0; }; then
16450 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16457 $as_echo "$enable_dfp" >&6; }
16464 ac_cpp
='$CXXCPP $CPPFLAGS'
16465 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16466 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16467 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16470 # Fake what AC_TRY_COMPILE does, without linking as this is
16471 # unnecessary for this test.
16473 cat > conftest.
$ac_ext << EOF
16474 #line 16474 "configure"
16475 template<typename T1, typename T2>
16477 { typedef T2 type; };
16479 template<typename T>
16484 typename same<double, __float128>::type f1;
16485 typename same<long double, __float128>::type f2;
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16490 $as_echo_n "checking for __float128... " >&6; }
16491 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16492 (eval $ac_compile) 2>&5
16494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16495 test $ac_status = 0; }; then
16496 enable_float128
=yes
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16501 $as_echo "$enable_float128" >&6; }
16506 ac_cpp
='$CPP $CPPFLAGS'
16507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16512 if test "$enable_float128" = yes; then
16513 port_specific_symbol_files
="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16516 # Checks for compiler support that doesn't require linking.
16518 # All these tests are for C++; save the language and the compiler flags.
16519 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16520 # found in GLIBCXX_CONFIGURE.
16523 ac_cpp
='$CXXCPP $CPPFLAGS'
16524 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16525 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16526 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
16528 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
16529 ac_save_CXXFLAGS
="$CXXFLAGS"
16531 # Check for -ffunction-sections -fdata-sections
16532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16533 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16534 CXXFLAGS
='-g -Werror -ffunction-sections -fdata-sections'
16535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16536 /* end confdefs.h. */
16537 int foo; void bar() { };
16546 if ac_fn_cxx_try_compile
"$LINENO"; then :
16551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16552 if test "$ac_test_CXXFLAGS" = set; then
16553 CXXFLAGS
="$ac_save_CXXFLAGS"
16555 # this is the suspicious part
16558 if test x
"$ac_fdsections" = x
"yes"; then
16559 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16562 $as_echo "$ac_fdsections" >&6; }
16565 ac_cpp
='$CPP $CPPFLAGS'
16566 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16573 # Enable all the variable C++ runtime options that don't require linking.
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16576 $as_echo_n "checking for underlying I/O to use... " >&6; }
16577 # Check whether --enable-cstdio was given.
16578 if test "${enable_cstdio+set}" = set; then :
16579 enableval
=$enable_cstdio;
16580 case "$enableval" in
16581 stdio|stdio_posix|stdio_pure
) ;;
16582 *) as_fn_error $?
"Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16586 enable_cstdio
=stdio
16591 # The only available I/O model is based on stdio, via basic_file_stdio.
16592 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16593 # to get a file descriptor and then uses read(3) and write(3) with it.
16594 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16595 case ${enable_cstdio} in
16597 CSTDIO_H
=config
/io
/c_io_stdio.h
16598 BASIC_FILE_H
=config
/io
/basic_file_stdio.h
16599 BASIC_FILE_CC
=config
/io
/basic_file_stdio.cc
16601 if test "x$enable_cstdio" = "xstdio_pure" ; then
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16603 $as_echo "stdio (without POSIX read/write)" >&6; }
16605 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16609 $as_echo "stdio (with POSIX read/write)" >&6; }
16619 # Check whether --enable-clocale was given.
16620 if test "${enable_clocale+set}" = set; then :
16621 enableval
=$enable_clocale;
16622 case "$enableval" in
16623 generic|gnu|ieee_1003.1
-2001|newlib|
yes|no|auto
) ;;
16624 *) as_fn_error $?
"Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16628 enable_clocale
=auto
16633 # Deal with gettext issues. Default to not using it (=no) until we detect
16634 # support for it later. Let the user turn it off via --e/d, but let that
16635 # default to on for easier handling.
16637 # Check whether --enable-nls was given.
16638 if test "${enable_nls+set}" = set; then :
16639 enableval
=$enable_nls;
16645 # Either a known package, or "auto"
16646 if test $enable_clocale = no ||
test $enable_clocale = yes; then
16647 enable_clocale
=auto
16649 enable_clocale_flag
=$enable_clocale
16651 # Probe for locale model to use if none specified.
16652 # Default to "generic".
16653 if test $enable_clocale_flag = auto
; then
16654 case ${target_os} in
16655 linux
* | gnu
* | kfreebsd
*-gnu | knetbsd
*-gnu)
16656 enable_clocale_flag
=gnu
16659 enable_clocale_flag
=darwin
16662 enable_clocale_flag
=vxworks
16664 dragonfly
* | freebsd
*)
16665 enable_clocale_flag
=dragonfly
16668 enable_clocale_flag
=newlib
16671 if test x
"$with_newlib" = x
"yes"; then
16672 enable_clocale_flag
=newlib
16674 enable_clocale_flag
=generic
16680 # Sanity check model, and test for special functionality.
16681 if test $enable_clocale_flag = gnu
; then
16682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16685 #include <features.h>
16686 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16692 $EGREP "_GLIBCXX_ok" >/dev
/null
2>&1; then :
16693 enable_clocale_flag
=gnu
16695 enable_clocale_flag
=generic
16700 # Set it to scream when it hurts.
16701 ac_save_CFLAGS
="$CFLAGS"
16702 CFLAGS
="-Wimplicit-function-declaration -Werror"
16704 # Use strxfrm_l if available.
16705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16706 /* end confdefs.h. */
16707 #define _GNU_SOURCE 1
16708 #include <string.h>
16709 #include <locale.h>
16713 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16718 if ac_fn_c_try_compile
"$LINENO"; then :
16720 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16725 # Use strerror_l if available.
16726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #define _GNU_SOURCE 1
16729 #include <string.h>
16730 #include <locale.h>
16734 __locale_t loc; strerror_l(5, loc);
16739 if ac_fn_c_try_compile
"$LINENO"; then :
16741 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16746 CFLAGS
="$ac_save_CFLAGS"
16749 # Perhaps use strerror_r if available, and strerror_l isn't.
16750 ac_save_CFLAGS
="$CFLAGS"
16751 CFLAGS
="-Wimplicit-function-declaration -Werror"
16752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16753 /* end confdefs.h. */
16754 #define _GNU_SOURCE 1
16755 #include <string.h>
16756 #include <locale.h>
16760 char s[128]; strerror_r(5, s, 128);
16765 if ac_fn_c_try_compile
"$LINENO"; then :
16767 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16770 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16771 CFLAGS
="$ac_save_CFLAGS"
16773 # Set configure bits for specified locale package
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16775 $as_echo_n "checking for C locale to use... " >&6; }
16776 case ${enable_clocale_flag} in
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16779 $as_echo "generic" >&6; }
16781 CLOCALE_H
=config
/locale
/generic
/c_locale.h
16782 CLOCALE_CC
=config
/locale
/generic
/c_locale.cc
16783 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
16784 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
16785 CCTYPE_CC
=config
/locale
/generic
/ctype_members.cc
16786 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
16787 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
16788 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
16789 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
16790 CTIME_H
=config
/locale
/generic
/time_members.h
16791 CTIME_CC
=config
/locale
/generic
/time_members.cc
16792 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16796 $as_echo "darwin" >&6; }
16798 CLOCALE_H
=config
/locale
/generic
/c_locale.h
16799 CLOCALE_CC
=config
/locale
/generic
/c_locale.cc
16800 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
16801 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
16802 CCTYPE_CC
=config
/locale
/darwin
/ctype_members.cc
16803 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
16804 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
16805 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
16806 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
16807 CTIME_H
=config
/locale
/generic
/time_members.h
16808 CTIME_CC
=config
/locale
/generic
/time_members.cc
16809 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16813 $as_echo "vxworks" >&6; }
16815 CLOCALE_H
=config
/locale
/generic
/c_locale.h
16816 CLOCALE_CC
=config
/locale
/generic
/c_locale.cc
16817 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
16818 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
16819 CCTYPE_CC
=config
/locale
/vxworks
/ctype_members.cc
16820 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
16821 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
16822 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
16823 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
16824 CTIME_H
=config
/locale
/generic
/time_members.h
16825 CTIME_CC
=config
/locale
/generic
/time_members.cc
16826 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16830 $as_echo "dragonfly or freebsd" >&6; }
16832 CLOCALE_H
=config
/locale
/dragonfly
/c_locale.h
16833 CLOCALE_CC
=config
/locale
/dragonfly
/c_locale.cc
16834 CCODECVT_CC
=config
/locale
/dragonfly
/codecvt_members.cc
16835 CCOLLATE_CC
=config
/locale
/dragonfly
/collate_members.cc
16836 CCTYPE_CC
=config
/locale
/dragonfly
/ctype_members.cc
16837 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
16838 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
16839 CMONEY_CC
=config
/locale
/dragonfly
/monetary_members.cc
16840 CNUMERIC_CC
=config
/locale
/dragonfly
/numeric_members.cc
16841 CTIME_H
=config
/locale
/dragonfly
/time_members.h
16842 CTIME_CC
=config
/locale
/dragonfly
/time_members.cc
16843 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16848 $as_echo "gnu" >&6; }
16850 # Declare intention to use gettext, and add support for specific
16852 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16853 ALL_LINGUAS
="de fr"
16855 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16856 # Extract the first word of "msgfmt", so it can be a program name with args.
16857 set dummy msgfmt
; ac_word
=$2
16858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16859 $as_echo_n "checking for $ac_word... " >&6; }
16860 if ${ac_cv_prog_check_msgfmt+:} false
; then :
16861 $as_echo_n "(cached) " >&6
16863 if test -n "$check_msgfmt"; then
16864 ac_cv_prog_check_msgfmt
="$check_msgfmt" # Let the user override the test.
16866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16867 for as_dir
in $PATH
16870 test -z "$as_dir" && as_dir
=.
16871 for ac_exec_ext
in '' $ac_executable_extensions; do
16872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
16873 ac_cv_prog_check_msgfmt
="yes"
16874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16881 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt
="no"
16884 check_msgfmt
=$ac_cv_prog_check_msgfmt
16885 if test -n "$check_msgfmt"; then
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16887 $as_echo "$check_msgfmt" >&6; }
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16890 $as_echo "no" >&6; }
16894 if test x
"$check_msgfmt" = x
"yes" && test x
"$enable_nls" = x
"yes"; then
16897 # Export the build objects.
16898 for ling
in $ALL_LINGUAS; do \
16899 glibcxx_MOFILES
="$glibcxx_MOFILES $ling.mo"; \
16900 glibcxx_POFILES
="$glibcxx_POFILES $ling.po"; \
16905 CLOCALE_H
=config
/locale
/gnu
/c_locale.h
16906 CLOCALE_CC
=config
/locale
/gnu
/c_locale.cc
16907 CCODECVT_CC
=config
/locale
/gnu
/codecvt_members.cc
16908 CCOLLATE_CC
=config
/locale
/gnu
/collate_members.cc
16909 CCTYPE_CC
=config
/locale
/gnu
/ctype_members.cc
16910 CMESSAGES_H
=config
/locale
/gnu
/messages_members.h
16911 CMESSAGES_CC
=config
/locale
/gnu
/messages_members.cc
16912 CMONEY_CC
=config
/locale
/gnu
/monetary_members.cc
16913 CNUMERIC_CC
=config
/locale
/gnu
/numeric_members.cc
16914 CTIME_H
=config
/locale
/gnu
/time_members.h
16915 CTIME_CC
=config
/locale
/gnu
/time_members.cc
16916 CLOCALE_INTERNAL_H
=config
/locale
/gnu
/c
++locale_internal.h
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16920 $as_echo "IEEE 1003.1" >&6; }
16922 CLOCALE_H
=config
/locale
/ieee_1003.1
-2001/c_locale.h
16923 CLOCALE_CC
=config
/locale
/ieee_1003.1
-2001/c_locale.cc
16924 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
16925 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
16926 CCTYPE_CC
=config
/locale
/generic
/ctype_members.cc
16927 CMESSAGES_H
=config
/locale
/ieee_1003.1
-2001/messages_members.h
16928 CMESSAGES_CC
=config
/locale
/ieee_1003.1
-2001/messages_members.cc
16929 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
16930 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
16931 CTIME_H
=config
/locale
/generic
/time_members.h
16932 CTIME_CC
=config
/locale
/generic
/time_members.cc
16933 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16937 $as_echo "newlib" >&6; }
16939 CLOCALE_H
=config
/locale
/generic
/c_locale.h
16940 CLOCALE_CC
=config
/locale
/generic
/c_locale.cc
16941 CCODECVT_CC
=config
/locale
/generic
/codecvt_members.cc
16942 CCOLLATE_CC
=config
/locale
/generic
/collate_members.cc
16943 CCTYPE_CC
=config
/locale
/newlib
/ctype_members.cc
16944 CMESSAGES_H
=config
/locale
/generic
/messages_members.h
16945 CMESSAGES_CC
=config
/locale
/generic
/messages_members.cc
16946 CMONEY_CC
=config
/locale
/generic
/monetary_members.cc
16947 CNUMERIC_CC
=config
/locale
/generic
/numeric_members.cc
16948 CTIME_H
=config
/locale
/generic
/time_members.h
16949 CTIME_CC
=config
/locale
/generic
/time_members.cc
16950 CLOCALE_INTERNAL_H
=config
/locale
/generic
/c
++locale_internal.h
16954 # This is where the testsuite looks for locale catalogs, using the
16955 # -DLOCALEDIR define during testsuite compilation.
16956 glibcxx_localedir
=${glibcxx_builddir}/po
/share
/locale
16959 # A standalone libintl (e.g., GNU libintl) may be in use.
16960 if test $USE_NLS = yes; then
16961 for ac_header
in libintl.h
16963 ac_fn_c_check_header_mongrel
"$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16964 if test "x$ac_cv_header_libintl_h" = xyes
; then :
16965 cat >>confdefs.h
<<_ACEOF
16966 #define HAVE_LIBINTL_H 1
16975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16976 $as_echo_n "checking for library containing gettext... " >&6; }
16977 if ${ac_cv_search_gettext+:} false
; then :
16978 $as_echo_n "(cached) " >&6
16980 ac_func_search_save_LIBS
=$LIBS
16981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16984 /* Override any GCC internal prototype to avoid an error.
16985 Use char because int might match the return type of a GCC
16986 builtin and then its argument prototype would still apply. */
16999 for ac_lib
in '' intl
; do
17000 if test -z "$ac_lib"; then
17001 ac_res
="none required"
17004 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
17006 if test x
$gcc_no_link = xyes
; then
17007 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17009 if ac_fn_c_try_link
"$LINENO"; then :
17010 ac_cv_search_gettext
=$ac_res
17012 rm -f core conftest.err conftest.
$ac_objext \
17014 if ${ac_cv_search_gettext+:} false
; then :
17018 if ${ac_cv_search_gettext+:} false
; then :
17021 ac_cv_search_gettext
=no
17023 rm conftest.
$ac_ext
17024 LIBS
=$ac_func_search_save_LIBS
17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
17027 $as_echo "$ac_cv_search_gettext" >&6; }
17028 ac_res
=$ac_cv_search_gettext
17029 if test "$ac_res" != no
; then :
17030 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
17037 if test $USE_NLS = yes; then
17039 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
17058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
17059 $as_echo_n "checking for std::allocator base class... " >&6; }
17060 # Check whether --enable-libstdcxx-allocator was given.
17061 if test "${enable_libstdcxx_allocator+set}" = set; then :
17062 enableval
=$enable_libstdcxx_allocator;
17063 case "$enableval" in
17064 new|malloc|
yes|no|auto
) ;;
17065 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
17069 enable_libstdcxx_allocator
=auto
17074 # If they didn't use this option switch, or if they specified --enable
17075 # with no specific model, we'll have to look for one. If they
17076 # specified --disable (???), do likewise.
17077 if test $enable_libstdcxx_allocator = no ||
17078 test $enable_libstdcxx_allocator = yes;
17080 enable_libstdcxx_allocator
=auto
17083 # Either a known package, or "auto". Auto implies the default choice
17084 # for a particular platform.
17085 enable_libstdcxx_allocator_flag
=$enable_libstdcxx_allocator
17087 # Probe for host-specific support if no specific model is specified.
17088 # Default to "new".
17089 if test $enable_libstdcxx_allocator_flag = auto
; then
17090 case ${target_os} in
17091 linux
* | gnu
* | kfreebsd
*-gnu | knetbsd
*-gnu)
17092 enable_libstdcxx_allocator_flag
=new
17095 enable_libstdcxx_allocator_flag
=new
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
17100 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
17103 # Set configure bits for specified locale package
17104 case ${enable_libstdcxx_allocator_flag} in
17106 ALLOCATOR_H
=config
/allocator
/malloc_allocator_base.h
17107 ALLOCATOR_NAME
=__gnu_cxx
::malloc_allocator
17110 ALLOCATOR_H
=config
/allocator
/new_allocator_base.h
17111 ALLOCATOR_NAME
=__gnu_cxx
::new_allocator
17120 # Check whether --enable-cheaders-obsolete was given.
17121 if test "${enable_cheaders_obsolete+set}" = set; then :
17122 enableval
=$enable_cheaders_obsolete;
17123 case "$enableval" in
17125 *) as_fn_error $?
"Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
17129 enable_cheaders_obsolete
=no
17133 # Check whether --enable-cheaders was given.
17134 if test "${enable_cheaders+set}" = set; then :
17135 enableval
=$enable_cheaders;
17136 case "$enableval" in
17137 c|c_global|c_std
) ;;
17138 *) as_fn_error $?
"Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
17142 enable_cheaders
=$c_model
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
17147 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
17148 if test $enable_cheaders = c_std
; then
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17150 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17152 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17153 if test $enable_cheaders_obsolete != yes ; then
17154 as_fn_error $?
"use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17158 C_INCLUDE_DIR
='${glibcxx_srcdir}/include/'$enable_cheaders
17160 # Allow overrides to configure.host here.
17161 if test $enable_cheaders = c_global
; then
17162 c_compatibility
=yes
17171 # Check whether --enable-long-long was given.
17172 if test "${enable_long_long+set}" = set; then :
17173 enableval
=$enable_long_long;
17174 case "$enableval" in
17176 *) as_fn_error $?
"Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17180 enable_long_long
=yes
17184 if test $enable_long_long = yes; then
17186 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17190 $as_echo_n "checking for enabled long long specializations... " >&6; }
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17192 $as_echo "$enable_long_long" >&6; }
17195 # Check whether --enable-wchar_t was given.
17196 if test "${enable_wchar_t+set}" = set; then :
17197 enableval
=$enable_wchar_t;
17198 case "$enableval" in
17200 *) as_fn_error $?
"Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17209 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17210 for ac_header
in wchar.h
17212 ac_fn_c_check_header_mongrel
"$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17213 if test "x$ac_cv_header_wchar_h" = xyes
; then :
17214 cat >>confdefs.h
<<_ACEOF
17215 #define HAVE_WCHAR_H 1
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17225 $as_echo_n "checking for mbstate_t... " >&6; }
17226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17227 /* end confdefs.h. */
17232 mbstate_t teststate;
17237 if ac_fn_c_try_compile
"$LINENO"; then :
17242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17244 $as_echo "$have_mbstate_t" >&6; }
17245 if test x
"$have_mbstate_t" = xyes
; then
17247 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17251 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17253 for ac_header
in wctype.h
17255 ac_fn_c_check_header_mongrel
"$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17256 if test "x$ac_cv_header_wctype_h" = xyes
; then :
17257 cat >>confdefs.h
<<_ACEOF
17258 #define HAVE_WCTYPE_H 1
17260 ac_has_wctype_h
=yes
17268 if test x
"$enable_wchar_t" = x
"yes"; then
17272 ac_cpp
='$CXXCPP $CPPFLAGS'
17273 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17274 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17275 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17278 if test x
"$ac_has_wchar_h" = xyes
&&
17279 test x
"$ac_has_wctype_h" = xyes
; then
17280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17283 #include <stddef.h>
17286 long j = WCHAR_MIN;
17287 long k = WCHAR_MAX;
17352 if ac_fn_cxx_try_compile
"$LINENO"; then :
17357 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17363 ac_cpp
='$CPP $CPPFLAGS'
17364 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17365 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17366 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
17370 if test x
"$enable_wchar_t" = x
"yes"; then
17372 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17377 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17379 $as_echo "$enable_wchar_t" >&6; }
17383 # Check whether --enable-c99 was given.
17384 if test "${enable_c99+set}" = set; then :
17385 enableval
=$enable_c99;
17386 case "$enableval" in
17388 *) as_fn_error $?
"Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17397 if test x
"$enable_c99" = x
"yes"; then
17400 ac_cpp
='$CXXCPP $CPPFLAGS'
17401 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17402 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17403 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
17406 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17407 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17408 # to be spuriously enabled.
17409 ac_save_CXXFLAGS
="$CXXFLAGS"
17410 CXXFLAGS
="$CXXFLAGS -std=c++98"
17411 ac_save_LIBS
="$LIBS"
17412 ac_save_gcc_no_link
="$gcc_no_link"
17414 if test x
$gcc_no_link != xyes
; then
17415 # Use -fno-exceptions to that the C driver can link these tests without
17416 # hitting undefined references to personality routines.
17417 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17419 $as_echo_n "checking for sin in -lm... " >&6; }
17420 if ${ac_cv_lib_m_sin+:} false
; then :
17421 $as_echo_n "(cached) " >&6
17423 ac_check_lib_save_LIBS
=$LIBS
17425 if test x
$gcc_no_link = xyes
; then
17426 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17429 /* end confdefs.h. */
17431 /* Override any GCC internal prototype to avoid an error.
17432 Use char because int might match the return type of a GCC
17433 builtin and then its argument prototype would still apply. */
17446 if ac_fn_cxx_try_link
"$LINENO"; then :
17447 ac_cv_lib_m_sin
=yes
17451 rm -f core conftest.err conftest.
$ac_objext \
17452 conftest
$ac_exeext conftest.
$ac_ext
17453 LIBS
=$ac_check_lib_save_LIBS
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17456 $as_echo "$ac_cv_lib_m_sin" >&6; }
17457 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17461 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17468 # Check for the existence of <math.h> functions used if C99 is enabled.
17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17470 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17471 if ${glibcxx_cv_c99_math_cxx98+:} false
; then :
17472 $as_echo_n "(cached) " >&6
17475 if test x
$gcc_no_link = xyes
; then
17476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17477 /* end confdefs.h. */
17479 volatile double d1, d2;
17484 i = fpclassify(d1);
17490 i = isgreater(d1, d2);
17491 i = isgreaterequal(d1, d2);
17492 i = isless(d1, d2);
17493 i = islessequal(d1, d2);
17494 i = islessgreater(d1, d2);
17495 i = islessgreater(d1, d2);
17496 i = isunordered(d1, d2);
17502 if ac_fn_cxx_try_compile
"$LINENO"; then :
17503 glibcxx_cv_c99_math_cxx98
=yes
17505 glibcxx_cv_c99_math_cxx98
=no
17507 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17509 if test x
$gcc_no_link = xyes
; then
17510 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17513 /* end confdefs.h. */
17515 volatile double d1, d2;
17520 i = fpclassify(d1);
17526 i = isgreater(d1, d2);
17527 i = isgreaterequal(d1, d2);
17528 i = isless(d1, d2);
17529 i = islessequal(d1, d2);
17530 i = islessgreater(d1, d2);
17531 i = islessgreater(d1, d2);
17532 i = isunordered(d1, d2);
17538 if ac_fn_cxx_try_link
"$LINENO"; then :
17539 glibcxx_cv_c99_math_cxx98
=yes
17541 glibcxx_cv_c99_math_cxx98
=no
17543 rm -f core conftest.err conftest.
$ac_objext \
17544 conftest
$ac_exeext conftest.
$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17549 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17550 if test x
"$glibcxx_cv_c99_math_cxx98" = x
"yes"; then
17552 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17556 # Check for the existence of <complex.h> complex math functions.
17557 # This is necessary even though libstdc++ uses the builtin versions
17558 # of these functions, because if the builtin cannot be used, a reference
17559 # to the library function is emitted.
17560 for ac_header
in tgmath.h
17562 ac_fn_cxx_check_header_mongrel
"$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17563 if test "x$ac_cv_header_tgmath_h" = xyes
; then :
17564 cat >>confdefs.h
<<_ACEOF
17565 #define HAVE_TGMATH_H 1
17567 ac_has_tgmath_h
=yes
17574 for ac_header
in complex.h
17576 ac_fn_cxx_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17577 if test "x$ac_cv_header_complex_h" = xyes
; then :
17578 cat >>confdefs.h
<<_ACEOF
17579 #define HAVE_COMPLEX_H 1
17581 ac_has_complex_h
=yes
17583 ac_has_complex_h
=no
17588 if test x
"$ac_has_complex_h" = x
"yes"; then
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17590 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17591 if ${glibcxx_cv_c99_complex_cxx98+:} false
; then :
17592 $as_echo_n "(cached) " >&6
17595 if test x
$gcc_no_link = xyes
; then
17596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17597 /* end confdefs.h. */
17598 #include <complex.h>
17599 typedef __complex__ float float_type;
17600 typedef __complex__ double double_type;
17601 typedef __complex__ long double ld_type;
17602 volatile float_type tmpf;
17603 volatile double_type tmpd;
17604 volatile ld_type tmpld;
17607 volatile long double ld;
17613 tmpf = ccosf(tmpf);
17614 tmpf = ccoshf(tmpf);
17615 tmpf = cexpf(tmpf);
17616 tmpf = clogf(tmpf);
17617 tmpf = csinf(tmpf);
17618 tmpf = csinhf(tmpf);
17619 tmpf = csqrtf(tmpf);
17620 tmpf = ctanf(tmpf);
17621 tmpf = ctanhf(tmpf);
17622 tmpf = cpowf(tmpf, tmpf);
17623 tmpf = cprojf(tmpf);
17627 tmpd = ccosh(tmpd);
17631 tmpd = csinh(tmpd);
17632 tmpd = csqrt(tmpd);
17634 tmpd = ctanh(tmpd);
17635 tmpd = cpow(tmpd, tmpd);
17636 tmpd = cproj(tmpd);
17639 tmpld = ccosl(tmpld);
17640 tmpld = ccoshl(tmpld);
17641 tmpld = cexpl(tmpld);
17642 tmpld = clogl(tmpld);
17643 tmpld = csinl(tmpld);
17644 tmpld = csinhl(tmpld);
17645 tmpld = csqrtl(tmpld);
17646 tmpld = ctanl(tmpld);
17647 tmpld = ctanhl(tmpld);
17648 tmpld = cpowl(tmpld, tmpld);
17649 tmpld = cprojl(tmpld);
17655 if ac_fn_cxx_try_compile
"$LINENO"; then :
17656 glibcxx_cv_c99_complex_cxx98
=yes
17658 glibcxx_cv_c99_complex_cxx98
=no
17660 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17662 if test x
$gcc_no_link = xyes
; then
17663 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <complex.h>
17668 typedef __complex__ float float_type;
17669 typedef __complex__ double double_type;
17670 typedef __complex__ long double ld_type;
17671 volatile float_type tmpf;
17672 volatile double_type tmpd;
17673 volatile ld_type tmpld;
17676 volatile long double ld;
17682 tmpf = ccosf(tmpf);
17683 tmpf = ccoshf(tmpf);
17684 tmpf = cexpf(tmpf);
17685 tmpf = clogf(tmpf);
17686 tmpf = csinf(tmpf);
17687 tmpf = csinhf(tmpf);
17688 tmpf = csqrtf(tmpf);
17689 tmpf = ctanf(tmpf);
17690 tmpf = ctanhf(tmpf);
17691 tmpf = cpowf(tmpf, tmpf);
17692 tmpf = cprojf(tmpf);
17696 tmpd = ccosh(tmpd);
17700 tmpd = csinh(tmpd);
17701 tmpd = csqrt(tmpd);
17703 tmpd = ctanh(tmpd);
17704 tmpd = cpow(tmpd, tmpd);
17705 tmpd = cproj(tmpd);
17708 tmpld = ccosl(tmpld);
17709 tmpld = ccoshl(tmpld);
17710 tmpld = cexpl(tmpld);
17711 tmpld = clogl(tmpld);
17712 tmpld = csinl(tmpld);
17713 tmpld = csinhl(tmpld);
17714 tmpld = csqrtl(tmpld);
17715 tmpld = ctanl(tmpld);
17716 tmpld = ctanhl(tmpld);
17717 tmpld = cpowl(tmpld, tmpld);
17718 tmpld = cprojl(tmpld);
17724 if ac_fn_cxx_try_link
"$LINENO"; then :
17725 glibcxx_cv_c99_complex_cxx98
=yes
17727 glibcxx_cv_c99_complex_cxx98
=no
17729 rm -f core conftest.err conftest.
$ac_objext \
17730 conftest
$ac_exeext conftest.
$ac_ext
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17735 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17737 if test x
"$glibcxx_cv_c99_complex_cxx98" = x
"yes"; then
17739 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17743 # Check for the existence in <stdio.h> of vscanf, et. al.
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17745 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17746 if ${glibcxx_cv_c99_stdio_cxx98+:} false
; then :
17747 $as_echo_n "(cached) " >&6
17750 if test x
$gcc_no_link = xyes
; then
17751 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17752 /* end confdefs.h. */
17754 #include <stdarg.h>
17755 void foo(char* fmt, ...)
17757 va_list args; va_start(args, fmt);
17758 vfscanf(stderr, "%i", args);
17759 vscanf("%i", args);
17760 vsnprintf(fmt, 0, "%i", args);
17761 vsscanf(fmt, "%i", args);
17762 snprintf(fmt, 0, "%i", 1);
17772 if ac_fn_cxx_try_compile
"$LINENO"; then :
17773 glibcxx_cv_c99_stdio_cxx98
=yes
17775 glibcxx_cv_c99_stdio_cxx98
=no
17777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17779 if test x
$gcc_no_link = xyes
; then
17780 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17783 /* end confdefs.h. */
17785 #include <stdarg.h>
17786 void foo(char* fmt, ...)
17788 va_list args; va_start(args, fmt);
17789 vfscanf(stderr, "%i", args);
17790 vscanf("%i", args);
17791 vsnprintf(fmt, 0, "%i", args);
17792 vsscanf(fmt, "%i", args);
17793 snprintf(fmt, 0, "%i", 1);
17803 if ac_fn_cxx_try_link
"$LINENO"; then :
17804 glibcxx_cv_c99_stdio_cxx98
=yes
17806 glibcxx_cv_c99_stdio_cxx98
=no
17808 rm -f core conftest.err conftest.
$ac_objext \
17809 conftest
$ac_exeext conftest.
$ac_ext
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17814 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17815 if test x
"$glibcxx_cv_c99_stdio_cxx98" = x
"yes"; then
17817 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17821 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17823 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17824 if ${glibcxx_cv_c99_stdlib_cxx98+:} false
; then :
17825 $as_echo_n "(cached) " >&6
17828 if test x
$gcc_no_link = xyes
; then
17829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17830 /* end confdefs.h. */
17831 #include <stdlib.h>
17833 volatile long double ld;
17834 volatile unsigned long long ll;
17840 f = strtof("gnu", &tmp);
17841 ld = strtold("gnu", &tmp);
17842 ll = strtoll("gnu", &tmp, 10);
17843 ll = strtoull("gnu", &tmp, 10);
17845 mydivt = lldiv(10,1);
17855 if ac_fn_cxx_try_compile
"$LINENO"; then :
17856 glibcxx_cv_c99_stdlib_cxx98
=yes
17858 glibcxx_cv_c99_stdlib_cxx98
=no
17860 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17862 if test x
$gcc_no_link = xyes
; then
17863 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17867 #include <stdlib.h>
17869 volatile long double ld;
17870 volatile unsigned long long ll;
17876 f = strtof("gnu", &tmp);
17877 ld = strtold("gnu", &tmp);
17878 ll = strtoll("gnu", &tmp, 10);
17879 ll = strtoull("gnu", &tmp, 10);
17881 mydivt = lldiv(10,1);
17891 if ac_fn_cxx_try_link
"$LINENO"; then :
17892 glibcxx_cv_c99_stdlib_cxx98
=yes
17894 glibcxx_cv_c99_stdlib_cxx98
=no
17896 rm -f core conftest.err conftest.
$ac_objext \
17897 conftest
$ac_exeext conftest.
$ac_ext
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17902 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17903 if test x
"$glibcxx_cv_c99_stdlib_cxx98" = x
"yes"; then
17905 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17909 # Check for the existence in <wchar.h> of wcstold, etc.
17910 if test x
"$ac_has_wchar_h" = xyes
&&
17911 test x
"$ac_has_wctype_h" = xyes
; then
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17913 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17914 if ${glibcxx_cv_c99_wchar_cxx98+:} false
; then :
17915 $as_echo_n "(cached) " >&6
17918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17936 if ac_fn_cxx_try_compile
"$LINENO"; then :
17937 glibcxx_cv_c99_wchar_cxx98
=yes
17939 glibcxx_cv_c99_wchar_cxx98
=no
17941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17945 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17947 # Checks for wide character functions that may not be present.
17948 # Injection of these is wrapped with guard macros.
17949 # NB: only put functions here, instead of immediately above, if
17950 # absolutely necessary.
17951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17952 /* end confdefs.h. */
17954 namespace test { using ::vfwscanf; }
17963 if ac_fn_cxx_try_compile
"$LINENO"; then :
17965 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17971 /* end confdefs.h. */
17973 namespace test { using ::vswscanf; }
17982 if ac_fn_cxx_try_compile
"$LINENO"; then :
17984 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17992 namespace test { using ::vwscanf; }
18001 if ac_fn_cxx_try_compile
"$LINENO"; then :
18003 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18009 /* end confdefs.h. */
18011 namespace test { using ::wcstof; }
18020 if ac_fn_cxx_try_compile
"$LINENO"; then :
18022 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18028 /* end confdefs.h. */
18029 #include <wctype.h>
18033 wint_t t; int i = iswblank(t);
18038 if ac_fn_cxx_try_compile
"$LINENO"; then :
18040 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18045 if test x
"$glibcxx_cv_c99_wchar_cxx98" = x
"yes"; then
18047 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
18052 # Option parsed, now set things appropriately.
18053 if test x
"$glibcxx_cv_c99_math_cxx98" = x
"no" ||
18054 test x
"$glibcxx_cv_c99_complex_cxx98" = x
"no" ||
18055 test x
"$glibcxx_cv_c99_stdio_cxx98" = x
"no" ||
18056 test x
"$glibcxx_cv_c99_stdlib_cxx98" = x
"no" ||
18057 test x
"$glibcxx_cv_c99_wchar_cxx98" = x
"no"; then
18061 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
18065 gcc_no_link
="$ac_save_gcc_no_link"
18066 LIBS
="$ac_save_LIBS"
18067 CXXFLAGS
="$ac_save_CXXFLAGS"
18069 ac_cpp
='$CPP $CPPFLAGS'
18070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
18077 ac_cpp
='$CXXCPP $CPPFLAGS'
18078 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18079 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18080 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
18083 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
18084 # For the reasons given above we use -std=c++11 not -std=gnu++11.
18085 ac_save_CXXFLAGS
="$CXXFLAGS"
18086 CXXFLAGS
="$CXXFLAGS -std=c++11"
18087 ac_save_LIBS
="$LIBS"
18088 ac_save_gcc_no_link
="$gcc_no_link"
18090 if test x
$gcc_no_link != xyes
; then
18091 # Use -fno-exceptions to that the C driver can link these tests without
18092 # hitting undefined references to personality routines.
18093 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
18095 $as_echo_n "checking for sin in -lm... " >&6; }
18096 if ${ac_cv_lib_m_sin+:} false
; then :
18097 $as_echo_n "(cached) " >&6
18099 ac_check_lib_save_LIBS
=$LIBS
18101 if test x
$gcc_no_link = xyes
; then
18102 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18105 /* end confdefs.h. */
18107 /* Override any GCC internal prototype to avoid an error.
18108 Use char because int might match the return type of a GCC
18109 builtin and then its argument prototype would still apply. */
18122 if ac_fn_cxx_try_link
"$LINENO"; then :
18123 ac_cv_lib_m_sin
=yes
18127 rm -f core conftest.err conftest.
$ac_objext \
18128 conftest
$ac_exeext conftest.
$ac_ext
18129 LIBS
=$ac_check_lib_save_LIBS
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
18132 $as_echo "$ac_cv_lib_m_sin" >&6; }
18133 if test "x$ac_cv_lib_m_sin" = xyes
; then :
18137 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
18144 # Check for the existence of <stdint.h> types.
18145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
18146 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
18147 if ${glibcxx_cv_c99_stdint+:} false
; then :
18148 $as_echo_n "(cached) " >&6
18151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18152 /* end confdefs.h. */
18153 #define __STDC_LIMIT_MACROS
18154 #define __STDC_CONSTANT_MACROS
18155 #include <stdint.h>
18159 typedef int8_t my_int8_t;
18160 my_int8_t i8 = INT8_MIN;
18162 typedef int16_t my_int16_t;
18163 my_int16_t i16 = INT16_MIN;
18165 typedef int32_t my_int32_t;
18166 my_int32_t i32 = INT32_MIN;
18168 typedef int64_t my_int64_t;
18169 my_int64_t i64 = INT64_MIN;
18171 typedef int_fast8_t my_int_fast8_t;
18172 my_int_fast8_t if8 = INT_FAST8_MIN;
18173 if8 = INT_FAST8_MAX;
18174 typedef int_fast16_t my_int_fast16_t;
18175 my_int_fast16_t if16 = INT_FAST16_MIN;
18176 if16 = INT_FAST16_MAX;
18177 typedef int_fast32_t my_int_fast32_t;
18178 my_int_fast32_t if32 = INT_FAST32_MIN;
18179 if32 = INT_FAST32_MAX;
18180 typedef int_fast64_t my_int_fast64_t;
18181 my_int_fast64_t if64 = INT_FAST64_MIN;
18182 if64 = INT_FAST64_MAX;
18183 typedef int_least8_t my_int_least8_t;
18184 my_int_least8_t il8 = INT_LEAST8_MIN;
18185 il8 = INT_LEAST8_MAX;
18186 typedef int_least16_t my_int_least16_t;
18187 my_int_least16_t il16 = INT_LEAST16_MIN;
18188 il16 = INT_LEAST16_MAX;
18189 typedef int_least32_t my_int_least32_t;
18190 my_int_least32_t il32 = INT_LEAST32_MIN;
18191 il32 = INT_LEAST32_MAX;
18192 typedef int_least64_t my_int_least64_t;
18193 my_int_least64_t il64 = INT_LEAST64_MIN;
18194 il64 = INT_LEAST64_MAX;
18195 typedef intmax_t my_intmax_t;
18196 my_intmax_t im = INTMAX_MAX;
18198 typedef intptr_t my_intptr_t;
18199 my_intptr_t ip = INTPTR_MAX;
18201 typedef uint8_t my_uint8_t;
18202 my_uint8_t ui8 = UINT8_MAX;
18204 typedef uint16_t my_uint16_t;
18205 my_uint16_t ui16 = UINT16_MAX;
18207 typedef uint32_t my_uint32_t;
18208 my_uint32_t ui32 = UINT32_MAX;
18210 typedef uint64_t my_uint64_t;
18211 my_uint64_t ui64 = UINT64_MAX;
18213 typedef uint_fast8_t my_uint_fast8_t;
18214 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18215 uif8 = UINT_FAST8_MAX;
18216 typedef uint_fast16_t my_uint_fast16_t;
18217 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18218 uif16 = UINT_FAST16_MAX;
18219 typedef uint_fast32_t my_uint_fast32_t;
18220 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18221 uif32 = UINT_FAST32_MAX;
18222 typedef uint_fast64_t my_uint_fast64_t;
18223 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18224 uif64 = UINT_FAST64_MAX;
18225 typedef uint_least8_t my_uint_least8_t;
18226 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18227 uil8 = UINT_LEAST8_MAX;
18228 typedef uint_least16_t my_uint_least16_t;
18229 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18230 uil16 = UINT_LEAST16_MAX;
18231 typedef uint_least32_t my_uint_least32_t;
18232 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18233 uil32 = UINT_LEAST32_MAX;
18234 typedef uint_least64_t my_uint_least64_t;
18235 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18236 uil64 = UINT_LEAST64_MAX;
18237 typedef uintmax_t my_uintmax_t;
18238 my_uintmax_t uim = UINTMAX_MAX;
18240 typedef uintptr_t my_uintptr_t;
18241 my_uintptr_t uip = UINTPTR_MAX;
18248 if ac_fn_cxx_try_compile
"$LINENO"; then :
18249 glibcxx_cv_c99_stdint
=yes
18251 glibcxx_cv_c99_stdint
=no
18253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18257 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18258 if test x
"$glibcxx_cv_c99_stdint" = x
"yes"; then
18260 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18264 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18265 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18266 ac_c99_inttypes
=no
;
18267 if test x
"$glibcxx_cv_c99_stdint" = x
"yes"; then
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18269 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <inttypes.h>
18276 intmax_t i, numer, denom, base;
18279 intmax_t ret = imaxabs(i);
18280 imaxdiv_t dret = imaxdiv(numer, denom);
18281 ret = strtoimax(s, endptr, base);
18282 uintmax_t uret = strtoumax(s, endptr, base);
18288 if ac_fn_cxx_try_compile
"$LINENO"; then :
18289 ac_c99_inttypes
=yes
18293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18295 $as_echo "$ac_c99_inttypes" >&6; }
18297 if test x
"$ac_c99_inttypes" = x
"yes"; then
18299 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18303 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18304 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18305 ac_c99_inttypes_wchar_t
=no
;
18306 if test x
"$glibcxx_cv_c99_stdint" = x
"yes"; then
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18308 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18310 /* end confdefs.h. */
18311 #include <inttypes.h>
18318 intmax_t ret = wcstoimax(s, endptr, base);
18319 uintmax_t uret = wcstoumax(s, endptr, base);
18325 if ac_fn_cxx_try_compile
"$LINENO"; then :
18326 ac_c99_inttypes_wchar_t
=yes
18328 ac_c99_inttypes_wchar_t
=no
18330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18332 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18334 if test x
"$ac_c99_inttypes_wchar_t" = x
"yes"; then
18336 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18340 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18342 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18343 if ${glibcxx_cv_c99_math_cxx11+:} false
; then :
18344 $as_echo_n "(cached) " >&6
18347 if test x
$gcc_no_link = xyes
; then
18348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18349 /* end confdefs.h. */
18351 volatile double d1, d2;
18356 i = fpclassify(d1);
18362 i = isgreater(d1, d2);
18363 i = isgreaterequal(d1, d2);
18364 i = isless(d1, d2);
18365 i = islessequal(d1, d2);
18366 i = islessgreater(d1, d2);
18367 i = islessgreater(d1, d2);
18368 i = isunordered(d1, d2);
18374 if ac_fn_cxx_try_compile
"$LINENO"; then :
18375 glibcxx_cv_c99_math_cxx11
=yes
18377 glibcxx_cv_c99_math_cxx11
=no
18379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18381 if test x
$gcc_no_link = xyes
; then
18382 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18385 /* end confdefs.h. */
18387 volatile double d1, d2;
18392 i = fpclassify(d1);
18398 i = isgreater(d1, d2);
18399 i = isgreaterequal(d1, d2);
18400 i = isless(d1, d2);
18401 i = islessequal(d1, d2);
18402 i = islessgreater(d1, d2);
18403 i = islessgreater(d1, d2);
18404 i = isunordered(d1, d2);
18410 if ac_fn_cxx_try_link
"$LINENO"; then :
18411 glibcxx_cv_c99_math_cxx11
=yes
18413 glibcxx_cv_c99_math_cxx11
=no
18415 rm -f core conftest.err conftest.
$ac_objext \
18416 conftest
$ac_exeext conftest.
$ac_ext
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18421 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18422 if test x
"$glibcxx_cv_c99_math_cxx11" = x
"yes"; then
18424 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18428 # Check for the existence of <math.h> typedefs.
18429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18430 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18431 if ${glibcxx_cv_c99_flt_eval_types+:} false
; then :
18432 $as_echo_n "(cached) " >&6
18435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18436 /* end confdefs.h. */
18442 typedef double_t my_double_t;
18443 typedef float_t my_float_t;
18449 if ac_fn_cxx_try_compile
"$LINENO"; then :
18450 glibcxx_cv_c99_flt_eval_types
=yes
18452 glibcxx_cv_c99_flt_eval_types
=no
18454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18458 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18459 if test x
"$glibcxx_cv_c99_flt_eval_types" = x
"yes"; then
18461 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18465 # Check for the existence of <math.h> functions.
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18467 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18468 if ${glibcxx_cv_c99_math_funcs+:} false
; then :
18469 $as_echo_n "(cached) " >&6
18472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18489 // Exponential and logarithmic
18509 scalblnf(0.0f, 0l);
18510 scalblnl(0.0l, 0l);
18514 // Power and absolute-value
18519 hypotf(0.0f, 0.0f);
18520 hypotl(0.0l, 0.0l);
18550 #ifndef __APPLE__ /* see below */
18562 remainder(0.0, 0.0);
18563 remainderf(0.0f, 0.0f);
18564 remainderl(0.0l, 0.0l);
18565 remquo(0.0, 0.0, 0);
18566 remquof(0.0f, 0.0f, 0);
18567 remquol(0.0l, 0.0l, 0);
18569 copysign(0.0, 0.0);
18570 copysignf(0.0f, 0.0f);
18571 copysignl(0.0l, 0.0l);
18575 nextafter(0.0, 0.0);
18576 nextafterf(0.0f, 0.0f);
18577 nextafterl(0.0l, 0.0l);
18578 nexttoward(0.0, 0.0);
18579 nexttowardf(0.0f, 0.0f);
18580 nexttowardl(0.0l, 0.0l);
18581 // Max, min, positive difference
18592 fma(0.0, 0.0, 0.0);
18593 fmaf(0.0f, 0.0f, 0.0f);
18594 fmal(0.0l, 0.0l, 0.0l);
18600 if ac_fn_cxx_try_compile
"$LINENO"; then :
18601 glibcxx_cv_c99_math_funcs
=yes
18603 glibcxx_cv_c99_math_funcs
=no
18605 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18609 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18610 if test x
"$glibcxx_cv_c99_math_funcs" = x
"yes"; then
18612 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18615 case "${target_os}" in
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18618 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18619 if ${glibcxx_cv_c99_math_llround+:} false
; then :
18620 $as_echo_n "(cached) " >&6
18623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18624 /* end confdefs.h. */
18640 if ac_fn_cxx_try_compile
"$LINENO"; then :
18641 glibcxx_cv_c99_math_llround
=yes
18643 glibcxx_cv_c99_math_llround
=no
18645 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18649 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18652 if test x
"$glibcxx_cv_c99_math_llround" = x
"no"; then
18654 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18659 # Check for the existence of <complex.h> complex math functions.
18660 # This is necessary even though libstdc++ uses the builtin versions
18661 # of these functions, because if the builtin cannot be used, a reference
18662 # to the library function is emitted.
18663 for ac_header
in tgmath.h
18665 ac_fn_cxx_check_header_mongrel
"$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18666 if test "x$ac_cv_header_tgmath_h" = xyes
; then :
18667 cat >>confdefs.h
<<_ACEOF
18668 #define HAVE_TGMATH_H 1
18670 ac_has_tgmath_h
=yes
18677 for ac_header
in complex.h
18679 ac_fn_cxx_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18680 if test "x$ac_cv_header_complex_h" = xyes
; then :
18681 cat >>confdefs.h
<<_ACEOF
18682 #define HAVE_COMPLEX_H 1
18684 ac_has_complex_h
=yes
18686 ac_has_complex_h
=no
18691 if test x
"$ac_has_complex_h" = x
"yes"; then
18692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18693 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18694 if ${glibcxx_cv_c99_complex_cxx11+:} false
; then :
18695 $as_echo_n "(cached) " >&6
18698 if test x
$gcc_no_link = xyes
; then
18699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 #include <complex.h>
18702 typedef __complex__ float float_type;
18703 typedef __complex__ double double_type;
18704 typedef __complex__ long double ld_type;
18705 volatile float_type tmpf;
18706 volatile double_type tmpd;
18707 volatile ld_type tmpld;
18710 volatile long double ld;
18716 tmpf = ccosf(tmpf);
18717 tmpf = ccoshf(tmpf);
18718 tmpf = cexpf(tmpf);
18719 tmpf = clogf(tmpf);
18720 tmpf = csinf(tmpf);
18721 tmpf = csinhf(tmpf);
18722 tmpf = csqrtf(tmpf);
18723 tmpf = ctanf(tmpf);
18724 tmpf = ctanhf(tmpf);
18725 tmpf = cpowf(tmpf, tmpf);
18726 tmpf = cprojf(tmpf);
18730 tmpd = ccosh(tmpd);
18734 tmpd = csinh(tmpd);
18735 tmpd = csqrt(tmpd);
18737 tmpd = ctanh(tmpd);
18738 tmpd = cpow(tmpd, tmpd);
18739 tmpd = cproj(tmpd);
18742 tmpld = ccosl(tmpld);
18743 tmpld = ccoshl(tmpld);
18744 tmpld = cexpl(tmpld);
18745 tmpld = clogl(tmpld);
18746 tmpld = csinl(tmpld);
18747 tmpld = csinhl(tmpld);
18748 tmpld = csqrtl(tmpld);
18749 tmpld = ctanl(tmpld);
18750 tmpld = ctanhl(tmpld);
18751 tmpld = cpowl(tmpld, tmpld);
18752 tmpld = cprojl(tmpld);
18758 if ac_fn_cxx_try_compile
"$LINENO"; then :
18759 glibcxx_cv_c99_complex_cxx11
=yes
18761 glibcxx_cv_c99_complex_cxx11
=no
18763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18765 if test x
$gcc_no_link = xyes
; then
18766 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18769 /* end confdefs.h. */
18770 #include <complex.h>
18771 typedef __complex__ float float_type;
18772 typedef __complex__ double double_type;
18773 typedef __complex__ long double ld_type;
18774 volatile float_type tmpf;
18775 volatile double_type tmpd;
18776 volatile ld_type tmpld;
18779 volatile long double ld;
18785 tmpf = ccosf(tmpf);
18786 tmpf = ccoshf(tmpf);
18787 tmpf = cexpf(tmpf);
18788 tmpf = clogf(tmpf);
18789 tmpf = csinf(tmpf);
18790 tmpf = csinhf(tmpf);
18791 tmpf = csqrtf(tmpf);
18792 tmpf = ctanf(tmpf);
18793 tmpf = ctanhf(tmpf);
18794 tmpf = cpowf(tmpf, tmpf);
18795 tmpf = cprojf(tmpf);
18799 tmpd = ccosh(tmpd);
18803 tmpd = csinh(tmpd);
18804 tmpd = csqrt(tmpd);
18806 tmpd = ctanh(tmpd);
18807 tmpd = cpow(tmpd, tmpd);
18808 tmpd = cproj(tmpd);
18811 tmpld = ccosl(tmpld);
18812 tmpld = ccoshl(tmpld);
18813 tmpld = cexpl(tmpld);
18814 tmpld = clogl(tmpld);
18815 tmpld = csinl(tmpld);
18816 tmpld = csinhl(tmpld);
18817 tmpld = csqrtl(tmpld);
18818 tmpld = ctanl(tmpld);
18819 tmpld = ctanhl(tmpld);
18820 tmpld = cpowl(tmpld, tmpld);
18821 tmpld = cprojl(tmpld);
18827 if ac_fn_cxx_try_link
"$LINENO"; then :
18828 glibcxx_cv_c99_complex_cxx11
=yes
18830 glibcxx_cv_c99_complex_cxx11
=no
18832 rm -f core conftest.err conftest.
$ac_objext \
18833 conftest
$ac_exeext conftest.
$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18838 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18840 if test x
"$glibcxx_cv_c99_complex_cxx11" = x
"yes"; then
18842 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18846 # Check for the existence of <complex.h> complex inverse trigonometric
18847 # math functions used by <complex> for C++11 and later.
18848 ac_c99_complex_arc
=no
;
18849 if test x
"$ac_has_complex_h" = x
"yes"; then
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18851 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18853 /* end confdefs.h. */
18854 #include <complex.h>
18858 typedef __complex__ float float_type; float_type tmpf;
18865 typedef __complex__ double double_type; double_type tmpd;
18872 typedef __complex__ long double ld_type; ld_type tmpld;
18884 if ac_fn_cxx_try_compile
"$LINENO"; then :
18885 ac_c99_complex_arc
=yes
18887 ac_c99_complex_arc
=no
18889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18892 $as_echo "$ac_c99_complex_arc" >&6; }
18893 if test x
"$ac_c99_complex_arc" = x
"yes"; then
18895 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18899 # Check for the existence in <stdio.h> of vscanf, et. al.
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18901 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18902 if ${glibcxx_cv_c99_stdio_cxx11+:} false
; then :
18903 $as_echo_n "(cached) " >&6
18906 if test x
$gcc_no_link = xyes
; then
18907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18910 #include <stdarg.h>
18911 void foo(char* fmt, ...)
18913 va_list args; va_start(args, fmt);
18914 vfscanf(stderr, "%i", args);
18915 vscanf("%i", args);
18916 vsnprintf(fmt, 0, "%i", args);
18917 vsscanf(fmt, "%i", args);
18918 snprintf(fmt, 0, "%i", 1);
18928 if ac_fn_cxx_try_compile
"$LINENO"; then :
18929 glibcxx_cv_c99_stdio_cxx11
=yes
18931 glibcxx_cv_c99_stdio_cxx11
=no
18933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
18935 if test x
$gcc_no_link = xyes
; then
18936 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18939 /* end confdefs.h. */
18941 #include <stdarg.h>
18942 void foo(char* fmt, ...)
18944 va_list args; va_start(args, fmt);
18945 vfscanf(stderr, "%i", args);
18946 vscanf("%i", args);
18947 vsnprintf(fmt, 0, "%i", args);
18948 vsscanf(fmt, "%i", args);
18949 snprintf(fmt, 0, "%i", 1);
18959 if ac_fn_cxx_try_link
"$LINENO"; then :
18960 glibcxx_cv_c99_stdio_cxx11
=yes
18962 glibcxx_cv_c99_stdio_cxx11
=no
18964 rm -f core conftest.err conftest.
$ac_objext \
18965 conftest
$ac_exeext conftest.
$ac_ext
18969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18970 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18971 if test x
"$glibcxx_cv_c99_stdio_cxx11" = x
"yes"; then
18973 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18977 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18979 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18980 if ${glibcxx_cv_c99_stdlib_cxx11+:} false
; then :
18981 $as_echo_n "(cached) " >&6
18984 if test x
$gcc_no_link = xyes
; then
18985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18986 /* end confdefs.h. */
18987 #include <stdlib.h>
18989 volatile long double ld;
18990 volatile unsigned long long ll;
18996 f = strtof("gnu", &tmp);
18997 ld = strtold("gnu", &tmp);
18998 ll = strtoll("gnu", &tmp, 10);
18999 ll = strtoull("gnu", &tmp, 10);
19001 mydivt = lldiv(10,1);
19011 if ac_fn_cxx_try_compile
"$LINENO"; then :
19012 glibcxx_cv_c99_stdlib_cxx11
=yes
19014 glibcxx_cv_c99_stdlib_cxx11
=no
19016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19018 if test x
$gcc_no_link = xyes
; then
19019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 #include <stdlib.h>
19025 volatile long double ld;
19026 volatile unsigned long long ll;
19032 f = strtof("gnu", &tmp);
19033 ld = strtold("gnu", &tmp);
19034 ll = strtoll("gnu", &tmp, 10);
19035 ll = strtoull("gnu", &tmp, 10);
19037 mydivt = lldiv(10,1);
19047 if ac_fn_cxx_try_link
"$LINENO"; then :
19048 glibcxx_cv_c99_stdlib_cxx11
=yes
19050 glibcxx_cv_c99_stdlib_cxx11
=no
19052 rm -f core conftest.err conftest.
$ac_objext \
19053 conftest
$ac_exeext conftest.
$ac_ext
19057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
19058 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
19059 if test x
"$glibcxx_cv_c99_stdlib_cxx11" = x
"yes"; then
19061 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
19065 # Check for the existence in <wchar.h> of wcstold, etc.
19066 if test x
"$ac_has_wchar_h" = xyes
&&
19067 test x
"$ac_has_wctype_h" = xyes
; then
19068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
19069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
19070 if ${glibcxx_cv_c99_wchar_cxx11+:} false
; then :
19071 $as_echo_n "(cached) " >&6
19074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19075 /* end confdefs.h. */
19092 if ac_fn_cxx_try_compile
"$LINENO"; then :
19093 glibcxx_cv_c99_wchar_cxx11
=yes
19095 glibcxx_cv_c99_wchar_cxx11
=no
19097 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
19101 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
19103 # Checks for wide character functions that may not be present.
19104 # Injection of these is wrapped with guard macros.
19105 # NB: only put functions here, instead of immediately above, if
19106 # absolutely necessary.
19107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19108 /* end confdefs.h. */
19110 namespace test { using ::vfwscanf; }
19119 if ac_fn_cxx_try_compile
"$LINENO"; then :
19121 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
19124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19127 /* end confdefs.h. */
19129 namespace test { using ::vswscanf; }
19138 if ac_fn_cxx_try_compile
"$LINENO"; then :
19140 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
19143 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19146 /* end confdefs.h. */
19148 namespace test { using ::vwscanf; }
19157 if ac_fn_cxx_try_compile
"$LINENO"; then :
19159 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19165 /* end confdefs.h. */
19167 namespace test { using ::wcstof; }
19176 if ac_fn_cxx_try_compile
"$LINENO"; then :
19178 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19184 /* end confdefs.h. */
19185 #include <wctype.h>
19189 wint_t t; int i = iswblank(t);
19194 if ac_fn_cxx_try_compile
"$LINENO"; then :
19196 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19199 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19201 if test x
"$glibcxx_cv_c99_wchar_cxx11" = x
"yes"; then
19203 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19208 # Check for the existence of <ctype.h> functions.
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19210 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19211 if ${glibcxx_cv_c99_ctype+:} false
; then :
19212 $as_echo_n "(cached) " >&6
19215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19216 /* end confdefs.h. */
19229 if ac_fn_cxx_try_compile
"$LINENO"; then :
19230 glibcxx_cv_c99_ctype
=yes
19232 glibcxx_cv_c99_ctype
=no
19234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19238 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19239 if test x
"$glibcxx_cv_c99_ctype" = x
"yes"; then
19241 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19245 # Check for the existence of <fenv.h> functions.
19246 for ac_header
in fenv.h
19248 ac_fn_cxx_check_header_mongrel
"$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19249 if test "x$ac_cv_header_fenv_h" = xyes
; then :
19250 cat >>confdefs.h
<<_ACEOF
19251 #define HAVE_FENV_H 1
19261 if test x
"$ac_has_fenv_h" = x
"yes"; then
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19263 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19265 /* end confdefs.h. */
19274 ret = feclearexcept(except);
19275 ret = fegetexceptflag(pflag, except);
19276 ret = feraiseexcept(except);
19277 ret = fesetexceptflag(pflag, except);
19278 ret = fetestexcept(except);
19279 ret = fegetround();
19280 ret = fesetround(mode);
19281 ret = fegetenv(penv);
19282 ret = feholdexcept(penv);
19283 ret = fesetenv(penv);
19284 ret = feupdateenv(penv);
19290 if ac_fn_cxx_try_compile
"$LINENO"; then :
19295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19297 $as_echo "$ac_c99_fenv" >&6; }
19299 if test x
"$ac_c99_fenv" = x
"yes"; then
19301 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19305 gcc_no_link
="$ac_save_gcc_no_link"
19306 LIBS
="$ac_save_LIBS"
19307 CXXFLAGS
="$ac_save_CXXFLAGS"
19309 ac_cpp
='$CPP $CPPFLAGS'
19310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19317 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19319 $as_echo "$enable_c99" >&6; }
19322 # Check whether --enable-concept-checks was given.
19323 if test "${enable_concept_checks+set}" = set; then :
19324 enableval
=$enable_concept_checks;
19325 case "$enableval" in
19327 *) as_fn_error $?
"Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19331 enable_concept_checks
=no
19335 if test $enable_concept_checks = yes; then
19337 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19342 # Check whether --enable-libstdcxx-debug-flags was given.
19343 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19344 enableval
=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19345 xno | x
) enable_libstdcxx_debug_flags
= ;;
19347 *) as_fn_error $?
"--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19350 enable_libstdcxx_debug_flags
="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19355 # Option parsed, now set things appropriately
19356 DEBUG_FLAGS
="$enable_libstdcxx_debug_flags"
19359 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19360 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19364 $as_echo_n "checking for additional debug build... " >&6; }
19366 # Check whether --enable-libstdcxx-debug was given.
19367 if test "${enable_libstdcxx_debug+set}" = set; then :
19368 enableval
=$enable_libstdcxx_debug;
19369 case "$enableval" in
19371 *) as_fn_error $?
"Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19375 enable_libstdcxx_debug
=no
19379 if test x
$enable_libstdcxx_debug = xyes
; then
19380 if test -f $toplevel_builddir/..
/stage_final \
19381 && test -f $toplevel_builddir/..
/stage_current
; then
19382 stage_final
=`cat $toplevel_builddir/../stage_final`
19383 stage_current
=`cat $toplevel_builddir/../stage_current`
19384 if test x
$stage_current != x
$stage_final ; then
19385 skip_debug_build
=" (skipped for bootstrap stage $stage_current)"
19386 enable_libstdcxx_debug
=no
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19391 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19396 enable_parallel
=no
;
19398 # See if configured libgomp/omp.h exists. (libgomp may be in
19399 # noconfigdirs but not explicitly disabled.)
19400 if echo " ${TARGET_CONFIGDIRS} " |
grep " libgomp " > /dev
/null
2>&1 ; then
19401 enable_parallel
=yes;
19403 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19404 $as_echo "$as_me: target-libgomp not built" >&6;}
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19408 $as_echo_n "checking for parallel mode support... " >&6; }
19409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19410 $as_echo "$enable_parallel" >&6; }
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19413 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19414 # Check whether --enable-cxx-flags was given.
19415 if test "${enable_cxx_flags+set}" = set; then :
19416 enableval
=$enable_cxx_flags; case "x$enable_cxx_flags" in
19417 xno | x
) enable_cxx_flags
= ;;
19419 *) as_fn_error $?
"--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19427 # Run through flags (either default or command-line) and set anything
19428 # extra (e.g., #defines) that must accompany particular g++ options.
19429 if test -n "$enable_cxx_flags"; then
19430 for f
in $enable_cxx_flags; do
19434 *) # and we're trying to pass /what/ exactly?
19435 as_fn_error $?
"compiler flags start with a -" "$LINENO" 5 ;;
19440 EXTRA_CXX_FLAGS
="$enable_cxx_flags"
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19442 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19446 # Check whether --enable-fully-dynamic-string was given.
19447 if test "${enable_fully_dynamic_string+set}" = set; then :
19448 enableval
=$enable_fully_dynamic_string;
19449 case "$enableval" in
19451 *) as_fn_error $?
"Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19455 enable_fully_dynamic_string
=no
19459 if test $enable_fully_dynamic_string = yes; then
19460 enable_fully_dynamic_string_def
=1
19462 enable_fully_dynamic_string_def
=0
19465 cat >>confdefs.h
<<_ACEOF
19466 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19472 # Check whether --enable-extern-template was given.
19473 if test "${enable_extern_template+set}" = set; then :
19474 enableval
=$enable_extern_template;
19475 case "$enableval" in
19477 *) as_fn_error $?
"Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19481 enable_extern_template
=yes
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19487 $as_echo_n "checking for extern template support... " >&6; }
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19489 $as_echo "$enable_extern_template" >&6; }
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19496 $as_echo_n "checking for custom python install directory... " >&6; }
19498 # Check whether --with-python-dir was given.
19499 if test "${with_python_dir+set}" = set; then :
19500 withval
=$with_python_dir; with_python_dir
=$withval
19502 with_python_dir
="no"
19505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19506 $as_echo "${with_python_dir}" >&6; }
19508 # Needed for installing Python modules during make install.
19509 python_mod_dir
="${with_python_dir}"
19514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19515 $as_echo_n "checking for -Werror... " >&6; }
19516 # Check whether --enable-werror was given.
19517 if test "${enable_werror+set}" = set; then :
19518 enableval
=$enable_werror;
19519 case "$enableval" in
19521 *) as_fn_error $?
"Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19530 $as_echo "$enable_werror" >&6; }
19535 # Check whether --enable-vtable-verify was given.
19536 if test "${enable_vtable_verify+set}" = set; then :
19537 enableval
=$enable_vtable_verify;
19538 case "$enableval" in
19540 *) as_fn_error $?
"Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19544 enable_vtable_verify
=no
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19550 $as_echo_n "checking for vtable verify support... " >&6; }
19551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19552 $as_echo "$enable_vtable_verify" >&6; }
19555 if test $enable_vtable_verify = yes; then
19556 case ${target_os} in
19558 VTV_CXXFLAGS
="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19559 VTV_CXXLINKFLAGS
="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19563 VTV_CXXFLAGS
="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19564 VTV_CXXLINKFLAGS
="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19567 VTV_CXXFLAGS
="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19568 VTV_CXXLINKFLAGS
="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19571 VTV_CXXFLAGS
="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19572 VTV_CXXLINKFLAGS
="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19575 VTV_PCH_CXXFLAGS
="-fvtable-verify=std"
19585 if test x
$vtv_cygmin = xyes
; then
19587 VTV_CYGMIN_FALSE
='#'
19589 VTV_CYGMIN_TRUE
='#'
19596 # Checks for operating systems support that doesn't require linking.
19601 ac_cpp
='$CXXCPP $CPPFLAGS'
19602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19606 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19607 # and we don't need a declaration for C++14 anyway.
19608 ac_save_CXXFLAGS
="$CXXFLAGS"
19609 CXXFLAGS
="$CXXFLAGS -std=gnu++11"
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19612 $as_echo_n "checking for gets declaration... " >&6; }
19613 if ${glibcxx_cv_gets+:} false
; then :
19614 $as_echo_n "(cached) " >&6
19617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19626 if ac_fn_cxx_try_compile
"$LINENO"; then :
19627 glibcxx_cv_gets
=yes
19632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19635 $as_echo "$glibcxx_cv_gets" >&6; }
19637 if test $glibcxx_cv_gets = yes; then
19639 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19643 CXXFLAGS
="$ac_save_CXXFLAGS"
19645 ac_cpp
='$CPP $CPPFLAGS'
19646 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19647 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19648 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19655 ac_cpp
='$CXXCPP $CPPFLAGS'
19656 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19657 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19658 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19660 ac_save_CXXFLAGS
="$CXXFLAGS"
19661 CXXFLAGS
="$CXXFLAGS -std=c++11"
19665 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19666 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19668 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19669 if ${glibcxx_cv_math11_fp_overload+:} false
; then :
19670 $as_echo_n "(cached) " >&6
19673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19674 /* end confdefs.h. */
19678 inline bool isfinite(float __x)
19679 { return __builtin_isfinite(__x); }
19683 if ac_fn_cxx_try_compile
"$LINENO"; then :
19684 glibcxx_cv_math11_fp_overload
=no
19686 glibcxx_cv_math11_fp_overload
=yes
19689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19692 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19694 # autoheader cannot handle indented templates.
19697 if test $glibcxx_cv_math11_fp_overload = yes; then
19698 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19702 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19703 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19705 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19706 if ${glibcxx_cv_math11_int_overload+:} false
; then :
19707 $as_echo_n "(cached) " >&6
19710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19714 template<typename _Tp>
19715 struct __is_integer;
19717 struct __is_integer<int>
19719 enum { __value = 1 };
19722 namespace __gnu_cxx {
19723 template<bool, typename>
19724 struct __enable_if;
19725 template<typename _Tp>
19726 struct __enable_if<true, _Tp>
19727 { typedef _Tp __type; };
19730 template<typename _Tp>
19731 constexpr typename __gnu_cxx::__enable_if
19732 <__is_integer<_Tp>::__value, double>::__type
19734 { return __builtin_log2(__x); }
19740 return std::log2(i);
19744 if ac_fn_cxx_try_compile
"$LINENO"; then :
19745 glibcxx_cv_math11_int_overload
=no
19747 glibcxx_cv_math11_int_overload
=yes
19750 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19753 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19755 # autoheader cannot handle indented templates.
19758 if test $glibcxx_cv_math11_int_overload = yes; then
19759 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19764 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19765 # functions (instead of or as well as the C99 generic macros) then we
19766 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19767 # and must use the ones from <math.h> instead.
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19769 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19770 if ${glibcxx_cv_obsolete_isinf+:} false
; then :
19771 $as_echo_n "(cached) " >&6
19774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19775 /* end confdefs.h. */
19776 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19782 bool isinf(long double);
19785 bool b = isinf(0.0);
19788 if ac_fn_cxx_try_compile
"$LINENO"; then :
19789 glibcxx_cv_obsolete_isinf
=yes
19791 glibcxx_cv_obsolete_isinf
=no
19794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19797 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19798 if test $glibcxx_cv_obsolete_isinf = yes; then
19800 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19805 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19806 if ${glibcxx_cv_obsolete_isnan+:} false
; then :
19807 $as_echo_n "(cached) " >&6
19810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19818 bool isnan(long double);
19821 bool b = isnan(0.0);
19824 if ac_fn_cxx_try_compile
"$LINENO"; then :
19825 glibcxx_cv_obsolete_isnan
=yes
19827 glibcxx_cv_obsolete_isnan
=no
19830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19833 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19834 if test $glibcxx_cv_obsolete_isnan = yes; then
19836 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19842 CXXFLAGS
="$ac_save_CXXFLAGS"
19844 ac_cpp
='$CPP $CPPFLAGS'
19845 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19846 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19847 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
19853 for ac_header
in uchar.h
19855 ac_fn_c_check_header_mongrel
"$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19856 if test "x$ac_cv_header_uchar_h" = xyes
; then :
19857 cat >>confdefs.h
<<_ACEOF
19858 #define HAVE_UCHAR_H 1
19870 ac_cpp
='$CXXCPP $CPPFLAGS'
19871 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19872 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19873 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
19875 ac_save_CXXFLAGS
="$CXXFLAGS"
19876 CXXFLAGS
="$CXXFLAGS -std=c++11"
19878 if test x
"$ac_has_uchar_h" = x
"yes"; then
19879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19880 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19882 /* end confdefs.h. */
19884 #ifdef __STDC_UTF_16__
19885 long i = __STDC_UTF_16__;
19887 #ifdef __STDC_UTF_32__
19888 long j = __STDC_UTF_32__;
19906 if ac_fn_cxx_try_compile
"$LINENO"; then :
19907 ac_c11_uchar_cxx11
=yes
19909 ac_c11_uchar_cxx11
=no
19911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19913 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19915 ac_c11_uchar_cxx11
=no
19917 if test x
"$ac_c11_uchar_cxx11" = x
"yes"; then
19919 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19923 CXXFLAGS
="$CXXFLAGS -fchar8_t"
19924 if test x
"$ac_has_uchar_h" = x
"yes"; then
19925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19926 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19944 if ac_fn_cxx_try_compile
"$LINENO"; then :
19945 ac_uchar_c8rtomb_mbrtoc8_fchar8_t
=yes
19947 ac_uchar_c8rtomb_mbrtoc8_fchar8_t
=no
19949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19951 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19953 ac_uchar_c8rtomb_mbrtoc8_fchar8_t
=no
19955 if test x
"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x
"yes"; then
19957 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19961 CXXFLAGS
="$CXXFLAGS -std=c++20"
19962 if test x
"$ac_has_uchar_h" = x
"yes"; then
19963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19964 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19966 /* end confdefs.h. */
19982 if ac_fn_cxx_try_compile
"$LINENO"; then :
19983 ac_uchar_c8rtomb_mbrtoc8_cxx20
=yes
19985 ac_uchar_c8rtomb_mbrtoc8_cxx20
=no
19987 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19989 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19991 ac_uchar_c8rtomb_mbrtoc8_cxx20
=no
19993 if test x
"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x
"yes"; then
19995 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19999 CXXFLAGS
="$ac_save_CXXFLAGS"
20001 ac_cpp
='$CPP $CPPFLAGS'
20002 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20012 ac_cpp
='$CXXCPP $CPPFLAGS'
20013 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20014 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20015 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20017 ac_save_CXXFLAGS
="$CXXFLAGS"
20018 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
20019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
20020 $as_echo_n "checking for LFS support... " >&6; }
20021 if ${glibcxx_cv_LFS+:} false
; then :
20022 $as_echo_n "(cached) " >&6
20025 if test x
$gcc_no_link = xyes
; then
20026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20027 /* end confdefs.h. */
20028 #include <unistd.h>
20030 #include <sys/stat.h>
20037 fseeko64(fp, 0, SEEK_CUR);
20039 lseek64(1, 0, SEEK_CUR);
20046 if ac_fn_cxx_try_compile
"$LINENO"; then :
20051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20053 if test x
$gcc_no_link = xyes
; then
20054 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20057 /* end confdefs.h. */
20058 #include <unistd.h>
20060 #include <sys/stat.h>
20067 fseeko64(fp, 0, SEEK_CUR);
20069 lseek64(1, 0, SEEK_CUR);
20076 if ac_fn_cxx_try_link
"$LINENO"; then :
20081 rm -f core conftest.err conftest.
$ac_objext \
20082 conftest
$ac_exeext conftest.
$ac_ext
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
20087 $as_echo "$glibcxx_cv_LFS" >&6; }
20088 if test $glibcxx_cv_LFS = yes; then
20090 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
20094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko and ftello" >&5
20095 $as_echo_n "checking for fseeko and ftello... " >&6; }
20096 if ${glibcxx_cv_posix_lfs+:} false
; then :
20097 $as_echo_n "(cached) " >&6
20100 if test x
$gcc_no_link = xyes
; then
20101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20102 /* end confdefs.h. */
20109 fseeko(fp, 0, SEEK_CUR);
20116 if ac_fn_cxx_try_compile
"$LINENO"; then :
20117 glibcxx_cv_posix_lfs
=yes
20119 glibcxx_cv_posix_lfs
=no
20121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20123 if test x
$gcc_no_link = xyes
; then
20124 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20127 /* end confdefs.h. */
20134 fseeko(fp, 0, SEEK_CUR);
20141 if ac_fn_cxx_try_link
"$LINENO"; then :
20142 glibcxx_cv_posix_lfs
=yes
20144 glibcxx_cv_posix_lfs
=no
20146 rm -f core conftest.err conftest.
$ac_objext \
20147 conftest
$ac_exeext conftest.
$ac_ext
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_posix_lfs" >&5
20152 $as_echo "$glibcxx_cv_posix_lfs" >&6; }
20153 if test $glibcxx_cv_posix_lfs = yes; then
20155 $as_echo "#define _GLIBCXX_USE_FSEEKO_FTELLO 1" >>confdefs.h
20159 CXXFLAGS
="$ac_save_CXXFLAGS"
20161 ac_cpp
='$CPP $CPPFLAGS'
20162 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20168 # For showmanyc_helper().
20169 for ac_header
in sys
/ioctl.h sys
/filio.h
20171 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20172 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20173 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20174 cat >>confdefs.h
<<_ACEOF
20175 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20186 ac_cpp
='$CXXCPP $CPPFLAGS'
20187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20191 ac_save_CXXFLAGS
="$CXXFLAGS"
20192 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
20194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
20195 $as_echo_n "checking for poll... " >&6; }
20196 if ${glibcxx_cv_POLL+:} false
; then :
20197 $as_echo_n "(cached) " >&6
20200 if test x
$gcc_no_link = xyes
; then
20201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20207 struct pollfd pfd[1];
20208 pfd[0].events = POLLIN;
20214 if ac_fn_cxx_try_compile
"$LINENO"; then :
20215 glibcxx_cv_POLL
=yes
20219 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20221 if test x
$gcc_no_link = xyes
; then
20222 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20230 struct pollfd pfd[1];
20231 pfd[0].events = POLLIN;
20237 if ac_fn_cxx_try_link
"$LINENO"; then :
20238 glibcxx_cv_POLL
=yes
20242 rm -f core conftest.err conftest.
$ac_objext \
20243 conftest
$ac_exeext conftest.
$ac_ext
20247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20248 $as_echo "$glibcxx_cv_POLL" >&6; }
20249 if test $glibcxx_cv_POLL = yes; then
20251 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20255 CXXFLAGS
="$ac_save_CXXFLAGS"
20257 ac_cpp
='$CPP $CPPFLAGS'
20258 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20259 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20260 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20267 ac_cpp
='$CXXCPP $CPPFLAGS'
20268 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20269 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20270 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20272 ac_save_CXXFLAGS
="$CXXFLAGS"
20273 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20276 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20277 if ${glibcxx_cv_S_ISREG+:} false
; then :
20278 $as_echo_n "(cached) " >&6
20281 if test x
$gcc_no_link = xyes
; then
20282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20283 /* end confdefs.h. */
20284 #include <sys/stat.h>
20288 struct stat buffer;
20290 S_ISREG(buffer.st_mode);
20295 if ac_fn_cxx_try_compile
"$LINENO"; then :
20296 glibcxx_cv_S_ISREG
=yes
20298 glibcxx_cv_S_ISREG
=no
20300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20302 if test x
$gcc_no_link = xyes
; then
20303 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20306 /* end confdefs.h. */
20307 #include <sys/stat.h>
20311 struct stat buffer;
20313 S_ISREG(buffer.st_mode);
20318 if ac_fn_cxx_try_link
"$LINENO"; then :
20319 glibcxx_cv_S_ISREG
=yes
20321 glibcxx_cv_S_ISREG
=no
20323 rm -f core conftest.err conftest.
$ac_objext \
20324 conftest
$ac_exeext conftest.
$ac_ext
20329 if ${glibcxx_cv_S_IFREG+:} false
; then :
20330 $as_echo_n "(cached) " >&6
20333 if test x
$gcc_no_link = xyes
; then
20334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20335 /* end confdefs.h. */
20336 #include <sys/stat.h>
20340 struct stat buffer;
20342 S_IFREG & buffer.st_mode;
20347 if ac_fn_cxx_try_compile
"$LINENO"; then :
20348 glibcxx_cv_S_IFREG
=yes
20350 glibcxx_cv_S_IFREG
=no
20352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20354 if test x
$gcc_no_link = xyes
; then
20355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20358 /* end confdefs.h. */
20359 #include <sys/stat.h>
20363 struct stat buffer;
20365 S_IFREG & buffer.st_mode;
20370 if ac_fn_cxx_try_link
"$LINENO"; then :
20371 glibcxx_cv_S_IFREG
=yes
20373 glibcxx_cv_S_IFREG
=no
20375 rm -f core conftest.err conftest.
$ac_objext \
20376 conftest
$ac_exeext conftest.
$ac_ext
20382 if test $glibcxx_cv_S_ISREG = yes; then
20384 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20387 elif test $glibcxx_cv_S_IFREG = yes; then
20389 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20394 $as_echo "$res" >&6; }
20396 CXXFLAGS
="$ac_save_CXXFLAGS"
20398 ac_cpp
='$CPP $CPPFLAGS'
20399 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20406 for ac_header
in sys
/uio.h
20408 ac_fn_c_check_header_mongrel
"$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20409 if test "x$ac_cv_header_sys_uio_h" = xyes
; then :
20410 cat >>confdefs.h
<<_ACEOF
20411 #define HAVE_SYS_UIO_H 1
20422 ac_cpp
='$CXXCPP $CPPFLAGS'
20423 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20424 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20425 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20427 ac_save_CXXFLAGS
="$CXXFLAGS"
20428 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20431 $as_echo_n "checking for writev... " >&6; }
20432 if ${glibcxx_cv_WRITEV+:} false
; then :
20433 $as_echo_n "(cached) " >&6
20436 if test x
$gcc_no_link = xyes
; then
20437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20438 /* end confdefs.h. */
20439 #include <sys/uio.h>
20443 struct iovec iov[2];
20449 if ac_fn_cxx_try_compile
"$LINENO"; then :
20450 glibcxx_cv_WRITEV
=yes
20452 glibcxx_cv_WRITEV
=no
20454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20456 if test x
$gcc_no_link = xyes
; then
20457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20460 /* end confdefs.h. */
20461 #include <sys/uio.h>
20465 struct iovec iov[2];
20471 if ac_fn_cxx_try_link
"$LINENO"; then :
20472 glibcxx_cv_WRITEV
=yes
20474 glibcxx_cv_WRITEV
=no
20476 rm -f core conftest.err conftest.
$ac_objext \
20477 conftest
$ac_exeext conftest.
$ac_ext
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20482 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20483 if test $glibcxx_cv_WRITEV = yes; then
20485 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20489 CXXFLAGS
="$ac_save_CXXFLAGS"
20491 ac_cpp
='$CPP $CPPFLAGS'
20492 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20493 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20494 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
20498 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20499 # so that the check is done with the C compiler (not C++).
20500 # Checking with C++ can break a canadian cross build if either
20501 # file does not exist in C but does in C++.
20502 for ac_header
in fenv.h complex.h
20504 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20505 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20506 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
20507 cat >>confdefs.h
<<_ACEOF
20508 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20516 # For C99 support to TR1.
20521 ac_cpp
='$CXXCPP $CPPFLAGS'
20522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
20527 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20528 # undefined and fake C99 facilities may be spuriously enabled.
20529 ac_save_CXXFLAGS
="$CXXFLAGS"
20530 CXXFLAGS
="$CXXFLAGS -std=c++98"
20532 # Check for the existence of <complex.h> complex math functions used
20534 for ac_header
in complex.h
20536 ac_fn_cxx_check_header_mongrel
"$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20537 if test "x$ac_cv_header_complex_h" = xyes
; then :
20538 cat >>confdefs.h
<<_ACEOF
20539 #define HAVE_COMPLEX_H 1
20541 ac_has_complex_h
=yes
20543 ac_has_complex_h
=no
20548 ac_c99_complex_tr1
=no
;
20549 if test x
"$ac_has_complex_h" = x
"yes"; then
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20551 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20553 /* end confdefs.h. */
20554 #include <complex.h>
20558 typedef __complex__ float float_type; float_type tmpf;
20565 typedef __complex__ double double_type; double_type tmpd;
20572 typedef __complex__ long double ld_type; ld_type tmpld;
20584 if ac_fn_cxx_try_compile
"$LINENO"; then :
20585 ac_c99_complex_tr1
=yes
20587 ac_c99_complex_tr1
=no
20589 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20592 $as_echo "$ac_c99_complex_tr1" >&6; }
20593 if test x
"$ac_c99_complex_tr1" = x
"yes"; then
20595 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20599 # Check for the existence of <ctype.h> functions.
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20601 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20602 if ${glibcxx_cv_c99_ctype_tr1+:} false
; then :
20603 $as_echo_n "(cached) " >&6
20606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20620 if ac_fn_cxx_try_compile
"$LINENO"; then :
20621 glibcxx_cv_c99_ctype_tr1
=yes
20623 glibcxx_cv_c99_ctype_tr1
=no
20625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20629 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20630 if test x
"$glibcxx_cv_c99_ctype_tr1" = x
"yes"; then
20632 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20636 # Check for the existence of <fenv.h> functions.
20637 for ac_header
in fenv.h
20639 ac_fn_cxx_check_header_mongrel
"$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20640 if test "x$ac_cv_header_fenv_h" = xyes
; then :
20641 cat >>confdefs.h
<<_ACEOF
20642 #define HAVE_FENV_H 1
20651 ac_c99_fenv_tr1
=no
;
20652 if test x
"$ac_has_fenv_h" = x
"yes"; then
20653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20654 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20665 ret = feclearexcept(except);
20666 ret = fegetexceptflag(pflag, except);
20667 ret = feraiseexcept(except);
20668 ret = fesetexceptflag(pflag, except);
20669 ret = fetestexcept(except);
20670 ret = fegetround();
20671 ret = fesetround(mode);
20672 ret = fegetenv(penv);
20673 ret = feholdexcept(penv);
20674 ret = fesetenv(penv);
20675 ret = feupdateenv(penv);
20681 if ac_fn_cxx_try_compile
"$LINENO"; then :
20682 ac_c99_fenv_tr1
=yes
20686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20688 $as_echo "$ac_c99_fenv_tr1" >&6; }
20690 if test x
"$ac_c99_fenv_tr1" = x
"yes"; then
20692 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20696 # Check for the existence of <stdint.h> types.
20697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20698 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20699 if ${glibcxx_cv_c99_stdint_tr1+:} false
; then :
20700 $as_echo_n "(cached) " >&6
20703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20704 /* end confdefs.h. */
20705 #define __STDC_LIMIT_MACROS
20706 #define __STDC_CONSTANT_MACROS
20707 #include <stdint.h>
20711 typedef int8_t my_int8_t;
20712 my_int8_t i8 = INT8_MIN;
20714 typedef int16_t my_int16_t;
20715 my_int16_t i16 = INT16_MIN;
20717 typedef int32_t my_int32_t;
20718 my_int32_t i32 = INT32_MIN;
20720 typedef int64_t my_int64_t;
20721 my_int64_t i64 = INT64_MIN;
20723 typedef int_fast8_t my_int_fast8_t;
20724 my_int_fast8_t if8 = INT_FAST8_MIN;
20725 if8 = INT_FAST8_MAX;
20726 typedef int_fast16_t my_int_fast16_t;
20727 my_int_fast16_t if16 = INT_FAST16_MIN;
20728 if16 = INT_FAST16_MAX;
20729 typedef int_fast32_t my_int_fast32_t;
20730 my_int_fast32_t if32 = INT_FAST32_MIN;
20731 if32 = INT_FAST32_MAX;
20732 typedef int_fast64_t my_int_fast64_t;
20733 my_int_fast64_t if64 = INT_FAST64_MIN;
20734 if64 = INT_FAST64_MAX;
20735 typedef int_least8_t my_int_least8_t;
20736 my_int_least8_t il8 = INT_LEAST8_MIN;
20737 il8 = INT_LEAST8_MAX;
20738 typedef int_least16_t my_int_least16_t;
20739 my_int_least16_t il16 = INT_LEAST16_MIN;
20740 il16 = INT_LEAST16_MAX;
20741 typedef int_least32_t my_int_least32_t;
20742 my_int_least32_t il32 = INT_LEAST32_MIN;
20743 il32 = INT_LEAST32_MAX;
20744 typedef int_least64_t my_int_least64_t;
20745 my_int_least64_t il64 = INT_LEAST64_MIN;
20746 il64 = INT_LEAST64_MAX;
20747 typedef intmax_t my_intmax_t;
20748 my_intmax_t im = INTMAX_MAX;
20750 typedef intptr_t my_intptr_t;
20751 my_intptr_t ip = INTPTR_MAX;
20753 typedef uint8_t my_uint8_t;
20754 my_uint8_t ui8 = UINT8_MAX;
20756 typedef uint16_t my_uint16_t;
20757 my_uint16_t ui16 = UINT16_MAX;
20759 typedef uint32_t my_uint32_t;
20760 my_uint32_t ui32 = UINT32_MAX;
20762 typedef uint64_t my_uint64_t;
20763 my_uint64_t ui64 = UINT64_MAX;
20765 typedef uint_fast8_t my_uint_fast8_t;
20766 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20767 uif8 = UINT_FAST8_MAX;
20768 typedef uint_fast16_t my_uint_fast16_t;
20769 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20770 uif16 = UINT_FAST16_MAX;
20771 typedef uint_fast32_t my_uint_fast32_t;
20772 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20773 uif32 = UINT_FAST32_MAX;
20774 typedef uint_fast64_t my_uint_fast64_t;
20775 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20776 uif64 = UINT_FAST64_MAX;
20777 typedef uint_least8_t my_uint_least8_t;
20778 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20779 uil8 = UINT_LEAST8_MAX;
20780 typedef uint_least16_t my_uint_least16_t;
20781 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20782 uil16 = UINT_LEAST16_MAX;
20783 typedef uint_least32_t my_uint_least32_t;
20784 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20785 uil32 = UINT_LEAST32_MAX;
20786 typedef uint_least64_t my_uint_least64_t;
20787 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20788 uil64 = UINT_LEAST64_MAX;
20789 typedef uintmax_t my_uintmax_t;
20790 my_uintmax_t uim = UINTMAX_MAX;
20792 typedef uintptr_t my_uintptr_t;
20793 my_uintptr_t uip = UINTPTR_MAX;
20800 if ac_fn_cxx_try_compile
"$LINENO"; then :
20801 glibcxx_cv_c99_stdint_tr1
=yes
20803 glibcxx_cv_c99_stdint_tr1
=no
20805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20809 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20810 if test x
"$glibcxx_cv_c99_stdint_tr1" = x
"yes"; then
20812 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20816 # Check for the existence of <math.h> functions.
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20818 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20819 if ${glibcxx_cv_c99_math_tr1+:} false
; then :
20820 $as_echo_n "(cached) " >&6
20823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20824 /* end confdefs.h. */
20829 typedef double_t my_double_t;
20830 typedef float_t my_float_t;
20843 copysign(0.0, 0.0);
20844 copysignf(0.0f, 0.0f);
20845 copysignl(0.0l, 0.0l);
20861 fma(0.0, 0.0, 0.0);
20862 fmaf(0.0f, 0.0f, 0.0f);
20863 fmal(0.0l, 0.0l, 0.0l);
20871 hypotf(0.0f, 0.0f);
20872 hypotl(0.0l, 0.0l);
20879 #ifndef __APPLE__ /* see below */
20908 nextafter(0.0, 0.0);
20909 nextafterf(0.0f, 0.0f);
20910 nextafterl(0.0l, 0.0l);
20911 nexttoward(0.0, 0.0);
20912 nexttowardf(0.0f, 0.0f);
20913 nexttowardl(0.0l, 0.0l);
20914 remainder(0.0, 0.0);
20915 remainderf(0.0f, 0.0f);
20916 remainderl(0.0l, 0.0l);
20917 remquo(0.0, 0.0, 0);
20918 remquof(0.0f, 0.0f, 0);
20919 remquol(0.0l, 0.0l, 0);
20927 scalblnf(0.0f, 0l);
20928 scalblnl(0.0l, 0l);
20943 if ac_fn_cxx_try_compile
"$LINENO"; then :
20944 glibcxx_cv_c99_math_tr1
=yes
20946 glibcxx_cv_c99_math_tr1
=no
20948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20952 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20953 if test x
"$glibcxx_cv_c99_math_tr1" = x
"yes"; then
20955 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20959 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20960 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20961 ac_c99_inttypes_tr1
=no
;
20962 if test x
"$glibcxx_cv_c99_stdint_tr1" = x
"yes"; then
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20964 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20966 /* end confdefs.h. */
20967 #include <inttypes.h>
20971 intmax_t i, numer, denom, base;
20974 intmax_t ret = imaxabs(i);
20975 imaxdiv_t dret = imaxdiv(numer, denom);
20976 ret = strtoimax(s, endptr, base);
20977 uintmax_t uret = strtoumax(s, endptr, base);
20983 if ac_fn_cxx_try_compile
"$LINENO"; then :
20984 ac_c99_inttypes_tr1
=yes
20986 ac_c99_inttypes_tr1
=no
20988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20990 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20992 if test x
"$ac_c99_inttypes_tr1" = x
"yes"; then
20994 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20998 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20999 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21000 ac_c99_inttypes_wchar_t_tr1
=no
;
21001 if test x
"$glibcxx_cv_c99_stdint_tr1" = x
"yes"; then
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21003 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
21004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21005 /* end confdefs.h. */
21006 #include <inttypes.h>
21013 intmax_t ret = wcstoimax(s, endptr, base);
21014 uintmax_t uret = wcstoumax(s, endptr, base);
21020 if ac_fn_cxx_try_compile
"$LINENO"; then :
21021 ac_c99_inttypes_wchar_t_tr1
=yes
21023 ac_c99_inttypes_wchar_t_tr1
=no
21025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21027 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
21029 if test x
"$ac_c99_inttypes_wchar_t_tr1" = x
"yes"; then
21031 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
21035 # Check for the existence of the <stdbool.h> header.
21036 for ac_header
in stdbool.h
21038 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
21039 if test "x$ac_cv_header_stdbool_h" = xyes
; then :
21040 cat >>confdefs.h
<<_ACEOF
21041 #define HAVE_STDBOOL_H 1
21049 # Check for the existence of the <stdalign.h> header.
21050 for ac_header
in stdalign.h
21052 ac_fn_cxx_check_header_mongrel
"$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
21053 if test "x$ac_cv_header_stdalign_h" = xyes
; then :
21054 cat >>confdefs.h
<<_ACEOF
21055 #define HAVE_STDALIGN_H 1
21063 CXXFLAGS
="$ac_save_CXXFLAGS"
21065 ac_cpp
='$CPP $CPPFLAGS'
21066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21072 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
21075 if test "$is_hosted" = yes; then
21076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
21077 $as_echo_n "checking for the value of EOF... " >&6; }
21078 if ${glibcxx_cv_stdio_eof+:} false
; then :
21079 $as_echo_n "(cached) " >&6
21082 if ac_fn_c_compute_int
"$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
21085 as_fn_error $?
"computing EOF failed" "$LINENO" 5
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
21091 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
21093 cat >>confdefs.h
<<_ACEOF
21094 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
21099 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
21100 if ${glibcxx_cv_stdio_seek_cur+:} false
; then :
21101 $as_echo_n "(cached) " >&6
21104 if ac_fn_c_compute_int
"$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
21107 as_fn_error $?
"computing SEEK_CUR failed" "$LINENO" 5
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
21113 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
21115 cat >>confdefs.h
<<_ACEOF
21116 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
21121 $as_echo_n "checking for the value of SEEK_END... " >&6; }
21122 if ${glibcxx_cv_stdio_seek_end+:} false
; then :
21123 $as_echo_n "(cached) " >&6
21126 if ac_fn_c_compute_int
"$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
21129 as_fn_error $?
"computing SEEK_END failed" "$LINENO" 5
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
21135 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
21137 cat >>confdefs.h
<<_ACEOF
21138 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
21144 # For gettimeofday support.
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21148 $as_echo_n "checking for gettimeofday... " >&6; }
21152 ac_cpp
='$CXXCPP $CPPFLAGS'
21153 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21154 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21155 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21157 ac_save_CXXFLAGS
="$CXXFLAGS"
21158 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
21160 ac_has_gettimeofday
=no
;
21161 for ac_header
in sys
/time.h
21163 ac_fn_cxx_check_header_mongrel
"$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
21164 if test "x$ac_cv_header_sys_time_h" = xyes
; then :
21165 cat >>confdefs.h
<<_ACEOF
21166 #define HAVE_SYS_TIME_H 1
21168 ac_has_sys_time_h
=yes
21170 ac_has_sys_time_h
=no
21175 if test x
"$ac_has_sys_time_h" = x
"yes"; then
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
21177 $as_echo_n "checking for gettimeofday... " >&6; }
21178 if test x
$gcc_no_link = xyes
; then
21179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21181 #include <sys/time.h>
21185 timeval tv; gettimeofday(&tv, 0);
21190 if ac_fn_cxx_try_compile
"$LINENO"; then :
21191 ac_has_gettimeofday
=yes
21193 ac_has_gettimeofday
=no
21195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21197 if test x
$gcc_no_link = xyes
; then
21198 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21201 /* end confdefs.h. */
21202 #include <sys/time.h>
21206 timeval tv; gettimeofday(&tv, 0);
21211 if ac_fn_cxx_try_link
"$LINENO"; then :
21212 ac_has_gettimeofday
=yes
21214 ac_has_gettimeofday
=no
21216 rm -f core conftest.err conftest.
$ac_objext \
21217 conftest
$ac_exeext conftest.
$ac_ext
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21221 $as_echo "$ac_has_gettimeofday" >&6; }
21224 if test x
"$ac_has_gettimeofday" = x
"yes"; then
21226 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21230 CXXFLAGS
="$ac_save_CXXFLAGS"
21232 ac_cpp
='$CPP $CPPFLAGS'
21233 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21234 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21235 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21239 # For clock_gettime, nanosleep and sched_yield support.
21242 # Check whether --enable-libstdcxx-time was given.
21243 if test "${enable_libstdcxx_time+set}" = set; then :
21244 enableval
=$enable_libstdcxx_time;
21245 case "$enableval" in
21247 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21251 enable_libstdcxx_time
=auto
21258 ac_cpp
='$CXXCPP $CPPFLAGS'
21259 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21263 ac_save_CXXFLAGS
="$CXXFLAGS"
21264 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
21265 ac_save_LIBS
="$LIBS"
21267 ac_has_clock_monotonic
=no
21268 ac_has_clock_realtime
=no
21269 ac_has_nanosleep
=no
21270 ac_has_sched_yield
=no
21272 if test x
"$enable_libstdcxx_time" = x
"auto"; then
21274 case "${target_os}" in
21276 ac_has_nanosleep
=yes
21279 ac_has_win32_sleep
=yes
21280 ac_has_sched_yield
=yes
21283 ac_has_nanosleep
=yes
21284 ac_has_sched_yield
=yes
21286 # VxWorks has nanosleep as soon as the kernel is configured with
21287 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21289 ac_has_nanosleep
=yes
21291 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
21292 # Don't use link test for freestanding library, in case gcc_no_link=yes
21293 if test x
"$is_hosted" = xyes
; then
21294 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21296 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21297 if ${ac_cv_search_clock_gettime+:} false
; then :
21298 $as_echo_n "(cached) " >&6
21300 ac_func_search_save_LIBS
=$LIBS
21301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21302 /* end confdefs.h. */
21304 /* Override any GCC internal prototype to avoid an error.
21305 Use char because int might match the return type of a GCC
21306 builtin and then its argument prototype would still apply. */
21310 char clock_gettime ();
21314 return clock_gettime ();
21319 for ac_lib
in '' rt
; do
21320 if test -z "$ac_lib"; then
21321 ac_res
="none required"
21324 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21326 if test x
$gcc_no_link = xyes
; then
21327 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21329 if ac_fn_cxx_try_link
"$LINENO"; then :
21330 ac_cv_search_clock_gettime
=$ac_res
21332 rm -f core conftest.err conftest.
$ac_objext \
21334 if ${ac_cv_search_clock_gettime+:} false
; then :
21338 if ${ac_cv_search_clock_gettime+:} false
; then :
21341 ac_cv_search_clock_gettime
=no
21343 rm conftest.
$ac_ext
21344 LIBS
=$ac_func_search_save_LIBS
21346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21347 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21348 ac_res
=$ac_cv_search_clock_gettime
21349 if test "$ac_res" != no
; then :
21350 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21354 if test x
"$ac_cv_search_clock_gettime" = x
"none required"; then
21355 ac_has_clock_monotonic
=yes
21356 ac_has_clock_realtime
=yes
21359 ac_has_nanosleep
=yes
21360 ac_has_sched_yield
=yes
21362 freebsd
*|netbsd
*|dragonfly
*|rtems
*)
21363 ac_has_clock_monotonic
=yes
21364 ac_has_clock_realtime
=yes
21365 ac_has_nanosleep
=yes
21366 ac_has_sched_yield
=yes
21369 ac_has_clock_monotonic
=yes
21370 ac_has_clock_realtime
=yes
21371 ac_has_nanosleep
=yes
21374 ac_has_clock_monotonic
=yes
21375 ac_has_clock_realtime
=yes
21376 ac_has_nanosleep
=yes
21377 ac_has_sched_yield
=yes
21380 ac_has_nanosleep
=yes
21381 ac_has_sched_yield
=yes
21384 elif test x
"$enable_libstdcxx_time" != x
"no"; then
21386 if test x
"$enable_libstdcxx_time" = x
"rt"; then
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21388 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21389 if ${ac_cv_search_clock_gettime+:} false
; then :
21390 $as_echo_n "(cached) " >&6
21392 ac_func_search_save_LIBS
=$LIBS
21393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21394 /* end confdefs.h. */
21396 /* Override any GCC internal prototype to avoid an error.
21397 Use char because int might match the return type of a GCC
21398 builtin and then its argument prototype would still apply. */
21402 char clock_gettime ();
21406 return clock_gettime ();
21411 for ac_lib
in '' rt
; do
21412 if test -z "$ac_lib"; then
21413 ac_res
="none required"
21416 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21418 if test x
$gcc_no_link = xyes
; then
21419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21421 if ac_fn_cxx_try_link
"$LINENO"; then :
21422 ac_cv_search_clock_gettime
=$ac_res
21424 rm -f core conftest.err conftest.
$ac_objext \
21426 if ${ac_cv_search_clock_gettime+:} false
; then :
21430 if ${ac_cv_search_clock_gettime+:} false
; then :
21433 ac_cv_search_clock_gettime
=no
21435 rm conftest.
$ac_ext
21436 LIBS
=$ac_func_search_save_LIBS
21438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21439 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21440 ac_res
=$ac_cv_search_clock_gettime
21441 if test "$ac_res" != no
; then :
21442 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21447 $as_echo_n "checking for library containing nanosleep... " >&6; }
21448 if ${ac_cv_search_nanosleep+:} false
; then :
21449 $as_echo_n "(cached) " >&6
21451 ac_func_search_save_LIBS
=$LIBS
21452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21453 /* end confdefs.h. */
21455 /* Override any GCC internal prototype to avoid an error.
21456 Use char because int might match the return type of a GCC
21457 builtin and then its argument prototype would still apply. */
21465 return nanosleep ();
21470 for ac_lib
in '' rt
; do
21471 if test -z "$ac_lib"; then
21472 ac_res
="none required"
21475 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21477 if test x
$gcc_no_link = xyes
; then
21478 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21480 if ac_fn_cxx_try_link
"$LINENO"; then :
21481 ac_cv_search_nanosleep
=$ac_res
21483 rm -f core conftest.err conftest.
$ac_objext \
21485 if ${ac_cv_search_nanosleep+:} false
; then :
21489 if ${ac_cv_search_nanosleep+:} false
; then :
21492 ac_cv_search_nanosleep
=no
21494 rm conftest.
$ac_ext
21495 LIBS
=$ac_func_search_save_LIBS
21497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21498 $as_echo "$ac_cv_search_nanosleep" >&6; }
21499 ac_res
=$ac_cv_search_nanosleep
21500 if test "$ac_res" != no
; then :
21501 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21506 ac_fn_cxx_check_func
"$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21507 if test "x$ac_cv_func_clock_gettime" = xyes
; then :
21511 ac_fn_cxx_check_func
"$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21512 if test "x$ac_cv_func_nanosleep" = xyes
; then :
21518 case "$ac_cv_search_clock_gettime" in
21519 -l*) GLIBCXX_LIBS
=$ac_cv_search_clock_gettime
21522 case "$ac_cv_search_nanosleep" in
21523 -l*) GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21528 $as_echo_n "checking for library containing sched_yield... " >&6; }
21529 if ${ac_cv_search_sched_yield+:} false
; then :
21530 $as_echo_n "(cached) " >&6
21532 ac_func_search_save_LIBS
=$LIBS
21533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21536 /* Override any GCC internal prototype to avoid an error.
21537 Use char because int might match the return type of a GCC
21538 builtin and then its argument prototype would still apply. */
21542 char sched_yield ();
21546 return sched_yield ();
21551 for ac_lib
in '' rt
; do
21552 if test -z "$ac_lib"; then
21553 ac_res
="none required"
21556 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
21558 if test x
$gcc_no_link = xyes
; then
21559 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21561 if ac_fn_cxx_try_link
"$LINENO"; then :
21562 ac_cv_search_sched_yield
=$ac_res
21564 rm -f core conftest.err conftest.
$ac_objext \
21566 if ${ac_cv_search_sched_yield+:} false
; then :
21570 if ${ac_cv_search_sched_yield+:} false
; then :
21573 ac_cv_search_sched_yield
=no
21575 rm conftest.
$ac_ext
21576 LIBS
=$ac_func_search_save_LIBS
21578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21579 $as_echo "$ac_cv_search_sched_yield" >&6; }
21580 ac_res
=$ac_cv_search_sched_yield
21581 if test "$ac_res" != no
; then :
21582 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
21587 case "$ac_cv_search_sched_yield" in
21589 if test x
"$enable_libstdcxx_time" = x
"rt"; then
21590 GLIBCXX_LIBS
="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21591 ac_has_sched_yield
=yes
21595 ac_has_sched_yield
=yes
21599 for ac_header
in unistd.h
21601 ac_fn_cxx_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21602 if test "x$ac_cv_header_unistd_h" = xyes
; then :
21603 cat >>confdefs.h
<<_ACEOF
21604 #define HAVE_UNISTD_H 1
21606 ac_has_unistd_h
=yes
21614 if test x
"$ac_has_unistd_h" = x
"yes"; then
21615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21616 $as_echo_n "checking for monotonic clock... " >&6; }
21617 if test x
$gcc_no_link = xyes
; then
21618 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21621 /* end confdefs.h. */
21622 #include <unistd.h>
21628 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21631 clock_gettime(CLOCK_MONOTONIC, &tp);
21637 if ac_fn_cxx_try_link
"$LINENO"; then :
21638 ac_has_clock_monotonic
=yes
21640 ac_has_clock_monotonic
=no
21642 rm -f core conftest.err conftest.
$ac_objext \
21643 conftest
$ac_exeext conftest.
$ac_ext
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21646 $as_echo "$ac_has_clock_monotonic" >&6; }
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21649 $as_echo_n "checking for realtime clock... " >&6; }
21650 if test x
$gcc_no_link = xyes
; then
21651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21654 /* end confdefs.h. */
21655 #include <unistd.h>
21661 #if _POSIX_TIMERS > 0
21664 clock_gettime(CLOCK_REALTIME, &tp);
21670 if ac_fn_cxx_try_link
"$LINENO"; then :
21671 ac_has_clock_realtime
=yes
21673 ac_has_clock_realtime
=no
21675 rm -f core conftest.err conftest.
$ac_objext \
21676 conftest
$ac_exeext conftest.
$ac_ext
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21679 $as_echo "$ac_has_clock_realtime" >&6; }
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21682 $as_echo_n "checking for nanosleep... " >&6; }
21683 if test x
$gcc_no_link = xyes
; then
21684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21687 /* end confdefs.h. */
21688 #include <unistd.h>
21694 #if _POSIX_TIMERS > 0
21703 if ac_fn_cxx_try_link
"$LINENO"; then :
21704 ac_has_nanosleep
=yes
21706 ac_has_nanosleep
=no
21708 rm -f core conftest.err conftest.
$ac_objext \
21709 conftest
$ac_exeext conftest.
$ac_ext
21711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21712 $as_echo "$ac_has_nanosleep" >&6; }
21716 if test x
"$ac_has_clock_monotonic" != x
"yes"; then
21717 case ${target_os} in
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21720 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21722 /* end confdefs.h. */
21723 #include <unistd.h>
21725 #include <sys/syscall.h>
21730 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21733 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21734 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21740 if ac_fn_cxx_try_compile
"$LINENO"; then :
21741 ac_has_clock_gettime_syscall
=yes
21743 ac_has_clock_gettime_syscall
=no
21745 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21747 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21748 if test x
"$ac_has_clock_gettime_syscall" = x
"yes"; then
21750 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21752 ac_has_clock_monotonic
=yes
21753 ac_has_clock_realtime
=yes
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21755 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21759 #include <sys/syscall.h>
21764 #ifdef SYS_clock_gettime64
21765 #if SYS_clock_gettime64 != SYS_clock_gettime
21766 // We need to use SYS_clock_gettime and libc appears to
21767 // also know about the SYS_clock_gettime64 syscall.
21768 // Check that userspace doesn't use time64 version of timespec.
21769 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21770 "struct timespec must be compatible with SYS_clock_gettime");
21778 if ac_fn_cxx_try_compile
"$LINENO"; then :
21779 ac_timespec_matches_syscall
=yes
21781 ac_timespec_matches_syscall
=no
21783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21785 $as_echo "$ac_timespec_matches_syscall" >&6; }
21786 if test x
"$ac_timespec_matches_syscall" = no
; then
21787 as_fn_error $?
"struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21793 if test x
"$ac_has_clock_monotonic" = x
"yes"; then
21795 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21799 if test x
"$ac_has_clock_realtime" = x
"yes"; then
21801 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21805 if test x
"$ac_has_sched_yield" = x
"yes"; then
21807 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21811 if test x
"$ac_has_nanosleep" = x
"yes"; then
21813 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21815 elif test x
"$ac_has_win32_sleep" = x
"yes"; then
21817 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21821 $as_echo_n "checking for sleep... " >&6; }
21822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21823 /* end confdefs.h. */
21824 #include <unistd.h>
21833 if ac_fn_cxx_try_compile
"$LINENO"; then :
21838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21839 if test x
"$ac_has_sleep" = x
"yes"; then
21841 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21845 $as_echo "$ac_has_sleep" >&6; }
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21847 $as_echo_n "checking for usleep... " >&6; }
21848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21849 /* end confdefs.h. */
21850 #include <unistd.h>
21860 if ac_fn_cxx_try_compile
"$LINENO"; then :
21865 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21866 if test x
"$ac_has_usleep" = x
"yes"; then
21868 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21872 $as_echo "$ac_has_usleep" >&6; }
21875 if test x
"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x
"nonono"; then
21877 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21883 CXXFLAGS
="$ac_save_CXXFLAGS"
21884 LIBS
="$ac_save_LIBS"
21886 ac_cpp
='$CPP $CPPFLAGS'
21887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21893 # Check for tmpnam which is obsolescent in POSIX.1-2008
21896 ac_cpp
='$CXXCPP $CPPFLAGS'
21897 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21898 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21899 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21901 ac_save_CXXFLAGS
="$CXXFLAGS"
21902 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
21903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21904 $as_echo_n "checking for tmpnam... " >&6; }
21905 if ${glibcxx_cv_TMPNAM+:} false
; then :
21906 $as_echo_n "(cached) " >&6
21908 if test x
$gcc_no_link = xyes
; then
21909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21915 char *tmp = tmpnam(NULL);
21920 if ac_fn_cxx_try_compile
"$LINENO"; then :
21921 glibcxx_cv_TMPNAM
=yes
21923 glibcxx_cv_TMPNAM
=no
21925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
21927 if test x
$gcc_no_link = xyes
; then
21928 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21930 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21931 /* end confdefs.h. */
21936 char *tmp = tmpnam(NULL);
21941 if ac_fn_cxx_try_link
"$LINENO"; then :
21942 glibcxx_cv_TMPNAM
=yes
21944 glibcxx_cv_TMPNAM
=no
21946 rm -f core conftest.err conftest.
$ac_objext \
21947 conftest
$ac_exeext conftest.
$ac_ext
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21952 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21953 if test $glibcxx_cv_TMPNAM = yes; then
21955 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21958 CXXFLAGS
="$ac_save_CXXFLAGS"
21960 ac_cpp
='$CPP $CPPFLAGS'
21961 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21962 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21963 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
21967 # For pthread_cond_clockwait
21972 ac_cpp
='$CXXCPP $CPPFLAGS'
21973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
21977 ac_save_CXXFLAGS
="$CXXFLAGS"
21978 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
21979 ac_save_LIBS
="$LIBS"
21980 LIBS
="$LIBS -lpthread"
21982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21983 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21984 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false
; then :
21985 $as_echo_n "(cached) " >&6
21988 if test x
$gcc_no_link = xyes
; then
21989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21990 /* end confdefs.h. */
21991 #include <pthread.h>
21995 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
22000 if ac_fn_cxx_try_compile
"$LINENO"; then :
22001 glibcxx_cv_PTHREAD_COND_CLOCKWAIT
=yes
22003 glibcxx_cv_PTHREAD_COND_CLOCKWAIT
=no
22005 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22007 if test x
$gcc_no_link = xyes
; then
22008 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <pthread.h>
22016 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
22021 if ac_fn_cxx_try_link
"$LINENO"; then :
22022 glibcxx_cv_PTHREAD_COND_CLOCKWAIT
=yes
22024 glibcxx_cv_PTHREAD_COND_CLOCKWAIT
=no
22026 rm -f core conftest.err conftest.
$ac_objext \
22027 conftest
$ac_exeext conftest.
$ac_ext
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
22032 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
22033 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
22035 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
22039 CXXFLAGS
="$ac_save_CXXFLAGS"
22040 LIBS
="$ac_save_LIBS"
22042 ac_cpp
='$CPP $CPPFLAGS'
22043 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22044 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22045 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22049 # For pthread_mutex_clocklock
22054 ac_cpp
='$CXXCPP $CPPFLAGS'
22055 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22056 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22057 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22059 ac_save_CXXFLAGS
="$CXXFLAGS"
22060 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22061 ac_save_LIBS
="$LIBS"
22062 LIBS
="$LIBS -lpthread"
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
22065 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
22066 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false
; then :
22067 $as_echo_n "(cached) " >&6
22070 if test x
$gcc_no_link = xyes
; then
22071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22072 /* end confdefs.h. */
22073 #include <pthread.h>
22077 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22082 if ac_fn_cxx_try_compile
"$LINENO"; then :
22083 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK
=yes
22085 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK
=no
22087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22089 if test x
$gcc_no_link = xyes
; then
22090 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22093 /* end confdefs.h. */
22094 #include <pthread.h>
22098 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
22103 if ac_fn_cxx_try_link
"$LINENO"; then :
22104 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK
=yes
22106 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK
=no
22108 rm -f core conftest.err conftest.
$ac_objext \
22109 conftest
$ac_exeext conftest.
$ac_ext
22113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
22114 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
22115 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
22117 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
22121 CXXFLAGS
="$ac_save_CXXFLAGS"
22122 LIBS
="$ac_save_LIBS"
22124 ac_cpp
='$CPP $CPPFLAGS'
22125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22131 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
22136 ac_cpp
='$CXXCPP $CPPFLAGS'
22137 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22138 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22139 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22141 ac_save_CXXFLAGS
="$CXXFLAGS"
22142 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22143 ac_save_LIBS
="$LIBS"
22144 LIBS
="$LIBS -lpthread"
22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
22147 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
22148 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false
; then :
22149 $as_echo_n "(cached) " >&6
22152 if test x
$gcc_no_link = xyes
; then
22153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22154 /* end confdefs.h. */
22155 #include <pthread.h>
22159 pthread_rwlock_t rwl; struct timespec ts;
22160 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22161 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22166 if ac_fn_cxx_try_compile
"$LINENO"; then :
22167 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK
=yes
22169 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK
=no
22171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22173 if test x
$gcc_no_link = xyes
; then
22174 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22177 /* end confdefs.h. */
22178 #include <pthread.h>
22182 pthread_rwlock_t rwl; struct timespec ts;
22183 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
22184 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
22189 if ac_fn_cxx_try_link
"$LINENO"; then :
22190 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK
=yes
22192 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK
=no
22194 rm -f core conftest.err conftest.
$ac_objext \
22195 conftest
$ac_exeext conftest.
$ac_ext
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
22200 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
22201 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
22203 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
22207 CXXFLAGS
="$ac_save_CXXFLAGS"
22208 LIBS
="$ac_save_LIBS"
22210 ac_cpp
='$CPP $CPPFLAGS'
22211 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22212 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22213 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22218 ac_fn_c_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22219 if test "x$ac_cv_header_locale_h" = xyes
; then :
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22222 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22223 if ${ac_cv_val_LC_MESSAGES+:} false
; then :
22224 $as_echo_n "(cached) " >&6
22226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22228 #include <locale.h>
22237 if ac_fn_c_try_compile
"$LINENO"; then :
22238 ac_cv_val_LC_MESSAGES
=yes
22240 ac_cv_val_LC_MESSAGES
=no
22242 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22245 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22246 if test $ac_cv_val_LC_MESSAGES = yes; then
22248 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22257 # For hardware_concurrency
22258 for ac_header
in sys
/sysinfo.h
22260 ac_fn_c_check_header_mongrel
"$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22261 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
; then :
22262 cat >>confdefs.h
<<_ACEOF
22263 #define HAVE_SYS_SYSINFO_H 1
22274 ac_cpp
='$CXXCPP $CPPFLAGS'
22275 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22276 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22277 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22279 ac_save_CXXFLAGS
="$CXXFLAGS"
22280 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22283 $as_echo_n "checking for get_nprocs... " >&6; }
22284 if ${glibcxx_cv_GET_NPROCS+:} false
; then :
22285 $as_echo_n "(cached) " >&6
22288 if test x
$gcc_no_link = xyes
; then
22289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22290 /* end confdefs.h. */
22291 #include <sys/sysinfo.h>
22295 int n = get_nprocs();
22300 if ac_fn_cxx_try_compile
"$LINENO"; then :
22301 glibcxx_cv_GET_NPROCS
=yes
22303 glibcxx_cv_GET_NPROCS
=no
22305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22307 if test x
$gcc_no_link = xyes
; then
22308 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22311 /* end confdefs.h. */
22312 #include <sys/sysinfo.h>
22316 int n = get_nprocs();
22321 if ac_fn_cxx_try_link
"$LINENO"; then :
22322 glibcxx_cv_GET_NPROCS
=yes
22324 glibcxx_cv_GET_NPROCS
=no
22326 rm -f core conftest.err conftest.
$ac_objext \
22327 conftest
$ac_exeext conftest.
$ac_ext
22331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22332 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22333 if test $glibcxx_cv_GET_NPROCS = yes; then
22335 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22339 CXXFLAGS
="$ac_save_CXXFLAGS"
22341 ac_cpp
='$CPP $CPPFLAGS'
22342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22347 for ac_header
in unistd.h
22349 ac_fn_c_check_header_mongrel
"$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22350 if test "x$ac_cv_header_unistd_h" = xyes
; then :
22351 cat >>confdefs.h
<<_ACEOF
22352 #define HAVE_UNISTD_H 1
22363 ac_cpp
='$CXXCPP $CPPFLAGS'
22364 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22365 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22366 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22368 ac_save_CXXFLAGS
="$CXXFLAGS"
22369 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22372 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22373 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false
; then :
22374 $as_echo_n "(cached) " >&6
22377 if test x
$gcc_no_link = xyes
; then
22378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22379 /* end confdefs.h. */
22380 #include <unistd.h>
22384 int n = sysconf(_SC_NPROCESSORS_ONLN);
22389 if ac_fn_cxx_try_compile
"$LINENO"; then :
22390 glibcxx_cv_SC_NPROCESSORS_ONLN
=yes
22392 glibcxx_cv_SC_NPROCESSORS_ONLN
=no
22394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22396 if test x
$gcc_no_link = xyes
; then
22397 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22400 /* end confdefs.h. */
22401 #include <unistd.h>
22405 int n = sysconf(_SC_NPROCESSORS_ONLN);
22410 if ac_fn_cxx_try_link
"$LINENO"; then :
22411 glibcxx_cv_SC_NPROCESSORS_ONLN
=yes
22413 glibcxx_cv_SC_NPROCESSORS_ONLN
=no
22415 rm -f core conftest.err conftest.
$ac_objext \
22416 conftest
$ac_exeext conftest.
$ac_ext
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22421 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22422 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22424 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22428 CXXFLAGS
="$ac_save_CXXFLAGS"
22430 ac_cpp
='$CPP $CPPFLAGS'
22431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22440 ac_cpp
='$CXXCPP $CPPFLAGS'
22441 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22442 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22443 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22445 ac_save_CXXFLAGS
="$CXXFLAGS"
22446 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22449 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22450 if ${glibcxx_cv_SC_NPROC_ONLN+:} false
; then :
22451 $as_echo_n "(cached) " >&6
22454 if test x
$gcc_no_link = xyes
; then
22455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22457 #include <unistd.h>
22461 int n = sysconf(_SC_NPROC_ONLN);
22466 if ac_fn_cxx_try_compile
"$LINENO"; then :
22467 glibcxx_cv_SC_NPROC_ONLN
=yes
22469 glibcxx_cv_SC_NPROC_ONLN
=no
22471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22473 if test x
$gcc_no_link = xyes
; then
22474 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22477 /* end confdefs.h. */
22478 #include <unistd.h>
22482 int n = sysconf(_SC_NPROC_ONLN);
22487 if ac_fn_cxx_try_link
"$LINENO"; then :
22488 glibcxx_cv_SC_NPROC_ONLN
=yes
22490 glibcxx_cv_SC_NPROC_ONLN
=no
22492 rm -f core conftest.err conftest.
$ac_objext \
22493 conftest
$ac_exeext conftest.
$ac_ext
22497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22498 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22499 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22501 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22505 CXXFLAGS
="$ac_save_CXXFLAGS"
22507 ac_cpp
='$CPP $CPPFLAGS'
22508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22517 ac_cpp
='$CXXCPP $CPPFLAGS'
22518 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22519 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22520 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22522 ac_save_CXXFLAGS
="$CXXFLAGS"
22523 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22526 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22527 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false
; then :
22528 $as_echo_n "(cached) " >&6
22531 if test x
$gcc_no_link = xyes
; then
22532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22533 /* end confdefs.h. */
22534 #include <pthread.h>
22538 int n = pthread_num_processors_np();
22543 if ac_fn_cxx_try_compile
"$LINENO"; then :
22544 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP
=yes
22546 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP
=no
22548 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22550 if test x
$gcc_no_link = xyes
; then
22551 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22554 /* end confdefs.h. */
22555 #include <pthread.h>
22559 int n = pthread_num_processors_np();
22564 if ac_fn_cxx_try_link
"$LINENO"; then :
22565 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP
=yes
22567 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP
=no
22569 rm -f core conftest.err conftest.
$ac_objext \
22570 conftest
$ac_exeext conftest.
$ac_ext
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22575 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22576 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22578 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22582 CXXFLAGS
="$ac_save_CXXFLAGS"
22584 ac_cpp
='$CPP $CPPFLAGS'
22585 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22586 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22587 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22594 ac_cpp
='$CXXCPP $CPPFLAGS'
22595 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22596 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22597 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
22599 ac_save_CXXFLAGS
="$CXXFLAGS"
22600 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22603 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22604 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false
; then :
22605 $as_echo_n "(cached) " >&6
22608 if test x
$gcc_no_link = xyes
; then
22609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22610 /* end confdefs.h. */
22612 #include <stddef.h>
22613 #include <sys/sysctl.h>
22620 size_t size = sizeof(count);
22621 int mib[] = { CTL_HW, HW_NCPU };
22622 sysctl(mib, 2, &count, &size, NULL, 0);
22628 if ac_fn_cxx_try_compile
"$LINENO"; then :
22629 glibcxx_cv_SYSCTL_HW_NCPU
=yes
22631 glibcxx_cv_SYSCTL_HW_NCPU
=no
22633 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
22635 if test x
$gcc_no_link = xyes
; then
22636 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22639 /* end confdefs.h. */
22641 #include <stddef.h>
22642 #include <sys/sysctl.h>
22649 size_t size = sizeof(count);
22650 int mib[] = { CTL_HW, HW_NCPU };
22651 sysctl(mib, 2, &count, &size, NULL, 0);
22657 if ac_fn_cxx_try_link
"$LINENO"; then :
22658 glibcxx_cv_SYSCTL_HW_NCPU
=yes
22660 glibcxx_cv_SYSCTL_HW_NCPU
=no
22662 rm -f core conftest.err conftest.
$ac_objext \
22663 conftest
$ac_exeext conftest.
$ac_ext
22667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22668 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22669 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22671 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22675 CXXFLAGS
="$ac_save_CXXFLAGS"
22677 ac_cpp
='$CPP $CPPFLAGS'
22678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22684 # Note that this test has to be run with the C language.
22685 # Otherwise, sdt.h will try to include some headers from
22686 # libstdc++ itself.
22689 ac_cpp
='$CPP $CPPFLAGS'
22690 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22691 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22692 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22695 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22696 if ${glibcxx_cv_sys_sdt_h+:} false
; then :
22697 $as_echo_n "(cached) " >&6
22700 # Because we have to run the test in C, we use grep rather
22701 # than the compiler to check for the bug. The bug is that
22702 # were strings without trailing whitespace, causing g++
22703 # to look for operator"". The pattern searches for the fixed
22705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22706 /* end confdefs.h. */
22708 #include <sys/sdt.h>
22709 int f() { STAP_PROBE(hi, bob); }
22712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22713 $EGREP " \",\" " >/dev
/null
2>&1; then :
22714 glibcxx_cv_sys_sdt_h
=yes
22716 glibcxx_cv_sys_sdt_h
=no
22722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22723 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22725 ac_cpp
='$CPP $CPPFLAGS'
22726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
22730 if test $glibcxx_cv_sys_sdt_h = yes; then
22732 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22737 # Check for available headers.
22738 for ac_header
in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22739 locale.h machine
/endian.h machine
/param.h nan.h stdint.h stdlib.h string.h \
22740 strings.h sys
/ipc.h sys
/isa_defs.h sys
/machine.h sys
/param.h \
22741 sys
/resource.h sys
/sem.h sys
/stat.h sys
/time.h sys
/types.h unistd.h \
22742 wchar.h wctype.h linux
/types.h
22744 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22745 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22746 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
22747 cat >>confdefs.h
<<_ACEOF
22748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22756 for ac_header
in linux
/random.h
22758 ac_fn_c_check_header_compile
"$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22759 # include <linux/types.h>
22763 if test "x$ac_cv_header_linux_random_h" = xyes
; then :
22764 cat >>confdefs.h
<<_ACEOF
22765 #define HAVE_LINUX_RANDOM_H 1
22773 for ac_header
in xlocale.h
22775 ac_fn_c_check_header_mongrel
"$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22776 if test "x$ac_cv_header_xlocale_h" = xyes
; then :
22777 cat >>confdefs.h
<<_ACEOF
22778 #define HAVE_XLOCALE_H 1
22786 # Only do link tests if native. Else, hardcode.
22787 if $GLIBCXX_IS_NATIVE; then
22789 # We can do more elaborate tests that assume a working linker.
22794 # Check whether --with-gnu-ld was given.
22795 if test "${with_gnu_ld+set}" = set; then :
22796 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
22802 if test "$GCC" = yes; then
22803 # Check if gcc -print-prog-name=ld gives a path.
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22805 $as_echo_n "checking for ld used by $CC... " >&6; }
22808 # gcc leaves a trailing carriage return which upsets mingw
22809 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22811 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
22814 # Accept absolute paths.
22816 re_direlt
='/[^/][^/]*/\.\./'
22817 # Canonicalize the pathname of ld
22818 ac_prog
=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22819 while $ECHO "$ac_prog" |
$GREP "$re_direlt" > /dev
/null
2>&1; do
22820 ac_prog
=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22822 test -z "$LD" && LD
="$ac_prog"
22825 # If it fails, then pretend we aren't using GCC.
22829 # If it is relative, then search for the first ld in PATH.
22830 with_gnu_ld
=unknown
22833 elif test "$with_gnu_ld" = yes; then
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22835 $as_echo_n "checking for GNU ld... " >&6; }
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22838 $as_echo_n "checking for non-GNU ld... " >&6; }
22840 if ${lt_cv_path_LD+:} false
; then :
22841 $as_echo_n "(cached) " >&6
22843 if test -z "$LD"; then
22844 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
22845 for ac_dir
in $PATH; do
22847 test -z "$ac_dir" && ac_dir
=.
22848 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
22849 lt_cv_path_LD
="$ac_dir/$ac_prog"
22850 # Check to see if the program is GNU ld. I'd rather use --version,
22851 # but apparently some variants of GNU ld only accept -v.
22852 # Break only if it was the GNU/non-GNU ld that we prefer.
22853 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22854 *GNU
* |
*'with BFD'*)
22855 test "$with_gnu_ld" != no
&& break
22858 test "$with_gnu_ld" != yes && break
22865 lt_cv_path_LD
="$LD" # Let the user override the test with a path.
22869 LD
="$lt_cv_path_LD"
22870 if test -n "$LD"; then
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22872 $as_echo "$LD" >&6; }
22874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22875 $as_echo "no" >&6; }
22877 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22879 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22880 if ${lt_cv_prog_gnu_ld+:} false
; then :
22881 $as_echo_n "(cached) " >&6
22883 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22884 case `$LD -v 2>&1 </dev/null` in
22885 *GNU
* |
*'with BFD'*)
22886 lt_cv_prog_gnu_ld
=yes
22889 lt_cv_prog_gnu_ld
=no
22893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22894 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22895 with_gnu_ld
=$lt_cv_prog_gnu_ld
22903 # If we're not using GNU ld, then there's no point in even trying these
22904 # tests. Check for that first. We should have already tested for gld
22905 # by now (in libtool), but require it now just to be safe...
22906 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
22907 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
22911 # The name set by libtool depends on the version of libtool. Shame on us
22912 # for depending on an impl detail, but c'est la vie. Older versions used
22913 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22914 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22915 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22916 # set (hence we're using an older libtool), then set it.
22917 if test x
${with_gnu_ld+set} != xset
; then
22918 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
22919 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22922 with_gnu_ld
=$ac_cv_prog_gnu_ld
22926 # Start by getting the version number. I think the libtool test already
22927 # does some of this, but throws away the result.
22928 glibcxx_ld_is_gold
=no
22929 glibcxx_ld_is_mold
=no
22930 if test x
"$with_gnu_ld" = x
"yes"; then
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22932 $as_echo_n "checking for ld version... " >&6; }
22934 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
22935 glibcxx_ld_is_gold
=yes
22936 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
22937 glibcxx_ld_is_mold
=yes
22939 ldver
=`$LD --version 2>/dev/null |
22940 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22942 glibcxx_gnu_ld_version
=`echo $ldver | \
22943 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22945 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22948 # Set --gc-sections.
22949 glibcxx_have_gc_sections
=no
22950 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
22951 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
22952 glibcxx_have_gc_sections
=yes
22955 glibcxx_gcsections_min_ld
=21602
22956 if test x
"$with_gnu_ld" = x
"yes" &&
22957 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22958 glibcxx_have_gc_sections
=yes
22961 if test "$glibcxx_have_gc_sections" = "yes"; then
22962 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22963 # NB: This flag only works reliably after 2.16.1. Configure tests
22964 # for this are difficult, so hard wire a value that should work.
22966 ac_test_CFLAGS
="${CFLAGS+set}"
22967 ac_save_CFLAGS
="$CFLAGS"
22968 CFLAGS
='-Wl,--gc-sections'
22970 # Check for -Wl,--gc-sections
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22972 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22973 if test x
$gcc_no_link = xyes
; then
22974 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22977 /* end confdefs.h. */
22978 int one(void) { return 1; }
22979 int two(void) { return 2; }
22989 if ac_fn_c_try_link
"$LINENO"; then :
22994 rm -f core conftest.err conftest.
$ac_objext \
22995 conftest
$ac_exeext conftest.
$ac_ext
22996 if test "$ac_gcsections" = "yes"; then
22999 if $CC -c conftest.c
; then
23000 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
23001 grep "Warning: gc-sections option ignored" > /dev
/null
; then
23005 rm -f conftest.c conftest.o conftest
23007 if test "$ac_gcsections" = "yes"; then
23008 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
23010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
23011 $as_echo "$ac_gcsections" >&6; }
23013 if test "$ac_test_CFLAGS" = set; then
23014 CFLAGS
="$ac_save_CFLAGS"
23016 # this is the suspicious part
23022 # Note this is only for shared objects.
23024 if test x
"$with_gnu_ld" = x
"yes"; then
23025 # cygwin and mingw uses PE, which has no ELF relro support,
23026 # multi target ld may confuse configure machinery
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
23034 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
23035 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
23036 if test -n "$cxx_z_relo"; then
23037 OPT_LDFLAGS
="-Wl,-z,relro"
23040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
23041 $as_echo "$ac_ld_relro" >&6; }
23045 # Set linker optimization flags.
23046 if test x
"$with_gnu_ld" = x
"yes"; then
23047 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
23054 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
23055 ac_save_CXXFLAGS
="$CXXFLAGS"
23056 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
23058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
23059 $as_echo_n "checking for sin in -lm... " >&6; }
23060 if ${ac_cv_lib_m_sin+:} false
; then :
23061 $as_echo_n "(cached) " >&6
23063 ac_check_lib_save_LIBS
=$LIBS
23065 if test x
$gcc_no_link = xyes
; then
23066 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23069 /* end confdefs.h. */
23071 /* Override any GCC internal prototype to avoid an error.
23072 Use char because int might match the return type of a GCC
23073 builtin and then its argument prototype would still apply. */
23086 if ac_fn_c_try_link
"$LINENO"; then :
23087 ac_cv_lib_m_sin
=yes
23091 rm -f core conftest.err conftest.
$ac_objext \
23092 conftest
$ac_exeext conftest.
$ac_ext
23093 LIBS
=$ac_check_lib_save_LIBS
23095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
23096 $as_echo "$ac_cv_lib_m_sin" >&6; }
23097 if test "x$ac_cv_lib_m_sin" = xyes
; then :
23101 ac_save_LIBS
="$LIBS"
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
23107 $as_echo_n "checking for isinf declaration... " >&6; }
23108 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
23109 if ${glibcxx_cv_func_isinf_use+:} false
; then :
23110 $as_echo_n "(cached) " >&6
23115 ac_cpp
='$CXXCPP $CPPFLAGS'
23116 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23117 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23118 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23121 /* end confdefs.h. */
23123 #ifdef HAVE_IEEEFP_H
23124 #include <ieeefp.h>
23135 if ac_fn_cxx_try_compile
"$LINENO"; then :
23136 glibcxx_cv_func_isinf_use
=yes
23138 glibcxx_cv_func_isinf_use
=no
23140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23142 ac_cpp
='$CPP $CPPFLAGS'
23143 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23144 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23145 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
23152 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
23154 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
23155 for ac_func
in isinf
23157 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
23158 if test "x$ac_cv_func_isinf" = xyes
; then :
23159 cat >>confdefs.h
<<_ACEOF
23160 #define HAVE_ISINF 1
23170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23171 $as_echo_n "checking for isnan declaration... " >&6; }
23172 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
23173 if ${glibcxx_cv_func_isnan_use+:} false
; then :
23174 $as_echo_n "(cached) " >&6
23179 ac_cpp
='$CXXCPP $CPPFLAGS'
23180 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23181 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23182 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23185 /* end confdefs.h. */
23187 #ifdef HAVE_IEEEFP_H
23188 #include <ieeefp.h>
23199 if ac_fn_cxx_try_compile
"$LINENO"; then :
23200 glibcxx_cv_func_isnan_use
=yes
23202 glibcxx_cv_func_isnan_use
=no
23204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23206 ac_cpp
='$CPP $CPPFLAGS'
23207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23216 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23218 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
23219 for ac_func
in isnan
23221 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
23222 if test "x$ac_cv_func_isnan" = xyes
; then :
23223 cat >>confdefs.h
<<_ACEOF
23224 #define HAVE_ISNAN 1
23234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23235 $as_echo_n "checking for finite declaration... " >&6; }
23236 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
23237 if ${glibcxx_cv_func_finite_use+:} false
; then :
23238 $as_echo_n "(cached) " >&6
23243 ac_cpp
='$CXXCPP $CPPFLAGS'
23244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23249 /* end confdefs.h. */
23251 #ifdef HAVE_IEEEFP_H
23252 #include <ieeefp.h>
23263 if ac_fn_cxx_try_compile
"$LINENO"; then :
23264 glibcxx_cv_func_finite_use
=yes
23266 glibcxx_cv_func_finite_use
=no
23268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23270 ac_cpp
='$CPP $CPPFLAGS'
23271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23280 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23282 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
23283 for ac_func
in finite
23285 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
23286 if test "x$ac_cv_func_finite" = xyes
; then :
23287 cat >>confdefs.h
<<_ACEOF
23288 #define HAVE_FINITE 1
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23299 $as_echo_n "checking for sincos declaration... " >&6; }
23300 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
23301 if ${glibcxx_cv_func_sincos_use+:} false
; then :
23302 $as_echo_n "(cached) " >&6
23307 ac_cpp
='$CXXCPP $CPPFLAGS'
23308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23313 /* end confdefs.h. */
23323 if ac_fn_cxx_try_compile
"$LINENO"; then :
23324 glibcxx_cv_func_sincos_use
=yes
23326 glibcxx_cv_func_sincos_use
=no
23328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23330 ac_cpp
='$CPP $CPPFLAGS'
23331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23340 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23342 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
23343 for ac_func
in sincos
23345 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
23346 if test "x$ac_cv_func_sincos" = xyes
; then :
23347 cat >>confdefs.h
<<_ACEOF
23348 #define HAVE_SINCOS 1
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23359 $as_echo_n "checking for fpclass declaration... " >&6; }
23360 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
23361 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
23362 $as_echo_n "(cached) " >&6
23367 ac_cpp
='$CXXCPP $CPPFLAGS'
23368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23373 /* end confdefs.h. */
23375 #ifdef HAVE_IEEEFP_H
23376 #include <ieeefp.h>
23387 if ac_fn_cxx_try_compile
"$LINENO"; then :
23388 glibcxx_cv_func_fpclass_use
=yes
23390 glibcxx_cv_func_fpclass_use
=no
23392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23394 ac_cpp
='$CPP $CPPFLAGS'
23395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23404 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23406 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
23407 for ac_func
in fpclass
23409 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
23410 if test "x$ac_cv_func_fpclass" = xyes
; then :
23411 cat >>confdefs.h
<<_ACEOF
23412 #define HAVE_FPCLASS 1
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23423 $as_echo_n "checking for qfpclass declaration... " >&6; }
23424 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
23425 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
23426 $as_echo_n "(cached) " >&6
23431 ac_cpp
='$CXXCPP $CPPFLAGS'
23432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23437 /* end confdefs.h. */
23439 #ifdef HAVE_IEEEFP_H
23440 #include <ieeefp.h>
23451 if ac_fn_cxx_try_compile
"$LINENO"; then :
23452 glibcxx_cv_func_qfpclass_use
=yes
23454 glibcxx_cv_func_qfpclass_use
=no
23456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23458 ac_cpp
='$CPP $CPPFLAGS'
23459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23468 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23470 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
23471 for ac_func
in qfpclass
23473 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23474 if test "x$ac_cv_func_qfpclass" = xyes
; then :
23475 cat >>confdefs.h
<<_ACEOF
23476 #define HAVE_QFPCLASS 1
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23487 $as_echo_n "checking for hypot declaration... " >&6; }
23488 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
23489 if ${glibcxx_cv_func_hypot_use+:} false
; then :
23490 $as_echo_n "(cached) " >&6
23495 ac_cpp
='$CXXCPP $CPPFLAGS'
23496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23501 /* end confdefs.h. */
23511 if ac_fn_cxx_try_compile
"$LINENO"; then :
23512 glibcxx_cv_func_hypot_use
=yes
23514 glibcxx_cv_func_hypot_use
=no
23516 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23518 ac_cpp
='$CPP $CPPFLAGS'
23519 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23528 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23530 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
23531 for ac_func
in hypot
23533 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
23534 if test "x$ac_cv_func_hypot" = xyes
; then :
23535 cat >>confdefs.h
<<_ACEOF
23536 #define HAVE_HYPOT 1
23546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23547 $as_echo_n "checking for float trig functions... " >&6; }
23548 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
23549 $as_echo_n "(cached) " >&6
23554 ac_cpp
='$CXXCPP $CPPFLAGS'
23555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23560 /* end confdefs.h. */
23565 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23570 if ac_fn_cxx_try_compile
"$LINENO"; then :
23571 glibcxx_cv_func_float_trig_use
=yes
23573 glibcxx_cv_func_float_trig_use
=no
23575 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23577 ac_cpp
='$CPP $CPPFLAGS'
23578 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23585 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23586 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
23587 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23589 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23590 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23591 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23592 cat >>confdefs.h
<<_ACEOF
23593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23604 $as_echo_n "checking for float round functions... " >&6; }
23605 if ${glibcxx_cv_func_float_round_use+:} false
; then :
23606 $as_echo_n "(cached) " >&6
23611 ac_cpp
='$CXXCPP $CPPFLAGS'
23612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23617 /* end confdefs.h. */
23622 ceilf (0); floorf (0);
23627 if ac_fn_cxx_try_compile
"$LINENO"; then :
23628 glibcxx_cv_func_float_round_use
=yes
23630 glibcxx_cv_func_float_round_use
=no
23632 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23634 ac_cpp
='$CPP $CPPFLAGS'
23635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23642 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23643 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
23644 for ac_func
in ceilf floorf
23646 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23647 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
23648 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
23649 cat >>confdefs.h
<<_ACEOF
23650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23662 $as_echo_n "checking for expf declaration... " >&6; }
23663 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
23664 if ${glibcxx_cv_func_expf_use+:} false
; then :
23665 $as_echo_n "(cached) " >&6
23670 ac_cpp
='$CXXCPP $CPPFLAGS'
23671 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23672 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23673 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23676 /* end confdefs.h. */
23678 #ifdef HAVE_IEEEFP_H
23679 #include <ieeefp.h>
23690 if ac_fn_cxx_try_compile
"$LINENO"; then :
23691 glibcxx_cv_func_expf_use
=yes
23693 glibcxx_cv_func_expf_use
=no
23695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23697 ac_cpp
='$CPP $CPPFLAGS'
23698 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23707 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23709 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
23710 for ac_func
in expf
23712 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
23713 if test "x$ac_cv_func_expf" = xyes
; then :
23714 cat >>confdefs.h
<<_ACEOF
23715 #define HAVE_EXPF 1
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23726 $as_echo_n "checking for isnanf declaration... " >&6; }
23727 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
23728 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
23729 $as_echo_n "(cached) " >&6
23734 ac_cpp
='$CXXCPP $CPPFLAGS'
23735 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23740 /* end confdefs.h. */
23742 #ifdef HAVE_IEEEFP_H
23743 #include <ieeefp.h>
23754 if ac_fn_cxx_try_compile
"$LINENO"; then :
23755 glibcxx_cv_func_isnanf_use
=yes
23757 glibcxx_cv_func_isnanf_use
=no
23759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23761 ac_cpp
='$CPP $CPPFLAGS'
23762 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23771 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23773 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
23774 for ac_func
in isnanf
23776 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
23777 if test "x$ac_cv_func_isnanf" = xyes
; then :
23778 cat >>confdefs.h
<<_ACEOF
23779 #define HAVE_ISNANF 1
23789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23790 $as_echo_n "checking for isinff declaration... " >&6; }
23791 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
23792 if ${glibcxx_cv_func_isinff_use+:} false
; then :
23793 $as_echo_n "(cached) " >&6
23798 ac_cpp
='$CXXCPP $CPPFLAGS'
23799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23804 /* end confdefs.h. */
23806 #ifdef HAVE_IEEEFP_H
23807 #include <ieeefp.h>
23818 if ac_fn_cxx_try_compile
"$LINENO"; then :
23819 glibcxx_cv_func_isinff_use
=yes
23821 glibcxx_cv_func_isinff_use
=no
23823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23825 ac_cpp
='$CPP $CPPFLAGS'
23826 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23835 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23837 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
23838 for ac_func
in isinff
23840 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
23841 if test "x$ac_cv_func_isinff" = xyes
; then :
23842 cat >>confdefs.h
<<_ACEOF
23843 #define HAVE_ISINFF 1
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23854 $as_echo_n "checking for atan2f declaration... " >&6; }
23855 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
23856 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
23857 $as_echo_n "(cached) " >&6
23862 ac_cpp
='$CXXCPP $CPPFLAGS'
23863 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23868 /* end confdefs.h. */
23878 if ac_fn_cxx_try_compile
"$LINENO"; then :
23879 glibcxx_cv_func_atan2f_use
=yes
23881 glibcxx_cv_func_atan2f_use
=no
23883 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23885 ac_cpp
='$CPP $CPPFLAGS'
23886 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23895 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23897 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
23898 for ac_func
in atan2f
23900 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
23901 if test "x$ac_cv_func_atan2f" = xyes
; then :
23902 cat >>confdefs.h
<<_ACEOF
23903 #define HAVE_ATAN2F 1
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23914 $as_echo_n "checking for fabsf declaration... " >&6; }
23915 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
23916 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
23917 $as_echo_n "(cached) " >&6
23922 ac_cpp
='$CXXCPP $CPPFLAGS'
23923 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23928 /* end confdefs.h. */
23930 #ifdef HAVE_IEEEFP_H
23931 #include <ieeefp.h>
23942 if ac_fn_cxx_try_compile
"$LINENO"; then :
23943 glibcxx_cv_func_fabsf_use
=yes
23945 glibcxx_cv_func_fabsf_use
=no
23947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
23949 ac_cpp
='$CPP $CPPFLAGS'
23950 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
23958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23959 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23961 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
23962 for ac_func
in fabsf
23964 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
23965 if test "x$ac_cv_func_fabsf" = xyes
; then :
23966 cat >>confdefs.h
<<_ACEOF
23967 #define HAVE_FABSF 1
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23978 $as_echo_n "checking for fmodf declaration... " >&6; }
23979 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
23980 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
23981 $as_echo_n "(cached) " >&6
23986 ac_cpp
='$CXXCPP $CPPFLAGS'
23987 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23988 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23989 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
23991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23992 /* end confdefs.h. */
24002 if ac_fn_cxx_try_compile
"$LINENO"; then :
24003 glibcxx_cv_func_fmodf_use
=yes
24005 glibcxx_cv_func_fmodf_use
=no
24007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24009 ac_cpp
='$CPP $CPPFLAGS'
24010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24019 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24021 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
24022 for ac_func
in fmodf
24024 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
24025 if test "x$ac_cv_func_fmodf" = xyes
; then :
24026 cat >>confdefs.h
<<_ACEOF
24027 #define HAVE_FMODF 1
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24038 $as_echo_n "checking for frexpf declaration... " >&6; }
24039 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
24040 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
24041 $as_echo_n "(cached) " >&6
24046 ac_cpp
='$CXXCPP $CPPFLAGS'
24047 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24048 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24049 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24052 /* end confdefs.h. */
24062 if ac_fn_cxx_try_compile
"$LINENO"; then :
24063 glibcxx_cv_func_frexpf_use
=yes
24065 glibcxx_cv_func_frexpf_use
=no
24067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24069 ac_cpp
='$CPP $CPPFLAGS'
24070 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24071 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24072 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24079 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24081 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
24082 for ac_func
in frexpf
24084 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
24085 if test "x$ac_cv_func_frexpf" = xyes
; then :
24086 cat >>confdefs.h
<<_ACEOF
24087 #define HAVE_FREXPF 1
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24098 $as_echo_n "checking for hypotf declaration... " >&6; }
24099 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
24100 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
24101 $as_echo_n "(cached) " >&6
24106 ac_cpp
='$CXXCPP $CPPFLAGS'
24107 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24112 /* end confdefs.h. */
24122 if ac_fn_cxx_try_compile
"$LINENO"; then :
24123 glibcxx_cv_func_hypotf_use
=yes
24125 glibcxx_cv_func_hypotf_use
=no
24127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24129 ac_cpp
='$CPP $CPPFLAGS'
24130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24139 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24141 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
24142 for ac_func
in hypotf
24144 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
24145 if test "x$ac_cv_func_hypotf" = xyes
; then :
24146 cat >>confdefs.h
<<_ACEOF
24147 #define HAVE_HYPOTF 1
24157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24158 $as_echo_n "checking for ldexpf declaration... " >&6; }
24159 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
24160 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
24161 $as_echo_n "(cached) " >&6
24166 ac_cpp
='$CXXCPP $CPPFLAGS'
24167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24172 /* end confdefs.h. */
24182 if ac_fn_cxx_try_compile
"$LINENO"; then :
24183 glibcxx_cv_func_ldexpf_use
=yes
24185 glibcxx_cv_func_ldexpf_use
=no
24187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24189 ac_cpp
='$CPP $CPPFLAGS'
24190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24199 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24201 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
24202 for ac_func
in ldexpf
24204 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24205 if test "x$ac_cv_func_ldexpf" = xyes
; then :
24206 cat >>confdefs.h
<<_ACEOF
24207 #define HAVE_LDEXPF 1
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24218 $as_echo_n "checking for logf declaration... " >&6; }
24219 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
24220 if ${glibcxx_cv_func_logf_use+:} false
; then :
24221 $as_echo_n "(cached) " >&6
24226 ac_cpp
='$CXXCPP $CPPFLAGS'
24227 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24232 /* end confdefs.h. */
24234 #ifdef HAVE_IEEEFP_H
24235 #include <ieeefp.h>
24246 if ac_fn_cxx_try_compile
"$LINENO"; then :
24247 glibcxx_cv_func_logf_use
=yes
24249 glibcxx_cv_func_logf_use
=no
24251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24253 ac_cpp
='$CPP $CPPFLAGS'
24254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24263 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24265 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
24266 for ac_func
in logf
24268 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
24269 if test "x$ac_cv_func_logf" = xyes
; then :
24270 cat >>confdefs.h
<<_ACEOF
24271 #define HAVE_LOGF 1
24281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24282 $as_echo_n "checking for log10f declaration... " >&6; }
24283 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
24284 if ${glibcxx_cv_func_log10f_use+:} false
; then :
24285 $as_echo_n "(cached) " >&6
24290 ac_cpp
='$CXXCPP $CPPFLAGS'
24291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24296 /* end confdefs.h. */
24298 #ifdef HAVE_IEEEFP_H
24299 #include <ieeefp.h>
24310 if ac_fn_cxx_try_compile
"$LINENO"; then :
24311 glibcxx_cv_func_log10f_use
=yes
24313 glibcxx_cv_func_log10f_use
=no
24315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24317 ac_cpp
='$CPP $CPPFLAGS'
24318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24327 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24329 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
24330 for ac_func
in log10f
24332 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
24333 if test "x$ac_cv_func_log10f" = xyes
; then :
24334 cat >>confdefs.h
<<_ACEOF
24335 #define HAVE_LOG10F 1
24345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24346 $as_echo_n "checking for modff declaration... " >&6; }
24347 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
24348 if ${glibcxx_cv_func_modff_use+:} false
; then :
24349 $as_echo_n "(cached) " >&6
24354 ac_cpp
='$CXXCPP $CPPFLAGS'
24355 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24356 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24357 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24360 /* end confdefs.h. */
24370 if ac_fn_cxx_try_compile
"$LINENO"; then :
24371 glibcxx_cv_func_modff_use
=yes
24373 glibcxx_cv_func_modff_use
=no
24375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24377 ac_cpp
='$CPP $CPPFLAGS'
24378 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24387 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24389 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
24390 for ac_func
in modff
24392 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
24393 if test "x$ac_cv_func_modff" = xyes
; then :
24394 cat >>confdefs.h
<<_ACEOF
24395 #define HAVE_MODFF 1
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24406 $as_echo_n "checking for modf declaration... " >&6; }
24407 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
24408 if ${glibcxx_cv_func_modf_use+:} false
; then :
24409 $as_echo_n "(cached) " >&6
24414 ac_cpp
='$CXXCPP $CPPFLAGS'
24415 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24416 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24417 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24420 /* end confdefs.h. */
24430 if ac_fn_cxx_try_compile
"$LINENO"; then :
24431 glibcxx_cv_func_modf_use
=yes
24433 glibcxx_cv_func_modf_use
=no
24435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24437 ac_cpp
='$CPP $CPPFLAGS'
24438 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24439 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24440 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24447 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24449 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
24450 for ac_func
in modf
24452 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
24453 if test "x$ac_cv_func_modf" = xyes
; then :
24454 cat >>confdefs.h
<<_ACEOF
24455 #define HAVE_MODF 1
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24466 $as_echo_n "checking for powf declaration... " >&6; }
24467 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
24468 if ${glibcxx_cv_func_powf_use+:} false
; then :
24469 $as_echo_n "(cached) " >&6
24474 ac_cpp
='$CXXCPP $CPPFLAGS'
24475 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24476 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24477 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24480 /* end confdefs.h. */
24490 if ac_fn_cxx_try_compile
"$LINENO"; then :
24491 glibcxx_cv_func_powf_use
=yes
24493 glibcxx_cv_func_powf_use
=no
24495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24497 ac_cpp
='$CPP $CPPFLAGS'
24498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24507 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24509 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
24510 for ac_func
in powf
24512 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
24513 if test "x$ac_cv_func_powf" = xyes
; then :
24514 cat >>confdefs.h
<<_ACEOF
24515 #define HAVE_POWF 1
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24526 $as_echo_n "checking for sqrtf declaration... " >&6; }
24527 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
24528 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
24529 $as_echo_n "(cached) " >&6
24534 ac_cpp
='$CXXCPP $CPPFLAGS'
24535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24540 /* end confdefs.h. */
24542 #ifdef HAVE_IEEEFP_H
24543 #include <ieeefp.h>
24554 if ac_fn_cxx_try_compile
"$LINENO"; then :
24555 glibcxx_cv_func_sqrtf_use
=yes
24557 glibcxx_cv_func_sqrtf_use
=no
24559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24561 ac_cpp
='$CPP $CPPFLAGS'
24562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24571 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24573 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
24574 for ac_func
in sqrtf
24576 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24577 if test "x$ac_cv_func_sqrtf" = xyes
; then :
24578 cat >>confdefs.h
<<_ACEOF
24579 #define HAVE_SQRTF 1
24589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24590 $as_echo_n "checking for sincosf declaration... " >&6; }
24591 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
24592 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
24593 $as_echo_n "(cached) " >&6
24598 ac_cpp
='$CXXCPP $CPPFLAGS'
24599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24604 /* end confdefs.h. */
24614 if ac_fn_cxx_try_compile
"$LINENO"; then :
24615 glibcxx_cv_func_sincosf_use
=yes
24617 glibcxx_cv_func_sincosf_use
=no
24619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24621 ac_cpp
='$CPP $CPPFLAGS'
24622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24631 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24633 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
24634 for ac_func
in sincosf
24636 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
24637 if test "x$ac_cv_func_sincosf" = xyes
; then :
24638 cat >>confdefs.h
<<_ACEOF
24639 #define HAVE_SINCOSF 1
24649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24650 $as_echo_n "checking for finitef declaration... " >&6; }
24651 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
24652 if ${glibcxx_cv_func_finitef_use+:} false
; then :
24653 $as_echo_n "(cached) " >&6
24658 ac_cpp
='$CXXCPP $CPPFLAGS'
24659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24664 /* end confdefs.h. */
24666 #ifdef HAVE_IEEEFP_H
24667 #include <ieeefp.h>
24678 if ac_fn_cxx_try_compile
"$LINENO"; then :
24679 glibcxx_cv_func_finitef_use
=yes
24681 glibcxx_cv_func_finitef_use
=no
24683 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24685 ac_cpp
='$CPP $CPPFLAGS'
24686 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24687 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24688 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24695 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24697 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
24698 for ac_func
in finitef
24700 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
24701 if test "x$ac_cv_func_finitef" = xyes
; then :
24702 cat >>confdefs.h
<<_ACEOF
24703 #define HAVE_FINITEF 1
24713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24714 $as_echo_n "checking for long double trig functions... " >&6; }
24715 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
24716 $as_echo_n "(cached) " >&6
24721 ac_cpp
='$CXXCPP $CPPFLAGS'
24722 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24723 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24724 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24727 /* end confdefs.h. */
24732 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24737 if ac_fn_cxx_try_compile
"$LINENO"; then :
24738 glibcxx_cv_func_long_double_trig_use
=yes
24740 glibcxx_cv_func_long_double_trig_use
=no
24742 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24744 ac_cpp
='$CPP $CPPFLAGS'
24745 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24746 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24747 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24752 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24753 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
24754 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24756 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24757 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
24758 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
24759 cat >>confdefs.h
<<_ACEOF
24760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24771 $as_echo_n "checking for long double round functions... " >&6; }
24772 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
24773 $as_echo_n "(cached) " >&6
24778 ac_cpp
='$CXXCPP $CPPFLAGS'
24779 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24784 /* end confdefs.h. */
24789 ceill (0); floorl (0);
24794 if ac_fn_cxx_try_compile
"$LINENO"; then :
24795 glibcxx_cv_func_long_double_round_use
=yes
24797 glibcxx_cv_func_long_double_round_use
=no
24799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24801 ac_cpp
='$CPP $CPPFLAGS'
24802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24809 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24810 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
24811 for ac_func
in ceill floorl
24813 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24814 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
24815 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
24816 cat >>confdefs.h
<<_ACEOF
24817 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24829 $as_echo_n "checking for isnanl declaration... " >&6; }
24830 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
24831 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
24832 $as_echo_n "(cached) " >&6
24837 ac_cpp
='$CXXCPP $CPPFLAGS'
24838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24843 /* end confdefs.h. */
24845 #ifdef HAVE_IEEEFP_H
24846 #include <ieeefp.h>
24857 if ac_fn_cxx_try_compile
"$LINENO"; then :
24858 glibcxx_cv_func_isnanl_use
=yes
24860 glibcxx_cv_func_isnanl_use
=no
24862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24864 ac_cpp
='$CPP $CPPFLAGS'
24865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24874 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24876 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
24877 for ac_func
in isnanl
24879 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
24880 if test "x$ac_cv_func_isnanl" = xyes
; then :
24881 cat >>confdefs.h
<<_ACEOF
24882 #define HAVE_ISNANL 1
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24893 $as_echo_n "checking for isinfl declaration... " >&6; }
24894 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
24895 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
24896 $as_echo_n "(cached) " >&6
24901 ac_cpp
='$CXXCPP $CPPFLAGS'
24902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24907 /* end confdefs.h. */
24909 #ifdef HAVE_IEEEFP_H
24910 #include <ieeefp.h>
24921 if ac_fn_cxx_try_compile
"$LINENO"; then :
24922 glibcxx_cv_func_isinfl_use
=yes
24924 glibcxx_cv_func_isinfl_use
=no
24926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24928 ac_cpp
='$CPP $CPPFLAGS'
24929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24938 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24940 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
24941 for ac_func
in isinfl
24943 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
24944 if test "x$ac_cv_func_isinfl" = xyes
; then :
24945 cat >>confdefs.h
<<_ACEOF
24946 #define HAVE_ISINFL 1
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24957 $as_echo_n "checking for atan2l declaration... " >&6; }
24958 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
24959 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
24960 $as_echo_n "(cached) " >&6
24965 ac_cpp
='$CXXCPP $CPPFLAGS'
24966 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
24970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24981 if ac_fn_cxx_try_compile
"$LINENO"; then :
24982 glibcxx_cv_func_atan2l_use
=yes
24984 glibcxx_cv_func_atan2l_use
=no
24986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
24988 ac_cpp
='$CPP $CPPFLAGS'
24989 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24990 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24991 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24998 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25000 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
25001 for ac_func
in atan2l
25003 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
25004 if test "x$ac_cv_func_atan2l" = xyes
; then :
25005 cat >>confdefs.h
<<_ACEOF
25006 #define HAVE_ATAN2L 1
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25017 $as_echo_n "checking for expl declaration... " >&6; }
25018 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
25019 if ${glibcxx_cv_func_expl_use+:} false
; then :
25020 $as_echo_n "(cached) " >&6
25025 ac_cpp
='$CXXCPP $CPPFLAGS'
25026 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25031 /* end confdefs.h. */
25033 #ifdef HAVE_IEEEFP_H
25034 #include <ieeefp.h>
25045 if ac_fn_cxx_try_compile
"$LINENO"; then :
25046 glibcxx_cv_func_expl_use
=yes
25048 glibcxx_cv_func_expl_use
=no
25050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25052 ac_cpp
='$CPP $CPPFLAGS'
25053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25062 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25064 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
25065 for ac_func
in expl
25067 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
25068 if test "x$ac_cv_func_expl" = xyes
; then :
25069 cat >>confdefs.h
<<_ACEOF
25070 #define HAVE_EXPL 1
25080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25081 $as_echo_n "checking for fabsl declaration... " >&6; }
25082 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
25083 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
25084 $as_echo_n "(cached) " >&6
25089 ac_cpp
='$CXXCPP $CPPFLAGS'
25090 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25095 /* end confdefs.h. */
25097 #ifdef HAVE_IEEEFP_H
25098 #include <ieeefp.h>
25109 if ac_fn_cxx_try_compile
"$LINENO"; then :
25110 glibcxx_cv_func_fabsl_use
=yes
25112 glibcxx_cv_func_fabsl_use
=no
25114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25116 ac_cpp
='$CPP $CPPFLAGS'
25117 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25118 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25119 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25126 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25128 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
25129 for ac_func
in fabsl
25131 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
25132 if test "x$ac_cv_func_fabsl" = xyes
; then :
25133 cat >>confdefs.h
<<_ACEOF
25134 #define HAVE_FABSL 1
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25145 $as_echo_n "checking for fmodl declaration... " >&6; }
25146 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
25147 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
25148 $as_echo_n "(cached) " >&6
25153 ac_cpp
='$CXXCPP $CPPFLAGS'
25154 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25155 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25156 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25159 /* end confdefs.h. */
25169 if ac_fn_cxx_try_compile
"$LINENO"; then :
25170 glibcxx_cv_func_fmodl_use
=yes
25172 glibcxx_cv_func_fmodl_use
=no
25174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25176 ac_cpp
='$CPP $CPPFLAGS'
25177 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25178 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25179 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25186 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25188 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
25189 for ac_func
in fmodl
25191 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
25192 if test "x$ac_cv_func_fmodl" = xyes
; then :
25193 cat >>confdefs.h
<<_ACEOF
25194 #define HAVE_FMODL 1
25204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25205 $as_echo_n "checking for frexpl declaration... " >&6; }
25206 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
25207 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
25208 $as_echo_n "(cached) " >&6
25213 ac_cpp
='$CXXCPP $CPPFLAGS'
25214 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25215 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25216 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25219 /* end confdefs.h. */
25229 if ac_fn_cxx_try_compile
"$LINENO"; then :
25230 glibcxx_cv_func_frexpl_use
=yes
25232 glibcxx_cv_func_frexpl_use
=no
25234 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25236 ac_cpp
='$CPP $CPPFLAGS'
25237 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25238 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25239 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25246 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25248 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
25249 for ac_func
in frexpl
25251 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
25252 if test "x$ac_cv_func_frexpl" = xyes
; then :
25253 cat >>confdefs.h
<<_ACEOF
25254 #define HAVE_FREXPL 1
25264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25265 $as_echo_n "checking for hypotl declaration... " >&6; }
25266 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
25267 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
25268 $as_echo_n "(cached) " >&6
25273 ac_cpp
='$CXXCPP $CPPFLAGS'
25274 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25275 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25276 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25279 /* end confdefs.h. */
25289 if ac_fn_cxx_try_compile
"$LINENO"; then :
25290 glibcxx_cv_func_hypotl_use
=yes
25292 glibcxx_cv_func_hypotl_use
=no
25294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25296 ac_cpp
='$CPP $CPPFLAGS'
25297 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25298 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25299 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25306 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25308 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
25309 for ac_func
in hypotl
25311 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
25312 if test "x$ac_cv_func_hypotl" = xyes
; then :
25313 cat >>confdefs.h
<<_ACEOF
25314 #define HAVE_HYPOTL 1
25324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25325 $as_echo_n "checking for ldexpl declaration... " >&6; }
25326 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
25327 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
25328 $as_echo_n "(cached) " >&6
25333 ac_cpp
='$CXXCPP $CPPFLAGS'
25334 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25335 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25336 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25338 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25339 /* end confdefs.h. */
25349 if ac_fn_cxx_try_compile
"$LINENO"; then :
25350 glibcxx_cv_func_ldexpl_use
=yes
25352 glibcxx_cv_func_ldexpl_use
=no
25354 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25356 ac_cpp
='$CPP $CPPFLAGS'
25357 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25358 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25359 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25366 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25368 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
25369 for ac_func
in ldexpl
25371 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25372 if test "x$ac_cv_func_ldexpl" = xyes
; then :
25373 cat >>confdefs.h
<<_ACEOF
25374 #define HAVE_LDEXPL 1
25384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25385 $as_echo_n "checking for logl declaration... " >&6; }
25386 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
25387 if ${glibcxx_cv_func_logl_use+:} false
; then :
25388 $as_echo_n "(cached) " >&6
25393 ac_cpp
='$CXXCPP $CPPFLAGS'
25394 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25395 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25396 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25399 /* end confdefs.h. */
25401 #ifdef HAVE_IEEEFP_H
25402 #include <ieeefp.h>
25413 if ac_fn_cxx_try_compile
"$LINENO"; then :
25414 glibcxx_cv_func_logl_use
=yes
25416 glibcxx_cv_func_logl_use
=no
25418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25420 ac_cpp
='$CPP $CPPFLAGS'
25421 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25422 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25423 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25430 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25432 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
25433 for ac_func
in logl
25435 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
25436 if test "x$ac_cv_func_logl" = xyes
; then :
25437 cat >>confdefs.h
<<_ACEOF
25438 #define HAVE_LOGL 1
25448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25449 $as_echo_n "checking for log10l declaration... " >&6; }
25450 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
25451 if ${glibcxx_cv_func_log10l_use+:} false
; then :
25452 $as_echo_n "(cached) " >&6
25457 ac_cpp
='$CXXCPP $CPPFLAGS'
25458 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25459 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25460 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25463 /* end confdefs.h. */
25465 #ifdef HAVE_IEEEFP_H
25466 #include <ieeefp.h>
25477 if ac_fn_cxx_try_compile
"$LINENO"; then :
25478 glibcxx_cv_func_log10l_use
=yes
25480 glibcxx_cv_func_log10l_use
=no
25482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25484 ac_cpp
='$CPP $CPPFLAGS'
25485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25494 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25496 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
25497 for ac_func
in log10l
25499 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
25500 if test "x$ac_cv_func_log10l" = xyes
; then :
25501 cat >>confdefs.h
<<_ACEOF
25502 #define HAVE_LOG10L 1
25512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25513 $as_echo_n "checking for modfl declaration... " >&6; }
25514 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
25515 if ${glibcxx_cv_func_modfl_use+:} false
; then :
25516 $as_echo_n "(cached) " >&6
25521 ac_cpp
='$CXXCPP $CPPFLAGS'
25522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25527 /* end confdefs.h. */
25537 if ac_fn_cxx_try_compile
"$LINENO"; then :
25538 glibcxx_cv_func_modfl_use
=yes
25540 glibcxx_cv_func_modfl_use
=no
25542 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25544 ac_cpp
='$CPP $CPPFLAGS'
25545 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25546 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25547 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25554 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25556 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
25557 for ac_func
in modfl
25559 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
25560 if test "x$ac_cv_func_modfl" = xyes
; then :
25561 cat >>confdefs.h
<<_ACEOF
25562 #define HAVE_MODFL 1
25572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25573 $as_echo_n "checking for powl declaration... " >&6; }
25574 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
25575 if ${glibcxx_cv_func_powl_use+:} false
; then :
25576 $as_echo_n "(cached) " >&6
25581 ac_cpp
='$CXXCPP $CPPFLAGS'
25582 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25587 /* end confdefs.h. */
25597 if ac_fn_cxx_try_compile
"$LINENO"; then :
25598 glibcxx_cv_func_powl_use
=yes
25600 glibcxx_cv_func_powl_use
=no
25602 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25604 ac_cpp
='$CPP $CPPFLAGS'
25605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25614 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25616 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
25617 for ac_func
in powl
25619 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
25620 if test "x$ac_cv_func_powl" = xyes
; then :
25621 cat >>confdefs.h
<<_ACEOF
25622 #define HAVE_POWL 1
25632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25633 $as_echo_n "checking for sqrtl declaration... " >&6; }
25634 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
25635 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
25636 $as_echo_n "(cached) " >&6
25641 ac_cpp
='$CXXCPP $CPPFLAGS'
25642 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25647 /* end confdefs.h. */
25649 #ifdef HAVE_IEEEFP_H
25650 #include <ieeefp.h>
25661 if ac_fn_cxx_try_compile
"$LINENO"; then :
25662 glibcxx_cv_func_sqrtl_use
=yes
25664 glibcxx_cv_func_sqrtl_use
=no
25666 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25668 ac_cpp
='$CPP $CPPFLAGS'
25669 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25678 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25680 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
25681 for ac_func
in sqrtl
25683 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25684 if test "x$ac_cv_func_sqrtl" = xyes
; then :
25685 cat >>confdefs.h
<<_ACEOF
25686 #define HAVE_SQRTL 1
25696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25697 $as_echo_n "checking for sincosl declaration... " >&6; }
25698 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
25699 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
25700 $as_echo_n "(cached) " >&6
25705 ac_cpp
='$CXXCPP $CPPFLAGS'
25706 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25707 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25708 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25711 /* end confdefs.h. */
25721 if ac_fn_cxx_try_compile
"$LINENO"; then :
25722 glibcxx_cv_func_sincosl_use
=yes
25724 glibcxx_cv_func_sincosl_use
=no
25726 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25728 ac_cpp
='$CPP $CPPFLAGS'
25729 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25730 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25731 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25738 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25740 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
25741 for ac_func
in sincosl
25743 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
25744 if test "x$ac_cv_func_sincosl" = xyes
; then :
25745 cat >>confdefs.h
<<_ACEOF
25746 #define HAVE_SINCOSL 1
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25757 $as_echo_n "checking for finitel declaration... " >&6; }
25758 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
25759 if ${glibcxx_cv_func_finitel_use+:} false
; then :
25760 $as_echo_n "(cached) " >&6
25765 ac_cpp
='$CXXCPP $CPPFLAGS'
25766 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25773 #ifdef HAVE_IEEEFP_H
25774 #include <ieeefp.h>
25785 if ac_fn_cxx_try_compile
"$LINENO"; then :
25786 glibcxx_cv_func_finitel_use
=yes
25788 glibcxx_cv_func_finitel_use
=no
25790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25792 ac_cpp
='$CPP $CPPFLAGS'
25793 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25794 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25795 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25802 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25804 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
25805 for ac_func
in finitel
25807 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
25808 if test "x$ac_cv_func_finitel" = xyes
; then :
25809 cat >>confdefs.h
<<_ACEOF
25810 #define HAVE_FINITEL 1
25819 LIBS
="$ac_save_LIBS"
25820 CXXFLAGS
="$ac_save_CXXFLAGS"
25823 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
25824 ac_save_CXXFLAGS
="$CXXFLAGS"
25825 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
25828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
25829 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
25830 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
25831 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
25832 $as_echo_n "(cached) " >&6
25837 ac_cpp
='$CXXCPP $CPPFLAGS'
25838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25843 /* end confdefs.h. */
25844 #include <stdlib.h>
25853 if ac_fn_cxx_try_compile
"$LINENO"; then :
25854 glibcxx_cv_func_at_quick_exit_use
=yes
25856 glibcxx_cv_func_at_quick_exit_use
=no
25858 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25860 ac_cpp
='$CPP $CPPFLAGS'
25861 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25862 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25863 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
25870 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
25871 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
25872 for ac_func
in at_quick_exit
25874 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
25875 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
25876 cat >>confdefs.h
<<_ACEOF
25877 #define HAVE_AT_QUICK_EXIT 1
25886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
25887 $as_echo_n "checking for quick_exit declaration... " >&6; }
25888 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
25889 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
25890 $as_echo_n "(cached) " >&6
25895 ac_cpp
='$CXXCPP $CPPFLAGS'
25896 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25897 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25898 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25901 /* end confdefs.h. */
25902 #include <stdlib.h>
25911 if ac_fn_cxx_try_compile
"$LINENO"; then :
25912 glibcxx_cv_func_quick_exit_use
=yes
25914 glibcxx_cv_func_quick_exit_use
=no
25916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25918 ac_cpp
='$CPP $CPPFLAGS'
25919 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25920 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25921 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
25928 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
25929 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
25930 for ac_func
in quick_exit
25932 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
25933 if test "x$ac_cv_func_quick_exit" = xyes
; then :
25934 cat >>confdefs.h
<<_ACEOF
25935 #define HAVE_QUICK_EXIT 1
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25945 $as_echo_n "checking for strtold declaration... " >&6; }
25946 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
25947 if ${glibcxx_cv_func_strtold_use+:} false
; then :
25948 $as_echo_n "(cached) " >&6
25953 ac_cpp
='$CXXCPP $CPPFLAGS'
25954 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
25958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25959 /* end confdefs.h. */
25960 #include <stdlib.h>
25969 if ac_fn_cxx_try_compile
"$LINENO"; then :
25970 glibcxx_cv_func_strtold_use
=yes
25972 glibcxx_cv_func_strtold_use
=no
25974 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
25976 ac_cpp
='$CPP $CPPFLAGS'
25977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
25985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
25986 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25987 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
25988 for ac_func
in strtold
25990 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
25991 if test "x$ac_cv_func_strtold" = xyes
; then :
25992 cat >>confdefs.h
<<_ACEOF
25993 #define HAVE_STRTOLD 1
26002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26003 $as_echo_n "checking for strtof declaration... " >&6; }
26004 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
26005 if ${glibcxx_cv_func_strtof_use+:} false
; then :
26006 $as_echo_n "(cached) " >&6
26011 ac_cpp
='$CXXCPP $CPPFLAGS'
26012 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26013 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26014 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
26016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26017 /* end confdefs.h. */
26018 #include <stdlib.h>
26027 if ac_fn_cxx_try_compile
"$LINENO"; then :
26028 glibcxx_cv_func_strtof_use
=yes
26030 glibcxx_cv_func_strtof_use
=no
26032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
26034 ac_cpp
='$CPP $CPPFLAGS'
26035 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26044 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26045 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
26046 for ac_func
in strtof
26048 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
26049 if test "x$ac_cv_func_strtof" = xyes
; then :
26050 cat >>confdefs.h
<<_ACEOF
26051 #define HAVE_STRTOF 1
26060 CXXFLAGS
="$ac_save_CXXFLAGS"
26063 # For /dev/random and /dev/urandom for std::random_device.
26066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
26067 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
26068 if ${glibcxx_cv_dev_random+:} false
; then :
26069 $as_echo_n "(cached) " >&6
26072 if test -r /dev
/random
&& test -r /dev
/urandom
; then
26073 ## For MSys environment the test above is detected as false-positive
26074 ## on mingw-targets. So disable it explicitly for them.
26075 case ${target_os} in
26076 *mingw
*) glibcxx_cv_dev_random
=no
;;
26077 *) glibcxx_cv_dev_random
=yes ;;
26080 glibcxx_cv_dev_random
=no
;
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
26085 $as_echo "$glibcxx_cv_dev_random" >&6; }
26087 if test x
"$glibcxx_cv_dev_random" = x
"yes"; then
26089 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
26092 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26101 # Check whether --enable-tls was given.
26102 if test "${enable_tls+set}" = set; then :
26103 enableval
=$enable_tls;
26104 case "$enableval" in
26106 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26115 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26116 if ${gcc_cv_have_tls+:} false
; then :
26117 $as_echo_n "(cached) " >&6
26120 if test "$cross_compiling" = yes; then :
26121 if test x
$gcc_no_link = xyes
; then
26122 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26125 /* end confdefs.h. */
26126 __thread int a; int b; int main() { return a = b; }
26128 if ac_fn_c_try_link
"$LINENO"; then :
26129 chktls_save_LDFLAGS
="$LDFLAGS"
26131 *-*-linux* |
-*-uclinuxfdpic*)
26132 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
26135 chktls_save_CFLAGS
="$CFLAGS"
26136 CFLAGS
="-fPIC $CFLAGS"
26137 if test x
$gcc_no_link = xyes
; then
26138 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 int f() { return 0; }
26144 if ac_fn_c_try_link
"$LINENO"; then :
26145 if test x
$gcc_no_link = xyes
; then
26146 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26149 /* end confdefs.h. */
26150 __thread int a; int b; int f() { return a = b; }
26152 if ac_fn_c_try_link
"$LINENO"; then :
26153 gcc_cv_have_tls
=yes
26157 rm -f core conftest.err conftest.
$ac_objext \
26158 conftest
$ac_exeext conftest.
$ac_ext
26160 gcc_cv_have_tls
=yes
26162 rm -f core conftest.err conftest.
$ac_objext \
26163 conftest
$ac_exeext conftest.
$ac_ext
26164 CFLAGS
="$chktls_save_CFLAGS"
26165 LDFLAGS
="$chktls_save_LDFLAGS"
26169 rm -f core conftest.err conftest.
$ac_objext \
26170 conftest
$ac_exeext conftest.
$ac_ext
26174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26175 /* end confdefs.h. */
26176 __thread int a; int b; int main() { return a = b; }
26178 if ac_fn_c_try_run
"$LINENO"; then :
26179 chktls_save_LDFLAGS
="$LDFLAGS"
26180 LDFLAGS
="-static $LDFLAGS"
26181 if test x
$gcc_no_link = xyes
; then
26182 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26185 /* end confdefs.h. */
26186 int main() { return 0; }
26188 if ac_fn_c_try_link
"$LINENO"; then :
26189 if test "$cross_compiling" = yes; then :
26190 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26192 as_fn_error $?
"cannot run test program while cross compiling
26193 See \`config.log' for more details" "$LINENO" 5; }
26195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26196 /* end confdefs.h. */
26197 __thread int a; int b; int main() { return a = b; }
26199 if ac_fn_c_try_run
"$LINENO"; then :
26200 gcc_cv_have_tls
=yes
26204 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26205 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26209 gcc_cv_have_tls
=yes
26211 rm -f core conftest.err conftest.
$ac_objext \
26212 conftest
$ac_exeext conftest.
$ac_ext
26213 LDFLAGS
="$chktls_save_LDFLAGS"
26214 if test $gcc_cv_have_tls = yes; then
26215 chktls_save_CFLAGS
="$CFLAGS"
26216 thread_CFLAGS
=failed
26217 for flag
in '' '-pthread' '-lpthread'; do
26218 CFLAGS
="$flag $chktls_save_CFLAGS"
26219 if test x
$gcc_no_link = xyes
; then
26220 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26223 /* end confdefs.h. */
26224 #include <pthread.h>
26225 void *g(void *d) { return NULL; }
26229 pthread_t t; pthread_create(&t,NULL,g,NULL);
26234 if ac_fn_c_try_link
"$LINENO"; then :
26235 thread_CFLAGS
="$flag"
26237 rm -f core conftest.err conftest.
$ac_objext \
26238 conftest
$ac_exeext conftest.
$ac_ext
26239 if test "X$thread_CFLAGS" != Xfailed
; then
26243 CFLAGS
="$chktls_save_CFLAGS"
26244 if test "X$thread_CFLAGS" != Xfailed
; then
26245 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
26246 if test "$cross_compiling" = yes; then :
26247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26249 as_fn_error $?
"cannot run test program while cross compiling
26250 See \`config.log' for more details" "$LINENO" 5; }
26252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26253 /* end confdefs.h. */
26254 #include <pthread.h>
26256 static int *volatile a_in_other_thread;
26258 thread_func (void *arg)
26260 a_in_other_thread = &a;
26267 void *thread_retval;
26268 int *volatile a_in_main_thread;
26269 a_in_main_thread = &a;
26270 if (pthread_create (&thread, (pthread_attr_t *)0,
26271 thread_func, (void *)0))
26273 if (pthread_join (thread, &thread_retval))
26275 return (a_in_other_thread == a_in_main_thread);
26280 if ac_fn_c_try_run
"$LINENO"; then :
26281 gcc_cv_have_tls
=yes
26285 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26286 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26289 CFLAGS
="$chktls_save_CFLAGS"
26295 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
26296 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
26300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26301 $as_echo "$gcc_cv_have_tls" >&6; }
26302 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26304 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26308 for ac_func
in __cxa_thread_atexit_impl __cxa_thread_atexit
26310 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26311 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
26312 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
26313 cat >>confdefs.h
<<_ACEOF
26314 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26320 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
26322 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26323 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
26324 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
26325 cat >>confdefs.h
<<_ACEOF
26326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26332 for ac_func
in _wfopen
26334 ac_fn_c_check_func
"$LINENO" "_wfopen" "ac_cv_func__wfopen"
26335 if test "x$ac_cv_func__wfopen" = xyes
; then :
26336 cat >>confdefs.h
<<_ACEOF
26337 #define HAVE__WFOPEN 1
26343 for ac_func
in secure_getenv
26345 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
26346 if test "x$ac_cv_func_secure_getenv" = xyes
; then :
26347 cat >>confdefs.h
<<_ACEOF
26348 #define HAVE_SECURE_GETENV 1
26355 # C11 functions for C++17 library
26356 for ac_func
in timespec_get
26358 ac_fn_c_check_func
"$LINENO" "timespec_get" "ac_cv_func_timespec_get"
26359 if test "x$ac_cv_func_timespec_get" = xyes
; then :
26360 cat >>confdefs.h
<<_ACEOF
26361 #define HAVE_TIMESPEC_GET 1
26368 # For Networking TS.
26369 for ac_func
in sockatmark
26371 ac_fn_c_check_func
"$LINENO" "sockatmark" "ac_cv_func_sockatmark"
26372 if test "x$ac_cv_func_sockatmark" = xyes
; then :
26373 cat >>confdefs.h
<<_ACEOF
26374 #define HAVE_SOCKATMARK 1
26381 # Non-standard functions used by C++17 std::from_chars
26382 for ac_func
in uselocale
26384 ac_fn_c_check_func
"$LINENO" "uselocale" "ac_cv_func_uselocale"
26385 if test "x$ac_cv_func_uselocale" = xyes
; then :
26386 cat >>confdefs.h
<<_ACEOF
26387 #define HAVE_USELOCALE 1
26394 # For iconv support.
26396 if test "X$prefix" = "XNONE"; then
26397 acl_final_prefix
="$ac_default_prefix"
26399 acl_final_prefix
="$prefix"
26401 if test "X$exec_prefix" = "XNONE"; then
26402 acl_final_exec_prefix
='${prefix}'
26404 acl_final_exec_prefix
="$exec_prefix"
26406 acl_save_prefix
="$prefix"
26407 prefix
="$acl_final_prefix"
26408 eval acl_final_exec_prefix
=\"$acl_final_exec_prefix\"
26409 prefix
="$acl_save_prefix"
26412 # Check whether --with-gnu-ld was given.
26413 if test "${with_gnu_ld+set}" = set; then :
26414 withval
=$with_gnu_ld; test "$withval" = no || with_gnu_ld
=yes
26419 # Prepare PATH_SEPARATOR.
26420 # The user is always right.
26421 if test "${PATH_SEPARATOR+set}" != set; then
26422 echo "#! /bin/sh" >conf$$.sh
26423 echo "exit 0" >>conf$$.sh
26425 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
26433 if test "$GCC" = yes; then
26434 # Check if gcc -print-prog-name=ld gives a path.
26435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26436 $as_echo_n "checking for ld used by GCC... " >&6; }
26439 # gcc leaves a trailing carriage return which upsets mingw
26440 ac_prog
=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26442 ac_prog
=`($CC -print-prog-name=ld) 2>&5` ;;
26445 # Accept absolute paths.
26446 [\\/]* |
[A-Za-z
]:[\\/]*)
26447 re_direlt
='/[^/][^/]*/\.\./'
26448 # Canonicalize the path of ld
26449 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
26450 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
26451 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
26453 test -z "$LD" && LD
="$ac_prog"
26456 # If it fails, then pretend we aren't using GCC.
26460 # If it is relative, then search for the first ld in PATH.
26461 with_gnu_ld
=unknown
26464 elif test "$with_gnu_ld" = yes; then
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26466 $as_echo_n "checking for GNU ld... " >&6; }
26468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26469 $as_echo_n "checking for non-GNU ld... " >&6; }
26471 if ${acl_cv_path_LD+:} false
; then :
26472 $as_echo_n "(cached) " >&6
26474 if test -z "$LD"; then
26475 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26476 for ac_dir
in $PATH; do
26477 test -z "$ac_dir" && ac_dir
=.
26478 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
26479 acl_cv_path_LD
="$ac_dir/$ac_prog"
26480 # Check to see if the program is GNU ld. I'd rather use --version,
26481 # but apparently some GNU ld's only accept -v.
26482 # Break only if it was the GNU/non-GNU ld that we prefer.
26483 if "$acl_cv_path_LD" -v 2>&1 < /dev
/null |
$EGREP '(GNU|with BFD)' > /dev
/null
; then
26484 test "$with_gnu_ld" != no
&& break
26486 test "$with_gnu_ld" != yes && break
26492 acl_cv_path_LD
="$LD" # Let the user override the test with a path.
26496 LD
="$acl_cv_path_LD"
26497 if test -n "$LD"; then
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26499 $as_echo "$LD" >&6; }
26501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26502 $as_echo "no" >&6; }
26504 test -z "$LD" && as_fn_error $?
"no acceptable ld found in \$PATH" "$LINENO" 5
26505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26506 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26507 if ${acl_cv_prog_gnu_ld+:} false
; then :
26508 $as_echo_n "(cached) " >&6
26510 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26511 if $LD -v 2>&1 </dev
/null |
$EGREP '(GNU|with BFD)' 1>&5; then
26512 acl_cv_prog_gnu_ld
=yes
26514 acl_cv_prog_gnu_ld
=no
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26518 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26519 with_gnu_ld
=$acl_cv_prog_gnu_ld
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26524 $as_echo_n "checking for shared library run path origin... " >&6; }
26525 if ${acl_cv_rpath+:} false
; then :
26526 $as_echo_n "(cached) " >&6
26529 CC
="$CC" GCC
="$GCC" LDFLAGS
="$LDFLAGS" LD
="$LD" with_gnu_ld
="$with_gnu_ld" \
26530 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26532 rm -f .
/conftest.sh
26536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26537 $as_echo "$acl_cv_rpath" >&6; }
26539 libext
="$acl_cv_libext"
26540 shlibext
="$acl_cv_shlibext"
26541 hardcode_libdir_flag_spec
="$acl_cv_hardcode_libdir_flag_spec"
26542 hardcode_libdir_separator
="$acl_cv_hardcode_libdir_separator"
26543 hardcode_direct
="$acl_cv_hardcode_direct"
26544 hardcode_minus_L
="$acl_cv_hardcode_minus_L"
26545 # Check whether --enable-rpath was given.
26546 if test "${enable_rpath+set}" = set; then :
26547 enableval
=$enable_rpath; :
26561 acl_save_prefix
="$prefix"
26562 prefix
="$acl_final_prefix"
26563 acl_save_exec_prefix
="$exec_prefix"
26564 exec_prefix
="$acl_final_exec_prefix"
26566 eval additional_includedir
=\"$includedir\"
26567 eval additional_libdir
=\"$libdir\"
26569 exec_prefix
="$acl_save_exec_prefix"
26570 prefix
="$acl_save_prefix"
26573 # Check whether --with-libiconv-prefix was given.
26574 if test "${with_libiconv_prefix+set}" = set; then :
26575 withval
=$with_libiconv_prefix;
26576 if test "X$withval" = "Xno"; then
26579 if test "X$withval" = "X"; then
26581 acl_save_prefix
="$prefix"
26582 prefix
="$acl_final_prefix"
26583 acl_save_exec_prefix
="$exec_prefix"
26584 exec_prefix
="$acl_final_exec_prefix"
26586 eval additional_includedir
=\"$includedir\"
26587 eval additional_libdir
=\"$libdir\"
26589 exec_prefix
="$acl_save_exec_prefix"
26590 prefix
="$acl_save_prefix"
26593 additional_includedir
="$withval/include"
26594 additional_libdir
="$withval/lib"
26601 # Check whether --with-libiconv-type was given.
26602 if test "${with_libiconv_type+set}" = set; then :
26603 withval
=$with_libiconv_type; with_libiconv_type
=$withval
26605 with_libiconv_type
=auto
26608 lib_type
=`eval echo \$with_libiconv_type`
26615 names_already_handled
=
26616 names_next_round
='iconv '
26617 while test -n "$names_next_round"; do
26618 names_this_round
="$names_next_round"
26620 for name
in $names_this_round; do
26622 for n
in $names_already_handled; do
26623 if test "$n" = "$name"; then
26624 already_handled
=yes
26628 if test -z "$already_handled"; then
26629 names_already_handled
="$names_already_handled $name"
26630 uppername
=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26631 eval value
=\"\
$HAVE_LIB$uppername\"
26632 if test -n "$value"; then
26633 if test "$value" = yes; then
26634 eval value
=\"\
$LIB$uppername\"
26635 test -z "$value" || LIBICONV
="${LIBICONV}${LIBICONV:+ }$value"
26636 eval value
=\"\
$LTLIB$uppername\"
26637 test -z "$value" || LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$value"
26646 if test $use_additional = yes; then
26647 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
26648 found_dir
="$additional_libdir"
26649 found_so
="$additional_libdir/lib$name.$shlibext"
26650 if test -f "$additional_libdir/lib$name.la"; then
26651 found_la
="$additional_libdir/lib$name.la"
26653 elif test x
$lib_type != xshared
; then
26654 if test -f "$additional_libdir/lib$name.$libext"; then
26655 found_dir
="$additional_libdir"
26656 found_a
="$additional_libdir/lib$name.$libext"
26657 if test -f "$additional_libdir/lib$name.la"; then
26658 found_la
="$additional_libdir/lib$name.la"
26663 if test "X$found_dir" = "X"; then
26664 for x
in $LDFLAGS $LTLIBICONV; do
26666 acl_save_prefix
="$prefix"
26667 prefix
="$acl_final_prefix"
26668 acl_save_exec_prefix
="$exec_prefix"
26669 exec_prefix
="$acl_final_exec_prefix"
26671 exec_prefix
="$acl_save_exec_prefix"
26672 prefix
="$acl_save_prefix"
26676 dir
=`echo "X$x" | sed -e 's/^X-L//'`
26677 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x
$lib_type != xstatic
; then
26679 found_so
="$dir/lib$name.$shlibext"
26680 if test -f "$dir/lib$name.la"; then
26681 found_la
="$dir/lib$name.la"
26683 elif test x
$lib_type != xshared
; then
26684 if test -f "$dir/lib$name.$libext"; then
26686 found_a
="$dir/lib$name.$libext"
26687 if test -f "$dir/lib$name.la"; then
26688 found_la
="$dir/lib$name.la"
26694 if test "X$found_dir" != "X"; then
26699 if test "X$found_dir" != "X"; then
26700 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26701 if test "X$found_so" != "X"; then
26702 if test "$enable_rpath" = no ||
test "X$found_dir" = "X/usr/lib"; then
26703 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
26706 for x
in $ltrpathdirs; do
26707 if test "X$x" = "X$found_dir"; then
26712 if test -z "$haveit"; then
26713 ltrpathdirs
="$ltrpathdirs $found_dir"
26715 if test "$hardcode_direct" = yes; then
26716 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
26718 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no
; then
26719 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
26721 for x
in $rpathdirs; do
26722 if test "X$x" = "X$found_dir"; then
26727 if test -z "$haveit"; then
26728 rpathdirs
="$rpathdirs $found_dir"
26732 for x
in $LDFLAGS $LIBICONV; do
26734 acl_save_prefix
="$prefix"
26735 prefix
="$acl_final_prefix"
26736 acl_save_exec_prefix
="$exec_prefix"
26737 exec_prefix
="$acl_final_exec_prefix"
26739 exec_prefix
="$acl_save_exec_prefix"
26740 prefix
="$acl_save_prefix"
26742 if test "X$x" = "X-L$found_dir"; then
26747 if test -z "$haveit"; then
26748 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26750 if test "$hardcode_minus_L" != no
; then
26751 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_so"
26753 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
26759 if test "X$found_a" != "X"; then
26760 LIBICONV
="${LIBICONV}${LIBICONV:+ }$found_a"
26762 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26765 additional_includedir
=
26766 case "$found_dir" in
26768 basedir
=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26769 additional_includedir
="$basedir/include"
26772 if test "X$additional_includedir" != "X"; then
26773 if test "X$additional_includedir" != "X/usr/include"; then
26775 if test "X$additional_includedir" = "X/usr/local/include"; then
26776 if test -n "$GCC"; then
26778 linux
*) haveit
=yes;;
26782 if test -z "$haveit"; then
26783 for x
in $CPPFLAGS $INCICONV; do
26785 acl_save_prefix
="$prefix"
26786 prefix
="$acl_final_prefix"
26787 acl_save_exec_prefix
="$exec_prefix"
26788 exec_prefix
="$acl_final_exec_prefix"
26790 exec_prefix
="$acl_save_exec_prefix"
26791 prefix
="$acl_save_prefix"
26793 if test "X$x" = "X-I$additional_includedir"; then
26798 if test -z "$haveit"; then
26799 if test -d "$additional_includedir"; then
26800 INCICONV
="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26806 if test -n "$found_la"; then
26807 save_libdir
="$libdir"
26808 case "$found_la" in
26809 */* |
*\\*) .
"$found_la" ;;
26810 *) .
"./$found_la" ;;
26812 libdir
="$save_libdir"
26813 for dep
in $dependency_libs; do
26816 additional_libdir
=`echo "X$dep" | sed -e 's/^X-L//'`
26817 if test "X$additional_libdir" != "X/usr/lib"; then
26819 if test "X$additional_libdir" = "X/usr/local/lib"; then
26820 if test -n "$GCC"; then
26822 linux
*) haveit
=yes;;
26826 if test -z "$haveit"; then
26828 for x
in $LDFLAGS $LIBICONV; do
26830 acl_save_prefix
="$prefix"
26831 prefix
="$acl_final_prefix"
26832 acl_save_exec_prefix
="$exec_prefix"
26833 exec_prefix
="$acl_final_exec_prefix"
26835 exec_prefix
="$acl_save_exec_prefix"
26836 prefix
="$acl_save_prefix"
26838 if test "X$x" = "X-L$additional_libdir"; then
26843 if test -z "$haveit"; then
26844 if test -d "$additional_libdir"; then
26845 LIBICONV
="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26849 for x
in $LDFLAGS $LTLIBICONV; do
26851 acl_save_prefix
="$prefix"
26852 prefix
="$acl_final_prefix"
26853 acl_save_exec_prefix
="$exec_prefix"
26854 exec_prefix
="$acl_final_exec_prefix"
26856 exec_prefix
="$acl_save_exec_prefix"
26857 prefix
="$acl_save_prefix"
26859 if test "X$x" = "X-L$additional_libdir"; then
26864 if test -z "$haveit"; then
26865 if test -d "$additional_libdir"; then
26866 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26873 dir
=`echo "X$dep" | sed -e 's/^X-R//'`
26874 if test "$enable_rpath" != no
; then
26876 for x
in $rpathdirs; do
26877 if test "X$x" = "X$dir"; then
26882 if test -z "$haveit"; then
26883 rpathdirs
="$rpathdirs $dir"
26886 for x
in $ltrpathdirs; do
26887 if test "X$x" = "X$dir"; then
26892 if test -z "$haveit"; then
26893 ltrpathdirs
="$ltrpathdirs $dir"
26898 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26901 names_next_round
="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26904 LIBICONV
="${LIBICONV}${LIBICONV:+ }$dep"
26905 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26911 if test "x$lib_type" = "xauto" ||
test "x$lib_type" = "xshared"; then
26912 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l$name"
26913 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26915 LIBICONV
="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
26916 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
26923 if test "X$rpathdirs" != "X"; then
26924 if test -n "$hardcode_libdir_separator"; then
26926 for found_dir
in $rpathdirs; do
26927 alldirs
="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26929 acl_save_libdir
="$libdir"
26931 eval flag
=\"$hardcode_libdir_flag_spec\"
26932 libdir
="$acl_save_libdir"
26933 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
26935 for found_dir
in $rpathdirs; do
26936 acl_save_libdir
="$libdir"
26937 libdir
="$found_dir"
26938 eval flag
=\"$hardcode_libdir_flag_spec\"
26939 libdir
="$acl_save_libdir"
26940 LIBICONV
="${LIBICONV}${LIBICONV:+ }$flag"
26944 if test "X$ltrpathdirs" != "X"; then
26945 for found_dir
in $ltrpathdirs; do
26946 LTLIBICONV
="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26956 am_save_CPPFLAGS
="$CPPFLAGS"
26958 for element
in $INCICONV; do
26960 for x
in $CPPFLAGS; do
26962 acl_save_prefix
="$prefix"
26963 prefix
="$acl_final_prefix"
26964 acl_save_exec_prefix
="$exec_prefix"
26965 exec_prefix
="$acl_final_exec_prefix"
26967 exec_prefix
="$acl_save_exec_prefix"
26968 prefix
="$acl_save_prefix"
26970 if test "X$x" = "X$element"; then
26975 if test -z "$haveit"; then
26976 CPPFLAGS
="${CPPFLAGS}${CPPFLAGS:+ }$element"
26981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26982 $as_echo_n "checking for iconv... " >&6; }
26983 if ${am_cv_func_iconv+:} false
; then :
26984 $as_echo_n "(cached) " >&6
26987 am_cv_func_iconv
="no, consider installing GNU libiconv"
26989 if test x
$gcc_no_link = xyes
; then
26990 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26995 #include <stdlib.h>
27001 iconv_t cd = iconv_open("","");
27002 iconv(cd,NULL,NULL,NULL,NULL);
27008 if ac_fn_c_try_link
"$LINENO"; then :
27009 am_cv_func_iconv
=yes
27011 rm -f core conftest.err conftest.
$ac_objext \
27012 conftest
$ac_exeext conftest.
$ac_ext
27013 if test "$am_cv_func_iconv" != yes; then
27014 am_save_LIBS
="$LIBS"
27015 LIBS
="$LIBS $LIBICONV"
27016 if test x
$gcc_no_link = xyes
; then
27017 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27020 /* end confdefs.h. */
27022 #include <stdlib.h>
27028 iconv_t cd = iconv_open("","");
27029 iconv(cd,NULL,NULL,NULL,NULL);
27035 if ac_fn_c_try_link
"$LINENO"; then :
27036 am_cv_lib_iconv
=yes
27037 am_cv_func_iconv
=yes
27039 rm -f core conftest.err conftest.
$ac_objext \
27040 conftest
$ac_exeext conftest.
$ac_ext
27041 LIBS
="$am_save_LIBS"
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27046 $as_echo "$am_cv_func_iconv" >&6; }
27047 if test "$am_cv_func_iconv" = yes; then
27048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5
27049 $as_echo_n "checking for working iconv... " >&6; }
27050 if ${am_cv_func_iconv_works+:} false
; then :
27051 $as_echo_n "(cached) " >&6
27054 am_save_LIBS
="$LIBS"
27055 if test $am_cv_lib_iconv = yes; then
27056 LIBS
="$LIBS $LIBICONV"
27058 am_cv_func_iconv_works
=no
27059 for ac_iconv_const
in '' 'const'; do
27060 if test "$cross_compiling" = yes; then :
27062 aix
* | hpux
*) am_cv_func_iconv_works
="guessing no" ;;
27063 *) am_cv_func_iconv_works
="guessing yes" ;;
27066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27067 /* end confdefs.h. */
27070 #include <string.h>
27072 #ifndef ICONV_CONST
27073 # define ICONV_CONST $ac_iconv_const
27080 /* Test against AIX 5.1...7.2 bug: Failures are not distinguishable from
27081 successful returns. This is even documented in
27082 <https://www.ibm.com/support/knowledgecenter/ssw_aix_72/i_bostechref/iconv.html> */
27084 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8");
27085 if (cd_utf8_to_88591 != (iconv_t)(-1))
27087 static ICONV_CONST char input[] = "\342\202\254"; /* EURO SIGN */
27089 ICONV_CONST char *inptr = input;
27090 size_t inbytesleft = strlen (input);
27091 char *outptr = buf;
27092 size_t outbytesleft = sizeof (buf);
27093 size_t res = iconv (cd_utf8_to_88591,
27094 &inptr, &inbytesleft,
27095 &outptr, &outbytesleft);
27098 iconv_close (cd_utf8_to_88591);
27101 /* Test against Solaris 10 bug: Failures are not distinguishable from
27102 successful returns. */
27104 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646");
27105 if (cd_ascii_to_88591 != (iconv_t)(-1))
27107 static ICONV_CONST char input[] = "\263";
27109 ICONV_CONST char *inptr = input;
27110 size_t inbytesleft = strlen (input);
27111 char *outptr = buf;
27112 size_t outbytesleft = sizeof (buf);
27113 size_t res = iconv (cd_ascii_to_88591,
27114 &inptr, &inbytesleft,
27115 &outptr, &outbytesleft);
27118 iconv_close (cd_ascii_to_88591);
27121 /* Test against AIX 6.1..7.1 bug: Buffer overrun. */
27123 iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
27124 if (cd_88591_to_utf8 != (iconv_t)(-1))
27126 static ICONV_CONST char input[] = "\304";
27127 static char buf[2] = { (char)0xDE, (char)0xAD };
27128 ICONV_CONST char *inptr = input;
27129 size_t inbytesleft = 1;
27130 char *outptr = buf;
27131 size_t outbytesleft = 1;
27132 size_t res = iconv (cd_88591_to_utf8,
27133 &inptr, &inbytesleft,
27134 &outptr, &outbytesleft);
27135 if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
27137 iconv_close (cd_88591_to_utf8);
27140 #if 0 /* This bug could be worked around by the caller. */
27141 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */
27143 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591");
27144 if (cd_88591_to_utf8 != (iconv_t)(-1))
27146 static ICONV_CONST char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337";
27148 ICONV_CONST char *inptr = input;
27149 size_t inbytesleft = strlen (input);
27150 char *outptr = buf;
27151 size_t outbytesleft = sizeof (buf);
27152 size_t res = iconv (cd_88591_to_utf8,
27153 &inptr, &inbytesleft,
27154 &outptr, &outbytesleft);
27157 iconv_close (cd_88591_to_utf8);
27161 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is
27164 /* Try standardized names. */
27165 iconv_t cd1 = iconv_open ("UTF-8", "EUC-JP");
27166 /* Try IRIX, OSF/1 names. */
27167 iconv_t cd2 = iconv_open ("UTF-8", "eucJP");
27168 /* Try AIX names. */
27169 iconv_t cd3 = iconv_open ("UTF-8", "IBM-eucJP");
27170 /* Try HP-UX names. */
27171 iconv_t cd4 = iconv_open ("utf8", "eucJP");
27172 if (cd1 == (iconv_t)(-1) && cd2 == (iconv_t)(-1)
27173 && cd3 == (iconv_t)(-1) && cd4 == (iconv_t)(-1))
27175 if (cd1 != (iconv_t)(-1))
27177 if (cd2 != (iconv_t)(-1))
27179 if (cd3 != (iconv_t)(-1))
27181 if (cd4 != (iconv_t)(-1))
27190 if ac_fn_c_try_run
"$LINENO"; then :
27191 am_cv_func_iconv_works
=yes
27193 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
27194 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
27197 test "$am_cv_func_iconv_works" = no ||
break
27199 LIBS
="$am_save_LIBS"
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5
27203 $as_echo "$am_cv_func_iconv_works" >&6; }
27204 case "$am_cv_func_iconv_works" in
27205 *no
) am_func_iconv
=no am_cv_lib_iconv
=no
;;
27206 *) am_func_iconv
=yes ;;
27209 am_func_iconv
=no am_cv_lib_iconv
=no
27211 if test "$am_func_iconv" = yes; then
27213 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27216 if test "$am_cv_lib_iconv" = yes; then
27217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27218 $as_echo_n "checking how to link with libiconv... " >&6; }
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27220 $as_echo "$LIBICONV" >&6; }
27222 CPPFLAGS
="$am_save_CPPFLAGS"
27229 if test "$am_cv_func_iconv" = yes; then
27230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether iconv is compatible with its POSIX signature" >&5
27231 $as_echo_n "checking whether iconv is compatible with its POSIX signature... " >&6; }
27232 if ${gl_cv_iconv_nonconst+:} false
; then :
27233 $as_echo_n "(cached) " >&6
27235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27236 /* end confdefs.h. */
27238 #include <stdlib.h>
27244 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27254 if ac_fn_c_try_compile
"$LINENO"; then :
27255 gl_cv_iconv_nonconst
=yes
27257 gl_cv_iconv_nonconst
=no
27259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_iconv_nonconst" >&5
27263 $as_echo "$gl_cv_iconv_nonconst" >&6; }
27265 gl_cv_iconv_nonconst
=yes
27267 if test $gl_cv_iconv_nonconst = yes; then
27273 cat >>confdefs.h
<<_ACEOF
27274 #define ICONV_CONST $iconv_arg1
27279 if test "$am_func_iconv" = yes; then
27280 if test -n "$LIBICONV"; then
27281 am_cv_func_iconv_summary
='yes, in libiconv'
27283 am_cv_func_iconv_summary
='yes, in libc'
27286 if test "$am_cv_func_iconv" = yes; then
27287 am_cv_func_iconv_summary
='not working, consider installing GNU libiconv'
27289 am_cv_func_iconv_summary
='no, consider installing GNU libiconv'
27296 # This lets us hard-code the functionality we know we'll have in the cross
27297 # target environment. "Let" is a sugar-coated word placed on an especially
27298 # dull and tedious hack, actually.
27300 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27301 # that involve linking, can't be used:
27302 # "cannot open sim-crt0.o"
27303 # "cannot open crt0.o"
27304 # etc. All this is because there currently exists no unified, consistent
27305 # way for top level CC information to be passed down to target directories:
27306 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27307 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27308 # crosses can be removed.
27310 # If Canadian cross, then don't pick up tools from the build directory.
27311 # Used only in GLIBCXX_EXPORT_INCLUDES.
27312 if test -n "$with_cross_host" &&
27313 test x
"$build_alias" != x
"$with_cross_host" &&
27314 test x
"$build" != x
"$target";
27321 # Construct crosses by hand, eliminating bits that need ld...
27322 # GLIBCXX_CHECK_MATH_SUPPORT
27324 # First, test for "known" system libraries. We may be using newlib even
27325 # on a hosted environment.
27326 if test "x${with_newlib}" = "xyes"; then
27327 os_include_dir
="os/newlib"
27328 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27331 # GLIBCXX_CHECK_STDLIB_SUPPORT
27332 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27335 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27337 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27339 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27341 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27343 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27345 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27347 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27349 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27351 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27353 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27355 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27357 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27359 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
27361 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27363 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27365 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27367 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27369 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27371 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27373 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27375 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27377 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27379 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
27386 $as_echo_n "checking for acosl declaration... " >&6; }
27387 if ${glibcxx_cv_func_acosl_use+:} false
; then :
27388 $as_echo_n "(cached) " >&6
27393 ac_cpp
='$CPP $CPPFLAGS'
27394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27399 /* end confdefs.h. */
27402 #ifdef HAVE_IEEEFP_H
27403 # include <ieeefp.h>
27411 void (*f)(void) = (void (*)(void))acosl;
27417 if ac_fn_c_try_compile
"$LINENO"; then :
27418 glibcxx_cv_func_acosl_use
=yes
27421 glibcxx_cv_func_acosl_use
=no
27423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
27426 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
27427 if test "x$glibcxx_cv_func_acosl_use" = xyes
; then
27428 cat >>confdefs.h
<<_ACEOF
27429 #define HAVE_ACOSL 1
27436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
27437 $as_echo_n "checking for asinl declaration... " >&6; }
27438 if ${glibcxx_cv_func_asinl_use+:} false
; then :
27439 $as_echo_n "(cached) " >&6
27444 ac_cpp
='$CPP $CPPFLAGS'
27445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27450 /* end confdefs.h. */
27453 #ifdef HAVE_IEEEFP_H
27454 # include <ieeefp.h>
27462 void (*f)(void) = (void (*)(void))asinl;
27468 if ac_fn_c_try_compile
"$LINENO"; then :
27469 glibcxx_cv_func_asinl_use
=yes
27472 glibcxx_cv_func_asinl_use
=no
27474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
27477 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
27478 if test "x$glibcxx_cv_func_asinl_use" = xyes
; then
27479 cat >>confdefs.h
<<_ACEOF
27480 #define HAVE_ASINL 1
27487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
27488 $as_echo_n "checking for atan2l declaration... " >&6; }
27489 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
27490 $as_echo_n "(cached) " >&6
27495 ac_cpp
='$CPP $CPPFLAGS'
27496 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27497 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27498 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27501 /* end confdefs.h. */
27504 #ifdef HAVE_IEEEFP_H
27505 # include <ieeefp.h>
27513 void (*f)(void) = (void (*)(void))atan2l;
27519 if ac_fn_c_try_compile
"$LINENO"; then :
27520 glibcxx_cv_func_atan2l_use
=yes
27523 glibcxx_cv_func_atan2l_use
=no
27525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
27528 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
27529 if test "x$glibcxx_cv_func_atan2l_use" = xyes
; then
27530 cat >>confdefs.h
<<_ACEOF
27531 #define HAVE_ATAN2L 1
27538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
27539 $as_echo_n "checking for atanl declaration... " >&6; }
27540 if ${glibcxx_cv_func_atanl_use+:} false
; then :
27541 $as_echo_n "(cached) " >&6
27546 ac_cpp
='$CPP $CPPFLAGS'
27547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27552 /* end confdefs.h. */
27555 #ifdef HAVE_IEEEFP_H
27556 # include <ieeefp.h>
27564 void (*f)(void) = (void (*)(void))atanl;
27570 if ac_fn_c_try_compile
"$LINENO"; then :
27571 glibcxx_cv_func_atanl_use
=yes
27574 glibcxx_cv_func_atanl_use
=no
27576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
27579 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
27580 if test "x$glibcxx_cv_func_atanl_use" = xyes
; then
27581 cat >>confdefs.h
<<_ACEOF
27582 #define HAVE_ATANL 1
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
27590 $as_echo_n "checking for ceill declaration... " >&6; }
27591 if ${glibcxx_cv_func_ceill_use+:} false
; then :
27592 $as_echo_n "(cached) " >&6
27597 ac_cpp
='$CPP $CPPFLAGS'
27598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27603 /* end confdefs.h. */
27606 #ifdef HAVE_IEEEFP_H
27607 # include <ieeefp.h>
27615 void (*f)(void) = (void (*)(void))ceill;
27621 if ac_fn_c_try_compile
"$LINENO"; then :
27622 glibcxx_cv_func_ceill_use
=yes
27625 glibcxx_cv_func_ceill_use
=no
27627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
27630 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
27631 if test "x$glibcxx_cv_func_ceill_use" = xyes
; then
27632 cat >>confdefs.h
<<_ACEOF
27633 #define HAVE_CEILL 1
27640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
27641 $as_echo_n "checking for coshl declaration... " >&6; }
27642 if ${glibcxx_cv_func_coshl_use+:} false
; then :
27643 $as_echo_n "(cached) " >&6
27648 ac_cpp
='$CPP $CPPFLAGS'
27649 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27650 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27651 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27654 /* end confdefs.h. */
27657 #ifdef HAVE_IEEEFP_H
27658 # include <ieeefp.h>
27666 void (*f)(void) = (void (*)(void))coshl;
27672 if ac_fn_c_try_compile
"$LINENO"; then :
27673 glibcxx_cv_func_coshl_use
=yes
27676 glibcxx_cv_func_coshl_use
=no
27678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
27681 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
27682 if test "x$glibcxx_cv_func_coshl_use" = xyes
; then
27683 cat >>confdefs.h
<<_ACEOF
27684 #define HAVE_COSHL 1
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
27692 $as_echo_n "checking for cosl declaration... " >&6; }
27693 if ${glibcxx_cv_func_cosl_use+:} false
; then :
27694 $as_echo_n "(cached) " >&6
27699 ac_cpp
='$CPP $CPPFLAGS'
27700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27705 /* end confdefs.h. */
27708 #ifdef HAVE_IEEEFP_H
27709 # include <ieeefp.h>
27717 void (*f)(void) = (void (*)(void))cosl;
27723 if ac_fn_c_try_compile
"$LINENO"; then :
27724 glibcxx_cv_func_cosl_use
=yes
27727 glibcxx_cv_func_cosl_use
=no
27729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
27732 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
27733 if test "x$glibcxx_cv_func_cosl_use" = xyes
; then
27734 cat >>confdefs.h
<<_ACEOF
27735 #define HAVE_COSL 1
27742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
27743 $as_echo_n "checking for expl declaration... " >&6; }
27744 if ${glibcxx_cv_func_expl_use+:} false
; then :
27745 $as_echo_n "(cached) " >&6
27750 ac_cpp
='$CPP $CPPFLAGS'
27751 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27752 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27753 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27756 /* end confdefs.h. */
27759 #ifdef HAVE_IEEEFP_H
27760 # include <ieeefp.h>
27768 void (*f)(void) = (void (*)(void))expl;
27774 if ac_fn_c_try_compile
"$LINENO"; then :
27775 glibcxx_cv_func_expl_use
=yes
27778 glibcxx_cv_func_expl_use
=no
27780 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
27783 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
27784 if test "x$glibcxx_cv_func_expl_use" = xyes
; then
27785 cat >>confdefs.h
<<_ACEOF
27786 #define HAVE_EXPL 1
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
27794 $as_echo_n "checking for fabsl declaration... " >&6; }
27795 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
27796 $as_echo_n "(cached) " >&6
27801 ac_cpp
='$CPP $CPPFLAGS'
27802 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27803 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27804 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27810 #ifdef HAVE_IEEEFP_H
27811 # include <ieeefp.h>
27819 void (*f)(void) = (void (*)(void))fabsl;
27825 if ac_fn_c_try_compile
"$LINENO"; then :
27826 glibcxx_cv_func_fabsl_use
=yes
27829 glibcxx_cv_func_fabsl_use
=no
27831 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
27834 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
27835 if test "x$glibcxx_cv_func_fabsl_use" = xyes
; then
27836 cat >>confdefs.h
<<_ACEOF
27837 #define HAVE_FABSL 1
27844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
27845 $as_echo_n "checking for floorl declaration... " >&6; }
27846 if ${glibcxx_cv_func_floorl_use+:} false
; then :
27847 $as_echo_n "(cached) " >&6
27852 ac_cpp
='$CPP $CPPFLAGS'
27853 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27854 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27855 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27858 /* end confdefs.h. */
27861 #ifdef HAVE_IEEEFP_H
27862 # include <ieeefp.h>
27870 void (*f)(void) = (void (*)(void))floorl;
27876 if ac_fn_c_try_compile
"$LINENO"; then :
27877 glibcxx_cv_func_floorl_use
=yes
27880 glibcxx_cv_func_floorl_use
=no
27882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
27885 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
27886 if test "x$glibcxx_cv_func_floorl_use" = xyes
; then
27887 cat >>confdefs.h
<<_ACEOF
27888 #define HAVE_FLOORL 1
27895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
27896 $as_echo_n "checking for fmodl declaration... " >&6; }
27897 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
27898 $as_echo_n "(cached) " >&6
27903 ac_cpp
='$CPP $CPPFLAGS'
27904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27909 /* end confdefs.h. */
27912 #ifdef HAVE_IEEEFP_H
27913 # include <ieeefp.h>
27921 void (*f)(void) = (void (*)(void))fmodl;
27927 if ac_fn_c_try_compile
"$LINENO"; then :
27928 glibcxx_cv_func_fmodl_use
=yes
27931 glibcxx_cv_func_fmodl_use
=no
27933 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27936 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27937 if test "x$glibcxx_cv_func_fmodl_use" = xyes
; then
27938 cat >>confdefs.h
<<_ACEOF
27939 #define HAVE_FMODL 1
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27947 $as_echo_n "checking for frexpl declaration... " >&6; }
27948 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
27949 $as_echo_n "(cached) " >&6
27954 ac_cpp
='$CPP $CPPFLAGS'
27955 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27956 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27957 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
27959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27960 /* end confdefs.h. */
27963 #ifdef HAVE_IEEEFP_H
27964 # include <ieeefp.h>
27972 void (*f)(void) = (void (*)(void))frexpl;
27978 if ac_fn_c_try_compile
"$LINENO"; then :
27979 glibcxx_cv_func_frexpl_use
=yes
27982 glibcxx_cv_func_frexpl_use
=no
27984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27987 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27988 if test "x$glibcxx_cv_func_frexpl_use" = xyes
; then
27989 cat >>confdefs.h
<<_ACEOF
27990 #define HAVE_FREXPL 1
27997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27998 $as_echo_n "checking for hypotl declaration... " >&6; }
27999 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
28000 $as_echo_n "(cached) " >&6
28005 ac_cpp
='$CPP $CPPFLAGS'
28006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28011 /* end confdefs.h. */
28014 #ifdef HAVE_IEEEFP_H
28015 # include <ieeefp.h>
28023 void (*f)(void) = (void (*)(void))hypotl;
28029 if ac_fn_c_try_compile
"$LINENO"; then :
28030 glibcxx_cv_func_hypotl_use
=yes
28033 glibcxx_cv_func_hypotl_use
=no
28035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
28038 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
28039 if test "x$glibcxx_cv_func_hypotl_use" = xyes
; then
28040 cat >>confdefs.h
<<_ACEOF
28041 #define HAVE_HYPOTL 1
28048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
28049 $as_echo_n "checking for ldexpl declaration... " >&6; }
28050 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
28051 $as_echo_n "(cached) " >&6
28056 ac_cpp
='$CPP $CPPFLAGS'
28057 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28062 /* end confdefs.h. */
28065 #ifdef HAVE_IEEEFP_H
28066 # include <ieeefp.h>
28074 void (*f)(void) = (void (*)(void))ldexpl;
28080 if ac_fn_c_try_compile
"$LINENO"; then :
28081 glibcxx_cv_func_ldexpl_use
=yes
28084 glibcxx_cv_func_ldexpl_use
=no
28086 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
28089 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
28090 if test "x$glibcxx_cv_func_ldexpl_use" = xyes
; then
28091 cat >>confdefs.h
<<_ACEOF
28092 #define HAVE_LDEXPL 1
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
28100 $as_echo_n "checking for log10l declaration... " >&6; }
28101 if ${glibcxx_cv_func_log10l_use+:} false
; then :
28102 $as_echo_n "(cached) " >&6
28107 ac_cpp
='$CPP $CPPFLAGS'
28108 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28113 /* end confdefs.h. */
28116 #ifdef HAVE_IEEEFP_H
28117 # include <ieeefp.h>
28125 void (*f)(void) = (void (*)(void))log10l;
28131 if ac_fn_c_try_compile
"$LINENO"; then :
28132 glibcxx_cv_func_log10l_use
=yes
28135 glibcxx_cv_func_log10l_use
=no
28137 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
28140 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
28141 if test "x$glibcxx_cv_func_log10l_use" = xyes
; then
28142 cat >>confdefs.h
<<_ACEOF
28143 #define HAVE_LOG10L 1
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
28151 $as_echo_n "checking for logl declaration... " >&6; }
28152 if ${glibcxx_cv_func_logl_use+:} false
; then :
28153 $as_echo_n "(cached) " >&6
28158 ac_cpp
='$CPP $CPPFLAGS'
28159 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28164 /* end confdefs.h. */
28167 #ifdef HAVE_IEEEFP_H
28168 # include <ieeefp.h>
28176 void (*f)(void) = (void (*)(void))logl;
28182 if ac_fn_c_try_compile
"$LINENO"; then :
28183 glibcxx_cv_func_logl_use
=yes
28186 glibcxx_cv_func_logl_use
=no
28188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
28191 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
28192 if test "x$glibcxx_cv_func_logl_use" = xyes
; then
28193 cat >>confdefs.h
<<_ACEOF
28194 #define HAVE_LOGL 1
28201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
28202 $as_echo_n "checking for modfl declaration... " >&6; }
28203 if ${glibcxx_cv_func_modfl_use+:} false
; then :
28204 $as_echo_n "(cached) " >&6
28209 ac_cpp
='$CPP $CPPFLAGS'
28210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28215 /* end confdefs.h. */
28218 #ifdef HAVE_IEEEFP_H
28219 # include <ieeefp.h>
28227 void (*f)(void) = (void (*)(void))modfl;
28233 if ac_fn_c_try_compile
"$LINENO"; then :
28234 glibcxx_cv_func_modfl_use
=yes
28237 glibcxx_cv_func_modfl_use
=no
28239 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
28242 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
28243 if test "x$glibcxx_cv_func_modfl_use" = xyes
; then
28244 cat >>confdefs.h
<<_ACEOF
28245 #define HAVE_MODFL 1
28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
28253 $as_echo_n "checking for powl declaration... " >&6; }
28254 if ${glibcxx_cv_func_powl_use+:} false
; then :
28255 $as_echo_n "(cached) " >&6
28260 ac_cpp
='$CPP $CPPFLAGS'
28261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28269 #ifdef HAVE_IEEEFP_H
28270 # include <ieeefp.h>
28278 void (*f)(void) = (void (*)(void))powl;
28284 if ac_fn_c_try_compile
"$LINENO"; then :
28285 glibcxx_cv_func_powl_use
=yes
28288 glibcxx_cv_func_powl_use
=no
28290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
28293 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
28294 if test "x$glibcxx_cv_func_powl_use" = xyes
; then
28295 cat >>confdefs.h
<<_ACEOF
28296 #define HAVE_POWL 1
28303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
28304 $as_echo_n "checking for sinhl declaration... " >&6; }
28305 if ${glibcxx_cv_func_sinhl_use+:} false
; then :
28306 $as_echo_n "(cached) " >&6
28311 ac_cpp
='$CPP $CPPFLAGS'
28312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28317 /* end confdefs.h. */
28320 #ifdef HAVE_IEEEFP_H
28321 # include <ieeefp.h>
28329 void (*f)(void) = (void (*)(void))sinhl;
28335 if ac_fn_c_try_compile
"$LINENO"; then :
28336 glibcxx_cv_func_sinhl_use
=yes
28339 glibcxx_cv_func_sinhl_use
=no
28341 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
28344 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
28345 if test "x$glibcxx_cv_func_sinhl_use" = xyes
; then
28346 cat >>confdefs.h
<<_ACEOF
28347 #define HAVE_SINHL 1
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
28355 $as_echo_n "checking for sinl declaration... " >&6; }
28356 if ${glibcxx_cv_func_sinl_use+:} false
; then :
28357 $as_echo_n "(cached) " >&6
28362 ac_cpp
='$CPP $CPPFLAGS'
28363 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28371 #ifdef HAVE_IEEEFP_H
28372 # include <ieeefp.h>
28380 void (*f)(void) = (void (*)(void))sinl;
28386 if ac_fn_c_try_compile
"$LINENO"; then :
28387 glibcxx_cv_func_sinl_use
=yes
28390 glibcxx_cv_func_sinl_use
=no
28392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
28395 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
28396 if test "x$glibcxx_cv_func_sinl_use" = xyes
; then
28397 cat >>confdefs.h
<<_ACEOF
28398 #define HAVE_SINL 1
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
28406 $as_echo_n "checking for sqrtl declaration... " >&6; }
28407 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
28408 $as_echo_n "(cached) " >&6
28413 ac_cpp
='$CPP $CPPFLAGS'
28414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28419 /* end confdefs.h. */
28422 #ifdef HAVE_IEEEFP_H
28423 # include <ieeefp.h>
28431 void (*f)(void) = (void (*)(void))sqrtl;
28437 if ac_fn_c_try_compile
"$LINENO"; then :
28438 glibcxx_cv_func_sqrtl_use
=yes
28441 glibcxx_cv_func_sqrtl_use
=no
28443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28446 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28447 if test "x$glibcxx_cv_func_sqrtl_use" = xyes
; then
28448 cat >>confdefs.h
<<_ACEOF
28449 #define HAVE_SQRTL 1
28456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
28457 $as_echo_n "checking for tanhl declaration... " >&6; }
28458 if ${glibcxx_cv_func_tanhl_use+:} false
; then :
28459 $as_echo_n "(cached) " >&6
28464 ac_cpp
='$CPP $CPPFLAGS'
28465 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28470 /* end confdefs.h. */
28473 #ifdef HAVE_IEEEFP_H
28474 # include <ieeefp.h>
28482 void (*f)(void) = (void (*)(void))tanhl;
28488 if ac_fn_c_try_compile
"$LINENO"; then :
28489 glibcxx_cv_func_tanhl_use
=yes
28492 glibcxx_cv_func_tanhl_use
=no
28494 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
28497 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
28498 if test "x$glibcxx_cv_func_tanhl_use" = xyes
; then
28499 cat >>confdefs.h
<<_ACEOF
28500 #define HAVE_TANHL 1
28507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
28508 $as_echo_n "checking for tanl declaration... " >&6; }
28509 if ${glibcxx_cv_func_tanl_use+:} false
; then :
28510 $as_echo_n "(cached) " >&6
28515 ac_cpp
='$CPP $CPPFLAGS'
28516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28521 /* end confdefs.h. */
28524 #ifdef HAVE_IEEEFP_H
28525 # include <ieeefp.h>
28533 void (*f)(void) = (void (*)(void))tanl;
28539 if ac_fn_c_try_compile
"$LINENO"; then :
28540 glibcxx_cv_func_tanl_use
=yes
28543 glibcxx_cv_func_tanl_use
=no
28545 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
28548 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
28549 if test "x$glibcxx_cv_func_tanl_use" = xyes
; then
28550 cat >>confdefs.h
<<_ACEOF
28551 #define HAVE_TANL 1
28559 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28561 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28564 case "${target}" in
28566 case "${target}" in
28567 bfin
* | lm32
* | mips
* | moxie
* | or1k
* | v850
*)
28570 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28574 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
28576 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
28578 $as_echo "#define HAVE_LINK 1" >>confdefs.h
28580 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
28582 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
28584 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
28586 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
28588 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
28590 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
28592 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
28594 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
28596 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
28600 elif test "x$with_headers" != "xno"; then
28602 # Base decisions on target environment.
28604 arm
*-*-symbianelf*)
28605 # This is a freestanding configuration; there is nothing to do here.
28609 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28611 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28613 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28615 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28617 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28619 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28621 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28623 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28625 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28627 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28629 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28631 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28633 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28635 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
28637 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28639 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28641 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28643 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28645 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28647 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28649 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28651 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28653 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28658 # These definitions are for the SDE C library rather than newlib.
28659 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
28662 # All these tests are for C++; save the language and the compiler flags.
28663 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28664 # found in GLIBCXX_CONFIGURE.
28667 ac_cpp
='$CXXCPP $CPPFLAGS'
28668 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28669 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28670 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28672 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
28673 ac_save_CXXFLAGS
="$CXXFLAGS"
28675 # Check for -ffunction-sections -fdata-sections
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28677 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28678 CXXFLAGS
='-g -Werror -ffunction-sections -fdata-sections'
28679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681 int foo; void bar() { };
28690 if ac_fn_cxx_try_compile
"$LINENO"; then :
28695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28696 if test "$ac_test_CXXFLAGS" = set; then
28697 CXXFLAGS
="$ac_save_CXXFLAGS"
28699 # this is the suspicious part
28702 if test x
"$ac_fdsections" = x
"yes"; then
28703 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
28705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28706 $as_echo "$ac_fdsections" >&6; }
28709 ac_cpp
='$CPP $CPPFLAGS'
28710 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28711 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28712 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28717 # If we're not using GNU ld, then there's no point in even trying these
28718 # tests. Check for that first. We should have already tested for gld
28719 # by now (in libtool), but require it now just to be safe...
28720 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
28721 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
28725 # The name set by libtool depends on the version of libtool. Shame on us
28726 # for depending on an impl detail, but c'est la vie. Older versions used
28727 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28728 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28729 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28730 # set (hence we're using an older libtool), then set it.
28731 if test x
${with_gnu_ld+set} != xset
; then
28732 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
28733 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28736 with_gnu_ld
=$ac_cv_prog_gnu_ld
28740 # Start by getting the version number. I think the libtool test already
28741 # does some of this, but throws away the result.
28742 glibcxx_ld_is_gold
=no
28743 glibcxx_ld_is_mold
=no
28744 if test x
"$with_gnu_ld" = x
"yes"; then
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28746 $as_echo_n "checking for ld version... " >&6; }
28748 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
28749 glibcxx_ld_is_gold
=yes
28750 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
28751 glibcxx_ld_is_mold
=yes
28753 ldver
=`$LD --version 2>/dev/null |
28754 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
28756 glibcxx_gnu_ld_version
=`echo $ldver | \
28757 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28759 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28762 # Set --gc-sections.
28763 glibcxx_have_gc_sections
=no
28764 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
28765 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
28766 glibcxx_have_gc_sections
=yes
28769 glibcxx_gcsections_min_ld
=21602
28770 if test x
"$with_gnu_ld" = x
"yes" &&
28771 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28772 glibcxx_have_gc_sections
=yes
28775 if test "$glibcxx_have_gc_sections" = "yes"; then
28776 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28777 # NB: This flag only works reliably after 2.16.1. Configure tests
28778 # for this are difficult, so hard wire a value that should work.
28780 ac_test_CFLAGS
="${CFLAGS+set}"
28781 ac_save_CFLAGS
="$CFLAGS"
28782 CFLAGS
='-Wl,--gc-sections'
28784 # Check for -Wl,--gc-sections
28785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28786 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28787 if test x
$gcc_no_link = xyes
; then
28788 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28791 /* end confdefs.h. */
28792 int one(void) { return 1; }
28793 int two(void) { return 2; }
28803 if ac_fn_c_try_link
"$LINENO"; then :
28808 rm -f core conftest.err conftest.
$ac_objext \
28809 conftest
$ac_exeext conftest.
$ac_ext
28810 if test "$ac_gcsections" = "yes"; then
28813 if $CC -c conftest.c
; then
28814 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
28815 grep "Warning: gc-sections option ignored" > /dev
/null
; then
28819 rm -f conftest.c conftest.o conftest
28821 if test "$ac_gcsections" = "yes"; then
28822 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
28824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28825 $as_echo "$ac_gcsections" >&6; }
28827 if test "$ac_test_CFLAGS" = set; then
28828 CFLAGS
="$ac_save_CFLAGS"
28830 # this is the suspicious part
28836 # Note this is only for shared objects.
28838 if test x
"$with_gnu_ld" = x
"yes"; then
28839 # cygwin and mingw uses PE, which has no ELF relro support,
28840 # multi target ld may confuse configure machinery
28847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28848 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28849 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
28850 if test -n "$cxx_z_relo"; then
28851 OPT_LDFLAGS
="-Wl,-z,relro"
28854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28855 $as_echo "$ac_ld_relro" >&6; }
28859 # Set linker optimization flags.
28860 if test x
"$with_gnu_ld" = x
"yes"; then
28861 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
28868 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
28869 ac_save_CXXFLAGS
="$CXXFLAGS"
28870 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
28872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28873 $as_echo_n "checking for sin in -lm... " >&6; }
28874 if ${ac_cv_lib_m_sin+:} false
; then :
28875 $as_echo_n "(cached) " >&6
28877 ac_check_lib_save_LIBS
=$LIBS
28879 if test x
$gcc_no_link = xyes
; then
28880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28883 /* end confdefs.h. */
28885 /* Override any GCC internal prototype to avoid an error.
28886 Use char because int might match the return type of a GCC
28887 builtin and then its argument prototype would still apply. */
28900 if ac_fn_c_try_link
"$LINENO"; then :
28901 ac_cv_lib_m_sin
=yes
28905 rm -f core conftest.err conftest.
$ac_objext \
28906 conftest
$ac_exeext conftest.
$ac_ext
28907 LIBS
=$ac_check_lib_save_LIBS
28909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28910 $as_echo "$ac_cv_lib_m_sin" >&6; }
28911 if test "x$ac_cv_lib_m_sin" = xyes
; then :
28915 ac_save_LIBS
="$LIBS"
28920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28921 $as_echo_n "checking for isinf declaration... " >&6; }
28922 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
28923 if ${glibcxx_cv_func_isinf_use+:} false
; then :
28924 $as_echo_n "(cached) " >&6
28929 ac_cpp
='$CXXCPP $CPPFLAGS'
28930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28935 /* end confdefs.h. */
28937 #ifdef HAVE_IEEEFP_H
28938 #include <ieeefp.h>
28949 if ac_fn_cxx_try_compile
"$LINENO"; then :
28950 glibcxx_cv_func_isinf_use
=yes
28952 glibcxx_cv_func_isinf_use
=no
28954 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
28956 ac_cpp
='$CPP $CPPFLAGS'
28957 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28958 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28959 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28966 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28968 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
28969 for ac_func
in isinf
28971 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
28972 if test "x$ac_cv_func_isinf" = xyes
; then :
28973 cat >>confdefs.h
<<_ACEOF
28974 #define HAVE_ISINF 1
28984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28985 $as_echo_n "checking for isnan declaration... " >&6; }
28986 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
28987 if ${glibcxx_cv_func_isnan_use+:} false
; then :
28988 $as_echo_n "(cached) " >&6
28993 ac_cpp
='$CXXCPP $CPPFLAGS'
28994 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28995 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28996 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
28998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28999 /* end confdefs.h. */
29001 #ifdef HAVE_IEEEFP_H
29002 #include <ieeefp.h>
29013 if ac_fn_cxx_try_compile
"$LINENO"; then :
29014 glibcxx_cv_func_isnan_use
=yes
29016 glibcxx_cv_func_isnan_use
=no
29018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29020 ac_cpp
='$CPP $CPPFLAGS'
29021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29030 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29032 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
29033 for ac_func
in isnan
29035 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
29036 if test "x$ac_cv_func_isnan" = xyes
; then :
29037 cat >>confdefs.h
<<_ACEOF
29038 #define HAVE_ISNAN 1
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29049 $as_echo_n "checking for finite declaration... " >&6; }
29050 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
29051 if ${glibcxx_cv_func_finite_use+:} false
; then :
29052 $as_echo_n "(cached) " >&6
29057 ac_cpp
='$CXXCPP $CPPFLAGS'
29058 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29059 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29060 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29063 /* end confdefs.h. */
29065 #ifdef HAVE_IEEEFP_H
29066 #include <ieeefp.h>
29077 if ac_fn_cxx_try_compile
"$LINENO"; then :
29078 glibcxx_cv_func_finite_use
=yes
29080 glibcxx_cv_func_finite_use
=no
29082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29084 ac_cpp
='$CPP $CPPFLAGS'
29085 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29086 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29087 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29094 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29096 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
29097 for ac_func
in finite
29099 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
29100 if test "x$ac_cv_func_finite" = xyes
; then :
29101 cat >>confdefs.h
<<_ACEOF
29102 #define HAVE_FINITE 1
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29113 $as_echo_n "checking for sincos declaration... " >&6; }
29114 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
29115 if ${glibcxx_cv_func_sincos_use+:} false
; then :
29116 $as_echo_n "(cached) " >&6
29121 ac_cpp
='$CXXCPP $CPPFLAGS'
29122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29137 if ac_fn_cxx_try_compile
"$LINENO"; then :
29138 glibcxx_cv_func_sincos_use
=yes
29140 glibcxx_cv_func_sincos_use
=no
29142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29144 ac_cpp
='$CPP $CPPFLAGS'
29145 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29146 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29147 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29154 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29156 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
29157 for ac_func
in sincos
29159 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
29160 if test "x$ac_cv_func_sincos" = xyes
; then :
29161 cat >>confdefs.h
<<_ACEOF
29162 #define HAVE_SINCOS 1
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29173 $as_echo_n "checking for fpclass declaration... " >&6; }
29174 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
29175 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
29176 $as_echo_n "(cached) " >&6
29181 ac_cpp
='$CXXCPP $CPPFLAGS'
29182 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h. */
29189 #ifdef HAVE_IEEEFP_H
29190 #include <ieeefp.h>
29201 if ac_fn_cxx_try_compile
"$LINENO"; then :
29202 glibcxx_cv_func_fpclass_use
=yes
29204 glibcxx_cv_func_fpclass_use
=no
29206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29208 ac_cpp
='$CPP $CPPFLAGS'
29209 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29210 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29211 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29218 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29220 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
29221 for ac_func
in fpclass
29223 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
29224 if test "x$ac_cv_func_fpclass" = xyes
; then :
29225 cat >>confdefs.h
<<_ACEOF
29226 #define HAVE_FPCLASS 1
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29237 $as_echo_n "checking for qfpclass declaration... " >&6; }
29238 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
29239 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
29240 $as_echo_n "(cached) " >&6
29245 ac_cpp
='$CXXCPP $CPPFLAGS'
29246 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29247 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29248 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29251 /* end confdefs.h. */
29253 #ifdef HAVE_IEEEFP_H
29254 #include <ieeefp.h>
29265 if ac_fn_cxx_try_compile
"$LINENO"; then :
29266 glibcxx_cv_func_qfpclass_use
=yes
29268 glibcxx_cv_func_qfpclass_use
=no
29270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29272 ac_cpp
='$CPP $CPPFLAGS'
29273 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29274 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29275 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29282 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29284 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
29285 for ac_func
in qfpclass
29287 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29288 if test "x$ac_cv_func_qfpclass" = xyes
; then :
29289 cat >>confdefs.h
<<_ACEOF
29290 #define HAVE_QFPCLASS 1
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29301 $as_echo_n "checking for hypot declaration... " >&6; }
29302 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
29303 if ${glibcxx_cv_func_hypot_use+:} false
; then :
29304 $as_echo_n "(cached) " >&6
29309 ac_cpp
='$CXXCPP $CPPFLAGS'
29310 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29311 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29312 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29315 /* end confdefs.h. */
29325 if ac_fn_cxx_try_compile
"$LINENO"; then :
29326 glibcxx_cv_func_hypot_use
=yes
29328 glibcxx_cv_func_hypot_use
=no
29330 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29332 ac_cpp
='$CPP $CPPFLAGS'
29333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29342 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29344 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
29345 for ac_func
in hypot
29347 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
29348 if test "x$ac_cv_func_hypot" = xyes
; then :
29349 cat >>confdefs.h
<<_ACEOF
29350 #define HAVE_HYPOT 1
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29361 $as_echo_n "checking for float trig functions... " >&6; }
29362 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
29363 $as_echo_n "(cached) " >&6
29368 ac_cpp
='$CXXCPP $CPPFLAGS'
29369 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29379 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29384 if ac_fn_cxx_try_compile
"$LINENO"; then :
29385 glibcxx_cv_func_float_trig_use
=yes
29387 glibcxx_cv_func_float_trig_use
=no
29389 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29391 ac_cpp
='$CPP $CPPFLAGS'
29392 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29399 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29400 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
29401 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29403 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29404 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29405 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29406 cat >>confdefs.h
<<_ACEOF
29407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29418 $as_echo_n "checking for float round functions... " >&6; }
29419 if ${glibcxx_cv_func_float_round_use+:} false
; then :
29420 $as_echo_n "(cached) " >&6
29425 ac_cpp
='$CXXCPP $CPPFLAGS'
29426 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29436 ceilf (0); floorf (0);
29441 if ac_fn_cxx_try_compile
"$LINENO"; then :
29442 glibcxx_cv_func_float_round_use
=yes
29444 glibcxx_cv_func_float_round_use
=no
29446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29448 ac_cpp
='$CPP $CPPFLAGS'
29449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29456 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29457 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
29458 for ac_func
in ceilf floorf
29460 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29461 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
29462 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
29463 cat >>confdefs.h
<<_ACEOF
29464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29476 $as_echo_n "checking for expf declaration... " >&6; }
29477 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
29478 if ${glibcxx_cv_func_expf_use+:} false
; then :
29479 $as_echo_n "(cached) " >&6
29484 ac_cpp
='$CXXCPP $CPPFLAGS'
29485 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29486 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29487 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29490 /* end confdefs.h. */
29492 #ifdef HAVE_IEEEFP_H
29493 #include <ieeefp.h>
29504 if ac_fn_cxx_try_compile
"$LINENO"; then :
29505 glibcxx_cv_func_expf_use
=yes
29507 glibcxx_cv_func_expf_use
=no
29509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29511 ac_cpp
='$CPP $CPPFLAGS'
29512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29521 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29523 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
29524 for ac_func
in expf
29526 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
29527 if test "x$ac_cv_func_expf" = xyes
; then :
29528 cat >>confdefs.h
<<_ACEOF
29529 #define HAVE_EXPF 1
29539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29540 $as_echo_n "checking for isnanf declaration... " >&6; }
29541 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
29542 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
29543 $as_echo_n "(cached) " >&6
29548 ac_cpp
='$CXXCPP $CPPFLAGS'
29549 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29550 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29551 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29554 /* end confdefs.h. */
29556 #ifdef HAVE_IEEEFP_H
29557 #include <ieeefp.h>
29568 if ac_fn_cxx_try_compile
"$LINENO"; then :
29569 glibcxx_cv_func_isnanf_use
=yes
29571 glibcxx_cv_func_isnanf_use
=no
29573 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29575 ac_cpp
='$CPP $CPPFLAGS'
29576 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29577 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29578 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29585 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29587 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
29588 for ac_func
in isnanf
29590 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
29591 if test "x$ac_cv_func_isnanf" = xyes
; then :
29592 cat >>confdefs.h
<<_ACEOF
29593 #define HAVE_ISNANF 1
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29604 $as_echo_n "checking for isinff declaration... " >&6; }
29605 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
29606 if ${glibcxx_cv_func_isinff_use+:} false
; then :
29607 $as_echo_n "(cached) " >&6
29612 ac_cpp
='$CXXCPP $CPPFLAGS'
29613 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29618 /* end confdefs.h. */
29620 #ifdef HAVE_IEEEFP_H
29621 #include <ieeefp.h>
29632 if ac_fn_cxx_try_compile
"$LINENO"; then :
29633 glibcxx_cv_func_isinff_use
=yes
29635 glibcxx_cv_func_isinff_use
=no
29637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29639 ac_cpp
='$CPP $CPPFLAGS'
29640 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29641 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29642 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29649 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29651 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
29652 for ac_func
in isinff
29654 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
29655 if test "x$ac_cv_func_isinff" = xyes
; then :
29656 cat >>confdefs.h
<<_ACEOF
29657 #define HAVE_ISINFF 1
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29668 $as_echo_n "checking for atan2f declaration... " >&6; }
29669 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
29670 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
29671 $as_echo_n "(cached) " >&6
29676 ac_cpp
='$CXXCPP $CPPFLAGS'
29677 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29682 /* end confdefs.h. */
29692 if ac_fn_cxx_try_compile
"$LINENO"; then :
29693 glibcxx_cv_func_atan2f_use
=yes
29695 glibcxx_cv_func_atan2f_use
=no
29697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29699 ac_cpp
='$CPP $CPPFLAGS'
29700 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29701 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29702 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29709 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29711 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
29712 for ac_func
in atan2f
29714 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
29715 if test "x$ac_cv_func_atan2f" = xyes
; then :
29716 cat >>confdefs.h
<<_ACEOF
29717 #define HAVE_ATAN2F 1
29727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29728 $as_echo_n "checking for fabsf declaration... " >&6; }
29729 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
29730 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
29731 $as_echo_n "(cached) " >&6
29736 ac_cpp
='$CXXCPP $CPPFLAGS'
29737 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29744 #ifdef HAVE_IEEEFP_H
29745 #include <ieeefp.h>
29756 if ac_fn_cxx_try_compile
"$LINENO"; then :
29757 glibcxx_cv_func_fabsf_use
=yes
29759 glibcxx_cv_func_fabsf_use
=no
29761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29763 ac_cpp
='$CPP $CPPFLAGS'
29764 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29765 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29766 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29773 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29775 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
29776 for ac_func
in fabsf
29778 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
29779 if test "x$ac_cv_func_fabsf" = xyes
; then :
29780 cat >>confdefs.h
<<_ACEOF
29781 #define HAVE_FABSF 1
29791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29792 $as_echo_n "checking for fmodf declaration... " >&6; }
29793 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
29794 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
29795 $as_echo_n "(cached) " >&6
29800 ac_cpp
='$CXXCPP $CPPFLAGS'
29801 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29802 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29803 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29806 /* end confdefs.h. */
29816 if ac_fn_cxx_try_compile
"$LINENO"; then :
29817 glibcxx_cv_func_fmodf_use
=yes
29819 glibcxx_cv_func_fmodf_use
=no
29821 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29823 ac_cpp
='$CPP $CPPFLAGS'
29824 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29833 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29835 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
29836 for ac_func
in fmodf
29838 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
29839 if test "x$ac_cv_func_fmodf" = xyes
; then :
29840 cat >>confdefs.h
<<_ACEOF
29841 #define HAVE_FMODF 1
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29852 $as_echo_n "checking for frexpf declaration... " >&6; }
29853 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
29854 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
29855 $as_echo_n "(cached) " >&6
29860 ac_cpp
='$CXXCPP $CPPFLAGS'
29861 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29876 if ac_fn_cxx_try_compile
"$LINENO"; then :
29877 glibcxx_cv_func_frexpf_use
=yes
29879 glibcxx_cv_func_frexpf_use
=no
29881 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29883 ac_cpp
='$CPP $CPPFLAGS'
29884 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29885 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29886 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29893 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29895 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
29896 for ac_func
in frexpf
29898 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
29899 if test "x$ac_cv_func_frexpf" = xyes
; then :
29900 cat >>confdefs.h
<<_ACEOF
29901 #define HAVE_FREXPF 1
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29912 $as_echo_n "checking for hypotf declaration... " >&6; }
29913 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
29914 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
29915 $as_echo_n "(cached) " >&6
29920 ac_cpp
='$CXXCPP $CPPFLAGS'
29921 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29922 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29923 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29926 /* end confdefs.h. */
29936 if ac_fn_cxx_try_compile
"$LINENO"; then :
29937 glibcxx_cv_func_hypotf_use
=yes
29939 glibcxx_cv_func_hypotf_use
=no
29941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
29943 ac_cpp
='$CPP $CPPFLAGS'
29944 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29945 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29946 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
29952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29953 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29955 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
29956 for ac_func
in hypotf
29958 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
29959 if test "x$ac_cv_func_hypotf" = xyes
; then :
29960 cat >>confdefs.h
<<_ACEOF
29961 #define HAVE_HYPOTF 1
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29972 $as_echo_n "checking for ldexpf declaration... " >&6; }
29973 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
29974 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
29975 $as_echo_n "(cached) " >&6
29980 ac_cpp
='$CXXCPP $CPPFLAGS'
29981 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29982 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29983 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
29985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29986 /* end confdefs.h. */
29996 if ac_fn_cxx_try_compile
"$LINENO"; then :
29997 glibcxx_cv_func_ldexpf_use
=yes
29999 glibcxx_cv_func_ldexpf_use
=no
30001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30003 ac_cpp
='$CPP $CPPFLAGS'
30004 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30005 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30006 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30013 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30015 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
30016 for ac_func
in ldexpf
30018 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30019 if test "x$ac_cv_func_ldexpf" = xyes
; then :
30020 cat >>confdefs.h
<<_ACEOF
30021 #define HAVE_LDEXPF 1
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30032 $as_echo_n "checking for logf declaration... " >&6; }
30033 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
30034 if ${glibcxx_cv_func_logf_use+:} false
; then :
30035 $as_echo_n "(cached) " >&6
30040 ac_cpp
='$CXXCPP $CPPFLAGS'
30041 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30046 /* end confdefs.h. */
30048 #ifdef HAVE_IEEEFP_H
30049 #include <ieeefp.h>
30060 if ac_fn_cxx_try_compile
"$LINENO"; then :
30061 glibcxx_cv_func_logf_use
=yes
30063 glibcxx_cv_func_logf_use
=no
30065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30067 ac_cpp
='$CPP $CPPFLAGS'
30068 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30069 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30070 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30077 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30079 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
30080 for ac_func
in logf
30082 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
30083 if test "x$ac_cv_func_logf" = xyes
; then :
30084 cat >>confdefs.h
<<_ACEOF
30085 #define HAVE_LOGF 1
30095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30096 $as_echo_n "checking for log10f declaration... " >&6; }
30097 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
30098 if ${glibcxx_cv_func_log10f_use+:} false
; then :
30099 $as_echo_n "(cached) " >&6
30104 ac_cpp
='$CXXCPP $CPPFLAGS'
30105 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30106 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30107 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30110 /* end confdefs.h. */
30112 #ifdef HAVE_IEEEFP_H
30113 #include <ieeefp.h>
30124 if ac_fn_cxx_try_compile
"$LINENO"; then :
30125 glibcxx_cv_func_log10f_use
=yes
30127 glibcxx_cv_func_log10f_use
=no
30129 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30131 ac_cpp
='$CPP $CPPFLAGS'
30132 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30133 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30134 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30141 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30143 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
30144 for ac_func
in log10f
30146 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
30147 if test "x$ac_cv_func_log10f" = xyes
; then :
30148 cat >>confdefs.h
<<_ACEOF
30149 #define HAVE_LOG10F 1
30159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30160 $as_echo_n "checking for modff declaration... " >&6; }
30161 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
30162 if ${glibcxx_cv_func_modff_use+:} false
; then :
30163 $as_echo_n "(cached) " >&6
30168 ac_cpp
='$CXXCPP $CPPFLAGS'
30169 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30174 /* end confdefs.h. */
30184 if ac_fn_cxx_try_compile
"$LINENO"; then :
30185 glibcxx_cv_func_modff_use
=yes
30187 glibcxx_cv_func_modff_use
=no
30189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30191 ac_cpp
='$CPP $CPPFLAGS'
30192 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30201 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30203 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
30204 for ac_func
in modff
30206 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
30207 if test "x$ac_cv_func_modff" = xyes
; then :
30208 cat >>confdefs.h
<<_ACEOF
30209 #define HAVE_MODFF 1
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30220 $as_echo_n "checking for modf declaration... " >&6; }
30221 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
30222 if ${glibcxx_cv_func_modf_use+:} false
; then :
30223 $as_echo_n "(cached) " >&6
30228 ac_cpp
='$CXXCPP $CPPFLAGS'
30229 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30234 /* end confdefs.h. */
30244 if ac_fn_cxx_try_compile
"$LINENO"; then :
30245 glibcxx_cv_func_modf_use
=yes
30247 glibcxx_cv_func_modf_use
=no
30249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30251 ac_cpp
='$CPP $CPPFLAGS'
30252 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30261 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30263 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
30264 for ac_func
in modf
30266 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
30267 if test "x$ac_cv_func_modf" = xyes
; then :
30268 cat >>confdefs.h
<<_ACEOF
30269 #define HAVE_MODF 1
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30280 $as_echo_n "checking for powf declaration... " >&6; }
30281 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
30282 if ${glibcxx_cv_func_powf_use+:} false
; then :
30283 $as_echo_n "(cached) " >&6
30288 ac_cpp
='$CXXCPP $CPPFLAGS'
30289 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30290 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30291 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30294 /* end confdefs.h. */
30304 if ac_fn_cxx_try_compile
"$LINENO"; then :
30305 glibcxx_cv_func_powf_use
=yes
30307 glibcxx_cv_func_powf_use
=no
30309 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30311 ac_cpp
='$CPP $CPPFLAGS'
30312 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30321 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30323 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
30324 for ac_func
in powf
30326 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
30327 if test "x$ac_cv_func_powf" = xyes
; then :
30328 cat >>confdefs.h
<<_ACEOF
30329 #define HAVE_POWF 1
30339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30340 $as_echo_n "checking for sqrtf declaration... " >&6; }
30341 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
30342 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
30343 $as_echo_n "(cached) " >&6
30348 ac_cpp
='$CXXCPP $CPPFLAGS'
30349 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30354 /* end confdefs.h. */
30356 #ifdef HAVE_IEEEFP_H
30357 #include <ieeefp.h>
30368 if ac_fn_cxx_try_compile
"$LINENO"; then :
30369 glibcxx_cv_func_sqrtf_use
=yes
30371 glibcxx_cv_func_sqrtf_use
=no
30373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30375 ac_cpp
='$CPP $CPPFLAGS'
30376 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30377 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30378 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30385 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30387 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
30388 for ac_func
in sqrtf
30390 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30391 if test "x$ac_cv_func_sqrtf" = xyes
; then :
30392 cat >>confdefs.h
<<_ACEOF
30393 #define HAVE_SQRTF 1
30403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30404 $as_echo_n "checking for sincosf declaration... " >&6; }
30405 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
30406 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
30407 $as_echo_n "(cached) " >&6
30412 ac_cpp
='$CXXCPP $CPPFLAGS'
30413 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30414 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30415 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30418 /* end confdefs.h. */
30428 if ac_fn_cxx_try_compile
"$LINENO"; then :
30429 glibcxx_cv_func_sincosf_use
=yes
30431 glibcxx_cv_func_sincosf_use
=no
30433 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30435 ac_cpp
='$CPP $CPPFLAGS'
30436 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30437 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30438 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30445 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30447 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
30448 for ac_func
in sincosf
30450 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
30451 if test "x$ac_cv_func_sincosf" = xyes
; then :
30452 cat >>confdefs.h
<<_ACEOF
30453 #define HAVE_SINCOSF 1
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30464 $as_echo_n "checking for finitef declaration... " >&6; }
30465 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
30466 if ${glibcxx_cv_func_finitef_use+:} false
; then :
30467 $as_echo_n "(cached) " >&6
30472 ac_cpp
='$CXXCPP $CPPFLAGS'
30473 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30478 /* end confdefs.h. */
30480 #ifdef HAVE_IEEEFP_H
30481 #include <ieeefp.h>
30492 if ac_fn_cxx_try_compile
"$LINENO"; then :
30493 glibcxx_cv_func_finitef_use
=yes
30495 glibcxx_cv_func_finitef_use
=no
30497 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30499 ac_cpp
='$CPP $CPPFLAGS'
30500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30509 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30511 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
30512 for ac_func
in finitef
30514 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
30515 if test "x$ac_cv_func_finitef" = xyes
; then :
30516 cat >>confdefs.h
<<_ACEOF
30517 #define HAVE_FINITEF 1
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30528 $as_echo_n "checking for long double trig functions... " >&6; }
30529 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
30530 $as_echo_n "(cached) " >&6
30535 ac_cpp
='$CXXCPP $CPPFLAGS'
30536 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30537 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30538 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30541 /* end confdefs.h. */
30546 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30551 if ac_fn_cxx_try_compile
"$LINENO"; then :
30552 glibcxx_cv_func_long_double_trig_use
=yes
30554 glibcxx_cv_func_long_double_trig_use
=no
30556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30558 ac_cpp
='$CPP $CPPFLAGS'
30559 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30560 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30561 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30566 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30567 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
30568 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30570 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30571 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30572 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30573 cat >>confdefs.h
<<_ACEOF
30574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30585 $as_echo_n "checking for long double round functions... " >&6; }
30586 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
30587 $as_echo_n "(cached) " >&6
30592 ac_cpp
='$CXXCPP $CPPFLAGS'
30593 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30598 /* end confdefs.h. */
30603 ceill (0); floorl (0);
30608 if ac_fn_cxx_try_compile
"$LINENO"; then :
30609 glibcxx_cv_func_long_double_round_use
=yes
30611 glibcxx_cv_func_long_double_round_use
=no
30613 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30615 ac_cpp
='$CPP $CPPFLAGS'
30616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30623 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30624 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
30625 for ac_func
in ceill floorl
30627 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30628 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
30629 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
30630 cat >>confdefs.h
<<_ACEOF
30631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30643 $as_echo_n "checking for isnanl declaration... " >&6; }
30644 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
30645 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
30646 $as_echo_n "(cached) " >&6
30651 ac_cpp
='$CXXCPP $CPPFLAGS'
30652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30657 /* end confdefs.h. */
30659 #ifdef HAVE_IEEEFP_H
30660 #include <ieeefp.h>
30671 if ac_fn_cxx_try_compile
"$LINENO"; then :
30672 glibcxx_cv_func_isnanl_use
=yes
30674 glibcxx_cv_func_isnanl_use
=no
30676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30678 ac_cpp
='$CPP $CPPFLAGS'
30679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30688 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30690 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
30691 for ac_func
in isnanl
30693 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
30694 if test "x$ac_cv_func_isnanl" = xyes
; then :
30695 cat >>confdefs.h
<<_ACEOF
30696 #define HAVE_ISNANL 1
30706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30707 $as_echo_n "checking for isinfl declaration... " >&6; }
30708 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
30709 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
30710 $as_echo_n "(cached) " >&6
30715 ac_cpp
='$CXXCPP $CPPFLAGS'
30716 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30717 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30718 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30721 /* end confdefs.h. */
30723 #ifdef HAVE_IEEEFP_H
30724 #include <ieeefp.h>
30735 if ac_fn_cxx_try_compile
"$LINENO"; then :
30736 glibcxx_cv_func_isinfl_use
=yes
30738 glibcxx_cv_func_isinfl_use
=no
30740 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30742 ac_cpp
='$CPP $CPPFLAGS'
30743 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30744 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30745 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30752 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30754 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
30755 for ac_func
in isinfl
30757 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
30758 if test "x$ac_cv_func_isinfl" = xyes
; then :
30759 cat >>confdefs.h
<<_ACEOF
30760 #define HAVE_ISINFL 1
30770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30771 $as_echo_n "checking for atan2l declaration... " >&6; }
30772 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
30773 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
30774 $as_echo_n "(cached) " >&6
30779 ac_cpp
='$CXXCPP $CPPFLAGS'
30780 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30781 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30782 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30785 /* end confdefs.h. */
30795 if ac_fn_cxx_try_compile
"$LINENO"; then :
30796 glibcxx_cv_func_atan2l_use
=yes
30798 glibcxx_cv_func_atan2l_use
=no
30800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30802 ac_cpp
='$CPP $CPPFLAGS'
30803 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30812 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30814 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
30815 for ac_func
in atan2l
30817 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
30818 if test "x$ac_cv_func_atan2l" = xyes
; then :
30819 cat >>confdefs.h
<<_ACEOF
30820 #define HAVE_ATAN2L 1
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30831 $as_echo_n "checking for expl declaration... " >&6; }
30832 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
30833 if ${glibcxx_cv_func_expl_use+:} false
; then :
30834 $as_echo_n "(cached) " >&6
30839 ac_cpp
='$CXXCPP $CPPFLAGS'
30840 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30844 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30847 #ifdef HAVE_IEEEFP_H
30848 #include <ieeefp.h>
30859 if ac_fn_cxx_try_compile
"$LINENO"; then :
30860 glibcxx_cv_func_expl_use
=yes
30862 glibcxx_cv_func_expl_use
=no
30864 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30866 ac_cpp
='$CPP $CPPFLAGS'
30867 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30876 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30878 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
30879 for ac_func
in expl
30881 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
30882 if test "x$ac_cv_func_expl" = xyes
; then :
30883 cat >>confdefs.h
<<_ACEOF
30884 #define HAVE_EXPL 1
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30895 $as_echo_n "checking for fabsl declaration... " >&6; }
30896 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
30897 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
30898 $as_echo_n "(cached) " >&6
30903 ac_cpp
='$CXXCPP $CPPFLAGS'
30904 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30909 /* end confdefs.h. */
30911 #ifdef HAVE_IEEEFP_H
30912 #include <ieeefp.h>
30923 if ac_fn_cxx_try_compile
"$LINENO"; then :
30924 glibcxx_cv_func_fabsl_use
=yes
30926 glibcxx_cv_func_fabsl_use
=no
30928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30930 ac_cpp
='$CPP $CPPFLAGS'
30931 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30940 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30942 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
30943 for ac_func
in fabsl
30945 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
30946 if test "x$ac_cv_func_fabsl" = xyes
; then :
30947 cat >>confdefs.h
<<_ACEOF
30948 #define HAVE_FABSL 1
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30959 $as_echo_n "checking for fmodl declaration... " >&6; }
30960 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
30961 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
30962 $as_echo_n "(cached) " >&6
30967 ac_cpp
='$CXXCPP $CPPFLAGS'
30968 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30969 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30970 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
30972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30973 /* end confdefs.h. */
30983 if ac_fn_cxx_try_compile
"$LINENO"; then :
30984 glibcxx_cv_func_fmodl_use
=yes
30986 glibcxx_cv_func_fmodl_use
=no
30988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30990 ac_cpp
='$CPP $CPPFLAGS'
30991 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31000 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31002 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
31003 for ac_func
in fmodl
31005 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
31006 if test "x$ac_cv_func_fmodl" = xyes
; then :
31007 cat >>confdefs.h
<<_ACEOF
31008 #define HAVE_FMODL 1
31018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31019 $as_echo_n "checking for frexpl declaration... " >&6; }
31020 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
31021 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
31022 $as_echo_n "(cached) " >&6
31027 ac_cpp
='$CXXCPP $CPPFLAGS'
31028 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31033 /* end confdefs.h. */
31043 if ac_fn_cxx_try_compile
"$LINENO"; then :
31044 glibcxx_cv_func_frexpl_use
=yes
31046 glibcxx_cv_func_frexpl_use
=no
31048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31050 ac_cpp
='$CPP $CPPFLAGS'
31051 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31052 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31053 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31060 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31062 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
31063 for ac_func
in frexpl
31065 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
31066 if test "x$ac_cv_func_frexpl" = xyes
; then :
31067 cat >>confdefs.h
<<_ACEOF
31068 #define HAVE_FREXPL 1
31078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31079 $as_echo_n "checking for hypotl declaration... " >&6; }
31080 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
31081 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
31082 $as_echo_n "(cached) " >&6
31087 ac_cpp
='$CXXCPP $CPPFLAGS'
31088 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31089 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31090 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31093 /* end confdefs.h. */
31103 if ac_fn_cxx_try_compile
"$LINENO"; then :
31104 glibcxx_cv_func_hypotl_use
=yes
31106 glibcxx_cv_func_hypotl_use
=no
31108 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31110 ac_cpp
='$CPP $CPPFLAGS'
31111 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31120 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31122 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
31123 for ac_func
in hypotl
31125 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
31126 if test "x$ac_cv_func_hypotl" = xyes
; then :
31127 cat >>confdefs.h
<<_ACEOF
31128 #define HAVE_HYPOTL 1
31138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31139 $as_echo_n "checking for ldexpl declaration... " >&6; }
31140 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
31141 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
31142 $as_echo_n "(cached) " >&6
31147 ac_cpp
='$CXXCPP $CPPFLAGS'
31148 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31152 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31153 /* end confdefs.h. */
31163 if ac_fn_cxx_try_compile
"$LINENO"; then :
31164 glibcxx_cv_func_ldexpl_use
=yes
31166 glibcxx_cv_func_ldexpl_use
=no
31168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31170 ac_cpp
='$CPP $CPPFLAGS'
31171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31180 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31182 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
31183 for ac_func
in ldexpl
31185 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31186 if test "x$ac_cv_func_ldexpl" = xyes
; then :
31187 cat >>confdefs.h
<<_ACEOF
31188 #define HAVE_LDEXPL 1
31198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31199 $as_echo_n "checking for logl declaration... " >&6; }
31200 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
31201 if ${glibcxx_cv_func_logl_use+:} false
; then :
31202 $as_echo_n "(cached) " >&6
31207 ac_cpp
='$CXXCPP $CPPFLAGS'
31208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31213 /* end confdefs.h. */
31215 #ifdef HAVE_IEEEFP_H
31216 #include <ieeefp.h>
31227 if ac_fn_cxx_try_compile
"$LINENO"; then :
31228 glibcxx_cv_func_logl_use
=yes
31230 glibcxx_cv_func_logl_use
=no
31232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31234 ac_cpp
='$CPP $CPPFLAGS'
31235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31244 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31246 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
31247 for ac_func
in logl
31249 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
31250 if test "x$ac_cv_func_logl" = xyes
; then :
31251 cat >>confdefs.h
<<_ACEOF
31252 #define HAVE_LOGL 1
31262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31263 $as_echo_n "checking for log10l declaration... " >&6; }
31264 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
31265 if ${glibcxx_cv_func_log10l_use+:} false
; then :
31266 $as_echo_n "(cached) " >&6
31271 ac_cpp
='$CXXCPP $CPPFLAGS'
31272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31277 /* end confdefs.h. */
31279 #ifdef HAVE_IEEEFP_H
31280 #include <ieeefp.h>
31291 if ac_fn_cxx_try_compile
"$LINENO"; then :
31292 glibcxx_cv_func_log10l_use
=yes
31294 glibcxx_cv_func_log10l_use
=no
31296 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31298 ac_cpp
='$CPP $CPPFLAGS'
31299 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31308 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31310 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
31311 for ac_func
in log10l
31313 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
31314 if test "x$ac_cv_func_log10l" = xyes
; then :
31315 cat >>confdefs.h
<<_ACEOF
31316 #define HAVE_LOG10L 1
31326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31327 $as_echo_n "checking for modfl declaration... " >&6; }
31328 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
31329 if ${glibcxx_cv_func_modfl_use+:} false
; then :
31330 $as_echo_n "(cached) " >&6
31335 ac_cpp
='$CXXCPP $CPPFLAGS'
31336 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31337 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31338 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31341 /* end confdefs.h. */
31351 if ac_fn_cxx_try_compile
"$LINENO"; then :
31352 glibcxx_cv_func_modfl_use
=yes
31354 glibcxx_cv_func_modfl_use
=no
31356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31358 ac_cpp
='$CPP $CPPFLAGS'
31359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31368 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31370 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
31371 for ac_func
in modfl
31373 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
31374 if test "x$ac_cv_func_modfl" = xyes
; then :
31375 cat >>confdefs.h
<<_ACEOF
31376 #define HAVE_MODFL 1
31386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31387 $as_echo_n "checking for powl declaration... " >&6; }
31388 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
31389 if ${glibcxx_cv_func_powl_use+:} false
; then :
31390 $as_echo_n "(cached) " >&6
31395 ac_cpp
='$CXXCPP $CPPFLAGS'
31396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31401 /* end confdefs.h. */
31411 if ac_fn_cxx_try_compile
"$LINENO"; then :
31412 glibcxx_cv_func_powl_use
=yes
31414 glibcxx_cv_func_powl_use
=no
31416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31418 ac_cpp
='$CPP $CPPFLAGS'
31419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31428 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31430 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
31431 for ac_func
in powl
31433 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
31434 if test "x$ac_cv_func_powl" = xyes
; then :
31435 cat >>confdefs.h
<<_ACEOF
31436 #define HAVE_POWL 1
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31447 $as_echo_n "checking for sqrtl declaration... " >&6; }
31448 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
31449 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
31450 $as_echo_n "(cached) " >&6
31455 ac_cpp
='$CXXCPP $CPPFLAGS'
31456 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31457 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31458 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31461 /* end confdefs.h. */
31463 #ifdef HAVE_IEEEFP_H
31464 #include <ieeefp.h>
31475 if ac_fn_cxx_try_compile
"$LINENO"; then :
31476 glibcxx_cv_func_sqrtl_use
=yes
31478 glibcxx_cv_func_sqrtl_use
=no
31480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31482 ac_cpp
='$CPP $CPPFLAGS'
31483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31492 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31494 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
31495 for ac_func
in sqrtl
31497 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31498 if test "x$ac_cv_func_sqrtl" = xyes
; then :
31499 cat >>confdefs.h
<<_ACEOF
31500 #define HAVE_SQRTL 1
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31511 $as_echo_n "checking for sincosl declaration... " >&6; }
31512 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
31513 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
31514 $as_echo_n "(cached) " >&6
31519 ac_cpp
='$CXXCPP $CPPFLAGS'
31520 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31521 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31522 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31525 /* end confdefs.h. */
31535 if ac_fn_cxx_try_compile
"$LINENO"; then :
31536 glibcxx_cv_func_sincosl_use
=yes
31538 glibcxx_cv_func_sincosl_use
=no
31540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31542 ac_cpp
='$CPP $CPPFLAGS'
31543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31552 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31554 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
31555 for ac_func
in sincosl
31557 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
31558 if test "x$ac_cv_func_sincosl" = xyes
; then :
31559 cat >>confdefs.h
<<_ACEOF
31560 #define HAVE_SINCOSL 1
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31571 $as_echo_n "checking for finitel declaration... " >&6; }
31572 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
31573 if ${glibcxx_cv_func_finitel_use+:} false
; then :
31574 $as_echo_n "(cached) " >&6
31579 ac_cpp
='$CXXCPP $CPPFLAGS'
31580 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31581 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31582 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31585 /* end confdefs.h. */
31587 #ifdef HAVE_IEEEFP_H
31588 #include <ieeefp.h>
31599 if ac_fn_cxx_try_compile
"$LINENO"; then :
31600 glibcxx_cv_func_finitel_use
=yes
31602 glibcxx_cv_func_finitel_use
=no
31604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31606 ac_cpp
='$CPP $CPPFLAGS'
31607 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31608 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31609 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31616 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31618 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
31619 for ac_func
in finitel
31621 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
31622 if test "x$ac_cv_func_finitel" = xyes
; then :
31623 cat >>confdefs.h
<<_ACEOF
31624 #define HAVE_FINITEL 1
31633 LIBS
="$ac_save_LIBS"
31634 CXXFLAGS
="$ac_save_CXXFLAGS"
31637 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
31638 ac_save_CXXFLAGS
="$CXXFLAGS"
31639 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
31642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
31643 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
31644 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
31645 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
31646 $as_echo_n "(cached) " >&6
31651 ac_cpp
='$CXXCPP $CPPFLAGS'
31652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31657 /* end confdefs.h. */
31658 #include <stdlib.h>
31667 if ac_fn_cxx_try_compile
"$LINENO"; then :
31668 glibcxx_cv_func_at_quick_exit_use
=yes
31670 glibcxx_cv_func_at_quick_exit_use
=no
31672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31674 ac_cpp
='$CPP $CPPFLAGS'
31675 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31676 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31677 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
31684 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
31685 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
31686 for ac_func
in at_quick_exit
31688 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
31689 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
31690 cat >>confdefs.h
<<_ACEOF
31691 #define HAVE_AT_QUICK_EXIT 1
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
31701 $as_echo_n "checking for quick_exit declaration... " >&6; }
31702 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
31703 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
31704 $as_echo_n "(cached) " >&6
31709 ac_cpp
='$CXXCPP $CPPFLAGS'
31710 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31711 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31712 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31715 /* end confdefs.h. */
31716 #include <stdlib.h>
31725 if ac_fn_cxx_try_compile
"$LINENO"; then :
31726 glibcxx_cv_func_quick_exit_use
=yes
31728 glibcxx_cv_func_quick_exit_use
=no
31730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31732 ac_cpp
='$CPP $CPPFLAGS'
31733 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31734 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31735 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
31742 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
31743 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
31744 for ac_func
in quick_exit
31746 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
31747 if test "x$ac_cv_func_quick_exit" = xyes
; then :
31748 cat >>confdefs.h
<<_ACEOF
31749 #define HAVE_QUICK_EXIT 1
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
31759 $as_echo_n "checking for strtold declaration... " >&6; }
31760 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
31761 if ${glibcxx_cv_func_strtold_use+:} false
; then :
31762 $as_echo_n "(cached) " >&6
31767 ac_cpp
='$CXXCPP $CPPFLAGS'
31768 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31769 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31770 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31773 /* end confdefs.h. */
31774 #include <stdlib.h>
31783 if ac_fn_cxx_try_compile
"$LINENO"; then :
31784 glibcxx_cv_func_strtold_use
=yes
31786 glibcxx_cv_func_strtold_use
=no
31788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31790 ac_cpp
='$CPP $CPPFLAGS'
31791 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31792 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31793 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
31800 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
31801 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
31802 for ac_func
in strtold
31804 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
31805 if test "x$ac_cv_func_strtold" = xyes
; then :
31806 cat >>confdefs.h
<<_ACEOF
31807 #define HAVE_STRTOLD 1
31816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
31817 $as_echo_n "checking for strtof declaration... " >&6; }
31818 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
31819 if ${glibcxx_cv_func_strtof_use+:} false
; then :
31820 $as_echo_n "(cached) " >&6
31825 ac_cpp
='$CXXCPP $CPPFLAGS'
31826 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
31830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31831 /* end confdefs.h. */
31832 #include <stdlib.h>
31841 if ac_fn_cxx_try_compile
"$LINENO"; then :
31842 glibcxx_cv_func_strtof_use
=yes
31844 glibcxx_cv_func_strtof_use
=no
31846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31848 ac_cpp
='$CPP $CPPFLAGS'
31849 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31850 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31851 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
31857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
31858 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
31859 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
31860 for ac_func
in strtof
31862 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
31863 if test "x$ac_cv_func_strtof" = xyes
; then :
31864 cat >>confdefs.h
<<_ACEOF
31865 #define HAVE_STRTOF 1
31874 CXXFLAGS
="$ac_save_CXXFLAGS"
31877 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
31879 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
31881 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
31883 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
31886 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
31888 $as_echo "#define HAVE_MODF 1" >>confdefs.h
31890 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
31896 # If we're not using GNU ld, then there's no point in even trying these
31897 # tests. Check for that first. We should have already tested for gld
31898 # by now (in libtool), but require it now just to be safe...
31899 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
31900 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
31904 # The name set by libtool depends on the version of libtool. Shame on us
31905 # for depending on an impl detail, but c'est la vie. Older versions used
31906 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
31907 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
31908 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
31909 # set (hence we're using an older libtool), then set it.
31910 if test x
${with_gnu_ld+set} != xset
; then
31911 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
31912 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
31915 with_gnu_ld
=$ac_cv_prog_gnu_ld
31919 # Start by getting the version number. I think the libtool test already
31920 # does some of this, but throws away the result.
31921 glibcxx_ld_is_gold
=no
31922 glibcxx_ld_is_mold
=no
31923 if test x
"$with_gnu_ld" = x
"yes"; then
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
31925 $as_echo_n "checking for ld version... " >&6; }
31927 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
31928 glibcxx_ld_is_gold
=yes
31929 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
31930 glibcxx_ld_is_mold
=yes
31932 ldver
=`$LD --version 2>/dev/null |
31933 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
31935 glibcxx_gnu_ld_version
=`echo $ldver | \
31936 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
31937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
31938 $as_echo "$glibcxx_gnu_ld_version" >&6; }
31941 # Set --gc-sections.
31942 glibcxx_have_gc_sections
=no
31943 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
31944 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
31945 glibcxx_have_gc_sections
=yes
31948 glibcxx_gcsections_min_ld
=21602
31949 if test x
"$with_gnu_ld" = x
"yes" &&
31950 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
31951 glibcxx_have_gc_sections
=yes
31954 if test "$glibcxx_have_gc_sections" = "yes"; then
31955 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
31956 # NB: This flag only works reliably after 2.16.1. Configure tests
31957 # for this are difficult, so hard wire a value that should work.
31959 ac_test_CFLAGS
="${CFLAGS+set}"
31960 ac_save_CFLAGS
="$CFLAGS"
31961 CFLAGS
='-Wl,--gc-sections'
31963 # Check for -Wl,--gc-sections
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
31965 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
31966 if test x
$gcc_no_link = xyes
; then
31967 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
31969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 int one(void) { return 1; }
31972 int two(void) { return 2; }
31982 if ac_fn_c_try_link
"$LINENO"; then :
31987 rm -f core conftest.err conftest.
$ac_objext \
31988 conftest
$ac_exeext conftest.
$ac_ext
31989 if test "$ac_gcsections" = "yes"; then
31992 if $CC -c conftest.c
; then
31993 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
31994 grep "Warning: gc-sections option ignored" > /dev
/null
; then
31998 rm -f conftest.c conftest.o conftest
32000 if test "$ac_gcsections" = "yes"; then
32001 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32004 $as_echo "$ac_gcsections" >&6; }
32006 if test "$ac_test_CFLAGS" = set; then
32007 CFLAGS
="$ac_save_CFLAGS"
32009 # this is the suspicious part
32015 # Note this is only for shared objects.
32017 if test x
"$with_gnu_ld" = x
"yes"; then
32018 # cygwin and mingw uses PE, which has no ELF relro support,
32019 # multi target ld may confuse configure machinery
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32027 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32028 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
32029 if test -n "$cxx_z_relo"; then
32030 OPT_LDFLAGS
="-Wl,-z,relro"
32033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32034 $as_echo "$ac_ld_relro" >&6; }
32038 # Set linker optimization flags.
32039 if test x
"$with_gnu_ld" = x
"yes"; then
32040 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
32047 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
32048 ac_save_CXXFLAGS
="$CXXFLAGS"
32049 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
32051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32052 $as_echo_n "checking for sin in -lm... " >&6; }
32053 if ${ac_cv_lib_m_sin+:} false
; then :
32054 $as_echo_n "(cached) " >&6
32056 ac_check_lib_save_LIBS
=$LIBS
32058 if test x
$gcc_no_link = xyes
; then
32059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32062 /* end confdefs.h. */
32064 /* Override any GCC internal prototype to avoid an error.
32065 Use char because int might match the return type of a GCC
32066 builtin and then its argument prototype would still apply. */
32079 if ac_fn_c_try_link
"$LINENO"; then :
32080 ac_cv_lib_m_sin
=yes
32084 rm -f core conftest.err conftest.
$ac_objext \
32085 conftest
$ac_exeext conftest.
$ac_ext
32086 LIBS
=$ac_check_lib_save_LIBS
32088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32089 $as_echo "$ac_cv_lib_m_sin" >&6; }
32090 if test "x$ac_cv_lib_m_sin" = xyes
; then :
32094 ac_save_LIBS
="$LIBS"
32099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32100 $as_echo_n "checking for isinf declaration... " >&6; }
32101 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
32102 if ${glibcxx_cv_func_isinf_use+:} false
; then :
32103 $as_echo_n "(cached) " >&6
32108 ac_cpp
='$CXXCPP $CPPFLAGS'
32109 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32114 /* end confdefs.h. */
32116 #ifdef HAVE_IEEEFP_H
32117 #include <ieeefp.h>
32128 if ac_fn_cxx_try_compile
"$LINENO"; then :
32129 glibcxx_cv_func_isinf_use
=yes
32131 glibcxx_cv_func_isinf_use
=no
32133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32135 ac_cpp
='$CPP $CPPFLAGS'
32136 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32145 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32147 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
32148 for ac_func
in isinf
32150 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
32151 if test "x$ac_cv_func_isinf" = xyes
; then :
32152 cat >>confdefs.h
<<_ACEOF
32153 #define HAVE_ISINF 1
32163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32164 $as_echo_n "checking for isnan declaration... " >&6; }
32165 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
32166 if ${glibcxx_cv_func_isnan_use+:} false
; then :
32167 $as_echo_n "(cached) " >&6
32172 ac_cpp
='$CXXCPP $CPPFLAGS'
32173 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32174 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32175 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32178 /* end confdefs.h. */
32180 #ifdef HAVE_IEEEFP_H
32181 #include <ieeefp.h>
32192 if ac_fn_cxx_try_compile
"$LINENO"; then :
32193 glibcxx_cv_func_isnan_use
=yes
32195 glibcxx_cv_func_isnan_use
=no
32197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32199 ac_cpp
='$CPP $CPPFLAGS'
32200 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32201 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32202 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32209 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32211 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
32212 for ac_func
in isnan
32214 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
32215 if test "x$ac_cv_func_isnan" = xyes
; then :
32216 cat >>confdefs.h
<<_ACEOF
32217 #define HAVE_ISNAN 1
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32228 $as_echo_n "checking for finite declaration... " >&6; }
32229 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
32230 if ${glibcxx_cv_func_finite_use+:} false
; then :
32231 $as_echo_n "(cached) " >&6
32236 ac_cpp
='$CXXCPP $CPPFLAGS'
32237 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32238 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32239 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32242 /* end confdefs.h. */
32244 #ifdef HAVE_IEEEFP_H
32245 #include <ieeefp.h>
32256 if ac_fn_cxx_try_compile
"$LINENO"; then :
32257 glibcxx_cv_func_finite_use
=yes
32259 glibcxx_cv_func_finite_use
=no
32261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32263 ac_cpp
='$CPP $CPPFLAGS'
32264 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32265 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32266 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32273 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32275 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
32276 for ac_func
in finite
32278 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
32279 if test "x$ac_cv_func_finite" = xyes
; then :
32280 cat >>confdefs.h
<<_ACEOF
32281 #define HAVE_FINITE 1
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32292 $as_echo_n "checking for sincos declaration... " >&6; }
32293 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
32294 if ${glibcxx_cv_func_sincos_use+:} false
; then :
32295 $as_echo_n "(cached) " >&6
32300 ac_cpp
='$CXXCPP $CPPFLAGS'
32301 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32302 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32303 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32306 /* end confdefs.h. */
32316 if ac_fn_cxx_try_compile
"$LINENO"; then :
32317 glibcxx_cv_func_sincos_use
=yes
32319 glibcxx_cv_func_sincos_use
=no
32321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32323 ac_cpp
='$CPP $CPPFLAGS'
32324 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32333 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32335 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
32336 for ac_func
in sincos
32338 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
32339 if test "x$ac_cv_func_sincos" = xyes
; then :
32340 cat >>confdefs.h
<<_ACEOF
32341 #define HAVE_SINCOS 1
32351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32352 $as_echo_n "checking for fpclass declaration... " >&6; }
32353 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
32354 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
32355 $as_echo_n "(cached) " >&6
32360 ac_cpp
='$CXXCPP $CPPFLAGS'
32361 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32362 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32363 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32366 /* end confdefs.h. */
32368 #ifdef HAVE_IEEEFP_H
32369 #include <ieeefp.h>
32380 if ac_fn_cxx_try_compile
"$LINENO"; then :
32381 glibcxx_cv_func_fpclass_use
=yes
32383 glibcxx_cv_func_fpclass_use
=no
32385 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32387 ac_cpp
='$CPP $CPPFLAGS'
32388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32397 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32399 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
32400 for ac_func
in fpclass
32402 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
32403 if test "x$ac_cv_func_fpclass" = xyes
; then :
32404 cat >>confdefs.h
<<_ACEOF
32405 #define HAVE_FPCLASS 1
32415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32416 $as_echo_n "checking for qfpclass declaration... " >&6; }
32417 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
32418 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
32419 $as_echo_n "(cached) " >&6
32424 ac_cpp
='$CXXCPP $CPPFLAGS'
32425 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32430 /* end confdefs.h. */
32432 #ifdef HAVE_IEEEFP_H
32433 #include <ieeefp.h>
32444 if ac_fn_cxx_try_compile
"$LINENO"; then :
32445 glibcxx_cv_func_qfpclass_use
=yes
32447 glibcxx_cv_func_qfpclass_use
=no
32449 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32451 ac_cpp
='$CPP $CPPFLAGS'
32452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32461 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32463 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
32464 for ac_func
in qfpclass
32466 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32467 if test "x$ac_cv_func_qfpclass" = xyes
; then :
32468 cat >>confdefs.h
<<_ACEOF
32469 #define HAVE_QFPCLASS 1
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
32480 $as_echo_n "checking for hypot declaration... " >&6; }
32481 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
32482 if ${glibcxx_cv_func_hypot_use+:} false
; then :
32483 $as_echo_n "(cached) " >&6
32488 ac_cpp
='$CXXCPP $CPPFLAGS'
32489 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32494 /* end confdefs.h. */
32504 if ac_fn_cxx_try_compile
"$LINENO"; then :
32505 glibcxx_cv_func_hypot_use
=yes
32507 glibcxx_cv_func_hypot_use
=no
32509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32511 ac_cpp
='$CPP $CPPFLAGS'
32512 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32513 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32514 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
32521 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
32523 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
32524 for ac_func
in hypot
32526 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
32527 if test "x$ac_cv_func_hypot" = xyes
; then :
32528 cat >>confdefs.h
<<_ACEOF
32529 #define HAVE_HYPOT 1
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
32540 $as_echo_n "checking for float trig functions... " >&6; }
32541 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
32542 $as_echo_n "(cached) " >&6
32547 ac_cpp
='$CXXCPP $CPPFLAGS'
32548 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32549 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32550 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32553 /* end confdefs.h. */
32558 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
32563 if ac_fn_cxx_try_compile
"$LINENO"; then :
32564 glibcxx_cv_func_float_trig_use
=yes
32566 glibcxx_cv_func_float_trig_use
=no
32568 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32570 ac_cpp
='$CPP $CPPFLAGS'
32571 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
32578 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
32579 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
32580 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
32582 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32583 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
32584 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
32585 cat >>confdefs.h
<<_ACEOF
32586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
32597 $as_echo_n "checking for float round functions... " >&6; }
32598 if ${glibcxx_cv_func_float_round_use+:} false
; then :
32599 $as_echo_n "(cached) " >&6
32604 ac_cpp
='$CXXCPP $CPPFLAGS'
32605 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32615 ceilf (0); floorf (0);
32620 if ac_fn_cxx_try_compile
"$LINENO"; then :
32621 glibcxx_cv_func_float_round_use
=yes
32623 glibcxx_cv_func_float_round_use
=no
32625 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32627 ac_cpp
='$CPP $CPPFLAGS'
32628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
32635 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
32636 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
32637 for ac_func
in ceilf floorf
32639 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32640 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
32641 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
32642 cat >>confdefs.h
<<_ACEOF
32643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
32655 $as_echo_n "checking for expf declaration... " >&6; }
32656 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
32657 if ${glibcxx_cv_func_expf_use+:} false
; then :
32658 $as_echo_n "(cached) " >&6
32663 ac_cpp
='$CXXCPP $CPPFLAGS'
32664 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32665 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32666 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32669 /* end confdefs.h. */
32671 #ifdef HAVE_IEEEFP_H
32672 #include <ieeefp.h>
32683 if ac_fn_cxx_try_compile
"$LINENO"; then :
32684 glibcxx_cv_func_expf_use
=yes
32686 glibcxx_cv_func_expf_use
=no
32688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32690 ac_cpp
='$CPP $CPPFLAGS'
32691 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32692 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32693 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
32700 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
32702 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
32703 for ac_func
in expf
32705 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
32706 if test "x$ac_cv_func_expf" = xyes
; then :
32707 cat >>confdefs.h
<<_ACEOF
32708 #define HAVE_EXPF 1
32718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
32719 $as_echo_n "checking for isnanf declaration... " >&6; }
32720 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
32721 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
32722 $as_echo_n "(cached) " >&6
32727 ac_cpp
='$CXXCPP $CPPFLAGS'
32728 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32729 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32730 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32732 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32733 /* end confdefs.h. */
32735 #ifdef HAVE_IEEEFP_H
32736 #include <ieeefp.h>
32747 if ac_fn_cxx_try_compile
"$LINENO"; then :
32748 glibcxx_cv_func_isnanf_use
=yes
32750 glibcxx_cv_func_isnanf_use
=no
32752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32754 ac_cpp
='$CPP $CPPFLAGS'
32755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
32764 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
32766 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
32767 for ac_func
in isnanf
32769 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
32770 if test "x$ac_cv_func_isnanf" = xyes
; then :
32771 cat >>confdefs.h
<<_ACEOF
32772 #define HAVE_ISNANF 1
32782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
32783 $as_echo_n "checking for isinff declaration... " >&6; }
32784 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
32785 if ${glibcxx_cv_func_isinff_use+:} false
; then :
32786 $as_echo_n "(cached) " >&6
32791 ac_cpp
='$CXXCPP $CPPFLAGS'
32792 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32793 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32794 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32797 /* end confdefs.h. */
32799 #ifdef HAVE_IEEEFP_H
32800 #include <ieeefp.h>
32811 if ac_fn_cxx_try_compile
"$LINENO"; then :
32812 glibcxx_cv_func_isinff_use
=yes
32814 glibcxx_cv_func_isinff_use
=no
32816 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32818 ac_cpp
='$CPP $CPPFLAGS'
32819 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32820 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32821 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
32828 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
32830 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
32831 for ac_func
in isinff
32833 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
32834 if test "x$ac_cv_func_isinff" = xyes
; then :
32835 cat >>confdefs.h
<<_ACEOF
32836 #define HAVE_ISINFF 1
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
32847 $as_echo_n "checking for atan2f declaration... " >&6; }
32848 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
32849 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
32850 $as_echo_n "(cached) " >&6
32855 ac_cpp
='$CXXCPP $CPPFLAGS'
32856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32871 if ac_fn_cxx_try_compile
"$LINENO"; then :
32872 glibcxx_cv_func_atan2f_use
=yes
32874 glibcxx_cv_func_atan2f_use
=no
32876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32878 ac_cpp
='$CPP $CPPFLAGS'
32879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
32888 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
32890 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
32891 for ac_func
in atan2f
32893 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
32894 if test "x$ac_cv_func_atan2f" = xyes
; then :
32895 cat >>confdefs.h
<<_ACEOF
32896 #define HAVE_ATAN2F 1
32906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
32907 $as_echo_n "checking for fabsf declaration... " >&6; }
32908 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
32909 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
32910 $as_echo_n "(cached) " >&6
32915 ac_cpp
='$CXXCPP $CPPFLAGS'
32916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32921 /* end confdefs.h. */
32923 #ifdef HAVE_IEEEFP_H
32924 #include <ieeefp.h>
32935 if ac_fn_cxx_try_compile
"$LINENO"; then :
32936 glibcxx_cv_func_fabsf_use
=yes
32938 glibcxx_cv_func_fabsf_use
=no
32940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
32942 ac_cpp
='$CPP $CPPFLAGS'
32943 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32944 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32945 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
32951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
32952 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
32954 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
32955 for ac_func
in fabsf
32957 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
32958 if test "x$ac_cv_func_fabsf" = xyes
; then :
32959 cat >>confdefs.h
<<_ACEOF
32960 #define HAVE_FABSF 1
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
32971 $as_echo_n "checking for fmodf declaration... " >&6; }
32972 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
32973 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
32974 $as_echo_n "(cached) " >&6
32979 ac_cpp
='$CXXCPP $CPPFLAGS'
32980 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32981 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32982 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
32984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
32985 /* end confdefs.h. */
32995 if ac_fn_cxx_try_compile
"$LINENO"; then :
32996 glibcxx_cv_func_fmodf_use
=yes
32998 glibcxx_cv_func_fmodf_use
=no
33000 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33002 ac_cpp
='$CPP $CPPFLAGS'
33003 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33004 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33005 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
33012 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
33014 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
33015 for ac_func
in fmodf
33017 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
33018 if test "x$ac_cv_func_fmodf" = xyes
; then :
33019 cat >>confdefs.h
<<_ACEOF
33020 #define HAVE_FMODF 1
33030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
33031 $as_echo_n "checking for frexpf declaration... " >&6; }
33032 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
33033 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
33034 $as_echo_n "(cached) " >&6
33039 ac_cpp
='$CXXCPP $CPPFLAGS'
33040 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33041 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33042 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33045 /* end confdefs.h. */
33055 if ac_fn_cxx_try_compile
"$LINENO"; then :
33056 glibcxx_cv_func_frexpf_use
=yes
33058 glibcxx_cv_func_frexpf_use
=no
33060 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33062 ac_cpp
='$CPP $CPPFLAGS'
33063 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
33072 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
33074 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
33075 for ac_func
in frexpf
33077 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
33078 if test "x$ac_cv_func_frexpf" = xyes
; then :
33079 cat >>confdefs.h
<<_ACEOF
33080 #define HAVE_FREXPF 1
33090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
33091 $as_echo_n "checking for hypotf declaration... " >&6; }
33092 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
33093 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
33094 $as_echo_n "(cached) " >&6
33099 ac_cpp
='$CXXCPP $CPPFLAGS'
33100 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33101 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33102 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33105 /* end confdefs.h. */
33115 if ac_fn_cxx_try_compile
"$LINENO"; then :
33116 glibcxx_cv_func_hypotf_use
=yes
33118 glibcxx_cv_func_hypotf_use
=no
33120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33122 ac_cpp
='$CPP $CPPFLAGS'
33123 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
33132 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
33134 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
33135 for ac_func
in hypotf
33137 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
33138 if test "x$ac_cv_func_hypotf" = xyes
; then :
33139 cat >>confdefs.h
<<_ACEOF
33140 #define HAVE_HYPOTF 1
33150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
33151 $as_echo_n "checking for ldexpf declaration... " >&6; }
33152 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
33153 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
33154 $as_echo_n "(cached) " >&6
33159 ac_cpp
='$CXXCPP $CPPFLAGS'
33160 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h. */
33175 if ac_fn_cxx_try_compile
"$LINENO"; then :
33176 glibcxx_cv_func_ldexpf_use
=yes
33178 glibcxx_cv_func_ldexpf_use
=no
33180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33182 ac_cpp
='$CPP $CPPFLAGS'
33183 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
33192 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
33194 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
33195 for ac_func
in ldexpf
33197 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
33198 if test "x$ac_cv_func_ldexpf" = xyes
; then :
33199 cat >>confdefs.h
<<_ACEOF
33200 #define HAVE_LDEXPF 1
33210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
33211 $as_echo_n "checking for logf declaration... " >&6; }
33212 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
33213 if ${glibcxx_cv_func_logf_use+:} false
; then :
33214 $as_echo_n "(cached) " >&6
33219 ac_cpp
='$CXXCPP $CPPFLAGS'
33220 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33221 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33222 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33225 /* end confdefs.h. */
33227 #ifdef HAVE_IEEEFP_H
33228 #include <ieeefp.h>
33239 if ac_fn_cxx_try_compile
"$LINENO"; then :
33240 glibcxx_cv_func_logf_use
=yes
33242 glibcxx_cv_func_logf_use
=no
33244 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33246 ac_cpp
='$CPP $CPPFLAGS'
33247 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
33256 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
33258 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
33259 for ac_func
in logf
33261 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
33262 if test "x$ac_cv_func_logf" = xyes
; then :
33263 cat >>confdefs.h
<<_ACEOF
33264 #define HAVE_LOGF 1
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
33275 $as_echo_n "checking for log10f declaration... " >&6; }
33276 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
33277 if ${glibcxx_cv_func_log10f_use+:} false
; then :
33278 $as_echo_n "(cached) " >&6
33283 ac_cpp
='$CXXCPP $CPPFLAGS'
33284 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33285 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33286 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33288 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33289 /* end confdefs.h. */
33291 #ifdef HAVE_IEEEFP_H
33292 #include <ieeefp.h>
33303 if ac_fn_cxx_try_compile
"$LINENO"; then :
33304 glibcxx_cv_func_log10f_use
=yes
33306 glibcxx_cv_func_log10f_use
=no
33308 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33310 ac_cpp
='$CPP $CPPFLAGS'
33311 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
33320 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
33322 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
33323 for ac_func
in log10f
33325 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
33326 if test "x$ac_cv_func_log10f" = xyes
; then :
33327 cat >>confdefs.h
<<_ACEOF
33328 #define HAVE_LOG10F 1
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
33339 $as_echo_n "checking for modff declaration... " >&6; }
33340 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
33341 if ${glibcxx_cv_func_modff_use+:} false
; then :
33342 $as_echo_n "(cached) " >&6
33347 ac_cpp
='$CXXCPP $CPPFLAGS'
33348 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33349 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33350 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33353 /* end confdefs.h. */
33363 if ac_fn_cxx_try_compile
"$LINENO"; then :
33364 glibcxx_cv_func_modff_use
=yes
33366 glibcxx_cv_func_modff_use
=no
33368 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33370 ac_cpp
='$CPP $CPPFLAGS'
33371 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
33380 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
33382 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
33383 for ac_func
in modff
33385 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
33386 if test "x$ac_cv_func_modff" = xyes
; then :
33387 cat >>confdefs.h
<<_ACEOF
33388 #define HAVE_MODFF 1
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
33399 $as_echo_n "checking for modf declaration... " >&6; }
33400 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
33401 if ${glibcxx_cv_func_modf_use+:} false
; then :
33402 $as_echo_n "(cached) " >&6
33407 ac_cpp
='$CXXCPP $CPPFLAGS'
33408 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33409 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33410 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33412 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33413 /* end confdefs.h. */
33423 if ac_fn_cxx_try_compile
"$LINENO"; then :
33424 glibcxx_cv_func_modf_use
=yes
33426 glibcxx_cv_func_modf_use
=no
33428 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33430 ac_cpp
='$CPP $CPPFLAGS'
33431 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33432 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33433 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
33440 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
33442 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
33443 for ac_func
in modf
33445 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
33446 if test "x$ac_cv_func_modf" = xyes
; then :
33447 cat >>confdefs.h
<<_ACEOF
33448 #define HAVE_MODF 1
33458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
33459 $as_echo_n "checking for powf declaration... " >&6; }
33460 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
33461 if ${glibcxx_cv_func_powf_use+:} false
; then :
33462 $as_echo_n "(cached) " >&6
33467 ac_cpp
='$CXXCPP $CPPFLAGS'
33468 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33469 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33470 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33472 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33473 /* end confdefs.h. */
33483 if ac_fn_cxx_try_compile
"$LINENO"; then :
33484 glibcxx_cv_func_powf_use
=yes
33486 glibcxx_cv_func_powf_use
=no
33488 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33490 ac_cpp
='$CPP $CPPFLAGS'
33491 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33492 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33493 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
33500 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
33502 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
33503 for ac_func
in powf
33505 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
33506 if test "x$ac_cv_func_powf" = xyes
; then :
33507 cat >>confdefs.h
<<_ACEOF
33508 #define HAVE_POWF 1
33518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33519 $as_echo_n "checking for sqrtf declaration... " >&6; }
33520 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
33521 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
33522 $as_echo_n "(cached) " >&6
33527 ac_cpp
='$CXXCPP $CPPFLAGS'
33528 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33529 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33530 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33533 /* end confdefs.h. */
33535 #ifdef HAVE_IEEEFP_H
33536 #include <ieeefp.h>
33547 if ac_fn_cxx_try_compile
"$LINENO"; then :
33548 glibcxx_cv_func_sqrtf_use
=yes
33550 glibcxx_cv_func_sqrtf_use
=no
33552 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33554 ac_cpp
='$CPP $CPPFLAGS'
33555 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33556 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33557 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33564 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33566 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
33567 for ac_func
in sqrtf
33569 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33570 if test "x$ac_cv_func_sqrtf" = xyes
; then :
33571 cat >>confdefs.h
<<_ACEOF
33572 #define HAVE_SQRTF 1
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33583 $as_echo_n "checking for sincosf declaration... " >&6; }
33584 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
33585 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
33586 $as_echo_n "(cached) " >&6
33591 ac_cpp
='$CXXCPP $CPPFLAGS'
33592 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33597 /* end confdefs.h. */
33607 if ac_fn_cxx_try_compile
"$LINENO"; then :
33608 glibcxx_cv_func_sincosf_use
=yes
33610 glibcxx_cv_func_sincosf_use
=no
33612 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33614 ac_cpp
='$CPP $CPPFLAGS'
33615 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33616 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33617 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33624 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33626 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
33627 for ac_func
in sincosf
33629 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
33630 if test "x$ac_cv_func_sincosf" = xyes
; then :
33631 cat >>confdefs.h
<<_ACEOF
33632 #define HAVE_SINCOSF 1
33642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33643 $as_echo_n "checking for finitef declaration... " >&6; }
33644 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
33645 if ${glibcxx_cv_func_finitef_use+:} false
; then :
33646 $as_echo_n "(cached) " >&6
33651 ac_cpp
='$CXXCPP $CPPFLAGS'
33652 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33657 /* end confdefs.h. */
33659 #ifdef HAVE_IEEEFP_H
33660 #include <ieeefp.h>
33671 if ac_fn_cxx_try_compile
"$LINENO"; then :
33672 glibcxx_cv_func_finitef_use
=yes
33674 glibcxx_cv_func_finitef_use
=no
33676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33678 ac_cpp
='$CPP $CPPFLAGS'
33679 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33680 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33681 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33688 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33690 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
33691 for ac_func
in finitef
33693 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
33694 if test "x$ac_cv_func_finitef" = xyes
; then :
33695 cat >>confdefs.h
<<_ACEOF
33696 #define HAVE_FINITEF 1
33706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33707 $as_echo_n "checking for long double trig functions... " >&6; }
33708 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
33709 $as_echo_n "(cached) " >&6
33714 ac_cpp
='$CXXCPP $CPPFLAGS'
33715 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33716 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33717 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33720 /* end confdefs.h. */
33725 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33730 if ac_fn_cxx_try_compile
"$LINENO"; then :
33731 glibcxx_cv_func_long_double_trig_use
=yes
33733 glibcxx_cv_func_long_double_trig_use
=no
33735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33737 ac_cpp
='$CPP $CPPFLAGS'
33738 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33739 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33740 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33745 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33746 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
33747 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33749 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33750 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
33751 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
33752 cat >>confdefs.h
<<_ACEOF
33753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33764 $as_echo_n "checking for long double round functions... " >&6; }
33765 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
33766 $as_echo_n "(cached) " >&6
33771 ac_cpp
='$CXXCPP $CPPFLAGS'
33772 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33773 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33774 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33777 /* end confdefs.h. */
33782 ceill (0); floorl (0);
33787 if ac_fn_cxx_try_compile
"$LINENO"; then :
33788 glibcxx_cv_func_long_double_round_use
=yes
33790 glibcxx_cv_func_long_double_round_use
=no
33792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33794 ac_cpp
='$CPP $CPPFLAGS'
33795 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33796 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33797 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33802 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33803 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
33804 for ac_func
in ceill floorl
33806 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33807 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
33808 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
33809 cat >>confdefs.h
<<_ACEOF
33810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33822 $as_echo_n "checking for isnanl declaration... " >&6; }
33823 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
33824 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
33825 $as_echo_n "(cached) " >&6
33830 ac_cpp
='$CXXCPP $CPPFLAGS'
33831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33836 /* end confdefs.h. */
33838 #ifdef HAVE_IEEEFP_H
33839 #include <ieeefp.h>
33850 if ac_fn_cxx_try_compile
"$LINENO"; then :
33851 glibcxx_cv_func_isnanl_use
=yes
33853 glibcxx_cv_func_isnanl_use
=no
33855 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33857 ac_cpp
='$CPP $CPPFLAGS'
33858 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33867 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33869 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
33870 for ac_func
in isnanl
33872 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
33873 if test "x$ac_cv_func_isnanl" = xyes
; then :
33874 cat >>confdefs.h
<<_ACEOF
33875 #define HAVE_ISNANL 1
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33886 $as_echo_n "checking for isinfl declaration... " >&6; }
33887 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
33888 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
33889 $as_echo_n "(cached) " >&6
33894 ac_cpp
='$CXXCPP $CPPFLAGS'
33895 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33896 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33897 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33900 /* end confdefs.h. */
33902 #ifdef HAVE_IEEEFP_H
33903 #include <ieeefp.h>
33914 if ac_fn_cxx_try_compile
"$LINENO"; then :
33915 glibcxx_cv_func_isinfl_use
=yes
33917 glibcxx_cv_func_isinfl_use
=no
33919 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33921 ac_cpp
='$CPP $CPPFLAGS'
33922 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33923 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33924 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33931 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33933 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
33934 for ac_func
in isinfl
33936 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
33937 if test "x$ac_cv_func_isinfl" = xyes
; then :
33938 cat >>confdefs.h
<<_ACEOF
33939 #define HAVE_ISINFL 1
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33950 $as_echo_n "checking for atan2l declaration... " >&6; }
33951 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
33952 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
33953 $as_echo_n "(cached) " >&6
33958 ac_cpp
='$CXXCPP $CPPFLAGS'
33959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
33963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h. */
33974 if ac_fn_cxx_try_compile
"$LINENO"; then :
33975 glibcxx_cv_func_atan2l_use
=yes
33977 glibcxx_cv_func_atan2l_use
=no
33979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
33981 ac_cpp
='$CPP $CPPFLAGS'
33982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33991 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33993 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
33994 for ac_func
in atan2l
33996 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
33997 if test "x$ac_cv_func_atan2l" = xyes
; then :
33998 cat >>confdefs.h
<<_ACEOF
33999 #define HAVE_ATAN2L 1
34009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
34010 $as_echo_n "checking for expl declaration... " >&6; }
34011 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
34012 if ${glibcxx_cv_func_expl_use+:} false
; then :
34013 $as_echo_n "(cached) " >&6
34018 ac_cpp
='$CXXCPP $CPPFLAGS'
34019 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34020 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34021 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34026 #ifdef HAVE_IEEEFP_H
34027 #include <ieeefp.h>
34038 if ac_fn_cxx_try_compile
"$LINENO"; then :
34039 glibcxx_cv_func_expl_use
=yes
34041 glibcxx_cv_func_expl_use
=no
34043 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34045 ac_cpp
='$CPP $CPPFLAGS'
34046 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34055 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34057 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
34058 for ac_func
in expl
34060 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
34061 if test "x$ac_cv_func_expl" = xyes
; then :
34062 cat >>confdefs.h
<<_ACEOF
34063 #define HAVE_EXPL 1
34073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34074 $as_echo_n "checking for fabsl declaration... " >&6; }
34075 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
34076 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
34077 $as_echo_n "(cached) " >&6
34082 ac_cpp
='$CXXCPP $CPPFLAGS'
34083 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34084 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34085 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34088 /* end confdefs.h. */
34090 #ifdef HAVE_IEEEFP_H
34091 #include <ieeefp.h>
34102 if ac_fn_cxx_try_compile
"$LINENO"; then :
34103 glibcxx_cv_func_fabsl_use
=yes
34105 glibcxx_cv_func_fabsl_use
=no
34107 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34109 ac_cpp
='$CPP $CPPFLAGS'
34110 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34111 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34112 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34119 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34121 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
34122 for ac_func
in fabsl
34124 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
34125 if test "x$ac_cv_func_fabsl" = xyes
; then :
34126 cat >>confdefs.h
<<_ACEOF
34127 #define HAVE_FABSL 1
34137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34138 $as_echo_n "checking for fmodl declaration... " >&6; }
34139 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
34140 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
34141 $as_echo_n "(cached) " >&6
34146 ac_cpp
='$CXXCPP $CPPFLAGS'
34147 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34148 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34149 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34152 /* end confdefs.h. */
34162 if ac_fn_cxx_try_compile
"$LINENO"; then :
34163 glibcxx_cv_func_fmodl_use
=yes
34165 glibcxx_cv_func_fmodl_use
=no
34167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34169 ac_cpp
='$CPP $CPPFLAGS'
34170 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34171 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34172 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34179 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34181 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
34182 for ac_func
in fmodl
34184 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
34185 if test "x$ac_cv_func_fmodl" = xyes
; then :
34186 cat >>confdefs.h
<<_ACEOF
34187 #define HAVE_FMODL 1
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34198 $as_echo_n "checking for frexpl declaration... " >&6; }
34199 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
34200 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
34201 $as_echo_n "(cached) " >&6
34206 ac_cpp
='$CXXCPP $CPPFLAGS'
34207 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34222 if ac_fn_cxx_try_compile
"$LINENO"; then :
34223 glibcxx_cv_func_frexpl_use
=yes
34225 glibcxx_cv_func_frexpl_use
=no
34227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34229 ac_cpp
='$CPP $CPPFLAGS'
34230 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34231 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34232 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34239 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34241 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
34242 for ac_func
in frexpl
34244 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
34245 if test "x$ac_cv_func_frexpl" = xyes
; then :
34246 cat >>confdefs.h
<<_ACEOF
34247 #define HAVE_FREXPL 1
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34258 $as_echo_n "checking for hypotl declaration... " >&6; }
34259 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
34260 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
34261 $as_echo_n "(cached) " >&6
34266 ac_cpp
='$CXXCPP $CPPFLAGS'
34267 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34272 /* end confdefs.h. */
34282 if ac_fn_cxx_try_compile
"$LINENO"; then :
34283 glibcxx_cv_func_hypotl_use
=yes
34285 glibcxx_cv_func_hypotl_use
=no
34287 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34289 ac_cpp
='$CPP $CPPFLAGS'
34290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34299 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34301 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
34302 for ac_func
in hypotl
34304 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
34305 if test "x$ac_cv_func_hypotl" = xyes
; then :
34306 cat >>confdefs.h
<<_ACEOF
34307 #define HAVE_HYPOTL 1
34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34318 $as_echo_n "checking for ldexpl declaration... " >&6; }
34319 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
34320 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
34321 $as_echo_n "(cached) " >&6
34326 ac_cpp
='$CXXCPP $CPPFLAGS'
34327 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34328 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34329 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34332 /* end confdefs.h. */
34342 if ac_fn_cxx_try_compile
"$LINENO"; then :
34343 glibcxx_cv_func_ldexpl_use
=yes
34345 glibcxx_cv_func_ldexpl_use
=no
34347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34349 ac_cpp
='$CPP $CPPFLAGS'
34350 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34351 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34352 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34359 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34361 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
34362 for ac_func
in ldexpl
34364 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34365 if test "x$ac_cv_func_ldexpl" = xyes
; then :
34366 cat >>confdefs.h
<<_ACEOF
34367 #define HAVE_LDEXPL 1
34377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34378 $as_echo_n "checking for logl declaration... " >&6; }
34379 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
34380 if ${glibcxx_cv_func_logl_use+:} false
; then :
34381 $as_echo_n "(cached) " >&6
34386 ac_cpp
='$CXXCPP $CPPFLAGS'
34387 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34388 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34389 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34392 /* end confdefs.h. */
34394 #ifdef HAVE_IEEEFP_H
34395 #include <ieeefp.h>
34406 if ac_fn_cxx_try_compile
"$LINENO"; then :
34407 glibcxx_cv_func_logl_use
=yes
34409 glibcxx_cv_func_logl_use
=no
34411 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34413 ac_cpp
='$CPP $CPPFLAGS'
34414 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34423 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34425 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
34426 for ac_func
in logl
34428 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
34429 if test "x$ac_cv_func_logl" = xyes
; then :
34430 cat >>confdefs.h
<<_ACEOF
34431 #define HAVE_LOGL 1
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34442 $as_echo_n "checking for log10l declaration... " >&6; }
34443 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
34444 if ${glibcxx_cv_func_log10l_use+:} false
; then :
34445 $as_echo_n "(cached) " >&6
34450 ac_cpp
='$CXXCPP $CPPFLAGS'
34451 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h. */
34458 #ifdef HAVE_IEEEFP_H
34459 #include <ieeefp.h>
34470 if ac_fn_cxx_try_compile
"$LINENO"; then :
34471 glibcxx_cv_func_log10l_use
=yes
34473 glibcxx_cv_func_log10l_use
=no
34475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34477 ac_cpp
='$CPP $CPPFLAGS'
34478 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34487 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34489 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
34490 for ac_func
in log10l
34492 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
34493 if test "x$ac_cv_func_log10l" = xyes
; then :
34494 cat >>confdefs.h
<<_ACEOF
34495 #define HAVE_LOG10L 1
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34506 $as_echo_n "checking for modfl declaration... " >&6; }
34507 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
34508 if ${glibcxx_cv_func_modfl_use+:} false
; then :
34509 $as_echo_n "(cached) " >&6
34514 ac_cpp
='$CXXCPP $CPPFLAGS'
34515 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34530 if ac_fn_cxx_try_compile
"$LINENO"; then :
34531 glibcxx_cv_func_modfl_use
=yes
34533 glibcxx_cv_func_modfl_use
=no
34535 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34537 ac_cpp
='$CPP $CPPFLAGS'
34538 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34547 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34549 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
34550 for ac_func
in modfl
34552 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
34553 if test "x$ac_cv_func_modfl" = xyes
; then :
34554 cat >>confdefs.h
<<_ACEOF
34555 #define HAVE_MODFL 1
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34566 $as_echo_n "checking for powl declaration... " >&6; }
34567 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
34568 if ${glibcxx_cv_func_powl_use+:} false
; then :
34569 $as_echo_n "(cached) " >&6
34574 ac_cpp
='$CXXCPP $CPPFLAGS'
34575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34580 /* end confdefs.h. */
34590 if ac_fn_cxx_try_compile
"$LINENO"; then :
34591 glibcxx_cv_func_powl_use
=yes
34593 glibcxx_cv_func_powl_use
=no
34595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34597 ac_cpp
='$CPP $CPPFLAGS'
34598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34607 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34609 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
34610 for ac_func
in powl
34612 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
34613 if test "x$ac_cv_func_powl" = xyes
; then :
34614 cat >>confdefs.h
<<_ACEOF
34615 #define HAVE_POWL 1
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34626 $as_echo_n "checking for sqrtl declaration... " >&6; }
34627 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
34628 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
34629 $as_echo_n "(cached) " >&6
34634 ac_cpp
='$CXXCPP $CPPFLAGS'
34635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34640 /* end confdefs.h. */
34642 #ifdef HAVE_IEEEFP_H
34643 #include <ieeefp.h>
34654 if ac_fn_cxx_try_compile
"$LINENO"; then :
34655 glibcxx_cv_func_sqrtl_use
=yes
34657 glibcxx_cv_func_sqrtl_use
=no
34659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34661 ac_cpp
='$CPP $CPPFLAGS'
34662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34671 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34673 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
34674 for ac_func
in sqrtl
34676 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34677 if test "x$ac_cv_func_sqrtl" = xyes
; then :
34678 cat >>confdefs.h
<<_ACEOF
34679 #define HAVE_SQRTL 1
34689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34690 $as_echo_n "checking for sincosl declaration... " >&6; }
34691 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
34692 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
34693 $as_echo_n "(cached) " >&6
34698 ac_cpp
='$CXXCPP $CPPFLAGS'
34699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34704 /* end confdefs.h. */
34714 if ac_fn_cxx_try_compile
"$LINENO"; then :
34715 glibcxx_cv_func_sincosl_use
=yes
34717 glibcxx_cv_func_sincosl_use
=no
34719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34721 ac_cpp
='$CPP $CPPFLAGS'
34722 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34723 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34724 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34731 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34733 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
34734 for ac_func
in sincosl
34736 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
34737 if test "x$ac_cv_func_sincosl" = xyes
; then :
34738 cat >>confdefs.h
<<_ACEOF
34739 #define HAVE_SINCOSL 1
34749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34750 $as_echo_n "checking for finitel declaration... " >&6; }
34751 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
34752 if ${glibcxx_cv_func_finitel_use+:} false
; then :
34753 $as_echo_n "(cached) " >&6
34758 ac_cpp
='$CXXCPP $CPPFLAGS'
34759 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34760 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34761 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34764 /* end confdefs.h. */
34766 #ifdef HAVE_IEEEFP_H
34767 #include <ieeefp.h>
34778 if ac_fn_cxx_try_compile
"$LINENO"; then :
34779 glibcxx_cv_func_finitel_use
=yes
34781 glibcxx_cv_func_finitel_use
=no
34783 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34785 ac_cpp
='$CPP $CPPFLAGS'
34786 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34787 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34788 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34795 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34797 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
34798 for ac_func
in finitel
34800 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
34801 if test "x$ac_cv_func_finitel" = xyes
; then :
34802 cat >>confdefs.h
<<_ACEOF
34803 #define HAVE_FINITEL 1
34812 LIBS
="$ac_save_LIBS"
34813 CXXFLAGS
="$ac_save_CXXFLAGS"
34816 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
34817 ac_save_CXXFLAGS
="$CXXFLAGS"
34818 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
34821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34822 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34823 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
34824 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
34825 $as_echo_n "(cached) " >&6
34830 ac_cpp
='$CXXCPP $CPPFLAGS'
34831 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34836 /* end confdefs.h. */
34837 #include <stdlib.h>
34846 if ac_fn_cxx_try_compile
"$LINENO"; then :
34847 glibcxx_cv_func_at_quick_exit_use
=yes
34849 glibcxx_cv_func_at_quick_exit_use
=no
34851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34853 ac_cpp
='$CPP $CPPFLAGS'
34854 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34863 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34864 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
34865 for ac_func
in at_quick_exit
34867 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34868 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
34869 cat >>confdefs.h
<<_ACEOF
34870 #define HAVE_AT_QUICK_EXIT 1
34879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34880 $as_echo_n "checking for quick_exit declaration... " >&6; }
34881 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
34882 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
34883 $as_echo_n "(cached) " >&6
34888 ac_cpp
='$CXXCPP $CPPFLAGS'
34889 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34890 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34891 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34894 /* end confdefs.h. */
34895 #include <stdlib.h>
34904 if ac_fn_cxx_try_compile
"$LINENO"; then :
34905 glibcxx_cv_func_quick_exit_use
=yes
34907 glibcxx_cv_func_quick_exit_use
=no
34909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34911 ac_cpp
='$CPP $CPPFLAGS'
34912 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34913 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34914 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34921 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34922 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
34923 for ac_func
in quick_exit
34925 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34926 if test "x$ac_cv_func_quick_exit" = xyes
; then :
34927 cat >>confdefs.h
<<_ACEOF
34928 #define HAVE_QUICK_EXIT 1
34937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34938 $as_echo_n "checking for strtold declaration... " >&6; }
34939 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
34940 if ${glibcxx_cv_func_strtold_use+:} false
; then :
34941 $as_echo_n "(cached) " >&6
34946 ac_cpp
='$CXXCPP $CPPFLAGS'
34947 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34948 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34949 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
34951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
34952 /* end confdefs.h. */
34953 #include <stdlib.h>
34962 if ac_fn_cxx_try_compile
"$LINENO"; then :
34963 glibcxx_cv_func_strtold_use
=yes
34965 glibcxx_cv_func_strtold_use
=no
34967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
34969 ac_cpp
='$CPP $CPPFLAGS'
34970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
34978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34979 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34980 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
34981 for ac_func
in strtold
34983 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
34984 if test "x$ac_cv_func_strtold" = xyes
; then :
34985 cat >>confdefs.h
<<_ACEOF
34986 #define HAVE_STRTOLD 1
34995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34996 $as_echo_n "checking for strtof declaration... " >&6; }
34997 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
34998 if ${glibcxx_cv_func_strtof_use+:} false
; then :
34999 $as_echo_n "(cached) " >&6
35004 ac_cpp
='$CXXCPP $CPPFLAGS'
35005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <stdlib.h>
35020 if ac_fn_cxx_try_compile
"$LINENO"; then :
35021 glibcxx_cv_func_strtof_use
=yes
35023 glibcxx_cv_func_strtof_use
=no
35025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35027 ac_cpp
='$CPP $CPPFLAGS'
35028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35037 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35038 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
35039 for ac_func
in strtof
35041 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
35042 if test "x$ac_cv_func_strtof" = xyes
; then :
35043 cat >>confdefs.h
<<_ACEOF
35044 #define HAVE_STRTOF 1
35053 CXXFLAGS
="$ac_save_CXXFLAGS"
35055 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
35057 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
35059 # We don't yet support AIX's TLS ABI.
35063 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
35068 # Darwin versions vary, but the linker should work in a cross environment,
35069 # so we just check for all the features here.
35070 # Check for available headers.
35072 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
35074 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
35075 ac_save_CXXFLAGS
="$CXXFLAGS"
35076 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
35078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35079 $as_echo_n "checking for sin in -lm... " >&6; }
35080 if ${ac_cv_lib_m_sin+:} false
; then :
35081 $as_echo_n "(cached) " >&6
35083 ac_check_lib_save_LIBS
=$LIBS
35085 if test x
$gcc_no_link = xyes
; then
35086 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35089 /* end confdefs.h. */
35091 /* Override any GCC internal prototype to avoid an error.
35092 Use char because int might match the return type of a GCC
35093 builtin and then its argument prototype would still apply. */
35106 if ac_fn_c_try_link
"$LINENO"; then :
35107 ac_cv_lib_m_sin
=yes
35111 rm -f core conftest.err conftest.
$ac_objext \
35112 conftest
$ac_exeext conftest.
$ac_ext
35113 LIBS
=$ac_check_lib_save_LIBS
35115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35116 $as_echo "$ac_cv_lib_m_sin" >&6; }
35117 if test "x$ac_cv_lib_m_sin" = xyes
; then :
35121 ac_save_LIBS
="$LIBS"
35126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35127 $as_echo_n "checking for isinf declaration... " >&6; }
35128 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
35129 if ${glibcxx_cv_func_isinf_use+:} false
; then :
35130 $as_echo_n "(cached) " >&6
35135 ac_cpp
='$CXXCPP $CPPFLAGS'
35136 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35137 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35138 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35141 /* end confdefs.h. */
35143 #ifdef HAVE_IEEEFP_H
35144 #include <ieeefp.h>
35155 if ac_fn_cxx_try_compile
"$LINENO"; then :
35156 glibcxx_cv_func_isinf_use
=yes
35158 glibcxx_cv_func_isinf_use
=no
35160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35162 ac_cpp
='$CPP $CPPFLAGS'
35163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35172 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35174 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
35175 for ac_func
in isinf
35177 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
35178 if test "x$ac_cv_func_isinf" = xyes
; then :
35179 cat >>confdefs.h
<<_ACEOF
35180 #define HAVE_ISINF 1
35190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35191 $as_echo_n "checking for isnan declaration... " >&6; }
35192 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
35193 if ${glibcxx_cv_func_isnan_use+:} false
; then :
35194 $as_echo_n "(cached) " >&6
35199 ac_cpp
='$CXXCPP $CPPFLAGS'
35200 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35201 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35202 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35205 /* end confdefs.h. */
35207 #ifdef HAVE_IEEEFP_H
35208 #include <ieeefp.h>
35219 if ac_fn_cxx_try_compile
"$LINENO"; then :
35220 glibcxx_cv_func_isnan_use
=yes
35222 glibcxx_cv_func_isnan_use
=no
35224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35226 ac_cpp
='$CPP $CPPFLAGS'
35227 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35236 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35238 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
35239 for ac_func
in isnan
35241 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
35242 if test "x$ac_cv_func_isnan" = xyes
; then :
35243 cat >>confdefs.h
<<_ACEOF
35244 #define HAVE_ISNAN 1
35254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35255 $as_echo_n "checking for finite declaration... " >&6; }
35256 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
35257 if ${glibcxx_cv_func_finite_use+:} false
; then :
35258 $as_echo_n "(cached) " >&6
35263 ac_cpp
='$CXXCPP $CPPFLAGS'
35264 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35265 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35266 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35269 /* end confdefs.h. */
35271 #ifdef HAVE_IEEEFP_H
35272 #include <ieeefp.h>
35283 if ac_fn_cxx_try_compile
"$LINENO"; then :
35284 glibcxx_cv_func_finite_use
=yes
35286 glibcxx_cv_func_finite_use
=no
35288 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35290 ac_cpp
='$CPP $CPPFLAGS'
35291 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35300 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35302 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
35303 for ac_func
in finite
35305 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
35306 if test "x$ac_cv_func_finite" = xyes
; then :
35307 cat >>confdefs.h
<<_ACEOF
35308 #define HAVE_FINITE 1
35318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35319 $as_echo_n "checking for sincos declaration... " >&6; }
35320 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
35321 if ${glibcxx_cv_func_sincos_use+:} false
; then :
35322 $as_echo_n "(cached) " >&6
35327 ac_cpp
='$CXXCPP $CPPFLAGS'
35328 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35333 /* end confdefs.h. */
35343 if ac_fn_cxx_try_compile
"$LINENO"; then :
35344 glibcxx_cv_func_sincos_use
=yes
35346 glibcxx_cv_func_sincos_use
=no
35348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35350 ac_cpp
='$CPP $CPPFLAGS'
35351 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35352 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35353 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35360 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35362 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
35363 for ac_func
in sincos
35365 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
35366 if test "x$ac_cv_func_sincos" = xyes
; then :
35367 cat >>confdefs.h
<<_ACEOF
35368 #define HAVE_SINCOS 1
35378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35379 $as_echo_n "checking for fpclass declaration... " >&6; }
35380 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
35381 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
35382 $as_echo_n "(cached) " >&6
35387 ac_cpp
='$CXXCPP $CPPFLAGS'
35388 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35389 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35390 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35393 /* end confdefs.h. */
35395 #ifdef HAVE_IEEEFP_H
35396 #include <ieeefp.h>
35407 if ac_fn_cxx_try_compile
"$LINENO"; then :
35408 glibcxx_cv_func_fpclass_use
=yes
35410 glibcxx_cv_func_fpclass_use
=no
35412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35414 ac_cpp
='$CPP $CPPFLAGS'
35415 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35416 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35417 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35424 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35426 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
35427 for ac_func
in fpclass
35429 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
35430 if test "x$ac_cv_func_fpclass" = xyes
; then :
35431 cat >>confdefs.h
<<_ACEOF
35432 #define HAVE_FPCLASS 1
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35443 $as_echo_n "checking for qfpclass declaration... " >&6; }
35444 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
35445 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
35446 $as_echo_n "(cached) " >&6
35451 ac_cpp
='$CXXCPP $CPPFLAGS'
35452 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35453 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35454 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35457 /* end confdefs.h. */
35459 #ifdef HAVE_IEEEFP_H
35460 #include <ieeefp.h>
35471 if ac_fn_cxx_try_compile
"$LINENO"; then :
35472 glibcxx_cv_func_qfpclass_use
=yes
35474 glibcxx_cv_func_qfpclass_use
=no
35476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35478 ac_cpp
='$CPP $CPPFLAGS'
35479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35488 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35490 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
35491 for ac_func
in qfpclass
35493 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35494 if test "x$ac_cv_func_qfpclass" = xyes
; then :
35495 cat >>confdefs.h
<<_ACEOF
35496 #define HAVE_QFPCLASS 1
35506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35507 $as_echo_n "checking for hypot declaration... " >&6; }
35508 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
35509 if ${glibcxx_cv_func_hypot_use+:} false
; then :
35510 $as_echo_n "(cached) " >&6
35515 ac_cpp
='$CXXCPP $CPPFLAGS'
35516 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35521 /* end confdefs.h. */
35531 if ac_fn_cxx_try_compile
"$LINENO"; then :
35532 glibcxx_cv_func_hypot_use
=yes
35534 glibcxx_cv_func_hypot_use
=no
35536 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35538 ac_cpp
='$CPP $CPPFLAGS'
35539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35548 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35550 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
35551 for ac_func
in hypot
35553 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
35554 if test "x$ac_cv_func_hypot" = xyes
; then :
35555 cat >>confdefs.h
<<_ACEOF
35556 #define HAVE_HYPOT 1
35566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35567 $as_echo_n "checking for float trig functions... " >&6; }
35568 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
35569 $as_echo_n "(cached) " >&6
35574 ac_cpp
='$CXXCPP $CPPFLAGS'
35575 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35580 /* end confdefs.h. */
35585 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35590 if ac_fn_cxx_try_compile
"$LINENO"; then :
35591 glibcxx_cv_func_float_trig_use
=yes
35593 glibcxx_cv_func_float_trig_use
=no
35595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35597 ac_cpp
='$CPP $CPPFLAGS'
35598 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35605 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35606 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
35607 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35609 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35610 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35611 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35612 cat >>confdefs.h
<<_ACEOF
35613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35624 $as_echo_n "checking for float round functions... " >&6; }
35625 if ${glibcxx_cv_func_float_round_use+:} false
; then :
35626 $as_echo_n "(cached) " >&6
35631 ac_cpp
='$CXXCPP $CPPFLAGS'
35632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35637 /* end confdefs.h. */
35642 ceilf (0); floorf (0);
35647 if ac_fn_cxx_try_compile
"$LINENO"; then :
35648 glibcxx_cv_func_float_round_use
=yes
35650 glibcxx_cv_func_float_round_use
=no
35652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35654 ac_cpp
='$CPP $CPPFLAGS'
35655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35662 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35663 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
35664 for ac_func
in ceilf floorf
35666 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35667 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
35668 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
35669 cat >>confdefs.h
<<_ACEOF
35670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35682 $as_echo_n "checking for expf declaration... " >&6; }
35683 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
35684 if ${glibcxx_cv_func_expf_use+:} false
; then :
35685 $as_echo_n "(cached) " >&6
35690 ac_cpp
='$CXXCPP $CPPFLAGS'
35691 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35698 #ifdef HAVE_IEEEFP_H
35699 #include <ieeefp.h>
35710 if ac_fn_cxx_try_compile
"$LINENO"; then :
35711 glibcxx_cv_func_expf_use
=yes
35713 glibcxx_cv_func_expf_use
=no
35715 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35717 ac_cpp
='$CPP $CPPFLAGS'
35718 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35727 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35729 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
35730 for ac_func
in expf
35732 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
35733 if test "x$ac_cv_func_expf" = xyes
; then :
35734 cat >>confdefs.h
<<_ACEOF
35735 #define HAVE_EXPF 1
35745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35746 $as_echo_n "checking for isnanf declaration... " >&6; }
35747 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
35748 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
35749 $as_echo_n "(cached) " >&6
35754 ac_cpp
='$CXXCPP $CPPFLAGS'
35755 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35756 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35757 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35760 /* end confdefs.h. */
35762 #ifdef HAVE_IEEEFP_H
35763 #include <ieeefp.h>
35774 if ac_fn_cxx_try_compile
"$LINENO"; then :
35775 glibcxx_cv_func_isnanf_use
=yes
35777 glibcxx_cv_func_isnanf_use
=no
35779 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35781 ac_cpp
='$CPP $CPPFLAGS'
35782 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35791 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35793 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
35794 for ac_func
in isnanf
35796 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
35797 if test "x$ac_cv_func_isnanf" = xyes
; then :
35798 cat >>confdefs.h
<<_ACEOF
35799 #define HAVE_ISNANF 1
35809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35810 $as_echo_n "checking for isinff declaration... " >&6; }
35811 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
35812 if ${glibcxx_cv_func_isinff_use+:} false
; then :
35813 $as_echo_n "(cached) " >&6
35818 ac_cpp
='$CXXCPP $CPPFLAGS'
35819 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35820 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35821 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35824 /* end confdefs.h. */
35826 #ifdef HAVE_IEEEFP_H
35827 #include <ieeefp.h>
35838 if ac_fn_cxx_try_compile
"$LINENO"; then :
35839 glibcxx_cv_func_isinff_use
=yes
35841 glibcxx_cv_func_isinff_use
=no
35843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35845 ac_cpp
='$CPP $CPPFLAGS'
35846 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35847 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35848 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35855 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35857 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
35858 for ac_func
in isinff
35860 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
35861 if test "x$ac_cv_func_isinff" = xyes
; then :
35862 cat >>confdefs.h
<<_ACEOF
35863 #define HAVE_ISINFF 1
35873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35874 $as_echo_n "checking for atan2f declaration... " >&6; }
35875 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
35876 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
35877 $as_echo_n "(cached) " >&6
35882 ac_cpp
='$CXXCPP $CPPFLAGS'
35883 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35884 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35885 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35888 /* end confdefs.h. */
35898 if ac_fn_cxx_try_compile
"$LINENO"; then :
35899 glibcxx_cv_func_atan2f_use
=yes
35901 glibcxx_cv_func_atan2f_use
=no
35903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35905 ac_cpp
='$CPP $CPPFLAGS'
35906 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35915 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35917 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
35918 for ac_func
in atan2f
35920 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
35921 if test "x$ac_cv_func_atan2f" = xyes
; then :
35922 cat >>confdefs.h
<<_ACEOF
35923 #define HAVE_ATAN2F 1
35933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35934 $as_echo_n "checking for fabsf declaration... " >&6; }
35935 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
35936 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
35937 $as_echo_n "(cached) " >&6
35942 ac_cpp
='$CXXCPP $CPPFLAGS'
35943 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
35947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h. */
35950 #ifdef HAVE_IEEEFP_H
35951 #include <ieeefp.h>
35962 if ac_fn_cxx_try_compile
"$LINENO"; then :
35963 glibcxx_cv_func_fabsf_use
=yes
35965 glibcxx_cv_func_fabsf_use
=no
35967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
35969 ac_cpp
='$CPP $CPPFLAGS'
35970 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35971 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35972 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
35978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35979 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35981 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
35982 for ac_func
in fabsf
35984 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
35985 if test "x$ac_cv_func_fabsf" = xyes
; then :
35986 cat >>confdefs.h
<<_ACEOF
35987 #define HAVE_FABSF 1
35997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35998 $as_echo_n "checking for fmodf declaration... " >&6; }
35999 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
36000 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
36001 $as_echo_n "(cached) " >&6
36006 ac_cpp
='$CXXCPP $CPPFLAGS'
36007 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36012 /* end confdefs.h. */
36022 if ac_fn_cxx_try_compile
"$LINENO"; then :
36023 glibcxx_cv_func_fmodf_use
=yes
36025 glibcxx_cv_func_fmodf_use
=no
36027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36029 ac_cpp
='$CPP $CPPFLAGS'
36030 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36031 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36032 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36039 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36041 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
36042 for ac_func
in fmodf
36044 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
36045 if test "x$ac_cv_func_fmodf" = xyes
; then :
36046 cat >>confdefs.h
<<_ACEOF
36047 #define HAVE_FMODF 1
36057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36058 $as_echo_n "checking for frexpf declaration... " >&6; }
36059 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
36060 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
36061 $as_echo_n "(cached) " >&6
36066 ac_cpp
='$CXXCPP $CPPFLAGS'
36067 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36072 /* end confdefs.h. */
36082 if ac_fn_cxx_try_compile
"$LINENO"; then :
36083 glibcxx_cv_func_frexpf_use
=yes
36085 glibcxx_cv_func_frexpf_use
=no
36087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36089 ac_cpp
='$CPP $CPPFLAGS'
36090 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36099 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36101 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
36102 for ac_func
in frexpf
36104 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
36105 if test "x$ac_cv_func_frexpf" = xyes
; then :
36106 cat >>confdefs.h
<<_ACEOF
36107 #define HAVE_FREXPF 1
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36118 $as_echo_n "checking for hypotf declaration... " >&6; }
36119 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
36120 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
36121 $as_echo_n "(cached) " >&6
36126 ac_cpp
='$CXXCPP $CPPFLAGS'
36127 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h. */
36142 if ac_fn_cxx_try_compile
"$LINENO"; then :
36143 glibcxx_cv_func_hypotf_use
=yes
36145 glibcxx_cv_func_hypotf_use
=no
36147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36149 ac_cpp
='$CPP $CPPFLAGS'
36150 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36161 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
36162 for ac_func
in hypotf
36164 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
36165 if test "x$ac_cv_func_hypotf" = xyes
; then :
36166 cat >>confdefs.h
<<_ACEOF
36167 #define HAVE_HYPOTF 1
36177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36178 $as_echo_n "checking for ldexpf declaration... " >&6; }
36179 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
36180 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
36181 $as_echo_n "(cached) " >&6
36186 ac_cpp
='$CXXCPP $CPPFLAGS'
36187 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36192 /* end confdefs.h. */
36202 if ac_fn_cxx_try_compile
"$LINENO"; then :
36203 glibcxx_cv_func_ldexpf_use
=yes
36205 glibcxx_cv_func_ldexpf_use
=no
36207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36209 ac_cpp
='$CPP $CPPFLAGS'
36210 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36211 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36212 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36219 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36221 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
36222 for ac_func
in ldexpf
36224 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36225 if test "x$ac_cv_func_ldexpf" = xyes
; then :
36226 cat >>confdefs.h
<<_ACEOF
36227 #define HAVE_LDEXPF 1
36237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36238 $as_echo_n "checking for logf declaration... " >&6; }
36239 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
36240 if ${glibcxx_cv_func_logf_use+:} false
; then :
36241 $as_echo_n "(cached) " >&6
36246 ac_cpp
='$CXXCPP $CPPFLAGS'
36247 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36252 /* end confdefs.h. */
36254 #ifdef HAVE_IEEEFP_H
36255 #include <ieeefp.h>
36266 if ac_fn_cxx_try_compile
"$LINENO"; then :
36267 glibcxx_cv_func_logf_use
=yes
36269 glibcxx_cv_func_logf_use
=no
36271 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36273 ac_cpp
='$CPP $CPPFLAGS'
36274 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36283 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36285 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
36286 for ac_func
in logf
36288 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
36289 if test "x$ac_cv_func_logf" = xyes
; then :
36290 cat >>confdefs.h
<<_ACEOF
36291 #define HAVE_LOGF 1
36301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36302 $as_echo_n "checking for log10f declaration... " >&6; }
36303 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
36304 if ${glibcxx_cv_func_log10f_use+:} false
; then :
36305 $as_echo_n "(cached) " >&6
36310 ac_cpp
='$CXXCPP $CPPFLAGS'
36311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36316 /* end confdefs.h. */
36318 #ifdef HAVE_IEEEFP_H
36319 #include <ieeefp.h>
36330 if ac_fn_cxx_try_compile
"$LINENO"; then :
36331 glibcxx_cv_func_log10f_use
=yes
36333 glibcxx_cv_func_log10f_use
=no
36335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36337 ac_cpp
='$CPP $CPPFLAGS'
36338 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36347 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36349 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
36350 for ac_func
in log10f
36352 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
36353 if test "x$ac_cv_func_log10f" = xyes
; then :
36354 cat >>confdefs.h
<<_ACEOF
36355 #define HAVE_LOG10F 1
36365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36366 $as_echo_n "checking for modff declaration... " >&6; }
36367 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
36368 if ${glibcxx_cv_func_modff_use+:} false
; then :
36369 $as_echo_n "(cached) " >&6
36374 ac_cpp
='$CXXCPP $CPPFLAGS'
36375 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36380 /* end confdefs.h. */
36390 if ac_fn_cxx_try_compile
"$LINENO"; then :
36391 glibcxx_cv_func_modff_use
=yes
36393 glibcxx_cv_func_modff_use
=no
36395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36397 ac_cpp
='$CPP $CPPFLAGS'
36398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36407 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36409 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
36410 for ac_func
in modff
36412 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
36413 if test "x$ac_cv_func_modff" = xyes
; then :
36414 cat >>confdefs.h
<<_ACEOF
36415 #define HAVE_MODFF 1
36425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36426 $as_echo_n "checking for modf declaration... " >&6; }
36427 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
36428 if ${glibcxx_cv_func_modf_use+:} false
; then :
36429 $as_echo_n "(cached) " >&6
36434 ac_cpp
='$CXXCPP $CPPFLAGS'
36435 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36436 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36437 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36440 /* end confdefs.h. */
36450 if ac_fn_cxx_try_compile
"$LINENO"; then :
36451 glibcxx_cv_func_modf_use
=yes
36453 glibcxx_cv_func_modf_use
=no
36455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36457 ac_cpp
='$CPP $CPPFLAGS'
36458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36467 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36469 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
36470 for ac_func
in modf
36472 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
36473 if test "x$ac_cv_func_modf" = xyes
; then :
36474 cat >>confdefs.h
<<_ACEOF
36475 #define HAVE_MODF 1
36485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36486 $as_echo_n "checking for powf declaration... " >&6; }
36487 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
36488 if ${glibcxx_cv_func_powf_use+:} false
; then :
36489 $as_echo_n "(cached) " >&6
36494 ac_cpp
='$CXXCPP $CPPFLAGS'
36495 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36500 /* end confdefs.h. */
36510 if ac_fn_cxx_try_compile
"$LINENO"; then :
36511 glibcxx_cv_func_powf_use
=yes
36513 glibcxx_cv_func_powf_use
=no
36515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36517 ac_cpp
='$CPP $CPPFLAGS'
36518 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36527 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36529 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
36530 for ac_func
in powf
36532 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
36533 if test "x$ac_cv_func_powf" = xyes
; then :
36534 cat >>confdefs.h
<<_ACEOF
36535 #define HAVE_POWF 1
36545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36546 $as_echo_n "checking for sqrtf declaration... " >&6; }
36547 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
36548 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
36549 $as_echo_n "(cached) " >&6
36554 ac_cpp
='$CXXCPP $CPPFLAGS'
36555 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36556 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36557 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36559 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36560 /* end confdefs.h. */
36562 #ifdef HAVE_IEEEFP_H
36563 #include <ieeefp.h>
36574 if ac_fn_cxx_try_compile
"$LINENO"; then :
36575 glibcxx_cv_func_sqrtf_use
=yes
36577 glibcxx_cv_func_sqrtf_use
=no
36579 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36581 ac_cpp
='$CPP $CPPFLAGS'
36582 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36583 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36584 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36591 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36593 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
36594 for ac_func
in sqrtf
36596 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36597 if test "x$ac_cv_func_sqrtf" = xyes
; then :
36598 cat >>confdefs.h
<<_ACEOF
36599 #define HAVE_SQRTF 1
36609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36610 $as_echo_n "checking for sincosf declaration... " >&6; }
36611 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
36612 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
36613 $as_echo_n "(cached) " >&6
36618 ac_cpp
='$CXXCPP $CPPFLAGS'
36619 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36624 /* end confdefs.h. */
36634 if ac_fn_cxx_try_compile
"$LINENO"; then :
36635 glibcxx_cv_func_sincosf_use
=yes
36637 glibcxx_cv_func_sincosf_use
=no
36639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36641 ac_cpp
='$CPP $CPPFLAGS'
36642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36651 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36653 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
36654 for ac_func
in sincosf
36656 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
36657 if test "x$ac_cv_func_sincosf" = xyes
; then :
36658 cat >>confdefs.h
<<_ACEOF
36659 #define HAVE_SINCOSF 1
36669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36670 $as_echo_n "checking for finitef declaration... " >&6; }
36671 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
36672 if ${glibcxx_cv_func_finitef_use+:} false
; then :
36673 $as_echo_n "(cached) " >&6
36678 ac_cpp
='$CXXCPP $CPPFLAGS'
36679 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36680 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36681 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36684 /* end confdefs.h. */
36686 #ifdef HAVE_IEEEFP_H
36687 #include <ieeefp.h>
36698 if ac_fn_cxx_try_compile
"$LINENO"; then :
36699 glibcxx_cv_func_finitef_use
=yes
36701 glibcxx_cv_func_finitef_use
=no
36703 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36705 ac_cpp
='$CPP $CPPFLAGS'
36706 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36707 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36708 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36715 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36717 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
36718 for ac_func
in finitef
36720 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
36721 if test "x$ac_cv_func_finitef" = xyes
; then :
36722 cat >>confdefs.h
<<_ACEOF
36723 #define HAVE_FINITEF 1
36733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36734 $as_echo_n "checking for long double trig functions... " >&6; }
36735 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
36736 $as_echo_n "(cached) " >&6
36741 ac_cpp
='$CXXCPP $CPPFLAGS'
36742 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36743 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36744 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36747 /* end confdefs.h. */
36752 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36757 if ac_fn_cxx_try_compile
"$LINENO"; then :
36758 glibcxx_cv_func_long_double_trig_use
=yes
36760 glibcxx_cv_func_long_double_trig_use
=no
36762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36764 ac_cpp
='$CPP $CPPFLAGS'
36765 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36766 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36767 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36772 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36773 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
36774 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36776 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36777 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
36778 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
36779 cat >>confdefs.h
<<_ACEOF
36780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36791 $as_echo_n "checking for long double round functions... " >&6; }
36792 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
36793 $as_echo_n "(cached) " >&6
36798 ac_cpp
='$CXXCPP $CPPFLAGS'
36799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36804 /* end confdefs.h. */
36809 ceill (0); floorl (0);
36814 if ac_fn_cxx_try_compile
"$LINENO"; then :
36815 glibcxx_cv_func_long_double_round_use
=yes
36817 glibcxx_cv_func_long_double_round_use
=no
36819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36821 ac_cpp
='$CPP $CPPFLAGS'
36822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36829 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36830 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
36831 for ac_func
in ceill floorl
36833 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36834 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
36835 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
36836 cat >>confdefs.h
<<_ACEOF
36837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36849 $as_echo_n "checking for isnanl declaration... " >&6; }
36850 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
36851 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
36852 $as_echo_n "(cached) " >&6
36857 ac_cpp
='$CXXCPP $CPPFLAGS'
36858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36865 #ifdef HAVE_IEEEFP_H
36866 #include <ieeefp.h>
36877 if ac_fn_cxx_try_compile
"$LINENO"; then :
36878 glibcxx_cv_func_isnanl_use
=yes
36880 glibcxx_cv_func_isnanl_use
=no
36882 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36884 ac_cpp
='$CPP $CPPFLAGS'
36885 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36886 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36887 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36894 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36896 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
36897 for ac_func
in isnanl
36899 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
36900 if test "x$ac_cv_func_isnanl" = xyes
; then :
36901 cat >>confdefs.h
<<_ACEOF
36902 #define HAVE_ISNANL 1
36912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36913 $as_echo_n "checking for isinfl declaration... " >&6; }
36914 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
36915 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
36916 $as_echo_n "(cached) " >&6
36921 ac_cpp
='$CXXCPP $CPPFLAGS'
36922 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36923 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36924 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36927 /* end confdefs.h. */
36929 #ifdef HAVE_IEEEFP_H
36930 #include <ieeefp.h>
36941 if ac_fn_cxx_try_compile
"$LINENO"; then :
36942 glibcxx_cv_func_isinfl_use
=yes
36944 glibcxx_cv_func_isinfl_use
=no
36946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
36948 ac_cpp
='$CPP $CPPFLAGS'
36949 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36950 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36951 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
36957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36958 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36960 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
36961 for ac_func
in isinfl
36963 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
36964 if test "x$ac_cv_func_isinfl" = xyes
; then :
36965 cat >>confdefs.h
<<_ACEOF
36966 #define HAVE_ISINFL 1
36976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36977 $as_echo_n "checking for atan2l declaration... " >&6; }
36978 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
36979 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
36980 $as_echo_n "(cached) " >&6
36985 ac_cpp
='$CXXCPP $CPPFLAGS'
36986 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36987 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36988 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
36990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
36991 /* end confdefs.h. */
37001 if ac_fn_cxx_try_compile
"$LINENO"; then :
37002 glibcxx_cv_func_atan2l_use
=yes
37004 glibcxx_cv_func_atan2l_use
=no
37006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37008 ac_cpp
='$CPP $CPPFLAGS'
37009 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37018 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37020 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
37021 for ac_func
in atan2l
37023 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
37024 if test "x$ac_cv_func_atan2l" = xyes
; then :
37025 cat >>confdefs.h
<<_ACEOF
37026 #define HAVE_ATAN2L 1
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37037 $as_echo_n "checking for expl declaration... " >&6; }
37038 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
37039 if ${glibcxx_cv_func_expl_use+:} false
; then :
37040 $as_echo_n "(cached) " >&6
37045 ac_cpp
='$CXXCPP $CPPFLAGS'
37046 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h. */
37053 #ifdef HAVE_IEEEFP_H
37054 #include <ieeefp.h>
37065 if ac_fn_cxx_try_compile
"$LINENO"; then :
37066 glibcxx_cv_func_expl_use
=yes
37068 glibcxx_cv_func_expl_use
=no
37070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37072 ac_cpp
='$CPP $CPPFLAGS'
37073 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37082 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37084 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
37085 for ac_func
in expl
37087 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
37088 if test "x$ac_cv_func_expl" = xyes
; then :
37089 cat >>confdefs.h
<<_ACEOF
37090 #define HAVE_EXPL 1
37100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37101 $as_echo_n "checking for fabsl declaration... " >&6; }
37102 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
37103 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
37104 $as_echo_n "(cached) " >&6
37109 ac_cpp
='$CXXCPP $CPPFLAGS'
37110 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37115 /* end confdefs.h. */
37117 #ifdef HAVE_IEEEFP_H
37118 #include <ieeefp.h>
37129 if ac_fn_cxx_try_compile
"$LINENO"; then :
37130 glibcxx_cv_func_fabsl_use
=yes
37132 glibcxx_cv_func_fabsl_use
=no
37134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37136 ac_cpp
='$CPP $CPPFLAGS'
37137 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37138 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37139 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37148 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
37149 for ac_func
in fabsl
37151 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
37152 if test "x$ac_cv_func_fabsl" = xyes
; then :
37153 cat >>confdefs.h
<<_ACEOF
37154 #define HAVE_FABSL 1
37164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37165 $as_echo_n "checking for fmodl declaration... " >&6; }
37166 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
37167 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
37168 $as_echo_n "(cached) " >&6
37173 ac_cpp
='$CXXCPP $CPPFLAGS'
37174 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h. */
37189 if ac_fn_cxx_try_compile
"$LINENO"; then :
37190 glibcxx_cv_func_fmodl_use
=yes
37192 glibcxx_cv_func_fmodl_use
=no
37194 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37196 ac_cpp
='$CPP $CPPFLAGS'
37197 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37206 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37208 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
37209 for ac_func
in fmodl
37211 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
37212 if test "x$ac_cv_func_fmodl" = xyes
; then :
37213 cat >>confdefs.h
<<_ACEOF
37214 #define HAVE_FMODL 1
37224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37225 $as_echo_n "checking for frexpl declaration... " >&6; }
37226 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
37227 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
37228 $as_echo_n "(cached) " >&6
37233 ac_cpp
='$CXXCPP $CPPFLAGS'
37234 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37235 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37236 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37239 /* end confdefs.h. */
37249 if ac_fn_cxx_try_compile
"$LINENO"; then :
37250 glibcxx_cv_func_frexpl_use
=yes
37252 glibcxx_cv_func_frexpl_use
=no
37254 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37256 ac_cpp
='$CPP $CPPFLAGS'
37257 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37258 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37259 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37266 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37268 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
37269 for ac_func
in frexpl
37271 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
37272 if test "x$ac_cv_func_frexpl" = xyes
; then :
37273 cat >>confdefs.h
<<_ACEOF
37274 #define HAVE_FREXPL 1
37284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37285 $as_echo_n "checking for hypotl declaration... " >&6; }
37286 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
37287 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
37288 $as_echo_n "(cached) " >&6
37293 ac_cpp
='$CXXCPP $CPPFLAGS'
37294 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37295 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37296 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37299 /* end confdefs.h. */
37309 if ac_fn_cxx_try_compile
"$LINENO"; then :
37310 glibcxx_cv_func_hypotl_use
=yes
37312 glibcxx_cv_func_hypotl_use
=no
37314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37316 ac_cpp
='$CPP $CPPFLAGS'
37317 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37326 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37328 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
37329 for ac_func
in hypotl
37331 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
37332 if test "x$ac_cv_func_hypotl" = xyes
; then :
37333 cat >>confdefs.h
<<_ACEOF
37334 #define HAVE_HYPOTL 1
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37345 $as_echo_n "checking for ldexpl declaration... " >&6; }
37346 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
37347 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
37348 $as_echo_n "(cached) " >&6
37353 ac_cpp
='$CXXCPP $CPPFLAGS'
37354 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37359 /* end confdefs.h. */
37369 if ac_fn_cxx_try_compile
"$LINENO"; then :
37370 glibcxx_cv_func_ldexpl_use
=yes
37372 glibcxx_cv_func_ldexpl_use
=no
37374 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37376 ac_cpp
='$CPP $CPPFLAGS'
37377 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37386 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37388 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
37389 for ac_func
in ldexpl
37391 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37392 if test "x$ac_cv_func_ldexpl" = xyes
; then :
37393 cat >>confdefs.h
<<_ACEOF
37394 #define HAVE_LDEXPL 1
37404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37405 $as_echo_n "checking for logl declaration... " >&6; }
37406 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
37407 if ${glibcxx_cv_func_logl_use+:} false
; then :
37408 $as_echo_n "(cached) " >&6
37413 ac_cpp
='$CXXCPP $CPPFLAGS'
37414 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37419 /* end confdefs.h. */
37421 #ifdef HAVE_IEEEFP_H
37422 #include <ieeefp.h>
37433 if ac_fn_cxx_try_compile
"$LINENO"; then :
37434 glibcxx_cv_func_logl_use
=yes
37436 glibcxx_cv_func_logl_use
=no
37438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37440 ac_cpp
='$CPP $CPPFLAGS'
37441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37450 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37452 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
37453 for ac_func
in logl
37455 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
37456 if test "x$ac_cv_func_logl" = xyes
; then :
37457 cat >>confdefs.h
<<_ACEOF
37458 #define HAVE_LOGL 1
37468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37469 $as_echo_n "checking for log10l declaration... " >&6; }
37470 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
37471 if ${glibcxx_cv_func_log10l_use+:} false
; then :
37472 $as_echo_n "(cached) " >&6
37477 ac_cpp
='$CXXCPP $CPPFLAGS'
37478 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37479 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37480 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37483 /* end confdefs.h. */
37485 #ifdef HAVE_IEEEFP_H
37486 #include <ieeefp.h>
37497 if ac_fn_cxx_try_compile
"$LINENO"; then :
37498 glibcxx_cv_func_log10l_use
=yes
37500 glibcxx_cv_func_log10l_use
=no
37502 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37504 ac_cpp
='$CPP $CPPFLAGS'
37505 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37506 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37507 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37514 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37516 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
37517 for ac_func
in log10l
37519 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
37520 if test "x$ac_cv_func_log10l" = xyes
; then :
37521 cat >>confdefs.h
<<_ACEOF
37522 #define HAVE_LOG10L 1
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37533 $as_echo_n "checking for modfl declaration... " >&6; }
37534 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
37535 if ${glibcxx_cv_func_modfl_use+:} false
; then :
37536 $as_echo_n "(cached) " >&6
37541 ac_cpp
='$CXXCPP $CPPFLAGS'
37542 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37543 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37544 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37547 /* end confdefs.h. */
37557 if ac_fn_cxx_try_compile
"$LINENO"; then :
37558 glibcxx_cv_func_modfl_use
=yes
37560 glibcxx_cv_func_modfl_use
=no
37562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37564 ac_cpp
='$CPP $CPPFLAGS'
37565 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37574 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37576 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
37577 for ac_func
in modfl
37579 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
37580 if test "x$ac_cv_func_modfl" = xyes
; then :
37581 cat >>confdefs.h
<<_ACEOF
37582 #define HAVE_MODFL 1
37592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37593 $as_echo_n "checking for powl declaration... " >&6; }
37594 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
37595 if ${glibcxx_cv_func_powl_use+:} false
; then :
37596 $as_echo_n "(cached) " >&6
37601 ac_cpp
='$CXXCPP $CPPFLAGS'
37602 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37607 /* end confdefs.h. */
37617 if ac_fn_cxx_try_compile
"$LINENO"; then :
37618 glibcxx_cv_func_powl_use
=yes
37620 glibcxx_cv_func_powl_use
=no
37622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37624 ac_cpp
='$CPP $CPPFLAGS'
37625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37634 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37636 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
37637 for ac_func
in powl
37639 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
37640 if test "x$ac_cv_func_powl" = xyes
; then :
37641 cat >>confdefs.h
<<_ACEOF
37642 #define HAVE_POWL 1
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37653 $as_echo_n "checking for sqrtl declaration... " >&6; }
37654 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
37655 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
37656 $as_echo_n "(cached) " >&6
37661 ac_cpp
='$CXXCPP $CPPFLAGS'
37662 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37669 #ifdef HAVE_IEEEFP_H
37670 #include <ieeefp.h>
37681 if ac_fn_cxx_try_compile
"$LINENO"; then :
37682 glibcxx_cv_func_sqrtl_use
=yes
37684 glibcxx_cv_func_sqrtl_use
=no
37686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37688 ac_cpp
='$CPP $CPPFLAGS'
37689 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37698 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37700 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
37701 for ac_func
in sqrtl
37703 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37704 if test "x$ac_cv_func_sqrtl" = xyes
; then :
37705 cat >>confdefs.h
<<_ACEOF
37706 #define HAVE_SQRTL 1
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37717 $as_echo_n "checking for sincosl declaration... " >&6; }
37718 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
37719 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
37720 $as_echo_n "(cached) " >&6
37725 ac_cpp
='$CXXCPP $CPPFLAGS'
37726 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37731 /* end confdefs.h. */
37741 if ac_fn_cxx_try_compile
"$LINENO"; then :
37742 glibcxx_cv_func_sincosl_use
=yes
37744 glibcxx_cv_func_sincosl_use
=no
37746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37748 ac_cpp
='$CPP $CPPFLAGS'
37749 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37758 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37760 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
37761 for ac_func
in sincosl
37763 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
37764 if test "x$ac_cv_func_sincosl" = xyes
; then :
37765 cat >>confdefs.h
<<_ACEOF
37766 #define HAVE_SINCOSL 1
37776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37777 $as_echo_n "checking for finitel declaration... " >&6; }
37778 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
37779 if ${glibcxx_cv_func_finitel_use+:} false
; then :
37780 $as_echo_n "(cached) " >&6
37785 ac_cpp
='$CXXCPP $CPPFLAGS'
37786 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37787 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37788 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37791 /* end confdefs.h. */
37793 #ifdef HAVE_IEEEFP_H
37794 #include <ieeefp.h>
37805 if ac_fn_cxx_try_compile
"$LINENO"; then :
37806 glibcxx_cv_func_finitel_use
=yes
37808 glibcxx_cv_func_finitel_use
=no
37810 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37812 ac_cpp
='$CPP $CPPFLAGS'
37813 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37814 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37815 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37822 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37824 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
37825 for ac_func
in finitel
37827 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
37828 if test "x$ac_cv_func_finitel" = xyes
; then :
37829 cat >>confdefs.h
<<_ACEOF
37830 #define HAVE_FINITEL 1
37839 LIBS
="$ac_save_LIBS"
37840 CXXFLAGS
="$ac_save_CXXFLAGS"
37843 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
37844 ac_save_CXXFLAGS
="$CXXFLAGS"
37845 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
37848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
37849 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
37850 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
37851 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
37852 $as_echo_n "(cached) " >&6
37857 ac_cpp
='$CXXCPP $CPPFLAGS'
37858 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37859 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37860 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37863 /* end confdefs.h. */
37864 #include <stdlib.h>
37873 if ac_fn_cxx_try_compile
"$LINENO"; then :
37874 glibcxx_cv_func_at_quick_exit_use
=yes
37876 glibcxx_cv_func_at_quick_exit_use
=no
37878 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37880 ac_cpp
='$CPP $CPPFLAGS'
37881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
37890 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
37891 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
37892 for ac_func
in at_quick_exit
37894 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
37895 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
37896 cat >>confdefs.h
<<_ACEOF
37897 #define HAVE_AT_QUICK_EXIT 1
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
37907 $as_echo_n "checking for quick_exit declaration... " >&6; }
37908 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
37909 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
37910 $as_echo_n "(cached) " >&6
37915 ac_cpp
='$CXXCPP $CPPFLAGS'
37916 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37921 /* end confdefs.h. */
37922 #include <stdlib.h>
37931 if ac_fn_cxx_try_compile
"$LINENO"; then :
37932 glibcxx_cv_func_quick_exit_use
=yes
37934 glibcxx_cv_func_quick_exit_use
=no
37936 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37938 ac_cpp
='$CPP $CPPFLAGS'
37939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
37947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
37948 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
37949 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
37950 for ac_func
in quick_exit
37952 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
37953 if test "x$ac_cv_func_quick_exit" = xyes
; then :
37954 cat >>confdefs.h
<<_ACEOF
37955 #define HAVE_QUICK_EXIT 1
37964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37965 $as_echo_n "checking for strtold declaration... " >&6; }
37966 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
37967 if ${glibcxx_cv_func_strtold_use+:} false
; then :
37968 $as_echo_n "(cached) " >&6
37973 ac_cpp
='$CXXCPP $CPPFLAGS'
37974 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
37978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
37979 /* end confdefs.h. */
37980 #include <stdlib.h>
37989 if ac_fn_cxx_try_compile
"$LINENO"; then :
37990 glibcxx_cv_func_strtold_use
=yes
37992 glibcxx_cv_func_strtold_use
=no
37994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
37996 ac_cpp
='$CPP $CPPFLAGS'
37997 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37998 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37999 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38006 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38007 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
38008 for ac_func
in strtold
38010 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
38011 if test "x$ac_cv_func_strtold" = xyes
; then :
38012 cat >>confdefs.h
<<_ACEOF
38013 #define HAVE_STRTOLD 1
38022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38023 $as_echo_n "checking for strtof declaration... " >&6; }
38024 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
38025 if ${glibcxx_cv_func_strtof_use+:} false
; then :
38026 $as_echo_n "(cached) " >&6
38031 ac_cpp
='$CXXCPP $CPPFLAGS'
38032 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38033 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38034 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38036 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38037 /* end confdefs.h. */
38038 #include <stdlib.h>
38047 if ac_fn_cxx_try_compile
"$LINENO"; then :
38048 glibcxx_cv_func_strtof_use
=yes
38050 glibcxx_cv_func_strtof_use
=no
38052 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38054 ac_cpp
='$CPP $CPPFLAGS'
38055 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38064 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38065 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
38066 for ac_func
in strtof
38068 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
38069 if test "x$ac_cv_func_strtof" = xyes
; then :
38070 cat >>confdefs.h
<<_ACEOF
38071 #define HAVE_STRTOF 1
38080 CXXFLAGS
="$ac_save_CXXFLAGS"
38083 for ac_func
in uselocale
38085 ac_fn_c_check_func
"$LINENO" "uselocale" "ac_cv_func_uselocale"
38086 if test "x$ac_cv_func_uselocale" = xyes
; then :
38087 cat >>confdefs.h
<<_ACEOF
38088 #define HAVE_USELOCALE 1
38097 # GLIBCXX_CHECK_MATH_SUPPORT
38098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
38100 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
38102 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
38104 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
38106 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
38111 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
38114 # If we're not using GNU ld, then there's no point in even trying these
38115 # tests. Check for that first. We should have already tested for gld
38116 # by now (in libtool), but require it now just to be safe...
38117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
38118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
38122 # The name set by libtool depends on the version of libtool. Shame on us
38123 # for depending on an impl detail, but c'est la vie. Older versions used
38124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
38125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
38126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
38127 # set (hence we're using an older libtool), then set it.
38128 if test x
${with_gnu_ld+set} != xset
; then
38129 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
38130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
38133 with_gnu_ld
=$ac_cv_prog_gnu_ld
38137 # Start by getting the version number. I think the libtool test already
38138 # does some of this, but throws away the result.
38139 glibcxx_ld_is_gold
=no
38140 glibcxx_ld_is_mold
=no
38141 if test x
"$with_gnu_ld" = x
"yes"; then
38142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
38143 $as_echo_n "checking for ld version... " >&6; }
38145 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
38146 glibcxx_ld_is_gold
=yes
38147 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
38148 glibcxx_ld_is_mold
=yes
38150 ldver
=`$LD --version 2>/dev/null |
38151 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
38153 glibcxx_gnu_ld_version
=`echo $ldver | \
38154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
38155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
38156 $as_echo "$glibcxx_gnu_ld_version" >&6; }
38159 # Set --gc-sections.
38160 glibcxx_have_gc_sections
=no
38161 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
38162 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
38163 glibcxx_have_gc_sections
=yes
38166 glibcxx_gcsections_min_ld
=21602
38167 if test x
"$with_gnu_ld" = x
"yes" &&
38168 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
38169 glibcxx_have_gc_sections
=yes
38172 if test "$glibcxx_have_gc_sections" = "yes"; then
38173 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
38174 # NB: This flag only works reliably after 2.16.1. Configure tests
38175 # for this are difficult, so hard wire a value that should work.
38177 ac_test_CFLAGS
="${CFLAGS+set}"
38178 ac_save_CFLAGS
="$CFLAGS"
38179 CFLAGS
='-Wl,--gc-sections'
38181 # Check for -Wl,--gc-sections
38182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
38183 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
38184 if test x
$gcc_no_link = xyes
; then
38185 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38188 /* end confdefs.h. */
38189 int one(void) { return 1; }
38190 int two(void) { return 2; }
38200 if ac_fn_c_try_link
"$LINENO"; then :
38205 rm -f core conftest.err conftest.
$ac_objext \
38206 conftest
$ac_exeext conftest.
$ac_ext
38207 if test "$ac_gcsections" = "yes"; then
38210 if $CC -c conftest.c
; then
38211 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
38212 grep "Warning: gc-sections option ignored" > /dev
/null
; then
38216 rm -f conftest.c conftest.o conftest
38218 if test "$ac_gcsections" = "yes"; then
38219 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
38221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
38222 $as_echo "$ac_gcsections" >&6; }
38224 if test "$ac_test_CFLAGS" = set; then
38225 CFLAGS
="$ac_save_CFLAGS"
38227 # this is the suspicious part
38233 # Note this is only for shared objects.
38235 if test x
"$with_gnu_ld" = x
"yes"; then
38236 # cygwin and mingw uses PE, which has no ELF relro support,
38237 # multi target ld may confuse configure machinery
38244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
38245 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
38246 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
38247 if test -n "$cxx_z_relo"; then
38248 OPT_LDFLAGS
="-Wl,-z,relro"
38251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
38252 $as_echo "$ac_ld_relro" >&6; }
38256 # Set linker optimization flags.
38257 if test x
"$with_gnu_ld" = x
"yes"; then
38258 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
38264 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
38266 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
38268 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
38270 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
38272 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
38274 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
38276 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
38278 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
38280 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
38283 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
38285 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
38287 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
38289 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
38291 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
38293 $as_echo "#define HAVE_COSF 1" >>confdefs.h
38295 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
38297 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
38299 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
38301 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
38303 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
38305 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
38307 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
38309 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
38311 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
38313 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
38315 $as_echo "#define HAVE_POWF 1" >>confdefs.h
38317 $as_echo "#define HAVE_SINF 1" >>confdefs.h
38319 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
38321 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
38323 $as_echo "#define HAVE_TANF 1" >>confdefs.h
38325 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
38327 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
38328 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
38330 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
38332 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
38335 for ac_func
in __cxa_thread_atexit
38337 ac_fn_c_check_func
"$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
38338 if test "x$ac_cv_func___cxa_thread_atexit" = xyes
; then :
38339 cat >>confdefs.h
<<_ACEOF
38340 #define HAVE___CXA_THREAD_ATEXIT 1
38346 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
38348 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38349 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
38350 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
38351 cat >>confdefs.h
<<_ACEOF
38352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38358 for ac_func
in timespec_get
38360 ac_fn_c_check_func
"$LINENO" "timespec_get" "ac_cv_func_timespec_get"
38361 if test "x$ac_cv_func_timespec_get" = xyes
; then :
38362 cat >>confdefs.h
<<_ACEOF
38363 #define HAVE_TIMESPEC_GET 1
38369 for ac_func
in sockatmark
38371 ac_fn_c_check_func
"$LINENO" "sockatmark" "ac_cv_func_sockatmark"
38372 if test "x$ac_cv_func_sockatmark" = xyes
; then :
38373 cat >>confdefs.h
<<_ACEOF
38374 #define HAVE_SOCKATMARK 1
38380 for ac_func
in uselocale
38382 ac_fn_c_check_func
"$LINENO" "uselocale" "ac_cv_func_uselocale"
38383 if test "x$ac_cv_func_uselocale" = xyes
; then :
38384 cat >>confdefs.h
<<_ACEOF
38385 #define HAVE_USELOCALE 1
38394 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
38399 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
38402 # If we're not using GNU ld, then there's no point in even trying these
38403 # tests. Check for that first. We should have already tested for gld
38404 # by now (in libtool), but require it now just to be safe...
38405 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
38406 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
38410 # The name set by libtool depends on the version of libtool. Shame on us
38411 # for depending on an impl detail, but c'est la vie. Older versions used
38412 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
38413 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
38414 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
38415 # set (hence we're using an older libtool), then set it.
38416 if test x
${with_gnu_ld+set} != xset
; then
38417 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
38418 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
38421 with_gnu_ld
=$ac_cv_prog_gnu_ld
38425 # Start by getting the version number. I think the libtool test already
38426 # does some of this, but throws away the result.
38427 glibcxx_ld_is_gold
=no
38428 glibcxx_ld_is_mold
=no
38429 if test x
"$with_gnu_ld" = x
"yes"; then
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
38431 $as_echo_n "checking for ld version... " >&6; }
38433 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
38434 glibcxx_ld_is_gold
=yes
38435 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
38436 glibcxx_ld_is_mold
=yes
38438 ldver
=`$LD --version 2>/dev/null |
38439 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
38441 glibcxx_gnu_ld_version
=`echo $ldver | \
38442 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
38443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
38444 $as_echo "$glibcxx_gnu_ld_version" >&6; }
38447 # Set --gc-sections.
38448 glibcxx_have_gc_sections
=no
38449 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
38450 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
38451 glibcxx_have_gc_sections
=yes
38454 glibcxx_gcsections_min_ld
=21602
38455 if test x
"$with_gnu_ld" = x
"yes" &&
38456 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
38457 glibcxx_have_gc_sections
=yes
38460 if test "$glibcxx_have_gc_sections" = "yes"; then
38461 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
38462 # NB: This flag only works reliably after 2.16.1. Configure tests
38463 # for this are difficult, so hard wire a value that should work.
38465 ac_test_CFLAGS
="${CFLAGS+set}"
38466 ac_save_CFLAGS
="$CFLAGS"
38467 CFLAGS
='-Wl,--gc-sections'
38469 # Check for -Wl,--gc-sections
38470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
38471 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
38472 if test x
$gcc_no_link = xyes
; then
38473 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38476 /* end confdefs.h. */
38477 int one(void) { return 1; }
38478 int two(void) { return 2; }
38488 if ac_fn_c_try_link
"$LINENO"; then :
38493 rm -f core conftest.err conftest.
$ac_objext \
38494 conftest
$ac_exeext conftest.
$ac_ext
38495 if test "$ac_gcsections" = "yes"; then
38498 if $CC -c conftest.c
; then
38499 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
38500 grep "Warning: gc-sections option ignored" > /dev
/null
; then
38504 rm -f conftest.c conftest.o conftest
38506 if test "$ac_gcsections" = "yes"; then
38507 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
38509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
38510 $as_echo "$ac_gcsections" >&6; }
38512 if test "$ac_test_CFLAGS" = set; then
38513 CFLAGS
="$ac_save_CFLAGS"
38515 # this is the suspicious part
38521 # Note this is only for shared objects.
38523 if test x
"$with_gnu_ld" = x
"yes"; then
38524 # cygwin and mingw uses PE, which has no ELF relro support,
38525 # multi target ld may confuse configure machinery
38532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
38533 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
38534 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
38535 if test -n "$cxx_z_relo"; then
38536 OPT_LDFLAGS
="-Wl,-z,relro"
38539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
38540 $as_echo "$ac_ld_relro" >&6; }
38544 # Set linker optimization flags.
38545 if test x
"$with_gnu_ld" = x
"yes"; then
38546 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
38553 # GLIBCXX_CHECK_MATH_SUPPORT
38554 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
38556 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
38558 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
38560 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
38562 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
38564 $as_echo "#define HAVE_COSF 1" >>confdefs.h
38566 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
38568 $as_echo "#define HAVE_SINF 1" >>confdefs.h
38570 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
38572 $as_echo "#define HAVE_TANF 1" >>confdefs.h
38574 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
38576 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
38578 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
38580 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
38582 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
38584 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
38586 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
38588 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
38590 $as_echo "#define HAVE_MODF 1" >>confdefs.h
38592 $as_echo "#define HAVE_POWF 1" >>confdefs.h
38594 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
38597 # GLIBCXX_CHECK_STDLIB_SUPPORT
38598 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
38603 # Check whether --enable-tls was given.
38604 if test "${enable_tls+set}" = set; then :
38605 enableval
=$enable_tls;
38606 case "$enableval" in
38608 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
38616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
38617 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
38618 if ${gcc_cv_have_tls+:} false
; then :
38619 $as_echo_n "(cached) " >&6
38622 if test "$cross_compiling" = yes; then :
38623 if test x
$gcc_no_link = xyes
; then
38624 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38627 /* end confdefs.h. */
38628 __thread int a; int b; int main() { return a = b; }
38630 if ac_fn_c_try_link
"$LINENO"; then :
38631 chktls_save_LDFLAGS
="$LDFLAGS"
38633 *-*-linux* |
-*-uclinuxfdpic*)
38634 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
38637 chktls_save_CFLAGS
="$CFLAGS"
38638 CFLAGS
="-fPIC $CFLAGS"
38639 if test x
$gcc_no_link = xyes
; then
38640 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38643 /* end confdefs.h. */
38644 int f() { return 0; }
38646 if ac_fn_c_try_link
"$LINENO"; then :
38647 if test x
$gcc_no_link = xyes
; then
38648 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 __thread int a; int b; int f() { return a = b; }
38654 if ac_fn_c_try_link
"$LINENO"; then :
38655 gcc_cv_have_tls
=yes
38659 rm -f core conftest.err conftest.
$ac_objext \
38660 conftest
$ac_exeext conftest.
$ac_ext
38662 gcc_cv_have_tls
=yes
38664 rm -f core conftest.err conftest.
$ac_objext \
38665 conftest
$ac_exeext conftest.
$ac_ext
38666 CFLAGS
="$chktls_save_CFLAGS"
38667 LDFLAGS
="$chktls_save_LDFLAGS"
38671 rm -f core conftest.err conftest.
$ac_objext \
38672 conftest
$ac_exeext conftest.
$ac_ext
38676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38677 /* end confdefs.h. */
38678 __thread int a; int b; int main() { return a = b; }
38680 if ac_fn_c_try_run
"$LINENO"; then :
38681 chktls_save_LDFLAGS
="$LDFLAGS"
38682 LDFLAGS
="-static $LDFLAGS"
38683 if test x
$gcc_no_link = xyes
; then
38684 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38687 /* end confdefs.h. */
38688 int main() { return 0; }
38690 if ac_fn_c_try_link
"$LINENO"; then :
38691 if test "$cross_compiling" = yes; then :
38692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38694 as_fn_error $?
"cannot run test program while cross compiling
38695 See \`config.log' for more details" "$LINENO" 5; }
38697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38698 /* end confdefs.h. */
38699 __thread int a; int b; int main() { return a = b; }
38701 if ac_fn_c_try_run
"$LINENO"; then :
38702 gcc_cv_have_tls
=yes
38706 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
38707 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
38711 gcc_cv_have_tls
=yes
38713 rm -f core conftest.err conftest.
$ac_objext \
38714 conftest
$ac_exeext conftest.
$ac_ext
38715 LDFLAGS
="$chktls_save_LDFLAGS"
38716 if test $gcc_cv_have_tls = yes; then
38717 chktls_save_CFLAGS
="$CFLAGS"
38718 thread_CFLAGS
=failed
38719 for flag
in '' '-pthread' '-lpthread'; do
38720 CFLAGS
="$flag $chktls_save_CFLAGS"
38721 if test x
$gcc_no_link = xyes
; then
38722 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h. */
38726 #include <pthread.h>
38727 void *g(void *d) { return NULL; }
38731 pthread_t t; pthread_create(&t,NULL,g,NULL);
38736 if ac_fn_c_try_link
"$LINENO"; then :
38737 thread_CFLAGS
="$flag"
38739 rm -f core conftest.err conftest.
$ac_objext \
38740 conftest
$ac_exeext conftest.
$ac_ext
38741 if test "X$thread_CFLAGS" != Xfailed
; then
38745 CFLAGS
="$chktls_save_CFLAGS"
38746 if test "X$thread_CFLAGS" != Xfailed
; then
38747 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
38748 if test "$cross_compiling" = yes; then :
38749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
38750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
38751 as_fn_error $?
"cannot run test program while cross compiling
38752 See \`config.log' for more details" "$LINENO" 5; }
38754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38755 /* end confdefs.h. */
38756 #include <pthread.h>
38758 static int *volatile a_in_other_thread;
38760 thread_func (void *arg)
38762 a_in_other_thread = &a;
38769 void *thread_retval;
38770 int *volatile a_in_main_thread;
38771 a_in_main_thread = &a;
38772 if (pthread_create (&thread, (pthread_attr_t *)0,
38773 thread_func, (void *)0))
38775 if (pthread_join (thread, &thread_retval))
38777 return (a_in_other_thread == a_in_main_thread);
38782 if ac_fn_c_try_run
"$LINENO"; then :
38783 gcc_cv_have_tls
=yes
38787 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
38788 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
38791 CFLAGS
="$chktls_save_CFLAGS"
38797 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
38798 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
38802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
38803 $as_echo "$gcc_cv_have_tls" >&6; }
38804 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
38806 $as_echo "#define HAVE_TLS 1" >>confdefs.h
38810 *-linux* |
*-uclinux* |
*-gnu* |
*-kfreebsd*-gnu |
*-cygwin* |
*-solaris*)
38812 # All these tests are for C++; save the language and the compiler flags.
38813 # The CXXFLAGS thing is suspicious, but based on similar bits previously
38814 # found in GLIBCXX_CONFIGURE.
38817 ac_cpp
='$CXXCPP $CPPFLAGS'
38818 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
38822 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
38823 ac_save_CXXFLAGS
="$CXXFLAGS"
38825 # Check for -ffunction-sections -fdata-sections
38826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
38827 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
38828 CXXFLAGS
='-g -Werror -ffunction-sections -fdata-sections'
38829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38830 /* end confdefs.h. */
38831 int foo; void bar() { };
38840 if ac_fn_cxx_try_compile
"$LINENO"; then :
38845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
38846 if test "$ac_test_CXXFLAGS" = set; then
38847 CXXFLAGS
="$ac_save_CXXFLAGS"
38849 # this is the suspicious part
38852 if test x
"$ac_fdsections" = x
"yes"; then
38853 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
38855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
38856 $as_echo "$ac_fdsections" >&6; }
38859 ac_cpp
='$CPP $CPPFLAGS'
38860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
38867 # If we're not using GNU ld, then there's no point in even trying these
38868 # tests. Check for that first. We should have already tested for gld
38869 # by now (in libtool), but require it now just to be safe...
38870 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
38871 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
38875 # The name set by libtool depends on the version of libtool. Shame on us
38876 # for depending on an impl detail, but c'est la vie. Older versions used
38877 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
38878 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
38879 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
38880 # set (hence we're using an older libtool), then set it.
38881 if test x
${with_gnu_ld+set} != xset
; then
38882 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
38883 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
38886 with_gnu_ld
=$ac_cv_prog_gnu_ld
38890 # Start by getting the version number. I think the libtool test already
38891 # does some of this, but throws away the result.
38892 glibcxx_ld_is_gold
=no
38893 glibcxx_ld_is_mold
=no
38894 if test x
"$with_gnu_ld" = x
"yes"; then
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
38896 $as_echo_n "checking for ld version... " >&6; }
38898 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
38899 glibcxx_ld_is_gold
=yes
38900 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
38901 glibcxx_ld_is_mold
=yes
38903 ldver
=`$LD --version 2>/dev/null |
38904 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
38906 glibcxx_gnu_ld_version
=`echo $ldver | \
38907 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
38908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
38909 $as_echo "$glibcxx_gnu_ld_version" >&6; }
38912 # Set --gc-sections.
38913 glibcxx_have_gc_sections
=no
38914 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
38915 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
38916 glibcxx_have_gc_sections
=yes
38919 glibcxx_gcsections_min_ld
=21602
38920 if test x
"$with_gnu_ld" = x
"yes" &&
38921 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
38922 glibcxx_have_gc_sections
=yes
38925 if test "$glibcxx_have_gc_sections" = "yes"; then
38926 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
38927 # NB: This flag only works reliably after 2.16.1. Configure tests
38928 # for this are difficult, so hard wire a value that should work.
38930 ac_test_CFLAGS
="${CFLAGS+set}"
38931 ac_save_CFLAGS
="$CFLAGS"
38932 CFLAGS
='-Wl,--gc-sections'
38934 # Check for -Wl,--gc-sections
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
38936 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
38937 if test x
$gcc_no_link = xyes
; then
38938 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
38941 /* end confdefs.h. */
38942 int one(void) { return 1; }
38943 int two(void) { return 2; }
38953 if ac_fn_c_try_link
"$LINENO"; then :
38958 rm -f core conftest.err conftest.
$ac_objext \
38959 conftest
$ac_exeext conftest.
$ac_ext
38960 if test "$ac_gcsections" = "yes"; then
38963 if $CC -c conftest.c
; then
38964 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
38965 grep "Warning: gc-sections option ignored" > /dev
/null
; then
38969 rm -f conftest.c conftest.o conftest
38971 if test "$ac_gcsections" = "yes"; then
38972 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
38974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
38975 $as_echo "$ac_gcsections" >&6; }
38977 if test "$ac_test_CFLAGS" = set; then
38978 CFLAGS
="$ac_save_CFLAGS"
38980 # this is the suspicious part
38986 # Note this is only for shared objects.
38988 if test x
"$with_gnu_ld" = x
"yes"; then
38989 # cygwin and mingw uses PE, which has no ELF relro support,
38990 # multi target ld may confuse configure machinery
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
38998 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
38999 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
39000 if test -n "$cxx_z_relo"; then
39001 OPT_LDFLAGS
="-Wl,-z,relro"
39004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
39005 $as_echo "$ac_ld_relro" >&6; }
39009 # Set linker optimization flags.
39010 if test x
"$with_gnu_ld" = x
"yes"; then
39011 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
39018 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
39019 ac_save_CXXFLAGS
="$CXXFLAGS"
39020 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39023 $as_echo_n "checking for sin in -lm... " >&6; }
39024 if ${ac_cv_lib_m_sin+:} false
; then :
39025 $as_echo_n "(cached) " >&6
39027 ac_check_lib_save_LIBS
=$LIBS
39029 if test x
$gcc_no_link = xyes
; then
39030 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39033 /* end confdefs.h. */
39035 /* Override any GCC internal prototype to avoid an error.
39036 Use char because int might match the return type of a GCC
39037 builtin and then its argument prototype would still apply. */
39050 if ac_fn_c_try_link
"$LINENO"; then :
39051 ac_cv_lib_m_sin
=yes
39055 rm -f core conftest.err conftest.
$ac_objext \
39056 conftest
$ac_exeext conftest.
$ac_ext
39057 LIBS
=$ac_check_lib_save_LIBS
39059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39060 $as_echo "$ac_cv_lib_m_sin" >&6; }
39061 if test "x$ac_cv_lib_m_sin" = xyes
; then :
39065 ac_save_LIBS
="$LIBS"
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39071 $as_echo_n "checking for isinf declaration... " >&6; }
39072 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
39073 if ${glibcxx_cv_func_isinf_use+:} false
; then :
39074 $as_echo_n "(cached) " >&6
39079 ac_cpp
='$CXXCPP $CPPFLAGS'
39080 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39081 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39082 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39085 /* end confdefs.h. */
39087 #ifdef HAVE_IEEEFP_H
39088 #include <ieeefp.h>
39099 if ac_fn_cxx_try_compile
"$LINENO"; then :
39100 glibcxx_cv_func_isinf_use
=yes
39102 glibcxx_cv_func_isinf_use
=no
39104 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39106 ac_cpp
='$CPP $CPPFLAGS'
39107 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39108 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39109 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39116 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39118 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
39119 for ac_func
in isinf
39121 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
39122 if test "x$ac_cv_func_isinf" = xyes
; then :
39123 cat >>confdefs.h
<<_ACEOF
39124 #define HAVE_ISINF 1
39134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39135 $as_echo_n "checking for isnan declaration... " >&6; }
39136 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
39137 if ${glibcxx_cv_func_isnan_use+:} false
; then :
39138 $as_echo_n "(cached) " >&6
39143 ac_cpp
='$CXXCPP $CPPFLAGS'
39144 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39149 /* end confdefs.h. */
39151 #ifdef HAVE_IEEEFP_H
39152 #include <ieeefp.h>
39163 if ac_fn_cxx_try_compile
"$LINENO"; then :
39164 glibcxx_cv_func_isnan_use
=yes
39166 glibcxx_cv_func_isnan_use
=no
39168 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39170 ac_cpp
='$CPP $CPPFLAGS'
39171 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39172 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39173 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39180 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39182 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
39183 for ac_func
in isnan
39185 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
39186 if test "x$ac_cv_func_isnan" = xyes
; then :
39187 cat >>confdefs.h
<<_ACEOF
39188 #define HAVE_ISNAN 1
39198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39199 $as_echo_n "checking for finite declaration... " >&6; }
39200 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
39201 if ${glibcxx_cv_func_finite_use+:} false
; then :
39202 $as_echo_n "(cached) " >&6
39207 ac_cpp
='$CXXCPP $CPPFLAGS'
39208 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39209 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39210 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39213 /* end confdefs.h. */
39215 #ifdef HAVE_IEEEFP_H
39216 #include <ieeefp.h>
39227 if ac_fn_cxx_try_compile
"$LINENO"; then :
39228 glibcxx_cv_func_finite_use
=yes
39230 glibcxx_cv_func_finite_use
=no
39232 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39234 ac_cpp
='$CPP $CPPFLAGS'
39235 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39236 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39237 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39244 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39246 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
39247 for ac_func
in finite
39249 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
39250 if test "x$ac_cv_func_finite" = xyes
; then :
39251 cat >>confdefs.h
<<_ACEOF
39252 #define HAVE_FINITE 1
39262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39263 $as_echo_n "checking for sincos declaration... " >&6; }
39264 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
39265 if ${glibcxx_cv_func_sincos_use+:} false
; then :
39266 $as_echo_n "(cached) " >&6
39271 ac_cpp
='$CXXCPP $CPPFLAGS'
39272 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39277 /* end confdefs.h. */
39287 if ac_fn_cxx_try_compile
"$LINENO"; then :
39288 glibcxx_cv_func_sincos_use
=yes
39290 glibcxx_cv_func_sincos_use
=no
39292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39294 ac_cpp
='$CPP $CPPFLAGS'
39295 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39304 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39306 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
39307 for ac_func
in sincos
39309 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
39310 if test "x$ac_cv_func_sincos" = xyes
; then :
39311 cat >>confdefs.h
<<_ACEOF
39312 #define HAVE_SINCOS 1
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39323 $as_echo_n "checking for fpclass declaration... " >&6; }
39324 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
39325 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
39326 $as_echo_n "(cached) " >&6
39331 ac_cpp
='$CXXCPP $CPPFLAGS'
39332 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39337 /* end confdefs.h. */
39339 #ifdef HAVE_IEEEFP_H
39340 #include <ieeefp.h>
39351 if ac_fn_cxx_try_compile
"$LINENO"; then :
39352 glibcxx_cv_func_fpclass_use
=yes
39354 glibcxx_cv_func_fpclass_use
=no
39356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39358 ac_cpp
='$CPP $CPPFLAGS'
39359 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39360 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39361 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39368 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39370 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
39371 for ac_func
in fpclass
39373 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
39374 if test "x$ac_cv_func_fpclass" = xyes
; then :
39375 cat >>confdefs.h
<<_ACEOF
39376 #define HAVE_FPCLASS 1
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39387 $as_echo_n "checking for qfpclass declaration... " >&6; }
39388 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
39389 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
39390 $as_echo_n "(cached) " >&6
39395 ac_cpp
='$CXXCPP $CPPFLAGS'
39396 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39401 /* end confdefs.h. */
39403 #ifdef HAVE_IEEEFP_H
39404 #include <ieeefp.h>
39415 if ac_fn_cxx_try_compile
"$LINENO"; then :
39416 glibcxx_cv_func_qfpclass_use
=yes
39418 glibcxx_cv_func_qfpclass_use
=no
39420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39422 ac_cpp
='$CPP $CPPFLAGS'
39423 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39424 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39425 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39432 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39434 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
39435 for ac_func
in qfpclass
39437 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39438 if test "x$ac_cv_func_qfpclass" = xyes
; then :
39439 cat >>confdefs.h
<<_ACEOF
39440 #define HAVE_QFPCLASS 1
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39451 $as_echo_n "checking for hypot declaration... " >&6; }
39452 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
39453 if ${glibcxx_cv_func_hypot_use+:} false
; then :
39454 $as_echo_n "(cached) " >&6
39459 ac_cpp
='$CXXCPP $CPPFLAGS'
39460 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39465 /* end confdefs.h. */
39475 if ac_fn_cxx_try_compile
"$LINENO"; then :
39476 glibcxx_cv_func_hypot_use
=yes
39478 glibcxx_cv_func_hypot_use
=no
39480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39482 ac_cpp
='$CPP $CPPFLAGS'
39483 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39492 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39494 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
39495 for ac_func
in hypot
39497 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
39498 if test "x$ac_cv_func_hypot" = xyes
; then :
39499 cat >>confdefs.h
<<_ACEOF
39500 #define HAVE_HYPOT 1
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39511 $as_echo_n "checking for float trig functions... " >&6; }
39512 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
39513 $as_echo_n "(cached) " >&6
39518 ac_cpp
='$CXXCPP $CPPFLAGS'
39519 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39520 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39521 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39524 /* end confdefs.h. */
39529 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39534 if ac_fn_cxx_try_compile
"$LINENO"; then :
39535 glibcxx_cv_func_float_trig_use
=yes
39537 glibcxx_cv_func_float_trig_use
=no
39539 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39541 ac_cpp
='$CPP $CPPFLAGS'
39542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39549 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39550 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
39551 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39553 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39554 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
39555 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
39556 cat >>confdefs.h
<<_ACEOF
39557 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39568 $as_echo_n "checking for float round functions... " >&6; }
39569 if ${glibcxx_cv_func_float_round_use+:} false
; then :
39570 $as_echo_n "(cached) " >&6
39575 ac_cpp
='$CXXCPP $CPPFLAGS'
39576 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39577 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39578 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39581 /* end confdefs.h. */
39586 ceilf (0); floorf (0);
39591 if ac_fn_cxx_try_compile
"$LINENO"; then :
39592 glibcxx_cv_func_float_round_use
=yes
39594 glibcxx_cv_func_float_round_use
=no
39596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39598 ac_cpp
='$CPP $CPPFLAGS'
39599 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39600 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39601 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39606 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39607 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
39608 for ac_func
in ceilf floorf
39610 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39611 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
39612 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
39613 cat >>confdefs.h
<<_ACEOF
39614 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39626 $as_echo_n "checking for expf declaration... " >&6; }
39627 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
39628 if ${glibcxx_cv_func_expf_use+:} false
; then :
39629 $as_echo_n "(cached) " >&6
39634 ac_cpp
='$CXXCPP $CPPFLAGS'
39635 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39640 /* end confdefs.h. */
39642 #ifdef HAVE_IEEEFP_H
39643 #include <ieeefp.h>
39654 if ac_fn_cxx_try_compile
"$LINENO"; then :
39655 glibcxx_cv_func_expf_use
=yes
39657 glibcxx_cv_func_expf_use
=no
39659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39661 ac_cpp
='$CPP $CPPFLAGS'
39662 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39663 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39664 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39671 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39673 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
39674 for ac_func
in expf
39676 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
39677 if test "x$ac_cv_func_expf" = xyes
; then :
39678 cat >>confdefs.h
<<_ACEOF
39679 #define HAVE_EXPF 1
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39690 $as_echo_n "checking for isnanf declaration... " >&6; }
39691 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
39692 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
39693 $as_echo_n "(cached) " >&6
39698 ac_cpp
='$CXXCPP $CPPFLAGS'
39699 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39706 #ifdef HAVE_IEEEFP_H
39707 #include <ieeefp.h>
39718 if ac_fn_cxx_try_compile
"$LINENO"; then :
39719 glibcxx_cv_func_isnanf_use
=yes
39721 glibcxx_cv_func_isnanf_use
=no
39723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39725 ac_cpp
='$CPP $CPPFLAGS'
39726 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39735 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39737 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
39738 for ac_func
in isnanf
39740 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
39741 if test "x$ac_cv_func_isnanf" = xyes
; then :
39742 cat >>confdefs.h
<<_ACEOF
39743 #define HAVE_ISNANF 1
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39754 $as_echo_n "checking for isinff declaration... " >&6; }
39755 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
39756 if ${glibcxx_cv_func_isinff_use+:} false
; then :
39757 $as_echo_n "(cached) " >&6
39762 ac_cpp
='$CXXCPP $CPPFLAGS'
39763 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39770 #ifdef HAVE_IEEEFP_H
39771 #include <ieeefp.h>
39782 if ac_fn_cxx_try_compile
"$LINENO"; then :
39783 glibcxx_cv_func_isinff_use
=yes
39785 glibcxx_cv_func_isinff_use
=no
39787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39789 ac_cpp
='$CPP $CPPFLAGS'
39790 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39799 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39801 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
39802 for ac_func
in isinff
39804 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
39805 if test "x$ac_cv_func_isinff" = xyes
; then :
39806 cat >>confdefs.h
<<_ACEOF
39807 #define HAVE_ISINFF 1
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39818 $as_echo_n "checking for atan2f declaration... " >&6; }
39819 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
39820 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
39821 $as_echo_n "(cached) " >&6
39826 ac_cpp
='$CXXCPP $CPPFLAGS'
39827 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39828 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39829 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39832 /* end confdefs.h. */
39842 if ac_fn_cxx_try_compile
"$LINENO"; then :
39843 glibcxx_cv_func_atan2f_use
=yes
39845 glibcxx_cv_func_atan2f_use
=no
39847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39849 ac_cpp
='$CPP $CPPFLAGS'
39850 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39851 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39852 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39859 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39861 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
39862 for ac_func
in atan2f
39864 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
39865 if test "x$ac_cv_func_atan2f" = xyes
; then :
39866 cat >>confdefs.h
<<_ACEOF
39867 #define HAVE_ATAN2F 1
39877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39878 $as_echo_n "checking for fabsf declaration... " >&6; }
39879 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
39880 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
39881 $as_echo_n "(cached) " >&6
39886 ac_cpp
='$CXXCPP $CPPFLAGS'
39887 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39892 /* end confdefs.h. */
39894 #ifdef HAVE_IEEEFP_H
39895 #include <ieeefp.h>
39906 if ac_fn_cxx_try_compile
"$LINENO"; then :
39907 glibcxx_cv_func_fabsf_use
=yes
39909 glibcxx_cv_func_fabsf_use
=no
39911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39913 ac_cpp
='$CPP $CPPFLAGS'
39914 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39923 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39925 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
39926 for ac_func
in fabsf
39928 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
39929 if test "x$ac_cv_func_fabsf" = xyes
; then :
39930 cat >>confdefs.h
<<_ACEOF
39931 #define HAVE_FABSF 1
39941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39942 $as_echo_n "checking for fmodf declaration... " >&6; }
39943 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
39944 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
39945 $as_echo_n "(cached) " >&6
39950 ac_cpp
='$CXXCPP $CPPFLAGS'
39951 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39952 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39953 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
39955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
39956 /* end confdefs.h. */
39966 if ac_fn_cxx_try_compile
"$LINENO"; then :
39967 glibcxx_cv_func_fmodf_use
=yes
39969 glibcxx_cv_func_fmodf_use
=no
39971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
39973 ac_cpp
='$CPP $CPPFLAGS'
39974 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39975 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39976 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
39982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39983 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39985 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
39986 for ac_func
in fmodf
39988 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
39989 if test "x$ac_cv_func_fmodf" = xyes
; then :
39990 cat >>confdefs.h
<<_ACEOF
39991 #define HAVE_FMODF 1
40001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40002 $as_echo_n "checking for frexpf declaration... " >&6; }
40003 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
40004 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
40005 $as_echo_n "(cached) " >&6
40010 ac_cpp
='$CXXCPP $CPPFLAGS'
40011 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40016 /* end confdefs.h. */
40026 if ac_fn_cxx_try_compile
"$LINENO"; then :
40027 glibcxx_cv_func_frexpf_use
=yes
40029 glibcxx_cv_func_frexpf_use
=no
40031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40033 ac_cpp
='$CPP $CPPFLAGS'
40034 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40043 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40045 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
40046 for ac_func
in frexpf
40048 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
40049 if test "x$ac_cv_func_frexpf" = xyes
; then :
40050 cat >>confdefs.h
<<_ACEOF
40051 #define HAVE_FREXPF 1
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40062 $as_echo_n "checking for hypotf declaration... " >&6; }
40063 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
40064 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
40065 $as_echo_n "(cached) " >&6
40070 ac_cpp
='$CXXCPP $CPPFLAGS'
40071 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40076 /* end confdefs.h. */
40086 if ac_fn_cxx_try_compile
"$LINENO"; then :
40087 glibcxx_cv_func_hypotf_use
=yes
40089 glibcxx_cv_func_hypotf_use
=no
40091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40093 ac_cpp
='$CPP $CPPFLAGS'
40094 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40095 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40096 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40103 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40105 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
40106 for ac_func
in hypotf
40108 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
40109 if test "x$ac_cv_func_hypotf" = xyes
; then :
40110 cat >>confdefs.h
<<_ACEOF
40111 #define HAVE_HYPOTF 1
40121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40122 $as_echo_n "checking for ldexpf declaration... " >&6; }
40123 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
40124 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
40125 $as_echo_n "(cached) " >&6
40130 ac_cpp
='$CXXCPP $CPPFLAGS'
40131 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40132 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40133 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40136 /* end confdefs.h. */
40146 if ac_fn_cxx_try_compile
"$LINENO"; then :
40147 glibcxx_cv_func_ldexpf_use
=yes
40149 glibcxx_cv_func_ldexpf_use
=no
40151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40153 ac_cpp
='$CPP $CPPFLAGS'
40154 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40155 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40156 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40163 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40165 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
40166 for ac_func
in ldexpf
40168 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40169 if test "x$ac_cv_func_ldexpf" = xyes
; then :
40170 cat >>confdefs.h
<<_ACEOF
40171 #define HAVE_LDEXPF 1
40181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40182 $as_echo_n "checking for logf declaration... " >&6; }
40183 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
40184 if ${glibcxx_cv_func_logf_use+:} false
; then :
40185 $as_echo_n "(cached) " >&6
40190 ac_cpp
='$CXXCPP $CPPFLAGS'
40191 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40192 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40193 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40196 /* end confdefs.h. */
40198 #ifdef HAVE_IEEEFP_H
40199 #include <ieeefp.h>
40210 if ac_fn_cxx_try_compile
"$LINENO"; then :
40211 glibcxx_cv_func_logf_use
=yes
40213 glibcxx_cv_func_logf_use
=no
40215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40217 ac_cpp
='$CPP $CPPFLAGS'
40218 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40219 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40220 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40227 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40229 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
40230 for ac_func
in logf
40232 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
40233 if test "x$ac_cv_func_logf" = xyes
; then :
40234 cat >>confdefs.h
<<_ACEOF
40235 #define HAVE_LOGF 1
40245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40246 $as_echo_n "checking for log10f declaration... " >&6; }
40247 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
40248 if ${glibcxx_cv_func_log10f_use+:} false
; then :
40249 $as_echo_n "(cached) " >&6
40254 ac_cpp
='$CXXCPP $CPPFLAGS'
40255 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40256 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40257 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40260 /* end confdefs.h. */
40262 #ifdef HAVE_IEEEFP_H
40263 #include <ieeefp.h>
40274 if ac_fn_cxx_try_compile
"$LINENO"; then :
40275 glibcxx_cv_func_log10f_use
=yes
40277 glibcxx_cv_func_log10f_use
=no
40279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40281 ac_cpp
='$CPP $CPPFLAGS'
40282 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40291 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40293 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
40294 for ac_func
in log10f
40296 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
40297 if test "x$ac_cv_func_log10f" = xyes
; then :
40298 cat >>confdefs.h
<<_ACEOF
40299 #define HAVE_LOG10F 1
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40310 $as_echo_n "checking for modff declaration... " >&6; }
40311 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
40312 if ${glibcxx_cv_func_modff_use+:} false
; then :
40313 $as_echo_n "(cached) " >&6
40318 ac_cpp
='$CXXCPP $CPPFLAGS'
40319 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40334 if ac_fn_cxx_try_compile
"$LINENO"; then :
40335 glibcxx_cv_func_modff_use
=yes
40337 glibcxx_cv_func_modff_use
=no
40339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40341 ac_cpp
='$CPP $CPPFLAGS'
40342 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40343 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40344 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40351 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40353 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
40354 for ac_func
in modff
40356 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
40357 if test "x$ac_cv_func_modff" = xyes
; then :
40358 cat >>confdefs.h
<<_ACEOF
40359 #define HAVE_MODFF 1
40369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40370 $as_echo_n "checking for modf declaration... " >&6; }
40371 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
40372 if ${glibcxx_cv_func_modf_use+:} false
; then :
40373 $as_echo_n "(cached) " >&6
40378 ac_cpp
='$CXXCPP $CPPFLAGS'
40379 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40380 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40381 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40384 /* end confdefs.h. */
40394 if ac_fn_cxx_try_compile
"$LINENO"; then :
40395 glibcxx_cv_func_modf_use
=yes
40397 glibcxx_cv_func_modf_use
=no
40399 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40401 ac_cpp
='$CPP $CPPFLAGS'
40402 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40403 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40404 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40411 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40413 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
40414 for ac_func
in modf
40416 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
40417 if test "x$ac_cv_func_modf" = xyes
; then :
40418 cat >>confdefs.h
<<_ACEOF
40419 #define HAVE_MODF 1
40429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40430 $as_echo_n "checking for powf declaration... " >&6; }
40431 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
40432 if ${glibcxx_cv_func_powf_use+:} false
; then :
40433 $as_echo_n "(cached) " >&6
40438 ac_cpp
='$CXXCPP $CPPFLAGS'
40439 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40440 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40441 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40444 /* end confdefs.h. */
40454 if ac_fn_cxx_try_compile
"$LINENO"; then :
40455 glibcxx_cv_func_powf_use
=yes
40457 glibcxx_cv_func_powf_use
=no
40459 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40461 ac_cpp
='$CPP $CPPFLAGS'
40462 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40471 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40473 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
40474 for ac_func
in powf
40476 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
40477 if test "x$ac_cv_func_powf" = xyes
; then :
40478 cat >>confdefs.h
<<_ACEOF
40479 #define HAVE_POWF 1
40489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40490 $as_echo_n "checking for sqrtf declaration... " >&6; }
40491 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
40492 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
40493 $as_echo_n "(cached) " >&6
40498 ac_cpp
='$CXXCPP $CPPFLAGS'
40499 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40500 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40501 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40504 /* end confdefs.h. */
40506 #ifdef HAVE_IEEEFP_H
40507 #include <ieeefp.h>
40518 if ac_fn_cxx_try_compile
"$LINENO"; then :
40519 glibcxx_cv_func_sqrtf_use
=yes
40521 glibcxx_cv_func_sqrtf_use
=no
40523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40525 ac_cpp
='$CPP $CPPFLAGS'
40526 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40527 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40528 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
40535 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
40537 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
40538 for ac_func
in sqrtf
40540 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
40541 if test "x$ac_cv_func_sqrtf" = xyes
; then :
40542 cat >>confdefs.h
<<_ACEOF
40543 #define HAVE_SQRTF 1
40553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
40554 $as_echo_n "checking for sincosf declaration... " >&6; }
40555 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
40556 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
40557 $as_echo_n "(cached) " >&6
40562 ac_cpp
='$CXXCPP $CPPFLAGS'
40563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40568 /* end confdefs.h. */
40578 if ac_fn_cxx_try_compile
"$LINENO"; then :
40579 glibcxx_cv_func_sincosf_use
=yes
40581 glibcxx_cv_func_sincosf_use
=no
40583 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40585 ac_cpp
='$CPP $CPPFLAGS'
40586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
40595 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
40597 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
40598 for ac_func
in sincosf
40600 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
40601 if test "x$ac_cv_func_sincosf" = xyes
; then :
40602 cat >>confdefs.h
<<_ACEOF
40603 #define HAVE_SINCOSF 1
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
40614 $as_echo_n "checking for finitef declaration... " >&6; }
40615 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
40616 if ${glibcxx_cv_func_finitef_use+:} false
; then :
40617 $as_echo_n "(cached) " >&6
40622 ac_cpp
='$CXXCPP $CPPFLAGS'
40623 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40624 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40625 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40628 /* end confdefs.h. */
40630 #ifdef HAVE_IEEEFP_H
40631 #include <ieeefp.h>
40642 if ac_fn_cxx_try_compile
"$LINENO"; then :
40643 glibcxx_cv_func_finitef_use
=yes
40645 glibcxx_cv_func_finitef_use
=no
40647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40649 ac_cpp
='$CPP $CPPFLAGS'
40650 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40651 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40652 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
40659 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
40661 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
40662 for ac_func
in finitef
40664 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
40665 if test "x$ac_cv_func_finitef" = xyes
; then :
40666 cat >>confdefs.h
<<_ACEOF
40667 #define HAVE_FINITEF 1
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
40678 $as_echo_n "checking for long double trig functions... " >&6; }
40679 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
40680 $as_echo_n "(cached) " >&6
40685 ac_cpp
='$CXXCPP $CPPFLAGS'
40686 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40691 /* end confdefs.h. */
40696 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
40701 if ac_fn_cxx_try_compile
"$LINENO"; then :
40702 glibcxx_cv_func_long_double_trig_use
=yes
40704 glibcxx_cv_func_long_double_trig_use
=no
40706 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40708 ac_cpp
='$CPP $CPPFLAGS'
40709 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
40716 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
40717 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
40718 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
40720 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40721 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
40722 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
40723 cat >>confdefs.h
<<_ACEOF
40724 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
40735 $as_echo_n "checking for long double round functions... " >&6; }
40736 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
40737 $as_echo_n "(cached) " >&6
40742 ac_cpp
='$CXXCPP $CPPFLAGS'
40743 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40744 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40745 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40748 /* end confdefs.h. */
40753 ceill (0); floorl (0);
40758 if ac_fn_cxx_try_compile
"$LINENO"; then :
40759 glibcxx_cv_func_long_double_round_use
=yes
40761 glibcxx_cv_func_long_double_round_use
=no
40763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40765 ac_cpp
='$CPP $CPPFLAGS'
40766 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40767 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40768 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
40773 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
40774 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
40775 for ac_func
in ceill floorl
40777 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40778 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
40779 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
40780 cat >>confdefs.h
<<_ACEOF
40781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
40793 $as_echo_n "checking for isnanl declaration... " >&6; }
40794 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
40795 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
40796 $as_echo_n "(cached) " >&6
40801 ac_cpp
='$CXXCPP $CPPFLAGS'
40802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40807 /* end confdefs.h. */
40809 #ifdef HAVE_IEEEFP_H
40810 #include <ieeefp.h>
40821 if ac_fn_cxx_try_compile
"$LINENO"; then :
40822 glibcxx_cv_func_isnanl_use
=yes
40824 glibcxx_cv_func_isnanl_use
=no
40826 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40828 ac_cpp
='$CPP $CPPFLAGS'
40829 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
40838 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
40840 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
40841 for ac_func
in isnanl
40843 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
40844 if test "x$ac_cv_func_isnanl" = xyes
; then :
40845 cat >>confdefs.h
<<_ACEOF
40846 #define HAVE_ISNANL 1
40856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
40857 $as_echo_n "checking for isinfl declaration... " >&6; }
40858 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
40859 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
40860 $as_echo_n "(cached) " >&6
40865 ac_cpp
='$CXXCPP $CPPFLAGS'
40866 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40867 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40868 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40871 /* end confdefs.h. */
40873 #ifdef HAVE_IEEEFP_H
40874 #include <ieeefp.h>
40885 if ac_fn_cxx_try_compile
"$LINENO"; then :
40886 glibcxx_cv_func_isinfl_use
=yes
40888 glibcxx_cv_func_isinfl_use
=no
40890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40892 ac_cpp
='$CPP $CPPFLAGS'
40893 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
40902 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
40904 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
40905 for ac_func
in isinfl
40907 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
40908 if test "x$ac_cv_func_isinfl" = xyes
; then :
40909 cat >>confdefs.h
<<_ACEOF
40910 #define HAVE_ISINFL 1
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
40921 $as_echo_n "checking for atan2l declaration... " >&6; }
40922 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
40923 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
40924 $as_echo_n "(cached) " >&6
40929 ac_cpp
='$CXXCPP $CPPFLAGS'
40930 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40935 /* end confdefs.h. */
40945 if ac_fn_cxx_try_compile
"$LINENO"; then :
40946 glibcxx_cv_func_atan2l_use
=yes
40948 glibcxx_cv_func_atan2l_use
=no
40950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
40952 ac_cpp
='$CPP $CPPFLAGS'
40953 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40954 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40955 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
40961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
40962 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
40964 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
40965 for ac_func
in atan2l
40967 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
40968 if test "x$ac_cv_func_atan2l" = xyes
; then :
40969 cat >>confdefs.h
<<_ACEOF
40970 #define HAVE_ATAN2L 1
40980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
40981 $as_echo_n "checking for expl declaration... " >&6; }
40982 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
40983 if ${glibcxx_cv_func_expl_use+:} false
; then :
40984 $as_echo_n "(cached) " >&6
40989 ac_cpp
='$CXXCPP $CPPFLAGS'
40990 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40991 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40992 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
40994 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
40995 /* end confdefs.h. */
40997 #ifdef HAVE_IEEEFP_H
40998 #include <ieeefp.h>
41009 if ac_fn_cxx_try_compile
"$LINENO"; then :
41010 glibcxx_cv_func_expl_use
=yes
41012 glibcxx_cv_func_expl_use
=no
41014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41016 ac_cpp
='$CPP $CPPFLAGS'
41017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
41026 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
41028 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
41029 for ac_func
in expl
41031 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
41032 if test "x$ac_cv_func_expl" = xyes
; then :
41033 cat >>confdefs.h
<<_ACEOF
41034 #define HAVE_EXPL 1
41044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
41045 $as_echo_n "checking for fabsl declaration... " >&6; }
41046 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
41047 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
41048 $as_echo_n "(cached) " >&6
41053 ac_cpp
='$CXXCPP $CPPFLAGS'
41054 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41055 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41056 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41059 /* end confdefs.h. */
41061 #ifdef HAVE_IEEEFP_H
41062 #include <ieeefp.h>
41073 if ac_fn_cxx_try_compile
"$LINENO"; then :
41074 glibcxx_cv_func_fabsl_use
=yes
41076 glibcxx_cv_func_fabsl_use
=no
41078 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41080 ac_cpp
='$CPP $CPPFLAGS'
41081 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
41090 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
41092 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
41093 for ac_func
in fabsl
41095 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
41096 if test "x$ac_cv_func_fabsl" = xyes
; then :
41097 cat >>confdefs.h
<<_ACEOF
41098 #define HAVE_FABSL 1
41108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
41109 $as_echo_n "checking for fmodl declaration... " >&6; }
41110 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
41111 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
41112 $as_echo_n "(cached) " >&6
41117 ac_cpp
='$CXXCPP $CPPFLAGS'
41118 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41119 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41120 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41123 /* end confdefs.h. */
41133 if ac_fn_cxx_try_compile
"$LINENO"; then :
41134 glibcxx_cv_func_fmodl_use
=yes
41136 glibcxx_cv_func_fmodl_use
=no
41138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41140 ac_cpp
='$CPP $CPPFLAGS'
41141 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
41150 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
41152 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
41153 for ac_func
in fmodl
41155 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
41156 if test "x$ac_cv_func_fmodl" = xyes
; then :
41157 cat >>confdefs.h
<<_ACEOF
41158 #define HAVE_FMODL 1
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
41169 $as_echo_n "checking for frexpl declaration... " >&6; }
41170 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
41171 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
41172 $as_echo_n "(cached) " >&6
41177 ac_cpp
='$CXXCPP $CPPFLAGS'
41178 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41183 /* end confdefs.h. */
41193 if ac_fn_cxx_try_compile
"$LINENO"; then :
41194 glibcxx_cv_func_frexpl_use
=yes
41196 glibcxx_cv_func_frexpl_use
=no
41198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41200 ac_cpp
='$CPP $CPPFLAGS'
41201 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
41210 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
41212 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
41213 for ac_func
in frexpl
41215 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
41216 if test "x$ac_cv_func_frexpl" = xyes
; then :
41217 cat >>confdefs.h
<<_ACEOF
41218 #define HAVE_FREXPL 1
41228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
41229 $as_echo_n "checking for hypotl declaration... " >&6; }
41230 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
41231 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
41232 $as_echo_n "(cached) " >&6
41237 ac_cpp
='$CXXCPP $CPPFLAGS'
41238 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41243 /* end confdefs.h. */
41253 if ac_fn_cxx_try_compile
"$LINENO"; then :
41254 glibcxx_cv_func_hypotl_use
=yes
41256 glibcxx_cv_func_hypotl_use
=no
41258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41260 ac_cpp
='$CPP $CPPFLAGS'
41261 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
41270 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
41272 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
41273 for ac_func
in hypotl
41275 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
41276 if test "x$ac_cv_func_hypotl" = xyes
; then :
41277 cat >>confdefs.h
<<_ACEOF
41278 #define HAVE_HYPOTL 1
41288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
41289 $as_echo_n "checking for ldexpl declaration... " >&6; }
41290 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
41291 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
41292 $as_echo_n "(cached) " >&6
41297 ac_cpp
='$CXXCPP $CPPFLAGS'
41298 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41299 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41300 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41303 /* end confdefs.h. */
41313 if ac_fn_cxx_try_compile
"$LINENO"; then :
41314 glibcxx_cv_func_ldexpl_use
=yes
41316 glibcxx_cv_func_ldexpl_use
=no
41318 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41320 ac_cpp
='$CPP $CPPFLAGS'
41321 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
41330 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
41332 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
41333 for ac_func
in ldexpl
41335 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
41336 if test "x$ac_cv_func_ldexpl" = xyes
; then :
41337 cat >>confdefs.h
<<_ACEOF
41338 #define HAVE_LDEXPL 1
41348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
41349 $as_echo_n "checking for logl declaration... " >&6; }
41350 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
41351 if ${glibcxx_cv_func_logl_use+:} false
; then :
41352 $as_echo_n "(cached) " >&6
41357 ac_cpp
='$CXXCPP $CPPFLAGS'
41358 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41359 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41360 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41363 /* end confdefs.h. */
41365 #ifdef HAVE_IEEEFP_H
41366 #include <ieeefp.h>
41377 if ac_fn_cxx_try_compile
"$LINENO"; then :
41378 glibcxx_cv_func_logl_use
=yes
41380 glibcxx_cv_func_logl_use
=no
41382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41384 ac_cpp
='$CPP $CPPFLAGS'
41385 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
41394 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
41396 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
41397 for ac_func
in logl
41399 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
41400 if test "x$ac_cv_func_logl" = xyes
; then :
41401 cat >>confdefs.h
<<_ACEOF
41402 #define HAVE_LOGL 1
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
41413 $as_echo_n "checking for log10l declaration... " >&6; }
41414 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
41415 if ${glibcxx_cv_func_log10l_use+:} false
; then :
41416 $as_echo_n "(cached) " >&6
41421 ac_cpp
='$CXXCPP $CPPFLAGS'
41422 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41423 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41424 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41427 /* end confdefs.h. */
41429 #ifdef HAVE_IEEEFP_H
41430 #include <ieeefp.h>
41441 if ac_fn_cxx_try_compile
"$LINENO"; then :
41442 glibcxx_cv_func_log10l_use
=yes
41444 glibcxx_cv_func_log10l_use
=no
41446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41448 ac_cpp
='$CPP $CPPFLAGS'
41449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
41458 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
41460 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
41461 for ac_func
in log10l
41463 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
41464 if test "x$ac_cv_func_log10l" = xyes
; then :
41465 cat >>confdefs.h
<<_ACEOF
41466 #define HAVE_LOG10L 1
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
41477 $as_echo_n "checking for modfl declaration... " >&6; }
41478 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
41479 if ${glibcxx_cv_func_modfl_use+:} false
; then :
41480 $as_echo_n "(cached) " >&6
41485 ac_cpp
='$CXXCPP $CPPFLAGS'
41486 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41491 /* end confdefs.h. */
41501 if ac_fn_cxx_try_compile
"$LINENO"; then :
41502 glibcxx_cv_func_modfl_use
=yes
41504 glibcxx_cv_func_modfl_use
=no
41506 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41508 ac_cpp
='$CPP $CPPFLAGS'
41509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
41518 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
41520 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
41521 for ac_func
in modfl
41523 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
41524 if test "x$ac_cv_func_modfl" = xyes
; then :
41525 cat >>confdefs.h
<<_ACEOF
41526 #define HAVE_MODFL 1
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41537 $as_echo_n "checking for powl declaration... " >&6; }
41538 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
41539 if ${glibcxx_cv_func_powl_use+:} false
; then :
41540 $as_echo_n "(cached) " >&6
41545 ac_cpp
='$CXXCPP $CPPFLAGS'
41546 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41561 if ac_fn_cxx_try_compile
"$LINENO"; then :
41562 glibcxx_cv_func_powl_use
=yes
41564 glibcxx_cv_func_powl_use
=no
41566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41568 ac_cpp
='$CPP $CPPFLAGS'
41569 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41570 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41571 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41578 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41580 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
41581 for ac_func
in powl
41583 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
41584 if test "x$ac_cv_func_powl" = xyes
; then :
41585 cat >>confdefs.h
<<_ACEOF
41586 #define HAVE_POWL 1
41596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41597 $as_echo_n "checking for sqrtl declaration... " >&6; }
41598 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
41599 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
41600 $as_echo_n "(cached) " >&6
41605 ac_cpp
='$CXXCPP $CPPFLAGS'
41606 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41607 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41608 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41611 /* end confdefs.h. */
41613 #ifdef HAVE_IEEEFP_H
41614 #include <ieeefp.h>
41625 if ac_fn_cxx_try_compile
"$LINENO"; then :
41626 glibcxx_cv_func_sqrtl_use
=yes
41628 glibcxx_cv_func_sqrtl_use
=no
41630 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41632 ac_cpp
='$CPP $CPPFLAGS'
41633 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41634 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41635 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41642 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41644 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
41645 for ac_func
in sqrtl
41647 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41648 if test "x$ac_cv_func_sqrtl" = xyes
; then :
41649 cat >>confdefs.h
<<_ACEOF
41650 #define HAVE_SQRTL 1
41660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41661 $as_echo_n "checking for sincosl declaration... " >&6; }
41662 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
41663 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
41664 $as_echo_n "(cached) " >&6
41669 ac_cpp
='$CXXCPP $CPPFLAGS'
41670 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41675 /* end confdefs.h. */
41685 if ac_fn_cxx_try_compile
"$LINENO"; then :
41686 glibcxx_cv_func_sincosl_use
=yes
41688 glibcxx_cv_func_sincosl_use
=no
41690 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41692 ac_cpp
='$CPP $CPPFLAGS'
41693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41702 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41704 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
41705 for ac_func
in sincosl
41707 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
41708 if test "x$ac_cv_func_sincosl" = xyes
; then :
41709 cat >>confdefs.h
<<_ACEOF
41710 #define HAVE_SINCOSL 1
41720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41721 $as_echo_n "checking for finitel declaration... " >&6; }
41722 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
41723 if ${glibcxx_cv_func_finitel_use+:} false
; then :
41724 $as_echo_n "(cached) " >&6
41729 ac_cpp
='$CXXCPP $CPPFLAGS'
41730 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41731 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41732 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41735 /* end confdefs.h. */
41737 #ifdef HAVE_IEEEFP_H
41738 #include <ieeefp.h>
41749 if ac_fn_cxx_try_compile
"$LINENO"; then :
41750 glibcxx_cv_func_finitel_use
=yes
41752 glibcxx_cv_func_finitel_use
=no
41754 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41756 ac_cpp
='$CPP $CPPFLAGS'
41757 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41766 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41768 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
41769 for ac_func
in finitel
41771 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
41772 if test "x$ac_cv_func_finitel" = xyes
; then :
41773 cat >>confdefs.h
<<_ACEOF
41774 #define HAVE_FINITEL 1
41783 LIBS
="$ac_save_LIBS"
41784 CXXFLAGS
="$ac_save_CXXFLAGS"
41787 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
41788 ac_save_CXXFLAGS
="$CXXFLAGS"
41789 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
41792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41793 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41794 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
41795 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
41796 $as_echo_n "(cached) " >&6
41801 ac_cpp
='$CXXCPP $CPPFLAGS'
41802 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41803 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41804 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41807 /* end confdefs.h. */
41808 #include <stdlib.h>
41817 if ac_fn_cxx_try_compile
"$LINENO"; then :
41818 glibcxx_cv_func_at_quick_exit_use
=yes
41820 glibcxx_cv_func_at_quick_exit_use
=no
41822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41824 ac_cpp
='$CPP $CPPFLAGS'
41825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41834 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41835 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
41836 for ac_func
in at_quick_exit
41838 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41839 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
41840 cat >>confdefs.h
<<_ACEOF
41841 #define HAVE_AT_QUICK_EXIT 1
41850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41851 $as_echo_n "checking for quick_exit declaration... " >&6; }
41852 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
41853 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
41854 $as_echo_n "(cached) " >&6
41859 ac_cpp
='$CXXCPP $CPPFLAGS'
41860 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41861 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41862 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41865 /* end confdefs.h. */
41866 #include <stdlib.h>
41875 if ac_fn_cxx_try_compile
"$LINENO"; then :
41876 glibcxx_cv_func_quick_exit_use
=yes
41878 glibcxx_cv_func_quick_exit_use
=no
41880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41882 ac_cpp
='$CPP $CPPFLAGS'
41883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41892 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41893 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
41894 for ac_func
in quick_exit
41896 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41897 if test "x$ac_cv_func_quick_exit" = xyes
; then :
41898 cat >>confdefs.h
<<_ACEOF
41899 #define HAVE_QUICK_EXIT 1
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41909 $as_echo_n "checking for strtold declaration... " >&6; }
41910 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
41911 if ${glibcxx_cv_func_strtold_use+:} false
; then :
41912 $as_echo_n "(cached) " >&6
41917 ac_cpp
='$CXXCPP $CPPFLAGS'
41918 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41919 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41920 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41923 /* end confdefs.h. */
41924 #include <stdlib.h>
41933 if ac_fn_cxx_try_compile
"$LINENO"; then :
41934 glibcxx_cv_func_strtold_use
=yes
41936 glibcxx_cv_func_strtold_use
=no
41938 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41940 ac_cpp
='$CPP $CPPFLAGS'
41941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
41949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41950 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41951 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
41952 for ac_func
in strtold
41954 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
41955 if test "x$ac_cv_func_strtold" = xyes
; then :
41956 cat >>confdefs.h
<<_ACEOF
41957 #define HAVE_STRTOLD 1
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41967 $as_echo_n "checking for strtof declaration... " >&6; }
41968 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
41969 if ${glibcxx_cv_func_strtof_use+:} false
; then :
41970 $as_echo_n "(cached) " >&6
41975 ac_cpp
='$CXXCPP $CPPFLAGS'
41976 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41977 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41978 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
41980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
41981 /* end confdefs.h. */
41982 #include <stdlib.h>
41991 if ac_fn_cxx_try_compile
"$LINENO"; then :
41992 glibcxx_cv_func_strtof_use
=yes
41994 glibcxx_cv_func_strtof_use
=no
41996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
41998 ac_cpp
='$CPP $CPPFLAGS'
41999 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42000 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42001 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
42008 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
42009 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
42010 for ac_func
in strtof
42012 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
42013 if test "x$ac_cv_func_strtof" = xyes
; then :
42014 cat >>confdefs.h
<<_ACEOF
42015 #define HAVE_STRTOF 1
42024 CXXFLAGS
="$ac_save_CXXFLAGS"
42026 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
42028 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
42032 # Check whether --enable-tls was given.
42033 if test "${enable_tls+set}" = set; then :
42034 enableval
=$enable_tls;
42035 case "$enableval" in
42037 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
42045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
42046 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
42047 if ${gcc_cv_have_tls+:} false
; then :
42048 $as_echo_n "(cached) " >&6
42051 if test "$cross_compiling" = yes; then :
42052 if test x
$gcc_no_link = xyes
; then
42053 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42056 /* end confdefs.h. */
42057 __thread int a; int b; int main() { return a = b; }
42059 if ac_fn_c_try_link
"$LINENO"; then :
42060 chktls_save_LDFLAGS
="$LDFLAGS"
42062 *-*-linux* |
-*-uclinuxfdpic*)
42063 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
42066 chktls_save_CFLAGS
="$CFLAGS"
42067 CFLAGS
="-fPIC $CFLAGS"
42068 if test x
$gcc_no_link = xyes
; then
42069 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42072 /* end confdefs.h. */
42073 int f() { return 0; }
42075 if ac_fn_c_try_link
"$LINENO"; then :
42076 if test x
$gcc_no_link = xyes
; then
42077 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42080 /* end confdefs.h. */
42081 __thread int a; int b; int f() { return a = b; }
42083 if ac_fn_c_try_link
"$LINENO"; then :
42084 gcc_cv_have_tls
=yes
42088 rm -f core conftest.err conftest.
$ac_objext \
42089 conftest
$ac_exeext conftest.
$ac_ext
42091 gcc_cv_have_tls
=yes
42093 rm -f core conftest.err conftest.
$ac_objext \
42094 conftest
$ac_exeext conftest.
$ac_ext
42095 CFLAGS
="$chktls_save_CFLAGS"
42096 LDFLAGS
="$chktls_save_LDFLAGS"
42100 rm -f core conftest.err conftest.
$ac_objext \
42101 conftest
$ac_exeext conftest.
$ac_ext
42105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42106 /* end confdefs.h. */
42107 __thread int a; int b; int main() { return a = b; }
42109 if ac_fn_c_try_run
"$LINENO"; then :
42110 chktls_save_LDFLAGS
="$LDFLAGS"
42111 LDFLAGS
="-static $LDFLAGS"
42112 if test x
$gcc_no_link = xyes
; then
42113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42116 /* end confdefs.h. */
42117 int main() { return 0; }
42119 if ac_fn_c_try_link
"$LINENO"; then :
42120 if test "$cross_compiling" = yes; then :
42121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
42123 as_fn_error $?
"cannot run test program while cross compiling
42124 See \`config.log' for more details" "$LINENO" 5; }
42126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42127 /* end confdefs.h. */
42128 __thread int a; int b; int main() { return a = b; }
42130 if ac_fn_c_try_run
"$LINENO"; then :
42131 gcc_cv_have_tls
=yes
42135 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
42136 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
42140 gcc_cv_have_tls
=yes
42142 rm -f core conftest.err conftest.
$ac_objext \
42143 conftest
$ac_exeext conftest.
$ac_ext
42144 LDFLAGS
="$chktls_save_LDFLAGS"
42145 if test $gcc_cv_have_tls = yes; then
42146 chktls_save_CFLAGS
="$CFLAGS"
42147 thread_CFLAGS
=failed
42148 for flag
in '' '-pthread' '-lpthread'; do
42149 CFLAGS
="$flag $chktls_save_CFLAGS"
42150 if test x
$gcc_no_link = xyes
; then
42151 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42154 /* end confdefs.h. */
42155 #include <pthread.h>
42156 void *g(void *d) { return NULL; }
42160 pthread_t t; pthread_create(&t,NULL,g,NULL);
42165 if ac_fn_c_try_link
"$LINENO"; then :
42166 thread_CFLAGS
="$flag"
42168 rm -f core conftest.err conftest.
$ac_objext \
42169 conftest
$ac_exeext conftest.
$ac_ext
42170 if test "X$thread_CFLAGS" != Xfailed
; then
42174 CFLAGS
="$chktls_save_CFLAGS"
42175 if test "X$thread_CFLAGS" != Xfailed
; then
42176 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
42177 if test "$cross_compiling" = yes; then :
42178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
42180 as_fn_error $?
"cannot run test program while cross compiling
42181 See \`config.log' for more details" "$LINENO" 5; }
42183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42184 /* end confdefs.h. */
42185 #include <pthread.h>
42187 static int *volatile a_in_other_thread;
42189 thread_func (void *arg)
42191 a_in_other_thread = &a;
42198 void *thread_retval;
42199 int *volatile a_in_main_thread;
42200 a_in_main_thread = &a;
42201 if (pthread_create (&thread, (pthread_attr_t *)0,
42202 thread_func, (void *)0))
42204 if (pthread_join (thread, &thread_retval))
42206 return (a_in_other_thread == a_in_main_thread);
42211 if ac_fn_c_try_run
"$LINENO"; then :
42212 gcc_cv_have_tls
=yes
42216 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
42217 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
42220 CFLAGS
="$chktls_save_CFLAGS"
42226 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
42227 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
42231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
42232 $as_echo "$gcc_cv_have_tls" >&6; }
42233 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
42235 $as_echo "#define HAVE_TLS 1" >>confdefs.h
42238 for ac_func
in __cxa_thread_atexit_impl
42240 ac_fn_c_check_func
"$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
42241 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes
; then :
42242 cat >>confdefs.h
<<_ACEOF
42243 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
42249 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
42251 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42252 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
42253 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
42254 cat >>confdefs.h
<<_ACEOF
42255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42261 for ac_func
in timespec_get
42263 ac_fn_c_check_func
"$LINENO" "timespec_get" "ac_cv_func_timespec_get"
42264 if test "x$ac_cv_func_timespec_get" = xyes
; then :
42265 cat >>confdefs.h
<<_ACEOF
42266 #define HAVE_TIMESPEC_GET 1
42272 for ac_func
in sockatmark
42274 ac_fn_c_check_func
"$LINENO" "sockatmark" "ac_cv_func_sockatmark"
42275 if test "x$ac_cv_func_sockatmark" = xyes
; then :
42276 cat >>confdefs.h
<<_ACEOF
42277 #define HAVE_SOCKATMARK 1
42283 for ac_func
in uselocale
42285 ac_fn_c_check_func
"$LINENO" "uselocale" "ac_cv_func_uselocale"
42286 if test "x$ac_cv_func_uselocale" = xyes
; then :
42287 cat >>confdefs.h
<<_ACEOF
42288 #define HAVE_USELOCALE 1
42294 for ac_func
in secure_getenv
42296 ac_fn_c_check_func
"$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
42297 if test "x$ac_cv_func_secure_getenv" = xyes
; then :
42298 cat >>confdefs.h
<<_ACEOF
42299 #define HAVE_SECURE_GETENV 1
42309 # If we're not using GNU ld, then there's no point in even trying these
42310 # tests. Check for that first. We should have already tested for gld
42311 # by now (in libtool), but require it now just to be safe...
42312 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
42313 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
42317 # The name set by libtool depends on the version of libtool. Shame on us
42318 # for depending on an impl detail, but c'est la vie. Older versions used
42319 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42320 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42321 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42322 # set (hence we're using an older libtool), then set it.
42323 if test x
${with_gnu_ld+set} != xset
; then
42324 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
42325 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42328 with_gnu_ld
=$ac_cv_prog_gnu_ld
42332 # Start by getting the version number. I think the libtool test already
42333 # does some of this, but throws away the result.
42334 glibcxx_ld_is_gold
=no
42335 glibcxx_ld_is_mold
=no
42336 if test x
"$with_gnu_ld" = x
"yes"; then
42337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
42338 $as_echo_n "checking for ld version... " >&6; }
42340 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
42341 glibcxx_ld_is_gold
=yes
42342 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
42343 glibcxx_ld_is_mold
=yes
42345 ldver
=`$LD --version 2>/dev/null |
42346 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
42348 glibcxx_gnu_ld_version
=`echo $ldver | \
42349 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
42351 $as_echo "$glibcxx_gnu_ld_version" >&6; }
42354 # Set --gc-sections.
42355 glibcxx_have_gc_sections
=no
42356 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
42357 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
42358 glibcxx_have_gc_sections
=yes
42361 glibcxx_gcsections_min_ld
=21602
42362 if test x
"$with_gnu_ld" = x
"yes" &&
42363 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42364 glibcxx_have_gc_sections
=yes
42367 if test "$glibcxx_have_gc_sections" = "yes"; then
42368 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42369 # NB: This flag only works reliably after 2.16.1. Configure tests
42370 # for this are difficult, so hard wire a value that should work.
42372 ac_test_CFLAGS
="${CFLAGS+set}"
42373 ac_save_CFLAGS
="$CFLAGS"
42374 CFLAGS
='-Wl,--gc-sections'
42376 # Check for -Wl,--gc-sections
42377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
42378 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
42379 if test x
$gcc_no_link = xyes
; then
42380 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42383 /* end confdefs.h. */
42384 int one(void) { return 1; }
42385 int two(void) { return 2; }
42395 if ac_fn_c_try_link
"$LINENO"; then :
42400 rm -f core conftest.err conftest.
$ac_objext \
42401 conftest
$ac_exeext conftest.
$ac_ext
42402 if test "$ac_gcsections" = "yes"; then
42405 if $CC -c conftest.c
; then
42406 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
42407 grep "Warning: gc-sections option ignored" > /dev
/null
; then
42411 rm -f conftest.c conftest.o conftest
42413 if test "$ac_gcsections" = "yes"; then
42414 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
42416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
42417 $as_echo "$ac_gcsections" >&6; }
42419 if test "$ac_test_CFLAGS" = set; then
42420 CFLAGS
="$ac_save_CFLAGS"
42422 # this is the suspicious part
42428 # Note this is only for shared objects.
42430 if test x
"$with_gnu_ld" = x
"yes"; then
42431 # cygwin and mingw uses PE, which has no ELF relro support,
42432 # multi target ld may confuse configure machinery
42439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
42440 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
42441 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
42442 if test -n "$cxx_z_relo"; then
42443 OPT_LDFLAGS
="-Wl,-z,relro"
42446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
42447 $as_echo "$ac_ld_relro" >&6; }
42451 # Set linker optimization flags.
42452 if test x
"$with_gnu_ld" = x
"yes"; then
42453 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
42460 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
42461 ac_save_CXXFLAGS
="$CXXFLAGS"
42462 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
42464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42465 $as_echo_n "checking for sin in -lm... " >&6; }
42466 if ${ac_cv_lib_m_sin+:} false
; then :
42467 $as_echo_n "(cached) " >&6
42469 ac_check_lib_save_LIBS
=$LIBS
42471 if test x
$gcc_no_link = xyes
; then
42472 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42475 /* end confdefs.h. */
42477 /* Override any GCC internal prototype to avoid an error.
42478 Use char because int might match the return type of a GCC
42479 builtin and then its argument prototype would still apply. */
42492 if ac_fn_c_try_link
"$LINENO"; then :
42493 ac_cv_lib_m_sin
=yes
42497 rm -f core conftest.err conftest.
$ac_objext \
42498 conftest
$ac_exeext conftest.
$ac_ext
42499 LIBS
=$ac_check_lib_save_LIBS
42501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42502 $as_echo "$ac_cv_lib_m_sin" >&6; }
42503 if test "x$ac_cv_lib_m_sin" = xyes
; then :
42507 ac_save_LIBS
="$LIBS"
42512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42513 $as_echo_n "checking for isinf declaration... " >&6; }
42514 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
42515 if ${glibcxx_cv_func_isinf_use+:} false
; then :
42516 $as_echo_n "(cached) " >&6
42521 ac_cpp
='$CXXCPP $CPPFLAGS'
42522 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42527 /* end confdefs.h. */
42529 #ifdef HAVE_IEEEFP_H
42530 #include <ieeefp.h>
42541 if ac_fn_cxx_try_compile
"$LINENO"; then :
42542 glibcxx_cv_func_isinf_use
=yes
42544 glibcxx_cv_func_isinf_use
=no
42546 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42548 ac_cpp
='$CPP $CPPFLAGS'
42549 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42550 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42551 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42558 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42560 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
42561 for ac_func
in isinf
42563 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
42564 if test "x$ac_cv_func_isinf" = xyes
; then :
42565 cat >>confdefs.h
<<_ACEOF
42566 #define HAVE_ISINF 1
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42577 $as_echo_n "checking for isnan declaration... " >&6; }
42578 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
42579 if ${glibcxx_cv_func_isnan_use+:} false
; then :
42580 $as_echo_n "(cached) " >&6
42585 ac_cpp
='$CXXCPP $CPPFLAGS'
42586 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42587 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42588 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42591 /* end confdefs.h. */
42593 #ifdef HAVE_IEEEFP_H
42594 #include <ieeefp.h>
42605 if ac_fn_cxx_try_compile
"$LINENO"; then :
42606 glibcxx_cv_func_isnan_use
=yes
42608 glibcxx_cv_func_isnan_use
=no
42610 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42612 ac_cpp
='$CPP $CPPFLAGS'
42613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42622 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42624 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
42625 for ac_func
in isnan
42627 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
42628 if test "x$ac_cv_func_isnan" = xyes
; then :
42629 cat >>confdefs.h
<<_ACEOF
42630 #define HAVE_ISNAN 1
42640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42641 $as_echo_n "checking for finite declaration... " >&6; }
42642 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
42643 if ${glibcxx_cv_func_finite_use+:} false
; then :
42644 $as_echo_n "(cached) " >&6
42649 ac_cpp
='$CXXCPP $CPPFLAGS'
42650 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42651 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42652 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42655 /* end confdefs.h. */
42657 #ifdef HAVE_IEEEFP_H
42658 #include <ieeefp.h>
42669 if ac_fn_cxx_try_compile
"$LINENO"; then :
42670 glibcxx_cv_func_finite_use
=yes
42672 glibcxx_cv_func_finite_use
=no
42674 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42676 ac_cpp
='$CPP $CPPFLAGS'
42677 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42678 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42679 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42686 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42688 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
42689 for ac_func
in finite
42691 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
42692 if test "x$ac_cv_func_finite" = xyes
; then :
42693 cat >>confdefs.h
<<_ACEOF
42694 #define HAVE_FINITE 1
42704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42705 $as_echo_n "checking for sincos declaration... " >&6; }
42706 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
42707 if ${glibcxx_cv_func_sincos_use+:} false
; then :
42708 $as_echo_n "(cached) " >&6
42713 ac_cpp
='$CXXCPP $CPPFLAGS'
42714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42719 /* end confdefs.h. */
42729 if ac_fn_cxx_try_compile
"$LINENO"; then :
42730 glibcxx_cv_func_sincos_use
=yes
42732 glibcxx_cv_func_sincos_use
=no
42734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42736 ac_cpp
='$CPP $CPPFLAGS'
42737 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42746 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42748 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
42749 for ac_func
in sincos
42751 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
42752 if test "x$ac_cv_func_sincos" = xyes
; then :
42753 cat >>confdefs.h
<<_ACEOF
42754 #define HAVE_SINCOS 1
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42765 $as_echo_n "checking for fpclass declaration... " >&6; }
42766 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
42767 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
42768 $as_echo_n "(cached) " >&6
42773 ac_cpp
='$CXXCPP $CPPFLAGS'
42774 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42775 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42776 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42779 /* end confdefs.h. */
42781 #ifdef HAVE_IEEEFP_H
42782 #include <ieeefp.h>
42793 if ac_fn_cxx_try_compile
"$LINENO"; then :
42794 glibcxx_cv_func_fpclass_use
=yes
42796 glibcxx_cv_func_fpclass_use
=no
42798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42800 ac_cpp
='$CPP $CPPFLAGS'
42801 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42810 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42812 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
42813 for ac_func
in fpclass
42815 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
42816 if test "x$ac_cv_func_fpclass" = xyes
; then :
42817 cat >>confdefs.h
<<_ACEOF
42818 #define HAVE_FPCLASS 1
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42829 $as_echo_n "checking for qfpclass declaration... " >&6; }
42830 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
42831 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
42832 $as_echo_n "(cached) " >&6
42837 ac_cpp
='$CXXCPP $CPPFLAGS'
42838 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42845 #ifdef HAVE_IEEEFP_H
42846 #include <ieeefp.h>
42857 if ac_fn_cxx_try_compile
"$LINENO"; then :
42858 glibcxx_cv_func_qfpclass_use
=yes
42860 glibcxx_cv_func_qfpclass_use
=no
42862 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42864 ac_cpp
='$CPP $CPPFLAGS'
42865 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42874 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42876 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
42877 for ac_func
in qfpclass
42879 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42880 if test "x$ac_cv_func_qfpclass" = xyes
; then :
42881 cat >>confdefs.h
<<_ACEOF
42882 #define HAVE_QFPCLASS 1
42892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42893 $as_echo_n "checking for hypot declaration... " >&6; }
42894 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
42895 if ${glibcxx_cv_func_hypot_use+:} false
; then :
42896 $as_echo_n "(cached) " >&6
42901 ac_cpp
='$CXXCPP $CPPFLAGS'
42902 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42903 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42904 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42907 /* end confdefs.h. */
42917 if ac_fn_cxx_try_compile
"$LINENO"; then :
42918 glibcxx_cv_func_hypot_use
=yes
42920 glibcxx_cv_func_hypot_use
=no
42922 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42924 ac_cpp
='$CPP $CPPFLAGS'
42925 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42926 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42927 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42934 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42936 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
42937 for ac_func
in hypot
42939 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
42940 if test "x$ac_cv_func_hypot" = xyes
; then :
42941 cat >>confdefs.h
<<_ACEOF
42942 #define HAVE_HYPOT 1
42952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42953 $as_echo_n "checking for float trig functions... " >&6; }
42954 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
42955 $as_echo_n "(cached) " >&6
42960 ac_cpp
='$CXXCPP $CPPFLAGS'
42961 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42962 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42963 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
42965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
42966 /* end confdefs.h. */
42971 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42976 if ac_fn_cxx_try_compile
"$LINENO"; then :
42977 glibcxx_cv_func_float_trig_use
=yes
42979 glibcxx_cv_func_float_trig_use
=no
42981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
42983 ac_cpp
='$CPP $CPPFLAGS'
42984 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42985 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42986 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42991 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42992 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
42993 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42995 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42996 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
42997 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
42998 cat >>confdefs.h
<<_ACEOF
42999 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43010 $as_echo_n "checking for float round functions... " >&6; }
43011 if ${glibcxx_cv_func_float_round_use+:} false
; then :
43012 $as_echo_n "(cached) " >&6
43017 ac_cpp
='$CXXCPP $CPPFLAGS'
43018 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43023 /* end confdefs.h. */
43028 ceilf (0); floorf (0);
43033 if ac_fn_cxx_try_compile
"$LINENO"; then :
43034 glibcxx_cv_func_float_round_use
=yes
43036 glibcxx_cv_func_float_round_use
=no
43038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43040 ac_cpp
='$CPP $CPPFLAGS'
43041 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43048 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43049 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
43050 for ac_func
in ceilf floorf
43052 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43053 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
43054 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
43055 cat >>confdefs.h
<<_ACEOF
43056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43068 $as_echo_n "checking for expf declaration... " >&6; }
43069 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
43070 if ${glibcxx_cv_func_expf_use+:} false
; then :
43071 $as_echo_n "(cached) " >&6
43076 ac_cpp
='$CXXCPP $CPPFLAGS'
43077 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43078 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43079 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43082 /* end confdefs.h. */
43084 #ifdef HAVE_IEEEFP_H
43085 #include <ieeefp.h>
43096 if ac_fn_cxx_try_compile
"$LINENO"; then :
43097 glibcxx_cv_func_expf_use
=yes
43099 glibcxx_cv_func_expf_use
=no
43101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43103 ac_cpp
='$CPP $CPPFLAGS'
43104 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43113 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43115 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
43116 for ac_func
in expf
43118 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
43119 if test "x$ac_cv_func_expf" = xyes
; then :
43120 cat >>confdefs.h
<<_ACEOF
43121 #define HAVE_EXPF 1
43131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43132 $as_echo_n "checking for isnanf declaration... " >&6; }
43133 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
43134 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
43135 $as_echo_n "(cached) " >&6
43140 ac_cpp
='$CXXCPP $CPPFLAGS'
43141 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43146 /* end confdefs.h. */
43148 #ifdef HAVE_IEEEFP_H
43149 #include <ieeefp.h>
43160 if ac_fn_cxx_try_compile
"$LINENO"; then :
43161 glibcxx_cv_func_isnanf_use
=yes
43163 glibcxx_cv_func_isnanf_use
=no
43165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43167 ac_cpp
='$CPP $CPPFLAGS'
43168 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43169 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43170 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43177 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43179 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
43180 for ac_func
in isnanf
43182 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
43183 if test "x$ac_cv_func_isnanf" = xyes
; then :
43184 cat >>confdefs.h
<<_ACEOF
43185 #define HAVE_ISNANF 1
43195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43196 $as_echo_n "checking for isinff declaration... " >&6; }
43197 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
43198 if ${glibcxx_cv_func_isinff_use+:} false
; then :
43199 $as_echo_n "(cached) " >&6
43204 ac_cpp
='$CXXCPP $CPPFLAGS'
43205 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43206 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43207 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43210 /* end confdefs.h. */
43212 #ifdef HAVE_IEEEFP_H
43213 #include <ieeefp.h>
43224 if ac_fn_cxx_try_compile
"$LINENO"; then :
43225 glibcxx_cv_func_isinff_use
=yes
43227 glibcxx_cv_func_isinff_use
=no
43229 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43231 ac_cpp
='$CPP $CPPFLAGS'
43232 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43233 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43234 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43241 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43243 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
43244 for ac_func
in isinff
43246 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
43247 if test "x$ac_cv_func_isinff" = xyes
; then :
43248 cat >>confdefs.h
<<_ACEOF
43249 #define HAVE_ISINFF 1
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43260 $as_echo_n "checking for atan2f declaration... " >&6; }
43261 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
43262 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
43263 $as_echo_n "(cached) " >&6
43268 ac_cpp
='$CXXCPP $CPPFLAGS'
43269 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43274 /* end confdefs.h. */
43284 if ac_fn_cxx_try_compile
"$LINENO"; then :
43285 glibcxx_cv_func_atan2f_use
=yes
43287 glibcxx_cv_func_atan2f_use
=no
43289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43291 ac_cpp
='$CPP $CPPFLAGS'
43292 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43301 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43303 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
43304 for ac_func
in atan2f
43306 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
43307 if test "x$ac_cv_func_atan2f" = xyes
; then :
43308 cat >>confdefs.h
<<_ACEOF
43309 #define HAVE_ATAN2F 1
43319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43320 $as_echo_n "checking for fabsf declaration... " >&6; }
43321 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
43322 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
43323 $as_echo_n "(cached) " >&6
43328 ac_cpp
='$CXXCPP $CPPFLAGS'
43329 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43334 /* end confdefs.h. */
43336 #ifdef HAVE_IEEEFP_H
43337 #include <ieeefp.h>
43348 if ac_fn_cxx_try_compile
"$LINENO"; then :
43349 glibcxx_cv_func_fabsf_use
=yes
43351 glibcxx_cv_func_fabsf_use
=no
43353 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43355 ac_cpp
='$CPP $CPPFLAGS'
43356 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43357 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43358 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43365 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43367 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
43368 for ac_func
in fabsf
43370 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
43371 if test "x$ac_cv_func_fabsf" = xyes
; then :
43372 cat >>confdefs.h
<<_ACEOF
43373 #define HAVE_FABSF 1
43383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43384 $as_echo_n "checking for fmodf declaration... " >&6; }
43385 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
43386 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
43387 $as_echo_n "(cached) " >&6
43392 ac_cpp
='$CXXCPP $CPPFLAGS'
43393 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43398 /* end confdefs.h. */
43408 if ac_fn_cxx_try_compile
"$LINENO"; then :
43409 glibcxx_cv_func_fmodf_use
=yes
43411 glibcxx_cv_func_fmodf_use
=no
43413 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43415 ac_cpp
='$CPP $CPPFLAGS'
43416 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43425 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43427 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
43428 for ac_func
in fmodf
43430 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
43431 if test "x$ac_cv_func_fmodf" = xyes
; then :
43432 cat >>confdefs.h
<<_ACEOF
43433 #define HAVE_FMODF 1
43443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43444 $as_echo_n "checking for frexpf declaration... " >&6; }
43445 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
43446 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
43447 $as_echo_n "(cached) " >&6
43452 ac_cpp
='$CXXCPP $CPPFLAGS'
43453 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43458 /* end confdefs.h. */
43468 if ac_fn_cxx_try_compile
"$LINENO"; then :
43469 glibcxx_cv_func_frexpf_use
=yes
43471 glibcxx_cv_func_frexpf_use
=no
43473 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43475 ac_cpp
='$CPP $CPPFLAGS'
43476 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43477 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43478 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43485 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43487 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
43488 for ac_func
in frexpf
43490 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
43491 if test "x$ac_cv_func_frexpf" = xyes
; then :
43492 cat >>confdefs.h
<<_ACEOF
43493 #define HAVE_FREXPF 1
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43504 $as_echo_n "checking for hypotf declaration... " >&6; }
43505 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
43506 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
43507 $as_echo_n "(cached) " >&6
43512 ac_cpp
='$CXXCPP $CPPFLAGS'
43513 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43528 if ac_fn_cxx_try_compile
"$LINENO"; then :
43529 glibcxx_cv_func_hypotf_use
=yes
43531 glibcxx_cv_func_hypotf_use
=no
43533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43535 ac_cpp
='$CPP $CPPFLAGS'
43536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43545 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43547 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
43548 for ac_func
in hypotf
43550 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
43551 if test "x$ac_cv_func_hypotf" = xyes
; then :
43552 cat >>confdefs.h
<<_ACEOF
43553 #define HAVE_HYPOTF 1
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43564 $as_echo_n "checking for ldexpf declaration... " >&6; }
43565 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
43566 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
43567 $as_echo_n "(cached) " >&6
43572 ac_cpp
='$CXXCPP $CPPFLAGS'
43573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43578 /* end confdefs.h. */
43588 if ac_fn_cxx_try_compile
"$LINENO"; then :
43589 glibcxx_cv_func_ldexpf_use
=yes
43591 glibcxx_cv_func_ldexpf_use
=no
43593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43595 ac_cpp
='$CPP $CPPFLAGS'
43596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43605 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43607 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
43608 for ac_func
in ldexpf
43610 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43611 if test "x$ac_cv_func_ldexpf" = xyes
; then :
43612 cat >>confdefs.h
<<_ACEOF
43613 #define HAVE_LDEXPF 1
43623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43624 $as_echo_n "checking for logf declaration... " >&6; }
43625 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
43626 if ${glibcxx_cv_func_logf_use+:} false
; then :
43627 $as_echo_n "(cached) " >&6
43632 ac_cpp
='$CXXCPP $CPPFLAGS'
43633 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43638 /* end confdefs.h. */
43640 #ifdef HAVE_IEEEFP_H
43641 #include <ieeefp.h>
43652 if ac_fn_cxx_try_compile
"$LINENO"; then :
43653 glibcxx_cv_func_logf_use
=yes
43655 glibcxx_cv_func_logf_use
=no
43657 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43659 ac_cpp
='$CPP $CPPFLAGS'
43660 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43661 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43662 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43669 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43671 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
43672 for ac_func
in logf
43674 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
43675 if test "x$ac_cv_func_logf" = xyes
; then :
43676 cat >>confdefs.h
<<_ACEOF
43677 #define HAVE_LOGF 1
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43688 $as_echo_n "checking for log10f declaration... " >&6; }
43689 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
43690 if ${glibcxx_cv_func_log10f_use+:} false
; then :
43691 $as_echo_n "(cached) " >&6
43696 ac_cpp
='$CXXCPP $CPPFLAGS'
43697 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43698 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43699 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43702 /* end confdefs.h. */
43704 #ifdef HAVE_IEEEFP_H
43705 #include <ieeefp.h>
43716 if ac_fn_cxx_try_compile
"$LINENO"; then :
43717 glibcxx_cv_func_log10f_use
=yes
43719 glibcxx_cv_func_log10f_use
=no
43721 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43723 ac_cpp
='$CPP $CPPFLAGS'
43724 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43725 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43726 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43733 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43735 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
43736 for ac_func
in log10f
43738 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
43739 if test "x$ac_cv_func_log10f" = xyes
; then :
43740 cat >>confdefs.h
<<_ACEOF
43741 #define HAVE_LOG10F 1
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43752 $as_echo_n "checking for modff declaration... " >&6; }
43753 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
43754 if ${glibcxx_cv_func_modff_use+:} false
; then :
43755 $as_echo_n "(cached) " >&6
43760 ac_cpp
='$CXXCPP $CPPFLAGS'
43761 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43766 /* end confdefs.h. */
43776 if ac_fn_cxx_try_compile
"$LINENO"; then :
43777 glibcxx_cv_func_modff_use
=yes
43779 glibcxx_cv_func_modff_use
=no
43781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43783 ac_cpp
='$CPP $CPPFLAGS'
43784 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43793 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43795 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
43796 for ac_func
in modff
43798 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
43799 if test "x$ac_cv_func_modff" = xyes
; then :
43800 cat >>confdefs.h
<<_ACEOF
43801 #define HAVE_MODFF 1
43811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43812 $as_echo_n "checking for modf declaration... " >&6; }
43813 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
43814 if ${glibcxx_cv_func_modf_use+:} false
; then :
43815 $as_echo_n "(cached) " >&6
43820 ac_cpp
='$CXXCPP $CPPFLAGS'
43821 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43822 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43823 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43826 /* end confdefs.h. */
43836 if ac_fn_cxx_try_compile
"$LINENO"; then :
43837 glibcxx_cv_func_modf_use
=yes
43839 glibcxx_cv_func_modf_use
=no
43841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43843 ac_cpp
='$CPP $CPPFLAGS'
43844 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43845 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43846 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43853 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43855 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
43856 for ac_func
in modf
43858 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
43859 if test "x$ac_cv_func_modf" = xyes
; then :
43860 cat >>confdefs.h
<<_ACEOF
43861 #define HAVE_MODF 1
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43872 $as_echo_n "checking for powf declaration... " >&6; }
43873 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
43874 if ${glibcxx_cv_func_powf_use+:} false
; then :
43875 $as_echo_n "(cached) " >&6
43880 ac_cpp
='$CXXCPP $CPPFLAGS'
43881 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43882 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43883 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43886 /* end confdefs.h. */
43896 if ac_fn_cxx_try_compile
"$LINENO"; then :
43897 glibcxx_cv_func_powf_use
=yes
43899 glibcxx_cv_func_powf_use
=no
43901 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43903 ac_cpp
='$CPP $CPPFLAGS'
43904 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43913 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43915 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
43916 for ac_func
in powf
43918 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
43919 if test "x$ac_cv_func_powf" = xyes
; then :
43920 cat >>confdefs.h
<<_ACEOF
43921 #define HAVE_POWF 1
43931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43932 $as_echo_n "checking for sqrtf declaration... " >&6; }
43933 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
43934 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
43935 $as_echo_n "(cached) " >&6
43940 ac_cpp
='$CXXCPP $CPPFLAGS'
43941 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43942 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43943 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
43945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
43946 /* end confdefs.h. */
43948 #ifdef HAVE_IEEEFP_H
43949 #include <ieeefp.h>
43960 if ac_fn_cxx_try_compile
"$LINENO"; then :
43961 glibcxx_cv_func_sqrtf_use
=yes
43963 glibcxx_cv_func_sqrtf_use
=no
43965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
43967 ac_cpp
='$CPP $CPPFLAGS'
43968 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43969 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43970 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
43976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43977 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43979 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
43980 for ac_func
in sqrtf
43982 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43983 if test "x$ac_cv_func_sqrtf" = xyes
; then :
43984 cat >>confdefs.h
<<_ACEOF
43985 #define HAVE_SQRTF 1
43995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43996 $as_echo_n "checking for sincosf declaration... " >&6; }
43997 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
43998 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
43999 $as_echo_n "(cached) " >&6
44004 ac_cpp
='$CXXCPP $CPPFLAGS'
44005 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44010 /* end confdefs.h. */
44020 if ac_fn_cxx_try_compile
"$LINENO"; then :
44021 glibcxx_cv_func_sincosf_use
=yes
44023 glibcxx_cv_func_sincosf_use
=no
44025 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44027 ac_cpp
='$CPP $CPPFLAGS'
44028 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44037 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44039 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
44040 for ac_func
in sincosf
44042 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
44043 if test "x$ac_cv_func_sincosf" = xyes
; then :
44044 cat >>confdefs.h
<<_ACEOF
44045 #define HAVE_SINCOSF 1
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44056 $as_echo_n "checking for finitef declaration... " >&6; }
44057 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
44058 if ${glibcxx_cv_func_finitef_use+:} false
; then :
44059 $as_echo_n "(cached) " >&6
44064 ac_cpp
='$CXXCPP $CPPFLAGS'
44065 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44066 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44067 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44070 /* end confdefs.h. */
44072 #ifdef HAVE_IEEEFP_H
44073 #include <ieeefp.h>
44084 if ac_fn_cxx_try_compile
"$LINENO"; then :
44085 glibcxx_cv_func_finitef_use
=yes
44087 glibcxx_cv_func_finitef_use
=no
44089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44091 ac_cpp
='$CPP $CPPFLAGS'
44092 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44093 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44094 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44101 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44103 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
44104 for ac_func
in finitef
44106 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
44107 if test "x$ac_cv_func_finitef" = xyes
; then :
44108 cat >>confdefs.h
<<_ACEOF
44109 #define HAVE_FINITEF 1
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44120 $as_echo_n "checking for long double trig functions... " >&6; }
44121 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
44122 $as_echo_n "(cached) " >&6
44127 ac_cpp
='$CXXCPP $CPPFLAGS'
44128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44133 /* end confdefs.h. */
44138 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44143 if ac_fn_cxx_try_compile
"$LINENO"; then :
44144 glibcxx_cv_func_long_double_trig_use
=yes
44146 glibcxx_cv_func_long_double_trig_use
=no
44148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44150 ac_cpp
='$CPP $CPPFLAGS'
44151 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44152 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44153 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44158 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44159 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
44160 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44162 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44163 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
44164 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
44165 cat >>confdefs.h
<<_ACEOF
44166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44177 $as_echo_n "checking for long double round functions... " >&6; }
44178 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
44179 $as_echo_n "(cached) " >&6
44184 ac_cpp
='$CXXCPP $CPPFLAGS'
44185 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44190 /* end confdefs.h. */
44195 ceill (0); floorl (0);
44200 if ac_fn_cxx_try_compile
"$LINENO"; then :
44201 glibcxx_cv_func_long_double_round_use
=yes
44203 glibcxx_cv_func_long_double_round_use
=no
44205 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44207 ac_cpp
='$CPP $CPPFLAGS'
44208 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44209 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44210 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44215 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44216 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
44217 for ac_func
in ceill floorl
44219 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44220 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
44221 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
44222 cat >>confdefs.h
<<_ACEOF
44223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44235 $as_echo_n "checking for isnanl declaration... " >&6; }
44236 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
44237 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
44238 $as_echo_n "(cached) " >&6
44243 ac_cpp
='$CXXCPP $CPPFLAGS'
44244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44249 /* end confdefs.h. */
44251 #ifdef HAVE_IEEEFP_H
44252 #include <ieeefp.h>
44263 if ac_fn_cxx_try_compile
"$LINENO"; then :
44264 glibcxx_cv_func_isnanl_use
=yes
44266 glibcxx_cv_func_isnanl_use
=no
44268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44270 ac_cpp
='$CPP $CPPFLAGS'
44271 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44272 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44273 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44282 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
44283 for ac_func
in isnanl
44285 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
44286 if test "x$ac_cv_func_isnanl" = xyes
; then :
44287 cat >>confdefs.h
<<_ACEOF
44288 #define HAVE_ISNANL 1
44298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44299 $as_echo_n "checking for isinfl declaration... " >&6; }
44300 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
44301 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
44302 $as_echo_n "(cached) " >&6
44307 ac_cpp
='$CXXCPP $CPPFLAGS'
44308 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44309 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44310 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44313 /* end confdefs.h. */
44315 #ifdef HAVE_IEEEFP_H
44316 #include <ieeefp.h>
44327 if ac_fn_cxx_try_compile
"$LINENO"; then :
44328 glibcxx_cv_func_isinfl_use
=yes
44330 glibcxx_cv_func_isinfl_use
=no
44332 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44334 ac_cpp
='$CPP $CPPFLAGS'
44335 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44336 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44337 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44344 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44346 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
44347 for ac_func
in isinfl
44349 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
44350 if test "x$ac_cv_func_isinfl" = xyes
; then :
44351 cat >>confdefs.h
<<_ACEOF
44352 #define HAVE_ISINFL 1
44362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44363 $as_echo_n "checking for atan2l declaration... " >&6; }
44364 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
44365 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
44366 $as_echo_n "(cached) " >&6
44371 ac_cpp
='$CXXCPP $CPPFLAGS'
44372 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h. */
44387 if ac_fn_cxx_try_compile
"$LINENO"; then :
44388 glibcxx_cv_func_atan2l_use
=yes
44390 glibcxx_cv_func_atan2l_use
=no
44392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44394 ac_cpp
='$CPP $CPPFLAGS'
44395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44404 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44406 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
44407 for ac_func
in atan2l
44409 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
44410 if test "x$ac_cv_func_atan2l" = xyes
; then :
44411 cat >>confdefs.h
<<_ACEOF
44412 #define HAVE_ATAN2L 1
44422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44423 $as_echo_n "checking for expl declaration... " >&6; }
44424 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
44425 if ${glibcxx_cv_func_expl_use+:} false
; then :
44426 $as_echo_n "(cached) " >&6
44431 ac_cpp
='$CXXCPP $CPPFLAGS'
44432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44437 /* end confdefs.h. */
44439 #ifdef HAVE_IEEEFP_H
44440 #include <ieeefp.h>
44451 if ac_fn_cxx_try_compile
"$LINENO"; then :
44452 glibcxx_cv_func_expl_use
=yes
44454 glibcxx_cv_func_expl_use
=no
44456 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44458 ac_cpp
='$CPP $CPPFLAGS'
44459 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44460 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44461 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44468 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44470 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
44471 for ac_func
in expl
44473 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
44474 if test "x$ac_cv_func_expl" = xyes
; then :
44475 cat >>confdefs.h
<<_ACEOF
44476 #define HAVE_EXPL 1
44486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44487 $as_echo_n "checking for fabsl declaration... " >&6; }
44488 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
44489 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
44490 $as_echo_n "(cached) " >&6
44495 ac_cpp
='$CXXCPP $CPPFLAGS'
44496 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44497 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44498 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44501 /* end confdefs.h. */
44503 #ifdef HAVE_IEEEFP_H
44504 #include <ieeefp.h>
44515 if ac_fn_cxx_try_compile
"$LINENO"; then :
44516 glibcxx_cv_func_fabsl_use
=yes
44518 glibcxx_cv_func_fabsl_use
=no
44520 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44522 ac_cpp
='$CPP $CPPFLAGS'
44523 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44524 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44525 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44532 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44534 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
44535 for ac_func
in fabsl
44537 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
44538 if test "x$ac_cv_func_fabsl" = xyes
; then :
44539 cat >>confdefs.h
<<_ACEOF
44540 #define HAVE_FABSL 1
44550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44551 $as_echo_n "checking for fmodl declaration... " >&6; }
44552 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
44553 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
44554 $as_echo_n "(cached) " >&6
44559 ac_cpp
='$CXXCPP $CPPFLAGS'
44560 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44561 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44562 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44565 /* end confdefs.h. */
44575 if ac_fn_cxx_try_compile
"$LINENO"; then :
44576 glibcxx_cv_func_fmodl_use
=yes
44578 glibcxx_cv_func_fmodl_use
=no
44580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44582 ac_cpp
='$CPP $CPPFLAGS'
44583 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44584 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44585 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44592 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44594 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
44595 for ac_func
in fmodl
44597 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
44598 if test "x$ac_cv_func_fmodl" = xyes
; then :
44599 cat >>confdefs.h
<<_ACEOF
44600 #define HAVE_FMODL 1
44610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44611 $as_echo_n "checking for frexpl declaration... " >&6; }
44612 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
44613 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
44614 $as_echo_n "(cached) " >&6
44619 ac_cpp
='$CXXCPP $CPPFLAGS'
44620 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44621 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44622 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44625 /* end confdefs.h. */
44635 if ac_fn_cxx_try_compile
"$LINENO"; then :
44636 glibcxx_cv_func_frexpl_use
=yes
44638 glibcxx_cv_func_frexpl_use
=no
44640 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44642 ac_cpp
='$CPP $CPPFLAGS'
44643 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44644 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44645 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44652 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44654 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
44655 for ac_func
in frexpl
44657 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
44658 if test "x$ac_cv_func_frexpl" = xyes
; then :
44659 cat >>confdefs.h
<<_ACEOF
44660 #define HAVE_FREXPL 1
44670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44671 $as_echo_n "checking for hypotl declaration... " >&6; }
44672 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
44673 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
44674 $as_echo_n "(cached) " >&6
44679 ac_cpp
='$CXXCPP $CPPFLAGS'
44680 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44681 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44682 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44685 /* end confdefs.h. */
44695 if ac_fn_cxx_try_compile
"$LINENO"; then :
44696 glibcxx_cv_func_hypotl_use
=yes
44698 glibcxx_cv_func_hypotl_use
=no
44700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44702 ac_cpp
='$CPP $CPPFLAGS'
44703 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44712 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44714 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
44715 for ac_func
in hypotl
44717 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
44718 if test "x$ac_cv_func_hypotl" = xyes
; then :
44719 cat >>confdefs.h
<<_ACEOF
44720 #define HAVE_HYPOTL 1
44730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44731 $as_echo_n "checking for ldexpl declaration... " >&6; }
44732 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
44733 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
44734 $as_echo_n "(cached) " >&6
44739 ac_cpp
='$CXXCPP $CPPFLAGS'
44740 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44741 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44742 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44745 /* end confdefs.h. */
44755 if ac_fn_cxx_try_compile
"$LINENO"; then :
44756 glibcxx_cv_func_ldexpl_use
=yes
44758 glibcxx_cv_func_ldexpl_use
=no
44760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44762 ac_cpp
='$CPP $CPPFLAGS'
44763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44772 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44774 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
44775 for ac_func
in ldexpl
44777 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44778 if test "x$ac_cv_func_ldexpl" = xyes
; then :
44779 cat >>confdefs.h
<<_ACEOF
44780 #define HAVE_LDEXPL 1
44790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44791 $as_echo_n "checking for logl declaration... " >&6; }
44792 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
44793 if ${glibcxx_cv_func_logl_use+:} false
; then :
44794 $as_echo_n "(cached) " >&6
44799 ac_cpp
='$CXXCPP $CPPFLAGS'
44800 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44801 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44802 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44805 /* end confdefs.h. */
44807 #ifdef HAVE_IEEEFP_H
44808 #include <ieeefp.h>
44819 if ac_fn_cxx_try_compile
"$LINENO"; then :
44820 glibcxx_cv_func_logl_use
=yes
44822 glibcxx_cv_func_logl_use
=no
44824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44826 ac_cpp
='$CPP $CPPFLAGS'
44827 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44828 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44829 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44836 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44838 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
44839 for ac_func
in logl
44841 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
44842 if test "x$ac_cv_func_logl" = xyes
; then :
44843 cat >>confdefs.h
<<_ACEOF
44844 #define HAVE_LOGL 1
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44855 $as_echo_n "checking for log10l declaration... " >&6; }
44856 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
44857 if ${glibcxx_cv_func_log10l_use+:} false
; then :
44858 $as_echo_n "(cached) " >&6
44863 ac_cpp
='$CXXCPP $CPPFLAGS'
44864 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44869 /* end confdefs.h. */
44871 #ifdef HAVE_IEEEFP_H
44872 #include <ieeefp.h>
44883 if ac_fn_cxx_try_compile
"$LINENO"; then :
44884 glibcxx_cv_func_log10l_use
=yes
44886 glibcxx_cv_func_log10l_use
=no
44888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44890 ac_cpp
='$CPP $CPPFLAGS'
44891 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44900 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44902 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
44903 for ac_func
in log10l
44905 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
44906 if test "x$ac_cv_func_log10l" = xyes
; then :
44907 cat >>confdefs.h
<<_ACEOF
44908 #define HAVE_LOG10L 1
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44919 $as_echo_n "checking for modfl declaration... " >&6; }
44920 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
44921 if ${glibcxx_cv_func_modfl_use+:} false
; then :
44922 $as_echo_n "(cached) " >&6
44927 ac_cpp
='$CXXCPP $CPPFLAGS'
44928 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44933 /* end confdefs.h. */
44943 if ac_fn_cxx_try_compile
"$LINENO"; then :
44944 glibcxx_cv_func_modfl_use
=yes
44946 glibcxx_cv_func_modfl_use
=no
44948 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
44950 ac_cpp
='$CPP $CPPFLAGS'
44951 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44952 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44953 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
44959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44960 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44962 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
44963 for ac_func
in modfl
44965 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
44966 if test "x$ac_cv_func_modfl" = xyes
; then :
44967 cat >>confdefs.h
<<_ACEOF
44968 #define HAVE_MODFL 1
44978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44979 $as_echo_n "checking for powl declaration... " >&6; }
44980 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
44981 if ${glibcxx_cv_func_powl_use+:} false
; then :
44982 $as_echo_n "(cached) " >&6
44987 ac_cpp
='$CXXCPP $CPPFLAGS'
44988 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44989 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44990 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
44992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
44993 /* end confdefs.h. */
45003 if ac_fn_cxx_try_compile
"$LINENO"; then :
45004 glibcxx_cv_func_powl_use
=yes
45006 glibcxx_cv_func_powl_use
=no
45008 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45010 ac_cpp
='$CPP $CPPFLAGS'
45011 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45020 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45022 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
45023 for ac_func
in powl
45025 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
45026 if test "x$ac_cv_func_powl" = xyes
; then :
45027 cat >>confdefs.h
<<_ACEOF
45028 #define HAVE_POWL 1
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45039 $as_echo_n "checking for sqrtl declaration... " >&6; }
45040 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
45041 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
45042 $as_echo_n "(cached) " >&6
45047 ac_cpp
='$CXXCPP $CPPFLAGS'
45048 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45053 /* end confdefs.h. */
45055 #ifdef HAVE_IEEEFP_H
45056 #include <ieeefp.h>
45067 if ac_fn_cxx_try_compile
"$LINENO"; then :
45068 glibcxx_cv_func_sqrtl_use
=yes
45070 glibcxx_cv_func_sqrtl_use
=no
45072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45074 ac_cpp
='$CPP $CPPFLAGS'
45075 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45076 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45077 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45084 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45086 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
45087 for ac_func
in sqrtl
45089 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45090 if test "x$ac_cv_func_sqrtl" = xyes
; then :
45091 cat >>confdefs.h
<<_ACEOF
45092 #define HAVE_SQRTL 1
45102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45103 $as_echo_n "checking for sincosl declaration... " >&6; }
45104 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
45105 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
45106 $as_echo_n "(cached) " >&6
45111 ac_cpp
='$CXXCPP $CPPFLAGS'
45112 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45127 if ac_fn_cxx_try_compile
"$LINENO"; then :
45128 glibcxx_cv_func_sincosl_use
=yes
45130 glibcxx_cv_func_sincosl_use
=no
45132 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45134 ac_cpp
='$CPP $CPPFLAGS'
45135 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45144 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45146 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
45147 for ac_func
in sincosl
45149 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
45150 if test "x$ac_cv_func_sincosl" = xyes
; then :
45151 cat >>confdefs.h
<<_ACEOF
45152 #define HAVE_SINCOSL 1
45162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45163 $as_echo_n "checking for finitel declaration... " >&6; }
45164 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
45165 if ${glibcxx_cv_func_finitel_use+:} false
; then :
45166 $as_echo_n "(cached) " >&6
45171 ac_cpp
='$CXXCPP $CPPFLAGS'
45172 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45173 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45174 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45177 /* end confdefs.h. */
45179 #ifdef HAVE_IEEEFP_H
45180 #include <ieeefp.h>
45191 if ac_fn_cxx_try_compile
"$LINENO"; then :
45192 glibcxx_cv_func_finitel_use
=yes
45194 glibcxx_cv_func_finitel_use
=no
45196 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45198 ac_cpp
='$CPP $CPPFLAGS'
45199 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45200 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45201 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45208 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45210 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
45211 for ac_func
in finitel
45213 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
45214 if test "x$ac_cv_func_finitel" = xyes
; then :
45215 cat >>confdefs.h
<<_ACEOF
45216 #define HAVE_FINITEL 1
45225 LIBS
="$ac_save_LIBS"
45226 CXXFLAGS
="$ac_save_CXXFLAGS"
45229 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
45230 ac_save_CXXFLAGS
="$CXXFLAGS"
45231 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
45234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45235 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45236 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
45237 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
45238 $as_echo_n "(cached) " >&6
45243 ac_cpp
='$CXXCPP $CPPFLAGS'
45244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45249 /* end confdefs.h. */
45250 #include <stdlib.h>
45259 if ac_fn_cxx_try_compile
"$LINENO"; then :
45260 glibcxx_cv_func_at_quick_exit_use
=yes
45262 glibcxx_cv_func_at_quick_exit_use
=no
45264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45266 ac_cpp
='$CPP $CPPFLAGS'
45267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45276 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45277 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
45278 for ac_func
in at_quick_exit
45280 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45281 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
45282 cat >>confdefs.h
<<_ACEOF
45283 #define HAVE_AT_QUICK_EXIT 1
45292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45293 $as_echo_n "checking for quick_exit declaration... " >&6; }
45294 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
45295 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
45296 $as_echo_n "(cached) " >&6
45301 ac_cpp
='$CXXCPP $CPPFLAGS'
45302 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h. */
45308 #include <stdlib.h>
45317 if ac_fn_cxx_try_compile
"$LINENO"; then :
45318 glibcxx_cv_func_quick_exit_use
=yes
45320 glibcxx_cv_func_quick_exit_use
=no
45322 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45324 ac_cpp
='$CPP $CPPFLAGS'
45325 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45326 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45327 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45334 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45335 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
45336 for ac_func
in quick_exit
45338 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45339 if test "x$ac_cv_func_quick_exit" = xyes
; then :
45340 cat >>confdefs.h
<<_ACEOF
45341 #define HAVE_QUICK_EXIT 1
45350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45351 $as_echo_n "checking for strtold declaration... " >&6; }
45352 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
45353 if ${glibcxx_cv_func_strtold_use+:} false
; then :
45354 $as_echo_n "(cached) " >&6
45359 ac_cpp
='$CXXCPP $CPPFLAGS'
45360 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45365 /* end confdefs.h. */
45366 #include <stdlib.h>
45375 if ac_fn_cxx_try_compile
"$LINENO"; then :
45376 glibcxx_cv_func_strtold_use
=yes
45378 glibcxx_cv_func_strtold_use
=no
45380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45382 ac_cpp
='$CPP $CPPFLAGS'
45383 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45384 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45385 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45392 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45393 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
45394 for ac_func
in strtold
45396 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
45397 if test "x$ac_cv_func_strtold" = xyes
; then :
45398 cat >>confdefs.h
<<_ACEOF
45399 #define HAVE_STRTOLD 1
45408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45409 $as_echo_n "checking for strtof declaration... " >&6; }
45410 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
45411 if ${glibcxx_cv_func_strtof_use+:} false
; then :
45412 $as_echo_n "(cached) " >&6
45417 ac_cpp
='$CXXCPP $CPPFLAGS'
45418 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
45422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45423 /* end confdefs.h. */
45424 #include <stdlib.h>
45433 if ac_fn_cxx_try_compile
"$LINENO"; then :
45434 glibcxx_cv_func_strtof_use
=yes
45436 glibcxx_cv_func_strtof_use
=no
45438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
45440 ac_cpp
='$CPP $CPPFLAGS'
45441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
45449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45450 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45451 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
45452 for ac_func
in strtof
45454 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
45455 if test "x$ac_cv_func_strtof" = xyes
; then :
45456 cat >>confdefs.h
<<_ACEOF
45457 #define HAVE_STRTOF 1
45466 CXXFLAGS
="$ac_save_CXXFLAGS"
45468 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
45470 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45471 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
45472 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
45473 cat >>confdefs.h
<<_ACEOF
45474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45480 for ac_func
in _wfopen
45482 ac_fn_c_check_func
"$LINENO" "_wfopen" "ac_cv_func__wfopen"
45483 if test "x$ac_cv_func__wfopen" = xyes
; then :
45484 cat >>confdefs.h
<<_ACEOF
45485 #define HAVE__WFOPEN 1
45493 # Check whether --enable-tls was given.
45494 if test "${enable_tls+set}" = set; then :
45495 enableval
=$enable_tls;
45496 case "$enableval" in
45498 *) as_fn_error $?
"Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45507 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45508 if ${gcc_cv_have_tls+:} false
; then :
45509 $as_echo_n "(cached) " >&6
45512 if test "$cross_compiling" = yes; then :
45513 if test x
$gcc_no_link = xyes
; then
45514 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45517 /* end confdefs.h. */
45518 __thread int a; int b; int main() { return a = b; }
45520 if ac_fn_c_try_link
"$LINENO"; then :
45521 chktls_save_LDFLAGS
="$LDFLAGS"
45523 *-*-linux* |
-*-uclinuxfdpic*)
45524 LDFLAGS
="-shared -Wl,--no-undefined $LDFLAGS"
45527 chktls_save_CFLAGS
="$CFLAGS"
45528 CFLAGS
="-fPIC $CFLAGS"
45529 if test x
$gcc_no_link = xyes
; then
45530 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45533 /* end confdefs.h. */
45534 int f() { return 0; }
45536 if ac_fn_c_try_link
"$LINENO"; then :
45537 if test x
$gcc_no_link = xyes
; then
45538 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45541 /* end confdefs.h. */
45542 __thread int a; int b; int f() { return a = b; }
45544 if ac_fn_c_try_link
"$LINENO"; then :
45545 gcc_cv_have_tls
=yes
45549 rm -f core conftest.err conftest.
$ac_objext \
45550 conftest
$ac_exeext conftest.
$ac_ext
45552 gcc_cv_have_tls
=yes
45554 rm -f core conftest.err conftest.
$ac_objext \
45555 conftest
$ac_exeext conftest.
$ac_ext
45556 CFLAGS
="$chktls_save_CFLAGS"
45557 LDFLAGS
="$chktls_save_LDFLAGS"
45561 rm -f core conftest.err conftest.
$ac_objext \
45562 conftest
$ac_exeext conftest.
$ac_ext
45566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45567 /* end confdefs.h. */
45568 __thread int a; int b; int main() { return a = b; }
45570 if ac_fn_c_try_run
"$LINENO"; then :
45571 chktls_save_LDFLAGS
="$LDFLAGS"
45572 LDFLAGS
="-static $LDFLAGS"
45573 if test x
$gcc_no_link = xyes
; then
45574 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45577 /* end confdefs.h. */
45578 int main() { return 0; }
45580 if ac_fn_c_try_link
"$LINENO"; then :
45581 if test "$cross_compiling" = yes; then :
45582 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45584 as_fn_error $?
"cannot run test program while cross compiling
45585 See \`config.log' for more details" "$LINENO" 5; }
45587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45588 /* end confdefs.h. */
45589 __thread int a; int b; int main() { return a = b; }
45591 if ac_fn_c_try_run
"$LINENO"; then :
45592 gcc_cv_have_tls
=yes
45596 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
45597 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
45601 gcc_cv_have_tls
=yes
45603 rm -f core conftest.err conftest.
$ac_objext \
45604 conftest
$ac_exeext conftest.
$ac_ext
45605 LDFLAGS
="$chktls_save_LDFLAGS"
45606 if test $gcc_cv_have_tls = yes; then
45607 chktls_save_CFLAGS
="$CFLAGS"
45608 thread_CFLAGS
=failed
45609 for flag
in '' '-pthread' '-lpthread'; do
45610 CFLAGS
="$flag $chktls_save_CFLAGS"
45611 if test x
$gcc_no_link = xyes
; then
45612 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45615 /* end confdefs.h. */
45616 #include <pthread.h>
45617 void *g(void *d) { return NULL; }
45621 pthread_t t; pthread_create(&t,NULL,g,NULL);
45626 if ac_fn_c_try_link
"$LINENO"; then :
45627 thread_CFLAGS
="$flag"
45629 rm -f core conftest.err conftest.
$ac_objext \
45630 conftest
$ac_exeext conftest.
$ac_ext
45631 if test "X$thread_CFLAGS" != Xfailed
; then
45635 CFLAGS
="$chktls_save_CFLAGS"
45636 if test "X$thread_CFLAGS" != Xfailed
; then
45637 CFLAGS
="$thread_CFLAGS $chktls_save_CFLAGS"
45638 if test "$cross_compiling" = yes; then :
45639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45641 as_fn_error $?
"cannot run test program while cross compiling
45642 See \`config.log' for more details" "$LINENO" 5; }
45644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45645 /* end confdefs.h. */
45646 #include <pthread.h>
45648 static int *volatile a_in_other_thread;
45650 thread_func (void *arg)
45652 a_in_other_thread = &a;
45659 void *thread_retval;
45660 int *volatile a_in_main_thread;
45661 a_in_main_thread = &a;
45662 if (pthread_create (&thread, (pthread_attr_t *)0,
45663 thread_func, (void *)0))
45665 if (pthread_join (thread, &thread_retval))
45667 return (a_in_other_thread == a_in_main_thread);
45672 if ac_fn_c_try_run
"$LINENO"; then :
45673 gcc_cv_have_tls
=yes
45677 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
45678 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
45681 CFLAGS
="$chktls_save_CFLAGS"
45687 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
45688 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45693 $as_echo "$gcc_cv_have_tls" >&6; }
45694 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45696 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45700 *-netbsd* |
*-openbsd*)
45701 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
45704 # If we're not using GNU ld, then there's no point in even trying these
45705 # tests. Check for that first. We should have already tested for gld
45706 # by now (in libtool), but require it now just to be safe...
45707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
45708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
45712 # The name set by libtool depends on the version of libtool. Shame on us
45713 # for depending on an impl detail, but c'est la vie. Older versions used
45714 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45715 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45716 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45717 # set (hence we're using an older libtool), then set it.
45718 if test x
${with_gnu_ld+set} != xset
; then
45719 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
45720 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45723 with_gnu_ld
=$ac_cv_prog_gnu_ld
45727 # Start by getting the version number. I think the libtool test already
45728 # does some of this, but throws away the result.
45729 glibcxx_ld_is_gold
=no
45730 glibcxx_ld_is_mold
=no
45731 if test x
"$with_gnu_ld" = x
"yes"; then
45732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45733 $as_echo_n "checking for ld version... " >&6; }
45735 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
45736 glibcxx_ld_is_gold
=yes
45737 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
45738 glibcxx_ld_is_mold
=yes
45740 ldver
=`$LD --version 2>/dev/null |
45741 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
45743 glibcxx_gnu_ld_version
=`echo $ldver | \
45744 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45746 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45749 # Set --gc-sections.
45750 glibcxx_have_gc_sections
=no
45751 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
45752 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
45753 glibcxx_have_gc_sections
=yes
45756 glibcxx_gcsections_min_ld
=21602
45757 if test x
"$with_gnu_ld" = x
"yes" &&
45758 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45759 glibcxx_have_gc_sections
=yes
45762 if test "$glibcxx_have_gc_sections" = "yes"; then
45763 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45764 # NB: This flag only works reliably after 2.16.1. Configure tests
45765 # for this are difficult, so hard wire a value that should work.
45767 ac_test_CFLAGS
="${CFLAGS+set}"
45768 ac_save_CFLAGS
="$CFLAGS"
45769 CFLAGS
='-Wl,--gc-sections'
45771 # Check for -Wl,--gc-sections
45772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45773 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45774 if test x
$gcc_no_link = xyes
; then
45775 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45778 /* end confdefs.h. */
45779 int one(void) { return 1; }
45780 int two(void) { return 2; }
45790 if ac_fn_c_try_link
"$LINENO"; then :
45795 rm -f core conftest.err conftest.
$ac_objext \
45796 conftest
$ac_exeext conftest.
$ac_ext
45797 if test "$ac_gcsections" = "yes"; then
45800 if $CC -c conftest.c
; then
45801 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
45802 grep "Warning: gc-sections option ignored" > /dev
/null
; then
45806 rm -f conftest.c conftest.o conftest
45808 if test "$ac_gcsections" = "yes"; then
45809 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45812 $as_echo "$ac_gcsections" >&6; }
45814 if test "$ac_test_CFLAGS" = set; then
45815 CFLAGS
="$ac_save_CFLAGS"
45817 # this is the suspicious part
45823 # Note this is only for shared objects.
45825 if test x
"$with_gnu_ld" = x
"yes"; then
45826 # cygwin and mingw uses PE, which has no ELF relro support,
45827 # multi target ld may confuse configure machinery
45834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45835 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45836 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
45837 if test -n "$cxx_z_relo"; then
45838 OPT_LDFLAGS
="-Wl,-z,relro"
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45842 $as_echo "$ac_ld_relro" >&6; }
45846 # Set linker optimization flags.
45847 if test x
"$with_gnu_ld" = x
"yes"; then
45848 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
45854 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45856 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45858 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45860 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45862 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45864 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45866 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45868 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45870 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
45871 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45873 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45875 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45878 for ac_func
in aligned_alloc posix_memalign memalign _aligned_malloc
45880 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45881 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
45882 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
45883 cat >>confdefs.h
<<_ACEOF
45884 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45890 for ac_func
in timespec_get
45892 ac_fn_c_check_func
"$LINENO" "timespec_get" "ac_cv_func_timespec_get"
45893 if test "x$ac_cv_func_timespec_get" = xyes
; then :
45894 cat >>confdefs.h
<<_ACEOF
45895 #define HAVE_TIMESPEC_GET 1
45901 for ac_func
in sockatmark
45903 ac_fn_c_check_func
"$LINENO" "sockatmark" "ac_cv_func_sockatmark"
45904 if test "x$ac_cv_func_sockatmark" = xyes
; then :
45905 cat >>confdefs.h
<<_ACEOF
45906 #define HAVE_SOCKATMARK 1
45913 *-qnx6.1
* |
*-qnx6.2
*)
45914 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
45917 # If we're not using GNU ld, then there's no point in even trying these
45918 # tests. Check for that first. We should have already tested for gld
45919 # by now (in libtool), but require it now just to be safe...
45920 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS
=''
45921 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS
=''
45925 # The name set by libtool depends on the version of libtool. Shame on us
45926 # for depending on an impl detail, but c'est la vie. Older versions used
45927 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45928 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45929 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45930 # set (hence we're using an older libtool), then set it.
45931 if test x
${with_gnu_ld+set} != xset
; then
45932 if test x
${ac_cv_prog_gnu_ld+set} != xset
; then
45933 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45936 with_gnu_ld
=$ac_cv_prog_gnu_ld
45940 # Start by getting the version number. I think the libtool test already
45941 # does some of this, but throws away the result.
45942 glibcxx_ld_is_gold
=no
45943 glibcxx_ld_is_mold
=no
45944 if test x
"$with_gnu_ld" = x
"yes"; then
45945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45946 $as_echo_n "checking for ld version... " >&6; }
45948 if $LD --version 2>/dev
/null |
grep 'GNU gold' >/dev
/null
2>&1; then
45949 glibcxx_ld_is_gold
=yes
45950 elif $LD --version 2>/dev
/null |
grep 'mold' >/dev
/null
2>&1; then
45951 glibcxx_ld_is_mold
=yes
45953 ldver
=`$LD --version 2>/dev/null |
45954 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
45956 glibcxx_gnu_ld_version
=`echo $ldver | \
45957 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45959 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45962 # Set --gc-sections.
45963 glibcxx_have_gc_sections
=no
45964 if test "$glibcxx_ld_is_gold" = "yes" ||
test "$glibcxx_ld_is_mold" = "yes" ; then
45965 if $LD --help 2>/dev
/null |
grep gc-sections
>/dev
/null
2>&1; then
45966 glibcxx_have_gc_sections
=yes
45969 glibcxx_gcsections_min_ld
=21602
45970 if test x
"$with_gnu_ld" = x
"yes" &&
45971 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45972 glibcxx_have_gc_sections
=yes
45975 if test "$glibcxx_have_gc_sections" = "yes"; then
45976 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45977 # NB: This flag only works reliably after 2.16.1. Configure tests
45978 # for this are difficult, so hard wire a value that should work.
45980 ac_test_CFLAGS
="${CFLAGS+set}"
45981 ac_save_CFLAGS
="$CFLAGS"
45982 CFLAGS
='-Wl,--gc-sections'
45984 # Check for -Wl,--gc-sections
45985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45986 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45987 if test x
$gcc_no_link = xyes
; then
45988 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
45991 /* end confdefs.h. */
45992 int one(void) { return 1; }
45993 int two(void) { return 2; }
46003 if ac_fn_c_try_link
"$LINENO"; then :
46008 rm -f core conftest.err conftest.
$ac_objext \
46009 conftest
$ac_exeext conftest.
$ac_ext
46010 if test "$ac_gcsections" = "yes"; then
46013 if $CC -c conftest.c
; then
46014 if $LD --gc-sections -o conftest conftest.o
2>&1 | \
46015 grep "Warning: gc-sections option ignored" > /dev
/null
; then
46019 rm -f conftest.c conftest.o conftest
46021 if test "$ac_gcsections" = "yes"; then
46022 SECTION_LDFLAGS
="-Wl,--gc-sections $SECTION_LDFLAGS"
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46025 $as_echo "$ac_gcsections" >&6; }
46027 if test "$ac_test_CFLAGS" = set; then
46028 CFLAGS
="$ac_save_CFLAGS"
46030 # this is the suspicious part
46036 # Note this is only for shared objects.
46038 if test x
"$with_gnu_ld" = x
"yes"; then
46039 # cygwin and mingw uses PE, which has no ELF relro support,
46040 # multi target ld may confuse configure machinery
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46048 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46049 cxx_z_relo
=`$LD -v --help 2>/dev/null | grep "z relro"`
46050 if test -n "$cxx_z_relo"; then
46051 OPT_LDFLAGS
="-Wl,-z,relro"
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46055 $as_echo "$ac_ld_relro" >&6; }
46059 # Set linker optimization flags.
46060 if test x
"$with_gnu_ld" = x
"yes"; then
46061 OPT_LDFLAGS
="-Wl,-O1 $OPT_LDFLAGS"
46067 $as_echo "#define HAVE_COSF 1" >>confdefs.h
46069 $as_echo "#define HAVE_COSL 1" >>confdefs.h
46071 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
46073 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
46075 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
46077 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
46079 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
46081 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
46083 $as_echo "#define HAVE_SINF 1" >>confdefs.h
46085 $as_echo "#define HAVE_SINL 1" >>confdefs.h
46087 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
46089 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
46093 SECTION_FLAGS
='-ffunction-sections -fdata-sections'
46094 SECTION_LDFLAGS
='-Wl,--gc-sections $SECTION_LDFLAGS'
46096 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46098 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46100 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
46102 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
46104 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46106 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46108 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
46110 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46112 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
46114 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
46116 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
46117 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
46119 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
46121 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
46123 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
46128 # Check for available headers.
46129 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
46131 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
46132 ac_save_CXXFLAGS
="$CXXFLAGS"
46133 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
46135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46136 $as_echo_n "checking for sin in -lm... " >&6; }
46137 if ${ac_cv_lib_m_sin+:} false
; then :
46138 $as_echo_n "(cached) " >&6
46140 ac_check_lib_save_LIBS
=$LIBS
46142 if test x
$gcc_no_link = xyes
; then
46143 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46148 /* Override any GCC internal prototype to avoid an error.
46149 Use char because int might match the return type of a GCC
46150 builtin and then its argument prototype would still apply. */
46163 if ac_fn_c_try_link
"$LINENO"; then :
46164 ac_cv_lib_m_sin
=yes
46168 rm -f core conftest.err conftest.
$ac_objext \
46169 conftest
$ac_exeext conftest.
$ac_ext
46170 LIBS
=$ac_check_lib_save_LIBS
46172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46173 $as_echo "$ac_cv_lib_m_sin" >&6; }
46174 if test "x$ac_cv_lib_m_sin" = xyes
; then :
46178 ac_save_LIBS
="$LIBS"
46183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46184 $as_echo_n "checking for isinf declaration... " >&6; }
46185 if test x
${glibcxx_cv_func_isinf_use+set} != xset
; then
46186 if ${glibcxx_cv_func_isinf_use+:} false
; then :
46187 $as_echo_n "(cached) " >&6
46192 ac_cpp
='$CXXCPP $CPPFLAGS'
46193 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46194 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46195 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46198 /* end confdefs.h. */
46200 #ifdef HAVE_IEEEFP_H
46201 #include <ieeefp.h>
46212 if ac_fn_cxx_try_compile
"$LINENO"; then :
46213 glibcxx_cv_func_isinf_use
=yes
46215 glibcxx_cv_func_isinf_use
=no
46217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46219 ac_cpp
='$CPP $CPPFLAGS'
46220 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46221 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46222 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46229 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46231 if test x
$glibcxx_cv_func_isinf_use = x
"yes"; then
46232 for ac_func
in isinf
46234 ac_fn_c_check_func
"$LINENO" "isinf" "ac_cv_func_isinf"
46235 if test "x$ac_cv_func_isinf" = xyes
; then :
46236 cat >>confdefs.h
<<_ACEOF
46237 #define HAVE_ISINF 1
46247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46248 $as_echo_n "checking for isnan declaration... " >&6; }
46249 if test x
${glibcxx_cv_func_isnan_use+set} != xset
; then
46250 if ${glibcxx_cv_func_isnan_use+:} false
; then :
46251 $as_echo_n "(cached) " >&6
46256 ac_cpp
='$CXXCPP $CPPFLAGS'
46257 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46258 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46259 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46262 /* end confdefs.h. */
46264 #ifdef HAVE_IEEEFP_H
46265 #include <ieeefp.h>
46276 if ac_fn_cxx_try_compile
"$LINENO"; then :
46277 glibcxx_cv_func_isnan_use
=yes
46279 glibcxx_cv_func_isnan_use
=no
46281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46283 ac_cpp
='$CPP $CPPFLAGS'
46284 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46285 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46286 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46295 if test x
$glibcxx_cv_func_isnan_use = x
"yes"; then
46296 for ac_func
in isnan
46298 ac_fn_c_check_func
"$LINENO" "isnan" "ac_cv_func_isnan"
46299 if test "x$ac_cv_func_isnan" = xyes
; then :
46300 cat >>confdefs.h
<<_ACEOF
46301 #define HAVE_ISNAN 1
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46312 $as_echo_n "checking for finite declaration... " >&6; }
46313 if test x
${glibcxx_cv_func_finite_use+set} != xset
; then
46314 if ${glibcxx_cv_func_finite_use+:} false
; then :
46315 $as_echo_n "(cached) " >&6
46320 ac_cpp
='$CXXCPP $CPPFLAGS'
46321 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46326 /* end confdefs.h. */
46328 #ifdef HAVE_IEEEFP_H
46329 #include <ieeefp.h>
46340 if ac_fn_cxx_try_compile
"$LINENO"; then :
46341 glibcxx_cv_func_finite_use
=yes
46343 glibcxx_cv_func_finite_use
=no
46345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46347 ac_cpp
='$CPP $CPPFLAGS'
46348 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46357 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46359 if test x
$glibcxx_cv_func_finite_use = x
"yes"; then
46360 for ac_func
in finite
46362 ac_fn_c_check_func
"$LINENO" "finite" "ac_cv_func_finite"
46363 if test "x$ac_cv_func_finite" = xyes
; then :
46364 cat >>confdefs.h
<<_ACEOF
46365 #define HAVE_FINITE 1
46375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46376 $as_echo_n "checking for sincos declaration... " >&6; }
46377 if test x
${glibcxx_cv_func_sincos_use+set} != xset
; then
46378 if ${glibcxx_cv_func_sincos_use+:} false
; then :
46379 $as_echo_n "(cached) " >&6
46384 ac_cpp
='$CXXCPP $CPPFLAGS'
46385 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46386 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46387 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46390 /* end confdefs.h. */
46400 if ac_fn_cxx_try_compile
"$LINENO"; then :
46401 glibcxx_cv_func_sincos_use
=yes
46403 glibcxx_cv_func_sincos_use
=no
46405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46407 ac_cpp
='$CPP $CPPFLAGS'
46408 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46417 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46419 if test x
$glibcxx_cv_func_sincos_use = x
"yes"; then
46420 for ac_func
in sincos
46422 ac_fn_c_check_func
"$LINENO" "sincos" "ac_cv_func_sincos"
46423 if test "x$ac_cv_func_sincos" = xyes
; then :
46424 cat >>confdefs.h
<<_ACEOF
46425 #define HAVE_SINCOS 1
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46436 $as_echo_n "checking for fpclass declaration... " >&6; }
46437 if test x
${glibcxx_cv_func_fpclass_use+set} != xset
; then
46438 if ${glibcxx_cv_func_fpclass_use+:} false
; then :
46439 $as_echo_n "(cached) " >&6
46444 ac_cpp
='$CXXCPP $CPPFLAGS'
46445 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46452 #ifdef HAVE_IEEEFP_H
46453 #include <ieeefp.h>
46464 if ac_fn_cxx_try_compile
"$LINENO"; then :
46465 glibcxx_cv_func_fpclass_use
=yes
46467 glibcxx_cv_func_fpclass_use
=no
46469 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46471 ac_cpp
='$CPP $CPPFLAGS'
46472 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46481 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46483 if test x
$glibcxx_cv_func_fpclass_use = x
"yes"; then
46484 for ac_func
in fpclass
46486 ac_fn_c_check_func
"$LINENO" "fpclass" "ac_cv_func_fpclass"
46487 if test "x$ac_cv_func_fpclass" = xyes
; then :
46488 cat >>confdefs.h
<<_ACEOF
46489 #define HAVE_FPCLASS 1
46499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46500 $as_echo_n "checking for qfpclass declaration... " >&6; }
46501 if test x
${glibcxx_cv_func_qfpclass_use+set} != xset
; then
46502 if ${glibcxx_cv_func_qfpclass_use+:} false
; then :
46503 $as_echo_n "(cached) " >&6
46508 ac_cpp
='$CXXCPP $CPPFLAGS'
46509 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46510 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46511 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46514 /* end confdefs.h. */
46516 #ifdef HAVE_IEEEFP_H
46517 #include <ieeefp.h>
46528 if ac_fn_cxx_try_compile
"$LINENO"; then :
46529 glibcxx_cv_func_qfpclass_use
=yes
46531 glibcxx_cv_func_qfpclass_use
=no
46533 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46535 ac_cpp
='$CPP $CPPFLAGS'
46536 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46537 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46538 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46547 if test x
$glibcxx_cv_func_qfpclass_use = x
"yes"; then
46548 for ac_func
in qfpclass
46550 ac_fn_c_check_func
"$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46551 if test "x$ac_cv_func_qfpclass" = xyes
; then :
46552 cat >>confdefs.h
<<_ACEOF
46553 #define HAVE_QFPCLASS 1
46563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46564 $as_echo_n "checking for hypot declaration... " >&6; }
46565 if test x
${glibcxx_cv_func_hypot_use+set} != xset
; then
46566 if ${glibcxx_cv_func_hypot_use+:} false
; then :
46567 $as_echo_n "(cached) " >&6
46572 ac_cpp
='$CXXCPP $CPPFLAGS'
46573 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46574 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46575 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46578 /* end confdefs.h. */
46588 if ac_fn_cxx_try_compile
"$LINENO"; then :
46589 glibcxx_cv_func_hypot_use
=yes
46591 glibcxx_cv_func_hypot_use
=no
46593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46595 ac_cpp
='$CPP $CPPFLAGS'
46596 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46597 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46598 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46605 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46607 if test x
$glibcxx_cv_func_hypot_use = x
"yes"; then
46608 for ac_func
in hypot
46610 ac_fn_c_check_func
"$LINENO" "hypot" "ac_cv_func_hypot"
46611 if test "x$ac_cv_func_hypot" = xyes
; then :
46612 cat >>confdefs.h
<<_ACEOF
46613 #define HAVE_HYPOT 1
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46624 $as_echo_n "checking for float trig functions... " >&6; }
46625 if ${glibcxx_cv_func_float_trig_use+:} false
; then :
46626 $as_echo_n "(cached) " >&6
46631 ac_cpp
='$CXXCPP $CPPFLAGS'
46632 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46637 /* end confdefs.h. */
46642 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46647 if ac_fn_cxx_try_compile
"$LINENO"; then :
46648 glibcxx_cv_func_float_trig_use
=yes
46650 glibcxx_cv_func_float_trig_use
=no
46652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46654 ac_cpp
='$CPP $CPPFLAGS'
46655 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46656 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46657 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46662 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46663 if test x
$glibcxx_cv_func_float_trig_use = x
"yes"; then
46664 for ac_func
in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46666 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46667 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
46668 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
46669 cat >>confdefs.h
<<_ACEOF
46670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46681 $as_echo_n "checking for float round functions... " >&6; }
46682 if ${glibcxx_cv_func_float_round_use+:} false
; then :
46683 $as_echo_n "(cached) " >&6
46688 ac_cpp
='$CXXCPP $CPPFLAGS'
46689 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46690 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46691 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46694 /* end confdefs.h. */
46699 ceilf (0); floorf (0);
46704 if ac_fn_cxx_try_compile
"$LINENO"; then :
46705 glibcxx_cv_func_float_round_use
=yes
46707 glibcxx_cv_func_float_round_use
=no
46709 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46711 ac_cpp
='$CPP $CPPFLAGS'
46712 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46713 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46714 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46719 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46720 if test x
$glibcxx_cv_func_float_round_use = x
"yes"; then
46721 for ac_func
in ceilf floorf
46723 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46724 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
46725 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
46726 cat >>confdefs.h
<<_ACEOF
46727 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46739 $as_echo_n "checking for expf declaration... " >&6; }
46740 if test x
${glibcxx_cv_func_expf_use+set} != xset
; then
46741 if ${glibcxx_cv_func_expf_use+:} false
; then :
46742 $as_echo_n "(cached) " >&6
46747 ac_cpp
='$CXXCPP $CPPFLAGS'
46748 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46753 /* end confdefs.h. */
46755 #ifdef HAVE_IEEEFP_H
46756 #include <ieeefp.h>
46767 if ac_fn_cxx_try_compile
"$LINENO"; then :
46768 glibcxx_cv_func_expf_use
=yes
46770 glibcxx_cv_func_expf_use
=no
46772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46774 ac_cpp
='$CPP $CPPFLAGS'
46775 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46784 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46786 if test x
$glibcxx_cv_func_expf_use = x
"yes"; then
46787 for ac_func
in expf
46789 ac_fn_c_check_func
"$LINENO" "expf" "ac_cv_func_expf"
46790 if test "x$ac_cv_func_expf" = xyes
; then :
46791 cat >>confdefs.h
<<_ACEOF
46792 #define HAVE_EXPF 1
46802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46803 $as_echo_n "checking for isnanf declaration... " >&6; }
46804 if test x
${glibcxx_cv_func_isnanf_use+set} != xset
; then
46805 if ${glibcxx_cv_func_isnanf_use+:} false
; then :
46806 $as_echo_n "(cached) " >&6
46811 ac_cpp
='$CXXCPP $CPPFLAGS'
46812 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46813 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46814 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46817 /* end confdefs.h. */
46819 #ifdef HAVE_IEEEFP_H
46820 #include <ieeefp.h>
46831 if ac_fn_cxx_try_compile
"$LINENO"; then :
46832 glibcxx_cv_func_isnanf_use
=yes
46834 glibcxx_cv_func_isnanf_use
=no
46836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46838 ac_cpp
='$CPP $CPPFLAGS'
46839 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46840 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46841 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46848 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46850 if test x
$glibcxx_cv_func_isnanf_use = x
"yes"; then
46851 for ac_func
in isnanf
46853 ac_fn_c_check_func
"$LINENO" "isnanf" "ac_cv_func_isnanf"
46854 if test "x$ac_cv_func_isnanf" = xyes
; then :
46855 cat >>confdefs.h
<<_ACEOF
46856 #define HAVE_ISNANF 1
46866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46867 $as_echo_n "checking for isinff declaration... " >&6; }
46868 if test x
${glibcxx_cv_func_isinff_use+set} != xset
; then
46869 if ${glibcxx_cv_func_isinff_use+:} false
; then :
46870 $as_echo_n "(cached) " >&6
46875 ac_cpp
='$CXXCPP $CPPFLAGS'
46876 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46881 /* end confdefs.h. */
46883 #ifdef HAVE_IEEEFP_H
46884 #include <ieeefp.h>
46895 if ac_fn_cxx_try_compile
"$LINENO"; then :
46896 glibcxx_cv_func_isinff_use
=yes
46898 glibcxx_cv_func_isinff_use
=no
46900 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46902 ac_cpp
='$CPP $CPPFLAGS'
46903 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46904 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46905 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46912 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46914 if test x
$glibcxx_cv_func_isinff_use = x
"yes"; then
46915 for ac_func
in isinff
46917 ac_fn_c_check_func
"$LINENO" "isinff" "ac_cv_func_isinff"
46918 if test "x$ac_cv_func_isinff" = xyes
; then :
46919 cat >>confdefs.h
<<_ACEOF
46920 #define HAVE_ISINFF 1
46930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46931 $as_echo_n "checking for atan2f declaration... " >&6; }
46932 if test x
${glibcxx_cv_func_atan2f_use+set} != xset
; then
46933 if ${glibcxx_cv_func_atan2f_use+:} false
; then :
46934 $as_echo_n "(cached) " >&6
46939 ac_cpp
='$CXXCPP $CPPFLAGS'
46940 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46941 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46942 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
46944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
46945 /* end confdefs.h. */
46955 if ac_fn_cxx_try_compile
"$LINENO"; then :
46956 glibcxx_cv_func_atan2f_use
=yes
46958 glibcxx_cv_func_atan2f_use
=no
46960 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
46962 ac_cpp
='$CPP $CPPFLAGS'
46963 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
46971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46972 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46974 if test x
$glibcxx_cv_func_atan2f_use = x
"yes"; then
46975 for ac_func
in atan2f
46977 ac_fn_c_check_func
"$LINENO" "atan2f" "ac_cv_func_atan2f"
46978 if test "x$ac_cv_func_atan2f" = xyes
; then :
46979 cat >>confdefs.h
<<_ACEOF
46980 #define HAVE_ATAN2F 1
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46991 $as_echo_n "checking for fabsf declaration... " >&6; }
46992 if test x
${glibcxx_cv_func_fabsf_use+set} != xset
; then
46993 if ${glibcxx_cv_func_fabsf_use+:} false
; then :
46994 $as_echo_n "(cached) " >&6
46999 ac_cpp
='$CXXCPP $CPPFLAGS'
47000 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47001 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47002 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47005 /* end confdefs.h. */
47007 #ifdef HAVE_IEEEFP_H
47008 #include <ieeefp.h>
47019 if ac_fn_cxx_try_compile
"$LINENO"; then :
47020 glibcxx_cv_func_fabsf_use
=yes
47022 glibcxx_cv_func_fabsf_use
=no
47024 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47026 ac_cpp
='$CPP $CPPFLAGS'
47027 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47036 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47038 if test x
$glibcxx_cv_func_fabsf_use = x
"yes"; then
47039 for ac_func
in fabsf
47041 ac_fn_c_check_func
"$LINENO" "fabsf" "ac_cv_func_fabsf"
47042 if test "x$ac_cv_func_fabsf" = xyes
; then :
47043 cat >>confdefs.h
<<_ACEOF
47044 #define HAVE_FABSF 1
47054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47055 $as_echo_n "checking for fmodf declaration... " >&6; }
47056 if test x
${glibcxx_cv_func_fmodf_use+set} != xset
; then
47057 if ${glibcxx_cv_func_fmodf_use+:} false
; then :
47058 $as_echo_n "(cached) " >&6
47063 ac_cpp
='$CXXCPP $CPPFLAGS'
47064 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47065 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47066 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47069 /* end confdefs.h. */
47079 if ac_fn_cxx_try_compile
"$LINENO"; then :
47080 glibcxx_cv_func_fmodf_use
=yes
47082 glibcxx_cv_func_fmodf_use
=no
47084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47086 ac_cpp
='$CPP $CPPFLAGS'
47087 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47088 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47089 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47096 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47098 if test x
$glibcxx_cv_func_fmodf_use = x
"yes"; then
47099 for ac_func
in fmodf
47101 ac_fn_c_check_func
"$LINENO" "fmodf" "ac_cv_func_fmodf"
47102 if test "x$ac_cv_func_fmodf" = xyes
; then :
47103 cat >>confdefs.h
<<_ACEOF
47104 #define HAVE_FMODF 1
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47115 $as_echo_n "checking for frexpf declaration... " >&6; }
47116 if test x
${glibcxx_cv_func_frexpf_use+set} != xset
; then
47117 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
47118 $as_echo_n "(cached) " >&6
47123 ac_cpp
='$CXXCPP $CPPFLAGS'
47124 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47129 /* end confdefs.h. */
47139 if ac_fn_cxx_try_compile
"$LINENO"; then :
47140 glibcxx_cv_func_frexpf_use
=yes
47142 glibcxx_cv_func_frexpf_use
=no
47144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47146 ac_cpp
='$CPP $CPPFLAGS'
47147 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47156 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47158 if test x
$glibcxx_cv_func_frexpf_use = x
"yes"; then
47159 for ac_func
in frexpf
47161 ac_fn_c_check_func
"$LINENO" "frexpf" "ac_cv_func_frexpf"
47162 if test "x$ac_cv_func_frexpf" = xyes
; then :
47163 cat >>confdefs.h
<<_ACEOF
47164 #define HAVE_FREXPF 1
47174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47175 $as_echo_n "checking for hypotf declaration... " >&6; }
47176 if test x
${glibcxx_cv_func_hypotf_use+set} != xset
; then
47177 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
47178 $as_echo_n "(cached) " >&6
47183 ac_cpp
='$CXXCPP $CPPFLAGS'
47184 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47185 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47186 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47189 /* end confdefs.h. */
47199 if ac_fn_cxx_try_compile
"$LINENO"; then :
47200 glibcxx_cv_func_hypotf_use
=yes
47202 glibcxx_cv_func_hypotf_use
=no
47204 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47206 ac_cpp
='$CPP $CPPFLAGS'
47207 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47216 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47218 if test x
$glibcxx_cv_func_hypotf_use = x
"yes"; then
47219 for ac_func
in hypotf
47221 ac_fn_c_check_func
"$LINENO" "hypotf" "ac_cv_func_hypotf"
47222 if test "x$ac_cv_func_hypotf" = xyes
; then :
47223 cat >>confdefs.h
<<_ACEOF
47224 #define HAVE_HYPOTF 1
47234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47235 $as_echo_n "checking for ldexpf declaration... " >&6; }
47236 if test x
${glibcxx_cv_func_ldexpf_use+set} != xset
; then
47237 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
47238 $as_echo_n "(cached) " >&6
47243 ac_cpp
='$CXXCPP $CPPFLAGS'
47244 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47245 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47246 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47249 /* end confdefs.h. */
47259 if ac_fn_cxx_try_compile
"$LINENO"; then :
47260 glibcxx_cv_func_ldexpf_use
=yes
47262 glibcxx_cv_func_ldexpf_use
=no
47264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47266 ac_cpp
='$CPP $CPPFLAGS'
47267 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47268 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47269 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47276 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47278 if test x
$glibcxx_cv_func_ldexpf_use = x
"yes"; then
47279 for ac_func
in ldexpf
47281 ac_fn_c_check_func
"$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47282 if test "x$ac_cv_func_ldexpf" = xyes
; then :
47283 cat >>confdefs.h
<<_ACEOF
47284 #define HAVE_LDEXPF 1
47294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47295 $as_echo_n "checking for logf declaration... " >&6; }
47296 if test x
${glibcxx_cv_func_logf_use+set} != xset
; then
47297 if ${glibcxx_cv_func_logf_use+:} false
; then :
47298 $as_echo_n "(cached) " >&6
47303 ac_cpp
='$CXXCPP $CPPFLAGS'
47304 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47305 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47306 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47309 /* end confdefs.h. */
47311 #ifdef HAVE_IEEEFP_H
47312 #include <ieeefp.h>
47323 if ac_fn_cxx_try_compile
"$LINENO"; then :
47324 glibcxx_cv_func_logf_use
=yes
47326 glibcxx_cv_func_logf_use
=no
47328 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47330 ac_cpp
='$CPP $CPPFLAGS'
47331 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47340 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47342 if test x
$glibcxx_cv_func_logf_use = x
"yes"; then
47343 for ac_func
in logf
47345 ac_fn_c_check_func
"$LINENO" "logf" "ac_cv_func_logf"
47346 if test "x$ac_cv_func_logf" = xyes
; then :
47347 cat >>confdefs.h
<<_ACEOF
47348 #define HAVE_LOGF 1
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47359 $as_echo_n "checking for log10f declaration... " >&6; }
47360 if test x
${glibcxx_cv_func_log10f_use+set} != xset
; then
47361 if ${glibcxx_cv_func_log10f_use+:} false
; then :
47362 $as_echo_n "(cached) " >&6
47367 ac_cpp
='$CXXCPP $CPPFLAGS'
47368 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47369 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47370 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47373 /* end confdefs.h. */
47375 #ifdef HAVE_IEEEFP_H
47376 #include <ieeefp.h>
47387 if ac_fn_cxx_try_compile
"$LINENO"; then :
47388 glibcxx_cv_func_log10f_use
=yes
47390 glibcxx_cv_func_log10f_use
=no
47392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47394 ac_cpp
='$CPP $CPPFLAGS'
47395 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47404 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47406 if test x
$glibcxx_cv_func_log10f_use = x
"yes"; then
47407 for ac_func
in log10f
47409 ac_fn_c_check_func
"$LINENO" "log10f" "ac_cv_func_log10f"
47410 if test "x$ac_cv_func_log10f" = xyes
; then :
47411 cat >>confdefs.h
<<_ACEOF
47412 #define HAVE_LOG10F 1
47422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47423 $as_echo_n "checking for modff declaration... " >&6; }
47424 if test x
${glibcxx_cv_func_modff_use+set} != xset
; then
47425 if ${glibcxx_cv_func_modff_use+:} false
; then :
47426 $as_echo_n "(cached) " >&6
47431 ac_cpp
='$CXXCPP $CPPFLAGS'
47432 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47437 /* end confdefs.h. */
47447 if ac_fn_cxx_try_compile
"$LINENO"; then :
47448 glibcxx_cv_func_modff_use
=yes
47450 glibcxx_cv_func_modff_use
=no
47452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47454 ac_cpp
='$CPP $CPPFLAGS'
47455 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47464 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47466 if test x
$glibcxx_cv_func_modff_use = x
"yes"; then
47467 for ac_func
in modff
47469 ac_fn_c_check_func
"$LINENO" "modff" "ac_cv_func_modff"
47470 if test "x$ac_cv_func_modff" = xyes
; then :
47471 cat >>confdefs.h
<<_ACEOF
47472 #define HAVE_MODFF 1
47482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47483 $as_echo_n "checking for modf declaration... " >&6; }
47484 if test x
${glibcxx_cv_func_modf_use+set} != xset
; then
47485 if ${glibcxx_cv_func_modf_use+:} false
; then :
47486 $as_echo_n "(cached) " >&6
47491 ac_cpp
='$CXXCPP $CPPFLAGS'
47492 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47493 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47494 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47497 /* end confdefs.h. */
47507 if ac_fn_cxx_try_compile
"$LINENO"; then :
47508 glibcxx_cv_func_modf_use
=yes
47510 glibcxx_cv_func_modf_use
=no
47512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47514 ac_cpp
='$CPP $CPPFLAGS'
47515 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47516 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47517 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47526 if test x
$glibcxx_cv_func_modf_use = x
"yes"; then
47527 for ac_func
in modf
47529 ac_fn_c_check_func
"$LINENO" "modf" "ac_cv_func_modf"
47530 if test "x$ac_cv_func_modf" = xyes
; then :
47531 cat >>confdefs.h
<<_ACEOF
47532 #define HAVE_MODF 1
47542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47543 $as_echo_n "checking for powf declaration... " >&6; }
47544 if test x
${glibcxx_cv_func_powf_use+set} != xset
; then
47545 if ${glibcxx_cv_func_powf_use+:} false
; then :
47546 $as_echo_n "(cached) " >&6
47551 ac_cpp
='$CXXCPP $CPPFLAGS'
47552 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47553 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47554 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47557 /* end confdefs.h. */
47567 if ac_fn_cxx_try_compile
"$LINENO"; then :
47568 glibcxx_cv_func_powf_use
=yes
47570 glibcxx_cv_func_powf_use
=no
47572 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47574 ac_cpp
='$CPP $CPPFLAGS'
47575 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47576 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47577 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47584 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47586 if test x
$glibcxx_cv_func_powf_use = x
"yes"; then
47587 for ac_func
in powf
47589 ac_fn_c_check_func
"$LINENO" "powf" "ac_cv_func_powf"
47590 if test "x$ac_cv_func_powf" = xyes
; then :
47591 cat >>confdefs.h
<<_ACEOF
47592 #define HAVE_POWF 1
47602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47603 $as_echo_n "checking for sqrtf declaration... " >&6; }
47604 if test x
${glibcxx_cv_func_sqrtf_use+set} != xset
; then
47605 if ${glibcxx_cv_func_sqrtf_use+:} false
; then :
47606 $as_echo_n "(cached) " >&6
47611 ac_cpp
='$CXXCPP $CPPFLAGS'
47612 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47613 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47614 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47617 /* end confdefs.h. */
47619 #ifdef HAVE_IEEEFP_H
47620 #include <ieeefp.h>
47631 if ac_fn_cxx_try_compile
"$LINENO"; then :
47632 glibcxx_cv_func_sqrtf_use
=yes
47634 glibcxx_cv_func_sqrtf_use
=no
47636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47638 ac_cpp
='$CPP $CPPFLAGS'
47639 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47648 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47650 if test x
$glibcxx_cv_func_sqrtf_use = x
"yes"; then
47651 for ac_func
in sqrtf
47653 ac_fn_c_check_func
"$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47654 if test "x$ac_cv_func_sqrtf" = xyes
; then :
47655 cat >>confdefs.h
<<_ACEOF
47656 #define HAVE_SQRTF 1
47666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47667 $as_echo_n "checking for sincosf declaration... " >&6; }
47668 if test x
${glibcxx_cv_func_sincosf_use+set} != xset
; then
47669 if ${glibcxx_cv_func_sincosf_use+:} false
; then :
47670 $as_echo_n "(cached) " >&6
47675 ac_cpp
='$CXXCPP $CPPFLAGS'
47676 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47677 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47678 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47681 /* end confdefs.h. */
47691 if ac_fn_cxx_try_compile
"$LINENO"; then :
47692 glibcxx_cv_func_sincosf_use
=yes
47694 glibcxx_cv_func_sincosf_use
=no
47696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47698 ac_cpp
='$CPP $CPPFLAGS'
47699 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47700 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47701 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47708 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47710 if test x
$glibcxx_cv_func_sincosf_use = x
"yes"; then
47711 for ac_func
in sincosf
47713 ac_fn_c_check_func
"$LINENO" "sincosf" "ac_cv_func_sincosf"
47714 if test "x$ac_cv_func_sincosf" = xyes
; then :
47715 cat >>confdefs.h
<<_ACEOF
47716 #define HAVE_SINCOSF 1
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47727 $as_echo_n "checking for finitef declaration... " >&6; }
47728 if test x
${glibcxx_cv_func_finitef_use+set} != xset
; then
47729 if ${glibcxx_cv_func_finitef_use+:} false
; then :
47730 $as_echo_n "(cached) " >&6
47735 ac_cpp
='$CXXCPP $CPPFLAGS'
47736 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47737 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47738 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47741 /* end confdefs.h. */
47743 #ifdef HAVE_IEEEFP_H
47744 #include <ieeefp.h>
47755 if ac_fn_cxx_try_compile
"$LINENO"; then :
47756 glibcxx_cv_func_finitef_use
=yes
47758 glibcxx_cv_func_finitef_use
=no
47760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47762 ac_cpp
='$CPP $CPPFLAGS'
47763 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47772 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47774 if test x
$glibcxx_cv_func_finitef_use = x
"yes"; then
47775 for ac_func
in finitef
47777 ac_fn_c_check_func
"$LINENO" "finitef" "ac_cv_func_finitef"
47778 if test "x$ac_cv_func_finitef" = xyes
; then :
47779 cat >>confdefs.h
<<_ACEOF
47780 #define HAVE_FINITEF 1
47790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47791 $as_echo_n "checking for long double trig functions... " >&6; }
47792 if ${glibcxx_cv_func_long_double_trig_use+:} false
; then :
47793 $as_echo_n "(cached) " >&6
47798 ac_cpp
='$CXXCPP $CPPFLAGS'
47799 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47800 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47801 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47804 /* end confdefs.h. */
47809 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
47814 if ac_fn_cxx_try_compile
"$LINENO"; then :
47815 glibcxx_cv_func_long_double_trig_use
=yes
47817 glibcxx_cv_func_long_double_trig_use
=no
47819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47821 ac_cpp
='$CPP $CPPFLAGS'
47822 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47823 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47824 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
47829 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
47830 if test x
$glibcxx_cv_func_long_double_trig_use = x
"yes"; then
47831 for ac_func
in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
47833 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47834 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
47835 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
47836 cat >>confdefs.h
<<_ACEOF
47837 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
47848 $as_echo_n "checking for long double round functions... " >&6; }
47849 if ${glibcxx_cv_func_long_double_round_use+:} false
; then :
47850 $as_echo_n "(cached) " >&6
47855 ac_cpp
='$CXXCPP $CPPFLAGS'
47856 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47857 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47858 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47861 /* end confdefs.h. */
47866 ceill (0); floorl (0);
47871 if ac_fn_cxx_try_compile
"$LINENO"; then :
47872 glibcxx_cv_func_long_double_round_use
=yes
47874 glibcxx_cv_func_long_double_round_use
=no
47876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47878 ac_cpp
='$CPP $CPPFLAGS'
47879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
47886 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
47887 if test x
$glibcxx_cv_func_long_double_round_use = x
"yes"; then
47888 for ac_func
in ceill floorl
47890 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47891 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
47892 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
47893 cat >>confdefs.h
<<_ACEOF
47894 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
47906 $as_echo_n "checking for isnanl declaration... " >&6; }
47907 if test x
${glibcxx_cv_func_isnanl_use+set} != xset
; then
47908 if ${glibcxx_cv_func_isnanl_use+:} false
; then :
47909 $as_echo_n "(cached) " >&6
47914 ac_cpp
='$CXXCPP $CPPFLAGS'
47915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47920 /* end confdefs.h. */
47922 #ifdef HAVE_IEEEFP_H
47923 #include <ieeefp.h>
47934 if ac_fn_cxx_try_compile
"$LINENO"; then :
47935 glibcxx_cv_func_isnanl_use
=yes
47937 glibcxx_cv_func_isnanl_use
=no
47939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
47941 ac_cpp
='$CPP $CPPFLAGS'
47942 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
47950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
47951 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
47953 if test x
$glibcxx_cv_func_isnanl_use = x
"yes"; then
47954 for ac_func
in isnanl
47956 ac_fn_c_check_func
"$LINENO" "isnanl" "ac_cv_func_isnanl"
47957 if test "x$ac_cv_func_isnanl" = xyes
; then :
47958 cat >>confdefs.h
<<_ACEOF
47959 #define HAVE_ISNANL 1
47969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
47970 $as_echo_n "checking for isinfl declaration... " >&6; }
47971 if test x
${glibcxx_cv_func_isinfl_use+set} != xset
; then
47972 if ${glibcxx_cv_func_isinfl_use+:} false
; then :
47973 $as_echo_n "(cached) " >&6
47978 ac_cpp
='$CXXCPP $CPPFLAGS'
47979 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47980 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47981 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
47983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
47984 /* end confdefs.h. */
47986 #ifdef HAVE_IEEEFP_H
47987 #include <ieeefp.h>
47998 if ac_fn_cxx_try_compile
"$LINENO"; then :
47999 glibcxx_cv_func_isinfl_use
=yes
48001 glibcxx_cv_func_isinfl_use
=no
48003 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48005 ac_cpp
='$CPP $CPPFLAGS'
48006 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48007 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48008 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48015 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48017 if test x
$glibcxx_cv_func_isinfl_use = x
"yes"; then
48018 for ac_func
in isinfl
48020 ac_fn_c_check_func
"$LINENO" "isinfl" "ac_cv_func_isinfl"
48021 if test "x$ac_cv_func_isinfl" = xyes
; then :
48022 cat >>confdefs.h
<<_ACEOF
48023 #define HAVE_ISINFL 1
48033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48034 $as_echo_n "checking for atan2l declaration... " >&6; }
48035 if test x
${glibcxx_cv_func_atan2l_use+set} != xset
; then
48036 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
48037 $as_echo_n "(cached) " >&6
48042 ac_cpp
='$CXXCPP $CPPFLAGS'
48043 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48044 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48045 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48048 /* end confdefs.h. */
48058 if ac_fn_cxx_try_compile
"$LINENO"; then :
48059 glibcxx_cv_func_atan2l_use
=yes
48061 glibcxx_cv_func_atan2l_use
=no
48063 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48065 ac_cpp
='$CPP $CPPFLAGS'
48066 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48067 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48068 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48075 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48077 if test x
$glibcxx_cv_func_atan2l_use = x
"yes"; then
48078 for ac_func
in atan2l
48080 ac_fn_c_check_func
"$LINENO" "atan2l" "ac_cv_func_atan2l"
48081 if test "x$ac_cv_func_atan2l" = xyes
; then :
48082 cat >>confdefs.h
<<_ACEOF
48083 #define HAVE_ATAN2L 1
48093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48094 $as_echo_n "checking for expl declaration... " >&6; }
48095 if test x
${glibcxx_cv_func_expl_use+set} != xset
; then
48096 if ${glibcxx_cv_func_expl_use+:} false
; then :
48097 $as_echo_n "(cached) " >&6
48102 ac_cpp
='$CXXCPP $CPPFLAGS'
48103 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48108 /* end confdefs.h. */
48110 #ifdef HAVE_IEEEFP_H
48111 #include <ieeefp.h>
48122 if ac_fn_cxx_try_compile
"$LINENO"; then :
48123 glibcxx_cv_func_expl_use
=yes
48125 glibcxx_cv_func_expl_use
=no
48127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48129 ac_cpp
='$CPP $CPPFLAGS'
48130 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48131 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48132 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48139 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48141 if test x
$glibcxx_cv_func_expl_use = x
"yes"; then
48142 for ac_func
in expl
48144 ac_fn_c_check_func
"$LINENO" "expl" "ac_cv_func_expl"
48145 if test "x$ac_cv_func_expl" = xyes
; then :
48146 cat >>confdefs.h
<<_ACEOF
48147 #define HAVE_EXPL 1
48157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48158 $as_echo_n "checking for fabsl declaration... " >&6; }
48159 if test x
${glibcxx_cv_func_fabsl_use+set} != xset
; then
48160 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
48161 $as_echo_n "(cached) " >&6
48166 ac_cpp
='$CXXCPP $CPPFLAGS'
48167 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48168 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48169 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48172 /* end confdefs.h. */
48174 #ifdef HAVE_IEEEFP_H
48175 #include <ieeefp.h>
48186 if ac_fn_cxx_try_compile
"$LINENO"; then :
48187 glibcxx_cv_func_fabsl_use
=yes
48189 glibcxx_cv_func_fabsl_use
=no
48191 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48193 ac_cpp
='$CPP $CPPFLAGS'
48194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48203 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48205 if test x
$glibcxx_cv_func_fabsl_use = x
"yes"; then
48206 for ac_func
in fabsl
48208 ac_fn_c_check_func
"$LINENO" "fabsl" "ac_cv_func_fabsl"
48209 if test "x$ac_cv_func_fabsl" = xyes
; then :
48210 cat >>confdefs.h
<<_ACEOF
48211 #define HAVE_FABSL 1
48221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48222 $as_echo_n "checking for fmodl declaration... " >&6; }
48223 if test x
${glibcxx_cv_func_fmodl_use+set} != xset
; then
48224 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
48225 $as_echo_n "(cached) " >&6
48230 ac_cpp
='$CXXCPP $CPPFLAGS'
48231 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48232 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48233 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48235 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48236 /* end confdefs.h. */
48246 if ac_fn_cxx_try_compile
"$LINENO"; then :
48247 glibcxx_cv_func_fmodl_use
=yes
48249 glibcxx_cv_func_fmodl_use
=no
48251 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48253 ac_cpp
='$CPP $CPPFLAGS'
48254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48263 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48265 if test x
$glibcxx_cv_func_fmodl_use = x
"yes"; then
48266 for ac_func
in fmodl
48268 ac_fn_c_check_func
"$LINENO" "fmodl" "ac_cv_func_fmodl"
48269 if test "x$ac_cv_func_fmodl" = xyes
; then :
48270 cat >>confdefs.h
<<_ACEOF
48271 #define HAVE_FMODL 1
48281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48282 $as_echo_n "checking for frexpl declaration... " >&6; }
48283 if test x
${glibcxx_cv_func_frexpl_use+set} != xset
; then
48284 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
48285 $as_echo_n "(cached) " >&6
48290 ac_cpp
='$CXXCPP $CPPFLAGS'
48291 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48292 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48293 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48296 /* end confdefs.h. */
48306 if ac_fn_cxx_try_compile
"$LINENO"; then :
48307 glibcxx_cv_func_frexpl_use
=yes
48309 glibcxx_cv_func_frexpl_use
=no
48311 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48313 ac_cpp
='$CPP $CPPFLAGS'
48314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
48323 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
48325 if test x
$glibcxx_cv_func_frexpl_use = x
"yes"; then
48326 for ac_func
in frexpl
48328 ac_fn_c_check_func
"$LINENO" "frexpl" "ac_cv_func_frexpl"
48329 if test "x$ac_cv_func_frexpl" = xyes
; then :
48330 cat >>confdefs.h
<<_ACEOF
48331 #define HAVE_FREXPL 1
48341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
48342 $as_echo_n "checking for hypotl declaration... " >&6; }
48343 if test x
${glibcxx_cv_func_hypotl_use+set} != xset
; then
48344 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
48345 $as_echo_n "(cached) " >&6
48350 ac_cpp
='$CXXCPP $CPPFLAGS'
48351 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48356 /* end confdefs.h. */
48366 if ac_fn_cxx_try_compile
"$LINENO"; then :
48367 glibcxx_cv_func_hypotl_use
=yes
48369 glibcxx_cv_func_hypotl_use
=no
48371 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48373 ac_cpp
='$CPP $CPPFLAGS'
48374 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48375 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48376 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
48383 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
48385 if test x
$glibcxx_cv_func_hypotl_use = x
"yes"; then
48386 for ac_func
in hypotl
48388 ac_fn_c_check_func
"$LINENO" "hypotl" "ac_cv_func_hypotl"
48389 if test "x$ac_cv_func_hypotl" = xyes
; then :
48390 cat >>confdefs.h
<<_ACEOF
48391 #define HAVE_HYPOTL 1
48401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
48402 $as_echo_n "checking for ldexpl declaration... " >&6; }
48403 if test x
${glibcxx_cv_func_ldexpl_use+set} != xset
; then
48404 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
48405 $as_echo_n "(cached) " >&6
48410 ac_cpp
='$CXXCPP $CPPFLAGS'
48411 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48412 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48413 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48416 /* end confdefs.h. */
48426 if ac_fn_cxx_try_compile
"$LINENO"; then :
48427 glibcxx_cv_func_ldexpl_use
=yes
48429 glibcxx_cv_func_ldexpl_use
=no
48431 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48433 ac_cpp
='$CPP $CPPFLAGS'
48434 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48435 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48436 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
48443 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
48445 if test x
$glibcxx_cv_func_ldexpl_use = x
"yes"; then
48446 for ac_func
in ldexpl
48448 ac_fn_c_check_func
"$LINENO" "ldexpl" "ac_cv_func_ldexpl"
48449 if test "x$ac_cv_func_ldexpl" = xyes
; then :
48450 cat >>confdefs.h
<<_ACEOF
48451 #define HAVE_LDEXPL 1
48461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
48462 $as_echo_n "checking for logl declaration... " >&6; }
48463 if test x
${glibcxx_cv_func_logl_use+set} != xset
; then
48464 if ${glibcxx_cv_func_logl_use+:} false
; then :
48465 $as_echo_n "(cached) " >&6
48470 ac_cpp
='$CXXCPP $CPPFLAGS'
48471 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48476 /* end confdefs.h. */
48478 #ifdef HAVE_IEEEFP_H
48479 #include <ieeefp.h>
48490 if ac_fn_cxx_try_compile
"$LINENO"; then :
48491 glibcxx_cv_func_logl_use
=yes
48493 glibcxx_cv_func_logl_use
=no
48495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48497 ac_cpp
='$CPP $CPPFLAGS'
48498 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48499 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48500 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
48507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
48509 if test x
$glibcxx_cv_func_logl_use = x
"yes"; then
48510 for ac_func
in logl
48512 ac_fn_c_check_func
"$LINENO" "logl" "ac_cv_func_logl"
48513 if test "x$ac_cv_func_logl" = xyes
; then :
48514 cat >>confdefs.h
<<_ACEOF
48515 #define HAVE_LOGL 1
48525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
48526 $as_echo_n "checking for log10l declaration... " >&6; }
48527 if test x
${glibcxx_cv_func_log10l_use+set} != xset
; then
48528 if ${glibcxx_cv_func_log10l_use+:} false
; then :
48529 $as_echo_n "(cached) " >&6
48534 ac_cpp
='$CXXCPP $CPPFLAGS'
48535 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48540 /* end confdefs.h. */
48542 #ifdef HAVE_IEEEFP_H
48543 #include <ieeefp.h>
48554 if ac_fn_cxx_try_compile
"$LINENO"; then :
48555 glibcxx_cv_func_log10l_use
=yes
48557 glibcxx_cv_func_log10l_use
=no
48559 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48561 ac_cpp
='$CPP $CPPFLAGS'
48562 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48563 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48564 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
48571 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
48573 if test x
$glibcxx_cv_func_log10l_use = x
"yes"; then
48574 for ac_func
in log10l
48576 ac_fn_c_check_func
"$LINENO" "log10l" "ac_cv_func_log10l"
48577 if test "x$ac_cv_func_log10l" = xyes
; then :
48578 cat >>confdefs.h
<<_ACEOF
48579 #define HAVE_LOG10L 1
48589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
48590 $as_echo_n "checking for modfl declaration... " >&6; }
48591 if test x
${glibcxx_cv_func_modfl_use+set} != xset
; then
48592 if ${glibcxx_cv_func_modfl_use+:} false
; then :
48593 $as_echo_n "(cached) " >&6
48598 ac_cpp
='$CXXCPP $CPPFLAGS'
48599 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48600 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48601 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48604 /* end confdefs.h. */
48614 if ac_fn_cxx_try_compile
"$LINENO"; then :
48615 glibcxx_cv_func_modfl_use
=yes
48617 glibcxx_cv_func_modfl_use
=no
48619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48621 ac_cpp
='$CPP $CPPFLAGS'
48622 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48623 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48624 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
48631 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
48633 if test x
$glibcxx_cv_func_modfl_use = x
"yes"; then
48634 for ac_func
in modfl
48636 ac_fn_c_check_func
"$LINENO" "modfl" "ac_cv_func_modfl"
48637 if test "x$ac_cv_func_modfl" = xyes
; then :
48638 cat >>confdefs.h
<<_ACEOF
48639 #define HAVE_MODFL 1
48649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
48650 $as_echo_n "checking for powl declaration... " >&6; }
48651 if test x
${glibcxx_cv_func_powl_use+set} != xset
; then
48652 if ${glibcxx_cv_func_powl_use+:} false
; then :
48653 $as_echo_n "(cached) " >&6
48658 ac_cpp
='$CXXCPP $CPPFLAGS'
48659 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48660 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48661 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48664 /* end confdefs.h. */
48674 if ac_fn_cxx_try_compile
"$LINENO"; then :
48675 glibcxx_cv_func_powl_use
=yes
48677 glibcxx_cv_func_powl_use
=no
48679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48681 ac_cpp
='$CPP $CPPFLAGS'
48682 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
48691 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
48693 if test x
$glibcxx_cv_func_powl_use = x
"yes"; then
48694 for ac_func
in powl
48696 ac_fn_c_check_func
"$LINENO" "powl" "ac_cv_func_powl"
48697 if test "x$ac_cv_func_powl" = xyes
; then :
48698 cat >>confdefs.h
<<_ACEOF
48699 #define HAVE_POWL 1
48709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
48710 $as_echo_n "checking for sqrtl declaration... " >&6; }
48711 if test x
${glibcxx_cv_func_sqrtl_use+set} != xset
; then
48712 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
48713 $as_echo_n "(cached) " >&6
48718 ac_cpp
='$CXXCPP $CPPFLAGS'
48719 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48724 /* end confdefs.h. */
48726 #ifdef HAVE_IEEEFP_H
48727 #include <ieeefp.h>
48738 if ac_fn_cxx_try_compile
"$LINENO"; then :
48739 glibcxx_cv_func_sqrtl_use
=yes
48741 glibcxx_cv_func_sqrtl_use
=no
48743 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48745 ac_cpp
='$CPP $CPPFLAGS'
48746 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
48755 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
48757 if test x
$glibcxx_cv_func_sqrtl_use = x
"yes"; then
48758 for ac_func
in sqrtl
48760 ac_fn_c_check_func
"$LINENO" "sqrtl" "ac_cv_func_sqrtl"
48761 if test "x$ac_cv_func_sqrtl" = xyes
; then :
48762 cat >>confdefs.h
<<_ACEOF
48763 #define HAVE_SQRTL 1
48773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
48774 $as_echo_n "checking for sincosl declaration... " >&6; }
48775 if test x
${glibcxx_cv_func_sincosl_use+set} != xset
; then
48776 if ${glibcxx_cv_func_sincosl_use+:} false
; then :
48777 $as_echo_n "(cached) " >&6
48782 ac_cpp
='$CXXCPP $CPPFLAGS'
48783 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48784 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48785 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48788 /* end confdefs.h. */
48798 if ac_fn_cxx_try_compile
"$LINENO"; then :
48799 glibcxx_cv_func_sincosl_use
=yes
48801 glibcxx_cv_func_sincosl_use
=no
48803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48805 ac_cpp
='$CPP $CPPFLAGS'
48806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
48815 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
48817 if test x
$glibcxx_cv_func_sincosl_use = x
"yes"; then
48818 for ac_func
in sincosl
48820 ac_fn_c_check_func
"$LINENO" "sincosl" "ac_cv_func_sincosl"
48821 if test "x$ac_cv_func_sincosl" = xyes
; then :
48822 cat >>confdefs.h
<<_ACEOF
48823 #define HAVE_SINCOSL 1
48833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
48834 $as_echo_n "checking for finitel declaration... " >&6; }
48835 if test x
${glibcxx_cv_func_finitel_use+set} != xset
; then
48836 if ${glibcxx_cv_func_finitel_use+:} false
; then :
48837 $as_echo_n "(cached) " >&6
48842 ac_cpp
='$CXXCPP $CPPFLAGS'
48843 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48844 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48845 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48848 /* end confdefs.h. */
48850 #ifdef HAVE_IEEEFP_H
48851 #include <ieeefp.h>
48862 if ac_fn_cxx_try_compile
"$LINENO"; then :
48863 glibcxx_cv_func_finitel_use
=yes
48865 glibcxx_cv_func_finitel_use
=no
48867 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48869 ac_cpp
='$CPP $CPPFLAGS'
48870 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
48879 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
48881 if test x
$glibcxx_cv_func_finitel_use = x
"yes"; then
48882 for ac_func
in finitel
48884 ac_fn_c_check_func
"$LINENO" "finitel" "ac_cv_func_finitel"
48885 if test "x$ac_cv_func_finitel" = xyes
; then :
48886 cat >>confdefs.h
<<_ACEOF
48887 #define HAVE_FINITEL 1
48896 LIBS
="$ac_save_LIBS"
48897 CXXFLAGS
="$ac_save_CXXFLAGS"
48900 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
48901 ac_save_CXXFLAGS
="$CXXFLAGS"
48902 CXXFLAGS
='-fno-builtin -D_GNU_SOURCE'
48905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
48906 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
48907 if test x
${glibcxx_cv_func_at_quick_exit_use+set} != xset
; then
48908 if ${glibcxx_cv_func_at_quick_exit_use+:} false
; then :
48909 $as_echo_n "(cached) " >&6
48914 ac_cpp
='$CXXCPP $CPPFLAGS'
48915 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48916 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48917 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48920 /* end confdefs.h. */
48921 #include <stdlib.h>
48930 if ac_fn_cxx_try_compile
"$LINENO"; then :
48931 glibcxx_cv_func_at_quick_exit_use
=yes
48933 glibcxx_cv_func_at_quick_exit_use
=no
48935 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48937 ac_cpp
='$CPP $CPPFLAGS'
48938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
48946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
48947 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
48948 if test x
$glibcxx_cv_func_at_quick_exit_use = x
"yes"; then
48949 for ac_func
in at_quick_exit
48951 ac_fn_c_check_func
"$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
48952 if test "x$ac_cv_func_at_quick_exit" = xyes
; then :
48953 cat >>confdefs.h
<<_ACEOF
48954 #define HAVE_AT_QUICK_EXIT 1
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
48964 $as_echo_n "checking for quick_exit declaration... " >&6; }
48965 if test x
${glibcxx_cv_func_quick_exit_use+set} != xset
; then
48966 if ${glibcxx_cv_func_quick_exit_use+:} false
; then :
48967 $as_echo_n "(cached) " >&6
48972 ac_cpp
='$CXXCPP $CPPFLAGS'
48973 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48974 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48975 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
48977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
48978 /* end confdefs.h. */
48979 #include <stdlib.h>
48988 if ac_fn_cxx_try_compile
"$LINENO"; then :
48989 glibcxx_cv_func_quick_exit_use
=yes
48991 glibcxx_cv_func_quick_exit_use
=no
48993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
48995 ac_cpp
='$CPP $CPPFLAGS'
48996 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
49005 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
49006 if test x
$glibcxx_cv_func_quick_exit_use = x
"yes"; then
49007 for ac_func
in quick_exit
49009 ac_fn_c_check_func
"$LINENO" "quick_exit" "ac_cv_func_quick_exit"
49010 if test "x$ac_cv_func_quick_exit" = xyes
; then :
49011 cat >>confdefs.h
<<_ACEOF
49012 #define HAVE_QUICK_EXIT 1
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
49022 $as_echo_n "checking for strtold declaration... " >&6; }
49023 if test x
${glibcxx_cv_func_strtold_use+set} != xset
; then
49024 if ${glibcxx_cv_func_strtold_use+:} false
; then :
49025 $as_echo_n "(cached) " >&6
49030 ac_cpp
='$CXXCPP $CPPFLAGS'
49031 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
49035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <stdlib.h>
49046 if ac_fn_cxx_try_compile
"$LINENO"; then :
49047 glibcxx_cv_func_strtold_use
=yes
49049 glibcxx_cv_func_strtold_use
=no
49051 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49053 ac_cpp
='$CPP $CPPFLAGS'
49054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
49063 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
49064 if test x
$glibcxx_cv_func_strtold_use = x
"yes"; then
49065 for ac_func
in strtold
49067 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
49068 if test "x$ac_cv_func_strtold" = xyes
; then :
49069 cat >>confdefs.h
<<_ACEOF
49070 #define HAVE_STRTOLD 1
49079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
49080 $as_echo_n "checking for strtof declaration... " >&6; }
49081 if test x
${glibcxx_cv_func_strtof_use+set} != xset
; then
49082 if ${glibcxx_cv_func_strtof_use+:} false
; then :
49083 $as_echo_n "(cached) " >&6
49088 ac_cpp
='$CXXCPP $CPPFLAGS'
49089 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
49093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49094 /* end confdefs.h. */
49095 #include <stdlib.h>
49104 if ac_fn_cxx_try_compile
"$LINENO"; then :
49105 glibcxx_cv_func_strtof_use
=yes
49107 glibcxx_cv_func_strtof_use
=no
49109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49111 ac_cpp
='$CPP $CPPFLAGS'
49112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
49121 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
49122 if test x
$glibcxx_cv_func_strtof_use = x
"yes"; then
49123 for ac_func
in strtof
49125 ac_fn_c_check_func
"$LINENO" "strtof" "ac_cv_func_strtof"
49126 if test "x$ac_cv_func_strtof" = xyes
; then :
49127 cat >>confdefs.h
<<_ACEOF
49128 #define HAVE_STRTOF 1
49137 CXXFLAGS
="$ac_save_CXXFLAGS"
49141 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
49143 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
49145 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
49147 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
49149 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
49151 $as_echo "#define HAVE_COSF 1" >>confdefs.h
49153 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
49155 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
49157 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
49159 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
49161 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
49163 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
49165 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
49167 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
49169 $as_echo "#define HAVE_POWF 1" >>confdefs.h
49171 $as_echo "#define HAVE_SINF 1" >>confdefs.h
49173 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
49175 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
49177 $as_echo "#define HAVE_TANF 1" >>confdefs.h
49179 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
49185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
49186 $as_echo_n "checking for acosl declaration... " >&6; }
49187 if ${glibcxx_cv_func_acosl_use+:} false
; then :
49188 $as_echo_n "(cached) " >&6
49193 ac_cpp
='$CPP $CPPFLAGS'
49194 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49195 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49196 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49199 /* end confdefs.h. */
49202 #ifdef HAVE_IEEEFP_H
49203 # include <ieeefp.h>
49211 void (*f)(void) = (void (*)(void))acosl;
49217 if ac_fn_c_try_compile
"$LINENO"; then :
49218 glibcxx_cv_func_acosl_use
=yes
49221 glibcxx_cv_func_acosl_use
=no
49223 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
49226 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
49227 if test "x$glibcxx_cv_func_acosl_use" = xyes
; then
49228 cat >>confdefs.h
<<_ACEOF
49229 #define HAVE_ACOSL 1
49236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
49237 $as_echo_n "checking for asinl declaration... " >&6; }
49238 if ${glibcxx_cv_func_asinl_use+:} false
; then :
49239 $as_echo_n "(cached) " >&6
49244 ac_cpp
='$CPP $CPPFLAGS'
49245 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49246 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49247 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49250 /* end confdefs.h. */
49253 #ifdef HAVE_IEEEFP_H
49254 # include <ieeefp.h>
49262 void (*f)(void) = (void (*)(void))asinl;
49268 if ac_fn_c_try_compile
"$LINENO"; then :
49269 glibcxx_cv_func_asinl_use
=yes
49272 glibcxx_cv_func_asinl_use
=no
49274 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
49277 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
49278 if test "x$glibcxx_cv_func_asinl_use" = xyes
; then
49279 cat >>confdefs.h
<<_ACEOF
49280 #define HAVE_ASINL 1
49287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49288 $as_echo_n "checking for atan2l declaration... " >&6; }
49289 if ${glibcxx_cv_func_atan2l_use+:} false
; then :
49290 $as_echo_n "(cached) " >&6
49295 ac_cpp
='$CPP $CPPFLAGS'
49296 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49301 /* end confdefs.h. */
49304 #ifdef HAVE_IEEEFP_H
49305 # include <ieeefp.h>
49313 void (*f)(void) = (void (*)(void))atan2l;
49319 if ac_fn_c_try_compile
"$LINENO"; then :
49320 glibcxx_cv_func_atan2l_use
=yes
49323 glibcxx_cv_func_atan2l_use
=no
49325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49328 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49329 if test "x$glibcxx_cv_func_atan2l_use" = xyes
; then
49330 cat >>confdefs.h
<<_ACEOF
49331 #define HAVE_ATAN2L 1
49338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
49339 $as_echo_n "checking for atanl declaration... " >&6; }
49340 if ${glibcxx_cv_func_atanl_use+:} false
; then :
49341 $as_echo_n "(cached) " >&6
49346 ac_cpp
='$CPP $CPPFLAGS'
49347 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49348 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49349 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49352 /* end confdefs.h. */
49355 #ifdef HAVE_IEEEFP_H
49356 # include <ieeefp.h>
49364 void (*f)(void) = (void (*)(void))atanl;
49370 if ac_fn_c_try_compile
"$LINENO"; then :
49371 glibcxx_cv_func_atanl_use
=yes
49374 glibcxx_cv_func_atanl_use
=no
49376 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
49379 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
49380 if test "x$glibcxx_cv_func_atanl_use" = xyes
; then
49381 cat >>confdefs.h
<<_ACEOF
49382 #define HAVE_ATANL 1
49389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
49390 $as_echo_n "checking for ceill declaration... " >&6; }
49391 if ${glibcxx_cv_func_ceill_use+:} false
; then :
49392 $as_echo_n "(cached) " >&6
49397 ac_cpp
='$CPP $CPPFLAGS'
49398 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49403 /* end confdefs.h. */
49406 #ifdef HAVE_IEEEFP_H
49407 # include <ieeefp.h>
49415 void (*f)(void) = (void (*)(void))ceill;
49421 if ac_fn_c_try_compile
"$LINENO"; then :
49422 glibcxx_cv_func_ceill_use
=yes
49425 glibcxx_cv_func_ceill_use
=no
49427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
49430 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
49431 if test "x$glibcxx_cv_func_ceill_use" = xyes
; then
49432 cat >>confdefs.h
<<_ACEOF
49433 #define HAVE_CEILL 1
49440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
49441 $as_echo_n "checking for cosl declaration... " >&6; }
49442 if ${glibcxx_cv_func_cosl_use+:} false
; then :
49443 $as_echo_n "(cached) " >&6
49448 ac_cpp
='$CPP $CPPFLAGS'
49449 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49450 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49451 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49454 /* end confdefs.h. */
49457 #ifdef HAVE_IEEEFP_H
49458 # include <ieeefp.h>
49466 void (*f)(void) = (void (*)(void))cosl;
49472 if ac_fn_c_try_compile
"$LINENO"; then :
49473 glibcxx_cv_func_cosl_use
=yes
49476 glibcxx_cv_func_cosl_use
=no
49478 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
49481 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
49482 if test "x$glibcxx_cv_func_cosl_use" = xyes
; then
49483 cat >>confdefs.h
<<_ACEOF
49484 #define HAVE_COSL 1
49491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
49492 $as_echo_n "checking for coshl declaration... " >&6; }
49493 if ${glibcxx_cv_func_coshl_use+:} false
; then :
49494 $as_echo_n "(cached) " >&6
49499 ac_cpp
='$CPP $CPPFLAGS'
49500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49505 /* end confdefs.h. */
49508 #ifdef HAVE_IEEEFP_H
49509 # include <ieeefp.h>
49517 void (*f)(void) = (void (*)(void))coshl;
49523 if ac_fn_c_try_compile
"$LINENO"; then :
49524 glibcxx_cv_func_coshl_use
=yes
49527 glibcxx_cv_func_coshl_use
=no
49529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
49532 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
49533 if test "x$glibcxx_cv_func_coshl_use" = xyes
; then
49534 cat >>confdefs.h
<<_ACEOF
49535 #define HAVE_COSHL 1
49542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49543 $as_echo_n "checking for expl declaration... " >&6; }
49544 if ${glibcxx_cv_func_expl_use+:} false
; then :
49545 $as_echo_n "(cached) " >&6
49550 ac_cpp
='$CPP $CPPFLAGS'
49551 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49552 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49553 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49556 /* end confdefs.h. */
49559 #ifdef HAVE_IEEEFP_H
49560 # include <ieeefp.h>
49568 void (*f)(void) = (void (*)(void))expl;
49574 if ac_fn_c_try_compile
"$LINENO"; then :
49575 glibcxx_cv_func_expl_use
=yes
49578 glibcxx_cv_func_expl_use
=no
49580 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49583 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49584 if test "x$glibcxx_cv_func_expl_use" = xyes
; then
49585 cat >>confdefs.h
<<_ACEOF
49586 #define HAVE_EXPL 1
49593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49594 $as_echo_n "checking for fabsl declaration... " >&6; }
49595 if ${glibcxx_cv_func_fabsl_use+:} false
; then :
49596 $as_echo_n "(cached) " >&6
49601 ac_cpp
='$CPP $CPPFLAGS'
49602 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49607 /* end confdefs.h. */
49610 #ifdef HAVE_IEEEFP_H
49611 # include <ieeefp.h>
49619 void (*f)(void) = (void (*)(void))fabsl;
49625 if ac_fn_c_try_compile
"$LINENO"; then :
49626 glibcxx_cv_func_fabsl_use
=yes
49629 glibcxx_cv_func_fabsl_use
=no
49631 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49634 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49635 if test "x$glibcxx_cv_func_fabsl_use" = xyes
; then
49636 cat >>confdefs.h
<<_ACEOF
49637 #define HAVE_FABSL 1
49644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
49645 $as_echo_n "checking for floorl declaration... " >&6; }
49646 if ${glibcxx_cv_func_floorl_use+:} false
; then :
49647 $as_echo_n "(cached) " >&6
49652 ac_cpp
='$CPP $CPPFLAGS'
49653 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49654 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49655 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49658 /* end confdefs.h. */
49661 #ifdef HAVE_IEEEFP_H
49662 # include <ieeefp.h>
49670 void (*f)(void) = (void (*)(void))floorl;
49676 if ac_fn_c_try_compile
"$LINENO"; then :
49677 glibcxx_cv_func_floorl_use
=yes
49680 glibcxx_cv_func_floorl_use
=no
49682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
49685 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
49686 if test "x$glibcxx_cv_func_floorl_use" = xyes
; then
49687 cat >>confdefs.h
<<_ACEOF
49688 #define HAVE_FLOORL 1
49695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49696 $as_echo_n "checking for fmodl declaration... " >&6; }
49697 if ${glibcxx_cv_func_fmodl_use+:} false
; then :
49698 $as_echo_n "(cached) " >&6
49703 ac_cpp
='$CPP $CPPFLAGS'
49704 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49709 /* end confdefs.h. */
49712 #ifdef HAVE_IEEEFP_H
49713 # include <ieeefp.h>
49721 void (*f)(void) = (void (*)(void))fmodl;
49727 if ac_fn_c_try_compile
"$LINENO"; then :
49728 glibcxx_cv_func_fmodl_use
=yes
49731 glibcxx_cv_func_fmodl_use
=no
49733 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49736 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49737 if test "x$glibcxx_cv_func_fmodl_use" = xyes
; then
49738 cat >>confdefs.h
<<_ACEOF
49739 #define HAVE_FMODL 1
49746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49747 $as_echo_n "checking for frexpl declaration... " >&6; }
49748 if ${glibcxx_cv_func_frexpl_use+:} false
; then :
49749 $as_echo_n "(cached) " >&6
49754 ac_cpp
='$CPP $CPPFLAGS'
49755 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49760 /* end confdefs.h. */
49763 #ifdef HAVE_IEEEFP_H
49764 # include <ieeefp.h>
49772 void (*f)(void) = (void (*)(void))frexpl;
49778 if ac_fn_c_try_compile
"$LINENO"; then :
49779 glibcxx_cv_func_frexpl_use
=yes
49782 glibcxx_cv_func_frexpl_use
=no
49784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49787 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49788 if test "x$glibcxx_cv_func_frexpl_use" = xyes
; then
49789 cat >>confdefs.h
<<_ACEOF
49790 #define HAVE_FREXPL 1
49797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49798 $as_echo_n "checking for ldexpl declaration... " >&6; }
49799 if ${glibcxx_cv_func_ldexpl_use+:} false
; then :
49800 $as_echo_n "(cached) " >&6
49805 ac_cpp
='$CPP $CPPFLAGS'
49806 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49811 /* end confdefs.h. */
49814 #ifdef HAVE_IEEEFP_H
49815 # include <ieeefp.h>
49823 void (*f)(void) = (void (*)(void))ldexpl;
49829 if ac_fn_c_try_compile
"$LINENO"; then :
49830 glibcxx_cv_func_ldexpl_use
=yes
49833 glibcxx_cv_func_ldexpl_use
=no
49835 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49838 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49839 if test "x$glibcxx_cv_func_ldexpl_use" = xyes
; then
49840 cat >>confdefs.h
<<_ACEOF
49841 #define HAVE_LDEXPL 1
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49849 $as_echo_n "checking for log10l declaration... " >&6; }
49850 if ${glibcxx_cv_func_log10l_use+:} false
; then :
49851 $as_echo_n "(cached) " >&6
49856 ac_cpp
='$CPP $CPPFLAGS'
49857 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49862 /* end confdefs.h. */
49865 #ifdef HAVE_IEEEFP_H
49866 # include <ieeefp.h>
49874 void (*f)(void) = (void (*)(void))log10l;
49880 if ac_fn_c_try_compile
"$LINENO"; then :
49881 glibcxx_cv_func_log10l_use
=yes
49884 glibcxx_cv_func_log10l_use
=no
49886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49889 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49890 if test "x$glibcxx_cv_func_log10l_use" = xyes
; then
49891 cat >>confdefs.h
<<_ACEOF
49892 #define HAVE_LOG10L 1
49899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49900 $as_echo_n "checking for logl declaration... " >&6; }
49901 if ${glibcxx_cv_func_logl_use+:} false
; then :
49902 $as_echo_n "(cached) " >&6
49907 ac_cpp
='$CPP $CPPFLAGS'
49908 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49909 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49910 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49913 /* end confdefs.h. */
49916 #ifdef HAVE_IEEEFP_H
49917 # include <ieeefp.h>
49925 void (*f)(void) = (void (*)(void))logl;
49931 if ac_fn_c_try_compile
"$LINENO"; then :
49932 glibcxx_cv_func_logl_use
=yes
49935 glibcxx_cv_func_logl_use
=no
49937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49940 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49941 if test "x$glibcxx_cv_func_logl_use" = xyes
; then
49942 cat >>confdefs.h
<<_ACEOF
49943 #define HAVE_LOGL 1
49950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49951 $as_echo_n "checking for modfl declaration... " >&6; }
49952 if ${glibcxx_cv_func_modfl_use+:} false
; then :
49953 $as_echo_n "(cached) " >&6
49958 ac_cpp
='$CPP $CPPFLAGS'
49959 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49960 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49961 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
49963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
49964 /* end confdefs.h. */
49967 #ifdef HAVE_IEEEFP_H
49968 # include <ieeefp.h>
49976 void (*f)(void) = (void (*)(void))modfl;
49982 if ac_fn_c_try_compile
"$LINENO"; then :
49983 glibcxx_cv_func_modfl_use
=yes
49986 glibcxx_cv_func_modfl_use
=no
49988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
49990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49991 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49992 if test "x$glibcxx_cv_func_modfl_use" = xyes
; then
49993 cat >>confdefs.h
<<_ACEOF
49994 #define HAVE_MODFL 1
50001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50002 $as_echo_n "checking for powl declaration... " >&6; }
50003 if ${glibcxx_cv_func_powl_use+:} false
; then :
50004 $as_echo_n "(cached) " >&6
50009 ac_cpp
='$CPP $CPPFLAGS'
50010 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50015 /* end confdefs.h. */
50018 #ifdef HAVE_IEEEFP_H
50019 # include <ieeefp.h>
50027 void (*f)(void) = (void (*)(void))powl;
50033 if ac_fn_c_try_compile
"$LINENO"; then :
50034 glibcxx_cv_func_powl_use
=yes
50037 glibcxx_cv_func_powl_use
=no
50039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50042 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50043 if test "x$glibcxx_cv_func_powl_use" = xyes
; then
50044 cat >>confdefs.h
<<_ACEOF
50045 #define HAVE_POWL 1
50052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
50053 $as_echo_n "checking for sinl declaration... " >&6; }
50054 if ${glibcxx_cv_func_sinl_use+:} false
; then :
50055 $as_echo_n "(cached) " >&6
50060 ac_cpp
='$CPP $CPPFLAGS'
50061 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50062 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50063 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50066 /* end confdefs.h. */
50069 #ifdef HAVE_IEEEFP_H
50070 # include <ieeefp.h>
50078 void (*f)(void) = (void (*)(void))sinl;
50084 if ac_fn_c_try_compile
"$LINENO"; then :
50085 glibcxx_cv_func_sinl_use
=yes
50088 glibcxx_cv_func_sinl_use
=no
50090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
50093 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
50094 if test "x$glibcxx_cv_func_sinl_use" = xyes
; then
50095 cat >>confdefs.h
<<_ACEOF
50096 #define HAVE_SINL 1
50103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
50104 $as_echo_n "checking for sinhl declaration... " >&6; }
50105 if ${glibcxx_cv_func_sinhl_use+:} false
; then :
50106 $as_echo_n "(cached) " >&6
50111 ac_cpp
='$CPP $CPPFLAGS'
50112 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50113 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50114 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50117 /* end confdefs.h. */
50120 #ifdef HAVE_IEEEFP_H
50121 # include <ieeefp.h>
50129 void (*f)(void) = (void (*)(void))sinhl;
50135 if ac_fn_c_try_compile
"$LINENO"; then :
50136 glibcxx_cv_func_sinhl_use
=yes
50139 glibcxx_cv_func_sinhl_use
=no
50141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
50144 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
50145 if test "x$glibcxx_cv_func_sinhl_use" = xyes
; then
50146 cat >>confdefs.h
<<_ACEOF
50147 #define HAVE_SINHL 1
50154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50155 $as_echo_n "checking for sqrtl declaration... " >&6; }
50156 if ${glibcxx_cv_func_sqrtl_use+:} false
; then :
50157 $as_echo_n "(cached) " >&6
50162 ac_cpp
='$CPP $CPPFLAGS'
50163 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50164 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50165 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50168 /* end confdefs.h. */
50171 #ifdef HAVE_IEEEFP_H
50172 # include <ieeefp.h>
50180 void (*f)(void) = (void (*)(void))sqrtl;
50186 if ac_fn_c_try_compile
"$LINENO"; then :
50187 glibcxx_cv_func_sqrtl_use
=yes
50190 glibcxx_cv_func_sqrtl_use
=no
50192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50195 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50196 if test "x$glibcxx_cv_func_sqrtl_use" = xyes
; then
50197 cat >>confdefs.h
<<_ACEOF
50198 #define HAVE_SQRTL 1
50205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
50206 $as_echo_n "checking for tanl declaration... " >&6; }
50207 if ${glibcxx_cv_func_tanl_use+:} false
; then :
50208 $as_echo_n "(cached) " >&6
50213 ac_cpp
='$CPP $CPPFLAGS'
50214 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50215 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50216 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50219 /* end confdefs.h. */
50222 #ifdef HAVE_IEEEFP_H
50223 # include <ieeefp.h>
50231 void (*f)(void) = (void (*)(void))tanl;
50237 if ac_fn_c_try_compile
"$LINENO"; then :
50238 glibcxx_cv_func_tanl_use
=yes
50241 glibcxx_cv_func_tanl_use
=no
50243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
50246 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
50247 if test "x$glibcxx_cv_func_tanl_use" = xyes
; then
50248 cat >>confdefs.h
<<_ACEOF
50249 #define HAVE_TANL 1
50256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
50257 $as_echo_n "checking for tanhl declaration... " >&6; }
50258 if ${glibcxx_cv_func_tanhl_use+:} false
; then :
50259 $as_echo_n "(cached) " >&6
50264 ac_cpp
='$CPP $CPPFLAGS'
50265 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h. */
50273 #ifdef HAVE_IEEEFP_H
50274 # include <ieeefp.h>
50282 void (*f)(void) = (void (*)(void))tanhl;
50288 if ac_fn_c_try_compile
"$LINENO"; then :
50289 glibcxx_cv_func_tanhl_use
=yes
50292 glibcxx_cv_func_tanhl_use
=no
50294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
50297 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
50298 if test "x$glibcxx_cv_func_tanhl_use" = xyes
; then
50299 cat >>confdefs.h
<<_ACEOF
50300 #define HAVE_TANHL 1
50307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50308 $as_echo_n "checking for hypotl declaration... " >&6; }
50309 if ${glibcxx_cv_func_hypotl_use+:} false
; then :
50310 $as_echo_n "(cached) " >&6
50315 ac_cpp
='$CPP $CPPFLAGS'
50316 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50317 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50318 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50321 /* end confdefs.h. */
50324 #ifdef HAVE_IEEEFP_H
50325 # include <ieeefp.h>
50333 void (*f)(void) = (void (*)(void))hypotl;
50339 if ac_fn_c_try_compile
"$LINENO"; then :
50340 glibcxx_cv_func_hypotl_use
=yes
50343 glibcxx_cv_func_hypotl_use
=no
50345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50348 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50349 if test "x$glibcxx_cv_func_hypotl_use" = xyes
; then
50350 cat >>confdefs.h
<<_ACEOF
50351 #define HAVE_HYPOTL 1
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50359 $as_echo_n "checking for ldexpf declaration... " >&6; }
50360 if ${glibcxx_cv_func_ldexpf_use+:} false
; then :
50361 $as_echo_n "(cached) " >&6
50366 ac_cpp
='$CPP $CPPFLAGS'
50367 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50368 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50369 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50372 /* end confdefs.h. */
50375 #ifdef HAVE_IEEEFP_H
50376 # include <ieeefp.h>
50384 void (*f)(void) = (void (*)(void))ldexpf;
50390 if ac_fn_c_try_compile
"$LINENO"; then :
50391 glibcxx_cv_func_ldexpf_use
=yes
50394 glibcxx_cv_func_ldexpf_use
=no
50396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50399 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50400 if test "x$glibcxx_cv_func_ldexpf_use" = xyes
; then
50401 cat >>confdefs.h
<<_ACEOF
50402 #define HAVE_LDEXPF 1
50409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50410 $as_echo_n "checking for modff declaration... " >&6; }
50411 if ${glibcxx_cv_func_modff_use+:} false
; then :
50412 $as_echo_n "(cached) " >&6
50417 ac_cpp
='$CPP $CPPFLAGS'
50418 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50419 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50420 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50423 /* end confdefs.h. */
50426 #ifdef HAVE_IEEEFP_H
50427 # include <ieeefp.h>
50435 void (*f)(void) = (void (*)(void))modff;
50441 if ac_fn_c_try_compile
"$LINENO"; then :
50442 glibcxx_cv_func_modff_use
=yes
50445 glibcxx_cv_func_modff_use
=no
50447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50450 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50451 if test "x$glibcxx_cv_func_modff_use" = xyes
; then
50452 cat >>confdefs.h
<<_ACEOF
50453 #define HAVE_MODFF 1
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50461 $as_echo_n "checking for hypotf declaration... " >&6; }
50462 if ${glibcxx_cv_func_hypotf_use+:} false
; then :
50463 $as_echo_n "(cached) " >&6
50468 ac_cpp
='$CPP $CPPFLAGS'
50469 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50470 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50471 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50474 /* end confdefs.h. */
50477 #ifdef HAVE_IEEEFP_H
50478 # include <ieeefp.h>
50486 void (*f)(void) = (void (*)(void))hypotf;
50492 if ac_fn_c_try_compile
"$LINENO"; then :
50493 glibcxx_cv_func_hypotf_use
=yes
50496 glibcxx_cv_func_hypotf_use
=no
50498 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50501 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50502 if test "x$glibcxx_cv_func_hypotf_use" = xyes
; then
50503 cat >>confdefs.h
<<_ACEOF
50504 #define HAVE_HYPOTF 1
50511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50512 $as_echo_n "checking for frexpf declaration... " >&6; }
50513 if ${glibcxx_cv_func_frexpf_use+:} false
; then :
50514 $as_echo_n "(cached) " >&6
50519 ac_cpp
='$CPP $CPPFLAGS'
50520 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
50524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50525 /* end confdefs.h. */
50528 #ifdef HAVE_IEEEFP_H
50529 # include <ieeefp.h>
50537 void (*f)(void) = (void (*)(void))frexpf;
50543 if ac_fn_c_try_compile
"$LINENO"; then :
50544 glibcxx_cv_func_frexpf_use
=yes
50547 glibcxx_cv_func_frexpf_use
=no
50549 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
50551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50552 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50553 if test "x$glibcxx_cv_func_frexpf_use" = xyes
; then
50554 cat >>confdefs.h
<<_ACEOF
50555 #define HAVE_FREXPF 1
50564 as_fn_error $?
"No support for this host/target combination." "$LINENO" 5
50570 # At some point, we should differentiate between architectures
50571 # like x86, which have long double versions, and alpha/powerpc/etc.,
50572 # which don't. For the time being, punt.
50573 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
50574 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
50576 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
50578 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
50580 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
50582 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
50584 $as_echo "#define HAVE_COSL 1" >>confdefs.h
50586 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
50588 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
50590 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
50592 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
50594 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
50596 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
50598 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
50600 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
50602 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
50604 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
50606 $as_echo "#define HAVE_POWL 1" >>confdefs.h
50608 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
50610 $as_echo "#define HAVE_SINL 1" >>confdefs.h
50612 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
50614 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
50616 $as_echo "#define HAVE_TANL 1" >>confdefs.h
50618 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
50623 # Check for _Unwind_GetIPInfo.
50626 # Check whether --with-system-libunwind was given.
50627 if test "${with_system_libunwind+set}" = set; then :
50628 withval
=$with_system_libunwind;
50631 # If system-libunwind was not specifically set, pick a default setting.
50632 if test x
$with_system_libunwind = x
; then
50634 ia64-
*-hpux*) with_system_libunwind
=yes ;;
50635 *) with_system_libunwind
=no
;;
50638 # Based on system-libunwind and target, do we have ipinfo?
50639 if test x
$with_system_libunwind = xyes
; then
50641 ia64-
*-*) have_unwind_getipinfo
=no
;;
50642 *) have_unwind_getipinfo
=yes ;;
50645 # Darwin before version 9 does not have _Unwind_GetIPInfo.
50648 *-*-darwin[3-8]|
*-*-darwin[3-8].
*) have_unwind_getipinfo
=no
;;
50649 *) have_unwind_getipinfo
=yes ;;
50654 if test x
$have_unwind_getipinfo = xyes
; then
50656 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
50661 # Check whether --enable-linux-futex was given.
50662 if test "${enable_linux_futex+set}" = set; then :
50663 enableval
=$enable_linux_futex;
50664 case "$enableval" in
50666 *) as_fn_error $?
"Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
50670 enable_linux_futex
=default
50675 *-linux* |
*-uclinux*)
50676 case "$enable_linux_futex" in
50678 # If headers don't have gettid/futex syscalls definition, then
50679 # default to no, otherwise there will be compile time failures.
50680 # Otherwise, default to yes. If we don't detect we are
50681 # compiled/linked against NPTL and not cross-compiling, check
50682 # if programs are run by default against NPTL and if not, issue
50684 enable_linux_futex
=no
50685 if test x
$gcc_no_link = xyes
; then
50686 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50689 /* end confdefs.h. */
50690 #include <sys/syscall.h>
50691 #include <unistd.h>
50696 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
50701 if ac_fn_c_try_link
"$LINENO"; then :
50703 LIBS
="-lpthread $LIBS"
50704 if test x
$gcc_no_link = xyes
; then
50705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50708 /* end confdefs.h. */
50709 #ifndef _GNU_SOURCE
50710 #define _GNU_SOURCE 1
50712 #include <pthread.h>
50713 pthread_t th; void *status;
50717 pthread_tryjoin_np (th, &status);
50722 if ac_fn_c_try_link
"$LINENO"; then :
50723 enable_linux_futex
=yes
50725 if test x
$cross_compiling = xno
; then
50726 if getconf GNU_LIBPTHREAD_VERSION
2>/dev
/null \
50727 | LC_ALL
=C
grep -i NPTL
> /dev
/null
2>/dev
/null
; then :; else
50728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
50729 If so, please configure with --disable-linux-futex" >&5
50730 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
50731 If so, please configure with --disable-linux-futex" >&2;}
50734 enable_linux_futex
=yes
50736 rm -f core conftest.err conftest.
$ac_objext \
50737 conftest
$ac_exeext conftest.
$ac_ext
50740 rm -f core conftest.err conftest.
$ac_objext \
50741 conftest
$ac_exeext conftest.
$ac_ext
50744 if test x
$gcc_no_link = xyes
; then
50745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50748 /* end confdefs.h. */
50749 #include <sys/syscall.h>
50750 #include <unistd.h>
50755 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
50760 if ac_fn_c_try_link
"$LINENO"; then :
50763 as_fn_error $?
"SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
50765 rm -f core conftest.err conftest.
$ac_objext \
50766 conftest
$ac_exeext conftest.
$ac_ext
50771 enable_linux_futex
=no
50774 if test x
$enable_linux_futex = xyes
; then
50776 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
50782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
50783 $as_echo_n "checking for GNU c++filt... " >&6; }
50784 if ${ac_cv_path_CXXFILT+:} false
; then :
50785 $as_echo_n "(cached) " >&6
50787 if test -z "$CXXFILT"; then
50788 ac_path_CXXFILT_found
=false
50789 # Loop through the user's path and test for each of PROGNAME-LIST
50790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
50791 for as_dir
in $PATH
50794 test -z "$as_dir" && as_dir
=.
50795 for ac_prog
in c
++filt gc
++filt
; do
50796 for ac_exec_ext
in '' $ac_executable_extensions; do
50797 ac_path_CXXFILT
="$as_dir/$ac_prog$ac_exec_ext"
50798 as_fn_executable_p
"$ac_path_CXXFILT" ||
continue
50799 # Check for GNU $ac_path_CXXFILT
50800 case `"$ac_path_CXXFILT" --version 2>&1` in
50802 ac_cv_path_CXXFILT
=$ac_path_CXXFILT && ac_path_CXXFILT_found
=:;;
50805 $ac_path_CXXFILT_found && break 3
50810 if test -z "$ac_cv_path_CXXFILT"; then
50814 ac_cv_path_CXXFILT
=$CXXFILT
50818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
50819 $as_echo "$ac_cv_path_CXXFILT" >&6; }
50820 CXXFILT
=$ac_cv_path_CXXFILT
50824 # Check whether --enable-symvers was given.
50825 if test "${enable_symvers+set}" = set; then :
50826 enableval
=$enable_symvers;
50827 case "$enableval" in
50828 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun
) ;;
50829 *) as_fn_error $?
"Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
50838 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
50839 # don't know enough about $LD to do tricks...
50841 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
50842 # with extern "C++" in version scripts.
50845 # Turn a 'yes' into a suitable default.
50846 if test x
$enable_symvers = xyes
; then
50847 if test $enable_shared = no ||
test "x$LD" = x ||
test x
$gcc_no_link = xyes
; then
50850 if test $with_gnu_ld = yes ; then
50851 case ${target_os} in
50853 enable_symvers
=no
;;
50855 enable_symvers
=gnu
;;
50858 case ${target_os} in
50860 enable_symvers
=darwin
;;
50861 # Sun symbol versioning exists since Solaris 2.5.
50862 solaris2.
[5-9]* | solaris2.1
[0-9]*)
50863 # make_sunver.pl needs GNU c++filt to support extern "C++" in
50864 # version scripts, so disable symbol versioning if none can be
50866 if test -z "$ac_cv_path_CXXFILT"; then
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
50868 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
50869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
50870 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
50872 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
50879 enable_symvers
=no
;;
50885 # Check to see if 'darwin' or 'darwin-export' can win.
50886 if test x
$enable_symvers = xdarwin-export
; then
50887 enable_symvers
=darwin
50890 # Check if 'sun' was requested on non-Solaris 2 platforms.
50891 if test x
$enable_symvers = xsun
; then
50892 case ${target_os} in
50897 # Unlikely to work.
50898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
50899 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
50900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
50901 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
50902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
50903 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
50909 # Check to see if 'gnu' can win.
50910 if test $enable_symvers = gnu ||
50911 test $enable_symvers = gnu-versioned-namespace ||
50912 test $enable_symvers = sun
; then
50913 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
50915 $as_echo_n "checking for shared libgcc... " >&6; }
50916 ac_save_CFLAGS
="$CFLAGS"
50918 if test x
$gcc_no_link = xyes
; then
50919 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50922 /* end confdefs.h. */
50932 if ac_fn_c_try_link
"$LINENO"; then :
50933 glibcxx_shared_libgcc
=yes
50935 glibcxx_shared_libgcc
=no
50937 rm -f core conftest.err conftest.
$ac_objext \
50938 conftest
$ac_exeext conftest.
$ac_ext
50939 CFLAGS
="$ac_save_CFLAGS"
50940 if test $glibcxx_shared_libgcc = no
; then
50941 cat > conftest.c
<<EOF
50942 int main (void) { return 0; }
50944 glibcxx_libgcc_s_suffix
=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
50945 -shared -shared-libgcc -o conftest.so \
50946 conftest.c -v 2>&1 >/dev/null \
50947 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
50948 rm -f conftest.c conftest.so
50949 if test x
${glibcxx_libgcc_s_suffix+set} = xset
; then
50950 CFLAGS
=" -lgcc_s$glibcxx_libgcc_s_suffix"
50951 if test x
$gcc_no_link = xyes
; then
50952 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
50955 /* end confdefs.h. */
50965 if ac_fn_c_try_link
"$LINENO"; then :
50966 glibcxx_shared_libgcc
=yes
50968 rm -f core conftest.err conftest.
$ac_objext \
50969 conftest
$ac_exeext conftest.
$ac_ext
50970 CFLAGS
="$ac_save_CFLAGS"
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
50974 $as_echo "$glibcxx_shared_libgcc" >&6; }
50976 # For GNU ld, we need at least this version. The format is described in
50977 # GLIBCXX_CHECK_LINKER_FEATURES above.
50978 glibcxx_min_gnu_ld_version
=21400
50980 # If no shared libgcc, can't win.
50981 if test $glibcxx_shared_libgcc != yes; then
50982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
50983 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
50985 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
50987 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
50989 elif test $with_gnu_ld != yes && test $enable_symvers = sun
; then
50990 : All interesting versions of Sun ld support sun style symbol versioning.
50991 elif test $with_gnu_ld != yes ; then
50992 # just fail for now
50993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
50994 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
50995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
50996 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
50997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
50998 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
51000 elif test $glibcxx_ld_is_gold = yes ; then
51001 : All versions of gold support symbol versioning.
51002 elif test $glibcxx_ld_is_mold = yes ; then
51003 : All versions of mold support symbol versioning.
51004 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
51005 # The right tools, the right setup, but too old. Fallbacks?
51006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
51007 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
51008 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
51009 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
51010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
51011 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
51012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
51013 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
51014 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
51015 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
51020 # For libtool versioning info, format is CURRENT:REVISION:AGE
51021 libtool_VERSION
=6:33:0
51023 # Everything parsed; figure out what files and settings to use.
51024 case $enable_symvers in
51026 SYMVER_FILE
=config
/abi
/pre
/none.ver
51029 SYMVER_FILE
=config
/abi
/pre
/gnu.ver
51031 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
51034 gnu-versioned-namespace
)
51035 libtool_VERSION
=8:0:0
51036 SYMVER_FILE
=config
/abi
/pre
/gnu-versioned-namespace.ver
51038 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
51042 SYMVER_FILE
=config
/abi
/pre
/gnu.ver
51044 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
51048 SYMVER_FILE
=config
/abi
/pre
/gnu.ver
51050 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
51055 if test x
$enable_symvers != xno
; then
51057 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
51062 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
51063 if ${glibcxx_cv_have_as_symver_directive+:} false
; then :
51064 $as_echo_n "(cached) " >&6
51067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51068 /* end confdefs.h. */
51069 void foo (void); __asm (".symver foo, bar@SYMVER");
51078 if ac_fn_c_try_compile
"$LINENO"; then :
51079 glibcxx_cv_have_as_symver_directive
=yes
51081 glibcxx_cv_have_as_symver_directive
=no
51083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
51086 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
51087 if test $glibcxx_cv_have_as_symver_directive = yes; then
51089 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
51101 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
51103 if test $enable_symvers != no
; then
51104 case ${target_os} in
51105 # The Solaris 2 runtime linker doesn't support the GNU extension of
51106 # binding the same symbol to different versions
51109 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
51112 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
51118 # Now, set up compatibility support, if any.
51119 # In addition, need this to deal with std::size_t mangling in
51120 # src/compatibility.cc. In a perfect world, could use
51121 # typeid(std::size_t).name()[0] to do direct substitution.
51122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
51123 $as_echo_n "checking for size_t as unsigned int... " >&6; }
51124 ac_save_CFLAGS
="$CFLAGS"
51126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51127 /* end confdefs.h. */
51132 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
51137 if ac_fn_c_try_compile
"$LINENO"; then :
51138 glibcxx_size_t_is_i
=yes
51140 glibcxx_size_t_is_i
=no
51142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51143 CFLAGS
=$ac_save_CFLAGS
51144 if test "$glibcxx_size_t_is_i" = yes; then
51146 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
51149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
51150 $as_echo "$glibcxx_size_t_is_i" >&6; }
51152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
51153 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
51154 ac_save_CFLAGS
="$CFLAGS"
51156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51157 /* end confdefs.h. */
51162 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
51167 if ac_fn_c_try_compile
"$LINENO"; then :
51168 glibcxx_ptrdiff_t_is_i
=yes
51170 glibcxx_ptrdiff_t_is_i
=no
51172 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51173 CFLAGS
=$ac_save_CFLAGS
51174 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
51176 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
51179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
51180 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
51185 # Check whether --enable-libstdcxx-visibility was given.
51186 if test "${enable_libstdcxx_visibility+set}" = set; then :
51187 enableval
=$enable_libstdcxx_visibility;
51188 case "$enableval" in
51190 *) as_fn_error $?
"Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
51194 enable_libstdcxx_visibility
=yes
51199 if test x
$enable_libstdcxx_visibility = xyes
; then
51200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
51201 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
51202 if ${glibcxx_cv_have_attribute_visibility+:} false
; then :
51203 $as_echo_n "(cached) " >&6
51206 save_CFLAGS
="$CFLAGS"
51207 CFLAGS
="$CFLAGS -Werror"
51208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51209 /* end confdefs.h. */
51210 void __attribute__((visibility("hidden"))) foo(void) { }
51219 if ac_fn_c_try_compile
"$LINENO"; then :
51220 glibcxx_cv_have_attribute_visibility
=yes
51222 glibcxx_cv_have_attribute_visibility
=no
51224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51225 CFLAGS
="$save_CFLAGS"
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
51228 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
51229 if test $glibcxx_cv_have_attribute_visibility = no
; then
51230 enable_libstdcxx_visibility
=no
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
51236 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
51240 # Check whether --enable-libstdcxx-dual-abi was given.
51241 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
51242 enableval
=$enable_libstdcxx_dual_abi;
51243 case "$enableval" in
51245 *) as_fn_error $?
"Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
51249 enable_libstdcxx_dual_abi
=yes
51253 if test x
$enable_symvers = xgnu-versioned-namespace
; then
51254 # gnu-versioned-namespace is incompatible with the dual ABI.
51255 enable_libstdcxx_dual_abi
="no"
51257 if test x
"$enable_libstdcxx_dual_abi" != xyes
; then
51258 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
51259 $as_echo "$as_me: dual ABI is disabled" >&6;}
51260 default_libstdcxx_abi
="gcc4-compatible"
51265 if test x
$enable_libstdcxx_dual_abi = xyes
; then
51266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
51267 $as_echo_n "checking for default std::string ABI to use... " >&6; }
51269 # Check whether --with-default-libstdcxx-abi was given.
51270 if test "${with_default_libstdcxx_abi+set}" = set; then :
51271 withval
=$with_default_libstdcxx_abi; case "$withval" in
51272 gcc4-compatible
) default_libstdcxx_abi
="gcc4-compatible" ;;
51273 new|cxx11
) default_libstdcxx_abi
="new" ;;
51274 c
++*|gnu
++*) as_fn_error $?
"Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
51275 *) as_fn_error $?
"Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
51279 default_libstdcxx_abi
="new"
51282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
51283 $as_echo "${default_libstdcxx_abi}" >&6; }
51285 if test $default_libstdcxx_abi = "new"; then
51286 glibcxx_cxx11_abi
=1
51287 glibcxx_cxx98_abi
=0
51289 glibcxx_cxx11_abi
=0
51290 glibcxx_cxx98_abi
=1
51297 ac_ldbl_alt128_compat
=no
51298 ac_ldbl_ieee128_default
=no
51299 LONG_DOUBLE_COMPAT_FLAGS
="-mlong-double-64"
51300 LONG_DOUBLE_128_FLAGS
=
51301 LONG_DOUBLE_ALT128_COMPAT_FLAGS
=
51303 powerpc
*-*-linux* | \
51304 sparc
*-*-linux* | \
51307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51308 /* end confdefs.h. */
51314 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
51315 #error no need for long double compatibility
51322 if ac_fn_c_try_compile
"$LINENO"; then :
51327 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51328 if test "$ac_ldbl_compat" = yes; then
51330 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
51332 port_specific_symbol_files
="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
51335 LONG_DOUBLE_COMPAT_FLAGS
="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
51336 # Check for IEEE128 support in libm:
51337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
51338 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
51339 if ${ac_cv_lib_m___frexpieee128+:} false
; then :
51340 $as_echo_n "(cached) " >&6
51342 ac_check_lib_save_LIBS
=$LIBS
51344 if test x
$gcc_no_link = xyes
; then
51345 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51348 /* end confdefs.h. */
51350 /* Override any GCC internal prototype to avoid an error.
51351 Use char because int might match the return type of a GCC
51352 builtin and then its argument prototype would still apply. */
51356 char __frexpieee128 ();
51360 return __frexpieee128 ();
51365 if ac_fn_c_try_link
"$LINENO"; then :
51366 ac_cv_lib_m___frexpieee128
=yes
51368 ac_cv_lib_m___frexpieee128
=no
51370 rm -f core conftest.err conftest.
$ac_objext \
51371 conftest
$ac_exeext conftest.
$ac_ext
51372 LIBS
=$ac_check_lib_save_LIBS
51374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
51375 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
51376 if test "x$ac_cv_lib_m___frexpieee128" = xyes
; then :
51377 ac_ldbl_ieee128_in_libc
=yes
51379 ac_ldbl_ieee128_in_libc
=no
51382 if test $ac_ldbl_ieee128_in_libc = yes; then
51383 # Determine which long double format is the compiler's default:
51384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51391 #ifndef __LONG_DOUBLE_IEEE128__
51392 #error compiler defaults to ibm128
51399 if ac_fn_c_try_compile
"$LINENO"; then :
51400 ac_ldbl_ieee128_default
=yes
51402 ac_ldbl_ieee128_default
=no
51404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51405 # Library objects should use default long double format.
51406 if test "$ac_ldbl_ieee128_default" = yes; then
51407 LONG_DOUBLE_128_FLAGS
="-mno-gnu-attribute"
51408 # Except for the ones that explicitly use these flags:
51409 LONG_DOUBLE_ALT128_COMPAT_FLAGS
="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
51411 LONG_DOUBLE_128_FLAGS
="-mno-gnu-attribute"
51412 LONG_DOUBLE_ALT128_COMPAT_FLAGS
="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
51415 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
51417 port_specific_symbol_files
="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
51418 ac_ldbl_alt128_compat
=yes
51420 ac_ldbl_alt128_compat
=no
51432 # Check if assembler supports disabling hardware capability support.
51434 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS
=''
51437 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
51438 # with a different meaning.
51439 case ${target_os} in
51441 ac_save_CFLAGS
="$CFLAGS"
51442 CFLAGS
="$CFLAGS -Wa,-nH"
51444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
51445 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
51446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51457 if ac_fn_c_try_compile
"$LINENO"; then :
51462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51463 if test "$ac_hwcap_flags" = "yes"; then
51464 HWCAP_CFLAGS
="-Wa,-nH $HWCAP_CFLAGS"
51466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
51467 $as_echo "$ac_hwcap_flags" >&6; }
51469 CFLAGS
="$ac_save_CFLAGS"
51476 # Check if assembler supports rdrand opcode.
51478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
51479 $as_echo_n "checking for rdrand support in assembler... " >&6; }
51480 if ${ac_cv_x86_rdrand+:} false
; then :
51481 $as_echo_n "(cached) " >&6
51484 ac_cv_x86_rdrand
=no
51488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51489 /* end confdefs.h. */
51494 asm("rdrand %eax");
51499 if ac_fn_c_try_compile
"$LINENO"; then :
51500 ac_cv_x86_rdrand
=yes
51502 ac_cv_x86_rdrand
=no
51504 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
51509 $as_echo "$ac_cv_x86_rdrand" >&6; }
51510 if test $ac_cv_x86_rdrand = yes; then
51512 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
51516 # Check if assembler supports rdseed opcode.
51518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
51519 $as_echo_n "checking for rdseed support in assembler... " >&6; }
51520 if ${ac_cv_x86_rdseed+:} false
; then :
51521 $as_echo_n "(cached) " >&6
51524 ac_cv_x86_rdseed
=no
51528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51529 /* end confdefs.h. */
51534 asm("rdseed %eax");
51539 if ac_fn_c_try_compile
"$LINENO"; then :
51540 ac_cv_x86_rdseed
=yes
51542 ac_cv_x86_rdseed
=no
51544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
51549 $as_echo "$ac_cv_x86_rdseed" >&6; }
51550 if test $ac_cv_x86_rdseed = yes; then
51552 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
51557 # Check for other random number APIs
51562 ac_cpp
='$CXXCPP $CPPFLAGS'
51563 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
51568 $as_echo_n "checking for getentropy... " >&6; }
51569 if ${glibcxx_cv_getentropy+:} false
; then :
51570 $as_echo_n "(cached) " >&6
51573 if test x
$gcc_no_link = xyes
; then
51574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51575 /* end confdefs.h. */
51576 #include <unistd.h>
51581 ::getentropy(&i, sizeof(i));
51586 if ac_fn_cxx_try_compile
"$LINENO"; then :
51587 glibcxx_cv_getentropy
=yes
51589 glibcxx_cv_getentropy
=no
51591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51593 if test x
$gcc_no_link = xyes
; then
51594 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51597 /* end confdefs.h. */
51598 #include <unistd.h>
51603 ::getentropy(&i, sizeof(i));
51608 if ac_fn_cxx_try_link
"$LINENO"; then :
51609 glibcxx_cv_getentropy
=yes
51611 glibcxx_cv_getentropy
=no
51613 rm -f core conftest.err conftest.
$ac_objext \
51614 conftest
$ac_exeext conftest.
$ac_ext
51618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
51619 $as_echo "$glibcxx_cv_getentropy" >&6; }
51621 if test $glibcxx_cv_getentropy = yes; then
51623 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
51627 ac_cpp
='$CPP $CPPFLAGS'
51628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51637 ac_cpp
='$CXXCPP $CPPFLAGS'
51638 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51639 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51640 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
51643 $as_echo_n "checking for arc4random... " >&6; }
51644 if ${glibcxx_cv_arc4random+:} false
; then :
51645 $as_echo_n "(cached) " >&6
51648 if test x
$gcc_no_link = xyes
; then
51649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51650 /* end confdefs.h. */
51651 #include <stdlib.h>
51655 unsigned i = ::arc4random();
51660 if ac_fn_cxx_try_compile
"$LINENO"; then :
51661 glibcxx_cv_arc4random
=yes
51663 glibcxx_cv_arc4random
=no
51665 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51667 if test x
$gcc_no_link = xyes
; then
51668 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51671 /* end confdefs.h. */
51672 #include <stdlib.h>
51676 unsigned i = ::arc4random();
51681 if ac_fn_cxx_try_link
"$LINENO"; then :
51682 glibcxx_cv_arc4random
=yes
51684 glibcxx_cv_arc4random
=no
51686 rm -f core conftest.err conftest.
$ac_objext \
51687 conftest
$ac_exeext conftest.
$ac_ext
51691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
51692 $as_echo "$glibcxx_cv_arc4random" >&6; }
51694 if test $glibcxx_cv_arc4random = yes; then
51696 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
51700 ac_cpp
='$CPP $CPPFLAGS'
51701 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51707 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
51709 # Do checks for resource limit functions.
51713 ac_cpp
='$CXXCPP $CPPFLAGS'
51714 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51715 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51716 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51718 setrlimit_have_headers
=yes
51719 for ac_header
in unistd.h sys
/time.h sys
/resource.h
51721 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
51722 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
51723 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
51724 cat >>confdefs.h
<<_ACEOF
51725 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
51729 setrlimit_have_headers
=no
51734 # If don't have the headers, then we can't run the tests now, and we
51735 # won't be seeing any of these during testsuite compilation.
51736 if test $setrlimit_have_headers = yes; then
51737 # Can't do these in a loop, else the resulting syntax is wrong.
51739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
51740 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
51741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51742 /* end confdefs.h. */
51743 #include <unistd.h>
51744 #include <sys/time.h>
51745 #include <sys/resource.h>
51750 int f = RLIMIT_DATA ;
51755 if ac_fn_cxx_try_compile
"$LINENO"; then :
51760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51762 cat >>confdefs.h
<<_ACEOF
51763 #define HAVE_LIMIT_DATA $glibcxx_mresult
51766 if test $glibcxx_mresult = 1 ; then res
=yes ; else res
=no
; fi
51767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
51768 $as_echo "$res" >&6; }
51771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
51772 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
51773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51774 /* end confdefs.h. */
51775 #include <unistd.h>
51776 #include <sys/time.h>
51777 #include <sys/resource.h>
51782 int f = RLIMIT_RSS ;
51787 if ac_fn_cxx_try_compile
"$LINENO"; then :
51792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51794 cat >>confdefs.h
<<_ACEOF
51795 #define HAVE_LIMIT_RSS $glibcxx_mresult
51798 if test $glibcxx_mresult = 1 ; then res
=yes ; else res
=no
; fi
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
51800 $as_echo "$res" >&6; }
51803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
51804 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
51805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51806 /* end confdefs.h. */
51807 #include <unistd.h>
51808 #include <sys/time.h>
51809 #include <sys/resource.h>
51814 int f = RLIMIT_VMEM ;
51819 if ac_fn_cxx_try_compile
"$LINENO"; then :
51824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51826 cat >>confdefs.h
<<_ACEOF
51827 #define HAVE_LIMIT_VMEM $glibcxx_mresult
51830 if test $glibcxx_mresult = 1 ; then res
=yes ; else res
=no
; fi
51831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
51832 $as_echo "$res" >&6; }
51835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
51836 $as_echo_n "checking for RLIMIT_AS... " >&6; }
51837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51838 /* end confdefs.h. */
51839 #include <unistd.h>
51840 #include <sys/time.h>
51841 #include <sys/resource.h>
51846 int f = RLIMIT_AS ;
51851 if ac_fn_cxx_try_compile
"$LINENO"; then :
51856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51858 cat >>confdefs.h
<<_ACEOF
51859 #define HAVE_LIMIT_AS $glibcxx_mresult
51862 if test $glibcxx_mresult = 1 ; then res
=yes ; else res
=no
; fi
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
51864 $as_echo "$res" >&6; }
51867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
51868 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
51869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51870 /* end confdefs.h. */
51871 #include <unistd.h>
51872 #include <sys/time.h>
51873 #include <sys/resource.h>
51878 int f = RLIMIT_FSIZE ;
51883 if ac_fn_cxx_try_compile
"$LINENO"; then :
51888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51890 cat >>confdefs.h
<<_ACEOF
51891 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
51894 if test $glibcxx_mresult = 1 ; then res
=yes ; else res
=no
; fi
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
51896 $as_echo "$res" >&6; }
51899 # Check for rlimit, setrlimit.
51900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
51901 $as_echo_n "checking for testsuite resource limits support... " >&6; }
51902 if ${glibcxx_cv_setrlimit+:} false
; then :
51903 $as_echo_n "(cached) " >&6
51906 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51907 /* end confdefs.h. */
51908 #include <unistd.h>
51909 #include <sys/time.h>
51910 #include <sys/resource.h>
51921 if ac_fn_cxx_try_compile
"$LINENO"; then :
51922 glibcxx_cv_setrlimit
=yes
51924 glibcxx_cv_setrlimit
=no
51926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
51930 $as_echo "$glibcxx_cv_setrlimit" >&6; }
51932 if test $glibcxx_cv_setrlimit = yes; then
51934 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
51939 ac_cpp
='$CPP $CPPFLAGS'
51940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51946 if $GLIBCXX_IS_NATIVE ; then
51947 # Look for setenv, so that extended locale tests can be performed.
51949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
51950 $as_echo_n "checking for setenv declaration... " >&6; }
51951 if test x
${glibcxx_cv_func_setenv_use+set} != xset
; then
51952 if ${glibcxx_cv_func_setenv_use+:} false
; then :
51953 $as_echo_n "(cached) " >&6
51958 ac_cpp
='$CXXCPP $CPPFLAGS'
51959 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51960 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51961 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
51963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
51964 /* end confdefs.h. */
51965 #include <stdlib.h>
51974 if ac_fn_cxx_try_compile
"$LINENO"; then :
51975 glibcxx_cv_func_setenv_use
=yes
51977 glibcxx_cv_func_setenv_use
=no
51979 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
51981 ac_cpp
='$CPP $CPPFLAGS'
51982 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51983 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51984 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
51991 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
51992 if test x
$glibcxx_cv_func_setenv_use = x
"yes"; then
51993 for ac_func
in setenv
51995 ac_fn_c_check_func
"$LINENO" "setenv" "ac_cv_func_setenv"
51996 if test "x$ac_cv_func_setenv" = xyes
; then :
51997 cat >>confdefs.h
<<_ACEOF
51998 #define HAVE_SETENV 1
52008 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
52009 test $enable_symvers != no
; then
52012 enable_abi_check
=no
;;
52014 enable_abi_check
=yes ;;
52017 # Only build this as native, since automake does not understand
52019 enable_abi_check
=no
52022 # Export file names for ABI checking.
52023 baseline_dir
="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
52025 baseline_subdir_switch
="$abi_baseline_subdir_switch"
52029 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
52031 # Check whether --enable-libstdcxx-threads was given.
52032 if test "${enable_libstdcxx_threads+set}" = set; then :
52033 enableval
=$enable_libstdcxx_threads;
52034 case "$enableval" in
52036 *) as_fn_error $?
"Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
52040 enable_libstdcxx_threads
=auto
52045 if test x
$enable_libstdcxx_threads = xauto ||
52046 test x
$enable_libstdcxx_threads = xyes
; then
52050 ac_cpp
='$CXXCPP $CPPFLAGS'
52051 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52052 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52053 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
52056 ac_save_CXXFLAGS
="$CXXFLAGS"
52057 CXXFLAGS
="$CXXFLAGS -fno-exceptions \
52058 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
52060 target_thread_file
=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
52061 case $target_thread_file in
52063 CXXFLAGS
="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
52066 CXXFLAGS
="$CXXFLAGS -D_WIN32_THREADS"
52067 # The support of condition variables is disabled by default in
52068 # the Win32 gthreads library, so enable it on explicit request.
52069 if test x
$enable_libstdcxx_threads = xyes
; then
52070 CXXFLAGS
="$CXXFLAGS -D_WIN32_WINNT=0x0600"
52075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
52076 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
52078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52079 /* end confdefs.h. */
52080 #include <unistd.h>
52085 // In case of POSIX threads check _POSIX_TIMEOUTS.
52086 #if (defined(_PTHREADS) \
52087 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
52089 // In case of Win32 threads there is no support.
52090 #elif defined(_WIN32_THREADS)
52098 if ac_fn_cxx_try_compile
"$LINENO"; then :
52099 ac_gthread_use_mutex_timedlock
=1
52101 ac_gthread_use_mutex_timedlock
=0
52103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52106 cat >>confdefs.h
<<_ACEOF
52107 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
52111 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock
=yes ;
52112 else res_mutex_timedlock
=no
; fi
52113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
52114 $as_echo "$res_mutex_timedlock" >&6; }
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
52117 $as_echo_n "checking for gthreads library... " >&6; }
52119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52120 /* end confdefs.h. */
52126 #ifndef __GTHREADS_CXX0X
52134 if ac_fn_cxx_try_compile
"$LINENO"; then :
52135 ac_has_gthreads
=yes
52139 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
52145 $as_echo "$ac_has_gthreads" >&6; }
52147 if test x
"$ac_has_gthreads" = x
"yes"; then
52149 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
52152 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
52153 # but only do so if we're using pthread in the gthread library.
52154 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
52155 # but the pthread library is not there by default and the gthread library
52157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52158 /* end confdefs.h. */
52164 #if (!defined(_PTHREADS))
52172 if ac_fn_cxx_try_compile
"$LINENO"; then :
52173 ac_gthread_use_pthreads
=yes
52175 ac_gthread_use_pthreads
=no
52177 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52178 if test x
"$ac_gthread_use_pthreads" = x
"yes"; then
52179 ac_fn_cxx_check_type
"$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
52181 if test "x$ac_cv_type_pthread_rwlock_t" = xyes
; then :
52183 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
52189 # See above for the rationale.
52190 if test $target_thread_file = win32
; then
52191 CPPFLAGS
="$CPPFLAGS -D_WIN32_WINNT=0x0600"
52195 ac_fn_cxx_check_header_mongrel
"$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
52196 if test "x$ac_cv_header_semaphore_h" = xyes
; then :
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
52199 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
52200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h. */
52203 #include <unistd.h>
52204 #include <semaphore.h>
52205 #include <limits.h>
52211 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
52212 # error "POSIX Timeouts option not supported"
52213 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
52214 # error "POSIX Semaphores option not supported"
52216 #if defined SEM_VALUE_MAX
52217 constexpr int sem_value_max = SEM_VALUE_MAX;
52218 #elif defined _POSIX_SEM_VALUE_MAX
52219 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
52221 # error "SEM_VALUE_MAX not available"
52224 sem_init(&sem, 0, sem_value_max);
52225 struct timespec ts = { 0 };
52226 sem_timedwait(&sem, &ts);
52233 if ac_fn_cxx_try_compile
"$LINENO"; then :
52234 ac_have_posix_semaphore
=yes
52236 ac_have_posix_semaphore
=no
52238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52240 ac_have_posix_semaphore
=no
52245 if test $ac_have_posix_semaphore = yes ; then
52247 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
52250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
52251 $as_echo "$ac_have_posix_semaphore" >&6; }
52253 CXXFLAGS
="$ac_save_CXXFLAGS"
52255 ac_cpp
='$CPP $CPPFLAGS'
52256 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52257 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52258 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
52262 # For Filesystem TS.
52263 for ac_header
in fcntl.h dirent.h sys
/statvfs.h utime.h
52265 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
52266 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
52267 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
52268 cat >>confdefs.h
<<_ACEOF
52269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
52277 # Check whether --enable-libstdcxx-filesystem-ts was given.
52278 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
52279 enableval
=$enable_libstdcxx_filesystem_ts;
52280 case "$enableval" in
52282 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
52286 enable_libstdcxx_filesystem_ts
=auto
52291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
52292 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
52293 if test x
"$ac_cv_header_dirent_h" != x
"yes"; then
52294 enable_libstdcxx_filesystem_ts
=no
52296 if test x
"$enable_libstdcxx_filesystem_ts" = x
"auto"; then
52297 case "${target_os}" in
52298 freebsd
*|netbsd
*|openbsd
*|dragonfly
*|darwin
*)
52299 enable_libstdcxx_filesystem_ts
=yes
52301 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu | uclinux
*)
52302 enable_libstdcxx_filesystem_ts
=yes
52305 enable_libstdcxx_filesystem_ts
=yes
52308 enable_libstdcxx_filesystem_ts
=yes
52311 enable_libstdcxx_filesystem_ts
=yes
52314 enable_libstdcxx_filesystem_ts
=no
52318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
52319 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
52324 ac_cpp
='$CXXCPP $CPPFLAGS'
52325 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
52329 ac_save_CXXFLAGS
="$CXXFLAGS"
52330 CXXFLAGS
="$CXXFLAGS -fno-exceptions"
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
52332 $as_echo_n "checking for struct dirent.d_type... " >&6; }
52333 if ${glibcxx_cv_dirent_d_type+:} false
; then :
52334 $as_echo_n "(cached) " >&6
52336 if test x
$gcc_no_link = xyes
; then
52337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52338 /* end confdefs.h. */
52339 #include <dirent.h>
52345 if (sizeof d.d_type) return 0;
52351 if ac_fn_cxx_try_compile
"$LINENO"; then :
52352 glibcxx_cv_dirent_d_type
=yes
52354 glibcxx_cv_dirent_d_type
=no
52356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52358 if test x
$gcc_no_link = xyes
; then
52359 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52362 /* end confdefs.h. */
52363 #include <dirent.h>
52369 if (sizeof d.d_type) return 0;
52375 if ac_fn_cxx_try_link
"$LINENO"; then :
52376 glibcxx_cv_dirent_d_type
=yes
52378 glibcxx_cv_dirent_d_type
=no
52380 rm -f core conftest.err conftest.
$ac_objext \
52381 conftest
$ac_exeext conftest.
$ac_ext
52385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
52386 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
52387 if test $glibcxx_cv_dirent_d_type = yes; then
52389 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
52392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chmod" >&5
52393 $as_echo_n "checking for chmod... " >&6; }
52394 if ${glibcxx_cv_chmod+:} false
; then :
52395 $as_echo_n "(cached) " >&6
52397 if test x
$gcc_no_link = xyes
; then
52398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52399 /* end confdefs.h. */
52401 #include <sys/stat.h>
52407 int i = chmod("", S_IRUSR);
52413 if ac_fn_cxx_try_compile
"$LINENO"; then :
52414 glibcxx_cv_chmod
=yes
52416 glibcxx_cv_chmod
=no
52418 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52420 if test x
$gcc_no_link = xyes
; then
52421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52424 /* end confdefs.h. */
52426 #include <sys/stat.h>
52432 int i = chmod("", S_IRUSR);
52438 if ac_fn_cxx_try_link
"$LINENO"; then :
52439 glibcxx_cv_chmod
=yes
52441 glibcxx_cv_chmod
=no
52443 rm -f core conftest.err conftest.
$ac_objext \
52444 conftest
$ac_exeext conftest.
$ac_ext
52448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_chmod" >&5
52449 $as_echo "$glibcxx_cv_chmod" >&6; }
52450 if test $glibcxx_cv_chmod = yes; then
52452 $as_echo "#define _GLIBCXX_USE_CHMOD 1" >>confdefs.h
52455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mkdir" >&5
52456 $as_echo_n "checking for mkdir... " >&6; }
52457 if ${glibcxx_cv_mkdir+:} false
; then :
52458 $as_echo_n "(cached) " >&6
52460 if test x
$gcc_no_link = xyes
; then
52461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52462 /* end confdefs.h. */
52464 #include <sys/stat.h>
52470 int i = mkdir("", S_IRUSR);
52476 if ac_fn_cxx_try_compile
"$LINENO"; then :
52477 glibcxx_cv_mkdir
=yes
52479 glibcxx_cv_mkdir
=no
52481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52483 if test x
$gcc_no_link = xyes
; then
52484 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52487 /* end confdefs.h. */
52489 #include <sys/stat.h>
52495 int i = mkdir("", S_IRUSR);
52501 if ac_fn_cxx_try_link
"$LINENO"; then :
52502 glibcxx_cv_mkdir
=yes
52504 glibcxx_cv_mkdir
=no
52506 rm -f core conftest.err conftest.
$ac_objext \
52507 conftest
$ac_exeext conftest.
$ac_ext
52511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_mkdir" >&5
52512 $as_echo "$glibcxx_cv_mkdir" >&6; }
52513 if test $glibcxx_cv_mkdir = yes; then
52515 $as_echo "#define _GLIBCXX_USE_MKDIR 1" >>confdefs.h
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for chdir" >&5
52519 $as_echo_n "checking for chdir... " >&6; }
52520 if ${glibcxx_cv_chdir+:} false
; then :
52521 $as_echo_n "(cached) " >&6
52523 if test x
$gcc_no_link = xyes
; then
52524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52525 /* end confdefs.h. */
52527 #include <unistd.h>
52539 if ac_fn_cxx_try_compile
"$LINENO"; then :
52540 glibcxx_cv_chdir
=yes
52542 glibcxx_cv_chdir
=no
52544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52546 if test x
$gcc_no_link = xyes
; then
52547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52550 /* end confdefs.h. */
52552 #include <unistd.h>
52564 if ac_fn_cxx_try_link
"$LINENO"; then :
52565 glibcxx_cv_chdir
=yes
52567 glibcxx_cv_chdir
=no
52569 rm -f core conftest.err conftest.
$ac_objext \
52570 conftest
$ac_exeext conftest.
$ac_ext
52574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_chdir" >&5
52575 $as_echo "$glibcxx_cv_chdir" >&6; }
52576 if test $glibcxx_cv_chdir = yes; then
52578 $as_echo "#define _GLIBCXX_USE_CHDIR 1" >>confdefs.h
52581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getcwd" >&5
52582 $as_echo_n "checking for getcwd... " >&6; }
52583 if ${glibcxx_cv_getcwd+:} false
; then :
52584 $as_echo_n "(cached) " >&6
52586 if test x
$gcc_no_link = xyes
; then
52587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52588 /* end confdefs.h. */
52590 #include <unistd.h>
52596 char* s = getcwd((char*)0, 1);
52602 if ac_fn_cxx_try_compile
"$LINENO"; then :
52603 glibcxx_cv_getcwd
=yes
52605 glibcxx_cv_getcwd
=no
52607 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52609 if test x
$gcc_no_link = xyes
; then
52610 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52613 /* end confdefs.h. */
52615 #include <unistd.h>
52621 char* s = getcwd((char*)0, 1);
52627 if ac_fn_cxx_try_link
"$LINENO"; then :
52628 glibcxx_cv_getcwd
=yes
52630 glibcxx_cv_getcwd
=no
52632 rm -f core conftest.err conftest.
$ac_objext \
52633 conftest
$ac_exeext conftest.
$ac_ext
52637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getcwd" >&5
52638 $as_echo "$glibcxx_cv_getcwd" >&6; }
52639 if test $glibcxx_cv_getcwd = yes; then
52641 $as_echo "#define _GLIBCXX_USE_GETCWD 1" >>confdefs.h
52644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
52645 $as_echo_n "checking for realpath... " >&6; }
52646 if ${glibcxx_cv_realpath+:} false
; then :
52647 $as_echo_n "(cached) " >&6
52649 if test x
$gcc_no_link = xyes
; then
52650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52651 /* end confdefs.h. */
52653 #include <limits.h>
52654 #include <stdlib.h>
52655 #include <unistd.h>
52661 #if _XOPEN_VERSION < 500
52663 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
52664 char *tmp = realpath((const char*)NULL, (char*)NULL);
52673 if ac_fn_cxx_try_compile
"$LINENO"; then :
52674 glibcxx_cv_realpath
=yes
52676 glibcxx_cv_realpath
=no
52678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52680 if test x
$gcc_no_link = xyes
; then
52681 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52684 /* end confdefs.h. */
52686 #include <limits.h>
52687 #include <stdlib.h>
52688 #include <unistd.h>
52694 #if _XOPEN_VERSION < 500
52696 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
52697 char *tmp = realpath((const char*)NULL, (char*)NULL);
52706 if ac_fn_cxx_try_link
"$LINENO"; then :
52707 glibcxx_cv_realpath
=yes
52709 glibcxx_cv_realpath
=no
52711 rm -f core conftest.err conftest.
$ac_objext \
52712 conftest
$ac_exeext conftest.
$ac_ext
52716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
52717 $as_echo "$glibcxx_cv_realpath" >&6; }
52718 if test $glibcxx_cv_realpath = yes; then
52720 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
52724 $as_echo_n "checking for utimensat... " >&6; }
52725 if ${glibcxx_cv_utimensat+:} false
; then :
52726 $as_echo_n "(cached) " >&6
52728 if test x
$gcc_no_link = xyes
; then
52729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52730 /* end confdefs.h. */
52733 #include <sys/stat.h>
52739 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
52740 int i = utimensat(AT_FDCWD, "path", ts, 0);
52746 if ac_fn_cxx_try_compile
"$LINENO"; then :
52747 glibcxx_cv_utimensat
=yes
52749 glibcxx_cv_utimensat
=no
52751 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52753 if test x
$gcc_no_link = xyes
; then
52754 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52757 /* end confdefs.h. */
52760 #include <sys/stat.h>
52766 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
52767 int i = utimensat(AT_FDCWD, "path", ts, 0);
52773 if ac_fn_cxx_try_link
"$LINENO"; then :
52774 glibcxx_cv_utimensat
=yes
52776 glibcxx_cv_utimensat
=no
52778 rm -f core conftest.err conftest.
$ac_objext \
52779 conftest
$ac_exeext conftest.
$ac_ext
52783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
52784 $as_echo "$glibcxx_cv_utimensat" >&6; }
52785 if test $glibcxx_cv_utimensat = yes; then
52787 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
52791 $as_echo_n "checking for utime... " >&6; }
52792 if ${glibcxx_cv_utime+:} false
; then :
52793 $as_echo_n "(cached) " >&6
52795 if test x
$gcc_no_link = xyes
; then
52796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52797 /* end confdefs.h. */
52805 struct utimbuf t = { 1, 1 };
52806 int i = utime("path", &t);
52812 if ac_fn_cxx_try_compile
"$LINENO"; then :
52813 glibcxx_cv_utime
=yes
52815 glibcxx_cv_utime
=no
52817 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52819 if test x
$gcc_no_link = xyes
; then
52820 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52823 /* end confdefs.h. */
52831 struct utimbuf t = { 1, 1 };
52832 int i = utime("path", &t);
52838 if ac_fn_cxx_try_link
"$LINENO"; then :
52839 glibcxx_cv_utime
=yes
52841 glibcxx_cv_utime
=no
52843 rm -f core conftest.err conftest.
$ac_objext \
52844 conftest
$ac_exeext conftest.
$ac_ext
52848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
52849 $as_echo "$glibcxx_cv_utime" >&6; }
52850 if test $glibcxx_cv_utime = yes; then
52852 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
52855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
52856 $as_echo_n "checking for lstat... " >&6; }
52857 if ${glibcxx_cv_lstat+:} false
; then :
52858 $as_echo_n "(cached) " >&6
52860 if test x
$gcc_no_link = xyes
; then
52861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52862 /* end confdefs.h. */
52863 #include <sys/stat.h>
52869 int i = lstat("path", &st);
52875 if ac_fn_cxx_try_compile
"$LINENO"; then :
52876 glibcxx_cv_lstat
=yes
52878 glibcxx_cv_lstat
=no
52880 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52882 if test x
$gcc_no_link = xyes
; then
52883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52886 /* end confdefs.h. */
52887 #include <sys/stat.h>
52893 int i = lstat("path", &st);
52899 if ac_fn_cxx_try_link
"$LINENO"; then :
52900 glibcxx_cv_lstat
=yes
52902 glibcxx_cv_lstat
=no
52904 rm -f core conftest.err conftest.
$ac_objext \
52905 conftest
$ac_exeext conftest.
$ac_ext
52909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
52910 $as_echo "$glibcxx_cv_lstat" >&6; }
52911 if test $glibcxx_cv_lstat = yes; then
52913 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
52916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
52917 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
52918 if ${glibcxx_cv_st_mtim+:} false
; then :
52919 $as_echo_n "(cached) " >&6
52921 if test x
$gcc_no_link = xyes
; then
52922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52923 /* end confdefs.h. */
52924 #include <sys/stat.h>
52930 return st.st_mtim.tv_nsec;
52936 if ac_fn_cxx_try_compile
"$LINENO"; then :
52937 glibcxx_cv_st_mtim
=yes
52939 glibcxx_cv_st_mtim
=no
52941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
52943 if test x
$gcc_no_link = xyes
; then
52944 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52947 /* end confdefs.h. */
52948 #include <sys/stat.h>
52954 return st.st_mtim.tv_nsec;
52960 if ac_fn_cxx_try_link
"$LINENO"; then :
52961 glibcxx_cv_st_mtim
=yes
52963 glibcxx_cv_st_mtim
=no
52965 rm -f core conftest.err conftest.
$ac_objext \
52966 conftest
$ac_exeext conftest.
$ac_ext
52970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
52971 $as_echo "$glibcxx_cv_st_mtim" >&6; }
52972 if test $glibcxx_cv_st_mtim = yes; then
52974 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
52977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
52978 $as_echo_n "checking for fchmod... " >&6; }
52979 if ${glibcxx_cv_fchmod+:} false
; then :
52980 $as_echo_n "(cached) " >&6
52982 if test x
$gcc_no_link = xyes
; then
52983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
52984 /* end confdefs.h. */
52985 #include <sys/stat.h>
52989 fchmod(1, S_IWUSR);
52994 if ac_fn_cxx_try_compile
"$LINENO"; then :
52995 glibcxx_cv_fchmod
=yes
52997 glibcxx_cv_fchmod
=no
52999 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53001 if test x
$gcc_no_link = xyes
; then
53002 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53005 /* end confdefs.h. */
53006 #include <sys/stat.h>
53010 fchmod(1, S_IWUSR);
53015 if ac_fn_cxx_try_link
"$LINENO"; then :
53016 glibcxx_cv_fchmod
=yes
53018 glibcxx_cv_fchmod
=no
53020 rm -f core conftest.err conftest.
$ac_objext \
53021 conftest
$ac_exeext conftest.
$ac_ext
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
53026 $as_echo "$glibcxx_cv_fchmod" >&6; }
53027 if test $glibcxx_cv_fchmod = yes; then
53029 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
53033 $as_echo_n "checking for fchmodat... " >&6; }
53034 if ${glibcxx_cv_fchmodat+:} false
; then :
53035 $as_echo_n "(cached) " >&6
53037 if test x
$gcc_no_link = xyes
; then
53038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h. */
53042 #include <sys/stat.h>
53047 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
53052 if ac_fn_cxx_try_compile
"$LINENO"; then :
53053 glibcxx_cv_fchmodat
=yes
53055 glibcxx_cv_fchmodat
=no
53057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53059 if test x
$gcc_no_link = xyes
; then
53060 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h. */
53066 #include <sys/stat.h>
53071 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
53076 if ac_fn_cxx_try_link
"$LINENO"; then :
53077 glibcxx_cv_fchmodat
=yes
53079 glibcxx_cv_fchmodat
=no
53081 rm -f core conftest.err conftest.
$ac_objext \
53082 conftest
$ac_exeext conftest.
$ac_ext
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
53087 $as_echo "$glibcxx_cv_fchmodat" >&6; }
53088 if test $glibcxx_cv_fchmodat = yes; then
53090 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
53094 $as_echo_n "checking for link... " >&6; }
53095 if ${glibcxx_cv_link+:} false
; then :
53096 $as_echo_n "(cached) " >&6
53098 if test x
$gcc_no_link = xyes
; then
53099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53100 /* end confdefs.h. */
53101 #include <unistd.h>
53110 if ac_fn_cxx_try_compile
"$LINENO"; then :
53111 glibcxx_cv_link
=yes
53115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53117 if test x
$gcc_no_link = xyes
; then
53118 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53121 /* end confdefs.h. */
53122 #include <unistd.h>
53131 if ac_fn_cxx_try_link
"$LINENO"; then :
53132 glibcxx_cv_link
=yes
53136 rm -f core conftest.err conftest.
$ac_objext \
53137 conftest
$ac_exeext conftest.
$ac_ext
53141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
53142 $as_echo "$glibcxx_cv_link" >&6; }
53143 if test $glibcxx_cv_link = yes; then
53145 $as_echo "#define HAVE_LINK 1" >>confdefs.h
53148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
53149 $as_echo_n "checking for lseek... " >&6; }
53150 if ${glibcxx_cv_lseek+:} false
; then :
53151 $as_echo_n "(cached) " >&6
53153 if test x
$gcc_no_link = xyes
; then
53154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53155 /* end confdefs.h. */
53156 #include <unistd.h>
53160 lseek(1, 0, SEEK_SET);
53165 if ac_fn_cxx_try_compile
"$LINENO"; then :
53166 glibcxx_cv_lseek
=yes
53168 glibcxx_cv_lseek
=no
53170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53172 if test x
$gcc_no_link = xyes
; then
53173 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53176 /* end confdefs.h. */
53177 #include <unistd.h>
53181 lseek(1, 0, SEEK_SET);
53186 if ac_fn_cxx_try_link
"$LINENO"; then :
53187 glibcxx_cv_lseek
=yes
53189 glibcxx_cv_lseek
=no
53191 rm -f core conftest.err conftest.
$ac_objext \
53192 conftest
$ac_exeext conftest.
$ac_ext
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
53197 $as_echo "$glibcxx_cv_lseek" >&6; }
53198 if test $glibcxx_cv_lseek = yes; then
53200 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
53204 $as_echo_n "checking for readlink... " >&6; }
53205 if ${glibcxx_cv_readlink+:} false
; then :
53206 $as_echo_n "(cached) " >&6
53208 if test x
$gcc_no_link = xyes
; then
53209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53210 /* end confdefs.h. */
53211 #include <unistd.h>
53215 char buf[32]; readlink("", buf, sizeof(buf));
53220 if ac_fn_cxx_try_compile
"$LINENO"; then :
53221 glibcxx_cv_readlink
=yes
53223 glibcxx_cv_readlink
=no
53225 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53227 if test x
$gcc_no_link = xyes
; then
53228 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53231 /* end confdefs.h. */
53232 #include <unistd.h>
53236 char buf[32]; readlink("", buf, sizeof(buf));
53241 if ac_fn_cxx_try_link
"$LINENO"; then :
53242 glibcxx_cv_readlink
=yes
53244 glibcxx_cv_readlink
=no
53246 rm -f core conftest.err conftest.
$ac_objext \
53247 conftest
$ac_exeext conftest.
$ac_ext
53251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
53252 $as_echo "$glibcxx_cv_readlink" >&6; }
53253 if test $glibcxx_cv_readlink = yes; then
53255 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
53259 $as_echo_n "checking for symlink... " >&6; }
53260 if ${glibcxx_cv_symlink+:} false
; then :
53261 $as_echo_n "(cached) " >&6
53263 if test x
$gcc_no_link = xyes
; then
53264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53265 /* end confdefs.h. */
53266 #include <unistd.h>
53275 if ac_fn_cxx_try_compile
"$LINENO"; then :
53276 glibcxx_cv_symlink
=yes
53278 glibcxx_cv_symlink
=no
53280 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53282 if test x
$gcc_no_link = xyes
; then
53283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53286 /* end confdefs.h. */
53287 #include <unistd.h>
53296 if ac_fn_cxx_try_link
"$LINENO"; then :
53297 glibcxx_cv_symlink
=yes
53299 glibcxx_cv_symlink
=no
53301 rm -f core conftest.err conftest.
$ac_objext \
53302 conftest
$ac_exeext conftest.
$ac_ext
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
53307 $as_echo "$glibcxx_cv_symlink" >&6; }
53308 if test $glibcxx_cv_symlink = yes; then
53310 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
53314 $as_echo_n "checking for truncate... " >&6; }
53315 if ${glibcxx_cv_truncate+:} false
; then :
53316 $as_echo_n "(cached) " >&6
53318 if test x
$gcc_no_link = xyes
; then
53319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53320 /* end confdefs.h. */
53321 #include <unistd.h>
53330 if ac_fn_cxx_try_compile
"$LINENO"; then :
53331 glibcxx_cv_truncate
=yes
53333 glibcxx_cv_truncate
=no
53335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53337 if test x
$gcc_no_link = xyes
; then
53338 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53341 /* end confdefs.h. */
53342 #include <unistd.h>
53351 if ac_fn_cxx_try_link
"$LINENO"; then :
53352 glibcxx_cv_truncate
=yes
53354 glibcxx_cv_truncate
=no
53356 rm -f core conftest.err conftest.
$ac_objext \
53357 conftest
$ac_exeext conftest.
$ac_ext
53361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
53362 $as_echo "$glibcxx_cv_truncate" >&6; }
53363 if test $glibcxx_cv_truncate = yes; then
53365 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
53368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
53369 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
53370 if ${glibcxx_cv_copy_file_range+:} false
; then :
53371 $as_echo_n "(cached) " >&6
53373 case "${target_os}" in
53375 if test x
$gcc_no_link = xyes
; then
53376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h. */
53378 #include <unistd.h>
53382 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
53387 if ac_fn_cxx_try_compile
"$LINENO"; then :
53388 glibcxx_cv_copy_file_range
=yes
53390 glibcxx_cv_copy_file_range
=no
53392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53394 if test x
$gcc_no_link = xyes
; then
53395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53398 /* end confdefs.h. */
53399 #include <unistd.h>
53403 copy_file_range(1, (loff_t*)nullptr, 2, (loff_t*)nullptr, 1, 0);
53408 if ac_fn_cxx_try_link
"$LINENO"; then :
53409 glibcxx_cv_copy_file_range
=yes
53411 glibcxx_cv_copy_file_range
=no
53413 rm -f core conftest.err conftest.
$ac_objext \
53414 conftest
$ac_exeext conftest.
$ac_ext
53418 glibcxx_cv_copy_file_range
=no
53423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
53424 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
53425 if test $glibcxx_cv_copy_file_range = yes; then
53427 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
53431 $as_echo_n "checking for sendfile that can copy files... " >&6; }
53432 if ${glibcxx_cv_sendfile+:} false
; then :
53433 $as_echo_n "(cached) " >&6
53435 case "${target_os}" in
53436 gnu
* | linux
* | solaris
* | uclinux
*)
53437 if test x
$gcc_no_link = xyes
; then
53438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53439 /* end confdefs.h. */
53440 #include <sys/sendfile.h>
53444 sendfile(1, 2, (off_t*)0, sizeof 1);
53449 if ac_fn_cxx_try_compile
"$LINENO"; then :
53450 glibcxx_cv_sendfile
=yes
53452 glibcxx_cv_sendfile
=no
53454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53456 if test x
$gcc_no_link = xyes
; then
53457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53460 /* end confdefs.h. */
53461 #include <sys/sendfile.h>
53465 sendfile(1, 2, (off_t*)0, sizeof 1);
53470 if ac_fn_cxx_try_link
"$LINENO"; then :
53471 glibcxx_cv_sendfile
=yes
53473 glibcxx_cv_sendfile
=no
53475 rm -f core conftest.err conftest.
$ac_objext \
53476 conftest
$ac_exeext conftest.
$ac_ext
53480 glibcxx_cv_sendfile
=no
53485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
53486 $as_echo "$glibcxx_cv_sendfile" >&6; }
53487 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
53489 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
53493 $as_echo_n "checking for fdopendir... " >&6; }
53494 if ${glibcxx_cv_fdopendir+:} false
; then :
53495 $as_echo_n "(cached) " >&6
53497 if test x
$gcc_no_link = xyes
; then
53498 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53499 /* end confdefs.h. */
53500 #include <dirent.h>
53504 ::DIR* dir = ::fdopendir(1);
53509 if ac_fn_cxx_try_compile
"$LINENO"; then :
53510 glibcxx_cv_fdopendir
=yes
53512 glibcxx_cv_fdopendir
=no
53514 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53516 if test x
$gcc_no_link = xyes
; then
53517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53520 /* end confdefs.h. */
53521 #include <dirent.h>
53525 ::DIR* dir = ::fdopendir(1);
53530 if ac_fn_cxx_try_link
"$LINENO"; then :
53531 glibcxx_cv_fdopendir
=yes
53533 glibcxx_cv_fdopendir
=no
53535 rm -f core conftest.err conftest.
$ac_objext \
53536 conftest
$ac_exeext conftest.
$ac_ext
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
53541 $as_echo "$glibcxx_cv_fdopendir" >&6; }
53542 if test $glibcxx_cv_fdopendir = yes; then
53544 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
53547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
53548 $as_echo_n "checking for dirfd... " >&6; }
53549 if ${glibcxx_cv_dirfd+:} false
; then :
53550 $as_echo_n "(cached) " >&6
53552 if test x
$gcc_no_link = xyes
; then
53553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53554 /* end confdefs.h. */
53555 #include <dirent.h>
53559 int fd = ::dirfd((::DIR*)0);
53564 if ac_fn_cxx_try_compile
"$LINENO"; then :
53565 glibcxx_cv_dirfd
=yes
53567 glibcxx_cv_dirfd
=no
53569 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53571 if test x
$gcc_no_link = xyes
; then
53572 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53575 /* end confdefs.h. */
53576 #include <dirent.h>
53580 int fd = ::dirfd((::DIR*)0);
53585 if ac_fn_cxx_try_link
"$LINENO"; then :
53586 glibcxx_cv_dirfd
=yes
53588 glibcxx_cv_dirfd
=no
53590 rm -f core conftest.err conftest.
$ac_objext \
53591 conftest
$ac_exeext conftest.
$ac_ext
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
53596 $as_echo "$glibcxx_cv_dirfd" >&6; }
53597 if test $glibcxx_cv_dirfd = yes; then
53599 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
53602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
53603 $as_echo_n "checking for openat... " >&6; }
53604 if ${glibcxx_cv_openat+:} false
; then :
53605 $as_echo_n "(cached) " >&6
53607 if test x
$gcc_no_link = xyes
; then
53608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53609 /* end confdefs.h. */
53614 int fd = ::openat(AT_FDCWD, "", 0);
53619 if ac_fn_cxx_try_compile
"$LINENO"; then :
53620 glibcxx_cv_openat
=yes
53622 glibcxx_cv_openat
=no
53624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53626 if test x
$gcc_no_link = xyes
; then
53627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53630 /* end confdefs.h. */
53635 int fd = ::openat(AT_FDCWD, "", 0);
53640 if ac_fn_cxx_try_link
"$LINENO"; then :
53641 glibcxx_cv_openat
=yes
53643 glibcxx_cv_openat
=no
53645 rm -f core conftest.err conftest.
$ac_objext \
53646 conftest
$ac_exeext conftest.
$ac_ext
53650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
53651 $as_echo "$glibcxx_cv_openat" >&6; }
53652 if test $glibcxx_cv_openat = yes; then
53654 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
53657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
53658 $as_echo_n "checking for unlinkat... " >&6; }
53659 if ${glibcxx_cv_unlinkat+:} false
; then :
53660 $as_echo_n "(cached) " >&6
53662 if test x
$gcc_no_link = xyes
; then
53663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53664 /* end confdefs.h. */
53666 #include <unistd.h>
53670 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
53675 if ac_fn_cxx_try_compile
"$LINENO"; then :
53676 glibcxx_cv_unlinkat
=yes
53678 glibcxx_cv_unlinkat
=no
53680 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53682 if test x
$gcc_no_link = xyes
; then
53683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53686 /* end confdefs.h. */
53688 #include <unistd.h>
53692 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
53697 if ac_fn_cxx_try_link
"$LINENO"; then :
53698 glibcxx_cv_unlinkat
=yes
53700 glibcxx_cv_unlinkat
=no
53702 rm -f core conftest.err conftest.
$ac_objext \
53703 conftest
$ac_exeext conftest.
$ac_ext
53707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
53708 $as_echo "$glibcxx_cv_unlinkat" >&6; }
53709 if test $glibcxx_cv_unlinkat = yes; then
53711 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
53714 CXXFLAGS
="$ac_save_CXXFLAGS"
53716 ac_cpp
='$CPP $CPPFLAGS'
53717 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53718 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53719 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
53724 # Check whether --enable-libstdcxx-backtrace was given.
53725 if test "${enable_libstdcxx_backtrace+set}" = set; then :
53726 enableval
=$enable_libstdcxx_backtrace;
53727 case "$enableval" in
53729 *) as_fn_error $?
"Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
53733 enable_libstdcxx_backtrace
=auto
53738 # Most of this is adapted from libsanitizer/configure.ac
53740 BACKTRACE_CPPFLAGS
="-D_GNU_SOURCE"
53742 # libbacktrace only needs atomics for int, which we've already tested
53743 if test "$glibcxx_cv_atomic_int" = "yes"; then
53744 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
53747 # Test for __sync support.
53748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
53749 $as_echo_n "checking __sync extensions... " >&6; }
53750 if ${glibcxx_cv_sys_sync+:} false
; then :
53751 $as_echo_n "(cached) " >&6
53753 if test x
$gcc_no_link = xyes
; then
53754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53755 /* end confdefs.h. */
53760 __sync_bool_compare_and_swap (&i, i, i);
53761 __sync_lock_test_and_set (&i, 1);
53762 __sync_lock_release (&i);
53767 if ac_fn_c_try_compile
"$LINENO"; then :
53768 glibcxx_cv_sys_sync
=yes
53770 glibcxx_cv_sys_sync
=no
53772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53774 if test x
$gcc_no_link = xyes
; then
53775 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53778 /* end confdefs.h. */
53783 __sync_bool_compare_and_swap (&i, i, i);
53784 __sync_lock_test_and_set (&i, 1);
53785 __sync_lock_release (&i);
53790 if ac_fn_c_try_link
"$LINENO"; then :
53791 glibcxx_cv_sys_sync
=yes
53793 glibcxx_cv_sys_sync
=no
53795 rm -f core conftest.err conftest.
$ac_objext \
53796 conftest
$ac_exeext conftest.
$ac_ext
53800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
53801 $as_echo "$glibcxx_cv_sys_sync" >&6; }
53802 if test "$glibcxx_cv_sys_sync" = "yes"; then
53803 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
53806 # Check for dl_iterate_phdr.
53807 for ac_header
in link.h
53809 ac_fn_c_check_header_mongrel
"$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
53810 if test "x$ac_cv_header_link_h" = xyes
; then :
53811 cat >>confdefs.h
<<_ACEOF
53812 #define HAVE_LINK_H 1
53819 if test "$ac_cv_header_link_h" = "no"; then
53820 have_dl_iterate_phdr
=no
53822 # When built as a GCC target library, we can't do a link test.
53823 ac_save_CPPFLAGS
="$CPPFLAGS"
53824 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
53825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53826 /* end confdefs.h. */
53830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
53831 $EGREP "dl_iterate_phdr" >/dev
/null
2>&1; then :
53832 have_dl_iterate_phdr
=yes
53834 have_dl_iterate_phdr
=no
53838 CPPFLAGS
="$ac_save_CPPFLAGS"
53840 if test "$have_dl_iterate_phdr" = "yes"; then
53841 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
53843 for ac_header
in windows.h
53845 ac_fn_c_check_header_mongrel
"$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
53846 if test "x$ac_cv_header_windows_h" = xyes
; then :
53847 cat >>confdefs.h
<<_ACEOF
53848 #define HAVE_WINDOWS_H 1
53856 # Check for the fcntl function.
53857 if test -n "${with_target_subdir}"; then
53859 *-*-mingw*) have_fcntl
=no
;;
53860 *) have_fcntl
=yes ;;
53863 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
53864 if test "x$ac_cv_func_fcntl" = xyes
; then :
53871 if test "$have_fcntl" = "yes"; then
53872 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
53875 ac_fn_c_check_decl
"$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
53876 if test "x$ac_cv_have_decl_strnlen" = xyes
; then :
53882 cat >>confdefs.h
<<_ACEOF
53883 #define HAVE_DECL_STRNLEN $ac_have_decl
53887 # Check for getexecname function.
53888 if test -n "${with_target_subdir}"; then
53890 *-*-solaris2*) have_getexecname
=yes ;;
53891 *) have_getexecname
=no
;;
53894 ac_fn_c_check_func
"$LINENO" "getexecname" "ac_cv_func_getexecname"
53895 if test "x$ac_cv_func_getexecname" = xyes
; then :
53896 have_getexecname
=yes
53898 have_getexecname
=no
53902 if test "$have_getexecname" = "yes"; then
53903 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
53906 # The library needs to be able to read the executable itself. Compile
53907 # a file to determine the executable format. The awk script
53908 # filetype.awk prints out the file type.
53909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
53910 $as_echo_n "checking output filetype... " >&6; }
53911 if ${glibcxx_cv_sys_filetype+:} false
; then :
53912 $as_echo_n "(cached) " >&6
53915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53916 /* end confdefs.h. */
53926 if ac_fn_c_try_compile
"$LINENO"; then :
53927 filetype
=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
53929 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53930 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53931 as_fn_error $?
"compiler failed
53932 See \`config.log' for more details" "$LINENO" 5; }
53934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
53935 glibcxx_cv_sys_filetype
=$filetype
53937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
53938 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
53940 # Match the file type to decide what files to compile.
53942 case "$glibcxx_cv_sys_filetype" in
53943 elf
*) FORMAT_FILE
="elf.lo" ;;
53944 pecoff
*) FORMAT_FILE
="pecoff.lo" ;;
53945 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
53946 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
53947 FORMAT_FILE
="unknown.lo"
53948 enable_libstdcxx_backtrace
=no
53955 case "$glibcxx_cv_sys_filetype" in
53956 elf32
) elfsize
=32 ;;
53957 elf64
) elfsize
=64 ;;
53959 BACKTRACE_CPPFLAGS
="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
53961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
53962 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
53963 if test "$enable_libstdcxx_backtrace" = "auto"; then
53965 avr-
*-*) enable_libstdcxx_backtrace
=no
;;
53966 *) enable_libstdcxx_backtrace
="$is_hosted" ;;
53969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
53970 $as_echo "$enable_libstdcxx_backtrace" >&6; }
53971 if test "$enable_libstdcxx_backtrace" = "yes"; then
53972 BACKTRACE_SUPPORTED
=1
53974 for ac_header
in sys
/mman.h
53976 ac_fn_c_check_header_mongrel
"$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
53977 if test "x$ac_cv_header_sys_mman_h" = xyes
; then :
53978 cat >>confdefs.h
<<_ACEOF
53979 #define HAVE_SYS_MMAN_H 1
53987 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
53990 have_mmap
="$ac_cv_header_sys_mman_h" ;;
53993 if test "$have_mmap" = "no"; then
53995 ALLOC_FILE
=alloc.lo
53997 VIEW_FILE
=mmapio.lo
53998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
53999 /* end confdefs.h. */
54001 #include <sys/mman.h>
54002 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
54003 #error no MAP_ANONYMOUS
54007 if ac_fn_c_try_cpp
"$LINENO"; then :
54010 ALLOC_FILE
=alloc.lo
54012 rm -f conftest.err conftest.i conftest.
$ac_ext
54017 BACKTRACE_USES_MALLOC
=0
54018 if test "$ALLOC_FILE" = "alloc.lo"; then
54019 BACKTRACE_USES_MALLOC
=1
54022 if test "$ac_has_gthreads" = "yes"; then
54023 BACKTRACE_SUPPORTS_THREADS
=1
54025 BACKTRACE_SUPPORTS_THREADS
=0
54032 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
54035 BACKTRACE_SUPPORTED
=0
54036 BACKTRACE_USES_MALLOC
=0
54037 BACKTRACE_SUPPORTS_THREADS
=0
54042 # For Networking TS.
54043 for ac_header
in fcntl.h sys
/ioctl.h sys
/socket.h sys
/uio.h poll.h netdb.h arpa
/inet.h netinet
/in.h netinet
/tcp.h
54045 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
54046 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
54047 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
54048 cat >>confdefs.h
<<_ACEOF
54049 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
54056 ac_fn_c_check_decl
"$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
54058 if test "x$ac_cv_have_decl_F_GETFL" = xyes
; then :
54062 ac_fn_c_check_decl
"$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
54064 if test "x$ac_cv_have_decl_F_SETFL" = xyes
; then :
54068 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes
; then
54069 ac_fn_c_check_decl
"$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
54071 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes
; then :
54077 # For Transactional Memory TS
54079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
54080 $as_echo_n "checking how size_t is mangled... " >&6; }
54081 if ${glibcxx_cv_size_t_mangling+:} false
; then :
54082 $as_echo_n "(cached) " >&6
54085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54086 /* end confdefs.h. */
54091 extern __SIZE_TYPE__ x; extern unsigned long x;
54096 if ac_fn_c_try_compile
"$LINENO"; then :
54097 glibcxx_cv_size_t_mangling
=m
54100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54101 /* end confdefs.h. */
54106 extern __SIZE_TYPE__ x; extern unsigned int x;
54111 if ac_fn_c_try_compile
"$LINENO"; then :
54112 glibcxx_cv_size_t_mangling
=j
54115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54116 /* end confdefs.h. */
54121 extern __SIZE_TYPE__ x; extern unsigned long long x;
54126 if ac_fn_c_try_compile
"$LINENO"; then :
54127 glibcxx_cv_size_t_mangling
=y
54130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54131 /* end confdefs.h. */
54136 extern __SIZE_TYPE__ x; extern unsigned short x;
54141 if ac_fn_c_try_compile
"$LINENO"; then :
54142 glibcxx_cv_size_t_mangling
=t
54145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54146 /* end confdefs.h. */
54151 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
54156 if ac_fn_c_try_compile
"$LINENO"; then :
54157 glibcxx_cv_size_t_mangling
=u6uint20
54159 glibcxx_cv_size_t_mangling
=x
54161 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54164 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54170 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
54177 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
54178 if test $glibcxx_cv_size_t_mangling = x
; then
54179 as_fn_error $?
"Unknown underlying type for size_t" "$LINENO" 5
54182 cat >>confdefs.h
<<_ACEOF
54183 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
54188 # Check which release added std::exception_ptr for the target
54190 if test $enable_symvers != no
; then
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
54192 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
54194 aarch64-
*-* | alpha-
*-* | hppa
*-*-* | i?
86-*-* | x86_64-
*-* | \
54195 m68k-
*-* | powerpc
*-*-* | s390
*-*-* |
*-*-solaris* )
54196 ac_exception_ptr_since_gcc46
=yes
54199 # If the value of this macro changes then we will need to hardcode
54200 # yes/no here for additional targets based on the original value.
54201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54202 /* end confdefs.h. */
54208 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
54209 # error atomic int not always lock free
54216 if ac_fn_c_try_compile
"$LINENO"; then :
54217 ac_exception_ptr_since_gcc46
=yes
54219 ac_exception_ptr_since_gcc46
=no
54221 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54224 if test x
"$ac_exception_ptr_since_gcc46" = x
"yes" ; then
54226 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
54228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
54229 $as_echo "4.6.0" >&6; }
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
54232 $as_echo "7.1.0" >&6; }
54237 # For libsupc++/eh_alloc.cc defaults.
54241 # Check whether --enable-libstdcxx-static-eh-pool was given.
54242 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
54243 enableval
=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
54244 eh_pool_static
="-D_GLIBCXX_EH_POOL_STATIC"
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
54246 $as_echo "$as_me: EH pool using static buffer" >&6;}
54252 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
54253 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
54254 withval
=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev
/null
; then
54255 eh_pool_obj_count
="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
54256 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
54257 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
54259 as_fn_error $?
"EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
54264 EH_POOL_FLAGS
="$eh_pool_static $eh_pool_obj_count"
54268 # For src/c++20/tzdb.cc defaults.
54271 # Check whether --with-libstdcxx-zoneinfo was given.
54272 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
54273 withval
=$with_libstdcxx_zoneinfo;
54275 with_libstdcxx_zoneinfo
=yes
54279 if test "x${with_libstdcxx_zoneinfo}" = xyes
; then
54280 # Pick a default when no specific path is set.
54281 case "$target_os" in
54282 gnu
* | linux
* | kfreebsd
*-gnu | knetbsd
*-gnu)
54283 # Not all distros ship tzdata.zi in this dir.
54284 zoneinfo_dir
="/usr/share/zoneinfo"
54287 # Binary tzfile files are in /usr/share/lib/zoneinfo
54288 # but tzdata.zi is not present there.
54292 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
54293 # but tzdata.zi is not present there.
54297 # Binary tzfile files are commonly found in /usr/share/zoneinfo
54298 # but tzdata.zi is not present there.
54303 if ac_fn_c_compute_int
"$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
54307 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
54308 # Also embed a copy of the tzdata.zi file as a static string.
54311 # The embedded data is too large for 16-bit targets.
54314 elif test "x${with_libstdcxx_zoneinfo}" = xno
; then
54315 # Disable tzdb support completely.
54319 case "${with_libstdcxx_zoneinfo}" in
54321 # Do not attempt to read from disk, always use embedded data.
54325 static
,* |
*,static
)
54326 # Try to read from disk, use embedded data as fallback.
54327 zoneinfo_dir
="${with_libstdcxx_zoneinfo#static,}"
54328 zoneinfo_dir
="${with_libstdcxx_zoneinfo%,static}"
54332 zoneinfo_dir
="${with_libstdcxx_zoneinfo}"
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
54338 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
54339 if test "x${zoneinfo_dir}" != xnone
; then
54341 cat >>confdefs.h
<<_ACEOF
54342 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
54345 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
54346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
54347 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
54351 if test "x${embed_zoneinfo}" = xyes
; then
54352 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
54353 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
54355 cat >>confdefs.h
<<_ACEOF
54356 #define _GLIBCXX_STATIC_TZDATA 1
54362 # For src/c++11/shared_ptr.cc alignment.
54366 ac_cpp
='$CXXCPP $CPPFLAGS'
54367 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54368 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54369 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
54373 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
54374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54375 /* end confdefs.h. */
54380 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
54381 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
54387 if ac_fn_cxx_try_compile
"$LINENO"; then :
54388 ac_alignas_cacheline
=yes
54390 ac_alignas_cacheline
=no
54392 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54393 if test "$ac_alignas_cacheline" = yes; then
54395 cat >>confdefs.h
<<_ACEOF
54396 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
54400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
54401 $as_echo "$ac_alignas_cacheline" >&6; }
54404 ac_cpp
='$CPP $CPPFLAGS'
54405 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54406 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54407 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
54411 # For using init_priority in ios_init.cc
54415 ac_cpp
='$CXXCPP $CPPFLAGS'
54416 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether init_priority attribute is supported" >&5
54422 $as_echo_n "checking whether init_priority attribute is supported... " >&6; }
54423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54424 /* end confdefs.h. */
54430 #if ! __has_attribute(init_priority)
54431 #error init_priority not supported
54438 if ac_fn_cxx_try_compile
"$LINENO"; then :
54439 ac_init_priority
=yes
54441 ac_init_priority
=no
54443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54444 if test "$ac_init_priority" = yes; then
54446 cat >>confdefs.h
<<_ACEOF
54447 #define _GLIBCXX_USE_INIT_PRIORITY_ATTRIBUTE 1
54451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_init_priority" >&5
54452 $as_echo "$ac_init_priority" >&6; }
54455 ac_cpp
='$CPP $CPPFLAGS'
54456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
54462 # For __basic_file::native_handle()
54466 ac_cpp
='$CXXCPP $CPPFLAGS'
54467 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
54472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether _get_osfhandle is defined in <io.h>" >&5
54473 $as_echo_n "checking whether _get_osfhandle is defined in <io.h>... " >&6; }
54474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
54475 /* end confdefs.h. */
54477 #if defined(_WIN32) && !defined(__CYGWIN__)
54478 # include <stdint.h>
54479 # include <stdio.h>
54488 int fd = fileno(file);
54489 intptr_t crt_handle = _get_osfhandle(fd);
54490 void* win32_handle = reinterpret_cast<void*>(crt_handle);
54496 if ac_fn_cxx_try_compile
"$LINENO"; then :
54497 ac_get_osfhandle
=yes
54499 ac_get_osfhandle
=no
54501 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
54502 if test "$ac_get_osfhandle" = yes; then
54504 cat >>confdefs.h
<<_ACEOF
54505 #define _GLIBCXX_USE__GET_OSFHANDLE 1
54509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_get_osfhandle" >&5
54510 $as_echo "$ac_get_osfhandle" >&6; }
54513 ac_cpp
='$CPP $CPPFLAGS'
54514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
54520 # Define documentation rules conditionally.
54522 # See if makeinfo has been installed and is modern enough
54523 # that we can use it.
54525 # Extract the first word of "makeinfo", so it can be a program name with args.
54526 set dummy makeinfo
; ac_word
=$2
54527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54528 $as_echo_n "checking for $ac_word... " >&6; }
54529 if ${ac_cv_prog_MAKEINFO+:} false
; then :
54530 $as_echo_n "(cached) " >&6
54532 if test -n "$MAKEINFO"; then
54533 ac_cv_prog_MAKEINFO
="$MAKEINFO" # Let the user override the test.
54535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54536 for as_dir
in $PATH
54539 test -z "$as_dir" && as_dir
=.
54540 for ac_exec_ext
in '' $ac_executable_extensions; do
54541 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54542 ac_cv_prog_MAKEINFO
="makeinfo"
54543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54552 MAKEINFO
=$ac_cv_prog_MAKEINFO
54553 if test -n "$MAKEINFO"; then
54554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
54555 $as_echo "$MAKEINFO" >&6; }
54557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54558 $as_echo "no" >&6; }
54562 if test -n "$MAKEINFO"; then
54563 # Found it, now check the version.
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
54565 $as_echo_n "checking for modern makeinfo... " >&6; }
54566 if ${gcc_cv_prog_makeinfo_modern+:} false
; then :
54567 $as_echo_n "(cached) " >&6
54569 ac_prog_version
=`eval $MAKEINFO --version 2>&1 |
54570 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
54572 case $ac_prog_version in
54573 '') gcc_cv_prog_makeinfo_modern
=no
;;
54574 4.
[4-9]*|
4.
[1-9][0-9]*|
[5-9]*|
[1-9][0-9]*) gcc_cv_prog_makeinfo_modern
=yes;;
54575 *) gcc_cv_prog_makeinfo_modern
=no
;;
54579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
54580 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
54582 gcc_cv_prog_makeinfo_modern
=no
54584 if test $gcc_cv_prog_makeinfo_modern = no
; then
54585 MAKEINFO
="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
54588 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
54590 BUILD_INFO_FALSE
='#'
54592 BUILD_INFO_TRUE
='#'
54597 # Check for doxygen
54598 # Extract the first word of "doxygen", so it can be a program name with args.
54599 set dummy doxygen
; ac_word
=$2
54600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54601 $as_echo_n "checking for $ac_word... " >&6; }
54602 if ${ac_cv_prog_DOXYGEN+:} false
; then :
54603 $as_echo_n "(cached) " >&6
54605 if test -n "$DOXYGEN"; then
54606 ac_cv_prog_DOXYGEN
="$DOXYGEN" # Let the user override the test.
54608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54609 for as_dir
in $PATH
54612 test -z "$as_dir" && as_dir
=.
54613 for ac_exec_ext
in '' $ac_executable_extensions; do
54614 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54615 ac_cv_prog_DOXYGEN
="yes"
54616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54623 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN
="no"
54626 DOXYGEN
=$ac_cv_prog_DOXYGEN
54627 if test -n "$DOXYGEN"; then
54628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
54629 $as_echo "$DOXYGEN" >&6; }
54631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54632 $as_echo "no" >&6; }
54636 # Extract the first word of "dot", so it can be a program name with args.
54637 set dummy dot
; ac_word
=$2
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54639 $as_echo_n "checking for $ac_word... " >&6; }
54640 if ${ac_cv_prog_DOT+:} false
; then :
54641 $as_echo_n "(cached) " >&6
54643 if test -n "$DOT"; then
54644 ac_cv_prog_DOT
="$DOT" # Let the user override the test.
54646 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54647 for as_dir
in $PATH
54650 test -z "$as_dir" && as_dir
=.
54651 for ac_exec_ext
in '' $ac_executable_extensions; do
54652 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54653 ac_cv_prog_DOT
="yes"
54654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54661 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT
="no"
54664 DOT
=$ac_cv_prog_DOT
54665 if test -n "$DOT"; then
54666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
54667 $as_echo "$DOT" >&6; }
54669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54670 $as_echo "no" >&6; }
54675 # Check for docbook
54676 # Extract the first word of "xmlcatalog", so it can be a program name with args.
54677 set dummy xmlcatalog
; ac_word
=$2
54678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54679 $as_echo_n "checking for $ac_word... " >&6; }
54680 if ${ac_cv_prog_XMLCATALOG+:} false
; then :
54681 $as_echo_n "(cached) " >&6
54683 if test -n "$XMLCATALOG"; then
54684 ac_cv_prog_XMLCATALOG
="$XMLCATALOG" # Let the user override the test.
54686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54687 for as_dir
in $PATH
54690 test -z "$as_dir" && as_dir
=.
54691 for ac_exec_ext
in '' $ac_executable_extensions; do
54692 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54693 ac_cv_prog_XMLCATALOG
="yes"
54694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54701 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG
="no"
54704 XMLCATALOG
=$ac_cv_prog_XMLCATALOG
54705 if test -n "$XMLCATALOG"; then
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
54707 $as_echo "$XMLCATALOG" >&6; }
54709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54710 $as_echo "no" >&6; }
54714 # Extract the first word of "xsltproc", so it can be a program name with args.
54715 set dummy xsltproc
; ac_word
=$2
54716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54717 $as_echo_n "checking for $ac_word... " >&6; }
54718 if ${ac_cv_prog_XSLTPROC+:} false
; then :
54719 $as_echo_n "(cached) " >&6
54721 if test -n "$XSLTPROC"; then
54722 ac_cv_prog_XSLTPROC
="$XSLTPROC" # Let the user override the test.
54724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54725 for as_dir
in $PATH
54728 test -z "$as_dir" && as_dir
=.
54729 for ac_exec_ext
in '' $ac_executable_extensions; do
54730 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54731 ac_cv_prog_XSLTPROC
="yes"
54732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54739 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC
="no"
54742 XSLTPROC
=$ac_cv_prog_XSLTPROC
54743 if test -n "$XSLTPROC"; then
54744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
54745 $as_echo "$XSLTPROC" >&6; }
54747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54748 $as_echo "no" >&6; }
54752 # Extract the first word of "xmllint", so it can be a program name with args.
54753 set dummy xmllint
; ac_word
=$2
54754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54755 $as_echo_n "checking for $ac_word... " >&6; }
54756 if ${ac_cv_prog_XMLLINT+:} false
; then :
54757 $as_echo_n "(cached) " >&6
54759 if test -n "$XMLLINT"; then
54760 ac_cv_prog_XMLLINT
="$XMLLINT" # Let the user override the test.
54762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54763 for as_dir
in $PATH
54766 test -z "$as_dir" && as_dir
=.
54767 for ac_exec_ext
in '' $ac_executable_extensions; do
54768 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54769 ac_cv_prog_XMLLINT
="yes"
54770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54777 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT
="no"
54780 XMLLINT
=$ac_cv_prog_XMLLINT
54781 if test -n "$XMLLINT"; then
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
54783 $as_echo "$XMLLINT" >&6; }
54785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54786 $as_echo "no" >&6; }
54792 glibcxx_docbook_url
=http
://cdn.docbook.org
/release
/xsl
/current
/
54794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
54795 $as_echo_n "checking for local stylesheet directory... " >&6; }
54796 glibcxx_local_stylesheets
=no
54797 if test x
${XMLCATALOG} = xyes
&& xsl_style_dir
=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
54799 XSL_STYLE_DIR
=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
54800 glibcxx_local_stylesheets
=yes
54803 /usr
/share
/sgml
/docbook
/xsl-ns-stylesheets \
54804 /usr
/share
/xml
/docbook
/stylesheet
/docbook-xsl-ns \
54805 /usr
/share
/xml
/docbook
/stylesheet
/nwalsh
5/current \
54806 /usr
/share
/xml
/docbook
/stylesheet
/nwalsh
/current
54808 if test -d $dir; then
54809 glibcxx_local_stylesheets
=yes
54815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
54816 $as_echo "$glibcxx_local_stylesheets" >&6; }
54818 if test x
"$glibcxx_local_stylesheets" = x
"yes"; then
54820 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
54821 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
54824 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
54825 glibcxx_stylesheets
=no
54826 if test x
${XMLCATALOG} = xno || xmlcatalog
"" $glibcxx_docbook_url/xhtml
/docbook.xsl
>/dev
/null
2>&1; then
54827 if test x
${XSLTPROC} = xyes
&& echo '<title/>' | xsltproc
--noout --nonet --xinclude $glibcxx_docbook_url/xhtml
/docbook.xsl
- 2>/dev
/null
; then
54828 glibcxx_stylesheets
=yes
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
54832 $as_echo "$glibcxx_stylesheets" >&6; }
54835 glibcxx_stylesheets
=no
54838 # Check for epub3 dependencies.
54839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
54840 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
54841 glibcxx_epub_stylesheets
=no
54842 if test x
"$glibcxx_local_stylesheets" = x
"yes"; then
54843 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
54844 glibcxx_epub_stylesheets
=yes
54847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
54848 $as_echo "$glibcxx_epub_stylesheets" >&6; }
54849 if test x
"$glibcxx_epub_stylesheets" = x
"yes"; then
54851 BUILD_EPUB_FALSE
='#'
54853 BUILD_EPUB_TRUE
='#'
54860 # Check for xml/html dependencies.
54861 if test $ac_cv_prog_DOXYGEN = "yes" &&
54862 test $ac_cv_prog_DOT = "yes" &&
54863 test $ac_cv_prog_XSLTPROC = "yes" &&
54864 test $ac_cv_prog_XMLLINT = "yes" &&
54865 test $glibcxx_stylesheets = "yes"; then
54867 BUILD_XML_FALSE
='#'
54874 if test $ac_cv_prog_DOXYGEN = "yes" &&
54875 test $ac_cv_prog_DOT = "yes" &&
54876 test $ac_cv_prog_XSLTPROC = "yes" &&
54877 test $ac_cv_prog_XMLLINT = "yes" &&
54878 test $glibcxx_stylesheets = "yes"; then
54880 BUILD_HTML_FALSE
='#'
54882 BUILD_HTML_TRUE
='#'
54887 # Check for man dependencies.
54888 if test $ac_cv_prog_DOXYGEN = "yes" &&
54889 test $ac_cv_prog_DOT = "yes"; then
54891 BUILD_MAN_FALSE
='#'
54898 # Check for pdf dependencies.
54899 # Extract the first word of "dblatex", so it can be a program name with args.
54900 set dummy dblatex
; ac_word
=$2
54901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54902 $as_echo_n "checking for $ac_word... " >&6; }
54903 if ${ac_cv_prog_DBLATEX+:} false
; then :
54904 $as_echo_n "(cached) " >&6
54906 if test -n "$DBLATEX"; then
54907 ac_cv_prog_DBLATEX
="$DBLATEX" # Let the user override the test.
54909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54910 for as_dir
in $PATH
54913 test -z "$as_dir" && as_dir
=.
54914 for ac_exec_ext
in '' $ac_executable_extensions; do
54915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54916 ac_cv_prog_DBLATEX
="yes"
54917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54924 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX
="no"
54927 DBLATEX
=$ac_cv_prog_DBLATEX
54928 if test -n "$DBLATEX"; then
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
54930 $as_echo "$DBLATEX" >&6; }
54932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54933 $as_echo "no" >&6; }
54937 # Extract the first word of "pdflatex", so it can be a program name with args.
54938 set dummy pdflatex
; ac_word
=$2
54939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
54940 $as_echo_n "checking for $ac_word... " >&6; }
54941 if ${ac_cv_prog_PDFLATEX+:} false
; then :
54942 $as_echo_n "(cached) " >&6
54944 if test -n "$PDFLATEX"; then
54945 ac_cv_prog_PDFLATEX
="$PDFLATEX" # Let the user override the test.
54947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
54948 for as_dir
in $PATH
54951 test -z "$as_dir" && as_dir
=.
54952 for ac_exec_ext
in '' $ac_executable_extensions; do
54953 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
54954 ac_cv_prog_PDFLATEX
="yes"
54955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
54962 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX
="no"
54965 PDFLATEX
=$ac_cv_prog_PDFLATEX
54966 if test -n "$PDFLATEX"; then
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
54968 $as_echo "$PDFLATEX" >&6; }
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54971 $as_echo "no" >&6; }
54975 if test $ac_cv_prog_DOXYGEN = "yes" &&
54976 test $ac_cv_prog_DOT = "yes" &&
54977 test $ac_cv_prog_XSLTPROC = "yes" &&
54978 test $ac_cv_prog_XMLLINT = "yes" &&
54979 test $ac_cv_prog_DBLATEX = "yes" &&
54980 test $ac_cv_prog_PDFLATEX = "yes"; then
54982 BUILD_PDF_FALSE
='#'
54990 *-*-darwin* ) glibcxx_include_dir_notparallel
=yes ;;
54991 * ) glibcxx_include_dir_notparallel
=no
;;
54993 if test $glibcxx_include_dir_notparallel = "yes"; then
54994 INCLUDE_DIR_NOTPARALLEL_TRUE
=
54995 INCLUDE_DIR_NOTPARALLEL_FALSE
='#'
54997 INCLUDE_DIR_NOTPARALLEL_TRUE
='#'
54998 INCLUDE_DIR_NOTPARALLEL_FALSE
=
55002 # Propagate the target-specific source directories through the build chain.
55003 ATOMICITY_SRCDIR
=config
/${atomicity_dir}
55004 ATOMIC_WORD_SRCDIR
=config
/${atomic_word_dir}
55005 ATOMIC_FLAGS
=${atomic_flags}
55006 CPU_DEFINES_SRCDIR
=config
/${cpu_defines_dir}
55007 OS_INC_SRCDIR
=config
/${os_include_dir}
55008 ERROR_CONSTANTS_SRCDIR
=config
/${error_constants_dir}
55009 ABI_TWEAKS_SRCDIR
=config
/${abi_tweaks_dir}
55010 CPU_OPT_EXT_RANDOM
=config
/${cpu_opt_ext_random}
55011 CPU_OPT_BITS_RANDOM
=config
/${cpu_opt_bits_random}
55022 # Conditionalize the makefile for this target machine.
55024 for f
in ${tmake_file}
55026 if test -f ${srcdir}/config
/$f
55028 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
55031 tmake_file
="${tmake_file_}"
55034 # Add CET specific flags if Intel CET is enabled.
55035 # Check whether --enable-cet was given.
55036 if test "${enable_cet+set}" = set; then :
55037 enableval
=$enable_cet;
55038 case "$enableval" in
55040 *) as_fn_error $?
"Unknown argument to enable/disable cet" "$LINENO" 5 ;;
55048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
55049 $as_echo_n "checking for CET support... " >&6; }
55051 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
55053 i
[34567]86-*-linux* | x86_64-
*-linux*)
55054 case "$enable_cet" in
55056 # Check if target supports multi-byte NOPs
55057 # and if compiler and assembler support CET insn.
55058 cet_save_CFLAGS
="$CFLAGS"
55059 CFLAGS
="$CFLAGS -fcf-protection"
55060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
55061 /* end confdefs.h. */
55067 #if !defined(__SSE2__)
55068 #error target does not support multi-byte NOPs
55077 if ac_fn_c_try_compile
"$LINENO"; then :
55082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
55083 CFLAGS
="$cet_save_CFLAGS"
55086 # Check if assembler supports CET.
55087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55098 if ac_fn_c_try_compile
"$LINENO"; then :
55101 as_fn_error $?
"assembler with CET support is required for --enable-cet" "$LINENO" 5
55103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
55111 if test x
$enable_cet = xyes
; then
55112 CET_FLAGS
="-fcf-protection -mshstk"
55113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
55114 $as_echo "yes" >&6; }
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
55117 $as_echo "no" >&6; }
55120 EXTRA_CXX_FLAGS
="$EXTRA_CXX_FLAGS $CET_FLAGS"
55121 EXTRA_CFLAGS
="$EXTRA_CFLAGS $CET_FLAGS"
55125 # Determine cross-compile flags and AM_CONDITIONALs.
55126 #AC_SUBST(GLIBCXX_IS_NATIVE)
55127 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
55128 if test $is_hosted = yes; then
55129 GLIBCXX_HOSTED_TRUE
=
55130 GLIBCXX_HOSTED_FALSE
='#'
55132 GLIBCXX_HOSTED_TRUE
='#'
55133 GLIBCXX_HOSTED_FALSE
=
55137 if test $enable_libstdcxx_pch = yes; then
55138 GLIBCXX_BUILD_PCH_TRUE
=
55139 GLIBCXX_BUILD_PCH_FALSE
='#'
55141 GLIBCXX_BUILD_PCH_TRUE
='#'
55142 GLIBCXX_BUILD_PCH_FALSE
=
55146 if test $enable_float128 = yes; then
55147 ENABLE_FLOAT128_TRUE
=
55148 ENABLE_FLOAT128_FALSE
='#'
55150 ENABLE_FLOAT128_TRUE
='#'
55151 ENABLE_FLOAT128_FALSE
=
55155 if test $enable_libstdcxx_allocator_flag = new
; then
55156 ENABLE_ALLOCATOR_NEW_TRUE
=
55157 ENABLE_ALLOCATOR_NEW_FALSE
='#'
55159 ENABLE_ALLOCATOR_NEW_TRUE
='#'
55160 ENABLE_ALLOCATOR_NEW_FALSE
=
55164 if test $enable_cheaders = c
; then
55165 GLIBCXX_C_HEADERS_C_TRUE
=
55166 GLIBCXX_C_HEADERS_C_FALSE
='#'
55168 GLIBCXX_C_HEADERS_C_TRUE
='#'
55169 GLIBCXX_C_HEADERS_C_FALSE
=
55173 if test $enable_cheaders = c_std
; then
55174 GLIBCXX_C_HEADERS_C_STD_TRUE
=
55175 GLIBCXX_C_HEADERS_C_STD_FALSE
='#'
55177 GLIBCXX_C_HEADERS_C_STD_TRUE
='#'
55178 GLIBCXX_C_HEADERS_C_STD_FALSE
=
55182 if test $enable_cheaders = c_global
; then
55183 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
=
55184 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
='#'
55186 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
='#'
55187 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
=
55191 if test $c_compatibility = yes; then
55192 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
=
55193 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
='#'
55195 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
='#'
55196 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
=
55200 if test $enable_libstdcxx_debug = yes; then
55201 GLIBCXX_BUILD_DEBUG_TRUE
=
55202 GLIBCXX_BUILD_DEBUG_FALSE
='#'
55204 GLIBCXX_BUILD_DEBUG_TRUE
='#'
55205 GLIBCXX_BUILD_DEBUG_FALSE
=
55209 if test $enable_extern_template = yes; then
55210 ENABLE_EXTERN_TEMPLATE_TRUE
=
55211 ENABLE_EXTERN_TEMPLATE_FALSE
='#'
55213 ENABLE_EXTERN_TEMPLATE_TRUE
='#'
55214 ENABLE_EXTERN_TEMPLATE_FALSE
=
55218 if test $python_mod_dir != no
; then
55219 ENABLE_PYTHONDIR_TRUE
=
55220 ENABLE_PYTHONDIR_FALSE
='#'
55222 ENABLE_PYTHONDIR_TRUE
='#'
55223 ENABLE_PYTHONDIR_FALSE
=
55227 if test $enable_werror = yes; then
55228 ENABLE_WERROR_TRUE
=
55229 ENABLE_WERROR_FALSE
='#'
55231 ENABLE_WERROR_TRUE
='#'
55232 ENABLE_WERROR_FALSE
=
55236 if test $enable_vtable_verify = yes; then
55237 ENABLE_VTABLE_VERIFY_TRUE
=
55238 ENABLE_VTABLE_VERIFY_FALSE
='#'
55240 ENABLE_VTABLE_VERIFY_TRUE
='#'
55241 ENABLE_VTABLE_VERIFY_FALSE
=
55245 if test $enable_symvers != no
; then
55246 ENABLE_SYMVERS_TRUE
=
55247 ENABLE_SYMVERS_FALSE
='#'
55249 ENABLE_SYMVERS_TRUE
='#'
55250 ENABLE_SYMVERS_FALSE
=
55254 if test $enable_symvers = gnu
; then
55255 ENABLE_SYMVERS_GNU_TRUE
=
55256 ENABLE_SYMVERS_GNU_FALSE
='#'
55258 ENABLE_SYMVERS_GNU_TRUE
='#'
55259 ENABLE_SYMVERS_GNU_FALSE
=
55263 if test $enable_symvers = gnu-versioned-namespace
; then
55264 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
=
55265 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
='#'
55267 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
='#'
55268 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
=
55272 if test $enable_symvers = darwin
; then
55273 ENABLE_SYMVERS_DARWIN_TRUE
=
55274 ENABLE_SYMVERS_DARWIN_FALSE
='#'
55276 ENABLE_SYMVERS_DARWIN_TRUE
='#'
55277 ENABLE_SYMVERS_DARWIN_FALSE
=
55281 if test $enable_symvers = sun
; then
55282 ENABLE_SYMVERS_SUN_TRUE
=
55283 ENABLE_SYMVERS_SUN_FALSE
='#'
55285 ENABLE_SYMVERS_SUN_TRUE
='#'
55286 ENABLE_SYMVERS_SUN_FALSE
=
55290 if test $enable_libstdcxx_visibility = yes; then
55291 ENABLE_VISIBILITY_TRUE
=
55292 ENABLE_VISIBILITY_FALSE
='#'
55294 ENABLE_VISIBILITY_TRUE
='#'
55295 ENABLE_VISIBILITY_FALSE
=
55299 if test $enable_libstdcxx_dual_abi = yes; then
55300 ENABLE_DUAL_ABI_TRUE
=
55301 ENABLE_DUAL_ABI_FALSE
='#'
55303 ENABLE_DUAL_ABI_TRUE
='#'
55304 ENABLE_DUAL_ABI_FALSE
=
55308 if test $glibcxx_cxx11_abi = 1; then
55309 ENABLE_CXX11_ABI_TRUE
=
55310 ENABLE_CXX11_ABI_FALSE
='#'
55312 ENABLE_CXX11_ABI_TRUE
='#'
55313 ENABLE_CXX11_ABI_FALSE
=
55317 if test $ac_ldbl_compat = yes; then
55318 GLIBCXX_LDBL_COMPAT_TRUE
=
55319 GLIBCXX_LDBL_COMPAT_FALSE
='#'
55321 GLIBCXX_LDBL_COMPAT_TRUE
='#'
55322 GLIBCXX_LDBL_COMPAT_FALSE
=
55326 if test $ac_ldbl_alt128_compat = yes; then
55327 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
=
55328 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
='#'
55330 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
='#'
55331 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
=
55335 if test $enable_libstdcxx_filesystem_ts = yes; then
55336 ENABLE_FILESYSTEM_TS_TRUE
=
55337 ENABLE_FILESYSTEM_TS_FALSE
='#'
55339 ENABLE_FILESYSTEM_TS_TRUE
='#'
55340 ENABLE_FILESYSTEM_TS_FALSE
=
55344 if test "$enable_libstdcxx_backtrace" = yes; then
55345 ENABLE_BACKTRACE_TRUE
=
55346 ENABLE_BACKTRACE_FALSE
='#'
55348 ENABLE_BACKTRACE_TRUE
='#'
55349 ENABLE_BACKTRACE_FALSE
=
55353 if test "${embed_zoneinfo}" = yes; then
55354 USE_STATIC_TZDATA_TRUE
=
55355 USE_STATIC_TZDATA_FALSE
='#'
55357 USE_STATIC_TZDATA_TRUE
='#'
55358 USE_STATIC_TZDATA_FALSE
=
55364 cat >confcache
<<\_ACEOF
55365 # This file is a shell script that caches the results of configure
55366 # tests run on this system so they can be shared between configure
55367 # scripts and configure runs, see configure's option --config-cache.
55368 # It is not useful on other systems. If it contains results you don't
55369 # want to keep, you may remove or edit it.
55371 # config.status only pays attention to the cache file if you give it
55372 # the --recheck option to rerun configure.
55374 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55375 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55376 # following values.
55380 # The following way of writing the cache mishandles newlines in values,
55381 # but we know of no workaround that is simple, portable, and efficient.
55382 # So, we kill variables containing newlines.
55383 # Ultrix sh set writes to stderr and can't be redirected directly,
55384 # and sets the high bit in the cache file unless we assign to the vars.
55386 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55387 eval ac_val
=\$
$ac_var
55391 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
55392 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55395 _ | IFS | as_nl
) ;; #(
55396 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
55397 *) { eval $ac_var=; unset $ac_var;} ;;
55403 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55404 *${as_nl}ac_space
=\
*)
55405 # `set' does not quote correctly, so add quotes: double-quote
55406 # substitution turns \\\\ into \\, and sed turns \\ into \.
55409 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55412 # `set' quotes correctly as required by POSIX, so do not add quotes.
55413 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55422 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55424 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55426 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55427 if test -w "$cache_file"; then
55428 if test "x$cache_file" != "x/dev/null"; then
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
55430 $as_echo "$as_me: updating cache $cache_file" >&6;}
55431 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
55432 cat confcache
>"$cache_file"
55434 case $cache_file in #(
55436 mv -f confcache
"$cache_file"$$
&&
55437 mv -f "$cache_file"$$
"$cache_file" ;; #(
55439 mv -f confcache
"$cache_file" ;;
55444 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
55445 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55450 if test ${multilib} = yes; then
55451 multilib_arg
="--enable-multilib"
55456 # Export all the install information.
55458 glibcxx_toolexecdir
=no
55459 glibcxx_toolexeclibdir
=no
55460 glibcxx_prefixdir
=$prefix
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
55463 $as_echo_n "checking for gxx-include-dir... " >&6; }
55465 # Check whether --with-gxx-include-dir was given.
55466 if test "${with_gxx_include_dir+set}" = set; then :
55467 withval
=$with_gxx_include_dir; case "$withval" in
55468 yes) as_fn_error $?
"Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
55469 no
) gxx_include_dir
=no
;;
55470 *) gxx_include_dir
=$withval ;;
55476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
55477 $as_echo "$gxx_include_dir" >&6; }
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
55480 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
55481 # Check whether --enable-version-specific-runtime-libs was given.
55482 if test "${enable_version_specific_runtime_libs+set}" = set; then :
55483 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
55484 yes) version_specific_libs
=yes ;;
55485 no
) version_specific_libs
=no
;;
55486 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
55489 version_specific_libs
=no
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
55493 $as_echo "$version_specific_libs" >&6; }
55496 # Check whether --with-toolexeclibdir was given.
55497 if test "${with_toolexeclibdir+set}" = set; then :
55498 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
55502 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
55506 with_toolexeclibdir
=no
55511 # Default case for install directory for include files.
55512 if test $version_specific_libs = no
&& test $gxx_include_dir = no
; then
55513 gxx_include_dir
='include/c++/${gcc_version}'
55514 if test -n "$with_cross_host" &&
55515 test x
"$with_cross_host" != x
"no"; then
55516 gxx_include_dir
='${prefix}/${target_alias}/'"$gxx_include_dir"
55518 gxx_include_dir
='${prefix}/'"$gxx_include_dir"
55522 # Version-specific runtime libs processing.
55523 if test $version_specific_libs = yes; then
55524 # Need the gcc compiler version to know where to install libraries
55525 # and header files if --enable-version-specific-runtime-libs option
55526 # is selected. FIXME: these variables are misnamed, there are
55527 # no executables installed in _toolexecdir or _toolexeclibdir.
55528 if test x
"$gxx_include_dir" = x
"no"; then
55529 gxx_include_dir
='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
55531 glibcxx_toolexecdir
='${libdir}/gcc/${host_alias}'
55532 glibcxx_toolexeclibdir
='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
55535 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
55536 # Install a library built with a cross compiler in tooldir, not libdir.
55537 if test x
"$glibcxx_toolexecdir" = x
"no"; then
55538 if test -n "$with_cross_host" &&
55539 test x
"$with_cross_host" != x
"no"; then
55540 glibcxx_toolexecdir
='${exec_prefix}/${host_alias}'
55541 case ${with_toolexeclibdir} in
55543 glibcxx_toolexeclibdir
='${toolexecdir}/lib'
55546 glibcxx_toolexeclibdir
=${with_toolexeclibdir}
55550 glibcxx_toolexecdir
='${libdir}/gcc/${host_alias}'
55551 glibcxx_toolexeclibdir
='${libdir}'
55553 multi_os_directory
=`$CXX -print-multi-os-directory`
55554 case $multi_os_directory in
55555 .
) ;; # Avoid trailing /.
55556 *) glibcxx_toolexeclibdir
=$glibcxx_toolexeclibdir/$multi_os_directory ;;
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
55561 $as_echo_n "checking for install location... " >&6; }
55562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
55563 $as_echo "$gxx_include_dir" >&6; }
55571 # Export all the include and flag information to Makefiles.
55573 # Used for every C++ compile we perform.
55574 GLIBCXX_INCLUDES
="\
55575 -I$glibcxx_builddir/include/$host_alias \
55576 -I$glibcxx_builddir/include \
55577 -I$glibcxx_srcdir/libsupc++"
55579 # For Canadian crosses, pick this up too.
55580 if test $CANADIAN = yes; then
55581 GLIBCXX_INCLUDES
="$GLIBCXX_INCLUDES -I\${includedir}"
55584 # Stuff in the actual top level. Currently only used by libsupc++ to
55585 # get unwind* headers from the libgcc dir.
55586 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
55587 TOPLEVEL_INCLUDES
='-I$(toplevel_srcdir)/libgcc'
55589 # Now, export this to all the little Makefiles....
55596 # Optimization flags that are probably a good idea for thrill-seekers. Just
55597 # uncomment the lines below and make, everything else is ready to go...
55598 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
55599 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
55602 WARN_FLAGS
="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
55606 # Determine what GCC version number to use in filesystem paths.
55608 get_gcc_base_ver
="cat"
55610 # Check whether --with-gcc-major-version-only was given.
55611 if test "${with_gcc_major_version_only+set}" = set; then :
55612 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
55613 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
55621 ac_config_files
="$ac_config_files Makefile"
55623 ac_config_files
="$ac_config_files scripts/testsuite_flags"
55625 ac_config_files
="$ac_config_files scripts/extract_symvers"
55627 ac_config_files
="$ac_config_files doc/xsl/customization.xsl"
55629 ac_config_files
="$ac_config_files src/libbacktrace/backtrace-supported.h"
55632 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
55633 # that multilib installs will end up installed in the correct place.
55634 # The testsuite needs it for multilib-aware ABI baseline files.
55635 # To work around this not being passed down from config-ml.in ->
55636 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
55637 # append it here. Only modify Makefiles that have just been created.
55639 # Also, get rid of this simulated-VPATH thing that automake does.
55640 ac_config_files
="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/c++23/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
55643 ac_config_commands
="$ac_config_commands generate-headers"
55646 cat >confcache
<<\_ACEOF
55647 # This file is a shell script that caches the results of configure
55648 # tests run on this system so they can be shared between configure
55649 # scripts and configure runs, see configure's option --config-cache.
55650 # It is not useful on other systems. If it contains results you don't
55651 # want to keep, you may remove or edit it.
55653 # config.status only pays attention to the cache file if you give it
55654 # the --recheck option to rerun configure.
55656 # `ac_cv_env_foo' variables (set or unset) will be overridden when
55657 # loading this file, other *unset* `ac_cv_foo' will be assigned the
55658 # following values.
55662 # The following way of writing the cache mishandles newlines in values,
55663 # but we know of no workaround that is simple, portable, and efficient.
55664 # So, we kill variables containing newlines.
55665 # Ultrix sh set writes to stderr and can't be redirected directly,
55666 # and sets the high bit in the cache file unless we assign to the vars.
55668 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
55669 eval ac_val
=\$
$ac_var
55673 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
55674 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
55677 _ | IFS | as_nl
) ;; #(
55678 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
55679 *) { eval $ac_var=; unset $ac_var;} ;;
55685 case $as_nl`(ac_space=' '; set) 2>&1` in #(
55686 *${as_nl}ac_space
=\
*)
55687 # `set' does not quote correctly, so add quotes: double-quote
55688 # substitution turns \\\\ into \\, and sed turns \\ into \.
55691 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55694 # `set' quotes correctly as required by POSIX, so do not add quotes.
55695 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
55704 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55706 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55708 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
55709 if test -w "$cache_file"; then
55710 if test "x$cache_file" != "x/dev/null"; then
55711 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
55712 $as_echo "$as_me: updating cache $cache_file" >&6;}
55713 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
55714 cat confcache
>"$cache_file"
55716 case $cache_file in #(
55718 mv -f confcache
"$cache_file"$$
&&
55719 mv -f "$cache_file"$$
"$cache_file" ;; #(
55721 mv -f confcache
"$cache_file" ;;
55726 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
55727 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
55732 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
55733 # Let make expand exec_prefix.
55734 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
55736 DEFS
=-DHAVE_CONFIG_H
55741 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
55742 # 1. Remove the extension, and $U if already installed.
55743 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
55744 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
55745 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
55746 # will be set to the directory where LIBOBJS objects are built.
55747 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
55748 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
55750 LIBOBJS
=$ac_libobjs
55752 LTLIBOBJS
=$ac_ltlibobjs
55755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
55756 $as_echo_n "checking that generated files are newer than configure... " >&6; }
55757 if test -n "$am_sleep_pid"; then
55758 # Hide warnings about reused PIDs.
55759 wait $am_sleep_pid 2>/dev
/null
55761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
55762 $as_echo "done" >&6; }
55763 if test -n "$EXEEXT"; then
55765 am__EXEEXT_FALSE
='#'
55767 am__EXEEXT_TRUE
='#'
55771 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
55772 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
55773 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55775 if test -z "${ENABLE_DARWIN_AT_RPATH_TRUE}" && test -z "${ENABLE_DARWIN_AT_RPATH_FALSE}"; then
55776 as_fn_error $?
"conditional \"ENABLE_DARWIN_AT_RPATH\" was never defined.
55777 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55779 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
55780 as_fn_error $?
"conditional \"GLIBCXX_HOSTED\" was never defined.
55781 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55783 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
55784 as_fn_error $?
"conditional \"GLIBCXX_BUILD_PCH\" was never defined.
55785 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55787 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
55788 as_fn_error $?
"conditional \"ENABLE_FLOAT128\" was never defined.
55789 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55791 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
55792 as_fn_error $?
"conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
55793 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55795 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
55796 as_fn_error $?
"conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
55797 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55799 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
55800 as_fn_error $?
"conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
55801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55803 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
55804 as_fn_error $?
"conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
55805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55807 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
55808 as_fn_error $?
"conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
55809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55811 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
55812 as_fn_error $?
"conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
55813 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55815 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
55816 as_fn_error $?
"conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
55817 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55819 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
55820 as_fn_error $?
"conditional \"ENABLE_PYTHONDIR\" was never defined.
55821 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55823 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
55824 as_fn_error $?
"conditional \"ENABLE_WERROR\" was never defined.
55825 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55827 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
55828 as_fn_error $?
"conditional \"VTV_CYGMIN\" was never defined.
55829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55831 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
55832 as_fn_error $?
"conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
55833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55835 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
55836 as_fn_error $?
"conditional \"ENABLE_SYMVERS\" was never defined.
55837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55839 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
55840 as_fn_error $?
"conditional \"ENABLE_SYMVERS_GNU\" was never defined.
55841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55843 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
55844 as_fn_error $?
"conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
55845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55847 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
55848 as_fn_error $?
"conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
55849 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55851 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
55852 as_fn_error $?
"conditional \"ENABLE_SYMVERS_SUN\" was never defined.
55853 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55855 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
55856 as_fn_error $?
"conditional \"ENABLE_VISIBILITY\" was never defined.
55857 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55859 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
55860 as_fn_error $?
"conditional \"ENABLE_DUAL_ABI\" was never defined.
55861 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55863 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
55864 as_fn_error $?
"conditional \"ENABLE_CXX11_ABI\" was never defined.
55865 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55867 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
55868 as_fn_error $?
"conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
55869 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55871 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
55872 as_fn_error $?
"conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
55873 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55875 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
55876 as_fn_error $?
"conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
55877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55879 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
55880 as_fn_error $?
"conditional \"ENABLE_BACKTRACE\" was never defined.
55881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55883 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
55884 as_fn_error $?
"conditional \"USE_STATIC_TZDATA\" was never defined.
55885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55887 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
55888 as_fn_error $?
"conditional \"BUILD_INFO\" was never defined.
55889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55891 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
55892 as_fn_error $?
"conditional \"BUILD_EPUB\" was never defined.
55893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55895 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
55896 as_fn_error $?
"conditional \"BUILD_XML\" was never defined.
55897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55899 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
55900 as_fn_error $?
"conditional \"BUILD_HTML\" was never defined.
55901 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55903 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
55904 as_fn_error $?
"conditional \"BUILD_MAN\" was never defined.
55905 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55907 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
55908 as_fn_error $?
"conditional \"BUILD_PDF\" was never defined.
55909 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55911 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
55912 as_fn_error $?
"conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
55913 Usually this means the macro was only invoked conditionally." "$LINENO" 5
55916 : "${CONFIG_STATUS=./config.status}"
55918 ac_clean_files_save
=$ac_clean_files
55919 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
55921 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
55923 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
55925 # Generated by $as_me.
55926 # Run this file to recreate the current configuration.
55927 # Compiler output produced by configure, useful for debugging
55928 # configure, is in config.log if it exists.
55931 ac_cs_recheck=false
55934 SHELL=\${CONFIG_SHELL-$SHELL}
55937 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
55938 ## -------------------- ##
55939 ## M4sh Initialization. ##
55940 ## -------------------- ##
55942 # Be more Bourne compatible
55943 DUALCASE
=1; export DUALCASE
# for MKS sh
55944 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
55947 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
55948 # is contrary to our usage. Disable this feature.
55949 alias -g '${1+"$@"}'='"$@"'
55950 setopt NO_GLOB_SUBST
55952 case `(set -o) 2>/dev/null` in #(
55964 # Printing a long string crashes Solaris 7 /usr/bin/printf.
55965 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
55966 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
55967 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
55968 # Prefer a ksh shell builtin over an external printf program on Solaris,
55969 # but without wasting forks for bash or zsh.
55970 if test -z "$BASH_VERSION$ZSH_VERSION" \
55971 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
55972 as_echo='print
-r --'
55973 as_echo_n='print
-rn --'
55974 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55975 as_echo='printf %s
\n'
55976 as_echo_n='printf %s
'
55978 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
55979 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55980 as_echo_n='/usr
/ucb
/echo -n'
55982 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
55983 as_echo_n_body='eval
55987 expr "X$arg" : "X\\(.*\\)$as_nl";
55988 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
55990 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
55992 export as_echo_n_body
55993 as_echo_n='sh
-c $as_echo_n_body as_echo
'
55995 export as_echo_body
55996 as_echo='sh
-c $as_echo_body as_echo
'
55999 # The user is always right.
56000 if test "${PATH_SEPARATOR+set}" != set; then
56002 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
56003 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
56010 # We need space, tab and new line, in precisely that order. Quoting is
56011 # there to prevent editors from complaining about space-tab.
56012 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
56013 # splitting by setting IFS to empty value.)
56016 # Find who we are. Look in the path if we contain no directory separator.
56019 *[\\/]* ) as_myself=$0 ;;
56020 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
56021 for as_dir in $PATH
56024 test -z "$as_dir" && as_dir=.
56025 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
56031 # We did not find ourselves, most probably we were run as `sh COMMAND'
56032 # in which case we are not to be found in the path.
56033 if test "x$as_myself" = x
; then
56036 if test ! -f "$as_myself"; then
56037 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
56041 # Unset variables that we do not need and which cause bugs (e.g. in
56042 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
56043 # suppresses any "Segmentation fault" message there. '((' could
56044 # trigger a bug in pdksh 5.2.14.
56045 for as_var
in BASH_ENV ENV MAIL MAILPATH
56046 do eval test x\
${$as_var+set} = xset \
56047 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
56060 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
56063 # as_fn_error STATUS ERROR [LINENO LOG_FD]
56064 # ----------------------------------------
56065 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
56066 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
56067 # script with STATUS, using 1 if that was 0.
56070 as_status
=$1; test $as_status -eq 0 && as_status
=1
56072 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
56073 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
56075 $as_echo "$as_me: error: $2" >&2
56076 as_fn_exit
$as_status
56080 # as_fn_set_status STATUS
56081 # -----------------------
56082 # Set $? to STATUS, without forking.
56083 as_fn_set_status
()
56086 } # as_fn_set_status
56088 # as_fn_exit STATUS
56089 # -----------------
56090 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
56094 as_fn_set_status
$1
56100 # Portably unset VAR.
56103 { eval $1=; unset $1;}
56105 as_unset
=as_fn_unset
56106 # as_fn_append VAR VALUE
56107 # ----------------------
56108 # Append the text in VALUE to the end of the definition contained in VAR. Take
56109 # advantage of any shell optimizations that allow amortized linear growth over
56110 # repeated appends, instead of the typical quadratic growth present in naive
56112 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
56113 eval 'as_fn_append ()
56124 # as_fn_arith ARG...
56125 # ------------------
56126 # Perform arithmetic evaluation on the ARGs, and store the result in the
56127 # global $as_val. Take advantage of shells that can avoid forks. The arguments
56128 # must be portable across $(()) and expr.
56129 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
56130 eval 'as_fn_arith ()
56137 as_val
=`expr "$@" || test $? -eq 1`
56142 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
56143 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
56149 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
56150 as_basename
=basename
56155 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
56161 as_me
=`$as_basename -- "$0" ||
56162 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
56163 X"$0" : 'X\(//\)$' \| \
56164 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
56166 sed '/^.*\/\([^/][^/]*\)\/*$/{
56180 # Avoid depending upon Character Ranges.
56181 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
56182 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
56183 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
56184 as_cr_digits
='0123456789'
56185 as_cr_alnum
=$as_cr_Letters$as_cr_digits
56187 ECHO_C
= ECHO_N
= ECHO_T
=
56188 case `echo -n x` in #(((((
56190 case `echo 'xy\c'` in
56191 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
56193 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
56200 rm -f conf$$ conf$$.exe conf$$.
file
56201 if test -d conf$$.dir
; then
56202 rm -f conf$$.dir
/conf$$.
file
56205 mkdir conf$$.dir
2>/dev
/null
56207 if (echo >conf$$.
file) 2>/dev
/null
; then
56208 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
56210 # ... but there are two gotchas:
56211 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
56212 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
56213 # In both cases, we have to default to `cp -pR'.
56214 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
56216 elif ln conf$$.
file conf$$
2>/dev
/null
; then
56224 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
56225 rmdir conf$$.dir
2>/dev
/null
56230 # Create "$as_dir" as a directory, including parents if necessary.
56235 -*) as_dir
=.
/$as_dir;;
56237 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
56241 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
56242 *) as_qdir
=$as_dir;;
56244 as_dirs
="'$as_qdir' $as_dirs"
56245 as_dir
=`$as_dirname -- "$as_dir" ||
56246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
56247 X"$as_dir" : 'X\(//\)[^/]' \| \
56248 X"$as_dir" : 'X\(//\)$' \| \
56249 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
56250 $as_echo X"$as_dir" |
56251 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
56255 /^X\(\/\/\)[^/].*/{
56268 test -d "$as_dir" && break
56270 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
56271 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
56275 if mkdir
-p .
2>/dev
/null
; then
56276 as_mkdir_p
='mkdir -p "$as_dir"'
56278 test -d .
/-p && rmdir .
/-p
56283 # as_fn_executable_p FILE
56284 # -----------------------
56285 # Test if FILE is an executable regular file.
56286 as_fn_executable_p
()
56288 test -f "$1" && test -x "$1"
56289 } # as_fn_executable_p
56290 as_test_x
='test -x'
56291 as_executable_p
=as_fn_executable_p
56293 # Sed expression to map a string onto a valid CPP name.
56294 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
56296 # Sed expression to map a string onto a valid variable name.
56297 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
56301 ## ----------------------------------- ##
56302 ## Main body of $CONFIG_STATUS script. ##
56303 ## ----------------------------------- ##
56305 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
56307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
56308 # Save the log message, to keep $0 and so on meaningful, and to
56309 # report actual input values of CONFIG_FILES etc. instead of their
56310 # values after options handling.
56312 This file was extended by package-unused $as_me version-unused, which was
56313 generated by GNU Autoconf 2.69. Invocation command line was
56315 CONFIG_FILES = $CONFIG_FILES
56316 CONFIG_HEADERS = $CONFIG_HEADERS
56317 CONFIG_LINKS = $CONFIG_LINKS
56318 CONFIG_COMMANDS = $CONFIG_COMMANDS
56321 on `(hostname || uname -n) 2>/dev/null | sed 1q`
56326 case $ac_config_files in *"
56327 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
56330 case $ac_config_headers in *"
56331 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
56335 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56336 # Files that config.status was made for.
56337 config_files="$ac_config_files"
56338 config_headers="$ac_config_headers"
56339 config_commands="$ac_config_commands"
56343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
56345 \`$as_me' instantiates files and other configuration actions
56346 from templates according to the current configuration. Unless the files
56347 and actions are specified as TAGs, all are instantiated by default.
56349 Usage: $0 [OPTION]... [TAG]...
56351 -h, --help print this help, then exit
56352 -V, --version print version number and configuration settings, then exit
56353 --config print configuration, then exit
56354 -q, --quiet, --silent
56355 do not print progress messages
56356 -d, --debug don't remove temporary files
56357 --recheck update $as_me by reconfiguring in the same conditions
56358 --file=FILE[:TEMPLATE]
56359 instantiate the configuration file FILE
56360 --header=FILE[:TEMPLATE]
56361 instantiate the configuration header FILE
56363 Configuration files:
56366 Configuration headers:
56369 Configuration commands:
56372 Report bugs to the package provider."
56375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56376 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
56378 package-unused config.status version-unused
56379 configured by $0, generated by GNU Autoconf 2.69,
56380 with options \\"\$ac_cs_config\\"
56382 Copyright (C) 2012 Free Software Foundation, Inc.
56383 This config.status script is free software; the Free Software Foundation
56384 gives unlimited permission to copy, distribute and modify it."
56391 test -n "\$AWK" || AWK=awk
56394 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
56395 # The default lists apply if the user does not specify any file.
56401 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56402 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
56406 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
56418 # Handling of the options.
56419 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
56421 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
56422 $as_echo "$ac_cs_version"; exit ;;
56423 --config |
--confi |
--conf |
--con |
--co |
--c )
56424 $as_echo "$ac_cs_config"; exit ;;
56425 --debug |
--debu |
--deb |
--de |
--d |
-d )
56427 --file |
--fil |
--fi |
--f )
56430 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
56431 '') as_fn_error $?
"missing file argument" ;;
56433 as_fn_append CONFIG_FILES
" '$ac_optarg'"
56434 ac_need_defaults
=false
;;
56435 --header |
--heade |
--head |
--hea )
56438 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
56440 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
56441 ac_need_defaults
=false
;;
56443 # Conflict between --help and --header
56444 as_fn_error $?
"ambiguous option: \`$1'
56445 Try \`$0 --help' for more information.";;
56446 --help |
--hel |
-h )
56447 $as_echo "$ac_cs_usage"; exit ;;
56448 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
56449 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
56452 # This is an error.
56453 -*) as_fn_error $?
"unrecognized option: \`$1'
56454 Try \`$0 --help' for more information." ;;
56456 *) as_fn_append ac_config_targets
" $1"
56457 ac_need_defaults
=false
;;
56463 ac_configure_extra_args
=
56465 if $ac_cs_silent; then
56467 ac_configure_extra_args
="$ac_configure_extra_args --silent"
56471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56472 if \$ac_cs_recheck; then
56473 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
56475 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
56476 CONFIG_SHELL='$SHELL'
56477 export CONFIG_SHELL
56482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
56486 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
56487 ## Running $as_me. ##
56493 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56501 with_multisubdir="$with_multisubdir"
56502 with_multisrctop="$with_multisrctop"
56503 with_target_subdir="$with_target_subdir"
56504 ac_configure_args="${multilib_arg} ${ac_configure_args}"
56505 multi_basedir="$multi_basedir"
56506 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
56509 GFORTRAN="$GFORTRAN"
56513 # The HP-UX ksh and POSIX shell print the target directory to stdout
56514 # if CDPATH is set.
56515 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
56517 sed_quote_subst='$sed_quote_subst'
56518 double_quote_subst='$double_quote_subst'
56519 delay_variable_subst='$delay_variable_subst'
56520 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
56521 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
56522 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
56523 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
56524 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
56525 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
56526 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
56527 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
56528 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
56529 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
56530 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
56531 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
56532 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
56533 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
56534 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
56535 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
56536 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
56537 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
56538 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
56539 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
56540 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
56541 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
56542 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
56543 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
56544 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
56545 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
56546 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
56547 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
56548 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
56549 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
56550 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
56551 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
56552 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
56553 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
56554 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
56555 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
56556 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
56557 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
56558 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
56559 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
56560 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
56561 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
56562 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
56563 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
56564 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
56565 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
56566 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
56567 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
56568 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
56569 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
56570 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
56571 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
56572 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
56573 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
56574 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
56575 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
56576 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
56577 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
56578 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
56579 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
56580 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
56581 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
56582 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
56583 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
56584 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
56585 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
56586 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
56587 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
56588 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
56589 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
56590 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
56591 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
56592 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
56593 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
56594 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
56595 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
56596 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
56597 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
56598 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
56599 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
56600 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
56601 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
56602 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
56603 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
56604 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
56605 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
56606 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
56607 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
56608 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
56609 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
56610 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
56611 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
56612 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
56613 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
56614 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
56615 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
56616 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
56617 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
56618 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
56619 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
56620 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
56621 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
56622 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
56623 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
56624 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
56625 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
56626 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
56627 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
56628 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
56629 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
56630 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
56631 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
56632 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
56633 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
56634 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
56635 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
56636 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
56637 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
56638 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
56639 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
56640 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
56641 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
56642 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
56643 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
56644 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
56645 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
56646 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
56647 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
56648 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56649 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56650 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
56651 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
56652 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
56653 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
56654 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
56655 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
56656 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
56657 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
56658 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
56659 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
56660 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
56661 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
56662 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56663 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56664 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56665 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56666 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56667 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56668 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
56669 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
56670 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
56671 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
56672 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
56673 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
56674 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
56675 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
56676 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
56677 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
56678 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
56679 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
56680 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
56681 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
56682 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
56683 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56684 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
56685 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
56686 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
56687 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
56688 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
56689 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
56690 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
56691 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
56692 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
56693 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
56694 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
56697 LTCFLAGS='$LTCFLAGS'
56698 compiler='$compiler_DEFAULT'
56700 # A function that is used when there is no print builtin or printf.
56701 func_fallback_echo ()
56703 eval 'cat <<_LTECHO_EOF
56708 # Quote evaled strings.
56722 deplibs_check_method \
56731 lt_cv_sys_global_symbol_pipe \
56732 lt_cv_sys_global_symbol_to_cdecl \
56733 lt_cv_sys_global_symbol_to_c_name_address \
56734 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
56735 lt_prog_compiler_no_builtin_flag \
56736 lt_prog_compiler_wl \
56737 lt_prog_compiler_pic \
56738 lt_prog_compiler_static \
56739 lt_cv_prog_compiler_c_o \
56747 export_dynamic_flag_spec \
56748 whole_archive_flag_spec \
56749 compiler_needs_object \
56751 allow_undefined_flag \
56752 no_undefined_flag \
56753 hardcode_libdir_flag_spec \
56754 hardcode_libdir_flag_spec_ld \
56755 hardcode_libdir_separator \
56760 variables_saved_for_relink \
56762 library_names_spec \
56764 install_override_mode \
56768 compiler_lib_search_dirs \
56773 compiler_lib_search_path \
56777 lt_prog_compiler_no_builtin_flag_CXX \
56778 lt_prog_compiler_wl_CXX \
56779 lt_prog_compiler_pic_CXX \
56780 lt_prog_compiler_static_CXX \
56781 lt_cv_prog_compiler_c_o_CXX \
56782 export_dynamic_flag_spec_CXX \
56783 whole_archive_flag_spec_CXX \
56784 compiler_needs_object_CXX \
56786 allow_undefined_flag_CXX \
56787 no_undefined_flag_CXX \
56788 hardcode_libdir_flag_spec_CXX \
56789 hardcode_libdir_flag_spec_ld_CXX \
56790 hardcode_libdir_separator_CXX \
56791 fix_srcfile_path_CXX \
56792 exclude_expsyms_CXX \
56793 include_expsyms_CXX \
56794 file_list_spec_CXX \
56795 compiler_lib_search_dirs_CXX \
56796 predep_objects_CXX \
56797 postdep_objects_CXX \
56800 compiler_lib_search_path_CXX; do
56801 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
56802 *[\\\\\\\`\\"\\\$]*)
56803 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
56806 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
56811 # Double-quote double-evaled strings.
56812 for var in reload_cmds \
56813 old_postinstall_cmds \
56814 old_postuninstall_cmds \
56816 extract_expsyms_cmds \
56817 old_archive_from_new_cmds \
56818 old_archive_from_expsyms_cmds \
56820 archive_expsym_cmds \
56822 module_expsym_cmds \
56823 export_symbols_cmds \
56826 postuninstall_cmds \
56828 sys_lib_search_path_spec \
56829 sys_lib_dlsearch_path_spec \
56831 old_archive_cmds_CXX \
56832 old_archive_from_new_cmds_CXX \
56833 old_archive_from_expsyms_cmds_CXX \
56835 archive_expsym_cmds_CXX \
56837 module_expsym_cmds_CXX \
56838 export_symbols_cmds_CXX \
56839 prelink_cmds_CXX; do
56840 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
56841 *[\\\\\\\`\\"\\\$]*)
56842 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
56845 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
56850 ac_aux_dir='$ac_aux_dir'
56851 xsi_shell='$xsi_shell'
56852 lt_shell_append='$lt_shell_append'
56854 # See if we are running on zsh, and set the options which allow our
56855 # commands through without removal of \ escapes INIT.
56856 if test -n "\${ZSH_VERSION+set}" ; then
56857 setopt NO_GLOB_SUBST
56863 TIMESTAMP='$TIMESTAMP'
56874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
56876 # Handling of arguments.
56877 for ac_config_target
in $ac_config_targets
56879 case $ac_config_target in
56880 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
56881 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
56882 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
56883 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
56884 "scripts/testsuite_flags") CONFIG_FILES
="$CONFIG_FILES scripts/testsuite_flags" ;;
56885 "scripts/extract_symvers") CONFIG_FILES
="$CONFIG_FILES scripts/extract_symvers" ;;
56886 "doc/xsl/customization.xsl") CONFIG_FILES
="$CONFIG_FILES doc/xsl/customization.xsl" ;;
56887 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES
="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
56888 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
56889 "libsupc++/Makefile") CONFIG_FILES
="$CONFIG_FILES libsupc++/Makefile" ;;
56890 "src/Makefile") CONFIG_FILES
="$CONFIG_FILES src/Makefile" ;;
56891 "src/c++98/Makefile") CONFIG_FILES
="$CONFIG_FILES src/c++98/Makefile" ;;
56892 "src/c++11/Makefile") CONFIG_FILES
="$CONFIG_FILES src/c++11/Makefile" ;;
56893 "src/c++17/Makefile") CONFIG_FILES
="$CONFIG_FILES src/c++17/Makefile" ;;
56894 "src/c++20/Makefile") CONFIG_FILES
="$CONFIG_FILES src/c++20/Makefile" ;;
56895 "src/c++23/Makefile") CONFIG_FILES
="$CONFIG_FILES src/c++23/Makefile" ;;
56896 "src/filesystem/Makefile") CONFIG_FILES
="$CONFIG_FILES src/filesystem/Makefile" ;;
56897 "src/libbacktrace/Makefile") CONFIG_FILES
="$CONFIG_FILES src/libbacktrace/Makefile" ;;
56898 "src/experimental/Makefile") CONFIG_FILES
="$CONFIG_FILES src/experimental/Makefile" ;;
56899 "doc/Makefile") CONFIG_FILES
="$CONFIG_FILES doc/Makefile" ;;
56900 "po/Makefile") CONFIG_FILES
="$CONFIG_FILES po/Makefile" ;;
56901 "testsuite/Makefile") CONFIG_FILES
="$CONFIG_FILES testsuite/Makefile" ;;
56902 "python/Makefile") CONFIG_FILES
="$CONFIG_FILES python/Makefile" ;;
56903 "generate-headers") CONFIG_COMMANDS
="$CONFIG_COMMANDS generate-headers" ;;
56905 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
56910 # If the user did not use the arguments to specify the items to instantiate,
56911 # then the envvar interface is used. Set only those that are not.
56912 # We use the long form for the default assignment because of an extremely
56913 # bizarre bug on SunOS 4.1.3.
56914 if $ac_need_defaults; then
56915 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
56916 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
56917 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
56920 # Have a temporary directory for convenience. Make it in the build tree
56921 # simply because there is no reason against having it here, and in addition,
56922 # creating and moving files from /tmp can sometimes cause problems.
56923 # Hook for its removal unless debugging.
56924 # Note that there is a small window in which the directory will not be cleaned:
56925 # after its creation but before its name has been assigned to `$tmp'.
56929 trap 'exit_status=$?
56930 : "${ac_tmp:=$tmp}"
56931 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
56933 trap 'as_fn_exit 1' 1 2 13 15
56935 # Create a (secure) tmp directory for tmp files.
56938 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
56942 tmp
=.
/conf$$
-$RANDOM
56943 (umask 077 && mkdir
"$tmp")
56944 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
56947 # Set up the scripts for CONFIG_FILES section.
56948 # No need to generate them if there are no CONFIG_FILES.
56949 # This happens for instance with `./config.status config.h'.
56950 if test -n "$CONFIG_FILES"; then
56953 ac_cr
=`echo X | tr X '\015'`
56954 # On cygwin, bash can eat \r inside `` if the user requested igncr.
56955 # But we know of no other shell where ac_cr would be empty at this
56956 # point, so we can use a bashism as a fallback.
56957 if test "x$ac_cr" = x
; then
56958 eval ac_cr
=\$
\'\\r
\'
56960 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
56961 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
56964 ac_cs_awk_cr
=$ac_cr
56967 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
56972 echo "cat >conf$$subs.awk <<_ACEOF" &&
56973 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
56975 } >conf$$subs.sh ||
56976 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
56977 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
56979 for ac_last_try in false false false false false :; do
56980 . ./conf$$subs.sh ||
56981 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
56983 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
56984 if test $ac_delim_n = $ac_delim_num; then
56986 elif $ac_last_try; then
56987 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
56989 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
56992 rm -f conf$$subs.sh
56994 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
56995 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
56999 s/^/S["/; s
/!.
*/"]=/
57009 s/\(.\{148\}\)..*/\1/
57011 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
57016 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
57023 s/\(.\{148\}\)..*/\1/
57025 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
57029 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
57034 ' <conf$$subs.awk | sed '
57039 ' >>$CONFIG_STATUS || ac_write_fail=1
57040 rm -f conf$$subs.awk
57041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57043 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
57044 for (key in S) S_is_set[key] = 1
57050 nfields = split(line, field, "@
")
57052 len = length(field[1])
57053 for (i = 2; i < nfields; i++) {
57055 keylen = length(key)
57056 if (S_is_set[key]) {
57058 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
57059 len += length(value) + length(field[++i])
57070 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
57071 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
57072 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
57075 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
57076 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
57079 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
57080 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
57081 # trailing colons and then remove the whole line if VPATH becomes empty
57082 # (actually we leave an empty line to preserve line numbers).
57083 if test "x
$srcdir" = x.; then
57084 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
57102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
57103 fi # test -n "$CONFIG_FILES"
57105 # Set up the scripts for CONFIG_HEADERS section.
57106 # No need to generate them if there are no CONFIG_HEADERS.
57107 # This happens for instance with `./config.status Makefile'.
57108 if test -n "$CONFIG_HEADERS"; then
57109 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
57113 # Transform confdefs.h into an awk script `defines.awk', embedded as
57114 # here-document in config.status, that substitutes the proper values into
57115 # config.h.in to produce config.h.
57117 # Create a delimiter string that does not exist in confdefs.h, to ease
57118 # handling of long lines.
57120 for ac_last_try in false false :; do
57121 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
57122 if test -z "$ac_tt"; then
57124 elif $ac_last_try; then
57125 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
57127 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
57131 # For the awk script, D is an array of macro values keyed by name,
57132 # likewise P contains macro parameters if any. Preserve backslash
57133 # newline sequences.
57135 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
57137 s/.\{148\}/&'"$ac_delim"'/g
57140 s/^[ ]*#[ ]*define[ ][ ]*/ /
57147 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
57149 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
57153 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
57154 D["\
1"]=" \
3\\\\\\n
"\\/p
57156 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
57161 s/.\{148\}/&'"$ac_delim"'/g
57166 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
57169 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
57171 ' <confdefs.h | sed '
57172 s/'"$ac_delim"'/"\\\
57173 "/g' >>$CONFIG_STATUS || ac_write_fail=1
57175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57176 for (key in D) D_is_set[key] = 1
57179 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
57181 split(line, arg, " ")
57182 if (arg[1] == "#") {
57186 defundef
= substr
(arg
[1], 2)
57189 split(mac1
, mac2
, "(") #)
57191 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
57192 if (D_is_set
[macro
]) {
57193 # Preserve the white space surrounding the "#".
57194 print prefix
"define", macro P
[macro
] D
[macro
]
57197 # Replace #undef with comments. This is necessary, for example,
57198 # in the case of _POSIX_SOURCE, which is predefined and required
57199 # on some systems where configure will not decide to define it.
57200 if (defundef
== "undef") {
57201 print
"/*", prefix defundef
, macro
, "*/"
57209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
57210 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
57211 fi # test -n "$CONFIG_HEADERS"
57214 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
57219 :[FHLC
]) ac_mode
=$ac_tag; continue;;
57221 case $ac_mode$ac_tag in
57223 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
57224 :[FH
]-) ac_tag
=-:-;;
57225 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
57242 -) ac_f
="$ac_tmp/stdin";;
57243 *) # Look for the file first in the build tree, then in the source tree
57244 # (if the path is not absolute). The absolute path cannot be DOS-style,
57245 # because $ac_f cannot contain `:'.
57249 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
57251 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
57253 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
57254 as_fn_append ac_file_inputs
" '$ac_f'"
57257 # Let's still pretend it is `configure' which instantiates (i.e., don't
57258 # use $as_me), people would be surprised to read:
57259 # /* config.h. Generated by config.status. */
57260 configure_input
='Generated from '`
57261 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
57263 if test x
"$ac_file" != x-
; then
57264 configure_input
="$ac_file. $configure_input"
57265 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
57266 $as_echo "$as_me: creating $ac_file" >&6;}
57268 # Neutralize special characters interpreted by sed in replacement strings.
57269 case $configure_input in #(
57270 *\
&* |
*\|
* |
*\\* )
57271 ac_sed_conf_input
=`$as_echo "$configure_input" |
57272 sed 's/[\\\\&|]/\\\\&/g'`;; #(
57273 *) ac_sed_conf_input
=$configure_input;;
57277 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
57278 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
57283 ac_dir
=`$as_dirname -- "$ac_file" ||
57284 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57285 X"$ac_file" : 'X\(//\)[^/]' \| \
57286 X"$ac_file" : 'X\(//\)$' \| \
57287 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
57288 $as_echo X"$ac_file" |
57289 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57293 /^X\(\/\/\)[^/].*/{
57306 as_dir
="$ac_dir"; as_fn_mkdir_p
57310 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57312 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
57313 # A ".." for each directory in $ac_dir_suffix.
57314 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
57315 case $ac_top_builddir_sub in
57316 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
57317 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
57320 ac_abs_top_builddir
=$ac_pwd
57321 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
57322 # for backward compatibility:
57323 ac_top_builddir
=$ac_top_build_prefix
57326 .
) # We are building in place.
57328 ac_top_srcdir
=$ac_top_builddir_sub
57329 ac_abs_top_srcdir
=$ac_pwd ;;
57330 [\\/]* | ?
:[\\/]* ) # Absolute name.
57331 ac_srcdir
=$srcdir$ac_dir_suffix;
57332 ac_top_srcdir
=$srcdir
57333 ac_abs_top_srcdir
=$srcdir ;;
57334 *) # Relative name.
57335 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
57336 ac_top_srcdir
=$ac_top_build_prefix$srcdir
57337 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
57339 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
57349 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
57350 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
57352 ac_MKDIR_P
=$MKDIR_P
57354 [\\/$
]* | ?
:[\\/]* ) ;;
57355 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
57359 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
57360 # If the template does not know about datarootdir, expand it.
57361 # FIXME: This hack should be removed a few years after 2.60.
57362 ac_datarootdir_hack
=; ac_datarootdir_seen
=
57373 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
57374 *datarootdir
*) ac_datarootdir_seen
=yes;;
57375 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
57376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
57377 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
57379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57380 ac_datarootdir_hack='
57381 s&@datadir@&$datadir&g
57382 s&@docdir@&$docdir&g
57383 s&@infodir@&$infodir&g
57384 s&@localedir@&$localedir&g
57385 s&@mandir@&$mandir&g
57386 s&\\\${datarootdir}&$datarootdir&g' ;;
57390 # Neutralize VPATH when `$srcdir' = `.'.
57391 # Shell code in configure.ac might set extrasub.
57392 # FIXME: do we really want to maintain this feature?
57393 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
57394 ac_sed_extra="$ac_vpsub
57397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
57399 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
57400 s|@configure_input@|
$ac_sed_conf_input|
;t t
57401 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
57402 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
57403 s
&@srcdir@
&$ac_srcdir&;t t
57404 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
57405 s
&@top_srcdir@
&$ac_top_srcdir&;t t
57406 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
57407 s
&@builddir@
&$ac_builddir&;t t
57408 s
&@abs_builddir@
&$ac_abs_builddir&;t t
57409 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
57410 s
&@INSTALL@
&$ac_INSTALL&;t t
57411 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
57412 $ac_datarootdir_hack
57414 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
57415 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
57417 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
57418 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
57419 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
57420 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
57421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
57422 which seems to be undefined. Please make sure it is defined" >&5
57423 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
57424 which seems to be undefined. Please make sure it is defined" >&2;}
57426 rm -f "$ac_tmp/stdin"
57428 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
57429 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
57431 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
57437 if test x"$ac_file" != x-; then
57439 $as_echo "/* $configure_input */" \
57440 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
57441 } >"$ac_tmp/config.h" \
57442 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
57443 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
57444 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
57445 $as_echo "$as_me: $ac_file is unchanged" >&6;}
57448 mv "$ac_tmp/config.h" "$ac_file" \
57449 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
57452 $as_echo "/* $configure_input */" \
57453 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
57454 || as_fn_error $? "could not create -" "$LINENO" 5
57456 # Compute "$ac_file"'s index
in $config_headers.
57459 for _am_header
in $config_headers :; do
57460 case $_am_header in
57461 $_am_arg |
$_am_arg:* )
57464 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
57467 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
57468 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57469 X"$_am_arg" : 'X\(//\)[^/]' \| \
57470 X"$_am_arg" : 'X\(//\)$' \| \
57471 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
57472 $as_echo X"$_am_arg" |
57473 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
57477 /^X\(\/\/\)[^/].*/{
57489 s/.*/./; q'`/stamp-h
$_am_stamp_count
57492 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
57493 $as_echo "$as_me: executing $ac_file commands" >&6;}
57498 case $ac_file$ac_mode in
57500 # Only add multilib support code if we just rebuilt the top-level
57502 case " $CONFIG_FILES " in
57504 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
57509 # See if we are running on zsh, and set the options which allow our
57510 # commands through without removal of \ escapes.
57511 if test -n "${ZSH_VERSION+set}" ; then
57512 setopt NO_GLOB_SUBST
57515 cfgfile
="${ofile}T"
57516 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
57519 cat <<_LT_EOF >> "$cfgfile"
57522 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
57523 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
57524 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
57525 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
57527 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
57528 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
57529 # Written by Gordon Matzigkeit, 1996
57531 # This file is part of GNU Libtool.
57533 # GNU Libtool is free software; you can redistribute it and/or
57534 # modify it under the terms of the GNU General Public License as
57535 # published by the Free Software Foundation; either version 2 of
57536 # the License, or (at your option) any later version.
57538 # As a special exception to the GNU General Public License,
57539 # if you distribute this file as part of a program or library that
57540 # is built using GNU Libtool, you may include this file under the
57541 # same distribution terms that you use for the rest of that program.
57543 # GNU Libtool is distributed in the hope that it will be useful,
57544 # but WITHOUT ANY WARRANTY; without even the implied warranty of
57545 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
57546 # GNU General Public License for more details.
57548 # You should have received a copy of the GNU General Public License
57549 # along with GNU Libtool; see the file COPYING. If not, a copy
57550 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
57551 # obtained by writing to the Free Software Foundation, Inc.,
57552 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
57555 # The names of the tagged configurations supported by this script.
57556 available_tags="CXX "
57558 # ### BEGIN LIBTOOL CONFIG
57560 # Which release of libtool.m4 was used?
57561 macro_version=$macro_version
57562 macro_revision=$macro_revision
57564 # Whether or not to build shared libraries.
57565 build_libtool_libs=$enable_shared
57567 # Whether or not to build static libraries.
57568 build_old_libs=$enable_static
57570 # What type of objects to build.
57573 # Whether or not to optimize for fast installation.
57574 fast_install=$enable_fast_install
57576 # Shell to use when invoking shell scripts.
57579 # An echo program that protects backslashes.
57583 host_alias=$host_alias
57587 # The build system.
57588 build_alias=$build_alias
57592 # A sed program that does not truncate output.
57595 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
57596 Xsed="\$SED -e 1s/^X//"
57598 # A grep program that handles long lines.
57604 # A literal string matcher.
57607 # A BSD- or MS-compatible name lister.
57610 # Whether we need soft or hard links.
57613 # What is the maximum length of a command?
57614 max_cmd_len=$max_cmd_len
57616 # Object file suffix (normally "o").
57619 # Executable file suffix (normally "").
57622 # whether the shell understands "unset".
57625 # turn spaces into newlines.
57628 # turn newlines into spaces.
57631 # An object symbol dumper.
57632 OBJDUMP=$lt_OBJDUMP
57634 # Method to check whether dependent libraries are shared objects.
57635 deplibs_check_method=$lt_deplibs_check_method
57637 # Command to use when deplibs_check_method == "file_magic".
57638 file_magic_cmd=$lt_file_magic_cmd
57642 AR_FLAGS=$lt_AR_FLAGS
57644 # A symbol stripping program.
57647 # Commands used to install an old-style archive.
57649 old_postinstall_cmds=$lt_old_postinstall_cmds
57650 old_postuninstall_cmds=$lt_old_postuninstall_cmds
57652 # Whether to use a lock for old archive extraction.
57653 lock_old_archive_extraction=$lock_old_archive_extraction
57658 # LTCC compiler flags.
57659 LTCFLAGS=$lt_CFLAGS
57661 # Take the output of nm and produce a listing of raw symbols and C names.
57662 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
57664 # Transform the output of nm in a proper C declaration.
57665 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
57667 # Transform the output of nm in a C name address pair.
57668 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
57670 # Transform the output of nm in a C name address pair when lib prefix is needed.
57671 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
57673 # The name of the directory that contains temporary libtool files.
57676 # Used to examine libraries when file_magic_cmd begins with "file".
57677 MAGIC_CMD=$MAGIC_CMD
57679 # Must we lock files when doing compilation?
57680 need_locks=$lt_need_locks
57682 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
57683 DSYMUTIL=$lt_DSYMUTIL
57685 # Tool to change global to local symbols on Mac OS X.
57688 # Tool to manipulate fat objects and archives on Mac OS X.
57691 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
57694 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
57695 OTOOL64=$lt_OTOOL64
57697 # Old archive suffix (normally "a").
57700 # Shared library suffix (normally ".so").
57701 shrext_cmds=$lt_shrext_cmds
57703 # The commands to extract the exported symbol list from a shared archive.
57704 extract_expsyms_cmds=$lt_extract_expsyms_cmds
57706 # Variables whose values should be saved in libtool wrapper scripts and
57707 # restored at link time.
57708 variables_saved_for_relink=$lt_variables_saved_for_relink
57710 # Do we need the "lib" prefix for modules?
57711 need_lib_prefix=$need_lib_prefix
57713 # Do we need a version for libraries?
57714 need_version=$need_version
57716 # Library versioning type.
57717 version_type=$version_type
57719 # Shared library runtime path variable.
57720 runpath_var=$runpath_var
57722 # Shared library path variable.
57723 shlibpath_var=$shlibpath_var
57725 # Is shlibpath searched before the hard-coded library search path?
57726 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
57728 # Format of library name prefix.
57729 libname_spec=$lt_libname_spec
57731 # List of archive names. First name is the real one, the rest are links.
57732 # The last name is the one that the linker finds with -lNAME
57733 library_names_spec=$lt_library_names_spec
57735 # The coded name of the library, if different from the real name.
57736 soname_spec=$lt_soname_spec
57738 # Permission mode override for installation of shared libraries.
57739 install_override_mode=$lt_install_override_mode
57741 # Command to use after installation of a shared archive.
57742 postinstall_cmds=$lt_postinstall_cmds
57744 # Command to use after uninstallation of a shared archive.
57745 postuninstall_cmds=$lt_postuninstall_cmds
57747 # Commands used to finish a libtool library installation in a directory.
57748 finish_cmds=$lt_finish_cmds
57750 # As "finish_cmds", except a single script fragment to be evaled but
57752 finish_eval=$lt_finish_eval
57754 # Whether we should hardcode library paths into libraries.
57755 hardcode_into_libs=$hardcode_into_libs
57757 # Compile-time system search path for libraries.
57758 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
57760 # Run-time system search path for libraries.
57761 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
57763 # Whether dlopen is supported.
57764 dlopen_support=$enable_dlopen
57766 # Whether dlopen of programs is supported.
57767 dlopen_self=$enable_dlopen_self
57769 # Whether dlopen of statically linked programs is supported.
57770 dlopen_self_static=$enable_dlopen_self_static
57772 # Commands to strip libraries.
57773 old_striplib=$lt_old_striplib
57774 striplib=$lt_striplib
57777 # The linker used to build libraries.
57780 # How to create reloadable object files.
57781 reload_flag=$lt_reload_flag
57782 reload_cmds=$lt_reload_cmds
57784 # Commands used to build an old-style archive.
57785 old_archive_cmds=$lt_old_archive_cmds
57787 # A language specific compiler.
57790 # Is the compiler the GNU compiler?
57793 # Compiler flag to turn off builtin functions.
57794 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
57796 # How to pass a linker flag through the compiler.
57797 wl=$lt_lt_prog_compiler_wl
57799 # Additional compiler flags for building library objects.
57800 pic_flag=$lt_lt_prog_compiler_pic
57802 # Compiler flag to prevent dynamic linking.
57803 link_static_flag=$lt_lt_prog_compiler_static
57805 # Does compiler simultaneously support -c and -o options?
57806 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
57808 # Whether or not to add -lc for building shared libraries.
57809 build_libtool_need_lc=$archive_cmds_need_lc
57811 # Whether or not to disallow shared libs when runtime libs are static.
57812 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
57814 # Compiler flag to allow reflexive dlopens.
57815 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
57817 # Compiler flag to generate shared objects directly from archives.
57818 whole_archive_flag_spec=$lt_whole_archive_flag_spec
57820 # Whether the compiler copes with passing no objects directly.
57821 compiler_needs_object=$lt_compiler_needs_object
57823 # Create an old-style archive from a shared archive.
57824 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
57826 # Create a temporary old-style archive to link instead of a shared archive.
57827 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
57829 # Commands used to build a shared archive.
57830 archive_cmds=$lt_archive_cmds
57831 archive_expsym_cmds=$lt_archive_expsym_cmds
57833 # Commands used to build a loadable module if different from building
57834 # a shared archive.
57835 module_cmds=$lt_module_cmds
57836 module_expsym_cmds=$lt_module_expsym_cmds
57838 # Whether we are building with GNU ld or not.
57839 with_gnu_ld=$lt_with_gnu_ld
57841 # Flag that allows shared libraries with undefined symbols to be built.
57842 allow_undefined_flag=$lt_allow_undefined_flag
57844 # Flag that enforces no undefined symbols.
57845 no_undefined_flag=$lt_no_undefined_flag
57847 # Flag to hardcode \$libdir into a binary during linking.
57848 # This must work even if \$libdir does not exist
57849 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
57851 # If ld is used when linking, flag to hardcode \$libdir into a binary
57852 # during linking. This must work even if \$libdir does not exist.
57853 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
57855 # Whether we need a single "-rpath" flag with a separated argument.
57856 hardcode_libdir_separator=$lt_hardcode_libdir_separator
57858 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
57859 # DIR into the resulting binary.
57860 hardcode_direct=$hardcode_direct
57862 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
57863 # DIR into the resulting binary and the resulting library dependency is
57864 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
57865 # library is relocated.
57866 hardcode_direct_absolute=$hardcode_direct_absolute
57868 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
57869 # into the resulting binary.
57870 hardcode_minus_L=$hardcode_minus_L
57872 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
57873 # into the resulting binary.
57874 hardcode_shlibpath_var=$hardcode_shlibpath_var
57876 # Set to "yes" if building a shared library automatically hardcodes DIR
57877 # into the library and all subsequent libraries and executables linked
57879 hardcode_automatic=$hardcode_automatic
57881 # Set to yes if linker adds runtime paths of dependent libraries
57882 # to runtime path list.
57883 inherit_rpath=$inherit_rpath
57885 # Whether libtool must link a program against all its dependency libraries.
57886 link_all_deplibs=$link_all_deplibs
57888 # Fix the shell variable \$srcfile for the compiler.
57889 fix_srcfile_path=$lt_fix_srcfile_path
57891 # Set to "yes" if exported symbols are required.
57892 always_export_symbols=$always_export_symbols
57894 # The commands to list exported symbols.
57895 export_symbols_cmds=$lt_export_symbols_cmds
57897 # Symbols that should not be listed in the preloaded symbols.
57898 exclude_expsyms=$lt_exclude_expsyms
57900 # Symbols that must always be exported.
57901 include_expsyms=$lt_include_expsyms
57903 # Commands necessary for linking programs (against libraries) with templates.
57904 prelink_cmds=$lt_prelink_cmds
57906 # Specify filename containing input files.
57907 file_list_spec=$lt_file_list_spec
57909 # How to hardcode a shared library path into an executable.
57910 hardcode_action=$hardcode_action
57912 # The directories searched by this compiler when creating a shared library.
57913 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
57915 # Dependencies to place before and after the objects being linked to
57916 # create a shared library.
57917 predep_objects=$lt_predep_objects
57918 postdep_objects=$lt_postdep_objects
57919 predeps=$lt_predeps
57920 postdeps=$lt_postdeps
57922 # The library search path used internally by the compiler when linking
57923 # a shared library.
57924 compiler_lib_search_path=$lt_compiler_lib_search_path
57926 # ### END LIBTOOL CONFIG
57932 cat <<\_LT_EOF
>> "$cfgfile"
57933 # AIX sometimes has problems with the GCC collect2 program. For some
57934 # reason, if we set the COLLECT_NAMES environment variable, the problems
57935 # vanish in a puff of smoke.
57936 if test "X${COLLECT_NAMES+set}" != Xset
; then
57938 export COLLECT_NAMES
57945 ltmain
="$ac_aux_dir/ltmain.sh"
57948 # We use sed instead of cat because bash on DJGPP gets confused if
57949 # if finds mixed CR/LF and LF-only lines. Since sed operates in
57950 # text mode, it properly converts lines to CR/LF. This bash problem
57951 # is reportedly fixed, but why not run on old versions too?
57952 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
57953 ||
(rm -f "$cfgfile"; exit 1)
57957 cat << \_LT_EOF
>> "$cfgfile"
57959 # func_dirname file append nondir_replacement
57960 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
57961 # otherwise set result to NONDIR_REPLACEMENT.
57965 */*) func_dirname_result
="${1%/*}${2}" ;;
57966 * ) func_dirname_result
="${3}" ;;
57970 # func_basename file
57973 func_basename_result
="${1##*/}"
57976 # func_dirname_and_basename file append nondir_replacement
57977 # perform func_basename and func_dirname in a single function
57979 # dirname: Compute the dirname of FILE. If nonempty,
57980 # add APPEND to the result, otherwise set result
57981 # to NONDIR_REPLACEMENT.
57982 # value returned in "$func_dirname_result"
57983 # basename: Compute filename of FILE.
57984 # value retuned in "$func_basename_result"
57985 # Implementation must be kept synchronized with func_dirname
57986 # and func_basename. For efficiency, we do not delegate to
57987 # those functions but instead duplicate the functionality here.
57988 func_dirname_and_basename
()
57991 */*) func_dirname_result
="${1%/*}${2}" ;;
57992 * ) func_dirname_result
="${3}" ;;
57994 func_basename_result
="${1##*/}"
57997 # func_stripname prefix suffix name
57998 # strip PREFIX and SUFFIX off of NAME.
57999 # PREFIX and SUFFIX must not contain globbing or regex special
58000 # characters, hashes, percent signs, but SUFFIX may contain a leading
58001 # dot (in which case that matches only a dot).
58004 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
58005 # positional parameters, so assign one to ordinary parameter first.
58006 func_stripname_result
=${3}
58007 func_stripname_result
=${func_stripname_result#"${1}"}
58008 func_stripname_result
=${func_stripname_result%"${2}"}
58014 func_opt_split_opt
=${1%%=*}
58015 func_opt_split_arg
=${1#*=}
58022 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
58023 *) func_lo2o_result
=${1} ;;
58027 # func_xform libobj-or-source
58030 func_xform_result
=${1%.*}.lo
58033 # func_arith arithmetic-term...
58036 func_arith_result
=$
(( $
* ))
58040 # STRING may not start with a hyphen.
58043 func_len_result
=${#1}
58048 *) # Bourne compatible functions.
58049 cat << \_LT_EOF
>> "$cfgfile"
58051 # func_dirname file append nondir_replacement
58052 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
58053 # otherwise set result to NONDIR_REPLACEMENT.
58056 # Extract subdirectory from the argument.
58057 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
58058 if test "X$func_dirname_result" = "X${1}"; then
58059 func_dirname_result
="${3}"
58061 func_dirname_result
="$func_dirname_result${2}"
58065 # func_basename file
58068 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
58072 # func_stripname prefix suffix name
58073 # strip PREFIX and SUFFIX off of NAME.
58074 # PREFIX and SUFFIX must not contain globbing or regex special
58075 # characters, hashes, percent signs, but SUFFIX may contain a leading
58076 # dot (in which case that matches only a dot).
58077 # func_strip_suffix prefix name
58081 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
58082 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
58087 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
58088 my_sed_long_arg
='1s/^-[^=]*=//'
58093 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
58094 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
58100 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
58103 # func_xform libobj-or-source
58106 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
58109 # func_arith arithmetic-term...
58112 func_arith_result
=`expr "$@"`
58116 # STRING may not start with a hyphen.
58119 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
58125 case $lt_shell_append in
58127 cat << \_LT_EOF
>> "$cfgfile"
58129 # func_append var value
58130 # Append VALUE to the end of shell variable VAR.
58138 cat << \_LT_EOF
>> "$cfgfile"
58140 # func_append var value
58141 # Append VALUE to the end of shell variable VAR.
58152 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
58153 ||
(rm -f "$cfgfile"; exit 1)
58155 mv -f "$cfgfile" "$ofile" ||
58156 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
58160 cat <<_LT_EOF >> "$ofile"
58162 # ### BEGIN LIBTOOL TAG CONFIG: CXX
58164 # The linker used to build libraries.
58167 # How to create reloadable object files.
58168 reload_flag=$lt_reload_flag_CXX
58169 reload_cmds=$lt_reload_cmds_CXX
58171 # Commands used to build an old-style archive.
58172 old_archive_cmds=$lt_old_archive_cmds_CXX
58174 # A language specific compiler.
58175 CC=$lt_compiler_CXX
58177 # Is the compiler the GNU compiler?
58180 # Compiler flag to turn off builtin functions.
58181 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
58183 # How to pass a linker flag through the compiler.
58184 wl=$lt_lt_prog_compiler_wl_CXX
58186 # Additional compiler flags for building library objects.
58187 pic_flag=$lt_lt_prog_compiler_pic_CXX
58189 # Compiler flag to prevent dynamic linking.
58190 link_static_flag=$lt_lt_prog_compiler_static_CXX
58192 # Does compiler simultaneously support -c and -o options?
58193 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
58195 # Whether or not to add -lc for building shared libraries.
58196 build_libtool_need_lc=$archive_cmds_need_lc_CXX
58198 # Whether or not to disallow shared libs when runtime libs are static.
58199 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
58201 # Compiler flag to allow reflexive dlopens.
58202 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
58204 # Compiler flag to generate shared objects directly from archives.
58205 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
58207 # Whether the compiler copes with passing no objects directly.
58208 compiler_needs_object=$lt_compiler_needs_object_CXX
58210 # Create an old-style archive from a shared archive.
58211 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
58213 # Create a temporary old-style archive to link instead of a shared archive.
58214 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
58216 # Commands used to build a shared archive.
58217 archive_cmds=$lt_archive_cmds_CXX
58218 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
58220 # Commands used to build a loadable module if different from building
58221 # a shared archive.
58222 module_cmds=$lt_module_cmds_CXX
58223 module_expsym_cmds=$lt_module_expsym_cmds_CXX
58225 # Whether we are building with GNU ld or not.
58226 with_gnu_ld=$lt_with_gnu_ld_CXX
58228 # Flag that allows shared libraries with undefined symbols to be built.
58229 allow_undefined_flag=$lt_allow_undefined_flag_CXX
58231 # Flag that enforces no undefined symbols.
58232 no_undefined_flag=$lt_no_undefined_flag_CXX
58234 # Flag to hardcode \$libdir into a binary during linking.
58235 # This must work even if \$libdir does not exist
58236 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
58238 # If ld is used when linking, flag to hardcode \$libdir into a binary
58239 # during linking. This must work even if \$libdir does not exist.
58240 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
58242 # Whether we need a single "-rpath" flag with a separated argument.
58243 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
58245 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
58246 # DIR into the resulting binary.
58247 hardcode_direct=$hardcode_direct_CXX
58249 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
58250 # DIR into the resulting binary and the resulting library dependency is
58251 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
58252 # library is relocated.
58253 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
58255 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
58256 # into the resulting binary.
58257 hardcode_minus_L=$hardcode_minus_L_CXX
58259 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
58260 # into the resulting binary.
58261 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
58263 # Set to "yes" if building a shared library automatically hardcodes DIR
58264 # into the library and all subsequent libraries and executables linked
58266 hardcode_automatic=$hardcode_automatic_CXX
58268 # Set to yes if linker adds runtime paths of dependent libraries
58269 # to runtime path list.
58270 inherit_rpath=$inherit_rpath_CXX
58272 # Whether libtool must link a program against all its dependency libraries.
58273 link_all_deplibs=$link_all_deplibs_CXX
58275 # Fix the shell variable \$srcfile for the compiler.
58276 fix_srcfile_path=$lt_fix_srcfile_path_CXX
58278 # Set to "yes" if exported symbols are required.
58279 always_export_symbols=$always_export_symbols_CXX
58281 # The commands to list exported symbols.
58282 export_symbols_cmds=$lt_export_symbols_cmds_CXX
58284 # Symbols that should not be listed in the preloaded symbols.
58285 exclude_expsyms=$lt_exclude_expsyms_CXX
58287 # Symbols that must always be exported.
58288 include_expsyms=$lt_include_expsyms_CXX
58290 # Commands necessary for linking programs (against libraries) with templates.
58291 prelink_cmds=$lt_prelink_cmds_CXX
58293 # Specify filename containing input files.
58294 file_list_spec=$lt_file_list_spec_CXX
58296 # How to hardcode a shared library path into an executable.
58297 hardcode_action=$hardcode_action_CXX
58299 # The directories searched by this compiler when creating a shared library.
58300 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
58302 # Dependencies to place before and after the objects being linked to
58303 # create a shared library.
58304 predep_objects=$lt_predep_objects_CXX
58305 postdep_objects=$lt_postdep_objects_CXX
58306 predeps=$lt_predeps_CXX
58307 postdeps=$lt_postdeps_CXX
58309 # The library search path used internally by the compiler when linking
58310 # a shared library.
58311 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
58313 # ### END LIBTOOL TAG CONFIG: CXX
58317 "scripts/testsuite_flags":F
) chmod +x
scripts
/testsuite_flags
;;
58318 "scripts/extract_symvers":F
) chmod +x
scripts
/extract_symvers
;;
58319 "include/Makefile":F
) cat > vpsed$$
<< \_EOF
58320 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58322 sed -f vpsed$$
$ac_file > tmp$$
58325 echo 'MULTISUBDIR =' >> $ac_file
58327 .
${multi_basedir}/config-ml.
in
58328 { ml_norecursion
=; unset ml_norecursion
;}
58330 "libsupc++/Makefile":F
) cat > vpsed$$
<< \_EOF
58331 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58333 sed -f vpsed$$
$ac_file > tmp$$
58336 echo 'MULTISUBDIR =' >> $ac_file
58338 .
${multi_basedir}/config-ml.
in
58339 { ml_norecursion
=; unset ml_norecursion
;}
58341 "src/Makefile":F
) cat > vpsed$$
<< \_EOF
58342 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58344 sed -f vpsed$$
$ac_file > tmp$$
58347 echo 'MULTISUBDIR =' >> $ac_file
58349 .
${multi_basedir}/config-ml.
in
58350 { ml_norecursion
=; unset ml_norecursion
;}
58352 "src/c++98/Makefile":F
) cat > vpsed$$
<< \_EOF
58353 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58355 sed -f vpsed$$
$ac_file > tmp$$
58358 echo 'MULTISUBDIR =' >> $ac_file
58360 .
${multi_basedir}/config-ml.
in
58361 { ml_norecursion
=; unset ml_norecursion
;}
58363 "src/c++11/Makefile":F
) cat > vpsed$$
<< \_EOF
58364 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58366 sed -f vpsed$$
$ac_file > tmp$$
58369 echo 'MULTISUBDIR =' >> $ac_file
58371 .
${multi_basedir}/config-ml.
in
58372 { ml_norecursion
=; unset ml_norecursion
;}
58374 "src/c++17/Makefile":F
) cat > vpsed$$
<< \_EOF
58375 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58377 sed -f vpsed$$
$ac_file > tmp$$
58380 echo 'MULTISUBDIR =' >> $ac_file
58382 .
${multi_basedir}/config-ml.
in
58383 { ml_norecursion
=; unset ml_norecursion
;}
58385 "src/c++20/Makefile":F
) cat > vpsed$$
<< \_EOF
58386 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58388 sed -f vpsed$$
$ac_file > tmp$$
58391 echo 'MULTISUBDIR =' >> $ac_file
58393 .
${multi_basedir}/config-ml.
in
58394 { ml_norecursion
=; unset ml_norecursion
;}
58396 "src/c++23/Makefile":F
) cat > vpsed$$
<< \_EOF
58397 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58399 sed -f vpsed$$
$ac_file > tmp$$
58402 echo 'MULTISUBDIR =' >> $ac_file
58404 .
${multi_basedir}/config-ml.
in
58405 { ml_norecursion
=; unset ml_norecursion
;}
58407 "src/filesystem/Makefile":F
) cat > vpsed$$
<< \_EOF
58408 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58410 sed -f vpsed$$
$ac_file > tmp$$
58413 echo 'MULTISUBDIR =' >> $ac_file
58415 .
${multi_basedir}/config-ml.
in
58416 { ml_norecursion
=; unset ml_norecursion
;}
58418 "src/libbacktrace/Makefile":F
) cat > vpsed$$
<< \_EOF
58419 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58421 sed -f vpsed$$
$ac_file > tmp$$
58424 echo 'MULTISUBDIR =' >> $ac_file
58426 .
${multi_basedir}/config-ml.
in
58427 { ml_norecursion
=; unset ml_norecursion
;}
58429 "src/experimental/Makefile":F
) cat > vpsed$$
<< \_EOF
58430 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58432 sed -f vpsed$$
$ac_file > tmp$$
58435 echo 'MULTISUBDIR =' >> $ac_file
58437 .
${multi_basedir}/config-ml.
in
58438 { ml_norecursion
=; unset ml_norecursion
;}
58440 "doc/Makefile":F
) cat > vpsed$$
<< \_EOF
58441 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58443 sed -f vpsed$$
$ac_file > tmp$$
58446 echo 'MULTISUBDIR =' >> $ac_file
58448 .
${multi_basedir}/config-ml.
in
58449 { ml_norecursion
=; unset ml_norecursion
;}
58451 "po/Makefile":F
) cat > vpsed$$
<< \_EOF
58452 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58454 sed -f vpsed$$
$ac_file > tmp$$
58457 echo 'MULTISUBDIR =' >> $ac_file
58459 .
${multi_basedir}/config-ml.
in
58460 { ml_norecursion
=; unset ml_norecursion
;}
58462 "testsuite/Makefile":F
) cat > vpsed$$
<< \_EOF
58463 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58465 sed -f vpsed$$
$ac_file > tmp$$
58468 echo 'MULTISUBDIR =' >> $ac_file
58470 .
${multi_basedir}/config-ml.
in
58471 { ml_norecursion
=; unset ml_norecursion
;}
58473 "python/Makefile":F
) cat > vpsed$$
<< \_EOF
58474 s
!`test -f '$<' || echo '$(srcdir)/'`!!
58476 sed -f vpsed$$
$ac_file > tmp$$
58479 echo 'MULTISUBDIR =' >> $ac_file
58481 .
${multi_basedir}/config-ml.
in
58482 { ml_norecursion
=; unset ml_norecursion
;}
58484 "generate-headers":C
) (cd include
&& ${MAKE-make} pch_build
= ) ;;
58492 ac_clean_files
=$ac_clean_files_save
58494 test $ac_write_fail = 0 ||
58495 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
58498 # configure is writing to config.log, and then calls config.status.
58499 # config.status does its own redirection, appending to config.log.
58500 # Unfortunately, on DOS this fails, as config.log is still kept open
58501 # by configure, so config.status won't be able to write to it; its
58502 # output is simply discarded. So we exec the FD to /dev/null,
58503 # effectively closing config.log, so it can be properly (re)opened and
58504 # appended to by config.status. When coming back to configure, we
58505 # need to make the FD available again.
58506 if test "$no_create" != yes; then
58508 ac_config_status_args
=
58509 test "$silent" = yes &&
58510 ac_config_status_args
="$ac_config_status_args --quiet"
58512 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
58514 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58515 # would make configure fail if this is the last instruction.
58516 $ac_cs_success || as_fn_exit
1
58518 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
58520 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}