2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for GNU Fortran Runtime Library 0.3.
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
='GNU Fortran Runtime Library'
589 PACKAGE_TARNAME
='libgfortran'
590 PACKAGE_VERSION
='0.3'
591 PACKAGE_STRING
='GNU Fortran Runtime Library 0.3'
593 PACKAGE_URL
='http://www.gnu.org/software/libgfortran/'
595 # Factoring default headers for most tests.
596 ac_includes_default
="\
598 #ifdef HAVE_SYS_TYPES_H
599 # include <sys/types.h>
601 #ifdef HAVE_SYS_STAT_H
602 # include <sys/stat.h>
608 # ifdef HAVE_STDLIB_H
613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
618 #ifdef HAVE_STRINGS_H
619 # include <strings.h>
621 #ifdef HAVE_INTTYPES_H
622 # include <inttypes.h>
635 ac_subst_vars
='am__EXEEXT_FALSE
653 extra_ldflags_libgfortran
682 LIBGOMP_CHECKED_REAL_KINDS
683 LIBGOMP_CHECKED_INT_KINDS
684 LIBGFOR_MINIMAL_FALSE
686 LIBGFOR_USE_SYMVER_SUN_FALSE
687 LIBGFOR_USE_SYMVER_SUN_TRUE
688 LIBGFOR_USE_SYMVER_GNU_FALSE
689 LIBGFOR_USE_SYMVER_GNU_TRUE
690 LIBGFOR_USE_SYMVER_FALSE
691 LIBGFOR_USE_SYMVER_TRUE
720 MAINTAINER_MODE_FALSE
734 INSTALL_STRIP_PROGRAM
793 program_transform_name
806 enable_option_checking
808 enable_version_specific_runtime_libs
810 enable_maintainer_mode
812 enable_dependency_tracking
823 enable_libquadmath_support
824 with_gcc_major_version_only
826 ac_precious_vars
='build_alias
839 # Initialize some variables set by options.
841 ac_init_version
=false
842 ac_unrecognized_opts
=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name
=s
,x
,x
,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir
='${exec_prefix}/bin'
868 sbindir
='${exec_prefix}/sbin'
869 libexecdir
='${exec_prefix}/libexec'
870 datarootdir
='${prefix}/share'
871 datadir
='${datarootdir}'
872 sysconfdir
='${prefix}/etc'
873 sharedstatedir
='${prefix}/com'
874 localstatedir
='${prefix}/var'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
904 # Accept the important Cygnus configure options, so we can diagnose typos.
906 case $ac_dashdash$ac_option in
910 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
912 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
915 -build |
--build |
--buil |
--bui |
--bu)
916 ac_prev
=build_alias
;;
917 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
918 build_alias
=$ac_optarg ;;
920 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
921 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
922 ac_prev
=cache_file
;;
923 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
924 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
925 cache_file
=$ac_optarg ;;
928 cache_file
=config.cache
;;
930 -datadir |
--datadir |
--datadi |
--datad)
932 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
933 datadir
=$ac_optarg ;;
935 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
936 |
--dataroo |
--dataro |
--datar)
937 ac_prev
=datarootdir
;;
938 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
939 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
940 datarootdir
=$ac_optarg ;;
942 -disable-* |
--disable-*)
943 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
944 # Reject names that are not valid shell variable names.
945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
946 as_fn_error $?
"invalid feature name: $ac_useropt"
947 ac_useropt_orig
=$ac_useropt
948 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
949 case $ac_user_opts in
953 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
954 ac_unrecognized_sep
=', ';;
956 eval enable_
$ac_useropt=no
;;
958 -docdir |
--docdir |
--docdi |
--doc |
--do)
960 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
963 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
965 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
968 -enable-* |
--enable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=\
$ac_optarg ;;
984 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
985 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
986 |
--exec |
--exe |
--ex)
987 ac_prev
=exec_prefix
;;
988 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
989 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
990 |
--exec=* |
--exe=* |
--ex=*)
991 exec_prefix
=$ac_optarg ;;
993 -gas |
--gas |
--ga |
--g)
994 # Obsolete; use --with-gas.
997 -help |
--help |
--hel |
--he |
-h)
999 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1000 ac_init_help
=recursive
;;
1001 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1002 ac_init_help
=short
;;
1004 -host |
--host |
--hos |
--ho)
1005 ac_prev
=host_alias
;;
1006 -host=* |
--host=* |
--hos=* |
--ho=*)
1007 host_alias
=$ac_optarg ;;
1009 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1011 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1013 htmldir
=$ac_optarg ;;
1015 -includedir |
--includedir |
--includedi |
--included |
--include \
1016 |
--includ |
--inclu |
--incl |
--inc)
1017 ac_prev
=includedir
;;
1018 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1019 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1020 includedir
=$ac_optarg ;;
1022 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1024 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1025 infodir
=$ac_optarg ;;
1027 -libdir |
--libdir |
--libdi |
--libd)
1029 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1030 libdir
=$ac_optarg ;;
1032 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1033 |
--libexe |
--libex |
--libe)
1034 ac_prev
=libexecdir
;;
1035 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1036 |
--libexe=* |
--libex=* |
--libe=*)
1037 libexecdir
=$ac_optarg ;;
1039 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1040 ac_prev
=localedir
;;
1041 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1042 localedir
=$ac_optarg ;;
1044 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1045 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1046 ac_prev
=localstatedir
;;
1047 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1048 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1049 localstatedir
=$ac_optarg ;;
1051 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1053 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1054 mandir
=$ac_optarg ;;
1056 -nfp |
--nfp |
--nf)
1057 # Obsolete; use --without-fp.
1060 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1061 |
--no-cr |
--no-c |
-n)
1064 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1065 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1068 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1069 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1070 |
--oldin |
--oldi |
--old |
--ol |
--o)
1071 ac_prev
=oldincludedir
;;
1072 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1073 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1074 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1075 oldincludedir
=$ac_optarg ;;
1077 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1079 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1080 prefix
=$ac_optarg ;;
1082 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1083 |
--program-pre |
--program-pr |
--program-p)
1084 ac_prev
=program_prefix
;;
1085 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1086 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1087 program_prefix
=$ac_optarg ;;
1089 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1090 |
--program-suf |
--program-su |
--program-s)
1091 ac_prev
=program_suffix
;;
1092 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1093 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1094 program_suffix
=$ac_optarg ;;
1096 -program-transform-name |
--program-transform-name \
1097 |
--program-transform-nam |
--program-transform-na \
1098 |
--program-transform-n |
--program-transform- \
1099 |
--program-transform |
--program-transfor \
1100 |
--program-transfo |
--program-transf \
1101 |
--program-trans |
--program-tran \
1102 |
--progr-tra |
--program-tr |
--program-t)
1103 ac_prev
=program_transform_name
;;
1104 -program-transform-name=* |
--program-transform-name=* \
1105 |
--program-transform-nam=* |
--program-transform-na=* \
1106 |
--program-transform-n=* |
--program-transform-=* \
1107 |
--program-transform=* |
--program-transfor=* \
1108 |
--program-transfo=* |
--program-transf=* \
1109 |
--program-trans=* |
--program-tran=* \
1110 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1111 program_transform_name
=$ac_optarg ;;
1113 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1115 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1116 pdfdir
=$ac_optarg ;;
1118 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1120 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1123 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1124 |
-silent |
--silent |
--silen |
--sile |
--sil)
1127 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1129 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1131 sbindir
=$ac_optarg ;;
1133 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1134 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1135 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1137 ac_prev
=sharedstatedir
;;
1138 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1139 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1140 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1142 sharedstatedir
=$ac_optarg ;;
1144 -site |
--site |
--sit)
1146 -site=* |
--site=* |
--sit=*)
1149 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1151 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1152 srcdir
=$ac_optarg ;;
1154 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1155 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1156 ac_prev
=sysconfdir
;;
1157 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1158 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1159 sysconfdir
=$ac_optarg ;;
1161 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1162 ac_prev
=target_alias
;;
1163 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1164 target_alias
=$ac_optarg ;;
1166 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1169 -version |
--version |
--versio |
--versi |
--vers |
-V)
1170 ac_init_version
=: ;;
1173 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1174 # Reject names that are not valid shell variable names.
1175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1176 as_fn_error $?
"invalid package name: $ac_useropt"
1177 ac_useropt_orig
=$ac_useropt
1178 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1179 case $ac_user_opts in
1183 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1184 ac_unrecognized_sep
=', ';;
1186 eval with_
$ac_useropt=\
$ac_optarg ;;
1188 -without-* |
--without-*)
1189 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error $?
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1223 Try \`$0 --help' for more information"
1227 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1228 # Reject names that are not valid shell variable names.
1229 case $ac_envvar in #(
1230 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1231 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 as_fn_error $?
"missing argument to $ac_option"
1252 if test -n "$ac_unrecognized_opts"; then
1253 case $enable_option_checking in
1255 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1256 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1260 # Check all directory arguments for consistency.
1261 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1262 datadir sysconfdir sharedstatedir localstatedir includedir \
1263 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1264 libdir localedir mandir
1266 eval ac_val
=\$
$ac_var
1267 # Remove trailing slashes.
1270 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1271 eval $ac_var=\
$ac_val;;
1273 # Be sure to have absolute directory names.
1275 [\\/$
]* | ?
:[\\/]* ) continue;;
1276 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1278 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1281 # There might be people who depend on the old broken behavior: `$host'
1282 # used to hold the argument of --host etc.
1283 # FIXME: To remove some day.
1286 target
=$target_alias
1288 # FIXME: To remove some day.
1289 if test "x$host_alias" != x
; then
1290 if test "x$build_alias" = x
; then
1291 cross_compiling
=maybe
1292 elif test "x$build_alias" != "x$host_alias"; then
1298 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1300 test "$silent" = yes && exec 6>/dev
/null
1303 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1304 ac_ls_di
=`ls -di .` &&
1305 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1306 as_fn_error $?
"working directory cannot be determined"
1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1308 as_fn_error $?
"pwd does not report name of working directory"
1311 # Find the source files, if location was not specified.
1312 if test -z "$srcdir"; then
1313 ac_srcdir_defaulted
=yes
1314 # Try the directory containing this script, then the parent directory.
1315 ac_confdir
=`$as_dirname -- "$as_myself" ||
1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1317 X"$as_myself" : 'X\(//\)[^/]' \| \
1318 X"$as_myself" : 'X\(//\)$' \| \
1319 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1320 $as_echo X"$as_myself" |
1321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1339 if test ! -r "$srcdir/$ac_unique_file"; then
1343 ac_srcdir_defaulted
=no
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1346 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1347 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1349 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1351 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1353 # When building in place, set srcdir=.
1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
1357 # Remove unnecessary trailing slashes from srcdir.
1358 # Double slashes in file names in object file debugging info
1359 # mess up M-x gdb in Emacs.
1361 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363 for ac_var
in $ac_precious_vars; do
1364 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1365 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1366 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1367 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1371 # Report the --help message.
1373 if test "$ac_init_help" = "long"; then
1374 # Omit some internal or obsolete options to make the list less imposing.
1375 # This message is too long to be a string in the A/UX 3.1 sh.
1377 \`configure' configures GNU Fortran Runtime Library 0.3 to adapt to many kinds of systems.
1379 Usage: $0 [OPTION]... [VAR=VALUE]...
1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1382 VAR=VALUE. See below for descriptions of some of the useful variables.
1384 Defaults for the options are specified in brackets.
1387 -h, --help display this help and exit
1388 --help=short display options specific to this package
1389 --help=recursive display the short help of all the included packages
1390 -V, --version display version information and exit
1391 -q, --quiet, --silent do not print \`checking ...' messages
1392 --cache-file=FILE cache test results in FILE [disabled]
1393 -C, --config-cache alias for \`--cache-file=config.cache'
1394 -n, --no-create do not create output files
1395 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397 Installation directories:
1398 --prefix=PREFIX install architecture-independent files in PREFIX
1399 [$ac_default_prefix]
1400 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1403 By default, \`make install' will install all the files in
1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1406 for instance \`--prefix=\$HOME'.
1408 For better control, use the options below.
1410 Fine tuning of the installation directories:
1411 --bindir=DIR user executables [EPREFIX/bin]
1412 --sbindir=DIR system admin executables [EPREFIX/sbin]
1413 --libexecdir=DIR program executables [EPREFIX/libexec]
1414 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1415 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1416 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/libgfortran]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1442 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
1446 if test -n "$ac_init_help"; then
1447 case $ac_init_help in
1448 short | recursive
) echo "Configuration of GNU Fortran Runtime Library 0.3:";;
1453 --disable-option-checking ignore unrecognized
--enable/--with options
1454 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1455 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1456 --enable-version-specific-runtime-libs
1457 specify that runtime libraries should be installed
1458 in a compiler-specific directory
1459 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1460 --disable-silent-rules verbose build output
(undo
: "make V=0")
1461 --enable-maintainer-mode
1462 enable make rules and dependencies not useful
(and
1463 sometimes confusing
) to the casual installer
1464 --enable-multilib build many library versions
(default
)
1465 --enable-dependency-tracking
1466 do not reject slow dependency extractors
1467 --disable-dependency-tracking
1468 speeds up one-time build
1469 --enable-cet enable Intel CET
in target libraries
[default
=auto
]
1470 --disable-symvers disable symbol versioning
for libgfortran
1471 --enable-shared[=PKGS
] build shared libraries
[default
=yes]
1472 --enable-static[=PKGS
] build static libraries
[default
=yes]
1473 --enable-fast-install[=PKGS
]
1474 optimize
for fast installation
[default
=yes]
1475 --disable-libtool-lock avoid locking
(might
break parallel builds
)
1476 --disable-largefile omit support
for large files
1477 --disable-libquadmath-support
1478 disable libquadmath support
for Fortran
1481 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1482 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1483 --with-build-libsubdir=DIR Directory where to
find libraries
for build system
1484 --with-toolexeclibdir=DIR
1485 install libraries built with a cross compiler within
1487 --with-gnu-ld assume the C compiler uses GNU ld
[default
=no
]
1488 --with-pic try to use only PIC
/non-PIC objects
[default
=use
1490 --with-gcc-major-version-only
1491 use only GCC major number
in filesystem paths
1493 Some influential environment variables
:
1494 CC C compiler
command
1495 CFLAGS C compiler flags
1496 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1497 nonstandard directory
<lib dir
>
1498 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1499 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1500 you have headers
in a nonstandard directory
<include dir
>
1502 FC Fortran compiler
command
1503 FCFLAGS Fortran compiler flags
1505 Use these variables to override the choices made by
`configure' or to help
1506 it to find libraries and programs with nonstandard names/locations.
1508 Report bugs to the package provider.
1509 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
1510 General help using GNU software: <http://www.gnu.org/gethelp/>.
1515 if test "$ac_init_help" = "recursive"; then
1516 # If there are subdirs, report their specific --help.
1517 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1518 test -d "$ac_dir" ||
1519 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1526 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1527 # A ".." for each directory in $ac_dir_suffix.
1528 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1529 case $ac_top_builddir_sub in
1530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1534 ac_abs_top_builddir=$ac_pwd
1535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1536 # for backward compatibility:
1537 ac_top_builddir=$ac_top_build_prefix
1540 .) # We are building in place.
1542 ac_top_srcdir=$ac_top_builddir_sub
1543 ac_abs_top_srcdir=$ac_pwd ;;
1544 [\\/]* | ?:[\\/]* ) # Absolute name.
1545 ac_srcdir=$srcdir$ac_dir_suffix;
1546 ac_top_srcdir=$srcdir
1547 ac_abs_top_srcdir=$srcdir ;;
1549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1550 ac_top_srcdir=$ac_top_build_prefix$srcdir
1551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1555 cd "$ac_dir" || { ac_status=$?; continue; }
1556 # Check for guested configure.
1557 if test -f "$ac_srcdir/configure.gnu"; then
1559 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1560 elif test -f "$ac_srcdir/configure"; then
1562 $SHELL "$ac_srcdir/configure" --help=recursive
1564 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1566 cd "$ac_pwd" || { ac_status=$?; break; }
1570 test -n "$ac_init_help" && exit $ac_status
1571 if $ac_init_version; then
1573 GNU Fortran Runtime Library configure 0.3
1574 generated by GNU Autoconf 2.69
1576 Copyright (C) 2012 Free Software Foundation, Inc.
1577 This configure script is free software; the Free Software Foundation
1578 gives unlimited permission to copy, distribute and modify it.
1583 ## ------------------------ ##
1584 ## Autoconf initialization. ##
1585 ## ------------------------ ##
1587 # ac_fn_c_try_compile LINENO
1588 # --------------------------
1589 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1590 ac_fn_c_try_compile ()
1592 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1593 rm -f conftest.$ac_objext
1594 if { { ac_try="$ac_compile"
1596 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1597 *) ac_try_echo
=$ac_try;;
1599 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1600 $as_echo "$ac_try_echo"; } >&5
1601 (eval "$ac_compile") 2>conftest.err
1603 if test -s conftest.err
; then
1604 grep -v '^ *+' conftest.err
>conftest.er1
1605 cat conftest.er1
>&5
1606 mv -f conftest.er1 conftest.err
1608 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1609 test $ac_status = 0; } && {
1610 test -z "$ac_c_werror_flag" ||
1611 test ! -s conftest.err
1612 } && test -s conftest.
$ac_objext; then :
1615 $as_echo "$as_me: failed program was:" >&5
1616 sed 's/^/| /' conftest.
$ac_ext >&5
1620 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1621 as_fn_set_status
$ac_retval
1623 } # ac_fn_c_try_compile
1625 # ac_fn_c_try_cpp LINENO
1626 # ----------------------
1627 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1630 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1631 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1634 *) ac_try_echo=$ac_try;;
1636 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1637 $as_echo "$ac_try_echo"; } >&5
1638 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1640 if test -s conftest.err; then
1641 grep -v '^ *+' conftest.err >conftest.er1
1642 cat conftest.er1 >&5
1643 mv -f conftest.er1 conftest.err
1645 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1646 test $ac_status = 0; } > conftest.i && {
1647 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1648 test ! -s conftest.err
1652 $as_echo "$as_me: failed program was:" >&5
1653 sed 's/^/| /' conftest.$ac_ext >&5
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1665 # the include files in INCLUDES and setting the cache variable VAR
1667 ac_fn_c_check_header_mongrel ()
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 if eval \${$3+:} false; then :
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1672 $as_echo_n "checking for $2... " >&6; }
1673 if eval \${$3+:} false; then :
1674 $as_echo_n "(cached) " >&6
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1678 $as_echo "$ac_res" >&6; }
1680 # Is the header compilable?
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1682 $as_echo_n "checking $2 usability... " >&6; }
1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684 /* end confdefs.h. */
1688 if ac_fn_c_try_compile "$LINENO"; then :
1689 ac_header_compiler=yes
1691 ac_header_compiler=no
1693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1695 $as_echo "$ac_header_compiler" >&6; }
1697 # Is the header present?
1698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1699 $as_echo_n "checking $2 presence... " >&6; }
1700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1701 /* end confdefs.h. */
1704 if ac_fn_c_try_cpp "$LINENO"; then :
1705 ac_header_preproc=yes
1707 ac_header_preproc=no
1709 rm -f conftest.err conftest.i conftest.$ac_ext
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1711 $as_echo "$ac_header_preproc" >&6; }
1713 # So? What about this header?
1714 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1717 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1719 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1723 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1725 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1727 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1729 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1731 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1735 $as_echo_n "checking for $2... " >&6; }
1736 if eval \${$3+:} false; then :
1737 $as_echo_n "(cached) " >&6
1739 eval "$3=\$ac_header_compiler"
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1743 $as_echo "$ac_res" >&6; }
1745 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1747 } # ac_fn_c_check_header_mongrel
1749 # ac_fn_c_try_run LINENO
1750 # ----------------------
1751 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1752 # that executables *can* be run.
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 if { { ac_try="$ac_link"
1758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1759 *) ac_try_echo
=$ac_try;;
1761 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1762 $as_echo "$ac_try_echo"; } >&5
1763 (eval "$ac_link") 2>&5
1765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1766 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1767 { { case "(($ac_try" in
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_try") 2>&5
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; }; }; then :
1779 $as_echo "$as_me: program exited with status $ac_status" >&5
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=$ac_status
1785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status $ac_retval
1791 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists and can be compiled using the include files in
1794 # INCLUDES, setting the cache variable VAR accordingly.
1795 ac_fn_c_check_header_compile ()
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799 $as_echo_n "checking for $2... " >&6; }
1800 if eval \${$3+:} false; then :
1801 $as_echo_n "(cached) " >&6
1803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1804 /* end confdefs.h. */
1808 if ac_fn_c_try_compile "$LINENO"; then :
1813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1820 } # ac_fn_c_check_header_compile
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1832 *) ac_try_echo
=$ac_try;;
1834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1838 if test -s conftest.err
; then
1839 grep -v '^ *+' conftest.err
>conftest.er1
1840 cat conftest.er1
>&5
1841 mv -f conftest.er1 conftest.err
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest
$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 test -x conftest
$ac_exeext
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.
$ac_ext >&5
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1864 as_fn_set_status
$ac_retval
1866 } # ac_fn_c_try_link
1868 # ac_fn_c_check_func LINENO FUNC VAR
1869 # ----------------------------------
1870 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1871 ac_fn_c_check_func
()
1873 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if eval \
${$3+:} false
; then :
1877 $as_echo_n "(cached) " >&6
1879 if test x
$gcc_no_link = xyes
; then
1880 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1883 /* end confdefs.h. */
1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1886 #define $2 innocuous_$2
1888 /* System header to define __stub macros and hopefully few prototypes,
1889 which can conflict with char $2 (); below.
1890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1891 <limits.h> exists even on freestanding compilers. */
1894 # include <limits.h>
1896 # include <assert.h>
1901 /* Override any GCC internal prototype to avoid an error.
1902 Use char because int might match the return type of a GCC
1903 builtin and then its argument prototype would still apply. */
1908 /* The GNU C library defines this for functions which it implements
1909 to always fail with ENOSYS. Some functions are actually named
1910 something starting with __ and the normal name is an alias. */
1911 #if defined __stub_$2 || defined __stub___$2
1923 if ac_fn_c_try_link
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext \
1929 conftest
$ac_exeext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1936 } # ac_fn_c_check_func
1938 # ac_fn_fc_try_compile LINENO
1939 # ---------------------------
1940 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1941 ac_fn_fc_try_compile
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 rm -f conftest.
$ac_objext
1945 if { { ac_try
="$ac_compile"
1947 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1948 *) ac_try_echo=$ac_try;;
1950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1951 $as_echo "$ac_try_echo"; } >&5
1952 (eval "$ac_compile") 2>conftest.err
1954 if test -s conftest.err; then
1955 grep -v '^ *+' conftest.err >conftest.er1
1956 cat conftest.er1 >&5
1957 mv -f conftest.er1 conftest.err
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; } && {
1961 test -z "$ac_fc_werror_flag" ||
1962 test ! -s conftest.err
1963 } && test -s conftest.$ac_objext; then :
1966 $as_echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.$ac_ext >&5
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972 as_fn_set_status $ac_retval
1974 } # ac_fn_fc_try_compile
1976 # ac_fn_fc_try_link LINENO
1977 # ------------------------
1978 # Try to link conftest.$ac_ext, and return whether this succeeded.
1979 ac_fn_fc_try_link ()
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 rm -f conftest.$ac_objext conftest$ac_exeext
1983 if { { ac_try="$ac_link"
1985 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1986 *) ac_try_echo
=$ac_try;;
1988 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_link") 2>conftest.err
1992 if test -s conftest.err
; then
1993 grep -v '^ *+' conftest.err
>conftest.er1
1994 cat conftest.er1
>&5
1995 mv -f conftest.er1 conftest.err
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } && {
1999 test -z "$ac_fc_werror_flag" ||
2000 test ! -s conftest.err
2001 } && test -s conftest
$ac_exeext && {
2002 test "$cross_compiling" = yes ||
2003 test -x conftest
$ac_exeext
2007 $as_echo "$as_me: failed program was:" >&5
2008 sed 's/^/| /' conftest.
$ac_ext >&5
2012 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2013 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2014 # interfere with the next link command; also delete a directory that is
2015 # left behind by Apple's compiler. We do this before executing the actions.
2016 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2017 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2018 as_fn_set_status
$ac_retval
2020 } # ac_fn_fc_try_link
2022 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2023 # -------------------------------------------
2024 # Tests whether TYPE exists after having included INCLUDES, setting cache
2025 # variable VAR accordingly.
2026 ac_fn_c_check_type
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2030 $as_echo_n "checking for $2... " >&6; }
2031 if eval \
${$3+:} false
; then :
2032 $as_echo_n "(cached) " >&6
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2049 /* end confdefs.h. */
2060 if ac_fn_c_try_compile
"$LINENO"; then :
2065 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2071 $as_echo "$ac_res" >&6; }
2072 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2074 } # ac_fn_c_check_type
2076 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2077 # --------------------------------------------
2078 # Tries to find the compile-time value of EXPR in a program that includes
2079 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2081 ac_fn_c_compute_int
()
2083 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2084 if test "$cross_compiling" = yes; then
2085 # Depending upon the size, compute the lo and hi bounds.
2086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2092 static int test_array [1 - 2 * !(($2) >= 0)];
2094 return test_array [0];
2100 if ac_fn_c_try_compile
"$LINENO"; then :
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2109 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2111 return test_array [0];
2117 if ac_fn_c_try_compile
"$LINENO"; then :
2118 ac_hi
=$ac_mid; break
2120 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
2121 if test $ac_lo -le $ac_mid; then
2125 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
2127 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2131 /* end confdefs.h. */
2136 static int test_array [1 - 2 * !(($2) < 0)];
2138 return test_array [0];
2144 if ac_fn_c_try_compile
"$LINENO"; then :
2147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2148 /* end confdefs.h. */
2153 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2155 return test_array [0];
2161 if ac_fn_c_try_compile
"$LINENO"; then :
2162 ac_lo
=$ac_mid; break
2164 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
2165 if test $ac_mid -le $ac_hi; then
2169 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
2171 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2179 # Binary search between lo and hi bounds.
2180 while test "x$ac_lo" != "x$ac_hi"; do
2181 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
2182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2190 return test_array [0];
2196 if ac_fn_c_try_compile
"$LINENO"; then :
2199 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
2201 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2204 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
2208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 static long int longval () { return $2; }
2212 static unsigned long int ulongval () { return $2; }
2219 FILE *f = fopen ("conftest.val", "w");
2224 long int i = longval ();
2227 fprintf (f, "%ld", i);
2231 unsigned long int i = ulongval ();
2234 fprintf (f, "%lu", i);
2236 /* Do not output a trailing newline, as this causes \r\n confusion
2237 on some platforms. */
2238 return ferror (f) || fclose (f) != 0;
2244 if ac_fn_c_try_run
"$LINENO"; then :
2245 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
2249 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
2250 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
2254 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2255 as_fn_set_status
$ac_retval
2257 } # ac_fn_c_compute_int
2259 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2260 # ----------------------------------------------------
2261 # Tries to find if the field MEMBER exists in type AGGR, after including
2262 # INCLUDES, setting cache variable VAR accordingly.
2263 ac_fn_c_check_member
()
2265 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2267 $as_echo_n "checking for $2.$3... " >&6; }
2268 if eval \
${$4+:} false
; then :
2269 $as_echo_n "(cached) " >&6
2271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2272 /* end confdefs.h. */
2284 if ac_fn_c_try_compile
"$LINENO"; then :
2287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2288 /* end confdefs.h. */
2294 if (sizeof ac_aggr.$3)
2300 if ac_fn_c_try_compile
"$LINENO"; then :
2305 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2307 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2311 $as_echo "$ac_res" >&6; }
2312 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2314 } # ac_fn_c_check_member
2315 cat >config.log
<<_ACEOF
2316 This file contains any messages produced by compilers while
2317 running configure, to aid debugging if configure makes a mistake.
2319 It was created by GNU Fortran Runtime Library $as_me 0.3, which was
2320 generated by GNU Autoconf 2.69. Invocation command line was
2332 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2333 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2334 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2335 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2336 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2338 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2339 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2341 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2342 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2343 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2344 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2345 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2346 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2347 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir
=.
2356 $as_echo "PATH: $as_dir"
2372 # Keep a trace of the command line.
2373 # Strip out --no-create and --no-recursion so they do not pile up.
2374 # Strip out --silent because we don't want to record it for future runs.
2375 # Also quote any args containing shell meta-characters.
2376 # Make two passes to allow for proper duplicate-argument suppression.
2380 ac_must_keep_next
=false
2386 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2387 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2388 |
-silent |
--silent |
--silen |
--sile |
--sil)
2391 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2394 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2396 as_fn_append ac_configure_args1
" '$ac_arg'"
2397 if test $ac_must_keep_next = true
; then
2398 ac_must_keep_next
=false
# Got value, back to normal.
2401 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2402 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2403 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2404 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2405 case "$ac_configure_args0 " in
2406 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2409 -* ) ac_must_keep_next
=true
;;
2412 as_fn_append ac_configure_args
" '$ac_arg'"
2417 { ac_configure_args0
=; unset ac_configure_args0
;}
2418 { ac_configure_args1
=; unset ac_configure_args1
;}
2420 # When interrupted or exit'd, cleanup temporary files, and complete
2421 # config.log. We remove comments because anyway the quotes in there
2422 # would cause problems or look ugly.
2423 # WARNING: Use '\'' to represent an apostrophe within the trap.
2424 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2425 trap 'exit_status=$?
2426 # Save into config.log some information that might help in debugging.
2430 $as_echo "## ---------------- ##
2431 ## Cache variables. ##
2432 ## ---------------- ##"
2434 # The following way of writing the cache mishandles newlines in values,
2436 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2437 eval ac_val=\$$ac_var
2441 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2442 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2445 _ | IFS | as_nl) ;; #(
2446 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2447 *) { eval $ac_var=; unset $ac_var;} ;;
2452 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2453 *${as_nl}ac_space=\ *)
2455 "s/'\''/'\''\\\\'\'''\''/g;
2456 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2459 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2466 $as_echo "## ----------------- ##
2467 ## Output variables. ##
2468 ## ----------------- ##"
2470 for ac_var in $ac_subst_vars
2472 eval ac_val=\$$ac_var
2474 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2476 $as_echo "$ac_var='\''$ac_val'\''"
2480 if test -n "$ac_subst_files"; then
2481 $as_echo "## ------------------- ##
2482 ## File substitutions. ##
2483 ## ------------------- ##"
2485 for ac_var
in $ac_subst_files
2487 eval ac_val
=\$
$ac_var
2489 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2491 $as_echo "$ac_var='\''$ac_val'\''"
2496 if test -s confdefs.h; then
2497 $as_echo "## ----------- ##
2504 test "$ac_signal" != 0 &&
2505 $as_echo "$as_me: caught signal $ac_signal"
2506 $as_echo "$as_me: exit $exit_status"
2508 rm -f core *.core core.conftest.* &&
2509 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2512 for ac_signal
in 1 2 13 15; do
2513 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2517 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2518 rm -f -r conftest
* confdefs.h
2520 $as_echo "/* confdefs.h */" > confdefs.h
2522 # Predefined preprocessor variables.
2524 cat >>confdefs.h
<<_ACEOF
2525 #define PACKAGE_NAME "$PACKAGE_NAME"
2528 cat >>confdefs.h
<<_ACEOF
2529 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2532 cat >>confdefs.h
<<_ACEOF
2533 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2536 cat >>confdefs.h
<<_ACEOF
2537 #define PACKAGE_STRING "$PACKAGE_STRING"
2540 cat >>confdefs.h
<<_ACEOF
2541 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2544 cat >>confdefs.h
<<_ACEOF
2545 #define PACKAGE_URL "$PACKAGE_URL"
2549 # Let the site file select an alternate cache file if it wants to.
2550 # Prefer an explicitly selected file to automatically selected ones.
2553 if test -n "$CONFIG_SITE"; then
2554 # We do not want a PATH search for config.site.
2555 case $CONFIG_SITE in #((
2556 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2557 */*) ac_site_file1
=$CONFIG_SITE;;
2558 *) ac_site_file1
=.
/$CONFIG_SITE;;
2560 elif test "x$prefix" != xNONE
; then
2561 ac_site_file1
=$prefix/share
/config.site
2562 ac_site_file2
=$prefix/etc
/config.site
2564 ac_site_file1
=$ac_default_prefix/share
/config.site
2565 ac_site_file2
=$ac_default_prefix/etc
/config.site
2567 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2569 test "x$ac_site_file" = xNONE
&& continue
2570 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2572 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2573 sed 's/^/| /' "$ac_site_file" >&5
2575 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 as_fn_error $?
"failed to load site script $ac_site_file
2578 See \`config.log' for more details" "$LINENO" 5; }
2582 if test -r "$cache_file"; then
2583 # Some versions of bash will fail to source /dev/null (special files
2584 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2585 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2587 $as_echo "$as_me: loading cache $cache_file" >&6;}
2589 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2590 *) .
"./$cache_file";;
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2595 $as_echo "$as_me: creating cache $cache_file" >&6;}
2599 as_fn_append ac_header_list
" unistd.h"
2600 as_fn_append ac_header_list
" sys/random.h"
2601 as_fn_append ac_header_list
" sys/time.h"
2602 as_fn_append ac_header_list
" sys/times.h"
2603 as_fn_append ac_header_list
" sys/resource.h"
2604 as_fn_append ac_header_list
" sys/types.h"
2605 as_fn_append ac_header_list
" sys/stat.h"
2606 as_fn_append ac_header_list
" sys/uio.h"
2607 as_fn_append ac_header_list
" sys/wait.h"
2608 as_fn_append ac_header_list
" floatingpoint.h"
2609 as_fn_append ac_header_list
" ieeefp.h"
2610 as_fn_append ac_header_list
" fenv.h"
2611 as_fn_append ac_header_list
" fptrap.h"
2612 as_fn_append ac_header_list
" fpxcp.h"
2613 as_fn_append ac_header_list
" pwd.h"
2614 as_fn_append ac_header_list
" complex.h"
2615 as_fn_append ac_header_list
" xlocale.h"
2616 as_fn_append ac_func_list
" getrusage"
2617 as_fn_append ac_func_list
" times"
2618 as_fn_append ac_func_list
" mkstemp"
2619 as_fn_append ac_func_list
" strtof"
2620 as_fn_append ac_func_list
" strtold"
2621 as_fn_append ac_func_list
" snprintf"
2622 as_fn_append ac_func_list
" ftruncate"
2623 as_fn_append ac_func_list
" chsize"
2624 as_fn_append ac_func_list
" chdir"
2625 as_fn_append ac_func_list
" getentropy"
2626 as_fn_append ac_func_list
" getlogin"
2627 as_fn_append ac_func_list
" gethostname"
2628 as_fn_append ac_func_list
" kill"
2629 as_fn_append ac_func_list
" link"
2630 as_fn_append ac_func_list
" symlink"
2631 as_fn_append ac_func_list
" sleep"
2632 as_fn_append ac_func_list
" ttyname"
2633 as_fn_append ac_func_list
" sigaction"
2634 as_fn_append ac_func_list
" waitpid"
2635 as_fn_append ac_func_list
" alarm"
2636 as_fn_append ac_func_list
" access"
2637 as_fn_append ac_func_list
" fork"
2638 as_fn_append ac_func_list
" posix_spawn"
2639 as_fn_append ac_func_list
" setmode"
2640 as_fn_append ac_func_list
" fcntl"
2641 as_fn_append ac_func_list
" writev"
2642 as_fn_append ac_func_list
" gettimeofday"
2643 as_fn_append ac_func_list
" stat"
2644 as_fn_append ac_func_list
" fstat"
2645 as_fn_append ac_func_list
" lstat"
2646 as_fn_append ac_func_list
" getpwuid"
2647 as_fn_append ac_func_list
" vsnprintf"
2648 as_fn_append ac_func_list
" dup"
2649 as_fn_append ac_func_list
" getcwd"
2650 as_fn_append ac_func_list
" localtime_r"
2651 as_fn_append ac_func_list
" gmtime_r"
2652 as_fn_append ac_func_list
" getpwuid_r"
2653 as_fn_append ac_func_list
" ttyname_r"
2654 as_fn_append ac_func_list
" clock_gettime"
2655 as_fn_append ac_func_list
" getgid"
2656 as_fn_append ac_func_list
" getpid"
2657 as_fn_append ac_func_list
" getuid"
2658 as_fn_append ac_func_list
" geteuid"
2659 as_fn_append ac_func_list
" umask"
2660 as_fn_append ac_func_list
" getegid"
2661 as_fn_append ac_func_list
" secure_getenv"
2662 as_fn_append ac_func_list
" __secure_getenv"
2663 as_fn_append ac_func_list
" mkostemp"
2664 as_fn_append ac_func_list
" strnlen"
2665 as_fn_append ac_func_list
" strndup"
2666 as_fn_append ac_func_list
" newlocale"
2667 as_fn_append ac_func_list
" freelocale"
2668 as_fn_append ac_func_list
" uselocale"
2669 as_fn_append ac_func_list
" strerror_l"
2670 as_fn_append ac_func_list
" strtof128"
2671 as_fn_append ac_func_list
" strfromf128"
2672 as_fn_append ac_header_list
" math.h"
2673 # Check that the precious variables saved in the cache have kept the same
2675 ac_cache_corrupted
=false
2676 for ac_var
in $ac_precious_vars; do
2677 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2678 eval ac_new_set
=\
$ac_env_${ac_var}_set
2679 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2680 eval ac_new_val
=\
$ac_env_${ac_var}_value
2681 case $ac_old_set,$ac_new_set in
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2684 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2685 ac_cache_corrupted
=: ;;
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2688 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2689 ac_cache_corrupted
=: ;;
2692 if test "x$ac_old_val" != "x$ac_new_val"; then
2693 # differences in whitespace do not lead to failure.
2694 ac_old_val_w
=`echo x $ac_old_val`
2695 ac_new_val_w
=`echo x $ac_new_val`
2696 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2698 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2699 ac_cache_corrupted
=:
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2702 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2703 eval $ac_var=\
$ac_old_val
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2706 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2708 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2711 # Pass precious variables to config.status.
2712 if test "$ac_new_set" = set; then
2714 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2715 *) ac_arg
=$ac_var=$ac_new_val ;;
2717 case " $ac_configure_args " in
2718 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2719 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2723 if $ac_cache_corrupted; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2727 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2728 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2730 ## -------------------- ##
2731 ## Main body of script. ##
2732 ## -------------------- ##
2735 ac_cpp
='$CPP $CPPFLAGS'
2736 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2737 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2738 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2744 ac_config_headers
="$ac_config_headers config.h"
2747 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2748 if test -f "$ac_dir/install-sh"; then
2750 ac_install_sh
="$ac_aux_dir/install-sh -c"
2752 elif test -f "$ac_dir/install.sh"; then
2754 ac_install_sh
="$ac_aux_dir/install.sh -c"
2756 elif test -f "$ac_dir/shtool"; then
2758 ac_install_sh
="$ac_aux_dir/shtool install -c"
2762 if test -z "$ac_aux_dir"; then
2763 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2766 # These three variables are undocumented and unsupported,
2767 # and are intended to be withdrawn in a future Autoconf release.
2768 # They can cause serious problems if a builder's source tree is in a directory
2769 # whose full name contains unusual characters.
2770 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2771 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2772 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2775 # Make sure we can run config.sub.
2776 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2777 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2780 $as_echo_n "checking build system type... " >&6; }
2781 if ${ac_cv_build+:} false
; then :
2782 $as_echo_n "(cached) " >&6
2784 ac_build_alias
=$build_alias
2785 test "x$ac_build_alias" = x
&&
2786 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2787 test "x$ac_build_alias" = x
&&
2788 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2789 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2794 $as_echo "$ac_cv_build" >&6; }
2795 case $ac_cv_build in
2797 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2800 ac_save_IFS
=$IFS; IFS
='-'
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2810 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2813 case ${build_alias} in
2814 "") build_noncanonical
=${build} ;;
2815 *) build_noncanonical
=${build_alias} ;;
2818 case ${host_alias} in
2819 "") host_noncanonical
=${build_noncanonical} ;;
2820 *) host_noncanonical
=${host_alias} ;;
2823 case ${target_alias} in
2824 "") target_noncanonical
=${host_noncanonical} ;;
2825 *) target_noncanonical
=${target_alias} ;;
2829 # post-stage1 host modules use a different CC_FOR_BUILD so, in order to
2830 # have matching libraries, they should use host libraries: Makefile.tpl
2831 # arranges to pass --with-build-libsubdir=$(HOST_SUBDIR).
2832 # However, they still use the build modules, because the corresponding
2833 # host modules (e.g. bison) are only built for the host when bootstrap
2835 # - build_subdir is where we find build modules, and never changes.
2836 # - build_libsubdir is where we find build libraries, and can be overridden.
2838 # Prefix 'build-' so this never conflicts with target_subdir.
2839 build_subdir
="build-${build_noncanonical}"
2841 # Check whether --with-build-libsubdir was given.
2842 if test "${with_build_libsubdir+set}" = set; then :
2843 withval
=$with_build_libsubdir; build_libsubdir
="$withval"
2845 build_libsubdir
="$build_subdir"
2848 # --srcdir=. covers the toplevel, while "test -d" covers the subdirectories
2849 if ( test $srcdir = .
&& test -d gcc
) \
2850 ||
test -d $srcdir/..
/host-
${host_noncanonical}; then
2851 host_subdir
="host-${host_noncanonical}"
2856 target_subdir
=${target_noncanonical}
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
2864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
2865 # Check whether --enable-version-specific-runtime-libs was given.
2866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
2867 enableval
=$enable_version_specific_runtime_libs; case "$enableval" in
2868 yes) version_specific_libs
=yes ;;
2869 no
) version_specific_libs
=no
;;
2870 *) as_fn_error $?
"Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
2873 version_specific_libs
=no
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
2877 $as_echo "$version_specific_libs" >&6; }
2879 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2881 # You will slowly go insane if you do not grok the following fact: when
2882 # building this library, the top-level /target/ becomes the library's /host/.
2884 # configure then causes --target to default to --host, exactly like any
2885 # other package using autoconf. Therefore, 'target' and 'host' will
2886 # always be the same. This makes sense both for native and cross compilers
2887 # just think about it for a little while. :-)
2889 # Also, if this library is being configured as part of a cross compiler, the
2890 # top-level configure script will pass the "real" host as $with_cross_host.
2892 # Do not delete or change the following two lines. For why, see
2893 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2895 $as_echo_n "checking host system type... " >&6; }
2896 if ${ac_cv_host+:} false
; then :
2897 $as_echo_n "(cached) " >&6
2899 if test "x$host_alias" = x
; then
2900 ac_cv_host
=$ac_cv_build
2902 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2903 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2908 $as_echo "$ac_cv_host" >&6; }
2911 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2914 ac_save_IFS
=$IFS; IFS
='-'
2920 # Remember, the first character of IFS is used to create $*,
2921 # except with old shells:
2924 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2928 $as_echo_n "checking target system type... " >&6; }
2929 if ${ac_cv_target+:} false
; then :
2930 $as_echo_n "(cached) " >&6
2932 if test "x$target_alias" = x
; then
2933 ac_cv_target
=$ac_cv_host
2935 ac_cv_target
=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2936 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2941 $as_echo "$ac_cv_target" >&6; }
2942 case $ac_cv_target in
2944 *) as_fn_error $?
"invalid value of canonical target" "$LINENO" 5;;
2946 target
=$ac_cv_target
2947 ac_save_IFS
=$IFS; IFS
='-'
2953 # Remember, the first character of IFS is used to create $*,
2954 # except with old shells:
2957 case $target_os in *\
*) target_os
=`echo "$target_os" | sed 's/ /-/g'`;; esac
2960 # The aliases save the names the user supplied, while $host etc.
2961 # will get canonicalized.
2962 test -n "$target_alias" &&
2963 test "$program_prefix$program_suffix$program_transform_name" = \
2965 program_prefix
=${target_alias}-
2970 target_alias
=${target_alias-$host_alias}
2973 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
2974 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
2975 # 1.9.6: minimum required version
2976 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
2977 # of other PACKAGE_* variables will, however, and there's nothing
2978 # we can do about that; they come from AC_INIT).
2979 # foreign: we don't follow the normal rules for GNU packages (no COPYING
2980 # file in the top srcdir, etc, etc), so stop complaining.
2981 # no-dist: we don't want 'dist' and related rules.
2982 # -Wall: turns on all automake warnings...
2983 # -Wno-portability: ...except this one, since GNU make is required.
2984 am__api_version
='1.15'
2986 # Find a good install program. We prefer a C program (faster),
2987 # so one script is as good as another. But avoid the broken or
2988 # incompatible versions:
2989 # SysV /etc/install, /usr/sbin/install
2990 # SunOS /usr/etc/install
2991 # IRIX /sbin/install
2993 # AmigaOS /C/install, which installs bootblocks on floppy discs
2994 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2995 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2996 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2997 # OS/2's system install, which has a completely different semantic
2998 # ./install, which can be erroneously created by make from ./install.sh.
2999 # Reject install programs that cannot install multiple files.
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3001 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3002 if test -z "$INSTALL"; then
3003 if ${ac_cv_path_install+:} false
; then :
3004 $as_echo_n "(cached) " >&6
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir
=.
3011 # Account for people who put trailing slashes in PATH elements.
3012 case $as_dir/ in #((
3013 .
/ | .
// |
/[cC
]/* | \
3014 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
3015 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
3018 # OSF1 and SCO ODT 3.0 have their own names for install.
3019 # Don't use installbsd from OSF since it installs stuff as root
3021 for ac_prog
in ginstall scoinst
install; do
3022 for ac_exec_ext
in '' $ac_executable_extensions; do
3023 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
3024 if test $ac_prog = install &&
3025 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3026 # AIX install. It has an incompatible calling convention.
3028 elif test $ac_prog = install &&
3029 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
3030 # program-specific install script used by HP pwplus--don't use.
3033 rm -rf conftest.one conftest.two conftest.dir
3034 echo one
> conftest.one
3035 echo two
> conftest.two
3037 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
3038 test -s conftest.one
&& test -s conftest.two
&&
3039 test -s conftest.dir
/conftest.one
&&
3040 test -s conftest.dir
/conftest.two
3042 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3055 rm -rf conftest.one conftest.two conftest.dir
3058 if test "${ac_cv_path_install+set}" = set; then
3059 INSTALL
=$ac_cv_path_install
3061 # As a last resort, use the slow shell script. Don't cache a
3062 # value for INSTALL within a source directory, because that will
3063 # break other packages using the cache if that directory is
3064 # removed, or if the value is a relative name.
3065 INSTALL
=$ac_install_sh
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3069 $as_echo "$INSTALL" >&6; }
3071 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3072 # It thinks the first close brace ends the variable substitution.
3073 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3075 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3077 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3080 $as_echo_n "checking whether build environment is sane... " >&6; }
3081 # Reject unsafe characters in $srcdir or the absolute working directory
3082 # name. Accept space and tab only in the latter.
3086 *[\\\"\
#\$\&\'\`$am_lf]*)
3087 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
3090 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
3091 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3094 # Do 'set' in a subshell so we don't clobber the current shell's
3095 # arguments. Must try -L first in case configure is actually a
3096 # symlink; some systems play weird games with the mod time of symlinks
3097 # (eg FreeBSD returns the mod time of the symlink's containing
3101 for am_try
in 1 2; do
3102 echo "timestamp, slept: $am_has_slept" > conftest.
file
3103 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3104 if test "$*" = "X"; then
3106 set X
`ls -t "$srcdir/configure" conftest.file`
3108 if test "$*" != "X $srcdir/configure conftest.file" \
3109 && test "$*" != "X conftest.file $srcdir/configure"; then
3111 # If neither matched, then we have a broken ls. This can happen
3112 # if, for instance, CONFIG_SHELL is bash and it inherits a
3113 # broken ls alias from the environment. This has actually
3114 # happened. Such a system could not be considered "sane".
3115 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
3116 alias in your environment" "$LINENO" 5
3118 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
3125 test "$2" = conftest.
file
3131 as_fn_error $?
"newly created file is older than distributed files!
3132 Check your system clock" "$LINENO" 5
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3135 $as_echo "yes" >&6; }
3136 # If we didn't sleep, we still need to ensure time stamps of config.status and
3137 # generated files are strictly newer.
3139 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
3146 test "$program_prefix" != NONE
&&
3147 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
3148 # Use a double $ so make ignores it.
3149 test "$program_suffix" != NONE
&&
3150 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
3151 # Double any \ or $.
3152 # By default was `s,x,x', remove it if useless.
3153 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
3154 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
3156 # Expand $ac_aux_dir to an absolute path.
3157 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
3159 if test x
"${MISSING+set}" != xset
; then
3162 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
3164 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
3167 # Use eval to expand $SHELL
3168 if eval "$MISSING --is-lightweight"; then
3169 am_missing_run
="$MISSING "
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3173 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3176 if test x
"${install_sh+set}" != xset
; then
3179 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
3181 install_sh
="\${SHELL} $am_aux_dir/install-sh"
3185 # Installed binaries are usually stripped using 'strip' when the user
3186 # run "make install-strip". However 'strip' might not be the right
3187 # tool to use in cross-compilation environments, therefore Automake
3188 # will honor the 'STRIP' environment variable to overrule this program.
3189 if test "$cross_compiling" != no
; then
3190 if test -n "$ac_tool_prefix"; then
3191 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3192 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3194 $as_echo_n "checking for $ac_word... " >&6; }
3195 if ${ac_cv_prog_STRIP+:} false
; then :
3196 $as_echo_n "(cached) " >&6
3198 if test -n "$STRIP"; then
3199 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3205 test -z "$as_dir" && as_dir
=.
3206 for ac_exec_ext
in '' $ac_executable_extensions; do
3207 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3208 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
3209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3218 STRIP
=$ac_cv_prog_STRIP
3219 if test -n "$STRIP"; then
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3221 $as_echo "$STRIP" >&6; }
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3224 $as_echo "no" >&6; }
3229 if test -z "$ac_cv_prog_STRIP"; then
3231 # Extract the first word of "strip", so it can be a program name with args.
3232 set dummy strip
; ac_word
=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$ac_ct_STRIP"; then
3239 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_exec_ext
in '' $ac_executable_extensions; do
3247 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_ac_ct_STRIP
="strip"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3258 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
3259 if test -n "$ac_ct_STRIP"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3261 $as_echo "$ac_ct_STRIP" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3267 if test "x$ac_ct_STRIP" = x
; then
3270 case $cross_compiling:$ac_tool_warned in
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3273 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3274 ac_tool_warned
=yes ;;
3279 STRIP
="$ac_cv_prog_STRIP"
3283 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3286 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3287 if test -z "$MKDIR_P"; then
3288 if ${ac_cv_path_mkdir+:} false
; then :
3289 $as_echo_n "(cached) " >&6
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3292 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_prog
in mkdir gmkdir
; do
3297 for ac_exec_ext
in '' $ac_executable_extensions; do
3298 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
3299 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3300 'mkdir (GNU coreutils) '* | \
3301 'mkdir (coreutils) '* | \
3302 'mkdir (fileutils) '4.1*)
3303 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
3313 test -d .
/--version && rmdir .
/--version
3314 if test "${ac_cv_path_mkdir+set}" = set; then
3315 MKDIR_P
="$ac_cv_path_mkdir -p"
3317 # As a last resort, use the slow shell script. Don't cache a
3318 # value for MKDIR_P within a source directory, because that will
3319 # break other packages using the cache if that directory is
3320 # removed, or if the value is a relative name.
3321 MKDIR_P
="$ac_install_sh -d"
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3325 $as_echo "$MKDIR_P" >&6; }
3327 for ac_prog
in gawk mawk nawk
awk
3329 # Extract the first word of "$ac_prog", so it can be a program name with args.
3330 set dummy
$ac_prog; ac_word
=$2
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3332 $as_echo_n "checking for $ac_word... " >&6; }
3333 if ${ac_cv_prog_AWK+:} false
; then :
3334 $as_echo_n "(cached) " >&6
3336 if test -n "$AWK"; then
3337 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3343 test -z "$as_dir" && as_dir
=.
3344 for ac_exec_ext
in '' $ac_executable_extensions; do
3345 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3346 ac_cv_prog_AWK
="$ac_prog"
3347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357 if test -n "$AWK"; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3359 $as_echo "$AWK" >&6; }
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3362 $as_echo "no" >&6; }
3366 test -n "$AWK" && break
3369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3370 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3372 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3373 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
3374 $as_echo_n "(cached) " >&6
3376 cat >conftest.
make <<\_ACEOF
3379 @
echo '@@@%%%=$(MAKE)=@@@%%%'
3381 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3382 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3384 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
3386 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
3390 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392 $as_echo "yes" >&6; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3396 $as_echo "no" >&6; }
3397 SET_MAKE
="MAKE=${MAKE-make}"
3400 rm -rf .tst
2>/dev
/null
3401 mkdir .tst
2>/dev
/null
3402 if test -d .tst
; then
3407 rmdir .tst
2>/dev
/null
3409 # Check whether --enable-silent-rules was given.
3410 if test "${enable_silent_rules+set}" = set; then :
3411 enableval
=$enable_silent_rules;
3414 case $enable_silent_rules in # (((
3415 yes) AM_DEFAULT_VERBOSITY
=0;;
3416 no
) AM_DEFAULT_VERBOSITY
=1;;
3417 *) AM_DEFAULT_VERBOSITY
=1;;
3419 am_make
=${MAKE-make}
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3421 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3422 if ${am_cv_make_support_nested_variables+:} false
; then :
3423 $as_echo_n "(cached) " >&6
3425 if $as_echo 'TRUE=$(BAR$(V))
3431 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
3432 am_cv_make_support_nested_variables
=yes
3434 am_cv_make_support_nested_variables
=no
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3438 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3439 if test $am_cv_make_support_nested_variables = yes; then
3441 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
3443 AM_V
=$AM_DEFAULT_VERBOSITY
3444 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
3448 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3449 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3450 # is not polluted with repeated "-I."
3451 am__isrc
=' -I$(srcdir)'
3452 # test to see if srcdir already configured
3453 if test -f $srcdir/config.status
; then
3454 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3458 # test whether we have cygpath
3459 if test -z "$CYGPATH_W"; then
3460 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
3461 CYGPATH_W
='cygpath -w'
3468 # Define the identity of the package.
3469 PACKAGE
='libgfortran'
3473 # Some tools Automake needs.
3475 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3478 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
3481 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3484 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
3487 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
3489 # For better backward compatibility. To be removed once Automake 1.9.x
3490 # dies out for good. For more background, see:
3491 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3492 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3493 mkdir_p
='$(MKDIR_P)'
3495 # We need awk for the "check" target (and possibly the TAP driver). The
3496 # system "awk" is bad on some platforms.
3497 # Always define AMTAR for backward compatibility. Yes, it's still used
3498 # in the wild :-( We should find a proper way to deprecate it ...
3502 # We'll loop over all known methods to create a tar archive until one works.
3503 _am_tools
='gnutar pax cpio none'
3505 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3512 # POSIX will say in a future version that running "rm -f" with no argument
3513 # is OK; and we want to be able to make that assumption in our Makefile
3514 # recipes. So use an aggressive probe to check that the usage we want is
3515 # actually supported "in the wild" to an acceptable degree.
3516 # See automake bug#10828.
3517 # To make any issue more visible, cause the running configure to be aborted
3518 # by default if the 'rm' program in use doesn't match our expectations; the
3519 # user can still override this though.
3520 if rm -f && rm -fr && rm -rf; then : OK
; else
3524 Your 'rm' program seems unable to run without file operands specified
3525 on the command line, even when the '-f' option is present. This is contrary
3526 to the behaviour of most rm programs out there, and not conforming with
3527 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3529 Please tell bug-automake@gnu.org about your system, including the value
3530 of your $PATH and any error possibly output before this message. This
3531 can help us improve future automake versions.
3534 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3535 echo 'Configuration will proceed anyway, since you have set the' >&2
3536 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3540 Aborting the configuration process, to ensure you take notice of the issue.
3542 You can download and install GNU coreutils to get an 'rm' implementation
3543 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3545 If you want to complete the configuration process using your problematic
3546 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3547 to "yes", and re-run configure.
3550 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3557 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3558 # Check whether --enable-maintainer-mode was given.
3559 if test "${enable_maintainer_mode+set}" = set; then :
3560 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3562 USE_MAINTAINER_MODE
=no
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3566 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3567 if test $USE_MAINTAINER_MODE = yes; then
3568 MAINTAINER_MODE_TRUE
=
3569 MAINTAINER_MODE_FALSE
='#'
3571 MAINTAINER_MODE_TRUE
='#'
3572 MAINTAINER_MODE_FALSE
=
3575 MAINT
=$MAINTAINER_MODE_TRUE
3578 # Default to --enable-multilib
3579 # Check whether --enable-multilib was given.
3580 if test "${enable_multilib+set}" = set; then :
3581 enableval
=$enable_multilib; case "$enableval" in
3582 yes) multilib
=yes ;;
3584 *) as_fn_error $?
"bad value $enableval for multilib option" "$LINENO" 5 ;;
3591 # We may get other options which we leave undocumented:
3592 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3593 # See config-ml.in if you want the gory details.
3595 if test "$srcdir" = "."; then
3596 if test "$with_target_subdir" != "."; then
3597 multi_basedir
="$srcdir/$with_multisrctop../.."
3599 multi_basedir
="$srcdir/$with_multisrctop.."
3602 multi_basedir
="$srcdir/.."
3606 # Even if the default multilib is not a cross compilation,
3607 # it may be that some of the other multilibs are.
3608 if test $cross_compiling = no
&& test $multilib = yes \
3609 && test "x${with_multisubdir}" != x
; then
3610 cross_compiling
=maybe
3613 ac_config_commands
="$ac_config_commands default-1"
3616 # Handy for debugging:
3617 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3619 # Are we being configured with some form of cross compiler?
3620 # NB: We don't actually need to know this just now, but when, say, a test
3621 # suite is included, we'll have to know.
3622 if test "$build" != "$host"; then
3623 LIBGFOR_IS_NATIVE
=false
3626 LIBGFOR_IS_NATIVE
=true
3629 DEPDIR
="${am__leading_dot}deps"
3631 ac_config_commands
="$ac_config_commands depfiles"
3634 am_make
=${MAKE-make}
3635 cat > confinc
<< 'END'
3637 @
echo this is the am__doit target
3640 # If we don't find an include directive, just comment out the code.
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3642 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3646 # First try GNU make style include.
3647 echo "include confinc" > confmf
3648 # Ignore all kinds of additional output from 'make'.
3649 case `$am_make -s -f confmf 2> /dev/null` in #(
3650 *the\ am__doit\ target
*)
3656 # Now try BSD make style include.
3657 if test "$am__include" = "#"; then
3658 echo '.include "confinc"' > confmf
3659 case `$am_make -s -f confmf 2> /dev/null` in #(
3660 *the\ am__doit\ target
*)
3661 am__include
=.include
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3670 $as_echo "$_am_result" >&6; }
3671 rm -f confinc confmf
3673 # Check whether --enable-dependency-tracking was given.
3674 if test "${enable_dependency_tracking+set}" = set; then :
3675 enableval
=$enable_dependency_tracking;
3678 if test "x$enable_dependency_tracking" != xno
; then
3679 am_depcomp
="$ac_aux_dir/depcomp"
3683 if test "x$enable_dependency_tracking" != xno; then
3693 ac_cpp
='$CPP $CPPFLAGS'
3694 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3697 if test -n "$ac_tool_prefix"; then
3698 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3699 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CC+:} false
; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CC"; then
3706 ac_cv_prog_CC
="$CC" # Let the user override the test.
3708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir
=.
3713 for ac_exec_ext
in '' $ac_executable_extensions; do
3714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3715 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CC"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3728 $as_echo "$CC" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3736 if test -z "$ac_cv_prog_CC"; then
3738 # Extract the first word of "gcc", so it can be a program name with args.
3739 set dummy gcc
; ac_word
=$2
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3741 $as_echo_n "checking for $ac_word... " >&6; }
3742 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3743 $as_echo_n "(cached) " >&6
3745 if test -n "$ac_ct_CC"; then
3746 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3748 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3752 test -z "$as_dir" && as_dir
=.
3753 for ac_exec_ext
in '' $ac_executable_extensions; do
3754 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3755 ac_cv_prog_ac_ct_CC
="gcc"
3756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3765 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3766 if test -n "$ac_ct_CC"; then
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3768 $as_echo "$ac_ct_CC" >&6; }
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3771 $as_echo "no" >&6; }
3774 if test "x$ac_ct_CC" = x
; then
3777 case $cross_compiling:$ac_tool_warned in
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3780 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3781 ac_tool_warned
=yes ;;
3789 if test -z "$CC"; then
3790 if test -n "$ac_tool_prefix"; then
3791 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3792 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3794 $as_echo_n "checking for $ac_word... " >&6; }
3795 if ${ac_cv_prog_CC+:} false
; then :
3796 $as_echo_n "(cached) " >&6
3798 if test -n "$CC"; then
3799 ac_cv_prog_CC
="$CC" # Let the user override the test.
3801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir
=.
3806 for ac_exec_ext
in '' $ac_executable_extensions; do
3807 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 if test -n "$CC"; then
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3821 $as_echo "$CC" >&6; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3824 $as_echo "no" >&6; }
3830 if test -z "$CC"; then
3831 # Extract the first word of "cc", so it can be a program name with args.
3832 set dummy cc
; ac_word
=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_prog_CC+:} false
; then :
3836 $as_echo_n "(cached) " >&6
3838 if test -n "$CC"; then
3839 ac_cv_prog_CC
="$CC" # Let the user override the test.
3842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir
=.
3847 for ac_exec_ext
in '' $ac_executable_extensions; do
3848 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3849 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3850 ac_prog_rejected
=yes
3854 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 if test $ac_prog_rejected = yes; then
3862 # We found a bogon in the path, so make sure we never use it.
3863 set dummy
$ac_cv_prog_CC
3865 if test $# != 0; then
3866 # We chose a different compiler from the bogus one.
3867 # However, it has the same basename, so the bogon will be chosen
3868 # first if we set CC to just the basename; use the full file name.
3870 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3876 if test -n "$CC"; then
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3878 $as_echo "$CC" >&6; }
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3881 $as_echo "no" >&6; }
3886 if test -z "$CC"; then
3887 if test -n "$ac_tool_prefix"; then
3888 for ac_prog
in cl.exe
3890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3891 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3893 $as_echo_n "checking for $ac_word... " >&6; }
3894 if ${ac_cv_prog_CC+:} false
; then :
3895 $as_echo_n "(cached) " >&6
3897 if test -n "$CC"; then
3898 ac_cv_prog_CC
="$CC" # Let the user override the test.
3900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 test -z "$as_dir" && as_dir
=.
3905 for ac_exec_ext
in '' $ac_executable_extensions; do
3906 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3907 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3918 if test -n "$CC"; then
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3920 $as_echo "$CC" >&6; }
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3923 $as_echo "no" >&6; }
3927 test -n "$CC" && break
3930 if test -z "$CC"; then
3932 for ac_prog
in cl.exe
3934 # Extract the first word of "$ac_prog", so it can be a program name with args.
3935 set dummy
$ac_prog; ac_word
=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$ac_ct_CC"; then
3942 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3951 ac_cv_prog_ac_ct_CC
="$ac_prog"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3962 if test -n "$ac_ct_CC"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3964 $as_echo "$ac_ct_CC" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3971 test -n "$ac_ct_CC" && break
3974 if test "x$ac_ct_CC" = x
; then
3977 case $cross_compiling:$ac_tool_warned in
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3981 ac_tool_warned
=yes ;;
3990 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3992 as_fn_error $?
"no acceptable C compiler found in \$PATH
3993 See \`config.log' for more details" "$LINENO" 5; }
3995 # Provide some information about the compiler.
3996 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3999 for ac_option
in --version -v -V -qversion; do
4000 { { ac_try
="$ac_compiler $ac_option >&5"
4002 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4003 *) ac_try_echo=$ac_try;;
4005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4006 $as_echo "$ac_try_echo"; } >&5
4007 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4009 if test -s conftest.err; then
4011 ... rest of stderr output deleted ...
4012 10q' conftest.err >conftest.er1
4013 cat conftest.er1 >&5
4015 rm -f conftest.er1 conftest.err
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4026 printf ("hello world\n");
4032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4033 (eval $ac_link) 2>&5
4035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4036 test $ac_status = 0; }; then :
4041 if test x$gcc_no_link = xyes; then
4042 # Setting cross_compile will disable run tests; it will
4043 # also disable AC_CHECK_FILE but that's generally
4044 # correct if we can't link.
4048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4049 /* end confdefs.h. */
4059 ac_clean_files_save=$ac_clean_files
4060 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4061 # Try to create an executable without -o first, disregard a.out.
4062 # It will help us diagnose broken compilers, and finding out an intuition
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4065 $as_echo_n "checking whether the C compiler works... " >&6; }
4066 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
4068 # The possible output files:
4069 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4072 for ac_file in $ac_files
4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4081 if { { ac_try="$ac_link_default"
4083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4084 *) ac_try_echo
=$ac_try;;
4086 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_link_default") 2>&5
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; then :
4092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4093 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4095 # so that the user can short-circuit this test for compilers unknown to
4097 for ac_file
in $ac_files ''
4099 test -f "$ac_file" ||
continue
4101 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
4104 # We found the default executable, but exeext='' is most
4108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
4110 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4112 # We set ac_cv_exeext here because the later test for it is not
4113 # safe: cross compilers may not add the suffix if given an `-o'
4114 # argument, so we may need to know it at that point already.
4115 # Even if this section looks crufty: it has the advantage of
4122 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
4127 if test -z "$ac_file"; then :
4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4129 $as_echo "no" >&6; }
4130 $as_echo "$as_me: failed program was:" >&5
4131 sed 's/^/| /' conftest.
$ac_ext >&5
4133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4135 as_fn_error
77 "C compiler cannot create executables
4136 See \`config.log' for more details" "$LINENO" 5; }
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4139 $as_echo "yes" >&6; }
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4142 $as_echo_n "checking for C compiler default output file name... " >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4144 $as_echo "$ac_file" >&6; }
4145 ac_exeext
=$ac_cv_exeext
4147 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
4148 ac_clean_files
=$ac_clean_files_save
4149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4150 $as_echo_n "checking for suffix of executables... " >&6; }
4151 if { { ac_try
="$ac_link"
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4157 $as_echo "$ac_try_echo"; } >&5
4158 (eval "$ac_link") 2>&5
4160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4161 test $ac_status = 0; }; then :
4162 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
4163 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
4164 # work properly (i.e., refer to `conftest.exe'), while it won't with
4166 for ac_file
in conftest.exe conftest conftest.
*; do
4167 test -f "$ac_file" ||
continue
4169 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
4170 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
4176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4178 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
4179 See \`config.log' for more details" "$LINENO" 5; }
4181 rm -f conftest conftest
$ac_cv_exeext
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4183 $as_echo "$ac_cv_exeext" >&6; }
4185 rm -f conftest.
$ac_ext
4186 EXEEXT
=$ac_cv_exeext
4188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4189 /* end confdefs.h. */
4194 FILE *f = fopen ("conftest.out", "w");
4195 return ferror (f) || fclose (f) != 0;
4201 ac_clean_files
="$ac_clean_files conftest.out"
4202 # Check that the compiler produces executables we can run. If not, either
4203 # the compiler is broken, or we cross compile.
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4205 $as_echo_n "checking whether we are cross compiling... " >&6; }
4206 if test "$cross_compiling" != yes; then
4207 { { ac_try
="$ac_link"
4209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4210 *) ac_try_echo=$ac_try;;
4212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4213 $as_echo "$ac_try_echo"; } >&5
4214 (eval "$ac_link") 2>&5
4216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4217 test $ac_status = 0; }
4218 if { ac_try='./conftest$ac_cv_exeext'
4219 { { case "(($ac_try" in
4220 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4221 *) ac_try_echo
=$ac_try;;
4223 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
4225 (eval "$ac_try") 2>&5
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; }; }; then
4231 if test "$cross_compiling" = maybe
; then
4234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4236 as_fn_error $?
"cannot run C compiled programs.
4237 If you meant to cross compile, use \`--host'.
4238 See \`config.log' for more details" "$LINENO" 5; }
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4243 $as_echo "$cross_compiling" >&6; }
4245 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
4246 ac_clean_files
=$ac_clean_files_save
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4249 $as_echo_n "checking for suffix of object files... " >&6; }
4250 if ${ac_cv_objext+:} false
; then :
4251 $as_echo_n "(cached) " >&6
4253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4254 /* end confdefs.h. */
4264 rm -f conftest.o conftest.obj
4265 if { { ac_try
="$ac_compile"
4267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
4272 (eval "$ac_compile") 2>&5
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; }; then :
4276 for ac_file in conftest.o conftest.obj conftest.*; do
4277 test -f "$ac_file" || continue;
4279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4285 $as_echo "$as_me: failed program was:" >&5
4286 sed 's/^/| /' conftest.$ac_ext >&5
4288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4289 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4290 as_fn_error $? "cannot compute suffix of object files
: cannot compile
4291 See \
`config.log' for more details" "$LINENO" 5; }
4293 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4296 $as_echo "$ac_cv_objext" >&6; }
4297 OBJEXT=$ac_cv_objext
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4300 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4301 if ${ac_cv_c_compiler_gnu+:} false; then :
4302 $as_echo_n "(cached) " >&6
4304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4305 /* end confdefs.h. */
4318 if ac_fn_c_try_compile "$LINENO"; then :
4323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4324 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4328 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4329 if test $ac_compiler_gnu = yes; then
4334 ac_test_CFLAGS=${CFLAGS+set}
4335 ac_save_CFLAGS=$CFLAGS
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4337 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4338 if ${ac_cv_prog_cc_g+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 ac_save_c_werror_flag=$ac_c_werror_flag
4342 ac_c_werror_flag=yes
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4356 if ac_fn_c_try_compile "$LINENO"; then :
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4371 if ac_fn_c_try_compile "$LINENO"; then :
4374 ac_c_werror_flag=$ac_save_c_werror_flag
4376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4377 /* end confdefs.h. */
4387 if ac_fn_c_try_compile "$LINENO"; then :
4390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4395 ac_c_werror_flag=$ac_save_c_werror_flag
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4398 $as_echo "$ac_cv_prog_cc_g" >&6; }
4399 if test "$ac_test_CFLAGS" = set; then
4400 CFLAGS=$ac_save_CFLAGS
4401 elif test $ac_cv_prog_cc_g = yes; then
4402 if test "$GCC" = yes; then
4408 if test "$GCC" = yes; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4415 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4416 if ${ac_cv_prog_cc_c89+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 ac_cv_prog_cc_c89=no
4421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4422 /* end confdefs.h. */
4426 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4427 struct buf { int x; };
4428 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4429 static char *e (p, i)
4435 static char *f (char * (*g) (char **, int), char **p, ...)
4440 s = g (p, va_arg (v,int));
4445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4446 function prototypes and stuff, but not '\xHH' hex character constants.
4447 These don't provoke an error unfortunately, instead are silently treated
4448 as 'x'. The following induces an error, until -std is added to get
4449 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4450 array size at least. It's necessary to write '\x00'==0 to get something
4451 that's true only with -std. */
4452 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4455 inside strings and character constants. */
4457 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4459 int test (int i, double x);
4460 struct s1 {int (*f) (int a);};
4461 struct s2 {int (*f) (double a);};
4462 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4468 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4473 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4474 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4476 CC="$ac_save_CC $ac_arg"
4477 if ac_fn_c_try_compile "$LINENO"; then :
4478 ac_cv_prog_cc_c89=$ac_arg
4480 rm -f core conftest.err conftest.$ac_objext
4481 test "x$ac_cv_prog_cc_c89" != "xno" && break
4483 rm -f conftest.$ac_ext
4488 case "x$ac_cv_prog_cc_c89" in
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4491 $as_echo "none needed" >&6; } ;;
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4494 $as_echo "unsupported" >&6; } ;;
4496 CC="$CC $ac_cv_prog_cc_c89"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4498 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4500 if test "x$ac_cv_prog_cc_c89" != xno; then :
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4511 ac_cpp='$CPP $CPPFLAGS'
4512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4516 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4517 if ${am_cv_prog_cc_c_o+:} false; then :
4518 $as_echo_n "(cached) " >&6
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4531 # Make sure it works both with $CC and with simple cc.
4532 # Following AC_PROG_CC_C_O, we do the test twice because some
4533 # compilers refuse to overwrite an existing .o file with -o,
4534 # though they will create one.
4535 am_cv_prog_cc_c_o=yes
4537 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4538 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); } \
4542 && test -f conftest2.$ac_objext; then
4545 am_cv_prog_cc_c_o=no
4549 rm -f core conftest*
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4553 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4554 if test "$am_cv_prog_cc_c_o" != yes; then
4555 # Losing compiler, so override with the script.
4556 # FIXME: It is wrong to rewrite CC.
4557 # But if we don't then we get into trouble of one sort or another.
4558 # A longer-term fix would be to have automake use am__CC in this case,
4559 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4560 CC="$am_aux_dir/compile $CC"
4563 ac_cpp='$CPP $CPPFLAGS'
4564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4569 depcc="$CC" am_compiler_list=
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4572 $as_echo_n "checking dependency style of $depcc... " >&6; }
4573 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4574 $as_echo_n "(cached) " >&6
4576 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4577 # We make a subdir and do the tests there. Otherwise we can end up
4578 # making bogus files that we don't know about and never remove. For
4579 # instance it was reported that on HP-UX the gcc test will end up
4580 # making a dummy file named 'D' -- because '-MD' means "put the output
4584 # Copy depcomp to subdir because otherwise we won't find it if we're
4585 # using a relative directory.
4586 cp "$am_depcomp" conftest.dir
4588 # We will build objects and dependencies in a subdirectory because
4589 # it helps to detect inapplicable dependency modes. For instance
4590 # both Tru64's cc and ICC support -MD to output dependencies as a
4591 # side effect of compilation, but ICC will put the dependencies in
4592 # the current directory while Tru64 will put them in the object
4596 am_cv_CC_dependencies_compiler_type=none
4597 if test "$am_compiler_list" = ""; then
4598 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
4601 case " $depcc " in #(
4602 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4605 for depmode in $am_compiler_list; do
4606 # Setup a source with many dependencies, because some compilers
4607 # like to wrap large dependency lists on column 80 (with \), and
4608 # we should not choose a depcomp mode which is confused by this.
4610 # We need to recreate these files for each test, as the compiler may
4611 # overwrite some of them when testing with obscure command lines.
4612 # This happens at least with the AIX C compiler.
4614 for i in 1 2 3 4 5 6; do
4615 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4616 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4617 # Solaris 10 /bin/sh.
4618 echo '/* dummy */' > sub/conftst$i.h
4620 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4622 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4623 # mode. It turns out that the SunPro C++ compiler does not properly
4624 # handle '-M -o', and we need to detect this. Also, some Intel
4625 # versions had trouble with output in subdirs.
4626 am__obj=sub/conftest.${OBJEXT-o}
4627 am__minus_obj="-o $am__obj"
4630 # This depmode causes a compiler race in universal mode.
4631 test "$am__universal" = false || continue
4634 # After this tag, mechanisms are not by side-effect, so they'll
4635 # only be used when explicitly requested.
4636 if test "x$enable_dependency_tracking" = xyes; then
4642 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4643 # This compiler won't grok '-c -o', but also, the minuso test has
4644 # not run yet. These depmodes are late enough in the game, and
4645 # so weak that their functioning should not be impacted.
4646 am__obj=conftest.${OBJEXT-o}
4651 if depmode=$depmode \
4652 source=sub/conftest.c object=$am__obj \
4653 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4654 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4655 >/dev/null 2>conftest.err &&
4656 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4657 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4658 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4659 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4660 # icc doesn't choke on unknown options, it will just issue warnings
4661 # or remarks (even with -Werror). So we grep stderr for any message
4662 # that says an option was ignored or not supported.
4663 # When given -MP, icc 7.0 and 7.1 complain thusly:
4664 # icc: Command line warning: ignoring option '-M'; no argument required
4665 # The diagnosis changed in icc 8.0:
4666 # icc: Command line remark: option '-MP' not supported
4667 if (grep 'ignoring option' conftest.err ||
4668 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4669 am_cv_CC_dependencies_compiler_type=$depmode
4678 am_cv_CC_dependencies_compiler_type=none
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4683 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4684 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4687 test "x$enable_dependency_tracking" != xno \
4688 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4690 am__fastdepCC_FALSE='#'
4692 am__fastdepCC_TRUE='#'
4693 am__fastdepCC_FALSE=
4699 ac_cpp='$CPP $CPPFLAGS'
4700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4705 # On Suns, sometimes $CPP names a directory.
4706 if test -n "$CPP" && test -d "$CPP"; then
4709 if test -z "$CPP"; then
4710 if ${ac_cv_prog_CPP+:} false; then :
4711 $as_echo_n "(cached) " >&6
4713 # Double quotes because CPP needs to be expanded
4714 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4717 for ac_c_preproc_warn_flag in '' yes
4719 # Use a header file that comes with gcc, so configuring glibc
4720 # with a fresh cross-compiler works.
4721 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4722 # <limits.h> exists even on freestanding compilers.
4723 # On the NeXT, cc -E runs the code through the compiler's parser,
4724 # not just through cpp. "Syntax error" is here to catch this case.
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4728 # include <limits.h>
4730 # include <assert.h>
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4737 # Broken: fails on valid input.
4740 rm -f conftest.err conftest.i conftest.$ac_ext
4742 # OK, works on sane cases. Now check whether nonexistent headers
4743 # can be detected and how.
4744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4745 /* end confdefs.h. */
4746 #include <ac_nonexistent.h>
4748 if ac_fn_c_try_cpp "$LINENO"; then :
4749 # Broken: success on invalid input.
4752 # Passes both tests.
4756 rm -f conftest.err conftest.i conftest.$ac_ext
4759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4760 rm -f conftest.i conftest.err conftest.
$ac_ext
4761 if $ac_preproc_ok; then :
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4774 $as_echo "$CPP" >&6; }
4776 for ac_c_preproc_warn_flag
in '' yes
4778 # Use a header file that comes with gcc, so configuring glibc
4779 # with a fresh cross-compiler works.
4780 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4781 # <limits.h> exists even on freestanding compilers.
4782 # On the NeXT, cc -E runs the code through the compiler's parser,
4783 # not just through cpp. "Syntax error" is here to catch this case.
4784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4785 /* end confdefs.h. */
4787 # include <limits.h>
4789 # include <assert.h>
4793 if ac_fn_c_try_cpp
"$LINENO"; then :
4796 # Broken: fails on valid input.
4799 rm -f conftest.err conftest.i conftest.
$ac_ext
4801 # OK, works on sane cases. Now check whether nonexistent headers
4802 # can be detected and how.
4803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4804 /* end confdefs.h. */
4805 #include <ac_nonexistent.h>
4807 if ac_fn_c_try_cpp
"$LINENO"; then :
4808 # Broken: success on invalid input.
4811 # Passes both tests.
4815 rm -f conftest.err conftest.i conftest.
$ac_ext
4818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4819 rm -f conftest.i conftest.err conftest.
$ac_ext
4820 if $ac_preproc_ok; then :
4823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4824 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4825 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
4826 See \`config.log' for more details" "$LINENO" 5; }
4830 ac_cpp
='$CPP $CPPFLAGS'
4831 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4832 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4833 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4837 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4838 if ${ac_cv_path_GREP+:} false
; then :
4839 $as_echo_n "(cached) " >&6
4841 if test -z "$GREP"; then
4842 ac_path_GREP_found
=false
4843 # Loop through the user's path and test for each of PROGNAME-LIST
4844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4848 test -z "$as_dir" && as_dir
=.
4849 for ac_prog
in grep ggrep
; do
4850 for ac_exec_ext
in '' $ac_executable_extensions; do
4851 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4852 as_fn_executable_p
"$ac_path_GREP" ||
continue
4853 # Check for GNU ac_path_GREP and select it if it is found.
4854 # Check for GNU $ac_path_GREP
4855 case `"$ac_path_GREP" --version 2>&1` in
4857 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4860 $as_echo_n 0123456789 >"conftest.in"
4863 cat "conftest.in" "conftest.in" >"conftest.tmp"
4864 mv "conftest.tmp" "conftest.in"
4865 cp "conftest.in" "conftest.nl"
4866 $as_echo 'GREP' >> "conftest.nl"
4867 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4868 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4869 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4870 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4871 # Best one so far, save it but keep looking for a better one
4872 ac_cv_path_GREP
="$ac_path_GREP"
4873 ac_path_GREP_max
=$ac_count
4875 # 10*(2^10) chars as input seems more than enough
4876 test $ac_count -gt 10 && break
4878 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4881 $ac_path_GREP_found && break 3
4886 if test -z "$ac_cv_path_GREP"; then
4887 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4890 ac_cv_path_GREP
=$GREP
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4895 $as_echo "$ac_cv_path_GREP" >&6; }
4896 GREP
="$ac_cv_path_GREP"
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4900 $as_echo_n "checking for egrep... " >&6; }
4901 if ${ac_cv_path_EGREP+:} false
; then :
4902 $as_echo_n "(cached) " >&6
4904 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4905 then ac_cv_path_EGREP
="$GREP -E"
4907 if test -z "$EGREP"; then
4908 ac_path_EGREP_found
=false
4909 # Loop through the user's path and test for each of PROGNAME-LIST
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4911 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_prog
in egrep; do
4916 for ac_exec_ext
in '' $ac_executable_extensions; do
4917 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4918 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4919 # Check for GNU ac_path_EGREP and select it if it is found.
4920 # Check for GNU $ac_path_EGREP
4921 case `"$ac_path_EGREP" --version 2>&1` in
4923 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4926 $as_echo_n 0123456789 >"conftest.in"
4929 cat "conftest.in" "conftest.in" >"conftest.tmp"
4930 mv "conftest.tmp" "conftest.in"
4931 cp "conftest.in" "conftest.nl"
4932 $as_echo 'EGREP' >> "conftest.nl"
4933 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4934 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4935 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4936 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4937 # Best one so far, save it but keep looking for a better one
4938 ac_cv_path_EGREP
="$ac_path_EGREP"
4939 ac_path_EGREP_max
=$ac_count
4941 # 10*(2^10) chars as input seems more than enough
4942 test $ac_count -gt 10 && break
4944 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4947 $ac_path_EGREP_found && break 3
4952 if test -z "$ac_cv_path_EGREP"; then
4953 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4956 ac_cv_path_EGREP
=$EGREP
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4962 $as_echo "$ac_cv_path_EGREP" >&6; }
4963 EGREP
="$ac_cv_path_EGREP"
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4967 $as_echo_n "checking for ANSI C header files... " >&6; }
4968 if ${ac_cv_header_stdc+:} false
; then :
4969 $as_echo_n "(cached) " >&6
4971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4972 /* end confdefs.h. */
4986 if ac_fn_c_try_compile
"$LINENO"; then :
4987 ac_cv_header_stdc
=yes
4989 ac_cv_header_stdc
=no
4991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4993 if test $ac_cv_header_stdc = yes; then
4994 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
5000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5001 $EGREP "memchr" >/dev
/null
2>&1; then :
5004 ac_cv_header_stdc
=no
5010 if test $ac_cv_header_stdc = yes; then
5011 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5013 /* end confdefs.h. */
5017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5018 $EGREP "free" >/dev
/null
2>&1; then :
5021 ac_cv_header_stdc
=no
5027 if test $ac_cv_header_stdc = yes; then
5028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5029 if test "$cross_compiling" = yes; then :
5032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5033 /* end confdefs.h. */
5036 #if ((' ' & 0x0FF) == 0x020)
5037 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5038 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5040 # define ISLOWER(c) \
5041 (('a' <= (c) && (c) <= 'i') \
5042 || ('j' <= (c) && (c) <= 'r') \
5043 || ('s' <= (c) && (c) <= 'z'))
5044 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5047 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5052 for (i = 0; i < 256; i++)
5053 if (XOR (islower (i), ISLOWER (i))
5054 || toupper (i) != TOUPPER (i))
5059 if ac_fn_c_try_run
"$LINENO"; then :
5062 ac_cv_header_stdc
=no
5064 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5065 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5071 $as_echo "$ac_cv_header_stdc" >&6; }
5072 if test $ac_cv_header_stdc = yes; then
5074 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5078 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5079 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5080 inttypes.h stdint.h unistd.h
5082 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5083 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5085 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5086 cat >>confdefs.h
<<_ACEOF
5087 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5096 ac_fn_c_check_header_mongrel
"$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5097 if test "x$ac_cv_header_minix_config_h" = xyes
; then :
5104 if test "$MINIX" = yes; then
5106 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
5109 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
5112 $as_echo "#define _MINIX 1" >>confdefs.h
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5118 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5119 if ${ac_cv_safe_to_define___extensions__+:} false
; then :
5120 $as_echo_n "(cached) " >&6
5122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5123 /* end confdefs.h. */
5125 # define __EXTENSIONS__ 1
5126 $ac_includes_default
5135 if ac_fn_c_try_compile
"$LINENO"; then :
5136 ac_cv_safe_to_define___extensions__
=yes
5138 ac_cv_safe_to_define___extensions__
=no
5140 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
5143 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
5144 test $ac_cv_safe_to_define___extensions__ = yes &&
5145 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
5147 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
5149 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
5151 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
5153 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
5158 # Check whether --with-toolexeclibdir was given.
5159 if test "${with_toolexeclibdir+set}" = set; then :
5160 withval
=$with_toolexeclibdir; case ${with_toolexeclibdir} in
5164 with_toolexeclibdir
=`echo $with_toolexeclibdir | sed 's,/$,,'`
5168 with_toolexeclibdir
=no
5173 # Calculate toolexeclibdir
5174 # Also toolexecdir, though it's only used in toolexeclibdir
5175 case ${version_specific_libs} in
5177 # Need the gcc compiler version to know where to install libraries
5178 # and header files if --enable-version-specific-runtime-libs option
5180 toolexecdir
='$(libdir)/gcc/$(target_alias)'
5181 toolexeclibdir
='$(toolexecdir)/$(gcc_version)$(MULTISUBDIR)'
5184 if test -n "$with_cross_host" &&
5185 test x
"$with_cross_host" != x
"no"; then
5186 # Install a library built with a cross compiler in tooldir, not libdir.
5187 toolexecdir
='$(exec_prefix)/$(target_alias)'
5188 case ${with_toolexeclibdir} in
5190 toolexeclibdir
='$(toolexecdir)/lib'
5193 toolexeclibdir
=${with_toolexeclibdir}
5197 toolexecdir
='$(libdir)/gcc-lib/$(target_alias)'
5198 toolexeclibdir
='$(libdir)'
5200 multi_os_directory
=`$CC -print-multi-os-directory`
5201 case $multi_os_directory in
5202 .
) ;; # Avoid trailing /.
5203 *) toolexeclibdir
=$toolexeclibdir/$multi_os_directory ;;
5210 # Create a spec file, so that compile/link tests don't fail
5211 test -f libgfortran.spec ||
touch libgfortran.spec
5214 ac_cpp
='$CPP $CPPFLAGS'
5215 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5216 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5217 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5219 # Check the compiler.
5220 # The same as in boehm-gc and libstdc++. Have to borrow it from there.
5221 # We must force CC to /not/ be precious variables; otherwise
5222 # the wrong, non-multilib-adjusted value will be used in multilibs.
5223 # As a side effect, we have to subst CFLAGS ourselves.
5228 ac_cpp
='$CPP $CPPFLAGS'
5229 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5230 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5231 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5232 if test -n "$ac_tool_prefix"; then
5233 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
5234 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5236 $as_echo_n "checking for $ac_word... " >&6; }
5237 if ${ac_cv_prog_CC+:} false
; then :
5238 $as_echo_n "(cached) " >&6
5240 if test -n "$CC"; then
5241 ac_cv_prog_CC
="$CC" # Let the user override the test.
5243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5247 test -z "$as_dir" && as_dir
=.
5248 for ac_exec_ext
in '' $ac_executable_extensions; do
5249 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5250 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
5251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 if test -n "$CC"; then
5262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5263 $as_echo "$CC" >&6; }
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5266 $as_echo "no" >&6; }
5271 if test -z "$ac_cv_prog_CC"; then
5273 # Extract the first word of "gcc", so it can be a program name with args.
5274 set dummy gcc
; ac_word
=$2
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5276 $as_echo_n "checking for $ac_word... " >&6; }
5277 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5278 $as_echo_n "(cached) " >&6
5280 if test -n "$ac_ct_CC"; then
5281 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5287 test -z "$as_dir" && as_dir
=.
5288 for ac_exec_ext
in '' $ac_executable_extensions; do
5289 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5290 ac_cv_prog_ac_ct_CC
="gcc"
5291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5301 if test -n "$ac_ct_CC"; then
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5303 $as_echo "$ac_ct_CC" >&6; }
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5306 $as_echo "no" >&6; }
5309 if test "x$ac_ct_CC" = x
; then
5312 case $cross_compiling:$ac_tool_warned in
5314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5315 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5316 ac_tool_warned
=yes ;;
5324 if test -z "$CC"; then
5325 if test -n "$ac_tool_prefix"; then
5326 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
5327 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5329 $as_echo_n "checking for $ac_word... " >&6; }
5330 if ${ac_cv_prog_CC+:} false
; then :
5331 $as_echo_n "(cached) " >&6
5333 if test -n "$CC"; then
5334 ac_cv_prog_CC
="$CC" # Let the user override the test.
5336 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5340 test -z "$as_dir" && as_dir
=.
5341 for ac_exec_ext
in '' $ac_executable_extensions; do
5342 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5343 ac_cv_prog_CC
="${ac_tool_prefix}cc"
5344 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5354 if test -n "$CC"; then
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5356 $as_echo "$CC" >&6; }
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5365 if test -z "$CC"; then
5366 # Extract the first word of "cc", so it can be a program name with args.
5367 set dummy cc
; ac_word
=$2
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5369 $as_echo_n "checking for $ac_word... " >&6; }
5370 if ${ac_cv_prog_CC+:} false
; then :
5371 $as_echo_n "(cached) " >&6
5373 if test -n "$CC"; then
5374 ac_cv_prog_CC
="$CC" # Let the user override the test.
5377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5381 test -z "$as_dir" && as_dir
=.
5382 for ac_exec_ext
in '' $ac_executable_extensions; do
5383 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5384 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
5385 ac_prog_rejected
=yes
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5396 if test $ac_prog_rejected = yes; then
5397 # We found a bogon in the path, so make sure we never use it.
5398 set dummy
$ac_cv_prog_CC
5400 if test $# != 0; then
5401 # We chose a different compiler from the bogus one.
5402 # However, it has the same basename, so the bogon will be chosen
5403 # first if we set CC to just the basename; use the full file name.
5405 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
5411 if test -n "$CC"; then
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5413 $as_echo "$CC" >&6; }
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5416 $as_echo "no" >&6; }
5421 if test -z "$CC"; then
5422 if test -n "$ac_tool_prefix"; then
5423 for ac_prog
in cl.exe
5425 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5426 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5428 $as_echo_n "checking for $ac_word... " >&6; }
5429 if ${ac_cv_prog_CC+:} false
; then :
5430 $as_echo_n "(cached) " >&6
5432 if test -n "$CC"; then
5433 ac_cv_prog_CC
="$CC" # Let the user override the test.
5435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 test -z "$as_dir" && as_dir
=.
5440 for ac_exec_ext
in '' $ac_executable_extensions; do
5441 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5442 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
5443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5453 if test -n "$CC"; then
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5455 $as_echo "$CC" >&6; }
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5458 $as_echo "no" >&6; }
5462 test -n "$CC" && break
5465 if test -z "$CC"; then
5467 for ac_prog
in cl.exe
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy
$ac_prog; ac_word
=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5476 if test -n "$ac_ct_CC"; then
5477 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
5479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5483 test -z "$as_dir" && as_dir
=.
5484 for ac_exec_ext
in '' $ac_executable_extensions; do
5485 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_ac_ct_CC
="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5496 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
5497 if test -n "$ac_ct_CC"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5499 $as_echo "$ac_ct_CC" >&6; }
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$ac_ct_CC" && break
5509 if test "x$ac_ct_CC" = x
; then
5512 case $cross_compiling:$ac_tool_warned in
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5515 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5516 ac_tool_warned
=yes ;;
5525 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5527 as_fn_error $?
"no acceptable C compiler found in \$PATH
5528 See \`config.log' for more details" "$LINENO" 5; }
5530 # Provide some information about the compiler.
5531 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5534 for ac_option
in --version -v -V -qversion; do
5535 { { ac_try
="$ac_compiler $ac_option >&5"
5537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5541 $as_echo "$ac_try_echo"; } >&5
5542 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5544 if test -s conftest.err; then
5546 ... rest of stderr output deleted ...
5547 10q' conftest.err >conftest.er1
5548 cat conftest.er1 >&5
5550 rm -f conftest.er1 conftest.err
5551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5552 test $ac_status = 0; }
5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
5556 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
5557 if ${ac_cv_c_compiler_gnu+:} false; then :
5558 $as_echo_n "(cached) " >&6
5560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5561 /* end confdefs.h. */
5574 if ac_fn_c_try_compile "$LINENO"; then :
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5580 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5584 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
5585 if test $ac_compiler_gnu = yes; then
5590 ac_test_CFLAGS=${CFLAGS+set}
5591 ac_save_CFLAGS=$CFLAGS
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5593 $as_echo_n "checking whether $CC accepts -g... " >&6; }
5594 if ${ac_cv_prog_cc_g+:} false; then :
5595 $as_echo_n "(cached) " >&6
5597 ac_save_c_werror_flag=$ac_c_werror_flag
5598 ac_c_werror_flag=yes
5601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5612 if ac_fn_c_try_compile "$LINENO"; then :
5616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5627 if ac_fn_c_try_compile "$LINENO"; then :
5630 ac_c_werror_flag=$ac_save_c_werror_flag
5632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5643 if ac_fn_c_try_compile "$LINENO"; then :
5646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5651 ac_c_werror_flag=$ac_save_c_werror_flag
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5654 $as_echo "$ac_cv_prog_cc_g" >&6; }
5655 if test "$ac_test_CFLAGS" = set; then
5656 CFLAGS=$ac_save_CFLAGS
5657 elif test $ac_cv_prog_cc_g = yes; then
5658 if test "$GCC" = yes; then
5664 if test "$GCC" = yes; then
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5671 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5672 if ${ac_cv_prog_cc_c89+:} false; then :
5673 $as_echo_n "(cached) " >&6
5675 ac_cv_prog_cc_c89=no
5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5678 /* end confdefs.h. */
5682 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5683 struct buf { int x; };
5684 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5685 static char *e (p, i)
5691 static char *f (char * (*g) (char **, int), char **p, ...)
5696 s = g (p, va_arg (v,int));
5701 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5702 function prototypes and stuff, but not '\xHH' hex character constants.
5703 These don't provoke an error unfortunately, instead are silently treated
5704 as 'x'. The following induces an error, until -std is added to get
5705 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5706 array size at least. It's necessary to write '\x00'==0 to get something
5707 that's true only with -std. */
5708 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5710 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5711 inside strings and character constants. */
5713 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5715 int test (int i, double x);
5716 struct s1 {int (*f) (int a);};
5717 struct s2 {int (*f) (double a);};
5718 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5724 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5729 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5730 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5732 CC="$ac_save_CC $ac_arg"
5733 if ac_fn_c_try_compile "$LINENO"; then :
5734 ac_cv_prog_cc_c89=$ac_arg
5736 rm -f core conftest.err conftest.$ac_objext
5737 test "x$ac_cv_prog_cc_c89" != "xno" && break
5739 rm -f conftest.$ac_ext
5744 case "x$ac_cv_prog_cc_c89" in
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5747 $as_echo "none needed" >&6; } ;;
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5750 $as_echo "unsupported" >&6; } ;;
5752 CC="$CC $ac_cv_prog_cc_c89"
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5754 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5756 if test "x$ac_cv_prog_cc_c89" != xno; then :
5761 ac_cpp='$CPP $CPPFLAGS'
5762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5767 ac_cpp='$CPP $CPPFLAGS'
5768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5772 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
5773 if ${am_cv_prog_cc_c_o+:} false; then :
5774 $as_echo_n "(cached) " >&6
5776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5777 /* end confdefs.h. */
5787 # Make sure it works both with $CC and with simple cc.
5788 # Following AC_PROG_CC_C_O, we do the test twice because some
5789 # compilers refuse to overwrite an existing .o file with -o,
5790 # though they will create one.
5791 am_cv_prog_cc_c_o=yes
5793 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5794 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } \
5798 && test -f conftest2.$ac_objext; then
5801 am_cv_prog_cc_c_o=no
5805 rm -f core conftest*
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5809 $as_echo "$am_cv_prog_cc_c_o" >&6; }
5810 if test "$am_cv_prog_cc_c_o" != yes; then
5811 # Losing compiler, so override with the script.
5812 # FIXME: It is wrong to rewrite CC.
5813 # But if we don't then we get into trouble of one sort or another.
5814 # A longer-term fix would be to have automake use am__CC in this case,
5815 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5816 CC="$am_aux_dir/compile $CC"
5819 ac_cpp='$CPP $CPPFLAGS'
5820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5825 depcc="$CC" am_compiler_list=
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5828 $as_echo_n "checking dependency style of $depcc... " >&6; }
5829 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
5830 $as_echo_n "(cached) " >&6
5832 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5833 # We make a subdir and do the tests there. Otherwise we can end up
5834 # making bogus files that we don't know about and never remove. For
5835 # instance it was reported that on HP-UX the gcc test will end up
5836 # making a dummy file named 'D' -- because '-MD' means "put the output
5840 # Copy depcomp to subdir because otherwise we won't find it if we're
5841 # using a relative directory.
5842 cp "$am_depcomp" conftest.dir
5844 # We will build objects and dependencies in a subdirectory because
5845 # it helps to detect inapplicable dependency modes. For instance
5846 # both Tru64's cc and ICC support -MD to output dependencies as a
5847 # side effect of compilation, but ICC will put the dependencies in
5848 # the current directory while Tru64 will put them in the object
5852 am_cv_CC_dependencies_compiler_type=none
5853 if test "$am_compiler_list" = ""; then
5854 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
5857 case " $depcc " in #(
5858 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5861 for depmode in $am_compiler_list; do
5862 # Setup a source with many dependencies, because some compilers
5863 # like to wrap large dependency lists on column 80 (with \), and
5864 # we should not choose a depcomp mode which is confused by this.
5866 # We need to recreate these files for each test, as the compiler may
5867 # overwrite some of them when testing with obscure command lines.
5868 # This happens at least with the AIX C compiler.
5870 for i in 1 2 3 4 5 6; do
5871 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5872 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5873 # Solaris 10 /bin/sh.
5874 echo '/* dummy */' > sub/conftst$i.h
5876 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5878 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5879 # mode. It turns out that the SunPro C++ compiler does not properly
5880 # handle '-M -o', and we need to detect this. Also, some Intel
5881 # versions had trouble with output in subdirs.
5882 am__obj=sub/conftest.${OBJEXT-o}
5883 am__minus_obj="-o $am__obj"
5886 # This depmode causes a compiler race in universal mode.
5887 test "$am__universal" = false || continue
5890 # After this tag, mechanisms are not by side-effect, so they'll
5891 # only be used when explicitly requested.
5892 if test "x$enable_dependency_tracking" = xyes; then
5898 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5899 # This compiler won't grok '-c -o', but also, the minuso test has
5900 # not run yet. These depmodes are late enough in the game, and
5901 # so weak that their functioning should not be impacted.
5902 am__obj=conftest.${OBJEXT-o}
5907 if depmode=$depmode \
5908 source=sub/conftest.c object=$am__obj \
5909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5910 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5911 >/dev/null 2>conftest.err &&
5912 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5913 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5914 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5915 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5916 # icc doesn't choke on unknown options, it will just issue warnings
5917 # or remarks (even with -Werror). So we grep stderr for any message
5918 # that says an option was ignored or not supported.
5919 # When given -MP, icc 7.0 and 7.1 complain thusly:
5920 # icc: Command line warning: ignoring option '-M'; no argument required
5921 # The diagnosis changed in icc 8.0:
5922 # icc: Command line remark: option '-MP' not supported
5923 if (grep 'ignoring option' conftest.err ||
5924 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5925 am_cv_CC_dependencies_compiler_type=$depmode
5934 am_cv_CC_dependencies_compiler_type=none
5938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5939 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
5940 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5943 test "x$enable_dependency_tracking" != xno \
5944 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5946 am__fastdepCC_FALSE='#'
5948 am__fastdepCC_TRUE='#'
5949 am__fastdepCC_FALSE=
5959 # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC.
5961 if test "x$GCC" = "xyes"; then
5962 AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring"
5963 ## We like to use C11 and C99 routines when available. This makes
5965 ## __STDC_VERSION__ is set such that libc includes make them available.
5966 AM_CFLAGS="-std=gnu11 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -Werror=implicit-function-declaration -Werror=vla"
5967 ## Compile the following tests with the same system header contents
5968 ## that we'll encounter when compiling our own source files.
5969 CFLAGS="-std=gnu11 $CFLAGS"
5972 xpowerpc64le*-linux*)
5973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5974 /* end confdefs.h. */
5975 #if __SIZEOF_LONG_DOUBLE__ != 16
5976 #error long double is double
5986 if ac_fn_c_try_cpp "$LINENO"; then :
5987 AM_FCFLAGS="$AM_FCFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5988 AM_CFLAGS="$AM_CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5989 CFLAGS="$CFLAGS -mabi=ibmlongdouble -mno-gnu-attribute";
5992 rm -f conftest.err conftest.i conftest.$ac_ext
5998 if test "x$have_real_17" != xno; then
6000 HAVE_REAL_17_FALSE='#'
6002 HAVE_REAL_17_TRUE='#'
6007 # Add CET specific flags if CET is enabled
6008 # Check whether --enable-cet was given.
6009 if test "${enable_cet+set}" = set; then :
6010 enableval=$enable_cet;
6011 case "$enableval" in
6013 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
6021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
6022 $as_echo_n "checking for CET support... " >&6; }
6024 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
6026 i[34567]86-*-linux* | x86_64-*-linux*)
6027 case "$enable_cet" in
6029 # Check if target supports multi-byte NOPs
6030 # and if compiler and assembler support CET insn.
6031 cet_save_CFLAGS="$CFLAGS"
6032 CFLAGS="$CFLAGS -fcf-protection"
6033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6034 /* end confdefs.h. */
6040 #if !defined(__SSE2__)
6041 #error target does not support multi-byte NOPs
6050 if ac_fn_c_try_compile "$LINENO"; then :
6055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6056 CFLAGS="$cet_save_CFLAGS"
6059 # Check if assembler supports CET.
6060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6061 /* end confdefs.h. */
6071 if ac_fn_c_try_compile "$LINENO"; then :
6074 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
6076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6084 if test x$enable_cet = xyes; then
6085 CET_FLAGS="-fcf-protection -mshstk"
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6087 $as_echo "yes" >&6; }
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6093 AM_FCFLAGS="$AM_FCFLAGS $CET_FLAGS"
6094 AM_CFLAGS="$AM_CFLAGS $CET_FLAGS"
6095 CFLAGS="$CFLAGS $CET_FLAGS"
6101 # Check for symbol versioning (copied from libssp).
6102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether symbol versioning is supported" >&5
6103 $as_echo_n "checking whether symbol versioning is supported... " >&6; }
6104 # Check whether --enable-symvers was given.
6105 if test "${enable_symvers+set}" = set; then :
6106 enableval=$enable_symvers; gfortran_use_symver=$enableval
6108 gfortran_use_symver=yes
6111 if test "x$gfortran_use_symver" != xno; then
6112 save_LDFLAGS="$LDFLAGS"
6113 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,--version-script,./conftest.map"
6114 cat > conftest.map <<EOF
6116 global: *foo*; bar; local: *;
6119 if test x$gcc_no_link = xyes; then
6120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6123 /* end confdefs.h. */
6133 if ac_fn_c_try_link "$LINENO"; then :
6134 gfortran_use_symver=gnu
6136 gfortran_use_symver=no
6138 rm -f core conftest.err conftest.$ac_objext \
6139 conftest$ac_exeext conftest.$ac_ext
6140 if test x$gfortran_use_symver = xno; then
6141 case "$target_os" in
6143 LDFLAGS="$save_LDFLAGS"
6144 LDFLAGS="$LDFLAGS -fPIC -shared -Wl,-M,./conftest.map"
6145 # Sun ld cannot handle wildcards and treats all entries as undefined.
6146 cat > conftest.map <<EOF
6148 global: foo; local: *;
6151 if test x$gcc_no_link = xyes; then
6152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6165 if ac_fn_c_try_link "$LINENO"; then :
6166 gfortran_use_symver=sun
6168 gfortran_use_symver=no
6170 rm -f core conftest.err conftest.$ac_objext \
6171 conftest$ac_exeext conftest.$ac_ext
6175 LDFLAGS="$save_LDFLAGS"
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gfortran_use_symver" >&5
6178 $as_echo "$gfortran_use_symver" >&6; }
6179 if test "x$gfortran_use_symver" != xno; then
6180 LIBGFOR_USE_SYMVER_TRUE=
6181 LIBGFOR_USE_SYMVER_FALSE='#'
6183 LIBGFOR_USE_SYMVER_TRUE='#'
6184 LIBGFOR_USE_SYMVER_FALSE=
6187 if test "x$gfortran_use_symver" = xgnu; then
6188 LIBGFOR_USE_SYMVER_GNU_TRUE=
6189 LIBGFOR_USE_SYMVER_GNU_FALSE='#'
6191 LIBGFOR_USE_SYMVER_GNU_TRUE='#'
6192 LIBGFOR_USE_SYMVER_GNU_FALSE=
6195 if test "x$gfortran_use_symver" = xsun; then
6196 LIBGFOR_USE_SYMVER_SUN_TRUE=
6197 LIBGFOR_USE_SYMVER_SUN_FALSE='#'
6199 LIBGFOR_USE_SYMVER_SUN_TRUE='#'
6200 LIBGFOR_USE_SYMVER_SUN_FALSE=
6204 # For GPU offloading, not everything in libfortran can be supported.
6205 # Currently, the only target that has this problem is nvptx. The
6206 # following is a (partial) list of features that are unsupportable on
6207 # this particular target:
6210 # * C library support for I/O, with printf as the one notable exception
6211 # * C library support for other features such as signal, environment
6212 # variables, time functions
6214 if test "x${target_cpu}" = xnvptx; then
6215 LIBGFOR_MINIMAL_TRUE=
6216 LIBGFOR_MINIMAL_FALSE='#'
6218 LIBGFOR_MINIMAL_TRUE='#'
6219 LIBGFOR_MINIMAL_FALSE=
6223 # Some compiler target support may have limited support for integer
6224 # or floating point numbers – or may want to reduce the libgfortran size
6225 # although they do have the support.
6226 LIBGOMP_CHECKED_INT_KINDS="1 2 4 8 16"
6227 LIBGOMP_CHECKED_REAL_KINDS="4 8 10 16"
6232 # Figure out whether the compiler supports "-ffunction-sections -fdata-sections",
6233 # similarly to how libstdc++ does it
6234 ac_test_CFLAGS="${CFLAGS+set}"
6235 ac_save_CFLAGS="$CFLAGS"
6237 # Check for -ffunction-sections -fdata-sections
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc that supports -ffunction-sections -fdata-sections" >&5
6239 $as_echo_n "checking for gcc that supports -ffunction-sections -fdata-sections... " >&6; }
6240 CFLAGS='-Werror -ffunction-sections -fdata-sections'
6241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6242 /* end confdefs.h. */
6252 if ac_fn_c_try_compile "$LINENO"; then :
6257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6258 if test "$ac_test_CFLAGS" = set; then
6259 CFLAGS="$ac_save_CFLAGS"
6261 # this is the suspicious part
6264 if test x"$ac_fdsections" = x"yes"; then
6265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
6268 $as_echo "$ac_fdsections" >&6; }
6271 # Check linker hardware capability support.
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6273 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6274 if ${ac_cv_path_SED+:} false; then :
6275 $as_echo_n "(cached) " >&6
6277 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6278 for ac_i in 1 2 3 4 5 6 7; do
6279 ac_script="$ac_script$as_nl$ac_script"
6281 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6282 { ac_script=; unset ac_script;}
6283 if test -z "$SED"; then
6284 ac_path_SED_found=false
6285 # Loop through the user's path and test for each of PROGNAME-LIST
6286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 test -z "$as_dir" && as_dir=.
6291 for ac_prog in sed gsed; do
6292 for ac_exec_ext in '' $ac_executable_extensions; do
6293 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6294 as_fn_executable_p "$ac_path_SED" || continue
6295 # Check for GNU ac_path_SED and select it if it is found.
6296 # Check for GNU $ac_path_SED
6297 case `"$ac_path_SED" --version 2>&1` in
6299 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6302 $as_echo_n 0123456789 >"conftest.in"
6305 cat "conftest.in" "conftest.in" >"conftest.tmp"
6306 mv "conftest.tmp" "conftest.in"
6307 cp "conftest.in" "conftest.nl"
6308 $as_echo '' >> "conftest.nl"
6309 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6310 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6311 as_fn_arith $ac_count + 1 && ac_count=$as_val
6312 if test $ac_count -gt ${ac_path_SED_max-0}; then
6313 # Best one so far, save it but keep looking for a better one
6314 ac_cv_path_SED="$ac_path_SED"
6315 ac_path_SED_max=$ac_count
6317 # 10*(2^10) chars as input seems more than enough
6318 test $ac_count -gt 10 && break
6320 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6323 $ac_path_SED_found && break 3
6328 if test -z "$ac_cv_path_SED"; then
6329 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6337 $as_echo "$ac_cv_path_SED" >&6; }
6338 SED="$ac_cv_path_SED"
6341 test -z "$SED" && SED=sed
6342 Xsed="$SED -e 1s/^X//"
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6355 $as_echo_n "checking for fgrep... " >&6; }
6356 if ${ac_cv_path_FGREP+:} false; then :
6357 $as_echo_n "(cached) " >&6
6359 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6360 then ac_cv_path_FGREP="$GREP -F"
6362 if test -z "$FGREP"; then
6363 ac_path_FGREP_found=false
6364 # Loop through the user's path and test for each of PROGNAME-LIST
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6369 test -z "$as_dir" && as_dir=.
6370 for ac_prog in fgrep; do
6371 for ac_exec_ext in '' $ac_executable_extensions; do
6372 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6373 as_fn_executable_p "$ac_path_FGREP" || continue
6374 # Check for GNU ac_path_FGREP and select it if it is found.
6375 # Check for GNU $ac_path_FGREP
6376 case `"$ac_path_FGREP" --version 2>&1` in
6378 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6381 $as_echo_n 0123456789 >"conftest.in"
6384 cat "conftest.in" "conftest.in" >"conftest.tmp"
6385 mv "conftest.tmp" "conftest.in"
6386 cp "conftest.in" "conftest.nl"
6387 $as_echo 'FGREP' >> "conftest.nl"
6388 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6389 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6390 as_fn_arith $ac_count + 1 && ac_count=$as_val
6391 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6392 # Best one so far, save it but keep looking for a better one
6393 ac_cv_path_FGREP="$ac_path_FGREP"
6394 ac_path_FGREP_max=$ac_count
6396 # 10*(2^10) chars as input seems more than enough
6397 test $ac_count -gt 10 && break
6399 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6402 $ac_path_FGREP_found && break 3
6407 if test -z "$ac_cv_path_FGREP"; then
6408 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6411 ac_cv_path_FGREP=$FGREP
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6417 $as_echo "$ac_cv_path_FGREP" >&6; }
6418 FGREP="$ac_cv_path_FGREP"
6421 test -z "$GREP" && GREP=grep
6439 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6440 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6441 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6444 $as_echo_n "checking how to print strings... " >&6; }
6445 # Test print first, because it will be a builtin if present.
6446 if test "X`print
-r -- -n 2>/dev
/null
`" = X-n && \
6447 test "X`print
-r -- $ECHO 2>/dev
/null
`" = "X$ECHO"; then
6449 elif test "X`printf %s
$ECHO 2>/dev
/null
`" = "X$ECHO"; then
6452 # Use this function as a fallback that always works.
6453 func_fallback_echo ()
6455 eval 'cat <<_LTECHO_EOF
6459 ECHO='func_fallback_echo'
6462 # func_echo_all arg...
6463 # Invoke $ECHO with all args, space-separated.
6470 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6471 $as_echo "printf" >&6; } ;;
6472 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6473 $as_echo "print -r" >&6; } ;;
6474 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6475 $as_echo "cat" >&6; } ;;
6493 # Check whether --with-gnu-ld was given.
6494 if test "${with_gnu_ld+set}" = set; then :
6495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6501 if test "$GCC" = yes; then
6502 # Check if gcc -print-prog-name=ld gives a path.
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6504 $as_echo_n "checking for ld used by $CC... " >&6; }
6507 # gcc leaves a trailing carriage return which upsets mingw
6508 ac_prog=`($CC -print-prog-name=ld
) 2>&5 |
tr -d '\015'` ;;
6510 ac_prog=`($CC -print-prog-name=ld
) 2>&5` ;;
6513 # Accept absolute paths.
6515 re_direlt='/[^/][^/]*/\.\./'
6516 # Canonicalize the pathname of ld
6517 ac_prog=`$ECHO "$ac_prog"|
$SED 's%\\\\%/%g'`
6518 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6519 ac_prog=`$ECHO $ac_prog|
$SED "s%$re_direlt%/%"`
6521 test -z "$LD" && LD="$ac_prog"
6524 # If it fails, then pretend we aren't using GCC.
6528 # If it is relative, then search for the first ld in PATH.
6532 elif test "$with_gnu_ld" = yes; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6534 $as_echo_n "checking for GNU ld... " >&6; }
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6537 $as_echo_n "checking for non-GNU ld... " >&6; }
6539 if ${lt_cv_path_LD+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 if test -z "$LD"; then
6543 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6544 for ac_dir in $PATH; do
6546 test -z "$ac_dir" && ac_dir=.
6547 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6548 lt_cv_path_LD="$ac_dir/$ac_prog"
6549 # Check to see if the program is GNU ld. I'd rather use --version,
6550 # but apparently some variants of GNU ld only accept -v.
6551 # Break only if it was the GNU/non-GNU ld that we prefer.
6552 case `"$lt_cv_path_LD" -v 2>&1 </dev
/null
` in
6553 *GNU* | *'with BFD'*)
6554 test "$with_gnu_ld" != no && break
6557 test "$with_gnu_ld" != yes && break
6564 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6569 if test -n "$LD"; then
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6571 $as_echo "$LD" >&6; }
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6574 $as_echo "no" >&6; }
6576 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6578 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6579 if ${lt_cv_prog_gnu_ld+:} false; then :
6580 $as_echo_n "(cached) " >&6
6582 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6583 case `$LD -v 2>&1 </dev
/null
` in
6584 *GNU* | *'with BFD'*)
6585 lt_cv_prog_gnu_ld=yes
6588 lt_cv_prog_gnu_ld=no
6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6593 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6594 with_gnu_ld=$lt_cv_prog_gnu_ld
6605 test -z "$HWCAP_LDFLAGS" && HWCAP_LDFLAGS=''
6608 ac_save_LDFLAGS="$LDFLAGS"
6609 LDFLAGS="$LFLAGS -mclear-hwcap"
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -mclear-hwcap" >&5
6612 $as_echo_n "checking for -mclear-hwcap... " >&6; }
6613 if test x$gcc_no_link = xyes; then
6614 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
6616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6617 /* end confdefs.h. */
6627 if ac_fn_c_try_link "$LINENO"; then :
6628 ac_hwcap_ldflags=yes
6632 rm -f core conftest.err conftest.$ac_objext \
6633 conftest$ac_exeext conftest.$ac_ext
6634 if test "$ac_hwcap_ldflags" = "yes"; then
6635 HWCAP_LDFLAGS="-mclear-hwcap $HWCAP_LDFLAGS"
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_ldflags" >&5
6638 $as_echo "$ac_hwcap_ldflags" >&6; }
6640 LDFLAGS="$ac_save_LDFLAGS"
6644 if test $ac_hwcap_ldflags != no; then
6646 HAVE_HWCAP_FALSE='#'
6654 # Find other programs we need.
6655 if test -n "$ac_tool_prefix"; then
6656 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
6657 set dummy ${ac_tool_prefix}as; ac_word=$2
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6659 $as_echo_n "checking for $ac_word... " >&6; }
6660 if ${ac_cv_prog_AS+:} false; then :
6661 $as_echo_n "(cached) " >&6
6663 if test -n "$AS"; then
6664 ac_cv_prog_AS="$AS" # Let the user override the test.
6666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6670 test -z "$as_dir" && as_dir=.
6671 for ac_exec_ext in '' $ac_executable_extensions; do
6672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6673 ac_cv_prog_AS="${ac_tool_prefix}as"
6674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6684 if test -n "$AS"; then
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
6686 $as_echo "$AS" >&6; }
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6689 $as_echo "no" >&6; }
6694 if test -z "$ac_cv_prog_AS"; then
6696 # Extract the first word of "as", so it can be a program name with args.
6697 set dummy as; ac_word=$2
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6699 $as_echo_n "checking for $ac_word... " >&6; }
6700 if ${ac_cv_prog_ac_ct_AS+:} false; then :
6701 $as_echo_n "(cached) " >&6
6703 if test -n "$ac_ct_AS"; then
6704 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6710 test -z "$as_dir" && as_dir=.
6711 for ac_exec_ext in '' $ac_executable_extensions; do
6712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6713 ac_cv_prog_ac_ct_AS="as"
6714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 ac_ct_AS=$ac_cv_prog_ac_ct_AS
6724 if test -n "$ac_ct_AS"; then
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
6726 $as_echo "$ac_ct_AS" >&6; }
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6729 $as_echo "no" >&6; }
6732 if test "x$ac_ct_AS" = x; then
6735 case $cross_compiling:$ac_tool_warned in
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6739 ac_tool_warned=yes ;;
6747 if test -n "$ac_tool_prefix"; then
6748 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6749 set dummy ${ac_tool_prefix}ar; ac_word=$2
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6751 $as_echo_n "checking for $ac_word... " >&6; }
6752 if ${ac_cv_prog_AR+:} false; then :
6753 $as_echo_n "(cached) " >&6
6755 if test -n "$AR"; then
6756 ac_cv_prog_AR="$AR" # Let the user override the test.
6758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6762 test -z "$as_dir" && as_dir=.
6763 for ac_exec_ext in '' $ac_executable_extensions; do
6764 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6765 ac_cv_prog_AR="${ac_tool_prefix}ar"
6766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6776 if test -n "$AR"; then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6778 $as_echo "$AR" >&6; }
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6786 if test -z "$ac_cv_prog_AR"; then
6788 # Extract the first word of "ar", so it can be a program name with args.
6789 set dummy ar; ac_word=$2
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6791 $as_echo_n "checking for $ac_word... " >&6; }
6792 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6793 $as_echo_n "(cached) " >&6
6795 if test -n "$ac_ct_AR"; then
6796 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6802 test -z "$as_dir" && as_dir=.
6803 for ac_exec_ext in '' $ac_executable_extensions; do
6804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6805 ac_cv_prog_ac_ct_AR="ar"
6806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6816 if test -n "$ac_ct_AR"; then
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6818 $as_echo "$ac_ct_AR" >&6; }
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6821 $as_echo "no" >&6; }
6824 if test "x$ac_ct_AR" = x; then
6827 case $cross_compiling:$ac_tool_warned in
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6831 ac_tool_warned=yes ;;
6839 if test -n "$ac_tool_prefix"; then
6840 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6841 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6843 $as_echo_n "checking for $ac_word... " >&6; }
6844 if ${ac_cv_prog_RANLIB+:} false; then :
6845 $as_echo_n "(cached) " >&6
6847 if test -n "$RANLIB"; then
6848 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 test -z "$as_dir" && as_dir=.
6855 for ac_exec_ext in '' $ac_executable_extensions; do
6856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6857 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6867 RANLIB=$ac_cv_prog_RANLIB
6868 if test -n "$RANLIB"; then
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6870 $as_echo "$RANLIB" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6878 if test -z "$ac_cv_prog_RANLIB"; then
6879 ac_ct_RANLIB=$RANLIB
6880 # Extract the first word of "ranlib", so it can be a program name with args.
6881 set dummy ranlib; ac_word=$2
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6883 $as_echo_n "checking for $ac_word... " >&6; }
6884 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6885 $as_echo_n "(cached) " >&6
6887 if test -n "$ac_ct_RANLIB"; then
6888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6894 test -z "$as_dir" && as_dir=.
6895 for ac_exec_ext in '' $ac_executable_extensions; do
6896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6897 ac_cv_prog_ac_ct_RANLIB="ranlib"
6898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6908 if test -n "$ac_ct_RANLIB"; then
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6910 $as_echo "$ac_ct_RANLIB" >&6; }
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6913 $as_echo "no" >&6; }
6916 if test "x$ac_ct_RANLIB" = x; then
6917 RANLIB="ranlib-not-found-in-path-error"
6919 case $cross_compiling:$ac_tool_warned in
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6923 ac_tool_warned=yes ;;
6925 RANLIB=$ac_ct_RANLIB
6928 RANLIB="$ac_cv_prog_RANLIB"
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
6932 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
6934 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
6935 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
6936 $as_echo_n "(cached) " >&6
6938 cat >conftest.make <<\_ACEOF
6941 @echo '@@@%%%=$(MAKE)=@@@%%%'
6943 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
6944 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
6946 eval ac_cv_prog_make_${ac_make}_set=yes;;
6948 eval ac_cv_prog_make_${ac_make}_set=no;;
6952 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6954 $as_echo "yes" >&6; }
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6958 $as_echo "no" >&6; }
6959 SET_MAKE="MAKE=${MAKE-make}"
6965 #AC_MSG_NOTICE([====== Starting libtool configuration])
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&5
6973 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\
`" >&2;} ;;
6978 macro_version='2.2.7a'
6979 macro_revision='1.3134'
6993 ltmain="$ac_aux_dir/ltmain.sh"
6995 # Backslashify metacharacters that are still active within
6996 # double-quoted strings.
6997 sed_quote_subst='s/\(["`$
\\]\
)/\\\
1/g
'
6999 # Same as above, but do not quote variable references.
7000 double_quote_subst='s
/\
(["`\\]\)/\\\1/g'
7002 # Sed substitution to delay expansion of an escaped shell variable in a
7003 # double_quote_subst'ed string.
7004 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7006 # Sed substitution to delay expansion of an escaped single quote.
7007 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7009 # Sed substitution to avoid accidental globbing in evaled expressions
7010 no_glob_subst='s/\*/\\\*/g'
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for BSD- or MS-compatible name lister
(nm
)" >&5
7013 $as_echo_n "checking
for BSD- or MS-compatible name lister
(nm
)...
" >&6; }
7014 if ${lt_cv_path_NM+:} false; then :
7015 $as_echo_n "(cached
) " >&6
7017 if test -n "$NM"; then
7018 # Let the user override the nm to test.
7019 lt_nm_to_check="$NM"
7021 lt_nm_to_check="${ac_tool_prefix}nm
"
7022 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7023 lt_nm_to_check="$lt_nm_to_check nm
"
7026 for lt_tmp_nm in "$lt_nm_to_check"; do
7027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7028 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7030 test -z "$ac_dir" && ac_dir=.
7031 # Strip out any user-provided options from the nm to test twice,
7032 # the first time to test to see if nm (rather than its options) has
7033 # an explicit path, the second time to yield a file which can be
7035 tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
7036 case "$tmp_nm_path" in
7037 */*|*\\*) tmp_nm="$lt_tmp_nm";;
7038 *) tmp_nm="$ac_dir/$lt_tmp_nm";;
7040 tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
7041 if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
7042 # Check to see if the nm accepts a BSD-compat flag.
7043 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7044 # nm: unknown option "B
" ignored
7045 case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7046 *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
7050 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
7052 lt_cv_path_NM="$tmp_nm -p"
7056 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7057 continue # so that we can try to find one that supports BSD flags
7066 : ${lt_cv_path_NM=no}
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_path_NM" >&5
7069 $as_echo "$lt_cv_path_NM" >&6; }
7070 if test "$lt_cv_path_NM" != "no
"; then
7073 # Didn't find any BSD compatible name lister, look for dumpbin.
7074 if test -n "$DUMPBIN"; then :
7075 # Let the user override the test.
7077 if test -n "$ac_tool_prefix"; then
7078 for ac_prog in dumpbin "link
-dump"
7080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7083 $as_echo_n "checking
for $ac_word...
" >&6; }
7084 if ${ac_cv_prog_DUMPBIN+:} false; then :
7085 $as_echo_n "(cached
) " >&6
7087 if test -n "$DUMPBIN"; then
7088 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7107 DUMPBIN=$ac_cv_prog_DUMPBIN
7108 if test -n "$DUMPBIN"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $DUMPBIN" >&5
7110 $as_echo "$DUMPBIN" >&6; }
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7113 $as_echo "no
" >&6; }
7117 test -n "$DUMPBIN" && break
7120 if test -z "$DUMPBIN"; then
7121 ac_ct_DUMPBIN=$DUMPBIN
7122 for ac_prog in dumpbin "link
-dump"
7124 # Extract the first word of "$ac_prog", so it can be a program name with args.
7125 set dummy $ac_prog; ac_word=$2
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking
for $ac_word" >&5
7127 $as_echo_n "checking
for $ac_word...
" >&6; }
7128 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7129 $as_echo_n "(cached
) " >&6
7131 if test -n "$ac_ct_DUMPBIN"; then
7132 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7138 test -z "$as_dir" && as_dir=.
7139 for ac_exec_ext in '' $ac_executable_extensions; do
7140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7141 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7142 $as_echo "$as_me:${as_lineno-$LINENO}: found
$as_dir/$ac_word$ac_exec_ext" >&5
7151 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7152 if test -n "$ac_ct_DUMPBIN"; then
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $ac_ct_DUMPBIN" >&5
7154 $as_echo "$ac_ct_DUMPBIN" >&6; }
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
" >&5
7157 $as_echo "no
" >&6; }
7161 test -n "$ac_ct_DUMPBIN" && break
7164 if test "x
$ac_ct_DUMPBIN" = x; then
7167 case $cross_compiling:$ac_tool_warned in
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: using cross tools not prefixed with
host triplet
" >&5
7170 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
7171 ac_tool_warned=yes ;;
7173 DUMPBIN=$ac_ct_DUMPBIN
7177 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7179 DUMPBIN="$DUMPBIN -symbols"
7187 if test "$DUMPBIN" != ":"; then
7191 test -z "$NM" && NM=nm
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister
($NM) interface
" >&5
7199 $as_echo_n "checking the name lister
($NM) interface...
" >&6; }
7200 if ${lt_cv_nm_interface+:} false; then :
7201 $as_echo_n "(cached
) " >&6
7203 lt_cv_nm_interface="BSD nm
"
7204 echo "int some_variable
= 0;" > conftest.$ac_ext
7205 (eval echo "\"\
$as_me:$LINENO: $ac_compile\"" >&5)
7206 (eval "$ac_compile" 2>conftest.err)
7207 cat conftest.err >&5
7208 (eval echo "\"\
$as_me:$LINENO: $NM \\\"conftest.
$ac_objext\\\"\"" >&5)
7209 (eval "$NM \"conftest.
$ac_objext\"" 2>conftest.err > conftest.out)
7210 cat conftest.err >&5
7211 (eval echo "\"\
$as_me:$LINENO: output
\"" >&5)
7212 cat conftest.out >&5
7213 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7214 lt_cv_nm_interface="MS dumpbin
"
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_nm_interface" >&5
7219 $as_echo "$lt_cv_nm_interface" >&6; }
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether
ln -s works
" >&5
7222 $as_echo_n "checking whether
ln -s works...
" >&6; }
7224 if test "$LN_S" = "ln -s"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: yes" >&5
7226 $as_echo "yes" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: no
, using
$LN_S" >&5
7229 $as_echo "no
, using
$LN_S" >&6; }
7232 # find the maximum length of command line arguments
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of
command line arguments
" >&5
7234 $as_echo_n "checking the maximum length of
command line arguments...
" >&6; }
7235 if ${lt_cv_sys_max_cmd_len+:} false; then :
7236 $as_echo_n "(cached
) " >&6
7243 # On DJGPP, this test can blow up pretty badly due to problems in libc
7244 # (any single argument exceeding 2000 bytes causes a buffer overrun
7245 # during glob expansion). Even if it were fixed, the result of this
7246 # check would be larger than it should be.
7247 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7251 # Under GNU Hurd, this test is not required because there is
7252 # no limit to the length of command line arguments.
7253 # Libtool will interpret -1 as no limit whatsoever
7254 lt_cv_sys_max_cmd_len=-1;
7257 cygwin* | mingw* | cegcc*)
7258 # On Win9x/ME, this test blows up -- it succeeds, but takes
7259 # about 5 minutes as the teststring grows exponentially.
7260 # Worse, since 9x/ME are not pre-emptively multitasking,
7261 # you end up with a "frozen
" computer, even though with patience
7262 # the test eventually succeeds (with a max line length of 256k).
7263 # Instead, let's just punt: use the minimum linelength reported by
7264 # all of the supported platforms: 8192 (on NT/2K/XP).
7265 lt_cv_sys_max_cmd_len=8192;
7269 # On MiNT this can take a long time and run out of memory.
7270 lt_cv_sys_max_cmd_len=8192;
7274 # On AmigaOS with pdksh, this test takes hours, literally.
7275 # So we just punt and use a minimum line length of 8192.
7276 lt_cv_sys_max_cmd_len=8192;
7279 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7280 # This has been around since 386BSD, at least. Likely further.
7281 if test -x /sbin/sysctl; then
7282 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7283 elif test -x /usr/sbin/sysctl; then
7284 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7286 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7288 # And add a safety zone
7289 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7290 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7294 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7295 lt_cv_sys_max_cmd_len=196608
7299 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7300 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7301 # nice to cause kernel panics so lets avoid the loop below.
7302 # First set a reasonable default.
7303 lt_cv_sys_max_cmd_len=16384
7305 if test -x /sbin/sysconfig; then
7306 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7307 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7312 lt_cv_sys_max_cmd_len=102400
7314 sysv5* | sco5v6* | sysv4.2uw2*)
7315 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7316 if test -n "$kargmax"; then
7317 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7319 lt_cv_sys_max_cmd_len=32768
7323 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7324 if test -n "$lt_cv_sys_max_cmd_len"; then
7325 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7326 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7328 # Make teststring a little bigger before we do anything with it.
7329 # a 1K string should be a reasonable start.
7330 for i in 1 2 3 4 5 6 7 8 ; do
7331 teststring=$teststring$teststring
7333 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7334 # If test is not a shell built-in, we'll probably end up computing a
7335 # maximum length that is only half of the actual maximum length, but
7337 while { test "X
"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
7338 = "X
$teststring$teststring"; } >/dev/null 2>&1 &&
7339 test $i != 17 # 1/2 MB should be enough
7342 teststring=$teststring$teststring
7344 # Only check the string length outside the loop.
7345 lt_cv_sys_max_cmd_len=`expr "X
$teststring" : ".
*" 2>&1`
7347 # Add a significant safety factor because C++ compilers can tack on
7348 # massive amounts of additional arguments before passing them to the
7349 # linker. It appears as though 1/2 is a usable value.
7350 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7357 if test -n $lt_cv_sys_max_cmd_len ; then
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: $lt_cv_sys_max_cmd_len" >&5
7359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: result
: none
" >&5
7362 $as_echo "none
" >&6; }
7364 max_cmd_len=$lt_cv_sys_max_cmd_len
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs
" >&5
7376 $as_echo_n "checking whether the shell understands some XSI constructs...
" >&6; }
7377 # Try some XSI features
7380 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
7382 && eval 'test $(( 1 + 1 )) -eq 2 \
7383 && test "${#_lt_dummy}" -eq 5' ) >/dev
/null
2>&1 \
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7386 $as_echo "$xsi_shell" >&6; }
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7390 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7392 ( foo
=bar
; set foo baz
; eval "$1+=\$2" && test "$foo" = barbaz
) \
7394 && lt_shell_append
=yes
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7396 $as_echo "$lt_shell_append" >&6; }
7399 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7409 # test EBCDIC or ASCII
7410 case `echo X|tr X '\101'` in
7411 A
) # ASCII based system
7412 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7413 lt_SP2NL
='tr \040 \012'
7414 lt_NL2SP
='tr \015\012 \040\040'
7416 *) # EBCDIC based system
7417 lt_SP2NL
='tr \100 \n'
7418 lt_NL2SP
='tr \r\n \100\100'
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7431 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7432 if ${lt_cv_ld_reload_flag+:} false
; then :
7433 $as_echo_n "(cached) " >&6
7435 lt_cv_ld_reload_flag
='-r'
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7438 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7439 reload_flag
=$lt_cv_ld_reload_flag
7440 case $reload_flag in
7442 *) reload_flag
=" $reload_flag" ;;
7444 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7447 if test "$GCC" = yes; then
7448 reload_cmds
='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
7450 reload_cmds
='$LD$reload_flag -o $output$reload_objs'
7463 if test -n "$ac_tool_prefix"; then
7464 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7465 set dummy
${ac_tool_prefix}objdump
; ac_word
=$2
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7467 $as_echo_n "checking for $ac_word... " >&6; }
7468 if ${ac_cv_prog_OBJDUMP+:} false
; then :
7469 $as_echo_n "(cached) " >&6
7471 if test -n "$OBJDUMP"; then
7472 ac_cv_prog_OBJDUMP
="$OBJDUMP" # Let the user override the test.
7474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7478 test -z "$as_dir" && as_dir
=.
7479 for ac_exec_ext
in '' $ac_executable_extensions; do
7480 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7481 ac_cv_prog_OBJDUMP
="${ac_tool_prefix}objdump"
7482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7491 OBJDUMP
=$ac_cv_prog_OBJDUMP
7492 if test -n "$OBJDUMP"; then
7493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7494 $as_echo "$OBJDUMP" >&6; }
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7497 $as_echo "no" >&6; }
7502 if test -z "$ac_cv_prog_OBJDUMP"; then
7503 ac_ct_OBJDUMP
=$OBJDUMP
7504 # Extract the first word of "objdump", so it can be a program name with args.
7505 set dummy objdump
; ac_word
=$2
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7507 $as_echo_n "checking for $ac_word... " >&6; }
7508 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false
; then :
7509 $as_echo_n "(cached) " >&6
7511 if test -n "$ac_ct_OBJDUMP"; then
7512 ac_cv_prog_ac_ct_OBJDUMP
="$ac_ct_OBJDUMP" # Let the user override the test.
7514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7518 test -z "$as_dir" && as_dir
=.
7519 for ac_exec_ext
in '' $ac_executable_extensions; do
7520 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7521 ac_cv_prog_ac_ct_OBJDUMP
="objdump"
7522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7531 ac_ct_OBJDUMP
=$ac_cv_prog_ac_ct_OBJDUMP
7532 if test -n "$ac_ct_OBJDUMP"; then
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7534 $as_echo "$ac_ct_OBJDUMP" >&6; }
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7537 $as_echo "no" >&6; }
7540 if test "x$ac_ct_OBJDUMP" = x
; then
7543 case $cross_compiling:$ac_tool_warned in
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7547 ac_tool_warned
=yes ;;
7549 OBJDUMP
=$ac_ct_OBJDUMP
7552 OBJDUMP
="$ac_cv_prog_OBJDUMP"
7555 test -z "$OBJDUMP" && OBJDUMP
=objdump
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7566 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7567 if ${lt_cv_deplibs_check_method+:} false
; then :
7568 $as_echo_n "(cached) " >&6
7570 lt_cv_file_magic_cmd
='$MAGIC_CMD'
7571 lt_cv_file_magic_test_file
=
7572 lt_cv_deplibs_check_method
='unknown'
7573 # Need to set the preceding variable on all platforms that support
7574 # interlibrary dependencies.
7575 # 'none' -- dependencies not supported.
7576 # `unknown' -- same as none, but documents that we really don't know.
7577 # 'pass_all' -- all dependencies passed with no checks.
7578 # 'test_compile' -- check by making test program.
7579 # 'file_magic [[regex]]' -- check by looking for files in library path
7580 # which responds to the $file_magic_cmd with a given extended regex.
7581 # If you have `file' or equivalent on your system and you're not sure
7582 # whether `pass_all' will *always* work, you probably want this one.
7586 lt_cv_deplibs_check_method
=pass_all
7590 lt_cv_deplibs_check_method
=pass_all
7594 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7595 lt_cv_file_magic_cmd
='/usr/bin/file -L'
7596 lt_cv_file_magic_test_file
=/shlib
/libc.so
7600 # func_win32_libid is a shell function defined in ltmain.sh
7601 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7602 lt_cv_file_magic_cmd
='func_win32_libid'
7606 # Base MSYS/MinGW do not provide the 'file' command needed by
7607 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7608 # unless we find 'file', for example because we are cross-compiling.
7609 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
7610 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev
/null
2>&1; then
7611 lt_cv_deplibs_check_method
='file_magic ^x86 archive import|^x86 DLL'
7612 lt_cv_file_magic_cmd
='func_win32_libid'
7614 lt_cv_deplibs_check_method
='file_magic file format pei*-i386(.*architecture: i386)?'
7615 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7620 # use the weaker test based on 'objdump'. See mingw*.
7621 lt_cv_deplibs_check_method
='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7622 lt_cv_file_magic_cmd
='$OBJDUMP -f'
7625 darwin
* | rhapsody
*)
7626 lt_cv_deplibs_check_method
=pass_all
7629 freebsd
* | dragonfly
*)
7630 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7633 # Not sure whether the presence of OpenBSD here was a mistake.
7634 # Let's accept both of them until this is cleared up.
7635 lt_cv_deplibs_check_method
='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7636 lt_cv_file_magic_cmd
=/usr
/bin
/file
7637 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so.*`
7641 lt_cv_deplibs_check_method
=pass_all
7646 lt_cv_deplibs_check_method
=pass_all
7650 lt_cv_deplibs_check_method
=pass_all
7653 hpux10.20
* | hpux11
*)
7654 lt_cv_file_magic_cmd
=/usr
/bin
/file
7657 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7658 lt_cv_file_magic_test_file
=/usr
/lib
/hpux32
/libc.so
7661 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]'
7662 lt_cv_file_magic_test_file
=/usr
/lib
/pa20_64
/libc.sl
7665 lt_cv_deplibs_check_method
='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7666 lt_cv_file_magic_test_file
=/usr
/lib
/libc.sl
7672 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7673 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|\.a)$'
7676 irix5
* | irix6
* | nonstopux
*)
7678 *-32|
*"-32 ") libmagic
=32-bit;;
7679 *-n32|
*"-n32 ") libmagic
=N32
;;
7680 *-64|
*"-64 ") libmagic
=64-bit;;
7681 *) libmagic
=never-match
;;
7683 lt_cv_deplibs_check_method
=pass_all
7686 # This must be Linux ELF.
7687 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
7688 lt_cv_deplibs_check_method
=pass_all
7692 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
> /dev
/null
; then
7693 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7695 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7700 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7701 lt_cv_file_magic_cmd
=/usr
/bin
/file
7702 lt_cv_file_magic_test_file
=/usr
/lib
/libnls.so
7706 lt_cv_deplibs_check_method
=pass_all
7710 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7711 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7713 lt_cv_deplibs_check_method
='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7717 osf3
* | osf4
* | osf5
*)
7718 lt_cv_deplibs_check_method
=pass_all
7722 lt_cv_deplibs_check_method
=pass_all
7726 lt_cv_deplibs_check_method
=pass_all
7729 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
7730 lt_cv_deplibs_check_method
=pass_all
7734 case $host_vendor in
7736 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]'
7737 lt_cv_file_magic_test_file
=`echo /usr/lib/libc.so*`
7740 lt_cv_deplibs_check_method
=pass_all
7743 lt_cv_file_magic_cmd
='/bin/file'
7744 lt_cv_deplibs_check_method
='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7747 lt_cv_file_magic_cmd
='/bin/file'
7748 lt_cv_deplibs_check_method
="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7749 lt_cv_file_magic_test_file
=/lib
/libc.so
7752 lt_cv_deplibs_check_method
=pass_all
7755 lt_cv_deplibs_check_method
=pass_all
7761 lt_cv_deplibs_check_method
=pass_all
7764 # Assume VxWorks cross toolchains are built on Linux, possibly
7765 # as canadian for Windows hosts.
7766 lt_cv_deplibs_check_method
=pass_all
7771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7772 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7773 file_magic_cmd
=$lt_cv_file_magic_cmd
7774 deplibs_check_method
=$lt_cv_deplibs_check_method
7775 test -z "$deplibs_check_method" && deplibs_check_method
=unknown
7789 plugin_names
="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
7790 for plugin
in $plugin_names; do
7791 plugin_so
=`${CC} ${CFLAGS} --print-prog-name $plugin`
7792 if test x
$plugin_so = x
$plugin; then
7793 plugin_so
=`${CC} ${CFLAGS} --print-file-name $plugin`
7795 if test x
$plugin_so != x
$plugin; then
7796 plugin_option
="--plugin $plugin_so"
7801 if test -n "$ac_tool_prefix"; then
7802 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7803 set dummy
${ac_tool_prefix}ar; ac_word
=$2
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7805 $as_echo_n "checking for $ac_word... " >&6; }
7806 if ${ac_cv_prog_AR+:} false
; then :
7807 $as_echo_n "(cached) " >&6
7809 if test -n "$AR"; then
7810 ac_cv_prog_AR
="$AR" # Let the user override the test.
7812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7816 test -z "$as_dir" && as_dir
=.
7817 for ac_exec_ext
in '' $ac_executable_extensions; do
7818 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7819 ac_cv_prog_AR
="${ac_tool_prefix}ar"
7820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 if test -n "$AR"; then
7831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7832 $as_echo "$AR" >&6; }
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7835 $as_echo "no" >&6; }
7840 if test -z "$ac_cv_prog_AR"; then
7842 # Extract the first word of "ar", so it can be a program name with args.
7843 set dummy
ar; ac_word
=$2
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7845 $as_echo_n "checking for $ac_word... " >&6; }
7846 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
7847 $as_echo_n "(cached) " >&6
7849 if test -n "$ac_ct_AR"; then
7850 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
7852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7856 test -z "$as_dir" && as_dir
=.
7857 for ac_exec_ext
in '' $ac_executable_extensions; do
7858 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7859 ac_cv_prog_ac_ct_AR
="ar"
7860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7869 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
7870 if test -n "$ac_ct_AR"; then
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7872 $as_echo "$ac_ct_AR" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7875 $as_echo "no" >&6; }
7878 if test "x$ac_ct_AR" = x
; then
7881 case $cross_compiling:$ac_tool_warned in
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7885 ac_tool_warned
=yes ;;
7893 test -z "$AR" && AR
=ar
7894 if test -n "$plugin_option"; then
7895 if $AR --help 2>&1 |
grep -q "\--plugin"; then
7897 $AR $plugin_option rc conftest.a conftest.c
7898 if test "$?" != 0; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
7900 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
7902 AR
="$AR $plugin_option"
7907 test -z "$AR_FLAGS" && AR_FLAGS
=cru
7919 if test -n "$ac_tool_prefix"; then
7920 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7921 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7923 $as_echo_n "checking for $ac_word... " >&6; }
7924 if ${ac_cv_prog_STRIP+:} false
; then :
7925 $as_echo_n "(cached) " >&6
7927 if test -n "$STRIP"; then
7928 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
7930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7934 test -z "$as_dir" && as_dir
=.
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7937 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 STRIP
=$ac_cv_prog_STRIP
7948 if test -n "$STRIP"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7950 $as_echo "$STRIP" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7958 if test -z "$ac_cv_prog_STRIP"; then
7960 # Extract the first word of "strip", so it can be a program name with args.
7961 set dummy strip
; ac_word
=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
7965 $as_echo_n "(cached) " >&6
7967 if test -n "$ac_ct_STRIP"; then
7968 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
7970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir
=.
7975 for ac_exec_ext
in '' $ac_executable_extensions; do
7976 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_prog_ac_ct_STRIP
="strip"
7978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
7988 if test -n "$ac_ct_STRIP"; then
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7990 $as_echo "$ac_ct_STRIP" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7993 $as_echo "no" >&6; }
7996 if test "x$ac_ct_STRIP" = x
; then
7999 case $cross_compiling:$ac_tool_warned in
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8003 ac_tool_warned
=yes ;;
8008 STRIP
="$ac_cv_prog_STRIP"
8011 test -z "$STRIP" && STRIP
=:
8018 if test -n "$ac_tool_prefix"; then
8019 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8020 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
8021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8022 $as_echo_n "checking for $ac_word... " >&6; }
8023 if ${ac_cv_prog_RANLIB+:} false
; then :
8024 $as_echo_n "(cached) " >&6
8026 if test -n "$RANLIB"; then
8027 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8033 test -z "$as_dir" && as_dir
=.
8034 for ac_exec_ext
in '' $ac_executable_extensions; do
8035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8036 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
8037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8046 RANLIB
=$ac_cv_prog_RANLIB
8047 if test -n "$RANLIB"; then
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8049 $as_echo "$RANLIB" >&6; }
8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8052 $as_echo "no" >&6; }
8057 if test -z "$ac_cv_prog_RANLIB"; then
8058 ac_ct_RANLIB
=$RANLIB
8059 # Extract the first word of "ranlib", so it can be a program name with args.
8060 set dummy ranlib
; ac_word
=$2
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8062 $as_echo_n "checking for $ac_word... " >&6; }
8063 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
8064 $as_echo_n "(cached) " >&6
8066 if test -n "$ac_ct_RANLIB"; then
8067 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
8069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8073 test -z "$as_dir" && as_dir
=.
8074 for ac_exec_ext
in '' $ac_executable_extensions; do
8075 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8076 ac_cv_prog_ac_ct_RANLIB
="ranlib"
8077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
8087 if test -n "$ac_ct_RANLIB"; then
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8089 $as_echo "$ac_ct_RANLIB" >&6; }
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8092 $as_echo "no" >&6; }
8095 if test "x$ac_ct_RANLIB" = x
; then
8098 case $cross_compiling:$ac_tool_warned in
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8101 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8102 ac_tool_warned
=yes ;;
8104 RANLIB
=$ac_ct_RANLIB
8107 RANLIB
="$ac_cv_prog_RANLIB"
8110 test -z "$RANLIB" && RANLIB
=:
8111 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
8112 if $RANLIB --help 2>&1 |
grep -q "\--plugin"; then
8113 RANLIB
="$RANLIB $plugin_option"
8122 # Determine commands to create old-style static archives.
8123 old_archive_cmds
='$AR $AR_FLAGS $oldlib$oldobjs'
8124 old_postinstall_cmds
='chmod 644 $oldlib'
8125 old_postuninstall_cmds
=
8127 if test -n "$RANLIB"; then
8130 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
8133 old_postinstall_cmds
="$old_postinstall_cmds~\$RANLIB \$oldlib"
8136 old_archive_cmds
="$old_archive_cmds~\$RANLIB \$oldlib"
8141 lock_old_archive_extraction
=yes ;;
8143 lock_old_archive_extraction
=no
;;
8184 # If no C compiler was specified, use CC.
8187 # If no C compiler flags were specified, use CFLAGS.
8188 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
8190 # Allow CC to be a program name with arguments.
8194 # Check for command to grab the raw symbol name followed by C symbol from nm.
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8196 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8197 if ${lt_cv_sys_global_symbol_pipe+:} false
; then :
8198 $as_echo_n "(cached) " >&6
8201 # These are sane defaults that work on at least a few old systems.
8202 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8204 # Character class describing NM global symbol codes.
8205 symcode
='[BCDEGRST]'
8207 # Regexp to match symbols that can be accessed directly from C.
8208 sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
8210 # Define system-specific variables.
8215 cygwin
* | mingw
* | pw32
* | cegcc
*)
8216 symcode
='[ABCDGISTW]'
8219 if test "$host_cpu" = ia64
; then
8220 symcode
='[ABCDEGRST]'
8224 symcode
='[BCDEGRST]'
8227 symcode
='[BCDEGQRST]'
8238 sysv5
* | sco5v6
* | unixware
* | OpenUNIX
*)
8246 # If we're using GNU nm, then use its standard symbol codes.
8247 case `$NM -V 2>&1` in
8248 *GNU
* |
*'with BFD'*)
8249 symcode
='[ABCDGIRSTW]' ;;
8252 # Transform an extracted symbol line into a proper C declaration.
8253 # Some systems (esp. on ia64) link data and code symbols differently,
8254 # so use this general approach.
8255 lt_cv_sys_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
8257 # Transform an extracted symbol line into symbol name and symbol address
8258 lt_cv_sys_global_symbol_to_c_name_address
="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
8259 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'"
8261 # Handle CRLF in mingw tool chain
8265 opt_cr
=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8269 # Try without a prefix underscore, then with it.
8270 for ac_symprfx
in "" "_"; do
8272 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8273 symxfrm
="\\1 $ac_symprfx\\2 \\2"
8275 # Write the raw and C identifiers.
8276 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8277 # Fake it for dumpbin and say T for any non-static function
8278 # and D for any global variable.
8279 # Also find C++ and __fastcall symbols from MSVC++,
8280 # which start with @ or ?.
8281 lt_cv_sys_global_symbol_pipe
="$AWK '"\
8282 " {last_section=section; section=\$ 3};"\
8283 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8284 " \$ 0!~/External *\|/{next};"\
8285 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8286 " {if(hide[section]) next};"\
8287 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
8288 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
8289 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
8290 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
8291 " ' prfx=^$ac_symprfx"
8293 lt_cv_sys_global_symbol_pipe
="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8296 # Check to see that the pipe works correctly.
8300 cat > conftest.
$ac_ext <<_LT_EOF
8305 void nm_test_func(void);
8306 void nm_test_func(void){}
8310 int main(){nm_test_var='a';nm_test_func();return(0);}
8313 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8314 (eval $ac_compile) 2>&5
8316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8317 test $ac_status = 0; }; then
8318 # Now try to grab the symbols.
8320 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8321 (eval $NM conftest.
$ac_objext \|
"$lt_cv_sys_global_symbol_pipe" \
> $nlist) 2>&5
8323 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8324 test $ac_status = 0; } && test -s "$nlist"; then
8325 # Try sorting and uniquifying the output.
8326 if sort "$nlist" |
uniq > "$nlist"T
; then
8327 mv -f "$nlist"T
"$nlist"
8332 # Make sure that we snagged all the symbols we need.
8333 if $GREP ' nm_test_var$' "$nlist" >/dev
/null
; then
8334 if $GREP ' nm_test_func$' "$nlist" >/dev
/null
; then
8335 cat <<_LT_EOF > conftest.$ac_ext
8341 # Now generate the symbol file.
8342 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8344 cat <<_LT_EOF >> conftest.$ac_ext
8346 /* The mapping between symbol names and symbols. */
8351 lt__PROGRAM__LTX_preloaded_symbols[] =
8353 { "@PROGRAM@", (void *) 0 },
8355 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" |
$GREP -v main
>> conftest.
$ac_ext
8356 cat <<\_LT_EOF
>> conftest.
$ac_ext
8360 /* This works around a problem
in FreeBSD linker
*/
8361 #ifdef FREEBSD_WORKAROUND
8362 static const void
*lt_preloaded_setup
() {
8363 return lt__PROGRAM__LTX_preloaded_symbols
;
8371 # Now try linking the two files.
8372 mv conftest.
$ac_objext conftstm.
$ac_objext
8373 lt_save_LIBS
="$LIBS"
8374 lt_save_CFLAGS
="$CFLAGS"
8375 LIBS
="conftstm.$ac_objext"
8376 CFLAGS
="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8377 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8378 (eval $ac_link) 2>&5
8380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8381 test $ac_status = 0; } && test -s conftest
${ac_exeext}; then
8384 LIBS
="$lt_save_LIBS"
8385 CFLAGS
="$lt_save_CFLAGS"
8387 echo "cannot find nm_test_func in $nlist" >&5
8390 echo "cannot find nm_test_var in $nlist" >&5
8393 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8396 echo "$progname: failed program was:" >&5
8397 cat conftest.
$ac_ext >&5
8399 rm -rf conftest
* conftst
*
8401 # Do not use the global_symbol_pipe unless it works.
8402 if test "$pipe_works" = yes; then
8405 lt_cv_sys_global_symbol_pipe
=
8411 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8412 lt_cv_sys_global_symbol_to_cdecl
=
8414 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8416 $as_echo "failed" >&6; }
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8419 $as_echo "ok" >&6; }
8443 # Check whether --enable-libtool-lock was given.
8444 if test "${enable_libtool_lock+set}" = set; then :
8445 enableval
=$enable_libtool_lock;
8448 test "x$enable_libtool_lock" != xno
&& enable_libtool_lock
=yes
8450 # Some flags need to be propagated to the compiler or linker for good
8454 # Find out which ABI we are using.
8455 echo 'int i;' > conftest.
$ac_ext
8456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8457 (eval $ac_compile) 2>&5
8459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8460 test $ac_status = 0; }; then
8461 case `/usr/bin/file conftest.$ac_objext` in
8473 # Find out which ABI we are using.
8474 echo '#line '$LINENO' "configure"' > conftest.
$ac_ext
8475 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8476 (eval $ac_compile) 2>&5
8478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8479 test $ac_status = 0; }; then
8480 if test "$lt_cv_prog_gnu_ld" = yes; then
8481 case `/usr/bin/file conftest.$ac_objext` in
8483 LD
="${LD-ld} -melf32bsmip"
8486 LD
="${LD-ld} -melf32bmipn32"
8489 LD
="${LD-ld} -melf64bmip"
8493 case `/usr/bin/file conftest.$ac_objext` in
8509 x86_64-
*kfreebsd
*-gnu|x86_64-
*linux
*|powerpc
*-*linux
*| \
8510 s390
*-*linux
*|s390
*-*tpf
*|sparc
*-*linux
*)
8511 # Find out which ABI we are using.
8512 echo 'int i;' > conftest.
$ac_ext
8513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8514 (eval $ac_compile) 2>&5
8516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8517 test $ac_status = 0; }; then
8518 case `/usr/bin/file conftest.o` in
8521 x86_64-
*kfreebsd
*-gnu)
8522 LD
="${LD-ld} -m elf_i386_fbsd"
8525 case `/usr/bin/file conftest.o` in
8527 LD
="${LD-ld} -m elf32_x86_64"
8530 LD
="${LD-ld} -m elf_i386"
8534 powerpc64le-
*linux
*)
8535 LD
="${LD-ld} -m elf32lppclinux"
8538 LD
="${LD-ld} -m elf32ppclinux"
8541 LD
="${LD-ld} -m elf_s390"
8544 LD
="${LD-ld} -m elf32_sparc"
8550 x86_64-
*kfreebsd
*-gnu)
8551 LD
="${LD-ld} -m elf_x86_64_fbsd"
8554 LD
="${LD-ld} -m elf_x86_64"
8557 LD
="${LD-ld} -m elf64lppc"
8560 LD
="${LD-ld} -m elf64ppc"
8562 s390
*-*linux
*|s390
*-*tpf
*)
8563 LD
="${LD-ld} -m elf64_s390"
8566 LD
="${LD-ld} -m elf64_sparc"
8576 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
8577 SAVE_CFLAGS
="$CFLAGS"
8578 CFLAGS
="$CFLAGS -belf"
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
8580 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
8581 if ${lt_cv_cc_needs_belf+:} false
; then :
8582 $as_echo_n "(cached) " >&6
8585 ac_cpp
='$CPP $CPPFLAGS'
8586 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8587 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8588 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8590 if test x
$gcc_no_link = xyes
; then
8591 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8604 if ac_fn_c_try_link
"$LINENO"; then :
8605 lt_cv_cc_needs_belf
=yes
8607 lt_cv_cc_needs_belf
=no
8609 rm -f core conftest.err conftest.
$ac_objext \
8610 conftest
$ac_exeext conftest.
$ac_ext
8612 ac_cpp
='$CPP $CPPFLAGS'
8613 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8614 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8615 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
8619 $as_echo "$lt_cv_cc_needs_belf" >&6; }
8620 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
8621 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
8622 CFLAGS
="$SAVE_CFLAGS"
8626 # Find out which ABI we are using.
8627 echo 'int i;' > conftest.
$ac_ext
8628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8629 (eval $ac_compile) 2>&5
8631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8632 test $ac_status = 0; }; then
8633 case `/usr/bin/file conftest.o` in
8635 case $lt_cv_prog_gnu_ld in
8636 yes*) LD
="${LD-ld} -m elf64_sparc" ;;
8638 if ${LD-ld} -64 -r -o conftest2.o conftest.o
>/dev
/null
2>&1; then
8650 need_locks
="$enable_libtool_lock"
8654 rhapsody
* | darwin
*)
8655 if test -n "$ac_tool_prefix"; then
8656 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
8657 set dummy
${ac_tool_prefix}dsymutil
; ac_word
=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8659 $as_echo_n "checking for $ac_word... " >&6; }
8660 if ${ac_cv_prog_DSYMUTIL+:} false
; then :
8661 $as_echo_n "(cached) " >&6
8663 if test -n "$DSYMUTIL"; then
8664 ac_cv_prog_DSYMUTIL
="$DSYMUTIL" # Let the user override the test.
8666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8670 test -z "$as_dir" && as_dir
=.
8671 for ac_exec_ext
in '' $ac_executable_extensions; do
8672 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8673 ac_cv_prog_DSYMUTIL
="${ac_tool_prefix}dsymutil"
8674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8683 DSYMUTIL
=$ac_cv_prog_DSYMUTIL
8684 if test -n "$DSYMUTIL"; then
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
8686 $as_echo "$DSYMUTIL" >&6; }
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8689 $as_echo "no" >&6; }
8694 if test -z "$ac_cv_prog_DSYMUTIL"; then
8695 ac_ct_DSYMUTIL
=$DSYMUTIL
8696 # Extract the first word of "dsymutil", so it can be a program name with args.
8697 set dummy dsymutil
; ac_word
=$2
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8699 $as_echo_n "checking for $ac_word... " >&6; }
8700 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false
; then :
8701 $as_echo_n "(cached) " >&6
8703 if test -n "$ac_ct_DSYMUTIL"; then
8704 ac_cv_prog_ac_ct_DSYMUTIL
="$ac_ct_DSYMUTIL" # Let the user override the test.
8706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8710 test -z "$as_dir" && as_dir
=.
8711 for ac_exec_ext
in '' $ac_executable_extensions; do
8712 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8713 ac_cv_prog_ac_ct_DSYMUTIL
="dsymutil"
8714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8723 ac_ct_DSYMUTIL
=$ac_cv_prog_ac_ct_DSYMUTIL
8724 if test -n "$ac_ct_DSYMUTIL"; then
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
8726 $as_echo "$ac_ct_DSYMUTIL" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8729 $as_echo "no" >&6; }
8732 if test "x$ac_ct_DSYMUTIL" = x
; then
8735 case $cross_compiling:$ac_tool_warned in
8737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8739 ac_tool_warned
=yes ;;
8741 DSYMUTIL
=$ac_ct_DSYMUTIL
8744 DSYMUTIL
="$ac_cv_prog_DSYMUTIL"
8747 if test -n "$ac_tool_prefix"; then
8748 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8749 set dummy
${ac_tool_prefix}nmedit
; ac_word
=$2
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8751 $as_echo_n "checking for $ac_word... " >&6; }
8752 if ${ac_cv_prog_NMEDIT+:} false
; then :
8753 $as_echo_n "(cached) " >&6
8755 if test -n "$NMEDIT"; then
8756 ac_cv_prog_NMEDIT
="$NMEDIT" # Let the user override the test.
8758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8762 test -z "$as_dir" && as_dir
=.
8763 for ac_exec_ext
in '' $ac_executable_extensions; do
8764 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8765 ac_cv_prog_NMEDIT
="${ac_tool_prefix}nmedit"
8766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8775 NMEDIT
=$ac_cv_prog_NMEDIT
8776 if test -n "$NMEDIT"; then
8777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8778 $as_echo "$NMEDIT" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8781 $as_echo "no" >&6; }
8786 if test -z "$ac_cv_prog_NMEDIT"; then
8787 ac_ct_NMEDIT
=$NMEDIT
8788 # Extract the first word of "nmedit", so it can be a program name with args.
8789 set dummy nmedit
; ac_word
=$2
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8791 $as_echo_n "checking for $ac_word... " >&6; }
8792 if ${ac_cv_prog_ac_ct_NMEDIT+:} false
; then :
8793 $as_echo_n "(cached) " >&6
8795 if test -n "$ac_ct_NMEDIT"; then
8796 ac_cv_prog_ac_ct_NMEDIT
="$ac_ct_NMEDIT" # Let the user override the test.
8798 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8802 test -z "$as_dir" && as_dir
=.
8803 for ac_exec_ext
in '' $ac_executable_extensions; do
8804 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8805 ac_cv_prog_ac_ct_NMEDIT
="nmedit"
8806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8815 ac_ct_NMEDIT
=$ac_cv_prog_ac_ct_NMEDIT
8816 if test -n "$ac_ct_NMEDIT"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8818 $as_echo "$ac_ct_NMEDIT" >&6; }
8820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8821 $as_echo "no" >&6; }
8824 if test "x$ac_ct_NMEDIT" = x
; then
8827 case $cross_compiling:$ac_tool_warned in
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8830 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8831 ac_tool_warned
=yes ;;
8833 NMEDIT
=$ac_ct_NMEDIT
8836 NMEDIT
="$ac_cv_prog_NMEDIT"
8839 if test -n "$ac_tool_prefix"; then
8840 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8841 set dummy
${ac_tool_prefix}lipo
; ac_word
=$2
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8843 $as_echo_n "checking for $ac_word... " >&6; }
8844 if ${ac_cv_prog_LIPO+:} false
; then :
8845 $as_echo_n "(cached) " >&6
8847 if test -n "$LIPO"; then
8848 ac_cv_prog_LIPO
="$LIPO" # Let the user override the test.
8850 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8854 test -z "$as_dir" && as_dir
=.
8855 for ac_exec_ext
in '' $ac_executable_extensions; do
8856 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8857 ac_cv_prog_LIPO
="${ac_tool_prefix}lipo"
8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8867 LIPO
=$ac_cv_prog_LIPO
8868 if test -n "$LIPO"; then
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8870 $as_echo "$LIPO" >&6; }
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8878 if test -z "$ac_cv_prog_LIPO"; then
8880 # Extract the first word of "lipo", so it can be a program name with args.
8881 set dummy lipo
; ac_word
=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if ${ac_cv_prog_ac_ct_LIPO+:} false
; then :
8885 $as_echo_n "(cached) " >&6
8887 if test -n "$ac_ct_LIPO"; then
8888 ac_cv_prog_ac_ct_LIPO
="$ac_ct_LIPO" # Let the user override the test.
8890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8894 test -z "$as_dir" && as_dir
=.
8895 for ac_exec_ext
in '' $ac_executable_extensions; do
8896 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8897 ac_cv_prog_ac_ct_LIPO
="lipo"
8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8907 ac_ct_LIPO
=$ac_cv_prog_ac_ct_LIPO
8908 if test -n "$ac_ct_LIPO"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8910 $as_echo "$ac_ct_LIPO" >&6; }
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8913 $as_echo "no" >&6; }
8916 if test "x$ac_ct_LIPO" = x
; then
8919 case $cross_compiling:$ac_tool_warned in
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8922 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8923 ac_tool_warned
=yes ;;
8928 LIPO
="$ac_cv_prog_LIPO"
8931 if test -n "$ac_tool_prefix"; then
8932 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8933 set dummy
${ac_tool_prefix}otool
; ac_word
=$2
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8935 $as_echo_n "checking for $ac_word... " >&6; }
8936 if ${ac_cv_prog_OTOOL+:} false
; then :
8937 $as_echo_n "(cached) " >&6
8939 if test -n "$OTOOL"; then
8940 ac_cv_prog_OTOOL
="$OTOOL" # Let the user override the test.
8942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8946 test -z "$as_dir" && as_dir
=.
8947 for ac_exec_ext
in '' $ac_executable_extensions; do
8948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8949 ac_cv_prog_OTOOL
="${ac_tool_prefix}otool"
8950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8959 OTOOL
=$ac_cv_prog_OTOOL
8960 if test -n "$OTOOL"; then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8962 $as_echo "$OTOOL" >&6; }
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8965 $as_echo "no" >&6; }
8970 if test -z "$ac_cv_prog_OTOOL"; then
8972 # Extract the first word of "otool", so it can be a program name with args.
8973 set dummy otool
; ac_word
=$2
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8975 $as_echo_n "checking for $ac_word... " >&6; }
8976 if ${ac_cv_prog_ac_ct_OTOOL+:} false
; then :
8977 $as_echo_n "(cached) " >&6
8979 if test -n "$ac_ct_OTOOL"; then
8980 ac_cv_prog_ac_ct_OTOOL
="$ac_ct_OTOOL" # Let the user override the test.
8982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8986 test -z "$as_dir" && as_dir
=.
8987 for ac_exec_ext
in '' $ac_executable_extensions; do
8988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
8989 ac_cv_prog_ac_ct_OTOOL
="otool"
8990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8999 ac_ct_OTOOL
=$ac_cv_prog_ac_ct_OTOOL
9000 if test -n "$ac_ct_OTOOL"; then
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9002 $as_echo "$ac_ct_OTOOL" >&6; }
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9005 $as_echo "no" >&6; }
9008 if test "x$ac_ct_OTOOL" = x
; then
9011 case $cross_compiling:$ac_tool_warned in
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9014 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9015 ac_tool_warned
=yes ;;
9020 OTOOL
="$ac_cv_prog_OTOOL"
9023 if test -n "$ac_tool_prefix"; then
9024 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9025 set dummy
${ac_tool_prefix}otool64
; ac_word
=$2
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9027 $as_echo_n "checking for $ac_word... " >&6; }
9028 if ${ac_cv_prog_OTOOL64+:} false
; then :
9029 $as_echo_n "(cached) " >&6
9031 if test -n "$OTOOL64"; then
9032 ac_cv_prog_OTOOL64
="$OTOOL64" # Let the user override the test.
9034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9038 test -z "$as_dir" && as_dir
=.
9039 for ac_exec_ext
in '' $ac_executable_extensions; do
9040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9041 ac_cv_prog_OTOOL64
="${ac_tool_prefix}otool64"
9042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9051 OTOOL64
=$ac_cv_prog_OTOOL64
9052 if test -n "$OTOOL64"; then
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9054 $as_echo "$OTOOL64" >&6; }
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9057 $as_echo "no" >&6; }
9062 if test -z "$ac_cv_prog_OTOOL64"; then
9063 ac_ct_OTOOL64
=$OTOOL64
9064 # Extract the first word of "otool64", so it can be a program name with args.
9065 set dummy otool64
; ac_word
=$2
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9067 $as_echo_n "checking for $ac_word... " >&6; }
9068 if ${ac_cv_prog_ac_ct_OTOOL64+:} false
; then :
9069 $as_echo_n "(cached) " >&6
9071 if test -n "$ac_ct_OTOOL64"; then
9072 ac_cv_prog_ac_ct_OTOOL64
="$ac_ct_OTOOL64" # Let the user override the test.
9074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9078 test -z "$as_dir" && as_dir
=.
9079 for ac_exec_ext
in '' $ac_executable_extensions; do
9080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9081 ac_cv_prog_ac_ct_OTOOL64
="otool64"
9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9091 ac_ct_OTOOL64
=$ac_cv_prog_ac_ct_OTOOL64
9092 if test -n "$ac_ct_OTOOL64"; then
9093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9094 $as_echo "$ac_ct_OTOOL64" >&6; }
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9097 $as_echo "no" >&6; }
9100 if test "x$ac_ct_OTOOL64" = x
; then
9103 case $cross_compiling:$ac_tool_warned in
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9106 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9107 ac_tool_warned
=yes ;;
9109 OTOOL64
=$ac_ct_OTOOL64
9112 OTOOL64
="$ac_cv_prog_OTOOL64"
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9142 $as_echo_n "checking for -single_module linker flag... " >&6; }
9143 if ${lt_cv_apple_cc_single_mod+:} false
; then :
9144 $as_echo_n "(cached) " >&6
9146 lt_cv_apple_cc_single_mod
=no
9147 if test -z "${LT_MULTI_MODULE}"; then
9148 # By default we will add the -single_module flag. You can override
9149 # by either setting the environment variable LT_MULTI_MODULE
9150 # non-empty at configure time, or by adding -multi_module to the
9152 rm -rf libconftest.dylib
*
9153 echo "int foo(void){return 1;}" > conftest.c
9154 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9155 -dynamiclib -Wl,-single_module conftest.c" >&5
9156 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9157 -dynamiclib -Wl,-single_module conftest.c
2>conftest.err
9159 if test -f libconftest.dylib
&& test ! -s conftest.err
&& test $_lt_result = 0; then
9160 lt_cv_apple_cc_single_mod
=yes
9162 cat conftest.err
>&5
9164 rm -rf libconftest.dylib
*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9169 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9171 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9172 if ${lt_cv_ld_exported_symbols_list+:} false
; then :
9173 $as_echo_n "(cached) " >&6
9175 lt_cv_ld_exported_symbols_list
=no
9176 save_LDFLAGS
=$LDFLAGS
9177 echo "_main" > conftest.sym
9178 LDFLAGS
="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9179 if test x
$gcc_no_link = xyes
; then
9180 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9183 /* end confdefs.h. */
9193 if ac_fn_c_try_link
"$LINENO"; then :
9194 lt_cv_ld_exported_symbols_list
=yes
9196 lt_cv_ld_exported_symbols_list
=no
9198 rm -f core conftest.err conftest.
$ac_objext \
9199 conftest
$ac_exeext conftest.
$ac_ext
9200 LDFLAGS
="$save_LDFLAGS"
9203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9204 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9206 $as_echo_n "checking for -force_load linker flag... " >&6; }
9207 if ${lt_cv_ld_force_load+:} false
; then :
9208 $as_echo_n "(cached) " >&6
9210 lt_cv_ld_force_load
=no
9211 cat > conftest.c
<< _LT_EOF
9212 int forced_loaded() { return 2;}
9214 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9215 $LTCC $LTCFLAGS -c -o conftest.o conftest.c
2>&5
9216 echo "$AR cru libconftest.a conftest.o" >&5
9217 $AR cru libconftest.a conftest.o
2>&5
9218 cat > conftest.c
<< _LT_EOF
9219 int main() { return 0;}
9221 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9222 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c
-Wl,-force_load,.
/libconftest.a
2>conftest.err
9224 if test -f conftest
&& test ! -s conftest.err
&& test $_lt_result = 0 && $GREP forced_load conftest
2>&1 >/dev
/null
; then
9225 lt_cv_ld_force_load
=yes
9227 cat conftest.err
>&5
9229 rm -f conftest.err libconftest.a conftest conftest.c
9230 rm -rf conftest.dSYM
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9234 $as_echo "$lt_cv_ld_force_load" >&6; }
9235 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
9236 # build without first building modern cctools / linker.
9237 case $host_cpu-$host_os in
9238 *-rhapsody* |
*-darwin1.
[012])
9239 _lt_dar_allow_undefined
='${wl}-undefined ${wl}suppress' ;;
9241 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9243 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
9244 # deployment target is forced to an earlier version.
9245 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
9246 UNSET
,*-darwin[89]*|UNSET
,*-darwin[12][0123456789]*)
9249 _lt_dar_allow_undefined
='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
9256 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9257 _lt_dar_single_mod
='$single_module'
9259 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9260 _lt_dar_export_syms
=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9262 _lt_dar_export_syms
='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
9264 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
9265 _lt_dsymutil
='~$DSYMUTIL $lib || :'
9272 for ac_header
in dlfcn.h
9274 ac_fn_c_check_header_compile
"$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
9276 if test "x$ac_cv_header_dlfcn_h" = xyes
; then :
9277 cat >>confdefs.h
<<_ACEOF
9278 #define HAVE_DLFCN_H 1
9297 # Check whether --enable-shared was given.
9298 if test "${enable_shared+set}" = set; then :
9299 enableval
=$enable_shared; p
=${PACKAGE-default}
9301 yes) enable_shared
=yes ;;
9302 no
) enable_shared
=no
;;
9305 # Look at the argument we got. We use all the common list separators.
9306 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9307 for pkg
in $enableval; do
9309 if test "X$pkg" = "X$p"; then
9328 # Check whether --enable-static was given.
9329 if test "${enable_static+set}" = set; then :
9330 enableval
=$enable_static; p
=${PACKAGE-default}
9332 yes) enable_static
=yes ;;
9333 no
) enable_static
=no
;;
9336 # Look at the argument we got. We use all the common list separators.
9337 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9338 for pkg
in $enableval; do
9340 if test "X$pkg" = "X$p"; then
9360 # Check whether --with-pic was given.
9361 if test "${with_pic+set}" = set; then :
9362 withval
=$with_pic; pic_mode
="$withval"
9368 test -z "$pic_mode" && pic_mode
=default
9376 # Check whether --enable-fast-install was given.
9377 if test "${enable_fast_install+set}" = set; then :
9378 enableval
=$enable_fast_install; p
=${PACKAGE-default}
9380 yes) enable_fast_install
=yes ;;
9381 no
) enable_fast_install
=no
;;
9383 enable_fast_install
=no
9384 # Look at the argument we got. We use all the common list separators.
9385 lt_save_ifs
="$IFS"; IFS
="${IFS}$PATH_SEPARATOR,"
9386 for pkg
in $enableval; do
9388 if test "X$pkg" = "X$p"; then
9389 enable_fast_install
=yes
9396 enable_fast_install
=yes
9409 # This can be used to rebuild libtool when needed
9410 LIBTOOL_DEPS
="$ltmain"
9412 # Always use our own libtool.
9413 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
9440 test -z "$LN_S" && LN_S
="ln -s"
9455 if test -n "${ZSH_VERSION+set}" ; then
9456 setopt NO_GLOB_SUBST
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
9460 $as_echo_n "checking for objdir... " >&6; }
9461 if ${lt_cv_objdir+:} false
; then :
9462 $as_echo_n "(cached) " >&6
9464 rm -f .libs
2>/dev
/null
9465 mkdir .libs
2>/dev
/null
9466 if test -d .libs
; then
9469 # MS-DOS does not allow filenames that begin with a dot.
9472 rmdir .libs
2>/dev
/null
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
9475 $as_echo "$lt_cv_objdir" >&6; }
9476 objdir
=$lt_cv_objdir
9482 cat >>confdefs.h
<<_ACEOF
9483 #define LT_OBJDIR "$lt_cv_objdir/"
9491 # AIX sometimes has problems with the GCC collect2 program. For some
9492 # reason, if we set the COLLECT_NAMES environment variable, the problems
9493 # vanish in a puff of smoke.
9494 if test "X${COLLECT_NAMES+set}" != Xset
; then
9496 export COLLECT_NAMES
9503 can_build_shared
=yes
9505 # All known linkers require a `.a' archive for static linking (except MSVC,
9506 # which needs '.lib').
9509 with_gnu_ld
="$lt_cv_prog_gnu_ld"
9512 old_CFLAGS
="$CFLAGS"
9514 # Set sane defaults for various variables
9515 test -z "$CC" && CC
=cc
9516 test -z "$LTCC" && LTCC
=$CC
9517 test -z "$LTCFLAGS" && LTCFLAGS
=$CFLAGS
9518 test -z "$LD" && LD
=ld
9519 test -z "$ac_objext" && ac_objext
=o
9521 for cc_temp
in $compiler""; do
9523 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
9524 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
9529 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9532 # Only perform the check for file, if the check method requires it
9533 test -z "$MAGIC_CMD" && MAGIC_CMD
=file
9534 case $deplibs_check_method in
9536 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
9538 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9539 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9540 $as_echo_n "(cached) " >&6
9544 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9547 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9548 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9549 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9550 for ac_dir
in $ac_dummy; do
9552 test -z "$ac_dir" && ac_dir
=.
9553 if test -f $ac_dir/${ac_tool_prefix}file; then
9554 lt_cv_path_MAGIC_CMD
="$ac_dir/${ac_tool_prefix}file"
9555 if test -n "$file_magic_test_file"; then
9556 case $deplibs_check_method in
9558 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9559 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9560 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9561 $EGREP "$file_magic_regex" > /dev
/null
; then
9566 *** Warning: the command libtool uses to detect shared libraries,
9567 *** $file_magic_cmd, produces output that libtool cannot recognize.
9568 *** The result is that libtool may fail to recognize shared libraries
9569 *** as such. This will affect the creation of libtool libraries that
9570 *** depend on shared libraries, but programs linked with such libtool
9571 *** libraries will work regardless of this problem. Nevertheless, you
9572 *** may want to report the problem to your system manager and/or to
9573 *** bug-libtool@gnu.org
9583 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9588 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9589 if test -n "$MAGIC_CMD"; then
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9591 $as_echo "$MAGIC_CMD" >&6; }
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9594 $as_echo "no" >&6; }
9601 if test -z "$lt_cv_path_MAGIC_CMD"; then
9602 if test -n "$ac_tool_prefix"; then
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
9604 $as_echo_n "checking for file... " >&6; }
9605 if ${lt_cv_path_MAGIC_CMD+:} false
; then :
9606 $as_echo_n "(cached) " >&6
9610 lt_cv_path_MAGIC_CMD
="$MAGIC_CMD" # Let the user override the test with a path.
9613 lt_save_MAGIC_CMD
="$MAGIC_CMD"
9614 lt_save_ifs
="$IFS"; IFS
=$PATH_SEPARATOR
9615 ac_dummy
="/usr/bin$PATH_SEPARATOR$PATH"
9616 for ac_dir
in $ac_dummy; do
9618 test -z "$ac_dir" && ac_dir
=.
9619 if test -f $ac_dir/file; then
9620 lt_cv_path_MAGIC_CMD
="$ac_dir/file"
9621 if test -n "$file_magic_test_file"; then
9622 case $deplibs_check_method in
9624 file_magic_regex
=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9625 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9626 if eval $file_magic_cmd \
$file_magic_test_file 2> /dev
/null |
9627 $EGREP "$file_magic_regex" > /dev
/null
; then
9632 *** Warning: the command libtool uses to detect shared libraries,
9633 *** $file_magic_cmd, produces output that libtool cannot recognize.
9634 *** The result is that libtool may fail to recognize shared libraries
9635 *** as such. This will affect the creation of libtool libraries that
9636 *** depend on shared libraries, but programs linked with such libtool
9637 *** libraries will work regardless of this problem. Nevertheless, you
9638 *** may want to report the problem to your system manager and/or to
9639 *** bug-libtool@gnu.org
9649 MAGIC_CMD
="$lt_save_MAGIC_CMD"
9654 MAGIC_CMD
="$lt_cv_path_MAGIC_CMD"
9655 if test -n "$MAGIC_CMD"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9657 $as_echo "$MAGIC_CMD" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9673 # Use C for the default configuration in the libtool script
9677 ac_cpp
='$CPP $CPPFLAGS'
9678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
9683 # Source file extension for C test sources.
9686 # Object file extension for compiled C test sources.
9690 # Code to be used in simple compile tests
9691 lt_simple_compile_test_code
="int some_variable = 0;"
9693 # Code to be used in simple link tests
9694 lt_simple_link_test_code
='int main(){return(0);}'
9702 # If no C compiler was specified, use CC.
9705 # If no C compiler flags were specified, use CFLAGS.
9706 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
9708 # Allow CC to be a program name with arguments.
9711 # Save the default compiler, since it gets overwritten when the other
9712 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9713 compiler_DEFAULT
=$CC
9715 # save warnings/boilerplate of simple test code
9716 ac_outfile
=conftest.
$ac_objext
9717 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
9718 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9719 _lt_compiler_boilerplate
=`cat conftest.err`
9722 ac_outfile
=conftest.
$ac_objext
9723 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
9724 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
9725 _lt_linker_boilerplate
=`cat conftest.err`
9730 ## There is no encapsulation within the following macros, do not change
9731 ## the running order or otherwise move them around unless you know exactly
9732 ## what you are doing...
9733 if test -n "$compiler"; then
9735 lt_prog_compiler_no_builtin_flag
=
9737 if test "$GCC" = yes; then
9738 case $cc_basename in
9740 lt_prog_compiler_no_builtin_flag
=' -Xcompiler -fno-builtin' ;;
9742 lt_prog_compiler_no_builtin_flag
=' -fno-builtin' ;;
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9746 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9747 if ${lt_cv_prog_compiler_rtti_exceptions+:} false
; then :
9748 $as_echo_n "(cached) " >&6
9750 lt_cv_prog_compiler_rtti_exceptions
=no
9751 ac_outfile
=conftest.
$ac_objext
9752 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
9753 lt_compiler_flag
="-fno-rtti -fno-exceptions"
9754 # Insert the option either (1) after the last *FLAGS variable, or
9755 # (2) before a word containing "conftest.", or (3) at the end.
9756 # Note that $ac_compile itself does not contain backslashes and begins
9757 # with a dollar sign (not a hyphen), so the echo should work correctly.
9758 # The option is referenced via a variable to avoid confusing sed.
9759 lt_compile
=`echo "$ac_compile" | $SED \
9760 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9761 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9762 -e 's:$: $lt_compiler_flag:'`
9763 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9764 (eval "$lt_compile" 2>conftest.err
)
9766 cat conftest.err
>&5
9767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9768 if (exit $ac_status) && test -s "$ac_outfile"; then
9769 # The compiler can only warn and ignore the option if not recognized
9770 # So say no if there are warnings other than the usual output.
9771 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
9772 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
9773 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
9774 lt_cv_prog_compiler_rtti_exceptions
=yes
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9781 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9783 if test x
"$lt_cv_prog_compiler_rtti_exceptions" = xyes
; then
9784 lt_prog_compiler_no_builtin_flag
="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9796 lt_prog_compiler_wl
=
9797 lt_prog_compiler_pic
=
9798 lt_prog_compiler_static
=
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9801 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9803 if test "$GCC" = yes; then
9804 lt_prog_compiler_wl
='-Wl,'
9805 lt_prog_compiler_static
='-static'
9809 # All AIX code is PIC.
9810 if test "$host_cpu" = ia64
; then
9811 # AIX 5 now supports IA64 processor
9812 lt_prog_compiler_static
='-Bstatic'
9814 lt_prog_compiler_pic
='-fPIC'
9820 # see comment about AmigaOS4 .so support
9821 lt_prog_compiler_pic
='-fPIC'
9824 # FIXME: we need at least 68020 code to build shared libraries, but
9825 # adding the `-m68020' flag to GCC prevents building anything better,
9827 lt_prog_compiler_pic
='-m68020 -resident32 -malways-restore-a4'
9832 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
9833 # PIC is the default for these OSes.
9836 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9837 # This hack is so that the source file can tell whether it is being
9838 # built for inclusion in a dll (and should export symbols for example).
9839 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9840 # (--disable-auto-import) libraries
9841 lt_prog_compiler_pic
='-DDLL_EXPORT'
9844 darwin
* | rhapsody
*)
9845 # PIC is the default on this platform
9846 # Common symbols not allowed in MH_DYLIB files
9847 lt_prog_compiler_pic
='-fno-common'
9851 # PIC is the default for Haiku.
9852 # The "-static" flag exists, but is broken.
9853 lt_prog_compiler_static
=
9857 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9858 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9859 # sets the default TLS model and affects inlining.
9865 lt_prog_compiler_pic
='-fPIC'
9871 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9872 # Instead, we relocate shared libraries at runtime.
9876 # Just because we use GCC doesn't mean we suddenly get shared libraries
9877 # on systems that don't support them.
9878 lt_prog_compiler_can_build_shared
=no
9883 # QNX uses GNU C++, but need to define -shared option too, otherwise
9885 lt_prog_compiler_pic
='-fPIC -shared'
9889 if test -d /usr
/nec
; then
9890 lt_prog_compiler_pic
=-Kconform_pic
9895 lt_prog_compiler_pic
='-fPIC'
9899 case $cc_basename in
9900 nvcc
*) # Cuda Compiler Driver 2.2
9901 lt_prog_compiler_wl
='-Xlinker '
9902 lt_prog_compiler_pic
='-Xcompiler -fPIC'
9906 # PORTME Check for flag to pass linker flags through the system compiler.
9909 lt_prog_compiler_wl
='-Wl,'
9910 if test "$host_cpu" = ia64
; then
9911 # AIX 5 now supports IA64 processor
9912 lt_prog_compiler_static
='-Bstatic'
9914 lt_prog_compiler_static
='-bnso -bI:/lib/syscalls.exp'
9918 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
9919 # This hack is so that the source file can tell whether it is being
9920 # built for inclusion in a dll (and should export symbols for example).
9921 lt_prog_compiler_pic
='-DDLL_EXPORT'
9924 hpux9
* | hpux10
* | hpux11
*)
9925 lt_prog_compiler_wl
='-Wl,'
9926 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9933 lt_prog_compiler_pic
='+Z'
9936 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9937 lt_prog_compiler_static
='${wl}-a ${wl}archive'
9940 irix5
* | irix6
* | nonstopux
*)
9941 lt_prog_compiler_wl
='-Wl,'
9942 # PIC (with -KPIC) is the default.
9943 lt_prog_compiler_static
='-non_shared'
9946 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
9947 case $cc_basename in
9948 # old Intel for x86_64 which still supported -KPIC.
9950 lt_prog_compiler_wl
='-Wl,'
9951 lt_prog_compiler_pic
='-KPIC'
9952 lt_prog_compiler_static
='-static'
9954 # icc used to be incompatible with GCC.
9955 # ICC 10 doesn't accept -KPIC any more.
9957 lt_prog_compiler_wl
='-Wl,'
9958 lt_prog_compiler_pic
='-fPIC'
9959 lt_prog_compiler_static
='-static'
9961 # Lahey Fortran 8.1.
9963 lt_prog_compiler_wl
='-Wl,'
9964 lt_prog_compiler_pic
='--shared'
9965 lt_prog_compiler_static
='--static'
9967 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
9968 # Portland Group compilers (*not* the Pentium gcc compiler,
9969 # which looks to be a dead project)
9970 lt_prog_compiler_wl
='-Wl,'
9971 lt_prog_compiler_pic
='-fpic'
9972 lt_prog_compiler_static
='-Bstatic'
9975 lt_prog_compiler_wl
='-Wl,'
9976 # All Alpha code is PIC.
9977 lt_prog_compiler_static
='-non_shared'
9979 xl
* | bgxl
* | bgf
* | mpixl
*)
9980 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9981 lt_prog_compiler_wl
='-Wl,'
9982 lt_prog_compiler_pic
='-qpic'
9983 lt_prog_compiler_static
='-qstaticlink'
9986 case `$CC -V 2>&1 | sed 5q` in
9987 *Sun\ F
* |
*Sun
*Fortran
*)
9988 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9989 lt_prog_compiler_pic
='-KPIC'
9990 lt_prog_compiler_static
='-Bstatic'
9991 lt_prog_compiler_wl
=''
9995 lt_prog_compiler_pic
='-KPIC'
9996 lt_prog_compiler_static
='-Bstatic'
9997 lt_prog_compiler_wl
='-Wl,'
10005 lt_prog_compiler_pic
='-KPIC'
10006 lt_prog_compiler_static
='-Bstatic'
10010 # QNX uses GNU C++, but need to define -shared option too, otherwise
10011 # it will coredump.
10012 lt_prog_compiler_pic
='-fPIC -shared'
10015 osf3
* | osf4
* | osf5
*)
10016 lt_prog_compiler_wl
='-Wl,'
10017 # All OSF/1 code is PIC.
10018 lt_prog_compiler_static
='-non_shared'
10022 lt_prog_compiler_static
='-non_shared'
10026 lt_prog_compiler_pic
='-KPIC'
10027 lt_prog_compiler_static
='-Bstatic'
10028 case $cc_basename in
10029 f77
* | f90
* | f95
*)
10030 lt_prog_compiler_wl
='-Qoption ld ';;
10032 lt_prog_compiler_wl
='-Wl,';;
10037 lt_prog_compiler_wl
='-Qoption ld '
10038 lt_prog_compiler_pic
='-PIC'
10039 lt_prog_compiler_static
='-Bstatic'
10042 sysv4 | sysv4.2uw2
* | sysv4.3
*)
10043 lt_prog_compiler_wl
='-Wl,'
10044 lt_prog_compiler_pic
='-KPIC'
10045 lt_prog_compiler_static
='-Bstatic'
10049 if test -d /usr
/nec
;then
10050 lt_prog_compiler_pic
='-Kconform_pic'
10051 lt_prog_compiler_static
='-Bstatic'
10055 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
10056 lt_prog_compiler_wl
='-Wl,'
10057 lt_prog_compiler_pic
='-KPIC'
10058 lt_prog_compiler_static
='-Bstatic'
10062 lt_prog_compiler_wl
='-Wl,'
10063 lt_prog_compiler_can_build_shared
=no
10067 lt_prog_compiler_pic
='-pic'
10068 lt_prog_compiler_static
='-Bstatic'
10072 lt_prog_compiler_can_build_shared
=no
10078 # For platforms which do not support PIC, -DPIC is meaningless:
10080 lt_prog_compiler_pic
=
10083 lt_prog_compiler_pic
="$lt_prog_compiler_pic -DPIC"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
10087 $as_echo "$lt_prog_compiler_pic" >&6; }
10095 # Check to make sure the PIC flag actually works.
10097 if test -n "$lt_prog_compiler_pic"; then
10098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10099 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10100 if ${lt_cv_prog_compiler_pic_works+:} false
; then :
10101 $as_echo_n "(cached) " >&6
10103 lt_cv_prog_compiler_pic_works
=no
10104 ac_outfile
=conftest.
$ac_objext
10105 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10106 lt_compiler_flag
="$lt_prog_compiler_pic -DPIC"
10107 # Insert the option either (1) after the last *FLAGS variable, or
10108 # (2) before a word containing "conftest.", or (3) at the end.
10109 # Note that $ac_compile itself does not contain backslashes and begins
10110 # with a dollar sign (not a hyphen), so the echo should work correctly.
10111 # The option is referenced via a variable to avoid confusing sed.
10112 lt_compile
=`echo "$ac_compile" | $SED \
10113 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10114 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10115 -e 's:$: $lt_compiler_flag:'`
10116 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10117 (eval "$lt_compile" 2>conftest.err
)
10119 cat conftest.err
>&5
10120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10121 if (exit $ac_status) && test -s "$ac_outfile"; then
10122 # The compiler can only warn and ignore the option if not recognized
10123 # So say no if there are warnings other than the usual output.
10124 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
10125 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10126 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
10127 lt_cv_prog_compiler_pic_works
=yes
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
10134 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
10136 if test x
"$lt_cv_prog_compiler_pic_works" = xyes
; then
10137 case $lt_prog_compiler_pic in
10139 *) lt_prog_compiler_pic
=" $lt_prog_compiler_pic" ;;
10142 lt_prog_compiler_pic
=
10143 lt_prog_compiler_can_build_shared
=no
10154 # Check to make sure the static flag actually works.
10156 wl
=$lt_prog_compiler_wl eval lt_tmp_static_flag
=\"$lt_prog_compiler_static\"
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
10158 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
10159 if ${lt_cv_prog_compiler_static_works+:} false
; then :
10160 $as_echo_n "(cached) " >&6
10162 lt_cv_prog_compiler_static_works
=no
10163 save_LDFLAGS
="$LDFLAGS"
10164 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
10165 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
10166 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
10167 # The linker can only warn and ignore the option if not recognized
10168 # So say no if there are warnings
10169 if test -s conftest.err
; then
10170 # Append any errors to the config.log.
10171 cat conftest.err
1>&5
10172 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
10173 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
10174 if diff conftest.exp conftest.er2
>/dev
/null
; then
10175 lt_cv_prog_compiler_static_works
=yes
10178 lt_cv_prog_compiler_static_works
=yes
10182 LDFLAGS
="$save_LDFLAGS"
10185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
10186 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
10188 if test x
"$lt_cv_prog_compiler_static_works" = xyes
; then
10191 lt_prog_compiler_static
=
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10201 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10202 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10203 $as_echo_n "(cached) " >&6
10205 lt_cv_prog_compiler_c_o
=no
10206 $RM -r conftest
2>/dev
/null
10210 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10212 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10213 # Insert the option either (1) after the last *FLAGS variable, or
10214 # (2) before a word containing "conftest.", or (3) at the end.
10215 # Note that $ac_compile itself does not contain backslashes and begins
10216 # with a dollar sign (not a hyphen), so the echo should work correctly.
10217 lt_compile
=`echo "$ac_compile" | $SED \
10218 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10219 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10220 -e 's:$: $lt_compiler_flag:'`
10221 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10222 (eval "$lt_compile" 2>out
/conftest.err
)
10224 cat out
/conftest.err
>&5
10225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10226 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10228 # The compiler can only warn and ignore the option if not recognized
10229 # So say no if there are warnings
10230 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10231 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10232 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10233 lt_cv_prog_compiler_c_o
=yes
10238 # SGI C++ compiler will create directory out/ii_files/ for
10239 # template instantiation
10240 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10241 $RM out
/* && rmdir out
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10248 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
10256 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
10257 if ${lt_cv_prog_compiler_c_o+:} false
; then :
10258 $as_echo_n "(cached) " >&6
10260 lt_cv_prog_compiler_c_o
=no
10261 $RM -r conftest
2>/dev
/null
10265 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
10267 lt_compiler_flag
="-o out/conftest2.$ac_objext"
10268 # Insert the option either (1) after the last *FLAGS variable, or
10269 # (2) before a word containing "conftest.", or (3) at the end.
10270 # Note that $ac_compile itself does not contain backslashes and begins
10271 # with a dollar sign (not a hyphen), so the echo should work correctly.
10272 lt_compile
=`echo "$ac_compile" | $SED \
10273 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10274 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10275 -e 's:$: $lt_compiler_flag:'`
10276 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10277 (eval "$lt_compile" 2>out
/conftest.err
)
10279 cat out
/conftest.err
>&5
10280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
10283 # The compiler can only warn and ignore the option if not recognized
10284 # So say no if there are warnings
10285 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
10286 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
10287 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
10288 lt_cv_prog_compiler_c_o
=yes
10293 # SGI C++ compiler will create directory out/ii_files/ for
10294 # template instantiation
10295 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
10296 $RM out
/* && rmdir out
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
10303 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
10308 hard_links
="nottested"
10309 if test "$lt_cv_prog_compiler_c_o" = no
&& test "$need_locks" != no
; then
10310 # do not overwrite the value of need_locks provided by the user
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
10312 $as_echo_n "checking if we can lock with hard links... " >&6; }
10315 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10317 ln conftest.a conftest.b
2>&5 || hard_links
=no
10318 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
10320 $as_echo "$hard_links" >&6; }
10321 if test "$hard_links" = no
; then
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10323 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10336 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
10339 allow_undefined_flag
=
10340 always_export_symbols
=no
10342 archive_expsym_cmds
=
10343 compiler_needs_object
=no
10344 enable_shared_with_static_runtimes
=no
10345 export_dynamic_flag_spec
=
10346 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10347 hardcode_automatic
=no
10349 hardcode_direct_absolute
=no
10350 hardcode_libdir_flag_spec
=
10351 hardcode_libdir_flag_spec_ld
=
10352 hardcode_libdir_separator
=
10353 hardcode_minus_L
=no
10354 hardcode_shlibpath_var
=unsupported
10356 link_all_deplibs
=unknown
10358 module_expsym_cmds
=
10359 old_archive_from_new_cmds
=
10360 old_archive_from_expsyms_cmds
=
10361 thread_safe_flag_spec
=
10362 whole_archive_flag_spec
=
10363 # include_expsyms should be a list of space-separated symbols to be *always*
10364 # included in the symbol list
10366 # exclude_expsyms can be an extended regexp of symbols to exclude
10367 # it will be wrapped by ` (' and `)$', so one must not match beginning or
10368 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
10369 # as well as any symbol that contains `d'.
10370 exclude_expsyms
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
10371 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
10372 # platforms (ab)use it in PIC code, but their linkers get confused if
10373 # the symbol is explicitly referenced. Since portable code cannot
10374 # rely on this symbol name, it's probably fine to never include it in
10375 # preloaded symbol tables.
10376 # Exclude shared library initialization/finalization symbols.
10377 extract_expsyms_cmds
=
10380 cygwin
* | mingw
* | pw32
* | cegcc
*)
10381 # FIXME: the MSVC++ port hasn't been tested in a loooong time
10382 # When not using gcc, we currently assume that we are using
10383 # Microsoft Visual C++.
10384 if test "$GCC" != yes; then
10389 # we just hope/assume this is gcc and not c89 (= MSVC++)
10399 # On some targets, GNU ld is compatible enough with the native linker
10400 # that we're better off using the native interface for both.
10401 lt_use_gnu_ld_interface
=no
10402 if test "$with_gnu_ld" = yes; then
10405 # The AIX port of GNU ld has always aspired to compatibility
10406 # with the native linker. However, as the warning in the GNU ld
10407 # block says, versions before 2.19.5* couldn't really create working
10408 # shared libraries, regardless of the interface used.
10409 case `$LD -v 2>&1` in
10410 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
10411 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
10412 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
10414 lt_use_gnu_ld_interface
=yes
10419 lt_use_gnu_ld_interface
=yes
10424 if test "$lt_use_gnu_ld_interface" = yes; then
10425 # If archive_cmds runs LD, not CC, wlarc should be empty
10428 # Set some defaults for GNU ld with shared library support. These
10429 # are reset later if shared libraries are not supported. Putting them
10430 # here allows them to be overridden if necessary.
10431 runpath_var
=LD_RUN_PATH
10432 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10433 export_dynamic_flag_spec
='${wl}--export-dynamic'
10434 # ancient GNU ld didn't support --whole-archive et. al.
10435 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
10436 whole_archive_flag_spec
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
10438 whole_archive_flag_spec
=
10440 supports_anon_versioning
=no
10441 case `$LD -v 2>&1` in
10442 *GNU\ gold
*) supports_anon_versioning
=yes ;;
10443 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
10444 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
10445 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
10446 *\
2.11.
*) ;; # other 2.11 versions
10447 *) supports_anon_versioning
=yes ;;
10450 # See if GNU ld supports shared libraries.
10453 # On AIX/PPC, the GNU linker is very broken
10454 if test "$host_cpu" != ia64
; then
10458 *** Warning: the GNU linker, at least up to release 2.19, is reported
10459 *** to be unable to reliably create shared libraries on AIX.
10460 *** Therefore, libtool is disabling shared libraries support. If you
10461 *** really care for shared libraries, you may want to install binutils
10462 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
10463 *** You will then need to restart the configuration process.
10472 # see comment about AmigaOS4 .so support
10473 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10474 archive_expsym_cmds
=''
10477 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)'
10478 hardcode_libdir_flag_spec
='-L$libdir'
10479 hardcode_minus_L
=yes
10485 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10486 allow_undefined_flag
=unsupported
10487 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
10488 # support --undefined. This deserves some investigation. FIXME
10489 archive_cmds
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10495 cygwin
* | mingw
* | pw32
* | cegcc
*)
10496 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
10497 # as there is no search path for DLLs.
10498 hardcode_libdir_flag_spec
='-L$libdir'
10499 export_dynamic_flag_spec
='${wl}--export-all-symbols'
10500 allow_undefined_flag
=unsupported
10501 always_export_symbols
=no
10502 enable_shared_with_static_runtimes
=yes
10503 export_symbols_cmds
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10505 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
10506 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10507 # If the export-symbols file already is a .def file (1st line
10508 # is EXPORTS), use it as is; otherwise, prepend...
10509 archive_expsym_cmds
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10510 cp $export_symbols $output_objdir/$soname.def;
10512 echo EXPORTS > $output_objdir/$soname.def;
10513 cat $export_symbols >> $output_objdir/$soname.def;
10515 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
10522 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10523 link_all_deplibs
=yes
10528 hardcode_shlibpath_var
=no
10529 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
10530 export_dynamic_flag_spec
='${wl}-E'
10531 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
10532 # Instead, shared libraries are loaded at an image base (0x10000000 by
10533 # default) and relocated if they conflict, which is a slow very memory
10534 # consuming and fragmenting process. To avoid this, we pick a random,
10535 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
10536 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
10537 archive_cmds
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
10538 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'
10541 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
10543 if test "$host_os" = linux-dietlibc
; then
10544 case $cc_basename in
10545 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
10548 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
10549 && test "$tmp_diet" = no
10551 tmp_addflag
=' $pic_flag'
10552 tmp_sharedflag
='-shared'
10553 case $cc_basename,$host_cpu in
10554 pgcc
*) # Portland Group C compiler
10555 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'
10556 tmp_addflag
=' $pic_flag'
10558 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
10559 # Portland Group f77 and f90 compilers
10560 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'
10561 tmp_addflag
=' $pic_flag -Mnomain' ;;
10562 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
10563 tmp_addflag
=' -i_dynamic' ;;
10564 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
10565 tmp_addflag
=' -i_dynamic -nofor_main' ;;
10566 ifc
* | ifort
*) # Intel Fortran compiler
10567 tmp_addflag
=' -nofor_main' ;;
10568 lf95
*) # Lahey Fortran 8.1
10569 whole_archive_flag_spec
=
10570 tmp_sharedflag
='--shared' ;;
10571 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
10572 tmp_sharedflag
='-qmkshrobj'
10574 nvcc
*) # Cuda Compiler Driver 2.2
10575 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'
10576 compiler_needs_object
=yes
10579 case `$CC -V 2>&1 | sed 5q` in
10580 *Sun\ C
*) # Sun C 5.9
10581 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'
10582 compiler_needs_object
=yes
10583 tmp_sharedflag
='-G' ;;
10584 *Sun\ F
*) # Sun Fortran 8.3
10585 tmp_sharedflag
='-G' ;;
10587 archive_cmds
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10589 if test "x$supports_anon_versioning" = xyes
; then
10590 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10591 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10592 echo "local: *; };" >> $output_objdir/$libname.ver~
10593 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
10596 case $cc_basename in
10597 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
10598 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
10599 whole_archive_flag_spec
='--whole-archive$convenience --no-whole-archive'
10600 hardcode_libdir_flag_spec
=
10601 hardcode_libdir_flag_spec_ld
='-rpath $libdir'
10602 archive_cmds
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
10603 if test "x$supports_anon_versioning" = xyes
; then
10604 archive_expsym_cmds
='echo "{ global:" > $output_objdir/$libname.ver~
10605 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
10606 echo "local: *; };" >> $output_objdir/$libname.ver~
10607 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
10617 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
10618 archive_cmds
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10621 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10622 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10627 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
10631 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10632 *** create shared libraries on Solaris systems. Therefore, libtool
10633 *** is disabling shared libraries support. We urge you to upgrade GNU
10634 *** binutils to release 2.9.1 or newer. Another option is to modify
10635 *** your PATH or compiler configuration so that the native linker is
10636 *** used, and then restart.
10639 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10640 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10641 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10647 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
10648 case `$LD -v 2>&1` in
10649 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
10653 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10654 *** reliably create shared libraries on SCO systems. Therefore, libtool
10655 *** is disabling shared libraries support. We urge you to upgrade GNU
10656 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10657 *** your PATH or compiler configuration so that the native linker is
10658 *** used, and then restart.
10663 # For security reasons, it is highly recommended that you always
10664 # use absolute paths for naming shared libraries, and exclude the
10665 # DT_RUNPATH tag from executables and libraries. But doing so
10666 # requires that you compile everything twice, which is a pain.
10667 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10668 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
10669 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10670 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10679 archive_cmds
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_direct
=yes
10682 hardcode_shlibpath_var
=no
10686 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
10687 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10688 archive_expsym_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10695 if test "$ld_shlibs" = no
; then
10697 hardcode_libdir_flag_spec
=
10698 export_dynamic_flag_spec
=
10699 whole_archive_flag_spec
=
10702 # PORTME fill in a description of your system's linker (not GNU ld)
10705 allow_undefined_flag
=unsupported
10706 always_export_symbols
=yes
10707 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'
10708 # Note: this linker hardcodes the directories in LIBPATH if there
10709 # are no directories specified by -L.
10710 hardcode_minus_L
=yes
10711 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10712 # Neither direct hardcoding nor static linking is supported with a
10714 hardcode_direct
=unsupported
10719 if test "$host_cpu" = ia64
; then
10720 # On IA64, the linker does run time linking by default, so we don't
10721 # have to do anything special.
10722 aix_use_runtimelinking
=no
10723 exp_sym_flag
='-Bexport'
10726 # If we're using GNU nm, then we don't want the "-C" option.
10727 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10728 # Also, AIX nm treats weak defined symbols like other global
10729 # defined symbols, whereas GNU nm marks them as "W".
10730 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
10731 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'
10733 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'
10735 aix_use_runtimelinking
=no
10737 # Test if we are trying to use run time linking or normal
10738 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10739 # need to do runtime linking.
10740 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
10741 for ld_flag
in $LDFLAGS; do
10742 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
10743 aix_use_runtimelinking
=yes
10750 exp_sym_flag
='-bexport'
10751 no_entry_flag
='-bnoentry'
10754 # When large executables or shared objects are built, AIX ld can
10755 # have problems creating the table of contents. If linking a library
10756 # or program results in "error TOC overflow" add -mminimal-toc to
10757 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10758 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10761 hardcode_direct
=yes
10762 hardcode_direct_absolute
=yes
10763 hardcode_libdir_separator
=':'
10764 link_all_deplibs
=yes
10765 file_list_spec
='${wl}-f,'
10767 if test "$GCC" = yes; then
10768 case $host_os in aix4.
[012]|aix4.
[012].
*)
10769 # We only want to do this on AIX 4.2 and lower, the check
10770 # below for broken collect2 doesn't work under 4.3+
10771 collect2name
=`${CC} -print-prog-name=collect2`
10772 if test -f "$collect2name" &&
10773 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
10775 # We have reworked collect2
10778 # We have old collect2
10779 hardcode_direct
=unsupported
10780 # It fails to find uninstalled libraries when the uninstalled
10781 # path is not listed in the libpath. Setting hardcode_minus_L
10782 # to unsupported forces relinking
10783 hardcode_minus_L
=yes
10784 hardcode_libdir_flag_spec
='-L$libdir'
10785 hardcode_libdir_separator
=
10789 shared_flag
='-shared'
10790 if test "$aix_use_runtimelinking" = yes; then
10791 shared_flag
="$shared_flag "'${wl}-G'
10795 if test "$host_cpu" = ia64
; then
10796 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10797 # chokes on -Wl,-G. The following line is correct:
10800 if test "$aix_use_runtimelinking" = yes; then
10801 shared_flag
='${wl}-G'
10803 shared_flag
='${wl}-bM:SRE'
10808 export_dynamic_flag_spec
='${wl}-bexpall'
10809 # It seems that -bexpall does not export symbols beginning with
10810 # underscore (_), so it is better to generate a list of symbols to export.
10811 always_export_symbols
=yes
10812 if test "$aix_use_runtimelinking" = yes; then
10813 # Warning - without using the other runtime loading flags (-brtl),
10814 # -berok will link without error, but may produce a broken library.
10815 allow_undefined_flag
='-berok'
10816 # Determine the default libpath from the value encoded in an
10817 # empty executable.
10818 if test x
$gcc_no_link = xyes
; then
10819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10822 /* end confdefs.h. */
10832 if ac_fn_c_try_link
"$LINENO"; then :
10834 lt_aix_libpath_sed
='
10835 /Import File Strings/,/^$/ {
10841 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10842 # Check for a 64-bit object if we didn't find anything.
10843 if test -z "$aix_libpath"; then
10844 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10851 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10852 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"
10854 if test "$host_cpu" = ia64
; then
10855 hardcode_libdir_flag_spec
='${wl}-R $libdir:/usr/lib:/lib'
10856 allow_undefined_flag
="-z nodefs"
10857 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"
10859 # Determine the default libpath from the value encoded in an
10860 # empty executable.
10861 if test x
$gcc_no_link = xyes
; then
10862 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10875 if ac_fn_c_try_link
"$LINENO"; then :
10877 lt_aix_libpath_sed
='
10878 /Import File Strings/,/^$/ {
10884 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10885 # Check for a 64-bit object if we didn't find anything.
10886 if test -z "$aix_libpath"; then
10887 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10890 rm -f core conftest.err conftest.
$ac_objext \
10891 conftest
$ac_exeext conftest.
$ac_ext
10892 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
10894 hardcode_libdir_flag_spec
='${wl}-blibpath:$libdir:'"$aix_libpath"
10895 # Warning - without using the other run time loading flags,
10896 # -berok will link without error, but may produce a broken library.
10897 no_undefined_flag
=' ${wl}-bernotok'
10898 allow_undefined_flag
=' ${wl}-berok'
10899 if test "$with_gnu_ld" = yes; then
10900 # We only use this code for GNU lds that support --whole-archive.
10901 whole_archive_flag_spec
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10903 # Exported symbols can be pulled into shared objects from archives
10904 whole_archive_flag_spec
='$convenience'
10906 archive_cmds_need_lc
=yes
10907 # This is similar to how AIX traditionally builds its shared libraries.
10908 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'
10916 # see comment about AmigaOS4 .so support
10917 archive_cmds
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10918 archive_expsym_cmds
=''
10921 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)'
10922 hardcode_libdir_flag_spec
='-L$libdir'
10923 hardcode_minus_L
=yes
10929 export_dynamic_flag_spec
=-rdynamic
10932 cygwin
* | mingw
* | pw32
* | cegcc
*)
10933 # When not using gcc, we currently assume that we are using
10934 # Microsoft Visual C++.
10935 # hardcode_libdir_flag_spec is actually meaningless, as there is
10936 # no search path for DLLs.
10937 hardcode_libdir_flag_spec
=' '
10938 allow_undefined_flag
=unsupported
10939 # Tell ltmain to make .lib files, not .a files.
10941 # Tell ltmain to make .dll files, not .so files.
10943 # FIXME: Setting linknames here is a bad hack.
10944 archive_cmds
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10945 # The linker will automatically build a .lib file if we build a DLL.
10946 old_archive_from_new_cmds
='true'
10947 # FIXME: Should let the user specify the lib program.
10948 old_archive_cmds
='lib -OUT:$oldlib$oldobjs$old_deplibs'
10949 fix_srcfile_path
='`cygpath -w "$srcfile"`'
10950 enable_shared_with_static_runtimes
=yes
10953 darwin
* | rhapsody
*)
10956 archive_cmds_need_lc
=no
10958 hardcode_automatic
=yes
10959 hardcode_shlibpath_var
=unsupported
10960 if test "$lt_cv_ld_force_load" = "yes"; then
10961 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\"`'
10963 whole_archive_flag_spec
=''
10965 link_all_deplibs
=yes
10966 allow_undefined_flag
="$_lt_dar_allow_undefined"
10967 case $cc_basename in
10968 ifort
*) _lt_dar_can_shared
=yes ;;
10969 *) _lt_dar_can_shared
=$GCC ;;
10971 if test "$_lt_dar_can_shared" = "yes"; then
10972 output_verbose_link_cmd
=func_echo_all
10973 archive_cmds
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10974 module_cmds
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10975 archive_expsym_cmds
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10976 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}"
10985 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10986 hardcode_libdir_flag_spec
='-L$libdir'
10987 hardcode_shlibpath_var
=no
10990 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10991 # support. Future versions do this automatically, but an explicit c++rt0.o
10992 # does not break anything, and helps significantly (at the cost of a little
10995 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10996 hardcode_libdir_flag_spec
='-R$libdir'
10997 hardcode_direct
=yes
10998 hardcode_shlibpath_var
=no
11001 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
11003 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11004 hardcode_direct
=yes
11005 hardcode_minus_L
=yes
11006 hardcode_shlibpath_var
=no
11009 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
11010 freebsd
* | dragonfly
*)
11011 archive_cmds
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
11012 hardcode_libdir_flag_spec
='-R$libdir'
11013 hardcode_direct
=yes
11014 hardcode_shlibpath_var
=no
11018 if test "$GCC" = yes; then
11019 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'
11021 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'
11023 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11024 hardcode_libdir_separator
=:
11025 hardcode_direct
=yes
11027 # hardcode_minus_L: Not really in the search PATH,
11028 # but as the default location of the library.
11029 hardcode_minus_L
=yes
11030 export_dynamic_flag_spec
='${wl}-E'
11034 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11035 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11037 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11039 if test "$with_gnu_ld" = no
; then
11040 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11041 hardcode_libdir_flag_spec_ld
='+b $libdir'
11042 hardcode_libdir_separator
=:
11043 hardcode_direct
=yes
11044 hardcode_direct_absolute
=yes
11045 export_dynamic_flag_spec
='${wl}-E'
11046 # hardcode_minus_L: Not really in the search PATH,
11047 # but as the default location of the library.
11048 hardcode_minus_L
=yes
11053 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
11056 archive_cmds
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11059 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11062 archive_cmds
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11068 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11071 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
11075 # Older versions of the 11.00 compiler do not understand -b yet
11076 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
11078 $as_echo_n "checking if $CC understands -b... " >&6; }
11079 if ${lt_cv_prog_compiler__b+:} false
; then :
11080 $as_echo_n "(cached) " >&6
11082 lt_cv_prog_compiler__b
=no
11083 save_LDFLAGS
="$LDFLAGS"
11084 LDFLAGS
="$LDFLAGS -b"
11085 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
11086 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
11087 # The linker can only warn and ignore the option if not recognized
11088 # So say no if there are warnings
11089 if test -s conftest.err
; then
11090 # Append any errors to the config.log.
11091 cat conftest.err
1>&5
11092 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
11093 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
11094 if diff conftest.exp conftest.er2
>/dev
/null
; then
11095 lt_cv_prog_compiler__b
=yes
11098 lt_cv_prog_compiler__b
=yes
11102 LDFLAGS
="$save_LDFLAGS"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
11106 $as_echo "$lt_cv_prog_compiler__b" >&6; }
11108 if test x
"$lt_cv_prog_compiler__b" = xyes
; then
11109 archive_cmds
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
11111 archive_cmds
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
11117 if test "$with_gnu_ld" = no
; then
11118 hardcode_libdir_flag_spec
='${wl}+b ${wl}$libdir'
11119 hardcode_libdir_separator
=:
11124 hardcode_shlibpath_var
=no
11127 hardcode_direct
=yes
11128 hardcode_direct_absolute
=yes
11129 export_dynamic_flag_spec
='${wl}-E'
11131 # hardcode_minus_L: Not really in the search PATH,
11132 # but as the default location of the library.
11133 hardcode_minus_L
=yes
11139 irix5
* | irix6
* | nonstopux
*)
11140 if test "$GCC" = yes; then
11141 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'
11142 # Try to use the -exported_symbol ld option, if it does not
11143 # work, assume that -exports_file does not work either and
11144 # implicitly export all symbols.
11145 save_LDFLAGS
="$LDFLAGS"
11146 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
11147 if test x
$gcc_no_link = xyes
; then
11148 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11151 /* end confdefs.h. */
11154 if ac_fn_c_try_link
"$LINENO"; then :
11155 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'
11158 rm -f core conftest.err conftest.
$ac_objext \
11159 conftest
$ac_exeext conftest.
$ac_ext
11160 LDFLAGS
="$save_LDFLAGS"
11162 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'
11163 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'
11165 archive_cmds_need_lc
='no'
11166 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11167 hardcode_libdir_separator
=:
11169 link_all_deplibs
=yes
11173 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
11174 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
11176 archive_cmds
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
11178 hardcode_libdir_flag_spec
='-R$libdir'
11179 hardcode_direct
=yes
11180 hardcode_shlibpath_var
=no
11184 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11185 hardcode_direct
=yes
11186 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11187 hardcode_libdir_separator
=:
11188 hardcode_shlibpath_var
=no
11195 if test -f /usr
/libexec
/ld.so
; then
11196 hardcode_direct
=yes
11197 hardcode_shlibpath_var
=no
11198 hardcode_direct_absolute
=yes
11199 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11200 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11201 archive_expsym_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
11202 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11203 export_dynamic_flag_spec
='${wl}-E'
11206 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
11207 archive_cmds
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11208 hardcode_libdir_flag_spec
='-R$libdir'
11211 archive_cmds
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
11212 hardcode_libdir_flag_spec
='${wl}-rpath,$libdir'
11222 hardcode_libdir_flag_spec
='-L$libdir'
11223 hardcode_minus_L
=yes
11224 allow_undefined_flag
=unsupported
11225 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'
11226 old_archive_from_new_cmds
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
11230 if test "$GCC" = yes; then
11231 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11232 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'
11234 allow_undefined_flag
=' -expect_unresolved \*'
11235 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'
11237 archive_cmds_need_lc
='no'
11238 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11239 hardcode_libdir_separator
=:
11242 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
11243 if test "$GCC" = yes; then
11244 allow_undefined_flag
=' ${wl}-expect_unresolved ${wl}\*'
11245 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'
11246 hardcode_libdir_flag_spec
='${wl}-rpath ${wl}$libdir'
11248 allow_undefined_flag
=' -expect_unresolved \*'
11249 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'
11250 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~
11251 $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'
11253 # Both c and cxx compiler support -rpath directly
11254 hardcode_libdir_flag_spec
='-rpath $libdir'
11256 archive_cmds_need_lc
='no'
11257 hardcode_libdir_separator
=:
11261 no_undefined_flag
=' -z defs'
11262 if test "$GCC" = yes; then
11264 archive_cmds
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
11265 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11266 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11268 case `$CC -V 2>&1` in
11271 archive_cmds
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
11272 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11273 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
11277 archive_cmds
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
11278 archive_expsym_cmds
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11279 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
11283 hardcode_libdir_flag_spec
='-R$libdir'
11284 hardcode_shlibpath_var
=no
11286 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
11288 # The compiler driver will combine and reorder linker options,
11289 # but understands `-z linker_flag'. GCC discards it without `$wl',
11290 # but is careful enough not to reorder.
11291 # Supported since Solaris 2.6 (maybe 2.5.1?)
11292 if test "$GCC" = yes; then
11293 whole_archive_flag_spec
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
11295 whole_archive_flag_spec
='-z allextract$convenience -z defaultextract'
11299 link_all_deplibs
=yes
11303 if test "x$host_vendor" = xsequent
; then
11304 # Use $CC to link under sequent, because it throws in some extra .o
11305 # files that make .init and .fini sections work.
11306 archive_cmds
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
11308 archive_cmds
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
11310 hardcode_libdir_flag_spec
='-L$libdir'
11311 hardcode_direct
=yes
11312 hardcode_minus_L
=yes
11313 hardcode_shlibpath_var
=no
11317 case $host_vendor in
11319 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11320 hardcode_direct
=yes # is this really true???
11323 ## LD is ld it makes a PLAMLIB
11324 ## CC just makes a GrossModule.
11325 archive_cmds
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
11326 reload_cmds
='$CC -r -o $output$reload_objs'
11330 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11331 hardcode_direct
=no
#Motorola manual says yes, but my tests say they lie
11334 runpath_var
='LD_RUN_PATH'
11335 hardcode_shlibpath_var
=no
11339 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11340 hardcode_shlibpath_var
=no
11341 export_dynamic_flag_spec
='-Bexport'
11345 if test -d /usr
/nec
; then
11346 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11347 hardcode_shlibpath_var
=no
11348 runpath_var
=LD_RUN_PATH
11349 hardcode_runpath_var
=yes
11354 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
11355 no_undefined_flag
='${wl}-z,text'
11356 archive_cmds_need_lc
=no
11357 hardcode_shlibpath_var
=no
11358 runpath_var
='LD_RUN_PATH'
11360 if test "$GCC" = yes; then
11361 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11362 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11364 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11365 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11369 sysv5
* | sco3.2v5
* | sco5v6
*)
11370 # Note: We can NOT use -z defs as we might desire, because we do not
11371 # link with -lc, and that would cause any symbols used from libc to
11372 # always be unresolved, which means just about no library would
11373 # ever link correctly. If we're not using GNU ld we use -z text
11374 # though, which does catch some bad symbols but isn't as heavy-handed
11376 no_undefined_flag
='${wl}-z,text'
11377 allow_undefined_flag
='${wl}-z,nodefs'
11378 archive_cmds_need_lc
=no
11379 hardcode_shlibpath_var
=no
11380 hardcode_libdir_flag_spec
='${wl}-R,$libdir'
11381 hardcode_libdir_separator
=':'
11382 link_all_deplibs
=yes
11383 export_dynamic_flag_spec
='${wl}-Bexport'
11384 runpath_var
='LD_RUN_PATH'
11386 if test "$GCC" = yes; then
11387 archive_cmds
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11388 archive_expsym_cmds
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11390 archive_cmds
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11391 archive_expsym_cmds
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
11396 archive_cmds
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
11397 hardcode_libdir_flag_spec
='-L$libdir'
11398 hardcode_shlibpath_var
=no
11406 if test x
$host_vendor = xsni
; then
11408 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
11409 export_dynamic_flag_spec
='${wl}-Blargedynsym'
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
11416 $as_echo "$ld_shlibs" >&6; }
11417 test "$ld_shlibs" = no
&& can_build_shared
=no
11419 with_gnu_ld
=$with_gnu_ld
11436 # Do we need to explicitly link libc?
11438 case "x$archive_cmds_need_lc" in
11440 # Assume -lc should be added
11441 archive_cmds_need_lc
=yes
11443 if test "$enable_shared" = yes && test "$GCC" = yes; then
11444 case $archive_cmds in
11446 # FIXME: we may have to deal with multi-command sequences.
11449 # Test whether the compiler implicitly links with -lc since on some
11450 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11451 # to ld, don't add -lc before -lgcc.
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
11453 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
11454 if ${lt_cv_archive_cmds_need_lc+:} false
; then :
11455 $as_echo_n "(cached) " >&6
11458 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
11460 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
11461 (eval $ac_compile) 2>&5
11463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11464 test $ac_status = 0; } 2>conftest.err
; then
11467 libobjs
=conftest.
$ac_objext
11469 wl
=$lt_prog_compiler_wl
11470 pic_flag
=$lt_prog_compiler_pic
11476 lt_save_allow_undefined_flag
=$allow_undefined_flag
11477 allow_undefined_flag
=
11478 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
11479 (eval $archive_cmds 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
11481 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11482 test $ac_status = 0; }
11484 lt_cv_archive_cmds_need_lc
=no
11486 lt_cv_archive_cmds_need_lc
=yes
11488 allow_undefined_flag
=$lt_save_allow_undefined_flag
11490 cat conftest.err
1>&5
11495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
11496 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
11497 archive_cmds_need_lc
=$lt_cv_archive_cmds_need_lc
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11661 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11663 if test "$GCC" = yes; then
11665 darwin
*) lt_awk_arg
="/^libraries:/,/LR/" ;;
11666 *) lt_awk_arg
="/^libraries:/" ;;
11669 mingw
* | cegcc
*) lt_sed_strip_eq
="s,=\([A-Za-z]:\),\1,g" ;;
11670 *) lt_sed_strip_eq
="s,=/,/,g" ;;
11672 lt_search_path_spec
=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11673 case $lt_search_path_spec in
11675 # if the path contains ";" then we assume it to be the separator
11676 # otherwise default to the standard path separator (i.e. ":") - it is
11677 # assumed that no part of a normal pathname contains ";" but that should
11678 # okay in the real world where ";" in dirpaths is itself problematic.
11679 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11682 lt_search_path_spec
=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11685 # Ok, now we have the path, separated by spaces, we can step through it
11686 # and add multilib dir if necessary.
11687 lt_tmp_lt_search_path_spec
=
11688 lt_multi_os_dir
=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11689 for lt_sys_path
in $lt_search_path_spec; do
11690 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11691 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11693 test -d "$lt_sys_path" && \
11694 lt_tmp_lt_search_path_spec
="$lt_tmp_lt_search_path_spec $lt_sys_path"
11697 lt_search_path_spec
=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11698 BEGIN {RS=" "; FS="/|\n";} {
11701 for (lt_i = NF; lt_i > 0; lt_i--) {
11702 if ($lt_i != "" && $lt_i != ".") {
11703 if ($lt_i == "..") {
11706 if (lt_count == 0) {
11707 lt_foo="/" $lt_i lt_foo;
11714 if (lt_foo != "") { lt_freq[lt_foo]++; }
11715 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11717 # AWK program above erroneously prepends '/' to C:/dos/paths
11720 mingw
* | cegcc
*) lt_search_path_spec
=`$ECHO "$lt_search_path_spec" |\
11721 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11723 sys_lib_search_path_spec
=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11725 sys_lib_search_path_spec
="/lib /usr/lib /usr/local/lib"
11727 library_names_spec
=
11728 libname_spec
='lib$name'
11732 postuninstall_cmds
=
11736 shlibpath_overrides_runpath
=unknown
11738 dynamic_linker
="$host_os ld.so"
11739 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
11740 need_lib_prefix
=unknown
11741 hardcode_into_libs
=no
11743 # when you set need_version to no, make sure it does not cause -set_version
11744 # flags to be left without arguments
11745 need_version
=unknown
11750 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
11751 shlibpath_var
=LIBPATH
11753 # AIX 3 has no versioning support, so we append a major version to the name.
11754 soname_spec
='${libname}${release}${shared_ext}$major'
11761 hardcode_into_libs
=yes
11762 if test "$host_cpu" = ia64
; then
11763 # AIX 5 supports IA64
11764 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11765 shlibpath_var
=LD_LIBRARY_PATH
11767 # With GCC up to 2.95.x, collect2 would create an import file
11768 # for dependence libraries. The import file would start with
11769 # the line `#! .'. This would cause the generated library to
11770 # depend on `.', always an invalid library. This was fixed in
11771 # development snapshots of GCC prior to 3.0.
11773 aix4 | aix4.
[01] | aix4.
[01].
*)
11774 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11776 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
11779 can_build_shared
=no
11783 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11784 # soname into executable. Probably we can add versioning support to
11785 # collect2, so additional links can be useful in future.
11786 if test "$aix_use_runtimelinking" = yes; then
11787 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11788 # instead of lib<name>.a to let people know that these are not
11789 # typical AIX shared libraries.
11790 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11792 # We preserve .a as extension for shared libraries through AIX4.2
11793 # and later when we are not doing run time linking.
11794 library_names_spec
='${libname}${release}.a $libname.a'
11795 soname_spec
='${libname}${release}${shared_ext}$major'
11797 shlibpath_var
=LIBPATH
11804 # Since July 2007 AmigaOS4 officially supports .so libraries.
11805 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11806 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11809 library_names_spec
='$libname.ixlibrary $libname.a'
11810 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11811 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'
11817 library_names_spec
='${libname}${shared_ext}'
11818 dynamic_linker
="$host_os ld.so"
11819 shlibpath_var
=LIBRARY_PATH
11825 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11826 soname_spec
='${libname}${release}${shared_ext}$major'
11827 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
11828 shlibpath_var
=LD_LIBRARY_PATH
11829 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11830 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
11831 # the default ld.so.conf also contains /usr/contrib/lib and
11832 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11833 # libtool to hard-code these into programs
11836 cygwin
* | mingw
* | pw32
* | cegcc
*)
11837 version_type
=windows
11842 case $GCC,$host_os in
11843 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
11844 library_names_spec
='$libname.dll.a'
11845 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11846 postinstall_cmds
='base_file=`basename \${file}`~
11847 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11848 dldir=$destdir/`dirname \$dlpath`~
11849 test -d \$dldir || mkdir -p \$dldir~
11850 $install_prog $dir/$dlname \$dldir/$dlname~
11851 chmod a+x \$dldir/$dlname~
11852 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11853 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11855 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11856 dlpath=$dir/\$dldll~
11858 shlibpath_overrides_runpath
=yes
11862 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11863 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11865 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/lib/w32api"
11868 # MinGW DLLs use traditional 'lib' prefix
11869 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11872 # pw32 DLLs use 'pw' prefix rather than 'lib'
11873 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11879 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11882 dynamic_linker
='Win32 ld.exe'
11883 # FIXME: first we should search . and the directory the executable is in
11887 darwin
* | rhapsody
*)
11888 dynamic_linker
="$host_os dyld"
11889 version_type
=darwin
11892 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11893 soname_spec
='${libname}${release}${major}$shared_ext'
11894 shlibpath_overrides_runpath
=yes
11895 shlibpath_var
=DYLD_LIBRARY_PATH
11896 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
11898 sys_lib_search_path_spec
="$sys_lib_search_path_spec /usr/local/lib"
11899 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
11906 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11907 soname_spec
='${libname}${release}${shared_ext}$major'
11908 shlibpath_var
=LD_LIBRARY_PATH
11911 freebsd
* | dragonfly
*)
11912 # DragonFly does not have aout. When/if they implement a new
11913 # versioning mechanism, adjust this.
11914 if test -x /usr
/bin
/objformat
; then
11915 objformat
=`/usr/bin/objformat`
11918 freebsd
[23].
*) objformat
=aout
;;
11919 *) objformat
=elf
;;
11922 version_type
=freebsd-
$objformat
11923 case $version_type in
11925 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11930 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11934 shlibpath_var
=LD_LIBRARY_PATH
11937 shlibpath_overrides_runpath
=yes
11939 freebsd3.
[01]* | freebsdelf3.
[01]*)
11940 shlibpath_overrides_runpath
=yes
11941 hardcode_into_libs
=yes
11943 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
11944 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
11945 shlibpath_overrides_runpath
=no
11946 hardcode_into_libs
=yes
11948 *) # from 4.6 on, and DragonFly
11949 shlibpath_overrides_runpath
=yes
11950 hardcode_into_libs
=yes
11959 dynamic_linker
="$host_os runtime_loader"
11960 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11961 soname_spec
='${libname}${release}${shared_ext}$major'
11962 shlibpath_var
=LIBRARY_PATH
11963 shlibpath_overrides_runpath
=yes
11964 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11965 hardcode_into_libs
=yes
11968 hpux9
* | hpux10
* | hpux11
*)
11969 # Give a soname corresponding to the major version so that dld.sl refuses to
11970 # link against other versions.
11977 hardcode_into_libs
=yes
11978 dynamic_linker
="$host_os dld.so"
11979 shlibpath_var
=LD_LIBRARY_PATH
11980 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11981 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11982 soname_spec
='${libname}${release}${shared_ext}$major'
11983 if test "X$HPUX_IA64_MODE" = X32
; then
11984 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11986 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
11988 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
11992 hardcode_into_libs
=yes
11993 dynamic_linker
="$host_os dld.sl"
11994 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
11995 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
11996 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11997 soname_spec
='${libname}${release}${shared_ext}$major'
11998 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11999 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
12003 dynamic_linker
="$host_os dld.sl"
12004 shlibpath_var
=SHLIB_PATH
12005 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
12006 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12007 soname_spec
='${libname}${release}${shared_ext}$major'
12010 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
12011 postinstall_cmds
='chmod 555 $lib'
12012 # or fails outright, so override atomically:
12013 install_override_mode
=555
12020 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12021 soname_spec
='${libname}${release}${shared_ext}$major'
12022 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
12023 shlibpath_var
=LD_LIBRARY_PATH
12024 shlibpath_overrides_runpath
=no
12025 hardcode_into_libs
=yes
12028 irix5
* | irix6
* | nonstopux
*)
12030 nonstopux
*) version_type
=nonstopux
;;
12032 if test "$lt_cv_prog_gnu_ld" = yes; then
12040 soname_spec
='${libname}${release}${shared_ext}$major'
12041 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
12043 irix5
* | nonstopux
*)
12044 libsuff
= shlibsuff
=
12047 case $LD in # libtool.m4 will add one of these switches to LD
12048 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
12049 libsuff
= shlibsuff
= libmagic
=32-bit;;
12050 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
12051 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
12052 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
12053 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
12054 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
12058 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
12059 shlibpath_overrides_runpath
=no
12060 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
12061 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
12062 hardcode_into_libs
=yes
12065 # No shared lib support for Linux oldld, aout, or coff.
12066 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
12070 # This must be Linux ELF.
12072 # uclinux* changes (here and below) have been submitted to the libtool
12073 # project, but have not yet been accepted: they are GCC-local changes
12074 # for the time being. (See
12075 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
12076 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
12080 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12081 soname_spec
='${libname}${release}${shared_ext}$major'
12082 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
12083 shlibpath_var
=LD_LIBRARY_PATH
12084 shlibpath_overrides_runpath
=no
12086 # Some binutils ld are patched to set DT_RUNPATH
12087 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
12088 $as_echo_n "(cached) " >&6
12090 lt_cv_shlibpath_overrides_runpath
=no
12091 save_LDFLAGS
=$LDFLAGS
12092 save_libdir
=$libdir
12093 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
12094 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
12095 if test x
$gcc_no_link = xyes
; then
12096 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12109 if ac_fn_c_try_link
"$LINENO"; then :
12110 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
12111 lt_cv_shlibpath_overrides_runpath
=yes
12114 rm -f core conftest.err conftest.
$ac_objext \
12115 conftest
$ac_exeext conftest.
$ac_ext
12116 LDFLAGS
=$save_LDFLAGS
12117 libdir
=$save_libdir
12121 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
12123 # This implies no fast_install, which is unacceptable.
12124 # Some rework will be needed to allow for fast_install
12125 # before this can be enabled.
12126 hardcode_into_libs
=yes
12128 # Append ld.so.conf contents to the search path
12129 if test -f /etc
/ld.so.conf
; then
12130 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' ' '`
12131 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
12134 # We used to test for /lib/ld.so.1 and disable shared libraries on
12135 # powerpc, because MkLinux only supported shared libraries with the
12136 # GNU dynamic linker. Since this was broken with cross compilers,
12137 # most powerpc-linux boxes support dynamic linking these days and
12138 # people can always --disable-shared, the test was removed, and we
12139 # assume the GNU/Linux dynamic linker is in use.
12140 dynamic_linker
='GNU/Linux ld.so'
12147 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
12148 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12149 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12150 dynamic_linker
='NetBSD (a.out) ld.so'
12152 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
12153 soname_spec
='${libname}${release}${shared_ext}$major'
12154 dynamic_linker
='NetBSD ld.elf_so'
12156 shlibpath_var
=LD_LIBRARY_PATH
12157 shlibpath_overrides_runpath
=yes
12158 hardcode_into_libs
=yes
12163 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12164 shlibpath_var
=LD_LIBRARY_PATH
12165 shlibpath_overrides_runpath
=yes
12172 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12173 soname_spec
='${libname}${release}${shared_ext}$major'
12174 shlibpath_var
=LD_LIBRARY_PATH
12175 shlibpath_overrides_runpath
=no
12176 hardcode_into_libs
=yes
12177 dynamic_linker
='ldqnx.so'
12182 sys_lib_dlsearch_path_spec
="/usr/lib"
12184 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
12186 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
12187 *) need_version
=no
;;
12189 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12190 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
12191 shlibpath_var
=LD_LIBRARY_PATH
12192 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12194 openbsd2.
[89] | openbsd2.
[89].
*)
12195 shlibpath_overrides_runpath
=no
12198 shlibpath_overrides_runpath
=yes
12202 shlibpath_overrides_runpath
=yes
12207 libname_spec
='$name'
12210 library_names_spec
='$libname${shared_ext} $libname.a'
12211 dynamic_linker
='OS/2 ld.exe'
12212 shlibpath_var
=LIBPATH
12215 osf3
* | osf4
* | osf5
*)
12219 soname_spec
='${libname}${release}${shared_ext}$major'
12220 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12221 shlibpath_var
=LD_LIBRARY_PATH
12222 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
12223 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
12234 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12235 soname_spec
='${libname}${release}${shared_ext}$major'
12236 shlibpath_var
=LD_LIBRARY_PATH
12237 shlibpath_overrides_runpath
=yes
12238 hardcode_into_libs
=yes
12239 # ldd complains unless libraries are executable
12240 postinstall_cmds
='chmod +x $lib'
12245 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
12246 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
12247 shlibpath_var
=LD_LIBRARY_PATH
12248 shlibpath_overrides_runpath
=yes
12249 if test "$with_gnu_ld" = yes; then
12257 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12258 soname_spec
='${libname}${release}${shared_ext}$major'
12259 shlibpath_var
=LD_LIBRARY_PATH
12260 case $host_vendor in
12262 shlibpath_overrides_runpath
=no
12264 runpath_var
=LD_RUN_PATH
12272 shlibpath_overrides_runpath
=no
12273 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
12279 if test -d /usr
/nec
;then
12281 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
12282 soname_spec
='$libname${shared_ext}.$major'
12283 shlibpath_var
=LD_LIBRARY_PATH
12287 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
12288 version_type
=freebsd-elf
12291 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
12292 soname_spec
='${libname}${release}${shared_ext}$major'
12293 shlibpath_var
=LD_LIBRARY_PATH
12294 shlibpath_overrides_runpath
=yes
12295 hardcode_into_libs
=yes
12296 if test "$with_gnu_ld" = yes; then
12297 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
12299 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
12302 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
12306 sys_lib_dlsearch_path_spec
='/usr/lib'
12310 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
12314 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12315 shlibpath_var
=LD_LIBRARY_PATH
12316 shlibpath_overrides_runpath
=no
12317 hardcode_into_libs
=yes
12322 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12323 soname_spec
='${libname}${release}${shared_ext}$major'
12324 shlibpath_var
=LD_LIBRARY_PATH
12327 # Shared libraries for VwWorks, >= 7 only at this stage
12328 # and (fpic) still incompatible with "large" code models
12329 # in a few configurations. Only for RTP mode in any case,
12330 # and upon explicit request at configure time.
12333 case ${with_multisubdir}-${enable_shared} in
12340 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
12341 soname_spec
='${libname}${release}${shared_ext}$major'
12342 dynamic_linker
="$host_os module_loader"
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
12351 $as_echo "$dynamic_linker" >&6; }
12352 test "$dynamic_linker" = no
&& can_build_shared
=no
12354 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
12355 if test "$GCC" = yes; then
12356 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
12359 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
12360 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
12362 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
12363 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
12458 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
12460 if test -n "$hardcode_libdir_flag_spec" ||
12461 test -n "$runpath_var" ||
12462 test "X$hardcode_automatic" = "Xyes" ; then
12464 # We can hardcode non-existent directories.
12465 if test "$hardcode_direct" != no
&&
12466 # If the only mechanism to avoid hardcoding is shlibpath_var, we
12467 # have to relink, otherwise we might link with an installed library
12468 # when we should be linking with a yet-to-be-installed one
12469 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
12470 test "$hardcode_minus_L" != no
; then
12471 # Linking always hardcodes the temporary library directory.
12472 hardcode_action
=relink
12474 # We can link without hardcoding, and we can hardcode nonexisting dirs.
12475 hardcode_action
=immediate
12478 # We cannot hardcode anything, or else we can only hardcode existing
12480 hardcode_action
=unsupported
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
12483 $as_echo "$hardcode_action" >&6; }
12485 if test "$hardcode_action" = relink ||
12486 test "$inherit_rpath" = yes; then
12487 # Fast installation is not supported
12488 enable_fast_install
=no
12489 elif test "$shlibpath_overrides_runpath" = yes ||
12490 test "$enable_shared" = no
; then
12491 # Fast installation is not necessary
12492 enable_fast_install
=needless
12500 if test "x$enable_dlopen" != xyes
; then
12501 enable_dlopen
=unknown
12502 enable_dlopen_self
=unknown
12503 enable_dlopen_self_static
=unknown
12510 lt_cv_dlopen
="load_add_on"
12512 lt_cv_dlopen_self
=yes
12515 mingw
* | pw32
* | cegcc
*)
12516 lt_cv_dlopen
="LoadLibrary"
12521 lt_cv_dlopen
="dlopen"
12526 # if libdl is installed we need to link against it
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12528 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12529 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12530 $as_echo_n "(cached) " >&6
12532 ac_check_lib_save_LIBS
=$LIBS
12534 if test x
$gcc_no_link = xyes
; then
12535 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12538 /* end confdefs.h. */
12540 /* Override any GCC internal prototype to avoid an error.
12541 Use char because int might match the return type of a GCC
12542 builtin and then its argument prototype would still apply. */
12555 if ac_fn_c_try_link
"$LINENO"; then :
12556 ac_cv_lib_dl_dlopen
=yes
12558 ac_cv_lib_dl_dlopen
=no
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12562 LIBS
=$ac_check_lib_save_LIBS
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12565 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12566 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12567 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12570 lt_cv_dlopen
="dyld"
12572 lt_cv_dlopen_self
=yes
12579 ac_fn_c_check_func
"$LINENO" "shl_load" "ac_cv_func_shl_load"
12580 if test "x$ac_cv_func_shl_load" = xyes
; then :
12581 lt_cv_dlopen
="shl_load"
12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
12584 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12585 if ${ac_cv_lib_dld_shl_load+:} false
; then :
12586 $as_echo_n "(cached) " >&6
12588 ac_check_lib_save_LIBS
=$LIBS
12590 if test x
$gcc_no_link = xyes
; then
12591 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12594 /* end confdefs.h. */
12596 /* Override any GCC internal prototype to avoid an error.
12597 Use char because int might match the return type of a GCC
12598 builtin and then its argument prototype would still apply. */
12606 return shl_load ();
12611 if ac_fn_c_try_link
"$LINENO"; then :
12612 ac_cv_lib_dld_shl_load
=yes
12614 ac_cv_lib_dld_shl_load
=no
12616 rm -f core conftest.err conftest.
$ac_objext \
12617 conftest
$ac_exeext conftest.
$ac_ext
12618 LIBS
=$ac_check_lib_save_LIBS
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12621 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12622 if test "x$ac_cv_lib_dld_shl_load" = xyes
; then :
12623 lt_cv_dlopen
="shl_load" lt_cv_dlopen_libs
="-ldld"
12625 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
12626 if test "x$ac_cv_func_dlopen" = xyes
; then :
12627 lt_cv_dlopen
="dlopen"
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12630 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12631 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12632 $as_echo_n "(cached) " >&6
12634 ac_check_lib_save_LIBS
=$LIBS
12636 if test x
$gcc_no_link = xyes
; then
12637 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12640 /* end confdefs.h. */
12642 /* Override any GCC internal prototype to avoid an error.
12643 Use char because int might match the return type of a GCC
12644 builtin and then its argument prototype would still apply. */
12657 if ac_fn_c_try_link
"$LINENO"; then :
12658 ac_cv_lib_dl_dlopen
=yes
12660 ac_cv_lib_dl_dlopen
=no
12662 rm -f core conftest.err conftest.
$ac_objext \
12663 conftest
$ac_exeext conftest.
$ac_ext
12664 LIBS
=$ac_check_lib_save_LIBS
12666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12667 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12668 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12669 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-ldl"
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12672 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12673 if ${ac_cv_lib_svld_dlopen+:} false
; then :
12674 $as_echo_n "(cached) " >&6
12676 ac_check_lib_save_LIBS
=$LIBS
12677 LIBS
="-lsvld $LIBS"
12678 if test x
$gcc_no_link = xyes
; then
12679 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12682 /* end confdefs.h. */
12684 /* Override any GCC internal prototype to avoid an error.
12685 Use char because int might match the return type of a GCC
12686 builtin and then its argument prototype would still apply. */
12699 if ac_fn_c_try_link
"$LINENO"; then :
12700 ac_cv_lib_svld_dlopen
=yes
12702 ac_cv_lib_svld_dlopen
=no
12704 rm -f core conftest.err conftest.
$ac_objext \
12705 conftest
$ac_exeext conftest.
$ac_ext
12706 LIBS
=$ac_check_lib_save_LIBS
12708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12709 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12710 if test "x$ac_cv_lib_svld_dlopen" = xyes
; then :
12711 lt_cv_dlopen
="dlopen" lt_cv_dlopen_libs
="-lsvld"
12713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12714 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12715 if ${ac_cv_lib_dld_dld_link+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_check_lib_save_LIBS
=$LIBS
12720 if test x
$gcc_no_link = xyes
; then
12721 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12724 /* end confdefs.h. */
12726 /* Override any GCC internal prototype to avoid an error.
12727 Use char because int might match the return type of a GCC
12728 builtin and then its argument prototype would still apply. */
12736 return dld_link ();
12741 if ac_fn_c_try_link
"$LINENO"; then :
12742 ac_cv_lib_dld_dld_link
=yes
12744 ac_cv_lib_dld_dld_link
=no
12746 rm -f core conftest.err conftest.
$ac_objext \
12747 conftest
$ac_exeext conftest.
$ac_ext
12748 LIBS
=$ac_check_lib_save_LIBS
12750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12751 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12752 if test "x$ac_cv_lib_dld_dld_link" = xyes
; then :
12753 lt_cv_dlopen
="dld_link" lt_cv_dlopen_libs
="-ldld"
12774 if test "x$lt_cv_dlopen" != xno
; then
12780 case $lt_cv_dlopen in
12782 save_CPPFLAGS
="$CPPFLAGS"
12783 test "x$ac_cv_header_dlfcn_h" = xyes
&& CPPFLAGS
="$CPPFLAGS -DHAVE_DLFCN_H"
12785 save_LDFLAGS
="$LDFLAGS"
12786 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $export_dynamic_flag_spec\"
12789 LIBS
="$lt_cv_dlopen_libs $LIBS"
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12792 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12793 if ${lt_cv_dlopen_self+:} false
; then :
12794 $as_echo_n "(cached) " >&6
12796 if test "$cross_compiling" = yes; then :
12797 lt_cv_dlopen_self
=cross
12799 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12800 lt_status
=$lt_dlunknown
12801 cat > conftest.
$ac_ext <<_LT_EOF
12802 #line 12802 "configure"
12803 #include "confdefs.h"
12812 # define LT_DLGLOBAL RTLD_GLOBAL
12815 # define LT_DLGLOBAL DL_GLOBAL
12817 # define LT_DLGLOBAL 0
12821 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12822 find out it does not work in some platform. */
12823 #ifndef LT_DLLAZY_OR_NOW
12825 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12828 # define LT_DLLAZY_OR_NOW DL_LAZY
12831 # define LT_DLLAZY_OR_NOW RTLD_NOW
12834 # define LT_DLLAZY_OR_NOW DL_NOW
12836 # define LT_DLLAZY_OR_NOW 0
12843 /* When -fvisbility=hidden is used, assume the code has been annotated
12844 correspondingly for the symbols needed. */
12845 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12846 void fnord () __attribute__((visibility("default")));
12849 void fnord () { int i=42; }
12852 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12853 int status = $lt_dlunknown;
12857 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12860 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12861 else puts (dlerror ());
12863 /* dlclose (self); */
12871 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12872 (eval $ac_link) 2>&5
12874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12875 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12876 (.
/conftest
; exit; ) >&5 2>/dev
/null
12878 case x
$lt_status in
12879 x
$lt_dlno_uscore) lt_cv_dlopen_self
=yes ;;
12880 x
$lt_dlneed_uscore) lt_cv_dlopen_self
=yes ;;
12881 x
$lt_dlunknown|x
*) lt_cv_dlopen_self
=no
;;
12884 # compilation failed
12885 lt_cv_dlopen_self
=no
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12893 $as_echo "$lt_cv_dlopen_self" >&6; }
12895 if test "x$lt_cv_dlopen_self" = xyes
; then
12896 wl
=$lt_prog_compiler_wl eval LDFLAGS
=\"\
$LDFLAGS $lt_prog_compiler_static\"
12897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12898 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12899 if ${lt_cv_dlopen_self_static+:} false
; then :
12900 $as_echo_n "(cached) " >&6
12902 if test "$cross_compiling" = yes; then :
12903 lt_cv_dlopen_self_static
=cross
12905 lt_dlunknown
=0; lt_dlno_uscore
=1; lt_dlneed_uscore
=2
12906 lt_status
=$lt_dlunknown
12907 cat > conftest.
$ac_ext <<_LT_EOF
12908 #line 12908 "configure"
12909 #include "confdefs.h"
12918 # define LT_DLGLOBAL RTLD_GLOBAL
12921 # define LT_DLGLOBAL DL_GLOBAL
12923 # define LT_DLGLOBAL 0
12927 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12928 find out it does not work in some platform. */
12929 #ifndef LT_DLLAZY_OR_NOW
12931 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12934 # define LT_DLLAZY_OR_NOW DL_LAZY
12937 # define LT_DLLAZY_OR_NOW RTLD_NOW
12940 # define LT_DLLAZY_OR_NOW DL_NOW
12942 # define LT_DLLAZY_OR_NOW 0
12949 /* When -fvisbility=hidden is used, assume the code has been annotated
12950 correspondingly for the symbols needed. */
12951 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12952 void fnord () __attribute__((visibility("default")));
12955 void fnord () { int i=42; }
12958 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12959 int status = $lt_dlunknown;
12963 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12966 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12967 else puts (dlerror ());
12969 /* dlclose (self); */
12977 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12978 (eval $ac_link) 2>&5
12980 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12981 test $ac_status = 0; } && test -s conftest
${ac_exeext} 2>/dev
/null
; then
12982 (.
/conftest
; exit; ) >&5 2>/dev
/null
12984 case x
$lt_status in
12985 x
$lt_dlno_uscore) lt_cv_dlopen_self_static
=yes ;;
12986 x
$lt_dlneed_uscore) lt_cv_dlopen_self_static
=yes ;;
12987 x
$lt_dlunknown|x
*) lt_cv_dlopen_self_static
=no
;;
12990 # compilation failed
12991 lt_cv_dlopen_self_static
=no
12998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12999 $as_echo "$lt_cv_dlopen_self_static" >&6; }
13002 CPPFLAGS
="$save_CPPFLAGS"
13003 LDFLAGS
="$save_LDFLAGS"
13008 case $lt_cv_dlopen_self in
13009 yes|no
) enable_dlopen_self
=$lt_cv_dlopen_self ;;
13010 *) enable_dlopen_self
=unknown
;;
13013 case $lt_cv_dlopen_self_static in
13014 yes|no
) enable_dlopen_self_static
=$lt_cv_dlopen_self_static ;;
13015 *) enable_dlopen_self_static
=unknown
;;
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
13038 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
13039 if test -n "$STRIP" && $STRIP -V 2>&1 |
$GREP "GNU strip" >/dev
/null
; then
13040 test -z "$old_striplib" && old_striplib
="$STRIP --strip-debug"
13041 test -z "$striplib" && striplib
="$STRIP --strip-unneeded"
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13043 $as_echo "yes" >&6; }
13045 # FIXME - insert some real tests, host_os isn't really good enough
13048 if test -n "$STRIP" ; then
13049 striplib
="$STRIP -x"
13050 old_striplib
="$STRIP -S"
13051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13052 $as_echo "yes" >&6; }
13054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13055 $as_echo "no" >&6; }
13059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13060 $as_echo "no" >&6; }
13076 # Report which library types will actually be built
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13078 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13080 $as_echo "$can_build_shared" >&6; }
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13083 $as_echo_n "checking whether to build shared libraries... " >&6; }
13084 test "$can_build_shared" = "no" && enable_shared
=no
13086 # On AIX, shared libraries and static libraries use the same namespace, and
13087 # are all built from PIC.
13090 test "$enable_shared" = yes && enable_static
=no
13091 if test -n "$RANLIB"; then
13092 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13093 postinstall_cmds
='$RANLIB $lib'
13098 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13099 test "$enable_shared" = yes && enable_static
=no
13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13104 $as_echo "$enable_shared" >&6; }
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13107 $as_echo_n "checking whether to build static libraries... " >&6; }
13108 # Make sure either enable_shared or enable_static is yes.
13109 test "$enable_shared" = yes || enable_static
=yes
13110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13111 $as_echo "$enable_static" >&6; }
13118 ac_cpp
='$CPP $CPPFLAGS'
13119 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13120 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13121 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
13137 ac_config_commands
="$ac_config_commands libtool"
13142 # Only expand once:
13147 *-*-beos* |
*-*-cegcc* |
*-*-cygwin* |
*-*-haiku* |
*-*-pw32* |
*-*-darwin*)
13148 # These system don't have libm, or don't need it
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5
13152 $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; }
13153 if ${ac_cv_lib_mw__mwvalidcheckl+:} false
; then :
13154 $as_echo_n "(cached) " >&6
13156 ac_check_lib_save_LIBS
=$LIBS
13158 if test x
$gcc_no_link = xyes
; then
13159 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13162 /* end confdefs.h. */
13164 /* Override any GCC internal prototype to avoid an error.
13165 Use char because int might match the return type of a GCC
13166 builtin and then its argument prototype would still apply. */
13170 char _mwvalidcheckl ();
13174 return _mwvalidcheckl ();
13179 if ac_fn_c_try_link
"$LINENO"; then :
13180 ac_cv_lib_mw__mwvalidcheckl
=yes
13182 ac_cv_lib_mw__mwvalidcheckl
=no
13184 rm -f core conftest.err conftest.
$ac_objext \
13185 conftest
$ac_exeext conftest.
$ac_ext
13186 LIBS
=$ac_check_lib_save_LIBS
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5
13189 $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; }
13190 if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes
; then :
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13195 $as_echo_n "checking for cos in -lm... " >&6; }
13196 if ${ac_cv_lib_m_cos+:} false
; then :
13197 $as_echo_n "(cached) " >&6
13199 ac_check_lib_save_LIBS
=$LIBS
13201 if test x
$gcc_no_link = xyes
; then
13202 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13205 /* end confdefs.h. */
13207 /* Override any GCC internal prototype to avoid an error.
13208 Use char because int might match the return type of a GCC
13209 builtin and then its argument prototype would still apply. */
13222 if ac_fn_c_try_link
"$LINENO"; then :
13223 ac_cv_lib_m_cos
=yes
13227 rm -f core conftest.err conftest.
$ac_objext \
13228 conftest
$ac_exeext conftest.
$ac_ext
13229 LIBS
=$ac_check_lib_save_LIBS
13231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13232 $as_echo "$ac_cv_lib_m_cos" >&6; }
13233 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5
13240 $as_echo_n "checking for cos in -lm... " >&6; }
13241 if ${ac_cv_lib_m_cos+:} false
; then :
13242 $as_echo_n "(cached) " >&6
13244 ac_check_lib_save_LIBS
=$LIBS
13246 if test x
$gcc_no_link = xyes
; then
13247 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13267 if ac_fn_c_try_link
"$LINENO"; then :
13268 ac_cv_lib_m_cos
=yes
13272 rm -f core conftest.err conftest.
$ac_objext \
13273 conftest
$ac_exeext conftest.
$ac_ext
13274 LIBS
=$ac_check_lib_save_LIBS
13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5
13277 $as_echo "$ac_cv_lib_m_cos" >&6; }
13278 if test "x$ac_cv_lib_m_cos" = xyes
; then :
13290 *-cygwin* |
*-mingw*)
13291 # 'host' will be top-level target in the case of a target lib,
13292 # we must compare to with_cross_host to decide if this is a native
13293 # or cross-compiler and select where to install dlls appropriately.
13294 if test -n "$with_cross_host" &&
13295 test x
"$with_cross_host" != x
"no"; then
13296 lt_host_flags
='-no-undefined -bindir "$(toolexeclibdir)"';
13298 lt_host_flags
='-no-undefined -bindir "$(bindir)"';
13310 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
13312 # We need gfortran to compile parts of the library
13313 #AC_PROG_FC(gfortran)
13315 ac_ext
=${ac_fc_srcext-f}
13316 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
13317 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
13318 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
13319 if test -n "$ac_tool_prefix"; then
13320 for ac_prog
in gfortran
13322 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13323 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
13324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13325 $as_echo_n "checking for $ac_word... " >&6; }
13326 if ${ac_cv_prog_FC+:} false
; then :
13327 $as_echo_n "(cached) " >&6
13329 if test -n "$FC"; then
13330 ac_cv_prog_FC
="$FC" # Let the user override the test.
13332 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13333 for as_dir
in $PATH
13336 test -z "$as_dir" && as_dir
=.
13337 for ac_exec_ext
in '' $ac_executable_extensions; do
13338 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13339 ac_cv_prog_FC
="$ac_tool_prefix$ac_prog"
13340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13350 if test -n "$FC"; then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
13352 $as_echo "$FC" >&6; }
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13355 $as_echo "no" >&6; }
13359 test -n "$FC" && break
13362 if test -z "$FC"; then
13364 for ac_prog
in gfortran
13366 # Extract the first word of "$ac_prog", so it can be a program name with args.
13367 set dummy
$ac_prog; ac_word
=$2
13368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
13369 $as_echo_n "checking for $ac_word... " >&6; }
13370 if ${ac_cv_prog_ac_ct_FC+:} false
; then :
13371 $as_echo_n "(cached) " >&6
13373 if test -n "$ac_ct_FC"; then
13374 ac_cv_prog_ac_ct_FC
="$ac_ct_FC" # Let the user override the test.
13376 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13377 for as_dir
in $PATH
13380 test -z "$as_dir" && as_dir
=.
13381 for ac_exec_ext
in '' $ac_executable_extensions; do
13382 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
13383 ac_cv_prog_ac_ct_FC
="$ac_prog"
13384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
13393 ac_ct_FC
=$ac_cv_prog_ac_ct_FC
13394 if test -n "$ac_ct_FC"; then
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
13396 $as_echo "$ac_ct_FC" >&6; }
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
13399 $as_echo "no" >&6; }
13403 test -n "$ac_ct_FC" && break
13406 if test "x$ac_ct_FC" = x
; then
13409 case $cross_compiling:$ac_tool_warned in
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
13412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
13413 ac_tool_warned
=yes ;;
13420 # Provide some information about the compiler.
13421 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
13424 for ac_option
in --version -v -V -qversion; do
13425 { { ac_try
="$ac_compiler $ac_option >&5"
13426 case "(($ac_try" in
13427 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13428 *) ac_try_echo=$ac_try;;
13430 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
13431 $as_echo "$ac_try_echo"; } >&5
13432 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
13434 if test -s conftest.err; then
13436 ... rest of stderr output deleted ...
13437 10q' conftest.err >conftest.er1
13438 cat conftest.er1 >&5
13440 rm -f conftest.er1 conftest.err
13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13442 test $ac_status = 0; }
13446 # If we don't use `.F
' as extension, the preprocessor is not run on the
13447 # input file. (Note that this only needs to work for GNU compilers.)
13448 ac_save_ext=$ac_ext
13450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
13451 $as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
13452 if ${ac_cv_fc_compiler_gnu+:} false; then :
13453 $as_echo_n "(cached) " >&6
13455 cat > conftest.$ac_ext <<_ACEOF
13463 if ac_fn_fc_try_compile "$LINENO"; then :
13464 ac_compiler_gnu=yes
13468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13469 ac_cv_fc_compiler_gnu=$ac_compiler_gnu
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
13473 $as_echo "$ac_cv_fc_compiler_gnu" >&6; }
13474 ac_ext=$ac_save_ext
13475 ac_test_FCFLAGS=${FCFLAGS+set}
13476 ac_save_FCFLAGS=$FCFLAGS
13478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
13479 $as_echo_n "checking whether $FC accepts -g... " >&6; }
13480 if ${ac_cv_prog_fc_g+:} false; then :
13481 $as_echo_n "(cached) " >&6
13484 cat > conftest.$ac_ext <<_ACEOF
13489 if ac_fn_fc_try_compile "$LINENO"; then :
13490 ac_cv_prog_fc_g=yes
13494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
13498 $as_echo "$ac_cv_prog_fc_g" >&6; }
13499 if test "$ac_test_FCFLAGS" = set; then
13500 FCFLAGS=$ac_save_FCFLAGS
13501 elif test $ac_cv_prog_fc_g = yes; then
13502 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13508 if test "x$ac_cv_fc_compiler_gnu" = xyes; then
13515 if test $ac_compiler_gnu = yes; then
13521 ac_cpp='$CPP $CPPFLAGS'
13522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
13523 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
13524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13526 ac_ext=${ac_fc_srcext-f}
13527 ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.
$ac_ext >&5'
13528 ac_link='$FC -o conftest
$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.
$ac_ext $LIBS >&5'
13529 ac_compiler_gnu=$ac_cv_fc_compiler_gnu
13532 if test -z "$FC" || test "X$FC" = "Xno"; then
13536 archive_cmds_need_lc_FC=no
13537 allow_undefined_flag_FC=
13538 always_export_symbols_FC=no
13539 archive_expsym_cmds_FC=
13540 export_dynamic_flag_spec_FC=
13541 hardcode_direct_FC=no
13542 hardcode_direct_absolute_FC=no
13543 hardcode_libdir_flag_spec_FC=
13544 hardcode_libdir_flag_spec_ld_FC=
13545 hardcode_libdir_separator_FC=
13546 hardcode_minus_L_FC=no
13547 hardcode_automatic_FC=no
13548 inherit_rpath_FC=no
13550 module_expsym_cmds_FC=
13551 link_all_deplibs_FC=unknown
13552 old_archive_cmds_FC=$old_archive_cmds
13553 reload_flag_FC=$reload_flag
13554 reload_cmds_FC=$reload_cmds
13555 no_undefined_flag_FC=
13556 whole_archive_flag_spec_FC=
13557 enable_shared_with_static_runtimes_FC=no
13559 # Source file extension for fc test sources.
13560 ac_ext=${ac_fc_srcext-f}
13562 # Object file extension for compiled fc test sources.
13566 # No sense in running all these tests if we already determined that
13567 # the FC compiler isn't working. Some variables
(like enable_shared
)
13568 # are currently assumed to apply to all compilers on this platform,
13569 # and will be corrupted by setting them based on a non-working compiler.
13570 if test "$_lt_disable_FC" != yes; then
13571 # Code to be used in simple compile tests
13572 lt_simple_compile_test_code
="\
13578 # Code to be used in simple link tests
13579 lt_simple_link_test_code
="\
13584 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
13591 # If no C compiler was specified, use CC.
13594 # If no C compiler flags were specified, use CFLAGS.
13595 LTCFLAGS
=${LTCFLAGS-"$CFLAGS"}
13597 # Allow CC to be a program name with arguments.
13601 # save warnings/boilerplate of simple test code
13602 ac_outfile
=conftest.
$ac_objext
13603 echo "$lt_simple_compile_test_code" >conftest.
$ac_ext
13604 eval "$ac_compile" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13605 _lt_compiler_boilerplate
=`cat conftest.err`
13608 ac_outfile
=conftest.
$ac_objext
13609 echo "$lt_simple_link_test_code" >conftest.
$ac_ext
13610 eval "$ac_link" 2>&1 >/dev
/null |
$SED '/^$/d; /^ *+/d' >conftest.err
13611 _lt_linker_boilerplate
=`cat conftest.err`
13615 # Allow CC to be a program name with arguments.
13620 GCC
=$ac_cv_fc_compiler_gnu
13623 for cc_temp
in $compiler""; do
13625 compile |
*[\\/]compile | ccache |
*[\\/]ccache
) ;;
13626 distcc |
*[\\/]distcc | purify |
*[\\/]purify
) ;;
13631 cc_basename
=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
13634 if test -n "$compiler"; then
13635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
13636 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
13637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
13638 $as_echo "$can_build_shared" >&6; }
13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
13641 $as_echo_n "checking whether to build shared libraries... " >&6; }
13642 test "$can_build_shared" = "no" && enable_shared
=no
13644 # On AIX, shared libraries and static libraries use the same namespace, and
13645 # are all built from PIC.
13648 test "$enable_shared" = yes && enable_static
=no
13649 if test -n "$RANLIB"; then
13650 archive_cmds
="$archive_cmds~\$RANLIB \$lib"
13651 postinstall_cmds
='$RANLIB $lib'
13655 if test "$host_cpu" != ia64
&& test "$aix_use_runtimelinking" = no
; then
13656 test "$enable_shared" = yes && enable_static
=no
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
13661 $as_echo "$enable_shared" >&6; }
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
13664 $as_echo_n "checking whether to build static libraries... " >&6; }
13665 # Make sure either enable_shared or enable_static is yes.
13666 test "$enable_shared" = yes || enable_static
=yes
13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
13668 $as_echo "$enable_static" >&6; }
13670 GCC_FC
="$ac_cv_fc_compiler_gnu"
13674 ## There is no encapsulation within the following macros, do not change
13675 ## the running order or otherwise move them around unless you know exactly
13676 ## what you are doing...
13677 # Dependencies to place before and after the object being linked:
13679 postdep_objects_FC
=
13682 compiler_lib_search_path_FC
=
13684 cat > conftest.
$ac_ext <<_LT_EOF
13693 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13694 (eval $ac_compile) 2>&5
13696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13697 test $ac_status = 0; }; then
13698 # Parse the compiler output and extract the necessary
13699 # objects, libraries and library flags.
13701 # Sentinel used to keep track of whether or not we are before
13702 # the conftest object file.
13703 pre_test_object_deps_done
=no
13705 for p
in `eval "$output_verbose_link_cmd"`; do
13709 # Some compilers place space between "-{L,R}" and the path.
13710 # Remove the space.
13711 if test $p = "-L" ||
13712 test $p = "-R"; then
13719 if test "$pre_test_object_deps_done" = no
; then
13722 # Internal compiler library paths should come after those
13723 # provided the user. The postdeps already come after the
13724 # user supplied libs so there is no need to process them.
13725 if test -z "$compiler_lib_search_path_FC"; then
13726 compiler_lib_search_path_FC
="${prev}${p}"
13728 compiler_lib_search_path_FC
="${compiler_lib_search_path_FC} ${prev}${p}"
13731 # The "-l" case would never come before the object being
13732 # linked, so don't bother handling this case.
13735 if test -z "$postdeps_FC"; then
13736 postdeps_FC
="${prev}${p}"
13738 postdeps_FC
="${postdeps_FC} ${prev}${p}"
13744 # This assumes that the test object file only shows up
13745 # once in the compiler output.
13746 if test "$p" = "conftest.$objext"; then
13747 pre_test_object_deps_done
=yes
13751 if test "$pre_test_object_deps_done" = no
; then
13752 if test -z "$predep_objects_FC"; then
13753 predep_objects_FC
="$p"
13755 predep_objects_FC
="$predep_objects_FC $p"
13758 if test -z "$postdep_objects_FC"; then
13759 postdep_objects_FC
="$p"
13761 postdep_objects_FC
="$postdep_objects_FC $p"
13766 *) ;; # Ignore the rest.
13774 echo "libtool.m4: error: problem compiling FC test program"
13777 $RM -f confest.
$objext
13779 # PORTME: override above test on systems where it is broken
13782 case " $postdeps_FC " in
13783 *" -lc "*) archive_cmds_need_lc_FC
=no
;;
13785 compiler_lib_search_dirs_FC
=
13786 if test -n "${compiler_lib_search_path_FC}"; then
13787 compiler_lib_search_dirs_FC
=`echo " ${compiler_lib_search_path_FC}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13820 lt_prog_compiler_wl_FC
=
13821 lt_prog_compiler_pic_FC
=
13822 lt_prog_compiler_static_FC
=
13824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13825 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13827 if test "$GCC" = yes; then
13828 lt_prog_compiler_wl_FC
='-Wl,'
13829 lt_prog_compiler_static_FC
='-static'
13833 # All AIX code is PIC.
13834 if test "$host_cpu" = ia64
; then
13835 # AIX 5 now supports IA64 processor
13836 lt_prog_compiler_static_FC
='-Bstatic'
13838 lt_prog_compiler_pic_FC
='-fPIC'
13844 # see comment about AmigaOS4 .so support
13845 lt_prog_compiler_pic_FC
='-fPIC'
13848 # FIXME: we need at least 68020 code to build shared libraries, but
13849 # adding the `-m68020' flag to GCC prevents building anything better,
13851 lt_prog_compiler_pic_FC
='-m68020 -resident32 -malways-restore-a4'
13856 beos
* | irix5
* | irix6
* | nonstopux
* | osf3
* | osf4
* | osf5
*)
13857 # PIC is the default for these OSes.
13860 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13861 # This hack is so that the source file can tell whether it is being
13862 # built for inclusion in a dll (and should export symbols for example).
13863 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13864 # (--disable-auto-import) libraries
13865 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13868 darwin
* | rhapsody
*)
13869 # PIC is the default on this platform
13870 # Common symbols not allowed in MH_DYLIB files
13871 lt_prog_compiler_pic_FC
='-fno-common'
13875 # PIC is the default for Haiku.
13876 # The "-static" flag exists, but is broken.
13877 lt_prog_compiler_static_FC
=
13881 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13882 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13883 # sets the default TLS model and affects inlining.
13889 lt_prog_compiler_pic_FC
='-fPIC'
13895 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13896 # Instead, we relocate shared libraries at runtime.
13900 # Just because we use GCC doesn't mean we suddenly get shared libraries
13901 # on systems that don't support them.
13902 lt_prog_compiler_can_build_shared_FC
=no
13907 # QNX uses GNU C++, but need to define -shared option too, otherwise
13908 # it will coredump.
13909 lt_prog_compiler_pic_FC
='-fPIC -shared'
13913 if test -d /usr
/nec
; then
13914 lt_prog_compiler_pic_FC
=-Kconform_pic
13919 lt_prog_compiler_pic_FC
='-fPIC'
13923 case $cc_basename in
13924 nvcc
*) # Cuda Compiler Driver 2.2
13925 lt_prog_compiler_wl_FC
='-Xlinker '
13926 lt_prog_compiler_pic_FC
='-Xcompiler -fPIC'
13930 # PORTME Check for flag to pass linker flags through the system compiler.
13933 lt_prog_compiler_wl_FC
='-Wl,'
13934 if test "$host_cpu" = ia64
; then
13935 # AIX 5 now supports IA64 processor
13936 lt_prog_compiler_static_FC
='-Bstatic'
13938 lt_prog_compiler_static_FC
='-bnso -bI:/lib/syscalls.exp'
13942 mingw
* | cygwin
* | pw32
* | os2
* | cegcc
*)
13943 # This hack is so that the source file can tell whether it is being
13944 # built for inclusion in a dll (and should export symbols for example).
13945 lt_prog_compiler_pic_FC
='-DDLL_EXPORT'
13948 hpux9
* | hpux10
* | hpux11
*)
13949 lt_prog_compiler_wl_FC
='-Wl,'
13950 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13951 # not for PA HP-UX.
13957 lt_prog_compiler_pic_FC
='+Z'
13960 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13961 lt_prog_compiler_static_FC
='${wl}-a ${wl}archive'
13964 irix5
* | irix6
* | nonstopux
*)
13965 lt_prog_compiler_wl_FC
='-Wl,'
13966 # PIC (with -KPIC) is the default.
13967 lt_prog_compiler_static_FC
='-non_shared'
13970 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu)
13971 case $cc_basename in
13972 # old Intel for x86_64 which still supported -KPIC.
13974 lt_prog_compiler_wl_FC
='-Wl,'
13975 lt_prog_compiler_pic_FC
='-KPIC'
13976 lt_prog_compiler_static_FC
='-static'
13978 # icc used to be incompatible with GCC.
13979 # ICC 10 doesn't accept -KPIC any more.
13981 lt_prog_compiler_wl_FC
='-Wl,'
13982 lt_prog_compiler_pic_FC
='-fPIC'
13983 lt_prog_compiler_static_FC
='-static'
13985 # Lahey Fortran 8.1.
13987 lt_prog_compiler_wl_FC
='-Wl,'
13988 lt_prog_compiler_pic_FC
='--shared'
13989 lt_prog_compiler_static_FC
='--static'
13991 pgcc
* | pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
13992 # Portland Group compilers (*not* the Pentium gcc compiler,
13993 # which looks to be a dead project)
13994 lt_prog_compiler_wl_FC
='-Wl,'
13995 lt_prog_compiler_pic_FC
='-fpic'
13996 lt_prog_compiler_static_FC
='-Bstatic'
13999 lt_prog_compiler_wl_FC
='-Wl,'
14000 # All Alpha code is PIC.
14001 lt_prog_compiler_static_FC
='-non_shared'
14003 xl
* | bgxl
* | bgf
* | mpixl
*)
14004 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
14005 lt_prog_compiler_wl_FC
='-Wl,'
14006 lt_prog_compiler_pic_FC
='-qpic'
14007 lt_prog_compiler_static_FC
='-qstaticlink'
14010 case `$CC -V 2>&1 | sed 5q` in
14011 *Sun\ F
* |
*Sun
*Fortran
*)
14012 # Sun Fortran 8.3 passes all unrecognized flags to the linker
14013 lt_prog_compiler_pic_FC
='-KPIC'
14014 lt_prog_compiler_static_FC
='-Bstatic'
14015 lt_prog_compiler_wl_FC
=''
14019 lt_prog_compiler_pic_FC
='-KPIC'
14020 lt_prog_compiler_static_FC
='-Bstatic'
14021 lt_prog_compiler_wl_FC
='-Wl,'
14029 lt_prog_compiler_pic_FC
='-KPIC'
14030 lt_prog_compiler_static_FC
='-Bstatic'
14034 # QNX uses GNU C++, but need to define -shared option too, otherwise
14035 # it will coredump.
14036 lt_prog_compiler_pic_FC
='-fPIC -shared'
14039 osf3
* | osf4
* | osf5
*)
14040 lt_prog_compiler_wl_FC
='-Wl,'
14041 # All OSF/1 code is PIC.
14042 lt_prog_compiler_static_FC
='-non_shared'
14046 lt_prog_compiler_static_FC
='-non_shared'
14050 lt_prog_compiler_pic_FC
='-KPIC'
14051 lt_prog_compiler_static_FC
='-Bstatic'
14052 case $cc_basename in
14053 f77
* | f90
* | f95
*)
14054 lt_prog_compiler_wl_FC
='-Qoption ld ';;
14056 lt_prog_compiler_wl_FC
='-Wl,';;
14061 lt_prog_compiler_wl_FC
='-Qoption ld '
14062 lt_prog_compiler_pic_FC
='-PIC'
14063 lt_prog_compiler_static_FC
='-Bstatic'
14066 sysv4 | sysv4.2uw2
* | sysv4.3
*)
14067 lt_prog_compiler_wl_FC
='-Wl,'
14068 lt_prog_compiler_pic_FC
='-KPIC'
14069 lt_prog_compiler_static_FC
='-Bstatic'
14073 if test -d /usr
/nec
;then
14074 lt_prog_compiler_pic_FC
='-Kconform_pic'
14075 lt_prog_compiler_static_FC
='-Bstatic'
14079 sysv5
* | unixware
* | sco3.2v5
* | sco5v6
* | OpenUNIX
*)
14080 lt_prog_compiler_wl_FC
='-Wl,'
14081 lt_prog_compiler_pic_FC
='-KPIC'
14082 lt_prog_compiler_static_FC
='-Bstatic'
14086 lt_prog_compiler_wl_FC
='-Wl,'
14087 lt_prog_compiler_can_build_shared_FC
=no
14091 lt_prog_compiler_pic_FC
='-pic'
14092 lt_prog_compiler_static_FC
='-Bstatic'
14096 lt_prog_compiler_can_build_shared_FC
=no
14102 # For platforms which do not support PIC, -DPIC is meaningless:
14104 lt_prog_compiler_pic_FC
=
14107 lt_prog_compiler_pic_FC
="$lt_prog_compiler_pic_FC"
14110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_FC" >&5
14111 $as_echo "$lt_prog_compiler_pic_FC" >&6; }
14116 # Check to make sure the PIC flag actually works.
14118 if test -n "$lt_prog_compiler_pic_FC"; then
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_FC works" >&5
14120 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_FC works... " >&6; }
14121 if ${lt_cv_prog_compiler_pic_works_FC+:} false
; then :
14122 $as_echo_n "(cached) " >&6
14124 lt_cv_prog_compiler_pic_works_FC
=no
14125 ac_outfile
=conftest.
$ac_objext
14126 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14127 lt_compiler_flag
="$lt_prog_compiler_pic_FC"
14128 # Insert the option either (1) after the last *FLAGS variable, or
14129 # (2) before a word containing "conftest.", or (3) at the end.
14130 # Note that $ac_compile itself does not contain backslashes and begins
14131 # with a dollar sign (not a hyphen), so the echo should work correctly.
14132 # The option is referenced via a variable to avoid confusing sed.
14133 lt_compile
=`echo "$ac_compile" | $SED \
14134 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14135 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14136 -e 's:$: $lt_compiler_flag:'`
14137 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14138 (eval "$lt_compile" 2>conftest.err
)
14140 cat conftest.err
>&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 if (exit $ac_status) && test -s "$ac_outfile"; then
14143 # The compiler can only warn and ignore the option if not recognized
14144 # So say no if there are warnings other than the usual output.
14145 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' >conftest.exp
14146 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14147 if test ! -s conftest.er2 ||
diff conftest.exp conftest.er2
>/dev
/null
; then
14148 lt_cv_prog_compiler_pic_works_FC
=yes
14154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_FC" >&5
14155 $as_echo "$lt_cv_prog_compiler_pic_works_FC" >&6; }
14157 if test x
"$lt_cv_prog_compiler_pic_works_FC" = xyes
; then
14158 case $lt_prog_compiler_pic_FC in
14160 *) lt_prog_compiler_pic_FC
=" $lt_prog_compiler_pic_FC" ;;
14163 lt_prog_compiler_pic_FC
=
14164 lt_prog_compiler_can_build_shared_FC
=no
14172 # Check to make sure the static flag actually works.
14174 wl
=$lt_prog_compiler_wl_FC eval lt_tmp_static_flag
=\"$lt_prog_compiler_static_FC\"
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14176 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14177 if ${lt_cv_prog_compiler_static_works_FC+:} false
; then :
14178 $as_echo_n "(cached) " >&6
14180 lt_cv_prog_compiler_static_works_FC
=no
14181 save_LDFLAGS
="$LDFLAGS"
14182 LDFLAGS
="$LDFLAGS $lt_tmp_static_flag"
14183 echo "$lt_simple_link_test_code" > conftest.
$ac_ext
14184 if (eval $ac_link 2>conftest.err
) && test -s conftest
$ac_exeext; then
14185 # The linker can only warn and ignore the option if not recognized
14186 # So say no if there are warnings
14187 if test -s conftest.err
; then
14188 # Append any errors to the config.log.
14189 cat conftest.err
1>&5
14190 $ECHO "$_lt_linker_boilerplate" |
$SED '/^$/d' > conftest.exp
14191 $SED '/^$/d; /^ *+/d' conftest.err
>conftest.er2
14192 if diff conftest.exp conftest.er2
>/dev
/null
; then
14193 lt_cv_prog_compiler_static_works_FC
=yes
14196 lt_cv_prog_compiler_static_works_FC
=yes
14200 LDFLAGS
="$save_LDFLAGS"
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_FC" >&5
14204 $as_echo "$lt_cv_prog_compiler_static_works_FC" >&6; }
14206 if test x
"$lt_cv_prog_compiler_static_works_FC" = xyes
; then
14209 lt_prog_compiler_static_FC
=
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14216 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14217 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14218 $as_echo_n "(cached) " >&6
14220 lt_cv_prog_compiler_c_o_FC
=no
14221 $RM -r conftest
2>/dev
/null
14225 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14227 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14228 # Insert the option either (1) after the last *FLAGS variable, or
14229 # (2) before a word containing "conftest.", or (3) at the end.
14230 # Note that $ac_compile itself does not contain backslashes and begins
14231 # with a dollar sign (not a hyphen), so the echo should work correctly.
14232 lt_compile
=`echo "$ac_compile" | $SED \
14233 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14234 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14235 -e 's:$: $lt_compiler_flag:'`
14236 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14237 (eval "$lt_compile" 2>out
/conftest.err
)
14239 cat out
/conftest.err
>&5
14240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14241 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14243 # The compiler can only warn and ignore the option if not recognized
14244 # So say no if there are warnings
14245 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14246 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14247 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14248 lt_cv_prog_compiler_c_o_FC
=yes
14253 # SGI C++ compiler will create directory out/ii_files/ for
14254 # template instantiation
14255 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14256 $RM out
/* && rmdir out
14262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14263 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14268 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14269 if ${lt_cv_prog_compiler_c_o_FC+:} false
; then :
14270 $as_echo_n "(cached) " >&6
14272 lt_cv_prog_compiler_c_o_FC
=no
14273 $RM -r conftest
2>/dev
/null
14277 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
14279 lt_compiler_flag
="-o out/conftest2.$ac_objext"
14280 # Insert the option either (1) after the last *FLAGS variable, or
14281 # (2) before a word containing "conftest.", or (3) at the end.
14282 # Note that $ac_compile itself does not contain backslashes and begins
14283 # with a dollar sign (not a hyphen), so the echo should work correctly.
14284 lt_compile
=`echo "$ac_compile" | $SED \
14285 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14286 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14287 -e 's:$: $lt_compiler_flag:'`
14288 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14289 (eval "$lt_compile" 2>out
/conftest.err
)
14291 cat out
/conftest.err
>&5
14292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14293 if (exit $ac_status) && test -s out
/conftest2.
$ac_objext
14295 # The compiler can only warn and ignore the option if not recognized
14296 # So say no if there are warnings
14297 $ECHO "$_lt_compiler_boilerplate" |
$SED '/^$/d' > out
/conftest.exp
14298 $SED '/^$/d; /^ *+/d' out
/conftest.err
>out
/conftest.er2
14299 if test ! -s out
/conftest.er2 ||
diff out
/conftest.exp out
/conftest.er2
>/dev
/null
; then
14300 lt_cv_prog_compiler_c_o_FC
=yes
14305 # SGI C++ compiler will create directory out/ii_files/ for
14306 # template instantiation
14307 test -d out
/ii_files
&& $RM out
/ii_files
/* && rmdir out
/ii_files
14308 $RM out
/* && rmdir out
14314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_FC" >&5
14315 $as_echo "$lt_cv_prog_compiler_c_o_FC" >&6; }
14320 hard_links
="nottested"
14321 if test "$lt_cv_prog_compiler_c_o_FC" = no
&& test "$need_locks" != no
; then
14322 # do not overwrite the value of need_locks provided by the user
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14324 $as_echo_n "checking if we can lock with hard links... " >&6; }
14327 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14329 ln conftest.a conftest.b
2>&5 || hard_links
=no
14330 ln conftest.a conftest.b
2>/dev
/null
&& hard_links
=no
14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14332 $as_echo "$hard_links" >&6; }
14333 if test "$hard_links" = no
; then
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14335 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14345 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14348 allow_undefined_flag_FC
=
14349 always_export_symbols_FC
=no
14351 archive_expsym_cmds_FC
=
14352 compiler_needs_object_FC
=no
14353 enable_shared_with_static_runtimes_FC
=no
14354 export_dynamic_flag_spec_FC
=
14355 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14356 hardcode_automatic_FC
=no
14357 hardcode_direct_FC
=no
14358 hardcode_direct_absolute_FC
=no
14359 hardcode_libdir_flag_spec_FC
=
14360 hardcode_libdir_flag_spec_ld_FC
=
14361 hardcode_libdir_separator_FC
=
14362 hardcode_minus_L_FC
=no
14363 hardcode_shlibpath_var_FC
=unsupported
14364 inherit_rpath_FC
=no
14365 link_all_deplibs_FC
=unknown
14367 module_expsym_cmds_FC
=
14368 old_archive_from_new_cmds_FC
=
14369 old_archive_from_expsyms_cmds_FC
=
14370 thread_safe_flag_spec_FC
=
14371 whole_archive_flag_spec_FC
=
14372 # include_expsyms should be a list of space-separated symbols to be *always*
14373 # included in the symbol list
14374 include_expsyms_FC
=
14375 # exclude_expsyms can be an extended regexp of symbols to exclude
14376 # it will be wrapped by ` (' and `)$', so one must not match beginning or
14377 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
14378 # as well as any symbol that contains `d'.
14379 exclude_expsyms_FC
='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14380 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
14381 # platforms (ab)use it in PIC code, but their linkers get confused if
14382 # the symbol is explicitly referenced. Since portable code cannot
14383 # rely on this symbol name, it's probably fine to never include it in
14384 # preloaded symbol tables.
14385 # Exclude shared library initialization/finalization symbols.
14386 extract_expsyms_cmds
=
14389 cygwin
* | mingw
* | pw32
* | cegcc
*)
14390 # FIXME: the MSVC++ port hasn't been tested in a loooong time
14391 # When not using gcc, we currently assume that we are using
14392 # Microsoft Visual C++.
14393 if test "$GCC" != yes; then
14398 # we just hope/assume this is gcc and not c89 (= MSVC++)
14408 # On some targets, GNU ld is compatible enough with the native linker
14409 # that we're better off using the native interface for both.
14410 lt_use_gnu_ld_interface
=no
14411 if test "$with_gnu_ld" = yes; then
14414 # The AIX port of GNU ld has always aspired to compatibility
14415 # with the native linker. However, as the warning in the GNU ld
14416 # block says, versions before 2.19.5* couldn't really create working
14417 # shared libraries, regardless of the interface used.
14418 case `$LD -v 2>&1` in
14419 *\ \
(GNU\ Binutils\
)\
2.19.5*) ;;
14420 *\ \
(GNU\ Binutils\
)\
2.
[2-9]*) ;;
14421 *\ \
(GNU\ Binutils\
)\
[3-9]*) ;;
14423 lt_use_gnu_ld_interface
=yes
14428 lt_use_gnu_ld_interface
=yes
14433 if test "$lt_use_gnu_ld_interface" = yes; then
14434 # If archive_cmds runs LD, not CC, wlarc should be empty
14437 # Set some defaults for GNU ld with shared library support. These
14438 # are reset later if shared libraries are not supported. Putting them
14439 # here allows them to be overridden if necessary.
14440 runpath_var
=LD_RUN_PATH
14441 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14442 export_dynamic_flag_spec_FC
='${wl}--export-dynamic'
14443 # ancient GNU ld didn't support --whole-archive et. al.
14444 if $LD --help 2>&1 |
$GREP 'no-whole-archive' > /dev
/null
; then
14445 whole_archive_flag_spec_FC
="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14447 whole_archive_flag_spec_FC
=
14449 supports_anon_versioning
=no
14450 case `$LD -v 2>&1` in
14451 *GNU\ gold
*) supports_anon_versioning
=yes ;;
14452 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.10.
*) ;; # catch versions < 2.11
14453 *\
2.11.93.0.2\
*) supports_anon_versioning
=yes ;; # RH7.3 ...
14454 *\
2.11.92.0.12\
*) supports_anon_versioning
=yes ;; # Mandrake 8.2 ...
14455 *\
2.11.
*) ;; # other 2.11 versions
14456 *) supports_anon_versioning
=yes ;;
14459 # See if GNU ld supports shared libraries.
14462 # On AIX/PPC, the GNU linker is very broken
14463 if test "$host_cpu" != ia64
; then
14467 *** Warning: the GNU linker, at least up to release 2.19, is reported
14468 *** to be unable to reliably create shared libraries on AIX.
14469 *** Therefore, libtool is disabling shared libraries support. If you
14470 *** really care for shared libraries, you may want to install binutils
14471 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
14472 *** You will then need to restart the configuration process.
14481 # see comment about AmigaOS4 .so support
14482 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14483 archive_expsym_cmds_FC
=''
14486 archive_cmds_FC
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14487 hardcode_libdir_flag_spec_FC
='-L$libdir'
14488 hardcode_minus_L_FC
=yes
14494 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14495 allow_undefined_flag_FC
=unsupported
14496 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
14497 # support --undefined. This deserves some investigation. FIXME
14498 archive_cmds_FC
='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14504 cygwin
* | mingw
* | pw32
* | cegcc
*)
14505 # _LT_TAGVAR(hardcode_libdir_flag_spec, FC) is actually meaningless,
14506 # as there is no search path for DLLs.
14507 hardcode_libdir_flag_spec_FC
='-L$libdir'
14508 export_dynamic_flag_spec_FC
='${wl}--export-all-symbols'
14509 allow_undefined_flag_FC
=unsupported
14510 always_export_symbols_FC
=no
14511 enable_shared_with_static_runtimes_FC
=yes
14512 export_symbols_cmds_FC
='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14514 if $LD --help 2>&1 |
$GREP 'auto-import' > /dev
/null
; then
14515 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14516 # If the export-symbols file already is a .def file (1st line
14517 # is EXPORTS), use it as is; otherwise, prepend...
14518 archive_expsym_cmds_FC
='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
14519 cp $export_symbols $output_objdir/$soname.def;
14521 echo EXPORTS > $output_objdir/$soname.def;
14522 cat $export_symbols >> $output_objdir/$soname.def;
14524 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14531 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14532 link_all_deplibs_FC
=yes
14536 hardcode_direct_FC
=no
14537 hardcode_shlibpath_var_FC
=no
14538 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
14539 export_dynamic_flag_spec_FC
='${wl}-E'
14540 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
14541 # Instead, shared libraries are loaded at an image base (0x10000000 by
14542 # default) and relocated if they conflict, which is a slow very memory
14543 # consuming and fragmenting process. To avoid this, we pick a random,
14544 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
14545 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
14546 archive_cmds_FC
='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14547 archive_expsym_cmds_FC
='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14550 gnu
* | linux
* | tpf
* | k
*bsd
*-gnu | kopensolaris
*-gnu | uclinuxfdpiceabi
)
14552 if test "$host_os" = linux-dietlibc
; then
14553 case $cc_basename in
14554 diet\
*) tmp_diet
=yes;; # linux-dietlibc with static linking (!diet-dyn)
14557 if $LD --help 2>&1 |
$EGREP ': supported targets:.* elf' > /dev
/null \
14558 && test "$tmp_diet" = no
14560 tmp_addflag
=' $pic_flag'
14561 tmp_sharedflag
='-shared'
14562 case $cc_basename,$host_cpu in
14563 pgcc
*) # Portland Group C compiler
14564 whole_archive_flag_spec_FC
='${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'
14565 tmp_addflag
=' $pic_flag'
14567 pgf77
* | pgf90
* | pgf95
* | pgfortran
*)
14568 # Portland Group f77 and f90 compilers
14569 whole_archive_flag_spec_FC
='${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'
14570 tmp_addflag
=' $pic_flag -Mnomain' ;;
14571 ecc
*,ia64
* | icc
*,ia64
*) # Intel C compiler on ia64
14572 tmp_addflag
=' -i_dynamic' ;;
14573 efc
*,ia64
* | ifort
*,ia64
*) # Intel Fortran compiler on ia64
14574 tmp_addflag
=' -i_dynamic -nofor_main' ;;
14575 ifc
* | ifort
*) # Intel Fortran compiler
14576 tmp_addflag
=' -nofor_main' ;;
14577 lf95
*) # Lahey Fortran 8.1
14578 whole_archive_flag_spec_FC
=
14579 tmp_sharedflag
='--shared' ;;
14580 xl
[cC
]* | bgxl
[cC
]* | mpixl
[cC
]*) # IBM XL C 8.0 on PPC (deal with xlf below)
14581 tmp_sharedflag
='-qmkshrobj'
14583 nvcc
*) # Cuda Compiler Driver 2.2
14584 whole_archive_flag_spec_FC
='${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'
14585 compiler_needs_object_FC
=yes
14588 case `$CC -V 2>&1 | sed 5q` in
14589 *Sun\ C
*) # Sun C 5.9
14590 whole_archive_flag_spec_FC
='${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'
14591 compiler_needs_object_FC
=yes
14592 tmp_sharedflag
='-G' ;;
14593 *Sun\ F
*) # Sun Fortran 8.3
14594 tmp_sharedflag
='-G' ;;
14596 archive_cmds_FC
='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14598 if test "x$supports_anon_versioning" = xyes
; then
14599 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14600 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14601 echo "local: *; };" >> $output_objdir/$libname.ver~
14602 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14605 case $cc_basename in
14606 xlf
* | bgf
* | bgxlf
* | mpixlf
*)
14607 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
14608 whole_archive_flag_spec_FC
='--whole-archive$convenience --no-whole-archive'
14609 hardcode_libdir_flag_spec_FC
=
14610 hardcode_libdir_flag_spec_ld_FC
='-rpath $libdir'
14611 archive_cmds_FC
='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
14612 if test "x$supports_anon_versioning" = xyes
; then
14613 archive_expsym_cmds_FC
='echo "{ global:" > $output_objdir/$libname.ver~
14614 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14615 echo "local: *; };" >> $output_objdir/$libname.ver~
14616 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
14626 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
14627 archive_cmds_FC
='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14630 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14631 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14636 if $LD -v 2>&1 |
$GREP 'BFD 2\.8' > /dev
/null
; then
14640 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
14641 *** create shared libraries on Solaris systems. Therefore, libtool
14642 *** is disabling shared libraries support. We urge you to upgrade GNU
14643 *** binutils to release 2.9.1 or newer. Another option is to modify
14644 *** your PATH or compiler configuration so that the native linker is
14645 *** used, and then restart.
14648 elif $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14649 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14650 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14656 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
*)
14657 case `$LD -v 2>&1` in
14658 *\
[01].
* |
*\
2.
[0-9].
* |
*\
2.1[0-5].
*)
14662 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
14663 *** reliably create shared libraries on SCO systems. Therefore, libtool
14664 *** is disabling shared libraries support. We urge you to upgrade GNU
14665 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
14666 *** your PATH or compiler configuration so that the native linker is
14667 *** used, and then restart.
14672 # For security reasons, it is highly recommended that you always
14673 # use absolute paths for naming shared libraries, and exclude the
14674 # DT_RUNPATH tag from executables and libraries. But doing so
14675 # requires that you compile everything twice, which is a pain.
14676 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14677 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
14678 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14679 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14688 archive_cmds_FC
='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
14690 hardcode_direct_FC
=yes
14691 hardcode_shlibpath_var_FC
=no
14695 if $LD --help 2>&1 |
$GREP ': supported targets:.* elf' > /dev
/null
; then
14696 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14697 archive_expsym_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14704 if test "$ld_shlibs_FC" = no
; then
14706 hardcode_libdir_flag_spec_FC
=
14707 export_dynamic_flag_spec_FC
=
14708 whole_archive_flag_spec_FC
=
14711 # PORTME fill in a description of your system's linker (not GNU ld)
14714 allow_undefined_flag_FC
=unsupported
14715 always_export_symbols_FC
=yes
14716 archive_expsym_cmds_FC
='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
14717 # Note: this linker hardcodes the directories in LIBPATH if there
14718 # are no directories specified by -L.
14719 hardcode_minus_L_FC
=yes
14720 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
14721 # Neither direct hardcoding nor static linking is supported with a
14723 hardcode_direct_FC
=unsupported
14728 if test "$host_cpu" = ia64
; then
14729 # On IA64, the linker does run time linking by default, so we don't
14730 # have to do anything special.
14731 aix_use_runtimelinking
=no
14732 exp_sym_flag
='-Bexport'
14735 # If we're using GNU nm, then we don't want the "-C" option.
14736 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14737 # Also, AIX nm treats weak defined symbols like other global
14738 # defined symbols, whereas GNU nm marks them as "W".
14739 if $NM -V 2>&1 |
$GREP 'GNU' > /dev
/null
; then
14740 export_symbols_cmds_FC
='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14742 export_symbols_cmds_FC
='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14744 aix_use_runtimelinking
=no
14746 # Test if we are trying to use run time linking or normal
14747 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14748 # need to do runtime linking.
14749 case $host_os in aix4.
[23]|aix4.
[23].
*|aix
[5-9]*)
14750 for ld_flag
in $LDFLAGS; do
14751 if (test $ld_flag = "-brtl" ||
test $ld_flag = "-Wl,-brtl"); then
14752 aix_use_runtimelinking
=yes
14759 exp_sym_flag
='-bexport'
14760 no_entry_flag
='-bnoentry'
14763 # When large executables or shared objects are built, AIX ld can
14764 # have problems creating the table of contents. If linking a library
14765 # or program results in "error TOC overflow" add -mminimal-toc to
14766 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14767 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14770 hardcode_direct_FC
=yes
14771 hardcode_direct_absolute_FC
=yes
14772 hardcode_libdir_separator_FC
=':'
14773 link_all_deplibs_FC
=yes
14774 file_list_spec_FC
='${wl}-f,'
14776 if test "$GCC" = yes; then
14777 case $host_os in aix4.
[012]|aix4.
[012].
*)
14778 # We only want to do this on AIX 4.2 and lower, the check
14779 # below for broken collect2 doesn't work under 4.3+
14780 collect2name
=`${CC} -print-prog-name=collect2`
14781 if test -f "$collect2name" &&
14782 strings "$collect2name" |
$GREP resolve_lib_name
>/dev
/null
14784 # We have reworked collect2
14787 # We have old collect2
14788 hardcode_direct_FC
=unsupported
14789 # It fails to find uninstalled libraries when the uninstalled
14790 # path is not listed in the libpath. Setting hardcode_minus_L
14791 # to unsupported forces relinking
14792 hardcode_minus_L_FC
=yes
14793 hardcode_libdir_flag_spec_FC
='-L$libdir'
14794 hardcode_libdir_separator_FC
=
14798 shared_flag
='-shared'
14799 if test "$aix_use_runtimelinking" = yes; then
14800 shared_flag
="$shared_flag "'${wl}-G'
14804 if test "$host_cpu" = ia64
; then
14805 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14806 # chokes on -Wl,-G. The following line is correct:
14809 if test "$aix_use_runtimelinking" = yes; then
14810 shared_flag
='${wl}-G'
14812 shared_flag
='${wl}-bM:SRE'
14817 export_dynamic_flag_spec_FC
='${wl}-bexpall'
14818 # It seems that -bexpall does not export symbols beginning with
14819 # underscore (_), so it is better to generate a list of symbols to export.
14820 always_export_symbols_FC
=yes
14821 if test "$aix_use_runtimelinking" = yes; then
14822 # Warning - without using the other runtime loading flags (-brtl),
14823 # -berok will link without error, but may produce a broken library.
14824 allow_undefined_flag_FC
='-berok'
14825 # Determine the default libpath from the value encoded in an
14826 # empty executable.
14827 if test x
$gcc_no_link = xyes
; then
14828 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14830 cat > conftest.
$ac_ext <<_ACEOF
14835 if ac_fn_fc_try_link
"$LINENO"; then :
14837 lt_aix_libpath_sed
='
14838 /Import File Strings/,/^$/ {
14844 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14845 # Check for a 64-bit object if we didn't find anything.
14846 if test -z "$aix_libpath"; then
14847 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14850 rm -f core conftest.err conftest.
$ac_objext \
14851 conftest
$ac_exeext conftest.
$ac_ext
14852 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14854 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14855 archive_expsym_cmds_FC
='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14857 if test "$host_cpu" = ia64
; then
14858 hardcode_libdir_flag_spec_FC
='${wl}-R $libdir:/usr/lib:/lib'
14859 allow_undefined_flag_FC
="-z nodefs"
14860 archive_expsym_cmds_FC
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
14862 # Determine the default libpath from the value encoded in an
14863 # empty executable.
14864 if test x
$gcc_no_link = xyes
; then
14865 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14867 cat > conftest.
$ac_ext <<_ACEOF
14872 if ac_fn_fc_try_link
"$LINENO"; then :
14874 lt_aix_libpath_sed
='
14875 /Import File Strings/,/^$/ {
14881 aix_libpath
=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14882 # Check for a 64-bit object if we didn't find anything.
14883 if test -z "$aix_libpath"; then
14884 aix_libpath
=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14887 rm -f core conftest.err conftest.
$ac_objext \
14888 conftest
$ac_exeext conftest.
$ac_ext
14889 if test -z "$aix_libpath"; then aix_libpath
="/usr/lib:/lib"; fi
14891 hardcode_libdir_flag_spec_FC
='${wl}-blibpath:$libdir:'"$aix_libpath"
14892 # Warning - without using the other run time loading flags,
14893 # -berok will link without error, but may produce a broken library.
14894 no_undefined_flag_FC
=' ${wl}-bernotok'
14895 allow_undefined_flag_FC
=' ${wl}-berok'
14896 if test "$with_gnu_ld" = yes; then
14897 # We only use this code for GNU lds that support --whole-archive.
14898 whole_archive_flag_spec_FC
='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
14900 # Exported symbols can be pulled into shared objects from archives
14901 whole_archive_flag_spec_FC
='$convenience'
14903 archive_cmds_need_lc_FC
=yes
14904 # This is similar to how AIX traditionally builds its shared libraries.
14905 archive_expsym_cmds_FC
="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
14913 # see comment about AmigaOS4 .so support
14914 archive_cmds_FC
='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14915 archive_expsym_cmds_FC
=''
14918 archive_cmds_FC
='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
14919 hardcode_libdir_flag_spec_FC
='-L$libdir'
14920 hardcode_minus_L_FC
=yes
14926 export_dynamic_flag_spec_FC
=-rdynamic
14929 cygwin
* | mingw
* | pw32
* | cegcc
*)
14930 # When not using gcc, we currently assume that we are using
14931 # Microsoft Visual C++.
14932 # hardcode_libdir_flag_spec is actually meaningless, as there is
14933 # no search path for DLLs.
14934 hardcode_libdir_flag_spec_FC
=' '
14935 allow_undefined_flag_FC
=unsupported
14936 # Tell ltmain to make .lib files, not .a files.
14938 # Tell ltmain to make .dll files, not .so files.
14940 # FIXME: Setting linknames here is a bad hack.
14941 archive_cmds_FC
='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14942 # The linker will automatically build a .lib file if we build a DLL.
14943 old_archive_from_new_cmds_FC
='true'
14944 # FIXME: Should let the user specify the lib program.
14945 old_archive_cmds_FC
='lib -OUT:$oldlib$oldobjs$old_deplibs'
14946 fix_srcfile_path_FC
='`cygpath -w "$srcfile"`'
14947 enable_shared_with_static_runtimes_FC
=yes
14950 darwin
* | rhapsody
*)
14953 archive_cmds_need_lc_FC
=no
14954 hardcode_direct_FC
=no
14955 hardcode_automatic_FC
=yes
14956 hardcode_shlibpath_var_FC
=unsupported
14957 if test "$lt_cv_ld_force_load" = "yes"; then
14958 whole_archive_flag_spec_FC
='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
14960 whole_archive_flag_spec_FC
=''
14962 link_all_deplibs_FC
=yes
14963 allow_undefined_flag_FC
="$_lt_dar_allow_undefined"
14964 case $cc_basename in
14965 ifort
*) _lt_dar_can_shared
=yes ;;
14966 *) _lt_dar_can_shared
=$GCC ;;
14968 if test "$_lt_dar_can_shared" = "yes"; then
14969 output_verbose_link_cmd
=func_echo_all
14970 archive_cmds_FC
="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
14971 module_cmds_FC
="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
14972 archive_expsym_cmds_FC
="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
14973 module_expsym_cmds_FC
="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
14982 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
14983 hardcode_libdir_flag_spec_FC
='-L$libdir'
14984 hardcode_shlibpath_var_FC
=no
14987 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
14988 # support. Future versions do this automatically, but an explicit c++rt0.o
14989 # does not break anything, and helps significantly (at the cost of a little
14992 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
14993 hardcode_libdir_flag_spec_FC
='-R$libdir'
14994 hardcode_direct_FC
=yes
14995 hardcode_shlibpath_var_FC
=no
14998 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15000 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15001 hardcode_direct_FC
=yes
15002 hardcode_minus_L_FC
=yes
15003 hardcode_shlibpath_var_FC
=no
15006 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15007 freebsd
* | dragonfly
*)
15008 archive_cmds_FC
='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15009 hardcode_libdir_flag_spec_FC
='-R$libdir'
15010 hardcode_direct_FC
=yes
15011 hardcode_shlibpath_var_FC
=no
15015 if test "$GCC" = yes; then
15016 archive_cmds_FC
='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15018 archive_cmds_FC
='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15020 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15021 hardcode_libdir_separator_FC
=:
15022 hardcode_direct_FC
=yes
15024 # hardcode_minus_L: Not really in the search PATH,
15025 # but as the default location of the library.
15026 hardcode_minus_L_FC
=yes
15027 export_dynamic_flag_spec_FC
='${wl}-E'
15031 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15032 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15034 archive_cmds_FC
='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15036 if test "$with_gnu_ld" = no
; then
15037 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15038 hardcode_libdir_flag_spec_ld_FC
='+b $libdir'
15039 hardcode_libdir_separator_FC
=:
15040 hardcode_direct_FC
=yes
15041 hardcode_direct_absolute_FC
=yes
15042 export_dynamic_flag_spec_FC
='${wl}-E'
15043 # hardcode_minus_L: Not really in the search PATH,
15044 # but as the default location of the library.
15045 hardcode_minus_L_FC
=yes
15050 if test "$GCC" = yes && test "$with_gnu_ld" = no
; then
15053 archive_cmds_FC
='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15056 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15059 archive_cmds_FC
='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15065 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15068 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
15071 archive_cmds_FC
='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15075 if test "$with_gnu_ld" = no
; then
15076 hardcode_libdir_flag_spec_FC
='${wl}+b ${wl}$libdir'
15077 hardcode_libdir_separator_FC
=:
15081 hardcode_direct_FC
=no
15082 hardcode_shlibpath_var_FC
=no
15085 hardcode_direct_FC
=yes
15086 hardcode_direct_absolute_FC
=yes
15087 export_dynamic_flag_spec_FC
='${wl}-E'
15089 # hardcode_minus_L: Not really in the search PATH,
15090 # but as the default location of the library.
15091 hardcode_minus_L_FC
=yes
15097 irix5
* | irix6
* | nonstopux
*)
15098 if test "$GCC" = yes; then
15099 archive_cmds_FC
='$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'
15100 # Try to use the -exported_symbol ld option, if it does not
15101 # work, assume that -exports_file does not work either and
15102 # implicitly export all symbols.
15103 save_LDFLAGS
="$LDFLAGS"
15104 LDFLAGS
="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
15105 if test x
$gcc_no_link = xyes
; then
15106 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15108 cat > conftest.
$ac_ext <<_ACEOF
15111 if ac_fn_fc_try_link
"$LINENO"; then :
15112 archive_expsym_cmds_FC
='$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'
15115 rm -f core conftest.err conftest.
$ac_objext \
15116 conftest
$ac_exeext conftest.
$ac_ext
15117 LDFLAGS
="$save_LDFLAGS"
15119 archive_cmds_FC
='$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'
15120 archive_expsym_cmds_FC
='$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'
15122 archive_cmds_need_lc_FC
='no'
15123 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15124 hardcode_libdir_separator_FC
=:
15125 inherit_rpath_FC
=yes
15126 link_all_deplibs_FC
=yes
15130 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15131 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15133 archive_cmds_FC
='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15135 hardcode_libdir_flag_spec_FC
='-R$libdir'
15136 hardcode_direct_FC
=yes
15137 hardcode_shlibpath_var_FC
=no
15141 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15142 hardcode_direct_FC
=yes
15143 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15144 hardcode_libdir_separator_FC
=:
15145 hardcode_shlibpath_var_FC
=no
15152 if test -f /usr
/libexec
/ld.so
; then
15153 hardcode_direct_FC
=yes
15154 hardcode_shlibpath_var_FC
=no
15155 hardcode_direct_absolute_FC
=yes
15156 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15157 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15158 archive_expsym_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15159 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15160 export_dynamic_flag_spec_FC
='${wl}-E'
15163 openbsd
[01].
* | openbsd2.
[0-7] | openbsd2.
[0-7].
*)
15164 archive_cmds_FC
='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15165 hardcode_libdir_flag_spec_FC
='-R$libdir'
15168 archive_cmds_FC
='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15169 hardcode_libdir_flag_spec_FC
='${wl}-rpath,$libdir'
15179 hardcode_libdir_flag_spec_FC
='-L$libdir'
15180 hardcode_minus_L_FC
=yes
15181 allow_undefined_flag_FC
=unsupported
15182 archive_cmds_FC
='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
15183 old_archive_from_new_cmds_FC
='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
15187 if test "$GCC" = yes; then
15188 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15189 archive_cmds_FC
='$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'
15191 allow_undefined_flag_FC
=' -expect_unresolved \*'
15192 archive_cmds_FC
='$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'
15194 archive_cmds_need_lc_FC
='no'
15195 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15196 hardcode_libdir_separator_FC
=:
15199 osf4
* | osf5
*) # as osf3* with the addition of -msym flag
15200 if test "$GCC" = yes; then
15201 allow_undefined_flag_FC
=' ${wl}-expect_unresolved ${wl}\*'
15202 archive_cmds_FC
='$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'
15203 hardcode_libdir_flag_spec_FC
='${wl}-rpath ${wl}$libdir'
15205 allow_undefined_flag_FC
=' -expect_unresolved \*'
15206 archive_cmds_FC
='$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'
15207 archive_expsym_cmds_FC
='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
15208 $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'
15210 # Both c and cxx compiler support -rpath directly
15211 hardcode_libdir_flag_spec_FC
='-rpath $libdir'
15213 archive_cmds_need_lc_FC
='no'
15214 hardcode_libdir_separator_FC
=:
15218 no_undefined_flag_FC
=' -z defs'
15219 if test "$GCC" = yes; then
15221 archive_cmds_FC
='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15222 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15223 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15225 case `$CC -V 2>&1` in
15228 archive_cmds_FC
='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
15229 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15230 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
15234 archive_cmds_FC
='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
15235 archive_expsym_cmds_FC
='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15236 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
15240 hardcode_libdir_flag_spec_FC
='-R$libdir'
15241 hardcode_shlibpath_var_FC
=no
15243 solaris2.
[0-5] | solaris2.
[0-5].
*) ;;
15245 # The compiler driver will combine and reorder linker options,
15246 # but understands `-z linker_flag'. GCC discards it without `$wl',
15247 # but is careful enough not to reorder.
15248 # Supported since Solaris 2.6 (maybe 2.5.1?)
15249 if test "$GCC" = yes; then
15250 whole_archive_flag_spec_FC
='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15252 whole_archive_flag_spec_FC
='-z allextract$convenience -z defaultextract'
15256 link_all_deplibs_FC
=yes
15260 if test "x$host_vendor" = xsequent
; then
15261 # Use $CC to link under sequent, because it throws in some extra .o
15262 # files that make .init and .fini sections work.
15263 archive_cmds_FC
='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
15265 archive_cmds_FC
='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
15267 hardcode_libdir_flag_spec_FC
='-L$libdir'
15268 hardcode_direct_FC
=yes
15269 hardcode_minus_L_FC
=yes
15270 hardcode_shlibpath_var_FC
=no
15274 case $host_vendor in
15276 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15277 hardcode_direct_FC
=yes # is this really true???
15280 ## LD is ld it makes a PLAMLIB
15281 ## CC just makes a GrossModule.
15282 archive_cmds_FC
='$LD -G -o $lib $libobjs $deplibs $linker_flags'
15283 reload_cmds_FC
='$CC -r -o $output$reload_objs'
15284 hardcode_direct_FC
=no
15287 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15288 hardcode_direct_FC
=no
#Motorola manual says yes, but my tests say they lie
15291 runpath_var
='LD_RUN_PATH'
15292 hardcode_shlibpath_var_FC
=no
15296 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15297 hardcode_shlibpath_var_FC
=no
15298 export_dynamic_flag_spec_FC
='-Bexport'
15302 if test -d /usr
/nec
; then
15303 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15304 hardcode_shlibpath_var_FC
=no
15305 runpath_var
=LD_RUN_PATH
15306 hardcode_runpath_var
=yes
15311 sysv4
*uw2
* | sysv5OpenUNIX
* | sysv5UnixWare7.
[01].
[10]* | unixware7
* | sco3.2v5.0.
[024]*)
15312 no_undefined_flag_FC
='${wl}-z,text'
15313 archive_cmds_need_lc_FC
=no
15314 hardcode_shlibpath_var_FC
=no
15315 runpath_var
='LD_RUN_PATH'
15317 if test "$GCC" = yes; then
15318 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15319 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15321 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15322 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15326 sysv5
* | sco3.2v5
* | sco5v6
*)
15327 # Note: We can NOT use -z defs as we might desire, because we do not
15328 # link with -lc, and that would cause any symbols used from libc to
15329 # always be unresolved, which means just about no library would
15330 # ever link correctly. If we're not using GNU ld we use -z text
15331 # though, which does catch some bad symbols but isn't as heavy-handed
15333 no_undefined_flag_FC
='${wl}-z,text'
15334 allow_undefined_flag_FC
='${wl}-z,nodefs'
15335 archive_cmds_need_lc_FC
=no
15336 hardcode_shlibpath_var_FC
=no
15337 hardcode_libdir_flag_spec_FC
='${wl}-R,$libdir'
15338 hardcode_libdir_separator_FC
=':'
15339 link_all_deplibs_FC
=yes
15340 export_dynamic_flag_spec_FC
='${wl}-Bexport'
15341 runpath_var
='LD_RUN_PATH'
15343 if test "$GCC" = yes; then
15344 archive_cmds_FC
='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15345 archive_expsym_cmds_FC
='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15347 archive_cmds_FC
='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15348 archive_expsym_cmds_FC
='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15353 archive_cmds_FC
='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15354 hardcode_libdir_flag_spec_FC
='-L$libdir'
15355 hardcode_shlibpath_var_FC
=no
15363 if test x
$host_vendor = xsni
; then
15365 sysv4 | sysv4.2uw2
* | sysv4.3
* | sysv5
*)
15366 export_dynamic_flag_spec_FC
='${wl}-Blargedynsym'
15372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_FC" >&5
15373 $as_echo "$ld_shlibs_FC" >&6; }
15374 test "$ld_shlibs_FC" = no
&& can_build_shared
=no
15376 with_gnu_ld_FC
=$with_gnu_ld
15384 # Do we need to explicitly link libc?
15386 case "x$archive_cmds_need_lc_FC" in
15388 # Assume -lc should be added
15389 archive_cmds_need_lc_FC
=yes
15391 if test "$enable_shared" = yes && test "$GCC" = yes; then
15392 case $archive_cmds_FC in
15394 # FIXME: we may have to deal with multi-command sequences.
15397 # Test whether the compiler implicitly links with -lc since on some
15398 # systems, -lgcc has to come before -lc. If gcc already passes -lc
15399 # to ld, don't add -lc before -lgcc.
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
15401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
15402 if ${lt_cv_archive_cmds_need_lc_FC+:} false
; then :
15403 $as_echo_n "(cached) " >&6
15406 echo "$lt_simple_compile_test_code" > conftest.
$ac_ext
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; } 2>conftest.err
; then
15415 libobjs
=conftest.
$ac_objext
15417 wl
=$lt_prog_compiler_wl_FC
15418 pic_flag
=$lt_prog_compiler_pic_FC
15424 lt_save_allow_undefined_flag
=$allow_undefined_flag_FC
15425 allow_undefined_flag_FC
=
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_FC 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
15427 (eval $archive_cmds_FC 2\
>\
&1 \|
$GREP \" -lc \" \
>/dev
/null
2\
>\
&1) 2>&5
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }
15432 lt_cv_archive_cmds_need_lc_FC
=no
15434 lt_cv_archive_cmds_need_lc_FC
=yes
15436 allow_undefined_flag_FC
=$lt_save_allow_undefined_flag
15438 cat conftest.err
1>&5
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_FC" >&5
15444 $as_echo "$lt_cv_archive_cmds_need_lc_FC" >&6; }
15445 archive_cmds_need_lc_FC
=$lt_cv_archive_cmds_need_lc_FC
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
15516 $as_echo_n "checking dynamic linker characteristics... " >&6; }
15518 library_names_spec
=
15519 libname_spec
='lib$name'
15523 postuninstall_cmds
=
15527 shlibpath_overrides_runpath
=unknown
15529 dynamic_linker
="$host_os ld.so"
15530 sys_lib_dlsearch_path_spec
="/lib /usr/lib"
15531 need_lib_prefix
=unknown
15532 hardcode_into_libs
=no
15534 # when you set need_version to no, make sure it does not cause -set_version
15535 # flags to be left without arguments
15536 need_version
=unknown
15541 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname.a'
15542 shlibpath_var
=LIBPATH
15544 # AIX 3 has no versioning support, so we append a major version to the name.
15545 soname_spec
='${libname}${release}${shared_ext}$major'
15552 hardcode_into_libs
=yes
15553 if test "$host_cpu" = ia64
; then
15554 # AIX 5 supports IA64
15555 library_names_spec
='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
15556 shlibpath_var
=LD_LIBRARY_PATH
15558 # With GCC up to 2.95.x, collect2 would create an import file
15559 # for dependence libraries. The import file would start with
15560 # the line `#! .'. This would cause the generated library to
15561 # depend on `.', always an invalid library. This was fixed in
15562 # development snapshots of GCC prior to 3.0.
15564 aix4 | aix4.
[01] | aix4.
[01].
*)
15565 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
15567 echo '#endif'; } |
${CC} -E - |
$GREP yes > /dev
/null
; then
15570 can_build_shared
=no
15574 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
15575 # soname into executable. Probably we can add versioning support to
15576 # collect2, so additional links can be useful in future.
15577 if test "$aix_use_runtimelinking" = yes; then
15578 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
15579 # instead of lib<name>.a to let people know that these are not
15580 # typical AIX shared libraries.
15581 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15583 # We preserve .a as extension for shared libraries through AIX4.2
15584 # and later when we are not doing run time linking.
15585 library_names_spec
='${libname}${release}.a $libname.a'
15586 soname_spec
='${libname}${release}${shared_ext}$major'
15588 shlibpath_var
=LIBPATH
15595 # Since July 2007 AmigaOS4 officially supports .so libraries.
15596 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
15597 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15600 library_names_spec
='$libname.ixlibrary $libname.a'
15601 # Create ${libname}_ixlibrary.a entries in /sys/libs.
15602 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'
15608 library_names_spec
='${libname}${shared_ext}'
15609 dynamic_linker
="$host_os ld.so"
15610 shlibpath_var
=LIBRARY_PATH
15616 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15617 soname_spec
='${libname}${release}${shared_ext}$major'
15618 finish_cmds
='PATH="\$PATH:/sbin" ldconfig $libdir'
15619 shlibpath_var
=LD_LIBRARY_PATH
15620 sys_lib_search_path_spec
="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
15621 sys_lib_dlsearch_path_spec
="/shlib /usr/lib /usr/local/lib"
15622 # the default ld.so.conf also contains /usr/contrib/lib and
15623 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
15624 # libtool to hard-code these into programs
15627 cygwin
* | mingw
* | pw32
* | cegcc
*)
15628 version_type
=windows
15633 case $GCC,$host_os in
15634 yes,cygwin
* |
yes,mingw
* |
yes,pw32
* |
yes,cegcc
*)
15635 library_names_spec
='$libname.dll.a'
15636 # DLL is installed to $(libdir)/../bin by postinstall_cmds
15637 postinstall_cmds
='base_file=`basename \${file}`~
15638 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
15639 dldir=$destdir/`dirname \$dlpath`~
15640 test -d \$dldir || mkdir -p \$dldir~
15641 $install_prog $dir/$dlname \$dldir/$dlname~
15642 chmod a+x \$dldir/$dlname~
15643 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
15644 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
15646 postuninstall_cmds
='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
15647 dlpath=$dir/\$dldll~
15649 shlibpath_overrides_runpath
=yes
15653 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
15654 soname_spec
='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15658 # MinGW DLLs use traditional 'lib' prefix
15659 soname_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15662 # pw32 DLLs use 'pw' prefix rather than 'lib'
15663 library_names_spec
='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15669 library_names_spec
='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
15672 dynamic_linker
='Win32 ld.exe'
15673 # FIXME: first we should search . and the directory the executable is in
15677 darwin
* | rhapsody
*)
15678 dynamic_linker
="$host_os dyld"
15679 version_type
=darwin
15682 library_names_spec
='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
15683 soname_spec
='${libname}${release}${major}$shared_ext'
15684 shlibpath_overrides_runpath
=yes
15685 shlibpath_var
=DYLD_LIBRARY_PATH
15686 shrext_cmds
='`test .$module = .yes && echo .so || echo .dylib`'
15688 sys_lib_dlsearch_path_spec
='/usr/local/lib /lib /usr/lib'
15695 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
15696 soname_spec
='${libname}${release}${shared_ext}$major'
15697 shlibpath_var
=LD_LIBRARY_PATH
15700 freebsd
* | dragonfly
*)
15701 # DragonFly does not have aout. When/if they implement a new
15702 # versioning mechanism, adjust this.
15703 if test -x /usr
/bin
/objformat
; then
15704 objformat
=`/usr/bin/objformat`
15707 freebsd
[23].
*) objformat
=aout
;;
15708 *) objformat
=elf
;;
15711 version_type
=freebsd-
$objformat
15712 case $version_type in
15714 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15719 library_names_spec
='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15723 shlibpath_var
=LD_LIBRARY_PATH
15726 shlibpath_overrides_runpath
=yes
15728 freebsd3.
[01]* | freebsdelf3.
[01]*)
15729 shlibpath_overrides_runpath
=yes
15730 hardcode_into_libs
=yes
15732 freebsd3.
[2-9]* | freebsdelf3.
[2-9]* | \
15733 freebsd4.
[0-5] | freebsdelf4.
[0-5] | freebsd4.1
.1 | freebsdelf4.1
.1)
15734 shlibpath_overrides_runpath
=no
15735 hardcode_into_libs
=yes
15737 *) # from 4.6 on, and DragonFly
15738 shlibpath_overrides_runpath
=yes
15739 hardcode_into_libs
=yes
15748 dynamic_linker
="$host_os runtime_loader"
15749 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15750 soname_spec
='${libname}${release}${shared_ext}$major'
15751 shlibpath_var
=LIBRARY_PATH
15752 shlibpath_overrides_runpath
=yes
15753 sys_lib_dlsearch_path_spec
='/boot/home/config/lib /boot/common/lib /boot/system/lib'
15754 hardcode_into_libs
=yes
15757 hpux9
* | hpux10
* | hpux11
*)
15758 # Give a soname corresponding to the major version so that dld.sl refuses to
15759 # link against other versions.
15766 hardcode_into_libs
=yes
15767 dynamic_linker
="$host_os dld.so"
15768 shlibpath_var
=LD_LIBRARY_PATH
15769 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15770 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15771 soname_spec
='${libname}${release}${shared_ext}$major'
15772 if test "X$HPUX_IA64_MODE" = X32
; then
15773 sys_lib_search_path_spec
="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15775 sys_lib_search_path_spec
="/usr/lib/hpux64 /usr/local/lib/hpux64"
15777 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15781 hardcode_into_libs
=yes
15782 dynamic_linker
="$host_os dld.sl"
15783 shlibpath_var
=LD_LIBRARY_PATH
# How should we handle SHLIB_PATH
15784 shlibpath_overrides_runpath
=yes # Unless +noenvvar is specified.
15785 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15786 soname_spec
='${libname}${release}${shared_ext}$major'
15787 sys_lib_search_path_spec
="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15788 sys_lib_dlsearch_path_spec
=$sys_lib_search_path_spec
15792 dynamic_linker
="$host_os dld.sl"
15793 shlibpath_var
=SHLIB_PATH
15794 shlibpath_overrides_runpath
=no
# +s is required to enable SHLIB_PATH
15795 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15796 soname_spec
='${libname}${release}${shared_ext}$major'
15799 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15800 postinstall_cmds
='chmod 555 $lib'
15801 # or fails outright, so override atomically:
15802 install_override_mode
=555
15809 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15810 soname_spec
='${libname}${release}${shared_ext}$major'
15811 dynamic_linker
='Interix 3.x ld.so.1 (PE, like ELF)'
15812 shlibpath_var
=LD_LIBRARY_PATH
15813 shlibpath_overrides_runpath
=no
15814 hardcode_into_libs
=yes
15817 irix5
* | irix6
* | nonstopux
*)
15819 nonstopux
*) version_type
=nonstopux
;;
15821 if test "$lt_cv_prog_gnu_ld" = yes; then
15829 soname_spec
='${libname}${release}${shared_ext}$major'
15830 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15832 irix5
* | nonstopux
*)
15833 libsuff
= shlibsuff
=
15836 case $LD in # libtool.m4 will add one of these switches to LD
15837 *-32|
*"-32 "|
*-melf32bsmip|
*"-melf32bsmip ")
15838 libsuff
= shlibsuff
= libmagic
=32-bit;;
15839 *-n32|
*"-n32 "|
*-melf32bmipn32|
*"-melf32bmipn32 ")
15840 libsuff
=32 shlibsuff
=N32 libmagic
=N32
;;
15841 *-64|
*"-64 "|
*-melf64bmip|
*"-melf64bmip ")
15842 libsuff
=64 shlibsuff
=64 libmagic
=64-bit;;
15843 *) libsuff
= shlibsuff
= libmagic
=never-match
;;
15847 shlibpath_var
=LD_LIBRARY
${shlibsuff}_PATH
15848 shlibpath_overrides_runpath
=no
15849 sys_lib_search_path_spec
="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15850 sys_lib_dlsearch_path_spec
="/usr/lib${libsuff} /lib${libsuff}"
15851 hardcode_into_libs
=yes
15854 # No shared lib support for Linux oldld, aout, or coff.
15855 linux
*oldld
* | linux
*aout
* | linux
*coff
*)
15859 # This must be Linux ELF.
15861 # uclinux* changes (here and below) have been submitted to the libtool
15862 # project, but have not yet been accepted: they are GCC-local changes
15863 # for the time being. (See
15864 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15865 linux
* | k
*bsd
*-gnu | kopensolaris
*-gnu | gnu
* | uclinuxfdpiceabi
)
15869 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15870 soname_spec
='${libname}${release}${shared_ext}$major'
15871 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15872 shlibpath_var
=LD_LIBRARY_PATH
15873 shlibpath_overrides_runpath
=no
15875 # Some binutils ld are patched to set DT_RUNPATH
15876 if ${lt_cv_shlibpath_overrides_runpath+:} false
; then :
15877 $as_echo_n "(cached) " >&6
15879 lt_cv_shlibpath_overrides_runpath
=no
15880 save_LDFLAGS
=$LDFLAGS
15881 save_libdir
=$libdir
15882 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_FC\"; \
15883 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_FC\""
15884 if test x
$gcc_no_link = xyes
; then
15885 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15887 cat > conftest.
$ac_ext <<_ACEOF
15892 if ac_fn_fc_try_link
"$LINENO"; then :
15893 if ($OBJDUMP -p conftest
$ac_exeext) 2>/dev
/null |
grep "RUNPATH.*$libdir" >/dev
/null
; then :
15894 lt_cv_shlibpath_overrides_runpath
=yes
15897 rm -f core conftest.err conftest.
$ac_objext \
15898 conftest
$ac_exeext conftest.
$ac_ext
15899 LDFLAGS
=$save_LDFLAGS
15900 libdir
=$save_libdir
15904 shlibpath_overrides_runpath
=$lt_cv_shlibpath_overrides_runpath
15906 # This implies no fast_install, which is unacceptable.
15907 # Some rework will be needed to allow for fast_install
15908 # before this can be enabled.
15909 hardcode_into_libs
=yes
15911 # Append ld.so.conf contents to the search path
15912 if test -f /etc
/ld.so.conf
; then
15913 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' ' '`
15914 sys_lib_dlsearch_path_spec
="/lib /usr/lib $lt_ld_extra"
15917 # We used to test for /lib/ld.so.1 and disable shared libraries on
15918 # powerpc, because MkLinux only supported shared libraries with the
15919 # GNU dynamic linker. Since this was broken with cross compilers,
15920 # most powerpc-linux boxes support dynamic linking these days and
15921 # people can always --disable-shared, the test was removed, and we
15922 # assume the GNU/Linux dynamic linker is in use.
15923 dynamic_linker
='GNU/Linux ld.so'
15930 if echo __ELF__ |
$CC -E - |
$GREP __ELF__
>/dev
/null
; then
15931 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15932 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15933 dynamic_linker
='NetBSD (a.out) ld.so'
15935 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15936 soname_spec
='${libname}${release}${shared_ext}$major'
15937 dynamic_linker
='NetBSD ld.elf_so'
15939 shlibpath_var
=LD_LIBRARY_PATH
15940 shlibpath_overrides_runpath
=yes
15941 hardcode_into_libs
=yes
15946 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15947 shlibpath_var
=LD_LIBRARY_PATH
15948 shlibpath_overrides_runpath
=yes
15955 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15956 soname_spec
='${libname}${release}${shared_ext}$major'
15957 shlibpath_var
=LD_LIBRARY_PATH
15958 shlibpath_overrides_runpath
=no
15959 hardcode_into_libs
=yes
15960 dynamic_linker
='ldqnx.so'
15965 sys_lib_dlsearch_path_spec
="/usr/lib"
15967 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15969 openbsd3.3 | openbsd3.3.
*) need_version
=yes ;;
15970 *) need_version
=no
;;
15972 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15973 finish_cmds
='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15974 shlibpath_var
=LD_LIBRARY_PATH
15975 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" ||
test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15977 openbsd2.
[89] | openbsd2.
[89].
*)
15978 shlibpath_overrides_runpath
=no
15981 shlibpath_overrides_runpath
=yes
15985 shlibpath_overrides_runpath
=yes
15990 libname_spec
='$name'
15993 library_names_spec
='$libname${shared_ext} $libname.a'
15994 dynamic_linker
='OS/2 ld.exe'
15995 shlibpath_var
=LIBPATH
15998 osf3
* | osf4
* | osf5
*)
16002 soname_spec
='${libname}${release}${shared_ext}$major'
16003 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16004 shlibpath_var
=LD_LIBRARY_PATH
16005 sys_lib_search_path_spec
="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16006 sys_lib_dlsearch_path_spec
="$sys_lib_search_path_spec"
16017 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16018 soname_spec
='${libname}${release}${shared_ext}$major'
16019 shlibpath_var
=LD_LIBRARY_PATH
16020 shlibpath_overrides_runpath
=yes
16021 hardcode_into_libs
=yes
16022 # ldd complains unless libraries are executable
16023 postinstall_cmds
='chmod +x $lib'
16028 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16029 finish_cmds
='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16030 shlibpath_var
=LD_LIBRARY_PATH
16031 shlibpath_overrides_runpath
=yes
16032 if test "$with_gnu_ld" = yes; then
16040 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16041 soname_spec
='${libname}${release}${shared_ext}$major'
16042 shlibpath_var
=LD_LIBRARY_PATH
16043 case $host_vendor in
16045 shlibpath_overrides_runpath
=no
16047 runpath_var
=LD_RUN_PATH
16055 shlibpath_overrides_runpath
=no
16056 sys_lib_search_path_spec
='/lib /usr/lib /usr/ccs/lib'
16062 if test -d /usr
/nec
;then
16064 library_names_spec
='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16065 soname_spec
='$libname${shared_ext}.$major'
16066 shlibpath_var
=LD_LIBRARY_PATH
16070 sysv5
* | sco3.2v5
* | sco5v6
* | unixware
* | OpenUNIX
* | sysv4
*uw2
*)
16071 version_type
=freebsd-elf
16074 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16075 soname_spec
='${libname}${release}${shared_ext}$major'
16076 shlibpath_var
=LD_LIBRARY_PATH
16077 shlibpath_overrides_runpath
=yes
16078 hardcode_into_libs
=yes
16079 if test "$with_gnu_ld" = yes; then
16080 sys_lib_search_path_spec
='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
16082 sys_lib_search_path_spec
='/usr/ccs/lib /usr/lib'
16085 sys_lib_search_path_spec
="$sys_lib_search_path_spec /lib"
16089 sys_lib_dlsearch_path_spec
='/usr/lib'
16093 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
16097 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16098 shlibpath_var
=LD_LIBRARY_PATH
16099 shlibpath_overrides_runpath
=no
16100 hardcode_into_libs
=yes
16105 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16106 soname_spec
='${libname}${release}${shared_ext}$major'
16107 shlibpath_var
=LD_LIBRARY_PATH
16110 # Shared libraries for VwWorks, >= 7 only at this stage
16111 # and (fpic) still incompatible with "large" code models
16112 # in a few configurations. Only for RTP mode in any case,
16113 # and upon explicit request at configure time.
16116 case ${with_multisubdir}-${enable_shared} in
16123 library_names_spec
='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16124 soname_spec
='${libname}${release}${shared_ext}$major'
16125 dynamic_linker
="$host_os module_loader"
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
16134 $as_echo "$dynamic_linker" >&6; }
16135 test "$dynamic_linker" = no
&& can_build_shared
=no
16137 variables_saved_for_relink
="PATH $shlibpath_var $runpath_var"
16138 if test "$GCC" = yes; then
16139 variables_saved_for_relink
="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16142 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
16143 sys_lib_search_path_spec
="$lt_cv_sys_lib_search_path_spec"
16145 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
16146 sys_lib_dlsearch_path_spec
="$lt_cv_sys_lib_dlsearch_path_spec"
16186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
16187 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
16188 hardcode_action_FC
=
16189 if test -n "$hardcode_libdir_flag_spec_FC" ||
16190 test -n "$runpath_var_FC" ||
16191 test "X$hardcode_automatic_FC" = "Xyes" ; then
16193 # We can hardcode non-existent directories.
16194 if test "$hardcode_direct_FC" != no
&&
16195 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16196 # have to relink, otherwise we might link with an installed library
16197 # when we should be linking with a yet-to-be-installed one
16198 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, FC)" != no &&
16199 test "$hardcode_minus_L_FC" != no
; then
16200 # Linking always hardcodes the temporary library directory.
16201 hardcode_action_FC
=relink
16203 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16204 hardcode_action_FC
=immediate
16207 # We cannot hardcode anything, or else we can only hardcode existing
16209 hardcode_action_FC
=unsupported
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_FC" >&5
16212 $as_echo "$hardcode_action_FC" >&6; }
16214 if test "$hardcode_action_FC" = relink ||
16215 test "$inherit_rpath_FC" = yes; then
16216 # Fast installation is not supported
16217 enable_fast_install
=no
16218 elif test "$shlibpath_overrides_runpath" = yes ||
16219 test "$enable_shared" = no
; then
16220 # Fast installation is not necessary
16221 enable_fast_install
=needless
16230 fi # test -n "$compiler"
16234 fi # test "$_lt_disable_FC" != yes
16237 ac_cpp
='$CPP $CPPFLAGS'
16238 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16244 # extra LD Flags which are required for targets
16247 # Darwin needs -single_module when linking libgfortran
16248 extra_ldflags_libgfortran
=-Wl,-single_module
16253 # We need a working compiler at that point, otherwise give a clear
16254 # error message and bail out.
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GNU Fortran compiler is working" >&5
16257 $as_echo_n "checking whether the GNU Fortran compiler is working... " >&6; }
16258 ac_ext
=${ac_fc_srcext-f}
16259 ac_compile
='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
16260 ac_link
='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu
=$ac_cv_fc_compiler_gnu
16263 cat > conftest.
$ac_ext <<_ACEOF
16266 real, parameter :: bar = sin (12.34 / 2.5)
16269 if ac_fn_fc_try_compile
"$LINENO"; then :
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16271 $as_echo "yes" >&6; }
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16274 $as_echo "no" >&6; }
16275 as_fn_error $?
"GNU Fortran is not working; please report a bug in http://gcc.gnu.org/bugzilla, attaching $PWD/config.log" "$LINENO" 5
16278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16280 ac_cpp
='$CPP $CPPFLAGS'
16281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
16287 # Check whether --enable-largefile was given.
16288 if test "${enable_largefile+set}" = set; then :
16289 enableval
=$enable_largefile;
16292 if test "$enable_largefile" != no
; then
16294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
16295 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
16296 if ${ac_cv_sys_largefile_CC+:} false
; then :
16297 $as_echo_n "(cached) " >&6
16299 ac_cv_sys_largefile_CC
=no
16300 if test "$GCC" != yes; then
16303 # IRIX 6.2 and later do not support large files by default,
16304 # so use the C compiler's -n32 option if that helps.
16305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16306 /* end confdefs.h. */
16307 #include <sys/types.h>
16308 /* Check that off_t can represent 2**63 - 1 correctly.
16309 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16310 since some C++ compilers masquerading as C compilers
16311 incorrectly reject 9223372036854775807. */
16312 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16313 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16314 && LARGE_OFF_T % 2147483647 == 1)
16324 if ac_fn_c_try_compile
"$LINENO"; then :
16327 rm -f core conftest.err conftest.
$ac_objext
16329 if ac_fn_c_try_compile
"$LINENO"; then :
16330 ac_cv_sys_largefile_CC
=' -n32'; break
16332 rm -f core conftest.err conftest.
$ac_objext
16336 rm -f conftest.
$ac_ext
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
16340 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
16341 if test "$ac_cv_sys_largefile_CC" != no
; then
16342 CC
=$CC$ac_cv_sys_largefile_CC
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
16346 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
16347 if ${ac_cv_sys_file_offset_bits+:} false
; then :
16348 $as_echo_n "(cached) " >&6
16351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16352 /* end confdefs.h. */
16353 #include <sys/types.h>
16354 /* Check that off_t can represent 2**63 - 1 correctly.
16355 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16356 since some C++ compilers masquerading as C compilers
16357 incorrectly reject 9223372036854775807. */
16358 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16359 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16360 && LARGE_OFF_T % 2147483647 == 1)
16370 if ac_fn_c_try_compile
"$LINENO"; then :
16371 ac_cv_sys_file_offset_bits
=no
; break
16373 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16374 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #define _FILE_OFFSET_BITS 64
16377 #include <sys/types.h>
16378 /* Check that off_t can represent 2**63 - 1 correctly.
16379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16380 since some C++ compilers masquerading as C compilers
16381 incorrectly reject 9223372036854775807. */
16382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16384 && LARGE_OFF_T % 2147483647 == 1)
16394 if ac_fn_c_try_compile
"$LINENO"; then :
16395 ac_cv_sys_file_offset_bits
=64; break
16397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16398 ac_cv_sys_file_offset_bits
=unknown
16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
16403 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
16404 case $ac_cv_sys_file_offset_bits in #(
16407 cat >>confdefs.h
<<_ACEOF
16408 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
16413 if test $ac_cv_sys_file_offset_bits = unknown
; then
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
16415 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
16416 if ${ac_cv_sys_large_files+:} false
; then :
16417 $as_echo_n "(cached) " >&6
16420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <sys/types.h>
16423 /* Check that off_t can represent 2**63 - 1 correctly.
16424 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16425 since some C++ compilers masquerading as C compilers
16426 incorrectly reject 9223372036854775807. */
16427 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16428 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16429 && LARGE_OFF_T % 2147483647 == 1)
16439 if ac_fn_c_try_compile
"$LINENO"; then :
16440 ac_cv_sys_large_files
=no
; break
16442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16444 /* end confdefs.h. */
16445 #define _LARGE_FILES 1
16446 #include <sys/types.h>
16447 /* Check that off_t can represent 2**63 - 1 correctly.
16448 We can't simply define LARGE_OFF_T to be 9223372036854775807,
16449 since some C++ compilers masquerading as C compilers
16450 incorrectly reject 9223372036854775807. */
16451 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
16452 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
16453 && LARGE_OFF_T % 2147483647 == 1)
16463 if ac_fn_c_try_compile
"$LINENO"; then :
16464 ac_cv_sys_large_files
=1; break
16466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 ac_cv_sys_large_files
=unknown
16471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
16472 $as_echo "$ac_cv_sys_large_files" >&6; }
16473 case $ac_cv_sys_large_files in #(
16476 cat >>confdefs.h
<<_ACEOF
16477 #define _LARGE_FILES $ac_cv_sys_large_files
16489 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16490 if test "x$ac_cv_type_off_t" = xyes
; then :
16494 cat >>confdefs.h
<<_ACEOF
16495 #define off_t long int
16501 ac_fn_c_check_type
"$LINENO" "intptr_t" "ac_cv_type_intptr_t" "$ac_includes_default"
16502 if test "x$ac_cv_type_intptr_t" = xyes
; then :
16504 $as_echo "#define HAVE_INTPTR_T 1" >>confdefs.h
16507 for ac_type
in 'int' 'long int' 'long long int'; do
16508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16509 /* end confdefs.h. */
16510 $ac_includes_default
16514 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16515 test_array [0] = 0;
16516 return test_array [0];
16522 if ac_fn_c_try_compile
"$LINENO"; then :
16524 cat >>confdefs.h
<<_ACEOF
16525 #define intptr_t $ac_type
16530 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16531 test -z "$ac_type" && break
16537 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "$ac_includes_default"
16538 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16540 $as_echo "#define HAVE_UINTPTR_T 1" >>confdefs.h
16543 for ac_type
in 'unsigned int' 'unsigned long int' \
16544 'unsigned long long int'; do
16545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
16546 /* end confdefs.h. */
16547 $ac_includes_default
16551 static int test_array [1 - 2 * !(sizeof (void *) <= sizeof ($ac_type))];
16552 test_array [0] = 0;
16553 return test_array [0];
16559 if ac_fn_c_try_compile
"$LINENO"; then :
16561 cat >>confdefs.h
<<_ACEOF
16562 #define uintptr_t $ac_type
16567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16568 test -z "$ac_type" && break
16573 ac_fn_c_check_type
"$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
16574 if test "x$ac_cv_type_ptrdiff_t" = xyes
; then :
16576 cat >>confdefs.h
<<_ACEOF
16577 #define HAVE_PTRDIFF_T 1
16584 # check header files (we assume C89 is available, so don't check for that)
16588 for ac_header
in $ac_header_list
16590 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16591 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
16593 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
16594 cat >>confdefs.h
<<_ACEOF
16595 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16640 inttype_headers
=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
16642 acx_cv_header_stdint
=stddef.h
16643 acx_cv_header_stdint_kind
="(already complete)"
16644 for i
in stdint.h
$inttype_headers; do
16645 unset ac_cv_type_uintptr_t
16646 unset ac_cv_type_uintmax_t
16647 unset ac_cv_type_int_least32_t
16648 unset ac_cv_type_int_fast32_t
16649 unset ac_cv_type_uint64_t
16650 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
16651 ac_fn_c_check_type
"$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
16654 if test "x$ac_cv_type_uintmax_t" = xyes
; then :
16655 acx_cv_header_stdint
=$i
16660 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16663 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16666 acx_cv_header_stdint_kind
="(mostly complete)"
16669 ac_fn_c_check_type
"$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
16672 if test "x$ac_cv_type_int_least32_t" = xyes
; then :
16675 acx_cv_header_stdint_kind
="(mostly complete)"
16678 ac_fn_c_check_type
"$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
16681 if test "x$ac_cv_type_int_fast32_t" = xyes
; then :
16684 acx_cv_header_stdint_kind
="(mostly complete)"
16687 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16690 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16693 acx_cv_header_stdint_kind
="(lacks uint64_t)"
16698 if test "$acx_cv_header_stdint" = stddef.h
; then
16699 acx_cv_header_stdint_kind
="(lacks uintmax_t)"
16700 for i
in stdint.h
$inttype_headers; do
16701 unset ac_cv_type_uintptr_t
16702 unset ac_cv_type_uint32_t
16703 unset ac_cv_type_uint64_t
16704 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
16705 ac_fn_c_check_type
"$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
16708 if test "x$ac_cv_type_uint32_t" = xyes
; then :
16709 acx_cv_header_stdint
=$i
16714 ac_fn_c_check_type
"$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
16717 if test "x$ac_cv_type_uint64_t" = xyes
; then :
16721 ac_fn_c_check_type
"$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
16724 if test "x$ac_cv_type_uintptr_t" = xyes
; then :
16731 if test "$acx_cv_header_stdint" = stddef.h
; then
16732 acx_cv_header_stdint_kind
="(u_intXX_t style)"
16733 for i
in sys
/types.h
$inttype_headers; do
16734 unset ac_cv_type_u_int32_t
16735 unset ac_cv_type_u_int64_t
16736 $as_echo_n "looking for u_intXX_t types in $i, " >&6
16737 ac_fn_c_check_type
"$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
16740 if test "x$ac_cv_type_u_int32_t" = xyes
; then :
16741 acx_cv_header_stdint
=$i
16746 ac_fn_c_check_type
"$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
16749 if test "x$ac_cv_type_u_int64_t" = xyes
; then :
16756 if test "$acx_cv_header_stdint" = stddef.h
; then
16757 acx_cv_header_stdint_kind
="(using manual detection)"
16760 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t
=no
16761 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t
=no
16762 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t
=no
16763 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t
=no
16764 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t
=no
16766 # ----------------- Summarize what we found so far
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in gstdint.h" >&5
16769 $as_echo_n "checking what to include in gstdint.h... " >&6; }
16771 case `$as_basename -- gstdint.h ||
16772 $as_expr X/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
16773 Xgstdint.h : 'X\(//\)$' \| \
16774 Xgstdint.h : 'X\(/\)' \| . 2>/dev/null ||
16775 $as_echo X/gstdint.h |
16776 sed '/^.*\/\([^/][^/]*\)\/*$/{
16789 stdint.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16790 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16791 inttypes.h
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
16792 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
16796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
16797 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
16799 # ----------------- done included file, check C basic types --------
16801 # Lacking an uintptr_t? Test size of void *
16802 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
16803 stddef.h
:* |
*:no
) # The cast to long int works around a bug in the HP C Compiler
16804 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16805 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16806 # This bug is HP SR number 8606223364.
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
16808 $as_echo_n "checking size of void *... " >&6; }
16809 if ${ac_cv_sizeof_void_p+:} false
; then :
16810 $as_echo_n "(cached) " >&6
16812 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
16815 if test "$ac_cv_type_void_p" = yes; then
16816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16818 as_fn_error
77 "cannot compute sizeof (void *)
16819 See \`config.log' for more details" "$LINENO" 5; }
16821 ac_cv_sizeof_void_p
=0
16826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
16827 $as_echo "$ac_cv_sizeof_void_p" >&6; }
16831 cat >>confdefs.h
<<_ACEOF
16832 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
16838 # Lacking an uint64_t? Test size of long
16839 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
16840 stddef.h
:*:* |
*:no
:no
) # The cast to long int works around a bug in the HP C Compiler
16841 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16842 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16843 # This bug is HP SR number 8606223364.
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
16845 $as_echo_n "checking size of long... " >&6; }
16846 if ${ac_cv_sizeof_long+:} false
; then :
16847 $as_echo_n "(cached) " >&6
16849 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
16852 if test "$ac_cv_type_long" = yes; then
16853 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16854 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16855 as_fn_error
77 "cannot compute sizeof (long)
16856 See \`config.log' for more details" "$LINENO" 5; }
16858 ac_cv_sizeof_long
=0
16863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
16864 $as_echo "$ac_cv_sizeof_long" >&6; }
16868 cat >>confdefs.h
<<_ACEOF
16869 #define SIZEOF_LONG $ac_cv_sizeof_long
16875 if test $acx_cv_header_stdint = stddef.h
; then
16876 # Lacking a good header? Test size of everything and deduce all types.
16877 # The cast to long int works around a bug in the HP C Compiler
16878 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16879 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16880 # This bug is HP SR number 8606223364.
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
16882 $as_echo_n "checking size of int... " >&6; }
16883 if ${ac_cv_sizeof_int+:} false
; then :
16884 $as_echo_n "(cached) " >&6
16886 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
16889 if test "$ac_cv_type_int" = yes; then
16890 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16892 as_fn_error
77 "cannot compute sizeof (int)
16893 See \`config.log' for more details" "$LINENO" 5; }
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
16901 $as_echo "$ac_cv_sizeof_int" >&6; }
16905 cat >>confdefs.h
<<_ACEOF
16906 #define SIZEOF_INT $ac_cv_sizeof_int
16910 # The cast to long int works around a bug in the HP C Compiler
16911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16913 # This bug is HP SR number 8606223364.
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
16915 $as_echo_n "checking size of short... " >&6; }
16916 if ${ac_cv_sizeof_short+:} false
; then :
16917 $as_echo_n "(cached) " >&6
16919 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
16922 if test "$ac_cv_type_short" = yes; then
16923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16925 as_fn_error
77 "cannot compute sizeof (short)
16926 See \`config.log' for more details" "$LINENO" 5; }
16928 ac_cv_sizeof_short
=0
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
16934 $as_echo "$ac_cv_sizeof_short" >&6; }
16938 cat >>confdefs.h
<<_ACEOF
16939 #define SIZEOF_SHORT $ac_cv_sizeof_short
16943 # The cast to long int works around a bug in the HP C Compiler
16944 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
16945 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
16946 # This bug is HP SR number 8606223364.
16947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
16948 $as_echo_n "checking size of char... " >&6; }
16949 if ${ac_cv_sizeof_char+:} false
; then :
16950 $as_echo_n "(cached) " >&6
16952 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
16955 if test "$ac_cv_type_char" = yes; then
16956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16957 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16958 as_fn_error
77 "cannot compute sizeof (char)
16959 See \`config.log' for more details" "$LINENO" 5; }
16961 ac_cv_sizeof_char
=0
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
16967 $as_echo "$ac_cv_sizeof_char" >&6; }
16971 cat >>confdefs.h
<<_ACEOF
16972 #define SIZEOF_CHAR $ac_cv_sizeof_char
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
16978 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
16979 case "$ac_cv_sizeof_char" in
16980 1) acx_cv_type_int8_t
=char
;;
16981 *) as_fn_error $?
"no 8-bit type, please report a bug" "$LINENO" 5
16983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
16984 $as_echo "$acx_cv_type_int8_t" >&6; }
16986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
16987 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
16988 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
16989 2:*) acx_cv_type_int16_t
=int
;;
16990 *:2) acx_cv_type_int16_t
=short
;;
16991 *) as_fn_error $?
"no 16-bit type, please report a bug" "$LINENO" 5
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
16994 $as_echo "$acx_cv_type_int16_t" >&6; }
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
16997 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
16998 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
16999 4:*) acx_cv_type_int32_t
=int
;;
17000 *:4) acx_cv_type_int32_t
=long
;;
17001 *) as_fn_error $?
"no 32-bit type, please report a bug" "$LINENO" 5
17003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
17004 $as_echo "$acx_cv_type_int32_t" >&6; }
17007 # These tests are here to make the output prettier
17009 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
17010 case "$ac_cv_sizeof_long" in
17011 8) acx_cv_type_int64_t
=long
;;
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
17014 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
17016 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
17019 # Now we can use the above types
17021 if test "$ac_cv_type_uintptr_t" != yes; then
17022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
17023 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
17024 case $ac_cv_sizeof_void_p in
17025 2) acx_cv_type_intptr_t
=int16_t
;;
17026 4) acx_cv_type_intptr_t
=int32_t
;;
17027 8) acx_cv_type_intptr_t
=int64_t
;;
17028 *) as_fn_error $?
"no equivalent for intptr_t, please report a bug" "$LINENO" 5
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
17031 $as_echo "$acx_cv_type_intptr_t" >&6; }
17034 # ----------------- done all checks, emit header -------------
17035 ac_config_commands
="$ac_config_commands gstdint.h"
17040 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
17041 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
17043 cat >>confdefs.h
<<_ACEOF
17044 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
17049 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17050 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
17052 cat >>confdefs.h
<<_ACEOF
17053 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17058 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
17059 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
17061 cat >>confdefs.h
<<_ACEOF
17062 #define HAVE_STRUCT_STAT_ST_RDEV 1
17069 case "${host}--x${with_newlib}" in
17071 hardwire_newlib
=1;;
17073 hardwire_newlib
=1;;
17076 # Check for library functions.
17077 if test "${hardwire_newlib:-0}" -eq 1; then
17078 # We are being configured with a cross compiler. AC_REPLACE_FUNCS
17079 # may not work correctly, because the compiler may not be able to
17080 # link executables.
17082 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17085 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
17088 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17091 $as_echo "#define HAVE_VSNPRINTF 1" >>confdefs.h
17094 $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
17097 $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
17100 $as_echo "#define HAVE_STRNLEN 1" >>confdefs.h
17103 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17106 # At some point, we should differentiate between architectures
17107 # like x86, which have long double versions, and alpha/powerpc/etc.,
17108 # which don't. For the time being, punt.
17109 if test x
"long_double_math_on_this_cpu" = x
"yes"; then
17111 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
17118 for ac_func
in $ac_func_list
17120 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17121 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
17122 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
17123 cat >>confdefs.h
<<_ACEOF
17124 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17245 # Check strerror_r, cannot be above as versions with two and three arguments exist
17247 ac_save_CFLAGS
="$CFLAGS"
17248 CFLAGS
="-Wimplicit-function-declaration -Werror"
17249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #define _GNU_SOURCE 1
17252 #include <string.h>
17253 #include <locale.h>
17257 char s[128]; strerror_r(5, s, 128);
17262 if ac_fn_c_try_compile
"$LINENO"; then :
17264 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
17267 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17268 CFLAGS
="$ac_save_CFLAGS"
17270 ac_save_CFLAGS
="$CFLAGS"
17271 CFLAGS
="-Wimplicit-function-declaration -Werror"
17272 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 #define _GNU_SOURCE 1
17275 #include <string.h>
17276 #include <locale.h>
17280 char s[128]; strerror_r(5, s);
17285 if ac_fn_c_try_compile
"$LINENO"; then :
17287 $as_echo "#define HAVE_STRERROR_R_2ARGS 1" >>confdefs.h
17290 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17291 CFLAGS
="$ac_save_CFLAGS"
17294 # Check for C99 (and other IEEE) math functions
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17296 $as_echo_n "checking for sin in -lm... " >&6; }
17297 if ${ac_cv_lib_m_sin+:} false
; then :
17298 $as_echo_n "(cached) " >&6
17300 ac_check_lib_save_LIBS
=$LIBS
17302 if test x
$gcc_no_link = xyes
; then
17303 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17306 /* end confdefs.h. */
17308 /* Override any GCC internal prototype to avoid an error.
17309 Use char because int might match the return type of a GCC
17310 builtin and then its argument prototype would still apply. */
17323 if ac_fn_c_try_link
"$LINENO"; then :
17324 ac_cv_lib_m_sin
=yes
17328 rm -f core conftest.err conftest.
$ac_objext \
17329 conftest
$ac_exeext conftest.
$ac_ext
17330 LIBS
=$ac_check_lib_save_LIBS
17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17333 $as_echo "$ac_cv_lib_m_sin" >&6; }
17334 if test "x$ac_cv_lib_m_sin" = xyes
; then :
17335 cat >>confdefs.h
<<_ACEOF
17336 #define HAVE_LIBM 1
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf" >&5
17350 $as_echo_n "checking for acosf... " >&6; }
17351 if ${gcc_cv_math_func_acosf+:} false
; then :
17352 $as_echo_n "(cached) " >&6
17354 if test x
$gcc_no_link = xyes
; then
17355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17358 /* end confdefs.h. */
17360 #ifdef HAVE_COMPLEX_H
17361 #include <complex.h>
17367 int (*ptr)() = (int (*)())acosf;
17376 if ac_fn_c_try_link
"$LINENO"; then :
17377 gcc_cv_math_func_acosf
=yes
17379 gcc_cv_math_func_acosf
=no
17381 rm -f core conftest.err conftest.
$ac_objext \
17382 conftest
$ac_exeext conftest.
$ac_ext
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf" >&5
17385 $as_echo "$gcc_cv_math_func_acosf" >&6; }
17386 if test $gcc_cv_math_func_acosf = yes; then
17388 cat >>confdefs.h
<<_ACEOF
17389 #define HAVE_ACOSF 1
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acos" >&5
17398 $as_echo_n "checking for acos... " >&6; }
17399 if ${gcc_cv_math_func_acos+:} false
; then :
17400 $as_echo_n "(cached) " >&6
17402 if test x
$gcc_no_link = xyes
; then
17403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17406 /* end confdefs.h. */
17408 #ifdef HAVE_COMPLEX_H
17409 #include <complex.h>
17415 int (*ptr)() = (int (*)())acos;
17424 if ac_fn_c_try_link
"$LINENO"; then :
17425 gcc_cv_math_func_acos
=yes
17427 gcc_cv_math_func_acos
=no
17429 rm -f core conftest.err conftest.
$ac_objext \
17430 conftest
$ac_exeext conftest.
$ac_ext
17432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acos" >&5
17433 $as_echo "$gcc_cv_math_func_acos" >&6; }
17434 if test $gcc_cv_math_func_acos = yes; then
17436 cat >>confdefs.h
<<_ACEOF
17437 #define HAVE_ACOS 1
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl" >&5
17446 $as_echo_n "checking for acosl... " >&6; }
17447 if ${gcc_cv_math_func_acosl+:} false
; then :
17448 $as_echo_n "(cached) " >&6
17450 if test x
$gcc_no_link = xyes
; then
17451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17454 /* end confdefs.h. */
17456 #ifdef HAVE_COMPLEX_H
17457 #include <complex.h>
17463 int (*ptr)() = (int (*)())acosl;
17472 if ac_fn_c_try_link
"$LINENO"; then :
17473 gcc_cv_math_func_acosl
=yes
17475 gcc_cv_math_func_acosl
=no
17477 rm -f core conftest.err conftest.
$ac_objext \
17478 conftest
$ac_exeext conftest.
$ac_ext
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosl" >&5
17481 $as_echo "$gcc_cv_math_func_acosl" >&6; }
17482 if test $gcc_cv_math_func_acosl = yes; then
17484 cat >>confdefs.h
<<_ACEOF
17485 #define HAVE_ACOSL 1
17493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf" >&5
17494 $as_echo_n "checking for acoshf... " >&6; }
17495 if ${gcc_cv_math_func_acoshf+:} false
; then :
17496 $as_echo_n "(cached) " >&6
17498 if test x
$gcc_no_link = xyes
; then
17499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17502 /* end confdefs.h. */
17504 #ifdef HAVE_COMPLEX_H
17505 #include <complex.h>
17511 int (*ptr)() = (int (*)())acoshf;
17520 if ac_fn_c_try_link
"$LINENO"; then :
17521 gcc_cv_math_func_acoshf
=yes
17523 gcc_cv_math_func_acoshf
=no
17525 rm -f core conftest.err conftest.
$ac_objext \
17526 conftest
$ac_exeext conftest.
$ac_ext
17528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf" >&5
17529 $as_echo "$gcc_cv_math_func_acoshf" >&6; }
17530 if test $gcc_cv_math_func_acoshf = yes; then
17532 cat >>confdefs.h
<<_ACEOF
17533 #define HAVE_ACOSHF 1
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosh" >&5
17542 $as_echo_n "checking for acosh... " >&6; }
17543 if ${gcc_cv_math_func_acosh+:} false
; then :
17544 $as_echo_n "(cached) " >&6
17546 if test x
$gcc_no_link = xyes
; then
17547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17550 /* end confdefs.h. */
17552 #ifdef HAVE_COMPLEX_H
17553 #include <complex.h>
17559 int (*ptr)() = (int (*)())acosh;
17568 if ac_fn_c_try_link
"$LINENO"; then :
17569 gcc_cv_math_func_acosh
=yes
17571 gcc_cv_math_func_acosh
=no
17573 rm -f core conftest.err conftest.
$ac_objext \
17574 conftest
$ac_exeext conftest.
$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosh" >&5
17577 $as_echo "$gcc_cv_math_func_acosh" >&6; }
17578 if test $gcc_cv_math_func_acosh = yes; then
17580 cat >>confdefs.h
<<_ACEOF
17581 #define HAVE_ACOSH 1
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshl" >&5
17590 $as_echo_n "checking for acoshl... " >&6; }
17591 if ${gcc_cv_math_func_acoshl+:} false
; then :
17592 $as_echo_n "(cached) " >&6
17594 if test x
$gcc_no_link = xyes
; then
17595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17600 #ifdef HAVE_COMPLEX_H
17601 #include <complex.h>
17607 int (*ptr)() = (int (*)())acoshl;
17616 if ac_fn_c_try_link
"$LINENO"; then :
17617 gcc_cv_math_func_acoshl
=yes
17619 gcc_cv_math_func_acoshl
=no
17621 rm -f core conftest.err conftest.
$ac_objext \
17622 conftest
$ac_exeext conftest.
$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshl" >&5
17625 $as_echo "$gcc_cv_math_func_acoshl" >&6; }
17626 if test $gcc_cv_math_func_acoshl = yes; then
17628 cat >>confdefs.h
<<_ACEOF
17629 #define HAVE_ACOSHL 1
17637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf" >&5
17638 $as_echo_n "checking for asinf... " >&6; }
17639 if ${gcc_cv_math_func_asinf+:} false
; then :
17640 $as_echo_n "(cached) " >&6
17642 if test x
$gcc_no_link = xyes
; then
17643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 #ifdef HAVE_COMPLEX_H
17649 #include <complex.h>
17655 int (*ptr)() = (int (*)())asinf;
17664 if ac_fn_c_try_link
"$LINENO"; then :
17665 gcc_cv_math_func_asinf
=yes
17667 gcc_cv_math_func_asinf
=no
17669 rm -f core conftest.err conftest.
$ac_objext \
17670 conftest
$ac_exeext conftest.
$ac_ext
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf" >&5
17673 $as_echo "$gcc_cv_math_func_asinf" >&6; }
17674 if test $gcc_cv_math_func_asinf = yes; then
17676 cat >>confdefs.h
<<_ACEOF
17677 #define HAVE_ASINF 1
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asin" >&5
17686 $as_echo_n "checking for asin... " >&6; }
17687 if ${gcc_cv_math_func_asin+:} false
; then :
17688 $as_echo_n "(cached) " >&6
17690 if test x
$gcc_no_link = xyes
; then
17691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17694 /* end confdefs.h. */
17696 #ifdef HAVE_COMPLEX_H
17697 #include <complex.h>
17703 int (*ptr)() = (int (*)())asin;
17712 if ac_fn_c_try_link
"$LINENO"; then :
17713 gcc_cv_math_func_asin
=yes
17715 gcc_cv_math_func_asin
=no
17717 rm -f core conftest.err conftest.
$ac_objext \
17718 conftest
$ac_exeext conftest.
$ac_ext
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asin" >&5
17721 $as_echo "$gcc_cv_math_func_asin" >&6; }
17722 if test $gcc_cv_math_func_asin = yes; then
17724 cat >>confdefs.h
<<_ACEOF
17725 #define HAVE_ASIN 1
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl" >&5
17734 $as_echo_n "checking for asinl... " >&6; }
17735 if ${gcc_cv_math_func_asinl+:} false
; then :
17736 $as_echo_n "(cached) " >&6
17738 if test x
$gcc_no_link = xyes
; then
17739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17744 #ifdef HAVE_COMPLEX_H
17745 #include <complex.h>
17751 int (*ptr)() = (int (*)())asinl;
17760 if ac_fn_c_try_link
"$LINENO"; then :
17761 gcc_cv_math_func_asinl
=yes
17763 gcc_cv_math_func_asinl
=no
17765 rm -f core conftest.err conftest.
$ac_objext \
17766 conftest
$ac_exeext conftest.
$ac_ext
17768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinl" >&5
17769 $as_echo "$gcc_cv_math_func_asinl" >&6; }
17770 if test $gcc_cv_math_func_asinl = yes; then
17772 cat >>confdefs.h
<<_ACEOF
17773 #define HAVE_ASINL 1
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf" >&5
17782 $as_echo_n "checking for asinhf... " >&6; }
17783 if ${gcc_cv_math_func_asinhf+:} false
; then :
17784 $as_echo_n "(cached) " >&6
17786 if test x
$gcc_no_link = xyes
; then
17787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17790 /* end confdefs.h. */
17792 #ifdef HAVE_COMPLEX_H
17793 #include <complex.h>
17799 int (*ptr)() = (int (*)())asinhf;
17808 if ac_fn_c_try_link
"$LINENO"; then :
17809 gcc_cv_math_func_asinhf
=yes
17811 gcc_cv_math_func_asinhf
=no
17813 rm -f core conftest.err conftest.
$ac_objext \
17814 conftest
$ac_exeext conftest.
$ac_ext
17816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf" >&5
17817 $as_echo "$gcc_cv_math_func_asinhf" >&6; }
17818 if test $gcc_cv_math_func_asinhf = yes; then
17820 cat >>confdefs.h
<<_ACEOF
17821 #define HAVE_ASINHF 1
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinh" >&5
17830 $as_echo_n "checking for asinh... " >&6; }
17831 if ${gcc_cv_math_func_asinh+:} false
; then :
17832 $as_echo_n "(cached) " >&6
17834 if test x
$gcc_no_link = xyes
; then
17835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17838 /* end confdefs.h. */
17840 #ifdef HAVE_COMPLEX_H
17841 #include <complex.h>
17847 int (*ptr)() = (int (*)())asinh;
17856 if ac_fn_c_try_link
"$LINENO"; then :
17857 gcc_cv_math_func_asinh
=yes
17859 gcc_cv_math_func_asinh
=no
17861 rm -f core conftest.err conftest.
$ac_objext \
17862 conftest
$ac_exeext conftest.
$ac_ext
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinh" >&5
17865 $as_echo "$gcc_cv_math_func_asinh" >&6; }
17866 if test $gcc_cv_math_func_asinh = yes; then
17868 cat >>confdefs.h
<<_ACEOF
17869 #define HAVE_ASINH 1
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhl" >&5
17878 $as_echo_n "checking for asinhl... " >&6; }
17879 if ${gcc_cv_math_func_asinhl+:} false
; then :
17880 $as_echo_n "(cached) " >&6
17882 if test x
$gcc_no_link = xyes
; then
17883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17888 #ifdef HAVE_COMPLEX_H
17889 #include <complex.h>
17895 int (*ptr)() = (int (*)())asinhl;
17904 if ac_fn_c_try_link
"$LINENO"; then :
17905 gcc_cv_math_func_asinhl
=yes
17907 gcc_cv_math_func_asinhl
=no
17909 rm -f core conftest.err conftest.
$ac_objext \
17910 conftest
$ac_exeext conftest.
$ac_ext
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhl" >&5
17913 $as_echo "$gcc_cv_math_func_asinhl" >&6; }
17914 if test $gcc_cv_math_func_asinhl = yes; then
17916 cat >>confdefs.h
<<_ACEOF
17917 #define HAVE_ASINHL 1
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f" >&5
17926 $as_echo_n "checking for atan2f... " >&6; }
17927 if ${gcc_cv_math_func_atan2f+:} false
; then :
17928 $as_echo_n "(cached) " >&6
17930 if test x
$gcc_no_link = xyes
; then
17931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17934 /* end confdefs.h. */
17936 #ifdef HAVE_COMPLEX_H
17937 #include <complex.h>
17943 int (*ptr)() = (int (*)())atan2f;
17952 if ac_fn_c_try_link
"$LINENO"; then :
17953 gcc_cv_math_func_atan2f
=yes
17955 gcc_cv_math_func_atan2f
=no
17957 rm -f core conftest.err conftest.
$ac_objext \
17958 conftest
$ac_exeext conftest.
$ac_ext
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f" >&5
17961 $as_echo "$gcc_cv_math_func_atan2f" >&6; }
17962 if test $gcc_cv_math_func_atan2f = yes; then
17964 cat >>confdefs.h
<<_ACEOF
17965 #define HAVE_ATAN2F 1
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2" >&5
17974 $as_echo_n "checking for atan2... " >&6; }
17975 if ${gcc_cv_math_func_atan2+:} false
; then :
17976 $as_echo_n "(cached) " >&6
17978 if test x
$gcc_no_link = xyes
; then
17979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 #ifdef HAVE_COMPLEX_H
17985 #include <complex.h>
17991 int (*ptr)() = (int (*)())atan2;
18000 if ac_fn_c_try_link
"$LINENO"; then :
18001 gcc_cv_math_func_atan2
=yes
18003 gcc_cv_math_func_atan2
=no
18005 rm -f core conftest.err conftest.
$ac_objext \
18006 conftest
$ac_exeext conftest.
$ac_ext
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2" >&5
18009 $as_echo "$gcc_cv_math_func_atan2" >&6; }
18010 if test $gcc_cv_math_func_atan2 = yes; then
18012 cat >>confdefs.h
<<_ACEOF
18013 #define HAVE_ATAN2 1
18021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l" >&5
18022 $as_echo_n "checking for atan2l... " >&6; }
18023 if ${gcc_cv_math_func_atan2l+:} false
; then :
18024 $as_echo_n "(cached) " >&6
18026 if test x
$gcc_no_link = xyes
; then
18027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18030 /* end confdefs.h. */
18032 #ifdef HAVE_COMPLEX_H
18033 #include <complex.h>
18039 int (*ptr)() = (int (*)())atan2l;
18048 if ac_fn_c_try_link
"$LINENO"; then :
18049 gcc_cv_math_func_atan2l
=yes
18051 gcc_cv_math_func_atan2l
=no
18053 rm -f core conftest.err conftest.
$ac_objext \
18054 conftest
$ac_exeext conftest.
$ac_ext
18056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2l" >&5
18057 $as_echo "$gcc_cv_math_func_atan2l" >&6; }
18058 if test $gcc_cv_math_func_atan2l = yes; then
18060 cat >>confdefs.h
<<_ACEOF
18061 #define HAVE_ATAN2L 1
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf" >&5
18070 $as_echo_n "checking for atanf... " >&6; }
18071 if ${gcc_cv_math_func_atanf+:} false
; then :
18072 $as_echo_n "(cached) " >&6
18074 if test x
$gcc_no_link = xyes
; then
18075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18080 #ifdef HAVE_COMPLEX_H
18081 #include <complex.h>
18087 int (*ptr)() = (int (*)())atanf;
18096 if ac_fn_c_try_link
"$LINENO"; then :
18097 gcc_cv_math_func_atanf
=yes
18099 gcc_cv_math_func_atanf
=no
18101 rm -f core conftest.err conftest.
$ac_objext \
18102 conftest
$ac_exeext conftest.
$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf" >&5
18105 $as_echo "$gcc_cv_math_func_atanf" >&6; }
18106 if test $gcc_cv_math_func_atanf = yes; then
18108 cat >>confdefs.h
<<_ACEOF
18109 #define HAVE_ATANF 1
18117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan" >&5
18118 $as_echo_n "checking for atan... " >&6; }
18119 if ${gcc_cv_math_func_atan+:} false
; then :
18120 $as_echo_n "(cached) " >&6
18122 if test x
$gcc_no_link = xyes
; then
18123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18128 #ifdef HAVE_COMPLEX_H
18129 #include <complex.h>
18135 int (*ptr)() = (int (*)())atan;
18144 if ac_fn_c_try_link
"$LINENO"; then :
18145 gcc_cv_math_func_atan
=yes
18147 gcc_cv_math_func_atan
=no
18149 rm -f core conftest.err conftest.
$ac_objext \
18150 conftest
$ac_exeext conftest.
$ac_ext
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan" >&5
18153 $as_echo "$gcc_cv_math_func_atan" >&6; }
18154 if test $gcc_cv_math_func_atan = yes; then
18156 cat >>confdefs.h
<<_ACEOF
18157 #define HAVE_ATAN 1
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl" >&5
18166 $as_echo_n "checking for atanl... " >&6; }
18167 if ${gcc_cv_math_func_atanl+:} false
; then :
18168 $as_echo_n "(cached) " >&6
18170 if test x
$gcc_no_link = xyes
; then
18171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18176 #ifdef HAVE_COMPLEX_H
18177 #include <complex.h>
18183 int (*ptr)() = (int (*)())atanl;
18192 if ac_fn_c_try_link
"$LINENO"; then :
18193 gcc_cv_math_func_atanl
=yes
18195 gcc_cv_math_func_atanl
=no
18197 rm -f core conftest.err conftest.
$ac_objext \
18198 conftest
$ac_exeext conftest.
$ac_ext
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanl" >&5
18201 $as_echo "$gcc_cv_math_func_atanl" >&6; }
18202 if test $gcc_cv_math_func_atanl = yes; then
18204 cat >>confdefs.h
<<_ACEOF
18205 #define HAVE_ATANL 1
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf" >&5
18214 $as_echo_n "checking for atanhf... " >&6; }
18215 if ${gcc_cv_math_func_atanhf+:} false
; then :
18216 $as_echo_n "(cached) " >&6
18218 if test x
$gcc_no_link = xyes
; then
18219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18222 /* end confdefs.h. */
18224 #ifdef HAVE_COMPLEX_H
18225 #include <complex.h>
18231 int (*ptr)() = (int (*)())atanhf;
18240 if ac_fn_c_try_link
"$LINENO"; then :
18241 gcc_cv_math_func_atanhf
=yes
18243 gcc_cv_math_func_atanhf
=no
18245 rm -f core conftest.err conftest.
$ac_objext \
18246 conftest
$ac_exeext conftest.
$ac_ext
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf" >&5
18249 $as_echo "$gcc_cv_math_func_atanhf" >&6; }
18250 if test $gcc_cv_math_func_atanhf = yes; then
18252 cat >>confdefs.h
<<_ACEOF
18253 #define HAVE_ATANHF 1
18261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanh" >&5
18262 $as_echo_n "checking for atanh... " >&6; }
18263 if ${gcc_cv_math_func_atanh+:} false
; then :
18264 $as_echo_n "(cached) " >&6
18266 if test x
$gcc_no_link = xyes
; then
18267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18270 /* end confdefs.h. */
18272 #ifdef HAVE_COMPLEX_H
18273 #include <complex.h>
18279 int (*ptr)() = (int (*)())atanh;
18288 if ac_fn_c_try_link
"$LINENO"; then :
18289 gcc_cv_math_func_atanh
=yes
18291 gcc_cv_math_func_atanh
=no
18293 rm -f core conftest.err conftest.
$ac_objext \
18294 conftest
$ac_exeext conftest.
$ac_ext
18296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanh" >&5
18297 $as_echo "$gcc_cv_math_func_atanh" >&6; }
18298 if test $gcc_cv_math_func_atanh = yes; then
18300 cat >>confdefs.h
<<_ACEOF
18301 #define HAVE_ATANH 1
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhl" >&5
18310 $as_echo_n "checking for atanhl... " >&6; }
18311 if ${gcc_cv_math_func_atanhl+:} false
; then :
18312 $as_echo_n "(cached) " >&6
18314 if test x
$gcc_no_link = xyes
; then
18315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18318 /* end confdefs.h. */
18320 #ifdef HAVE_COMPLEX_H
18321 #include <complex.h>
18327 int (*ptr)() = (int (*)())atanhl;
18336 if ac_fn_c_try_link
"$LINENO"; then :
18337 gcc_cv_math_func_atanhl
=yes
18339 gcc_cv_math_func_atanhl
=no
18341 rm -f core conftest.err conftest.
$ac_objext \
18342 conftest
$ac_exeext conftest.
$ac_ext
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhl" >&5
18345 $as_echo "$gcc_cv_math_func_atanhl" >&6; }
18346 if test $gcc_cv_math_func_atanhl = yes; then
18348 cat >>confdefs.h
<<_ACEOF
18349 #define HAVE_ATANHL 1
18357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf" >&5
18358 $as_echo_n "checking for cargf... " >&6; }
18359 if ${gcc_cv_math_func_cargf+:} false
; then :
18360 $as_echo_n "(cached) " >&6
18362 if test x
$gcc_no_link = xyes
; then
18363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18366 /* end confdefs.h. */
18368 #ifdef HAVE_COMPLEX_H
18369 #include <complex.h>
18375 int (*ptr)() = (int (*)())cargf;
18384 if ac_fn_c_try_link
"$LINENO"; then :
18385 gcc_cv_math_func_cargf
=yes
18387 gcc_cv_math_func_cargf
=no
18389 rm -f core conftest.err conftest.
$ac_objext \
18390 conftest
$ac_exeext conftest.
$ac_ext
18392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf" >&5
18393 $as_echo "$gcc_cv_math_func_cargf" >&6; }
18394 if test $gcc_cv_math_func_cargf = yes; then
18396 cat >>confdefs.h
<<_ACEOF
18397 #define HAVE_CARGF 1
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for carg" >&5
18406 $as_echo_n "checking for carg... " >&6; }
18407 if ${gcc_cv_math_func_carg+:} false
; then :
18408 $as_echo_n "(cached) " >&6
18410 if test x
$gcc_no_link = xyes
; then
18411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18416 #ifdef HAVE_COMPLEX_H
18417 #include <complex.h>
18423 int (*ptr)() = (int (*)())carg;
18432 if ac_fn_c_try_link
"$LINENO"; then :
18433 gcc_cv_math_func_carg
=yes
18435 gcc_cv_math_func_carg
=no
18437 rm -f core conftest.err conftest.
$ac_objext \
18438 conftest
$ac_exeext conftest.
$ac_ext
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_carg" >&5
18441 $as_echo "$gcc_cv_math_func_carg" >&6; }
18442 if test $gcc_cv_math_func_carg = yes; then
18444 cat >>confdefs.h
<<_ACEOF
18445 #define HAVE_CARG 1
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargl" >&5
18454 $as_echo_n "checking for cargl... " >&6; }
18455 if ${gcc_cv_math_func_cargl+:} false
; then :
18456 $as_echo_n "(cached) " >&6
18458 if test x
$gcc_no_link = xyes
; then
18459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18462 /* end confdefs.h. */
18464 #ifdef HAVE_COMPLEX_H
18465 #include <complex.h>
18471 int (*ptr)() = (int (*)())cargl;
18480 if ac_fn_c_try_link
"$LINENO"; then :
18481 gcc_cv_math_func_cargl
=yes
18483 gcc_cv_math_func_cargl
=no
18485 rm -f core conftest.err conftest.
$ac_objext \
18486 conftest
$ac_exeext conftest.
$ac_ext
18488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargl" >&5
18489 $as_echo "$gcc_cv_math_func_cargl" >&6; }
18490 if test $gcc_cv_math_func_cargl = yes; then
18492 cat >>confdefs.h
<<_ACEOF
18493 #define HAVE_CARGL 1
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf" >&5
18502 $as_echo_n "checking for ceilf... " >&6; }
18503 if ${gcc_cv_math_func_ceilf+:} false
; then :
18504 $as_echo_n "(cached) " >&6
18506 if test x
$gcc_no_link = xyes
; then
18507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18512 #ifdef HAVE_COMPLEX_H
18513 #include <complex.h>
18519 int (*ptr)() = (int (*)())ceilf;
18528 if ac_fn_c_try_link
"$LINENO"; then :
18529 gcc_cv_math_func_ceilf
=yes
18531 gcc_cv_math_func_ceilf
=no
18533 rm -f core conftest.err conftest.
$ac_objext \
18534 conftest
$ac_exeext conftest.
$ac_ext
18536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf" >&5
18537 $as_echo "$gcc_cv_math_func_ceilf" >&6; }
18538 if test $gcc_cv_math_func_ceilf = yes; then
18540 cat >>confdefs.h
<<_ACEOF
18541 #define HAVE_CEILF 1
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceil" >&5
18550 $as_echo_n "checking for ceil... " >&6; }
18551 if ${gcc_cv_math_func_ceil+:} false
; then :
18552 $as_echo_n "(cached) " >&6
18554 if test x
$gcc_no_link = xyes
; then
18555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18560 #ifdef HAVE_COMPLEX_H
18561 #include <complex.h>
18567 int (*ptr)() = (int (*)())ceil;
18576 if ac_fn_c_try_link
"$LINENO"; then :
18577 gcc_cv_math_func_ceil
=yes
18579 gcc_cv_math_func_ceil
=no
18581 rm -f core conftest.err conftest.
$ac_objext \
18582 conftest
$ac_exeext conftest.
$ac_ext
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceil" >&5
18585 $as_echo "$gcc_cv_math_func_ceil" >&6; }
18586 if test $gcc_cv_math_func_ceil = yes; then
18588 cat >>confdefs.h
<<_ACEOF
18589 #define HAVE_CEIL 1
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill" >&5
18598 $as_echo_n "checking for ceill... " >&6; }
18599 if ${gcc_cv_math_func_ceill+:} false
; then :
18600 $as_echo_n "(cached) " >&6
18602 if test x
$gcc_no_link = xyes
; then
18603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18606 /* end confdefs.h. */
18608 #ifdef HAVE_COMPLEX_H
18609 #include <complex.h>
18615 int (*ptr)() = (int (*)())ceill;
18624 if ac_fn_c_try_link
"$LINENO"; then :
18625 gcc_cv_math_func_ceill
=yes
18627 gcc_cv_math_func_ceill
=no
18629 rm -f core conftest.err conftest.
$ac_objext \
18630 conftest
$ac_exeext conftest.
$ac_ext
18632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceill" >&5
18633 $as_echo "$gcc_cv_math_func_ceill" >&6; }
18634 if test $gcc_cv_math_func_ceill = yes; then
18636 cat >>confdefs.h
<<_ACEOF
18637 #define HAVE_CEILL 1
18645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf" >&5
18646 $as_echo_n "checking for copysignf... " >&6; }
18647 if ${gcc_cv_math_func_copysignf+:} false
; then :
18648 $as_echo_n "(cached) " >&6
18650 if test x
$gcc_no_link = xyes
; then
18651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18656 #ifdef HAVE_COMPLEX_H
18657 #include <complex.h>
18663 int (*ptr)() = (int (*)())copysignf;
18672 if ac_fn_c_try_link
"$LINENO"; then :
18673 gcc_cv_math_func_copysignf
=yes
18675 gcc_cv_math_func_copysignf
=no
18677 rm -f core conftest.err conftest.
$ac_objext \
18678 conftest
$ac_exeext conftest.
$ac_ext
18680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf" >&5
18681 $as_echo "$gcc_cv_math_func_copysignf" >&6; }
18682 if test $gcc_cv_math_func_copysignf = yes; then
18684 cat >>confdefs.h
<<_ACEOF
18685 #define HAVE_COPYSIGNF 1
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysign" >&5
18694 $as_echo_n "checking for copysign... " >&6; }
18695 if ${gcc_cv_math_func_copysign+:} false
; then :
18696 $as_echo_n "(cached) " >&6
18698 if test x
$gcc_no_link = xyes
; then
18699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18702 /* end confdefs.h. */
18704 #ifdef HAVE_COMPLEX_H
18705 #include <complex.h>
18711 int (*ptr)() = (int (*)())copysign;
18720 if ac_fn_c_try_link
"$LINENO"; then :
18721 gcc_cv_math_func_copysign
=yes
18723 gcc_cv_math_func_copysign
=no
18725 rm -f core conftest.err conftest.
$ac_objext \
18726 conftest
$ac_exeext conftest.
$ac_ext
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysign" >&5
18729 $as_echo "$gcc_cv_math_func_copysign" >&6; }
18730 if test $gcc_cv_math_func_copysign = yes; then
18732 cat >>confdefs.h
<<_ACEOF
18733 #define HAVE_COPYSIGN 1
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignl" >&5
18742 $as_echo_n "checking for copysignl... " >&6; }
18743 if ${gcc_cv_math_func_copysignl+:} false
; then :
18744 $as_echo_n "(cached) " >&6
18746 if test x
$gcc_no_link = xyes
; then
18747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18750 /* end confdefs.h. */
18752 #ifdef HAVE_COMPLEX_H
18753 #include <complex.h>
18759 int (*ptr)() = (int (*)())copysignl;
18768 if ac_fn_c_try_link
"$LINENO"; then :
18769 gcc_cv_math_func_copysignl
=yes
18771 gcc_cv_math_func_copysignl
=no
18773 rm -f core conftest.err conftest.
$ac_objext \
18774 conftest
$ac_exeext conftest.
$ac_ext
18776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignl" >&5
18777 $as_echo "$gcc_cv_math_func_copysignl" >&6; }
18778 if test $gcc_cv_math_func_copysignl = yes; then
18780 cat >>confdefs.h
<<_ACEOF
18781 #define HAVE_COPYSIGNL 1
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf" >&5
18790 $as_echo_n "checking for cosf... " >&6; }
18791 if ${gcc_cv_math_func_cosf+:} false
; then :
18792 $as_echo_n "(cached) " >&6
18794 if test x
$gcc_no_link = xyes
; then
18795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18800 #ifdef HAVE_COMPLEX_H
18801 #include <complex.h>
18807 int (*ptr)() = (int (*)())cosf;
18816 if ac_fn_c_try_link
"$LINENO"; then :
18817 gcc_cv_math_func_cosf
=yes
18819 gcc_cv_math_func_cosf
=no
18821 rm -f core conftest.err conftest.
$ac_objext \
18822 conftest
$ac_exeext conftest.
$ac_ext
18824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf" >&5
18825 $as_echo "$gcc_cv_math_func_cosf" >&6; }
18826 if test $gcc_cv_math_func_cosf = yes; then
18828 cat >>confdefs.h
<<_ACEOF
18829 #define HAVE_COSF 1
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos" >&5
18838 $as_echo_n "checking for cos... " >&6; }
18839 if ${gcc_cv_math_func_cos+:} false
; then :
18840 $as_echo_n "(cached) " >&6
18842 if test x
$gcc_no_link = xyes
; then
18843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18848 #ifdef HAVE_COMPLEX_H
18849 #include <complex.h>
18855 int (*ptr)() = (int (*)())cos;
18864 if ac_fn_c_try_link
"$LINENO"; then :
18865 gcc_cv_math_func_cos
=yes
18867 gcc_cv_math_func_cos
=no
18869 rm -f core conftest.err conftest.
$ac_objext \
18870 conftest
$ac_exeext conftest.
$ac_ext
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cos" >&5
18873 $as_echo "$gcc_cv_math_func_cos" >&6; }
18874 if test $gcc_cv_math_func_cos = yes; then
18876 cat >>confdefs.h
<<_ACEOF
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl" >&5
18886 $as_echo_n "checking for cosl... " >&6; }
18887 if ${gcc_cv_math_func_cosl+:} false
; then :
18888 $as_echo_n "(cached) " >&6
18890 if test x
$gcc_no_link = xyes
; then
18891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18894 /* end confdefs.h. */
18896 #ifdef HAVE_COMPLEX_H
18897 #include <complex.h>
18903 int (*ptr)() = (int (*)())cosl;
18912 if ac_fn_c_try_link
"$LINENO"; then :
18913 gcc_cv_math_func_cosl
=yes
18915 gcc_cv_math_func_cosl
=no
18917 rm -f core conftest.err conftest.
$ac_objext \
18918 conftest
$ac_exeext conftest.
$ac_ext
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosl" >&5
18921 $as_echo "$gcc_cv_math_func_cosl" >&6; }
18922 if test $gcc_cv_math_func_cosl = yes; then
18924 cat >>confdefs.h
<<_ACEOF
18925 #define HAVE_COSL 1
18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf" >&5
18934 $as_echo_n "checking for ccosf... " >&6; }
18935 if ${gcc_cv_math_func_ccosf+:} false
; then :
18936 $as_echo_n "(cached) " >&6
18938 if test x
$gcc_no_link = xyes
; then
18939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18942 /* end confdefs.h. */
18944 #ifdef HAVE_COMPLEX_H
18945 #include <complex.h>
18951 int (*ptr)() = (int (*)())ccosf;
18960 if ac_fn_c_try_link
"$LINENO"; then :
18961 gcc_cv_math_func_ccosf
=yes
18963 gcc_cv_math_func_ccosf
=no
18965 rm -f core conftest.err conftest.
$ac_objext \
18966 conftest
$ac_exeext conftest.
$ac_ext
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf" >&5
18969 $as_echo "$gcc_cv_math_func_ccosf" >&6; }
18970 if test $gcc_cv_math_func_ccosf = yes; then
18972 cat >>confdefs.h
<<_ACEOF
18973 #define HAVE_CCOSF 1
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccos" >&5
18982 $as_echo_n "checking for ccos... " >&6; }
18983 if ${gcc_cv_math_func_ccos+:} false
; then :
18984 $as_echo_n "(cached) " >&6
18986 if test x
$gcc_no_link = xyes
; then
18987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18992 #ifdef HAVE_COMPLEX_H
18993 #include <complex.h>
18999 int (*ptr)() = (int (*)())ccos;
19008 if ac_fn_c_try_link
"$LINENO"; then :
19009 gcc_cv_math_func_ccos
=yes
19011 gcc_cv_math_func_ccos
=no
19013 rm -f core conftest.err conftest.
$ac_objext \
19014 conftest
$ac_exeext conftest.
$ac_ext
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccos" >&5
19017 $as_echo "$gcc_cv_math_func_ccos" >&6; }
19018 if test $gcc_cv_math_func_ccos = yes; then
19020 cat >>confdefs.h
<<_ACEOF
19021 #define HAVE_CCOS 1
19029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosl" >&5
19030 $as_echo_n "checking for ccosl... " >&6; }
19031 if ${gcc_cv_math_func_ccosl+:} false
; then :
19032 $as_echo_n "(cached) " >&6
19034 if test x
$gcc_no_link = xyes
; then
19035 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19038 /* end confdefs.h. */
19040 #ifdef HAVE_COMPLEX_H
19041 #include <complex.h>
19047 int (*ptr)() = (int (*)())ccosl;
19056 if ac_fn_c_try_link
"$LINENO"; then :
19057 gcc_cv_math_func_ccosl
=yes
19059 gcc_cv_math_func_ccosl
=no
19061 rm -f core conftest.err conftest.
$ac_objext \
19062 conftest
$ac_exeext conftest.
$ac_ext
19064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosl" >&5
19065 $as_echo "$gcc_cv_math_func_ccosl" >&6; }
19066 if test $gcc_cv_math_func_ccosl = yes; then
19068 cat >>confdefs.h
<<_ACEOF
19069 #define HAVE_CCOSL 1
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf" >&5
19078 $as_echo_n "checking for coshf... " >&6; }
19079 if ${gcc_cv_math_func_coshf+:} false
; then :
19080 $as_echo_n "(cached) " >&6
19082 if test x
$gcc_no_link = xyes
; then
19083 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19088 #ifdef HAVE_COMPLEX_H
19089 #include <complex.h>
19095 int (*ptr)() = (int (*)())coshf;
19104 if ac_fn_c_try_link
"$LINENO"; then :
19105 gcc_cv_math_func_coshf
=yes
19107 gcc_cv_math_func_coshf
=no
19109 rm -f core conftest.err conftest.
$ac_objext \
19110 conftest
$ac_exeext conftest.
$ac_ext
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf" >&5
19113 $as_echo "$gcc_cv_math_func_coshf" >&6; }
19114 if test $gcc_cv_math_func_coshf = yes; then
19116 cat >>confdefs.h
<<_ACEOF
19117 #define HAVE_COSHF 1
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosh" >&5
19126 $as_echo_n "checking for cosh... " >&6; }
19127 if ${gcc_cv_math_func_cosh+:} false
; then :
19128 $as_echo_n "(cached) " >&6
19130 if test x
$gcc_no_link = xyes
; then
19131 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19134 /* end confdefs.h. */
19136 #ifdef HAVE_COMPLEX_H
19137 #include <complex.h>
19143 int (*ptr)() = (int (*)())cosh;
19152 if ac_fn_c_try_link
"$LINENO"; then :
19153 gcc_cv_math_func_cosh
=yes
19155 gcc_cv_math_func_cosh
=no
19157 rm -f core conftest.err conftest.
$ac_objext \
19158 conftest
$ac_exeext conftest.
$ac_ext
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosh" >&5
19161 $as_echo "$gcc_cv_math_func_cosh" >&6; }
19162 if test $gcc_cv_math_func_cosh = yes; then
19164 cat >>confdefs.h
<<_ACEOF
19165 #define HAVE_COSH 1
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl" >&5
19174 $as_echo_n "checking for coshl... " >&6; }
19175 if ${gcc_cv_math_func_coshl+:} false
; then :
19176 $as_echo_n "(cached) " >&6
19178 if test x
$gcc_no_link = xyes
; then
19179 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19182 /* end confdefs.h. */
19184 #ifdef HAVE_COMPLEX_H
19185 #include <complex.h>
19191 int (*ptr)() = (int (*)())coshl;
19200 if ac_fn_c_try_link
"$LINENO"; then :
19201 gcc_cv_math_func_coshl
=yes
19203 gcc_cv_math_func_coshl
=no
19205 rm -f core conftest.err conftest.
$ac_objext \
19206 conftest
$ac_exeext conftest.
$ac_ext
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshl" >&5
19209 $as_echo "$gcc_cv_math_func_coshl" >&6; }
19210 if test $gcc_cv_math_func_coshl = yes; then
19212 cat >>confdefs.h
<<_ACEOF
19213 #define HAVE_COSHL 1
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf" >&5
19222 $as_echo_n "checking for ccoshf... " >&6; }
19223 if ${gcc_cv_math_func_ccoshf+:} false
; then :
19224 $as_echo_n "(cached) " >&6
19226 if test x
$gcc_no_link = xyes
; then
19227 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19232 #ifdef HAVE_COMPLEX_H
19233 #include <complex.h>
19239 int (*ptr)() = (int (*)())ccoshf;
19248 if ac_fn_c_try_link
"$LINENO"; then :
19249 gcc_cv_math_func_ccoshf
=yes
19251 gcc_cv_math_func_ccoshf
=no
19253 rm -f core conftest.err conftest.
$ac_objext \
19254 conftest
$ac_exeext conftest.
$ac_ext
19256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf" >&5
19257 $as_echo "$gcc_cv_math_func_ccoshf" >&6; }
19258 if test $gcc_cv_math_func_ccoshf = yes; then
19260 cat >>confdefs.h
<<_ACEOF
19261 #define HAVE_CCOSHF 1
19269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosh" >&5
19270 $as_echo_n "checking for ccosh... " >&6; }
19271 if ${gcc_cv_math_func_ccosh+:} false
; then :
19272 $as_echo_n "(cached) " >&6
19274 if test x
$gcc_no_link = xyes
; then
19275 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19278 /* end confdefs.h. */
19280 #ifdef HAVE_COMPLEX_H
19281 #include <complex.h>
19287 int (*ptr)() = (int (*)())ccosh;
19296 if ac_fn_c_try_link
"$LINENO"; then :
19297 gcc_cv_math_func_ccosh
=yes
19299 gcc_cv_math_func_ccosh
=no
19301 rm -f core conftest.err conftest.
$ac_objext \
19302 conftest
$ac_exeext conftest.
$ac_ext
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosh" >&5
19305 $as_echo "$gcc_cv_math_func_ccosh" >&6; }
19306 if test $gcc_cv_math_func_ccosh = yes; then
19308 cat >>confdefs.h
<<_ACEOF
19309 #define HAVE_CCOSH 1
19317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshl" >&5
19318 $as_echo_n "checking for ccoshl... " >&6; }
19319 if ${gcc_cv_math_func_ccoshl+:} false
; then :
19320 $as_echo_n "(cached) " >&6
19322 if test x
$gcc_no_link = xyes
; then
19323 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19325 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19326 /* end confdefs.h. */
19328 #ifdef HAVE_COMPLEX_H
19329 #include <complex.h>
19335 int (*ptr)() = (int (*)())ccoshl;
19344 if ac_fn_c_try_link
"$LINENO"; then :
19345 gcc_cv_math_func_ccoshl
=yes
19347 gcc_cv_math_func_ccoshl
=no
19349 rm -f core conftest.err conftest.
$ac_objext \
19350 conftest
$ac_exeext conftest.
$ac_ext
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshl" >&5
19353 $as_echo "$gcc_cv_math_func_ccoshl" >&6; }
19354 if test $gcc_cv_math_func_ccoshl = yes; then
19356 cat >>confdefs.h
<<_ACEOF
19357 #define HAVE_CCOSHL 1
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf" >&5
19366 $as_echo_n "checking for expf... " >&6; }
19367 if ${gcc_cv_math_func_expf+:} false
; then :
19368 $as_echo_n "(cached) " >&6
19370 if test x
$gcc_no_link = xyes
; then
19371 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19376 #ifdef HAVE_COMPLEX_H
19377 #include <complex.h>
19383 int (*ptr)() = (int (*)())expf;
19392 if ac_fn_c_try_link
"$LINENO"; then :
19393 gcc_cv_math_func_expf
=yes
19395 gcc_cv_math_func_expf
=no
19397 rm -f core conftest.err conftest.
$ac_objext \
19398 conftest
$ac_exeext conftest.
$ac_ext
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf" >&5
19401 $as_echo "$gcc_cv_math_func_expf" >&6; }
19402 if test $gcc_cv_math_func_expf = yes; then
19404 cat >>confdefs.h
<<_ACEOF
19405 #define HAVE_EXPF 1
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp" >&5
19414 $as_echo_n "checking for exp... " >&6; }
19415 if ${gcc_cv_math_func_exp+:} false
; then :
19416 $as_echo_n "(cached) " >&6
19418 if test x
$gcc_no_link = xyes
; then
19419 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19424 #ifdef HAVE_COMPLEX_H
19425 #include <complex.h>
19431 int (*ptr)() = (int (*)())exp;
19440 if ac_fn_c_try_link
"$LINENO"; then :
19441 gcc_cv_math_func_exp
=yes
19443 gcc_cv_math_func_exp
=no
19445 rm -f core conftest.err conftest.
$ac_objext \
19446 conftest
$ac_exeext conftest.
$ac_ext
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_exp" >&5
19449 $as_echo "$gcc_cv_math_func_exp" >&6; }
19450 if test $gcc_cv_math_func_exp = yes; then
19452 cat >>confdefs.h
<<_ACEOF
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl" >&5
19462 $as_echo_n "checking for expl... " >&6; }
19463 if ${gcc_cv_math_func_expl+:} false
; then :
19464 $as_echo_n "(cached) " >&6
19466 if test x
$gcc_no_link = xyes
; then
19467 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19470 /* end confdefs.h. */
19472 #ifdef HAVE_COMPLEX_H
19473 #include <complex.h>
19479 int (*ptr)() = (int (*)())expl;
19488 if ac_fn_c_try_link
"$LINENO"; then :
19489 gcc_cv_math_func_expl
=yes
19491 gcc_cv_math_func_expl
=no
19493 rm -f core conftest.err conftest.
$ac_objext \
19494 conftest
$ac_exeext conftest.
$ac_ext
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expl" >&5
19497 $as_echo "$gcc_cv_math_func_expl" >&6; }
19498 if test $gcc_cv_math_func_expl = yes; then
19500 cat >>confdefs.h
<<_ACEOF
19501 #define HAVE_EXPL 1
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf" >&5
19510 $as_echo_n "checking for cexpf... " >&6; }
19511 if ${gcc_cv_math_func_cexpf+:} false
; then :
19512 $as_echo_n "(cached) " >&6
19514 if test x
$gcc_no_link = xyes
; then
19515 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19517 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19518 /* end confdefs.h. */
19520 #ifdef HAVE_COMPLEX_H
19521 #include <complex.h>
19527 int (*ptr)() = (int (*)())cexpf;
19536 if ac_fn_c_try_link
"$LINENO"; then :
19537 gcc_cv_math_func_cexpf
=yes
19539 gcc_cv_math_func_cexpf
=no
19541 rm -f core conftest.err conftest.
$ac_objext \
19542 conftest
$ac_exeext conftest.
$ac_ext
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf" >&5
19545 $as_echo "$gcc_cv_math_func_cexpf" >&6; }
19546 if test $gcc_cv_math_func_cexpf = yes; then
19548 cat >>confdefs.h
<<_ACEOF
19549 #define HAVE_CEXPF 1
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexp" >&5
19558 $as_echo_n "checking for cexp... " >&6; }
19559 if ${gcc_cv_math_func_cexp+:} false
; then :
19560 $as_echo_n "(cached) " >&6
19562 if test x
$gcc_no_link = xyes
; then
19563 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19565 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19566 /* end confdefs.h. */
19568 #ifdef HAVE_COMPLEX_H
19569 #include <complex.h>
19575 int (*ptr)() = (int (*)())cexp;
19584 if ac_fn_c_try_link
"$LINENO"; then :
19585 gcc_cv_math_func_cexp
=yes
19587 gcc_cv_math_func_cexp
=no
19589 rm -f core conftest.err conftest.
$ac_objext \
19590 conftest
$ac_exeext conftest.
$ac_ext
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexp" >&5
19593 $as_echo "$gcc_cv_math_func_cexp" >&6; }
19594 if test $gcc_cv_math_func_cexp = yes; then
19596 cat >>confdefs.h
<<_ACEOF
19597 #define HAVE_CEXP 1
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpl" >&5
19606 $as_echo_n "checking for cexpl... " >&6; }
19607 if ${gcc_cv_math_func_cexpl+:} false
; then :
19608 $as_echo_n "(cached) " >&6
19610 if test x
$gcc_no_link = xyes
; then
19611 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19614 /* end confdefs.h. */
19616 #ifdef HAVE_COMPLEX_H
19617 #include <complex.h>
19623 int (*ptr)() = (int (*)())cexpl;
19632 if ac_fn_c_try_link
"$LINENO"; then :
19633 gcc_cv_math_func_cexpl
=yes
19635 gcc_cv_math_func_cexpl
=no
19637 rm -f core conftest.err conftest.
$ac_objext \
19638 conftest
$ac_exeext conftest.
$ac_ext
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpl" >&5
19641 $as_echo "$gcc_cv_math_func_cexpl" >&6; }
19642 if test $gcc_cv_math_func_cexpl = yes; then
19644 cat >>confdefs.h
<<_ACEOF
19645 #define HAVE_CEXPL 1
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf" >&5
19654 $as_echo_n "checking for fabsf... " >&6; }
19655 if ${gcc_cv_math_func_fabsf+:} false
; then :
19656 $as_echo_n "(cached) " >&6
19658 if test x
$gcc_no_link = xyes
; then
19659 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19664 #ifdef HAVE_COMPLEX_H
19665 #include <complex.h>
19671 int (*ptr)() = (int (*)())fabsf;
19680 if ac_fn_c_try_link
"$LINENO"; then :
19681 gcc_cv_math_func_fabsf
=yes
19683 gcc_cv_math_func_fabsf
=no
19685 rm -f core conftest.err conftest.
$ac_objext \
19686 conftest
$ac_exeext conftest.
$ac_ext
19688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf" >&5
19689 $as_echo "$gcc_cv_math_func_fabsf" >&6; }
19690 if test $gcc_cv_math_func_fabsf = yes; then
19692 cat >>confdefs.h
<<_ACEOF
19693 #define HAVE_FABSF 1
19701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabs" >&5
19702 $as_echo_n "checking for fabs... " >&6; }
19703 if ${gcc_cv_math_func_fabs+:} false
; then :
19704 $as_echo_n "(cached) " >&6
19706 if test x
$gcc_no_link = xyes
; then
19707 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19712 #ifdef HAVE_COMPLEX_H
19713 #include <complex.h>
19719 int (*ptr)() = (int (*)())fabs;
19728 if ac_fn_c_try_link
"$LINENO"; then :
19729 gcc_cv_math_func_fabs
=yes
19731 gcc_cv_math_func_fabs
=no
19733 rm -f core conftest.err conftest.
$ac_objext \
19734 conftest
$ac_exeext conftest.
$ac_ext
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabs" >&5
19737 $as_echo "$gcc_cv_math_func_fabs" >&6; }
19738 if test $gcc_cv_math_func_fabs = yes; then
19740 cat >>confdefs.h
<<_ACEOF
19741 #define HAVE_FABS 1
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl" >&5
19750 $as_echo_n "checking for fabsl... " >&6; }
19751 if ${gcc_cv_math_func_fabsl+:} false
; then :
19752 $as_echo_n "(cached) " >&6
19754 if test x
$gcc_no_link = xyes
; then
19755 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19758 /* end confdefs.h. */
19760 #ifdef HAVE_COMPLEX_H
19761 #include <complex.h>
19767 int (*ptr)() = (int (*)())fabsl;
19776 if ac_fn_c_try_link
"$LINENO"; then :
19777 gcc_cv_math_func_fabsl
=yes
19779 gcc_cv_math_func_fabsl
=no
19781 rm -f core conftest.err conftest.
$ac_objext \
19782 conftest
$ac_exeext conftest.
$ac_ext
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsl" >&5
19785 $as_echo "$gcc_cv_math_func_fabsl" >&6; }
19786 if test $gcc_cv_math_func_fabsl = yes; then
19788 cat >>confdefs.h
<<_ACEOF
19789 #define HAVE_FABSL 1
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf" >&5
19798 $as_echo_n "checking for cabsf... " >&6; }
19799 if ${gcc_cv_math_func_cabsf+:} false
; then :
19800 $as_echo_n "(cached) " >&6
19802 if test x
$gcc_no_link = xyes
; then
19803 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19808 #ifdef HAVE_COMPLEX_H
19809 #include <complex.h>
19815 int (*ptr)() = (int (*)())cabsf;
19824 if ac_fn_c_try_link
"$LINENO"; then :
19825 gcc_cv_math_func_cabsf
=yes
19827 gcc_cv_math_func_cabsf
=no
19829 rm -f core conftest.err conftest.
$ac_objext \
19830 conftest
$ac_exeext conftest.
$ac_ext
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf" >&5
19833 $as_echo "$gcc_cv_math_func_cabsf" >&6; }
19834 if test $gcc_cv_math_func_cabsf = yes; then
19836 cat >>confdefs.h
<<_ACEOF
19837 #define HAVE_CABSF 1
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabs" >&5
19846 $as_echo_n "checking for cabs... " >&6; }
19847 if ${gcc_cv_math_func_cabs+:} false
; then :
19848 $as_echo_n "(cached) " >&6
19850 if test x
$gcc_no_link = xyes
; then
19851 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19856 #ifdef HAVE_COMPLEX_H
19857 #include <complex.h>
19863 int (*ptr)() = (int (*)())cabs;
19872 if ac_fn_c_try_link
"$LINENO"; then :
19873 gcc_cv_math_func_cabs
=yes
19875 gcc_cv_math_func_cabs
=no
19877 rm -f core conftest.err conftest.
$ac_objext \
19878 conftest
$ac_exeext conftest.
$ac_ext
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabs" >&5
19881 $as_echo "$gcc_cv_math_func_cabs" >&6; }
19882 if test $gcc_cv_math_func_cabs = yes; then
19884 cat >>confdefs.h
<<_ACEOF
19885 #define HAVE_CABS 1
19893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsl" >&5
19894 $as_echo_n "checking for cabsl... " >&6; }
19895 if ${gcc_cv_math_func_cabsl+:} false
; then :
19896 $as_echo_n "(cached) " >&6
19898 if test x
$gcc_no_link = xyes
; then
19899 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19902 /* end confdefs.h. */
19904 #ifdef HAVE_COMPLEX_H
19905 #include <complex.h>
19911 int (*ptr)() = (int (*)())cabsl;
19920 if ac_fn_c_try_link
"$LINENO"; then :
19921 gcc_cv_math_func_cabsl
=yes
19923 gcc_cv_math_func_cabsl
=no
19925 rm -f core conftest.err conftest.
$ac_objext \
19926 conftest
$ac_exeext conftest.
$ac_ext
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsl" >&5
19929 $as_echo "$gcc_cv_math_func_cabsl" >&6; }
19930 if test $gcc_cv_math_func_cabsl = yes; then
19932 cat >>confdefs.h
<<_ACEOF
19933 #define HAVE_CABSL 1
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf" >&5
19942 $as_echo_n "checking for floorf... " >&6; }
19943 if ${gcc_cv_math_func_floorf+:} false
; then :
19944 $as_echo_n "(cached) " >&6
19946 if test x
$gcc_no_link = xyes
; then
19947 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19950 /* end confdefs.h. */
19952 #ifdef HAVE_COMPLEX_H
19953 #include <complex.h>
19959 int (*ptr)() = (int (*)())floorf;
19968 if ac_fn_c_try_link
"$LINENO"; then :
19969 gcc_cv_math_func_floorf
=yes
19971 gcc_cv_math_func_floorf
=no
19973 rm -f core conftest.err conftest.
$ac_objext \
19974 conftest
$ac_exeext conftest.
$ac_ext
19976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf" >&5
19977 $as_echo "$gcc_cv_math_func_floorf" >&6; }
19978 if test $gcc_cv_math_func_floorf = yes; then
19980 cat >>confdefs.h
<<_ACEOF
19981 #define HAVE_FLOORF 1
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floor" >&5
19990 $as_echo_n "checking for floor... " >&6; }
19991 if ${gcc_cv_math_func_floor+:} false
; then :
19992 $as_echo_n "(cached) " >&6
19994 if test x
$gcc_no_link = xyes
; then
19995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
19998 /* end confdefs.h. */
20000 #ifdef HAVE_COMPLEX_H
20001 #include <complex.h>
20007 int (*ptr)() = (int (*)())floor;
20016 if ac_fn_c_try_link
"$LINENO"; then :
20017 gcc_cv_math_func_floor
=yes
20019 gcc_cv_math_func_floor
=no
20021 rm -f core conftest.err conftest.
$ac_objext \
20022 conftest
$ac_exeext conftest.
$ac_ext
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floor" >&5
20025 $as_echo "$gcc_cv_math_func_floor" >&6; }
20026 if test $gcc_cv_math_func_floor = yes; then
20028 cat >>confdefs.h
<<_ACEOF
20029 #define HAVE_FLOOR 1
20037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl" >&5
20038 $as_echo_n "checking for floorl... " >&6; }
20039 if ${gcc_cv_math_func_floorl+:} false
; then :
20040 $as_echo_n "(cached) " >&6
20042 if test x
$gcc_no_link = xyes
; then
20043 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20046 /* end confdefs.h. */
20048 #ifdef HAVE_COMPLEX_H
20049 #include <complex.h>
20055 int (*ptr)() = (int (*)())floorl;
20064 if ac_fn_c_try_link
"$LINENO"; then :
20065 gcc_cv_math_func_floorl
=yes
20067 gcc_cv_math_func_floorl
=no
20069 rm -f core conftest.err conftest.
$ac_objext \
20070 conftest
$ac_exeext conftest.
$ac_ext
20072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorl" >&5
20073 $as_echo "$gcc_cv_math_func_floorl" >&6; }
20074 if test $gcc_cv_math_func_floorl = yes; then
20076 cat >>confdefs.h
<<_ACEOF
20077 #define HAVE_FLOORL 1
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf" >&5
20086 $as_echo_n "checking for fmaf... " >&6; }
20087 if ${gcc_cv_math_func_fmaf+:} false
; then :
20088 $as_echo_n "(cached) " >&6
20090 if test x
$gcc_no_link = xyes
; then
20091 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20096 #ifdef HAVE_COMPLEX_H
20097 #include <complex.h>
20103 int (*ptr)() = (int (*)())fmaf;
20112 if ac_fn_c_try_link
"$LINENO"; then :
20113 gcc_cv_math_func_fmaf
=yes
20115 gcc_cv_math_func_fmaf
=no
20117 rm -f core conftest.err conftest.
$ac_objext \
20118 conftest
$ac_exeext conftest.
$ac_ext
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf" >&5
20121 $as_echo "$gcc_cv_math_func_fmaf" >&6; }
20122 if test $gcc_cv_math_func_fmaf = yes; then
20124 cat >>confdefs.h
<<_ACEOF
20125 #define HAVE_FMAF 1
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fma" >&5
20134 $as_echo_n "checking for fma... " >&6; }
20135 if ${gcc_cv_math_func_fma+:} false
; then :
20136 $as_echo_n "(cached) " >&6
20138 if test x
$gcc_no_link = xyes
; then
20139 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20144 #ifdef HAVE_COMPLEX_H
20145 #include <complex.h>
20151 int (*ptr)() = (int (*)())fma;
20160 if ac_fn_c_try_link
"$LINENO"; then :
20161 gcc_cv_math_func_fma
=yes
20163 gcc_cv_math_func_fma
=no
20165 rm -f core conftest.err conftest.
$ac_objext \
20166 conftest
$ac_exeext conftest.
$ac_ext
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fma" >&5
20169 $as_echo "$gcc_cv_math_func_fma" >&6; }
20170 if test $gcc_cv_math_func_fma = yes; then
20172 cat >>confdefs.h
<<_ACEOF
20181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmal" >&5
20182 $as_echo_n "checking for fmal... " >&6; }
20183 if ${gcc_cv_math_func_fmal+:} false
; then :
20184 $as_echo_n "(cached) " >&6
20186 if test x
$gcc_no_link = xyes
; then
20187 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20190 /* end confdefs.h. */
20192 #ifdef HAVE_COMPLEX_H
20193 #include <complex.h>
20199 int (*ptr)() = (int (*)())fmal;
20208 if ac_fn_c_try_link
"$LINENO"; then :
20209 gcc_cv_math_func_fmal
=yes
20211 gcc_cv_math_func_fmal
=no
20213 rm -f core conftest.err conftest.
$ac_objext \
20214 conftest
$ac_exeext conftest.
$ac_ext
20216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmal" >&5
20217 $as_echo "$gcc_cv_math_func_fmal" >&6; }
20218 if test $gcc_cv_math_func_fmal = yes; then
20220 cat >>confdefs.h
<<_ACEOF
20221 #define HAVE_FMAL 1
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf" >&5
20230 $as_echo_n "checking for fmodf... " >&6; }
20231 if ${gcc_cv_math_func_fmodf+:} false
; then :
20232 $as_echo_n "(cached) " >&6
20234 if test x
$gcc_no_link = xyes
; then
20235 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20238 /* end confdefs.h. */
20240 #ifdef HAVE_COMPLEX_H
20241 #include <complex.h>
20247 int (*ptr)() = (int (*)())fmodf;
20256 if ac_fn_c_try_link
"$LINENO"; then :
20257 gcc_cv_math_func_fmodf
=yes
20259 gcc_cv_math_func_fmodf
=no
20261 rm -f core conftest.err conftest.
$ac_objext \
20262 conftest
$ac_exeext conftest.
$ac_ext
20264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf" >&5
20265 $as_echo "$gcc_cv_math_func_fmodf" >&6; }
20266 if test $gcc_cv_math_func_fmodf = yes; then
20268 cat >>confdefs.h
<<_ACEOF
20269 #define HAVE_FMODF 1
20277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmod" >&5
20278 $as_echo_n "checking for fmod... " >&6; }
20279 if ${gcc_cv_math_func_fmod+:} false
; then :
20280 $as_echo_n "(cached) " >&6
20282 if test x
$gcc_no_link = xyes
; then
20283 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20286 /* end confdefs.h. */
20288 #ifdef HAVE_COMPLEX_H
20289 #include <complex.h>
20295 int (*ptr)() = (int (*)())fmod;
20304 if ac_fn_c_try_link
"$LINENO"; then :
20305 gcc_cv_math_func_fmod
=yes
20307 gcc_cv_math_func_fmod
=no
20309 rm -f core conftest.err conftest.
$ac_objext \
20310 conftest
$ac_exeext conftest.
$ac_ext
20312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmod" >&5
20313 $as_echo "$gcc_cv_math_func_fmod" >&6; }
20314 if test $gcc_cv_math_func_fmod = yes; then
20316 cat >>confdefs.h
<<_ACEOF
20317 #define HAVE_FMOD 1
20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl" >&5
20326 $as_echo_n "checking for fmodl... " >&6; }
20327 if ${gcc_cv_math_func_fmodl+:} false
; then :
20328 $as_echo_n "(cached) " >&6
20330 if test x
$gcc_no_link = xyes
; then
20331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20334 /* end confdefs.h. */
20336 #ifdef HAVE_COMPLEX_H
20337 #include <complex.h>
20343 int (*ptr)() = (int (*)())fmodl;
20352 if ac_fn_c_try_link
"$LINENO"; then :
20353 gcc_cv_math_func_fmodl
=yes
20355 gcc_cv_math_func_fmodl
=no
20357 rm -f core conftest.err conftest.
$ac_objext \
20358 conftest
$ac_exeext conftest.
$ac_ext
20360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodl" >&5
20361 $as_echo "$gcc_cv_math_func_fmodl" >&6; }
20362 if test $gcc_cv_math_func_fmodl = yes; then
20364 cat >>confdefs.h
<<_ACEOF
20365 #define HAVE_FMODL 1
20373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf" >&5
20374 $as_echo_n "checking for frexpf... " >&6; }
20375 if ${gcc_cv_math_func_frexpf+:} false
; then :
20376 $as_echo_n "(cached) " >&6
20378 if test x
$gcc_no_link = xyes
; then
20379 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20382 /* end confdefs.h. */
20384 #ifdef HAVE_COMPLEX_H
20385 #include <complex.h>
20391 int (*ptr)() = (int (*)())frexpf;
20400 if ac_fn_c_try_link
"$LINENO"; then :
20401 gcc_cv_math_func_frexpf
=yes
20403 gcc_cv_math_func_frexpf
=no
20405 rm -f core conftest.err conftest.
$ac_objext \
20406 conftest
$ac_exeext conftest.
$ac_ext
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf" >&5
20409 $as_echo "$gcc_cv_math_func_frexpf" >&6; }
20410 if test $gcc_cv_math_func_frexpf = yes; then
20412 cat >>confdefs.h
<<_ACEOF
20413 #define HAVE_FREXPF 1
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexp" >&5
20422 $as_echo_n "checking for frexp... " >&6; }
20423 if ${gcc_cv_math_func_frexp+:} false
; then :
20424 $as_echo_n "(cached) " >&6
20426 if test x
$gcc_no_link = xyes
; then
20427 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20430 /* end confdefs.h. */
20432 #ifdef HAVE_COMPLEX_H
20433 #include <complex.h>
20439 int (*ptr)() = (int (*)())frexp;
20448 if ac_fn_c_try_link
"$LINENO"; then :
20449 gcc_cv_math_func_frexp
=yes
20451 gcc_cv_math_func_frexp
=no
20453 rm -f core conftest.err conftest.
$ac_objext \
20454 conftest
$ac_exeext conftest.
$ac_ext
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexp" >&5
20457 $as_echo "$gcc_cv_math_func_frexp" >&6; }
20458 if test $gcc_cv_math_func_frexp = yes; then
20460 cat >>confdefs.h
<<_ACEOF
20461 #define HAVE_FREXP 1
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl" >&5
20470 $as_echo_n "checking for frexpl... " >&6; }
20471 if ${gcc_cv_math_func_frexpl+:} false
; then :
20472 $as_echo_n "(cached) " >&6
20474 if test x
$gcc_no_link = xyes
; then
20475 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20480 #ifdef HAVE_COMPLEX_H
20481 #include <complex.h>
20487 int (*ptr)() = (int (*)())frexpl;
20496 if ac_fn_c_try_link
"$LINENO"; then :
20497 gcc_cv_math_func_frexpl
=yes
20499 gcc_cv_math_func_frexpl
=no
20501 rm -f core conftest.err conftest.
$ac_objext \
20502 conftest
$ac_exeext conftest.
$ac_ext
20504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpl" >&5
20505 $as_echo "$gcc_cv_math_func_frexpl" >&6; }
20506 if test $gcc_cv_math_func_frexpl = yes; then
20508 cat >>confdefs.h
<<_ACEOF
20509 #define HAVE_FREXPL 1
20517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf" >&5
20518 $as_echo_n "checking for hypotf... " >&6; }
20519 if ${gcc_cv_math_func_hypotf+:} false
; then :
20520 $as_echo_n "(cached) " >&6
20522 if test x
$gcc_no_link = xyes
; then
20523 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20526 /* end confdefs.h. */
20528 #ifdef HAVE_COMPLEX_H
20529 #include <complex.h>
20535 int (*ptr)() = (int (*)())hypotf;
20544 if ac_fn_c_try_link
"$LINENO"; then :
20545 gcc_cv_math_func_hypotf
=yes
20547 gcc_cv_math_func_hypotf
=no
20549 rm -f core conftest.err conftest.
$ac_objext \
20550 conftest
$ac_exeext conftest.
$ac_ext
20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf" >&5
20553 $as_echo "$gcc_cv_math_func_hypotf" >&6; }
20554 if test $gcc_cv_math_func_hypotf = yes; then
20556 cat >>confdefs.h
<<_ACEOF
20557 #define HAVE_HYPOTF 1
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot" >&5
20566 $as_echo_n "checking for hypot... " >&6; }
20567 if ${gcc_cv_math_func_hypot+:} false
; then :
20568 $as_echo_n "(cached) " >&6
20570 if test x
$gcc_no_link = xyes
; then
20571 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20574 /* end confdefs.h. */
20576 #ifdef HAVE_COMPLEX_H
20577 #include <complex.h>
20583 int (*ptr)() = (int (*)())hypot;
20592 if ac_fn_c_try_link
"$LINENO"; then :
20593 gcc_cv_math_func_hypot
=yes
20595 gcc_cv_math_func_hypot
=no
20597 rm -f core conftest.err conftest.
$ac_objext \
20598 conftest
$ac_exeext conftest.
$ac_ext
20600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypot" >&5
20601 $as_echo "$gcc_cv_math_func_hypot" >&6; }
20602 if test $gcc_cv_math_func_hypot = yes; then
20604 cat >>confdefs.h
<<_ACEOF
20605 #define HAVE_HYPOT 1
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl" >&5
20614 $as_echo_n "checking for hypotl... " >&6; }
20615 if ${gcc_cv_math_func_hypotl+:} false
; then :
20616 $as_echo_n "(cached) " >&6
20618 if test x
$gcc_no_link = xyes
; then
20619 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20622 /* end confdefs.h. */
20624 #ifdef HAVE_COMPLEX_H
20625 #include <complex.h>
20631 int (*ptr)() = (int (*)())hypotl;
20640 if ac_fn_c_try_link
"$LINENO"; then :
20641 gcc_cv_math_func_hypotl
=yes
20643 gcc_cv_math_func_hypotl
=no
20645 rm -f core conftest.err conftest.
$ac_objext \
20646 conftest
$ac_exeext conftest.
$ac_ext
20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotl" >&5
20649 $as_echo "$gcc_cv_math_func_hypotl" >&6; }
20650 if test $gcc_cv_math_func_hypotl = yes; then
20652 cat >>confdefs.h
<<_ACEOF
20653 #define HAVE_HYPOTL 1
20661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf" >&5
20662 $as_echo_n "checking for ldexpf... " >&6; }
20663 if ${gcc_cv_math_func_ldexpf+:} false
; then :
20664 $as_echo_n "(cached) " >&6
20666 if test x
$gcc_no_link = xyes
; then
20667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20670 /* end confdefs.h. */
20672 #ifdef HAVE_COMPLEX_H
20673 #include <complex.h>
20679 int (*ptr)() = (int (*)())ldexpf;
20688 if ac_fn_c_try_link
"$LINENO"; then :
20689 gcc_cv_math_func_ldexpf
=yes
20691 gcc_cv_math_func_ldexpf
=no
20693 rm -f core conftest.err conftest.
$ac_objext \
20694 conftest
$ac_exeext conftest.
$ac_ext
20696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf" >&5
20697 $as_echo "$gcc_cv_math_func_ldexpf" >&6; }
20698 if test $gcc_cv_math_func_ldexpf = yes; then
20700 cat >>confdefs.h
<<_ACEOF
20701 #define HAVE_LDEXPF 1
20709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexp" >&5
20710 $as_echo_n "checking for ldexp... " >&6; }
20711 if ${gcc_cv_math_func_ldexp+:} false
; then :
20712 $as_echo_n "(cached) " >&6
20714 if test x
$gcc_no_link = xyes
; then
20715 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20718 /* end confdefs.h. */
20720 #ifdef HAVE_COMPLEX_H
20721 #include <complex.h>
20727 int (*ptr)() = (int (*)())ldexp;
20736 if ac_fn_c_try_link
"$LINENO"; then :
20737 gcc_cv_math_func_ldexp
=yes
20739 gcc_cv_math_func_ldexp
=no
20741 rm -f core conftest.err conftest.
$ac_objext \
20742 conftest
$ac_exeext conftest.
$ac_ext
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexp" >&5
20745 $as_echo "$gcc_cv_math_func_ldexp" >&6; }
20746 if test $gcc_cv_math_func_ldexp = yes; then
20748 cat >>confdefs.h
<<_ACEOF
20749 #define HAVE_LDEXP 1
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl" >&5
20758 $as_echo_n "checking for ldexpl... " >&6; }
20759 if ${gcc_cv_math_func_ldexpl+:} false
; then :
20760 $as_echo_n "(cached) " >&6
20762 if test x
$gcc_no_link = xyes
; then
20763 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h. */
20768 #ifdef HAVE_COMPLEX_H
20769 #include <complex.h>
20775 int (*ptr)() = (int (*)())ldexpl;
20784 if ac_fn_c_try_link
"$LINENO"; then :
20785 gcc_cv_math_func_ldexpl
=yes
20787 gcc_cv_math_func_ldexpl
=no
20789 rm -f core conftest.err conftest.
$ac_objext \
20790 conftest
$ac_exeext conftest.
$ac_ext
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpl" >&5
20793 $as_echo "$gcc_cv_math_func_ldexpl" >&6; }
20794 if test $gcc_cv_math_func_ldexpl = yes; then
20796 cat >>confdefs.h
<<_ACEOF
20797 #define HAVE_LDEXPL 1
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf" >&5
20806 $as_echo_n "checking for logf... " >&6; }
20807 if ${gcc_cv_math_func_logf+:} false
; then :
20808 $as_echo_n "(cached) " >&6
20810 if test x
$gcc_no_link = xyes
; then
20811 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20816 #ifdef HAVE_COMPLEX_H
20817 #include <complex.h>
20823 int (*ptr)() = (int (*)())logf;
20832 if ac_fn_c_try_link
"$LINENO"; then :
20833 gcc_cv_math_func_logf
=yes
20835 gcc_cv_math_func_logf
=no
20837 rm -f core conftest.err conftest.
$ac_objext \
20838 conftest
$ac_exeext conftest.
$ac_ext
20840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf" >&5
20841 $as_echo "$gcc_cv_math_func_logf" >&6; }
20842 if test $gcc_cv_math_func_logf = yes; then
20844 cat >>confdefs.h
<<_ACEOF
20845 #define HAVE_LOGF 1
20853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log" >&5
20854 $as_echo_n "checking for log... " >&6; }
20855 if ${gcc_cv_math_func_log+:} false
; then :
20856 $as_echo_n "(cached) " >&6
20858 if test x
$gcc_no_link = xyes
; then
20859 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20862 /* end confdefs.h. */
20864 #ifdef HAVE_COMPLEX_H
20865 #include <complex.h>
20871 int (*ptr)() = (int (*)())log;
20880 if ac_fn_c_try_link
"$LINENO"; then :
20881 gcc_cv_math_func_log
=yes
20883 gcc_cv_math_func_log
=no
20885 rm -f core conftest.err conftest.
$ac_objext \
20886 conftest
$ac_exeext conftest.
$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log" >&5
20889 $as_echo "$gcc_cv_math_func_log" >&6; }
20890 if test $gcc_cv_math_func_log = yes; then
20892 cat >>confdefs.h
<<_ACEOF
20901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl" >&5
20902 $as_echo_n "checking for logl... " >&6; }
20903 if ${gcc_cv_math_func_logl+:} false
; then :
20904 $as_echo_n "(cached) " >&6
20906 if test x
$gcc_no_link = xyes
; then
20907 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20910 /* end confdefs.h. */
20912 #ifdef HAVE_COMPLEX_H
20913 #include <complex.h>
20919 int (*ptr)() = (int (*)())logl;
20928 if ac_fn_c_try_link
"$LINENO"; then :
20929 gcc_cv_math_func_logl
=yes
20931 gcc_cv_math_func_logl
=no
20933 rm -f core conftest.err conftest.
$ac_objext \
20934 conftest
$ac_exeext conftest.
$ac_ext
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logl" >&5
20937 $as_echo "$gcc_cv_math_func_logl" >&6; }
20938 if test $gcc_cv_math_func_logl = yes; then
20940 cat >>confdefs.h
<<_ACEOF
20941 #define HAVE_LOGL 1
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf" >&5
20950 $as_echo_n "checking for clogf... " >&6; }
20951 if ${gcc_cv_math_func_clogf+:} false
; then :
20952 $as_echo_n "(cached) " >&6
20954 if test x
$gcc_no_link = xyes
; then
20955 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20960 #ifdef HAVE_COMPLEX_H
20961 #include <complex.h>
20967 int (*ptr)() = (int (*)())clogf;
20976 if ac_fn_c_try_link
"$LINENO"; then :
20977 gcc_cv_math_func_clogf
=yes
20979 gcc_cv_math_func_clogf
=no
20981 rm -f core conftest.err conftest.
$ac_objext \
20982 conftest
$ac_exeext conftest.
$ac_ext
20984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf" >&5
20985 $as_echo "$gcc_cv_math_func_clogf" >&6; }
20986 if test $gcc_cv_math_func_clogf = yes; then
20988 cat >>confdefs.h
<<_ACEOF
20989 #define HAVE_CLOGF 1
20997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog" >&5
20998 $as_echo_n "checking for clog... " >&6; }
20999 if ${gcc_cv_math_func_clog+:} false
; then :
21000 $as_echo_n "(cached) " >&6
21002 if test x
$gcc_no_link = xyes
; then
21003 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21008 #ifdef HAVE_COMPLEX_H
21009 #include <complex.h>
21015 int (*ptr)() = (int (*)())clog;
21024 if ac_fn_c_try_link
"$LINENO"; then :
21025 gcc_cv_math_func_clog
=yes
21027 gcc_cv_math_func_clog
=no
21029 rm -f core conftest.err conftest.
$ac_objext \
21030 conftest
$ac_exeext conftest.
$ac_ext
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog" >&5
21033 $as_echo "$gcc_cv_math_func_clog" >&6; }
21034 if test $gcc_cv_math_func_clog = yes; then
21036 cat >>confdefs.h
<<_ACEOF
21037 #define HAVE_CLOG 1
21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogl" >&5
21046 $as_echo_n "checking for clogl... " >&6; }
21047 if ${gcc_cv_math_func_clogl+:} false
; then :
21048 $as_echo_n "(cached) " >&6
21050 if test x
$gcc_no_link = xyes
; then
21051 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21054 /* end confdefs.h. */
21056 #ifdef HAVE_COMPLEX_H
21057 #include <complex.h>
21063 int (*ptr)() = (int (*)())clogl;
21072 if ac_fn_c_try_link
"$LINENO"; then :
21073 gcc_cv_math_func_clogl
=yes
21075 gcc_cv_math_func_clogl
=no
21077 rm -f core conftest.err conftest.
$ac_objext \
21078 conftest
$ac_exeext conftest.
$ac_ext
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogl" >&5
21081 $as_echo "$gcc_cv_math_func_clogl" >&6; }
21082 if test $gcc_cv_math_func_clogl = yes; then
21084 cat >>confdefs.h
<<_ACEOF
21085 #define HAVE_CLOGL 1
21093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f" >&5
21094 $as_echo_n "checking for log10f... " >&6; }
21095 if ${gcc_cv_math_func_log10f+:} false
; then :
21096 $as_echo_n "(cached) " >&6
21098 if test x
$gcc_no_link = xyes
; then
21099 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21104 #ifdef HAVE_COMPLEX_H
21105 #include <complex.h>
21111 int (*ptr)() = (int (*)())log10f;
21120 if ac_fn_c_try_link
"$LINENO"; then :
21121 gcc_cv_math_func_log10f
=yes
21123 gcc_cv_math_func_log10f
=no
21125 rm -f core conftest.err conftest.
$ac_objext \
21126 conftest
$ac_exeext conftest.
$ac_ext
21128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f" >&5
21129 $as_echo "$gcc_cv_math_func_log10f" >&6; }
21130 if test $gcc_cv_math_func_log10f = yes; then
21132 cat >>confdefs.h
<<_ACEOF
21133 #define HAVE_LOG10F 1
21141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10" >&5
21142 $as_echo_n "checking for log10... " >&6; }
21143 if ${gcc_cv_math_func_log10+:} false
; then :
21144 $as_echo_n "(cached) " >&6
21146 if test x
$gcc_no_link = xyes
; then
21147 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21150 /* end confdefs.h. */
21152 #ifdef HAVE_COMPLEX_H
21153 #include <complex.h>
21159 int (*ptr)() = (int (*)())log10;
21168 if ac_fn_c_try_link
"$LINENO"; then :
21169 gcc_cv_math_func_log10
=yes
21171 gcc_cv_math_func_log10
=no
21173 rm -f core conftest.err conftest.
$ac_objext \
21174 conftest
$ac_exeext conftest.
$ac_ext
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10" >&5
21177 $as_echo "$gcc_cv_math_func_log10" >&6; }
21178 if test $gcc_cv_math_func_log10 = yes; then
21180 cat >>confdefs.h
<<_ACEOF
21181 #define HAVE_LOG10 1
21189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l" >&5
21190 $as_echo_n "checking for log10l... " >&6; }
21191 if ${gcc_cv_math_func_log10l+:} false
; then :
21192 $as_echo_n "(cached) " >&6
21194 if test x
$gcc_no_link = xyes
; then
21195 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21198 /* end confdefs.h. */
21200 #ifdef HAVE_COMPLEX_H
21201 #include <complex.h>
21207 int (*ptr)() = (int (*)())log10l;
21216 if ac_fn_c_try_link
"$LINENO"; then :
21217 gcc_cv_math_func_log10l
=yes
21219 gcc_cv_math_func_log10l
=no
21221 rm -f core conftest.err conftest.
$ac_objext \
21222 conftest
$ac_exeext conftest.
$ac_ext
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10l" >&5
21225 $as_echo "$gcc_cv_math_func_log10l" >&6; }
21226 if test $gcc_cv_math_func_log10l = yes; then
21228 cat >>confdefs.h
<<_ACEOF
21229 #define HAVE_LOG10L 1
21237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f" >&5
21238 $as_echo_n "checking for clog10f... " >&6; }
21239 if ${gcc_cv_math_func_clog10f+:} false
; then :
21240 $as_echo_n "(cached) " >&6
21242 if test x
$gcc_no_link = xyes
; then
21243 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21246 /* end confdefs.h. */
21248 #ifdef HAVE_COMPLEX_H
21249 #include <complex.h>
21255 int (*ptr)() = (int (*)())clog10f;
21264 if ac_fn_c_try_link
"$LINENO"; then :
21265 gcc_cv_math_func_clog10f
=yes
21267 gcc_cv_math_func_clog10f
=no
21269 rm -f core conftest.err conftest.
$ac_objext \
21270 conftest
$ac_exeext conftest.
$ac_ext
21272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f" >&5
21273 $as_echo "$gcc_cv_math_func_clog10f" >&6; }
21274 if test $gcc_cv_math_func_clog10f = yes; then
21276 cat >>confdefs.h
<<_ACEOF
21277 #define HAVE_CLOG10F 1
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10" >&5
21286 $as_echo_n "checking for clog10... " >&6; }
21287 if ${gcc_cv_math_func_clog10+:} false
; then :
21288 $as_echo_n "(cached) " >&6
21290 if test x
$gcc_no_link = xyes
; then
21291 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21294 /* end confdefs.h. */
21296 #ifdef HAVE_COMPLEX_H
21297 #include <complex.h>
21303 int (*ptr)() = (int (*)())clog10;
21312 if ac_fn_c_try_link
"$LINENO"; then :
21313 gcc_cv_math_func_clog10
=yes
21315 gcc_cv_math_func_clog10
=no
21317 rm -f core conftest.err conftest.
$ac_objext \
21318 conftest
$ac_exeext conftest.
$ac_ext
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10" >&5
21321 $as_echo "$gcc_cv_math_func_clog10" >&6; }
21322 if test $gcc_cv_math_func_clog10 = yes; then
21324 cat >>confdefs.h
<<_ACEOF
21325 #define HAVE_CLOG10 1
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10l" >&5
21334 $as_echo_n "checking for clog10l... " >&6; }
21335 if ${gcc_cv_math_func_clog10l+:} false
; then :
21336 $as_echo_n "(cached) " >&6
21338 if test x
$gcc_no_link = xyes
; then
21339 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21344 #ifdef HAVE_COMPLEX_H
21345 #include <complex.h>
21351 int (*ptr)() = (int (*)())clog10l;
21360 if ac_fn_c_try_link
"$LINENO"; then :
21361 gcc_cv_math_func_clog10l
=yes
21363 gcc_cv_math_func_clog10l
=no
21365 rm -f core conftest.err conftest.
$ac_objext \
21366 conftest
$ac_exeext conftest.
$ac_ext
21368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10l" >&5
21369 $as_echo "$gcc_cv_math_func_clog10l" >&6; }
21370 if test $gcc_cv_math_func_clog10l = yes; then
21372 cat >>confdefs.h
<<_ACEOF
21373 #define HAVE_CLOG10L 1
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf" >&5
21382 $as_echo_n "checking for nextafterf... " >&6; }
21383 if ${gcc_cv_math_func_nextafterf+:} false
; then :
21384 $as_echo_n "(cached) " >&6
21386 if test x
$gcc_no_link = xyes
; then
21387 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21390 /* end confdefs.h. */
21392 #ifdef HAVE_COMPLEX_H
21393 #include <complex.h>
21399 int (*ptr)() = (int (*)())nextafterf;
21408 if ac_fn_c_try_link
"$LINENO"; then :
21409 gcc_cv_math_func_nextafterf
=yes
21411 gcc_cv_math_func_nextafterf
=no
21413 rm -f core conftest.err conftest.
$ac_objext \
21414 conftest
$ac_exeext conftest.
$ac_ext
21416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf" >&5
21417 $as_echo "$gcc_cv_math_func_nextafterf" >&6; }
21418 if test $gcc_cv_math_func_nextafterf = yes; then
21420 cat >>confdefs.h
<<_ACEOF
21421 #define HAVE_NEXTAFTERF 1
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafter" >&5
21430 $as_echo_n "checking for nextafter... " >&6; }
21431 if ${gcc_cv_math_func_nextafter+:} false
; then :
21432 $as_echo_n "(cached) " >&6
21434 if test x
$gcc_no_link = xyes
; then
21435 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21440 #ifdef HAVE_COMPLEX_H
21441 #include <complex.h>
21447 int (*ptr)() = (int (*)())nextafter;
21456 if ac_fn_c_try_link
"$LINENO"; then :
21457 gcc_cv_math_func_nextafter
=yes
21459 gcc_cv_math_func_nextafter
=no
21461 rm -f core conftest.err conftest.
$ac_objext \
21462 conftest
$ac_exeext conftest.
$ac_ext
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafter" >&5
21465 $as_echo "$gcc_cv_math_func_nextafter" >&6; }
21466 if test $gcc_cv_math_func_nextafter = yes; then
21468 cat >>confdefs.h
<<_ACEOF
21469 #define HAVE_NEXTAFTER 1
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterl" >&5
21478 $as_echo_n "checking for nextafterl... " >&6; }
21479 if ${gcc_cv_math_func_nextafterl+:} false
; then :
21480 $as_echo_n "(cached) " >&6
21482 if test x
$gcc_no_link = xyes
; then
21483 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21486 /* end confdefs.h. */
21488 #ifdef HAVE_COMPLEX_H
21489 #include <complex.h>
21495 int (*ptr)() = (int (*)())nextafterl;
21504 if ac_fn_c_try_link
"$LINENO"; then :
21505 gcc_cv_math_func_nextafterl
=yes
21507 gcc_cv_math_func_nextafterl
=no
21509 rm -f core conftest.err conftest.
$ac_objext \
21510 conftest
$ac_exeext conftest.
$ac_ext
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterl" >&5
21513 $as_echo "$gcc_cv_math_func_nextafterl" >&6; }
21514 if test $gcc_cv_math_func_nextafterl = yes; then
21516 cat >>confdefs.h
<<_ACEOF
21517 #define HAVE_NEXTAFTERL 1
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf" >&5
21526 $as_echo_n "checking for powf... " >&6; }
21527 if ${gcc_cv_math_func_powf+:} false
; then :
21528 $as_echo_n "(cached) " >&6
21530 if test x
$gcc_no_link = xyes
; then
21531 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21536 #ifdef HAVE_COMPLEX_H
21537 #include <complex.h>
21543 int (*ptr)() = (int (*)())powf;
21552 if ac_fn_c_try_link
"$LINENO"; then :
21553 gcc_cv_math_func_powf
=yes
21555 gcc_cv_math_func_powf
=no
21557 rm -f core conftest.err conftest.
$ac_objext \
21558 conftest
$ac_exeext conftest.
$ac_ext
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf" >&5
21561 $as_echo "$gcc_cv_math_func_powf" >&6; }
21562 if test $gcc_cv_math_func_powf = yes; then
21564 cat >>confdefs.h
<<_ACEOF
21565 #define HAVE_POWF 1
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pow" >&5
21574 $as_echo_n "checking for pow... " >&6; }
21575 if ${gcc_cv_math_func_pow+:} false
; then :
21576 $as_echo_n "(cached) " >&6
21578 if test x
$gcc_no_link = xyes
; then
21579 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21582 /* end confdefs.h. */
21584 #ifdef HAVE_COMPLEX_H
21585 #include <complex.h>
21591 int (*ptr)() = (int (*)())pow;
21600 if ac_fn_c_try_link
"$LINENO"; then :
21601 gcc_cv_math_func_pow
=yes
21603 gcc_cv_math_func_pow
=no
21605 rm -f core conftest.err conftest.
$ac_objext \
21606 conftest
$ac_exeext conftest.
$ac_ext
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_pow" >&5
21609 $as_echo "$gcc_cv_math_func_pow" >&6; }
21610 if test $gcc_cv_math_func_pow = yes; then
21612 cat >>confdefs.h
<<_ACEOF
21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf" >&5
21622 $as_echo_n "checking for cpowf... " >&6; }
21623 if ${gcc_cv_math_func_cpowf+:} false
; then :
21624 $as_echo_n "(cached) " >&6
21626 if test x
$gcc_no_link = xyes
; then
21627 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21630 /* end confdefs.h. */
21632 #ifdef HAVE_COMPLEX_H
21633 #include <complex.h>
21639 int (*ptr)() = (int (*)())cpowf;
21648 if ac_fn_c_try_link
"$LINENO"; then :
21649 gcc_cv_math_func_cpowf
=yes
21651 gcc_cv_math_func_cpowf
=no
21653 rm -f core conftest.err conftest.
$ac_objext \
21654 conftest
$ac_exeext conftest.
$ac_ext
21656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf" >&5
21657 $as_echo "$gcc_cv_math_func_cpowf" >&6; }
21658 if test $gcc_cv_math_func_cpowf = yes; then
21660 cat >>confdefs.h
<<_ACEOF
21661 #define HAVE_CPOWF 1
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpow" >&5
21670 $as_echo_n "checking for cpow... " >&6; }
21671 if ${gcc_cv_math_func_cpow+:} false
; then :
21672 $as_echo_n "(cached) " >&6
21674 if test x
$gcc_no_link = xyes
; then
21675 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21680 #ifdef HAVE_COMPLEX_H
21681 #include <complex.h>
21687 int (*ptr)() = (int (*)())cpow;
21696 if ac_fn_c_try_link
"$LINENO"; then :
21697 gcc_cv_math_func_cpow
=yes
21699 gcc_cv_math_func_cpow
=no
21701 rm -f core conftest.err conftest.
$ac_objext \
21702 conftest
$ac_exeext conftest.
$ac_ext
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpow" >&5
21705 $as_echo "$gcc_cv_math_func_cpow" >&6; }
21706 if test $gcc_cv_math_func_cpow = yes; then
21708 cat >>confdefs.h
<<_ACEOF
21709 #define HAVE_CPOW 1
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowl" >&5
21718 $as_echo_n "checking for cpowl... " >&6; }
21719 if ${gcc_cv_math_func_cpowl+:} false
; then :
21720 $as_echo_n "(cached) " >&6
21722 if test x
$gcc_no_link = xyes
; then
21723 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21725 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21726 /* end confdefs.h. */
21728 #ifdef HAVE_COMPLEX_H
21729 #include <complex.h>
21735 int (*ptr)() = (int (*)())cpowl;
21744 if ac_fn_c_try_link
"$LINENO"; then :
21745 gcc_cv_math_func_cpowl
=yes
21747 gcc_cv_math_func_cpowl
=no
21749 rm -f core conftest.err conftest.
$ac_objext \
21750 conftest
$ac_exeext conftest.
$ac_ext
21752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowl" >&5
21753 $as_echo "$gcc_cv_math_func_cpowl" >&6; }
21754 if test $gcc_cv_math_func_cpowl = yes; then
21756 cat >>confdefs.h
<<_ACEOF
21757 #define HAVE_CPOWL 1
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf" >&5
21766 $as_echo_n "checking for roundf... " >&6; }
21767 if ${gcc_cv_math_func_roundf+:} false
; then :
21768 $as_echo_n "(cached) " >&6
21770 if test x
$gcc_no_link = xyes
; then
21771 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21776 #ifdef HAVE_COMPLEX_H
21777 #include <complex.h>
21783 int (*ptr)() = (int (*)())roundf;
21792 if ac_fn_c_try_link
"$LINENO"; then :
21793 gcc_cv_math_func_roundf
=yes
21795 gcc_cv_math_func_roundf
=no
21797 rm -f core conftest.err conftest.
$ac_objext \
21798 conftest
$ac_exeext conftest.
$ac_ext
21800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf" >&5
21801 $as_echo "$gcc_cv_math_func_roundf" >&6; }
21802 if test $gcc_cv_math_func_roundf = yes; then
21804 cat >>confdefs.h
<<_ACEOF
21805 #define HAVE_ROUNDF 1
21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for round" >&5
21814 $as_echo_n "checking for round... " >&6; }
21815 if ${gcc_cv_math_func_round+:} false
; then :
21816 $as_echo_n "(cached) " >&6
21818 if test x
$gcc_no_link = xyes
; then
21819 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21822 /* end confdefs.h. */
21824 #ifdef HAVE_COMPLEX_H
21825 #include <complex.h>
21831 int (*ptr)() = (int (*)())round;
21840 if ac_fn_c_try_link
"$LINENO"; then :
21841 gcc_cv_math_func_round
=yes
21843 gcc_cv_math_func_round
=no
21845 rm -f core conftest.err conftest.
$ac_objext \
21846 conftest
$ac_exeext conftest.
$ac_ext
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_round" >&5
21849 $as_echo "$gcc_cv_math_func_round" >&6; }
21850 if test $gcc_cv_math_func_round = yes; then
21852 cat >>confdefs.h
<<_ACEOF
21853 #define HAVE_ROUND 1
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundl" >&5
21862 $as_echo_n "checking for roundl... " >&6; }
21863 if ${gcc_cv_math_func_roundl+:} false
; then :
21864 $as_echo_n "(cached) " >&6
21866 if test x
$gcc_no_link = xyes
; then
21867 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21872 #ifdef HAVE_COMPLEX_H
21873 #include <complex.h>
21879 int (*ptr)() = (int (*)())roundl;
21888 if ac_fn_c_try_link
"$LINENO"; then :
21889 gcc_cv_math_func_roundl
=yes
21891 gcc_cv_math_func_roundl
=no
21893 rm -f core conftest.err conftest.
$ac_objext \
21894 conftest
$ac_exeext conftest.
$ac_ext
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundl" >&5
21897 $as_echo "$gcc_cv_math_func_roundl" >&6; }
21898 if test $gcc_cv_math_func_roundl = yes; then
21900 cat >>confdefs.h
<<_ACEOF
21901 #define HAVE_ROUNDL 1
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf" >&5
21910 $as_echo_n "checking for lroundf... " >&6; }
21911 if ${gcc_cv_math_func_lroundf+:} false
; then :
21912 $as_echo_n "(cached) " >&6
21914 if test x
$gcc_no_link = xyes
; then
21915 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21918 /* end confdefs.h. */
21920 #ifdef HAVE_COMPLEX_H
21921 #include <complex.h>
21927 int (*ptr)() = (int (*)())lroundf;
21936 if ac_fn_c_try_link
"$LINENO"; then :
21937 gcc_cv_math_func_lroundf
=yes
21939 gcc_cv_math_func_lroundf
=no
21941 rm -f core conftest.err conftest.
$ac_objext \
21942 conftest
$ac_exeext conftest.
$ac_ext
21944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf" >&5
21945 $as_echo "$gcc_cv_math_func_lroundf" >&6; }
21946 if test $gcc_cv_math_func_lroundf = yes; then
21948 cat >>confdefs.h
<<_ACEOF
21949 #define HAVE_LROUNDF 1
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lround" >&5
21958 $as_echo_n "checking for lround... " >&6; }
21959 if ${gcc_cv_math_func_lround+:} false
; then :
21960 $as_echo_n "(cached) " >&6
21962 if test x
$gcc_no_link = xyes
; then
21963 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
21966 /* end confdefs.h. */
21968 #ifdef HAVE_COMPLEX_H
21969 #include <complex.h>
21975 int (*ptr)() = (int (*)())lround;
21984 if ac_fn_c_try_link
"$LINENO"; then :
21985 gcc_cv_math_func_lround
=yes
21987 gcc_cv_math_func_lround
=no
21989 rm -f core conftest.err conftest.
$ac_objext \
21990 conftest
$ac_exeext conftest.
$ac_ext
21992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lround" >&5
21993 $as_echo "$gcc_cv_math_func_lround" >&6; }
21994 if test $gcc_cv_math_func_lround = yes; then
21996 cat >>confdefs.h
<<_ACEOF
21997 #define HAVE_LROUND 1
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundl" >&5
22006 $as_echo_n "checking for lroundl... " >&6; }
22007 if ${gcc_cv_math_func_lroundl+:} false
; then :
22008 $as_echo_n "(cached) " >&6
22010 if test x
$gcc_no_link = xyes
; then
22011 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22014 /* end confdefs.h. */
22016 #ifdef HAVE_COMPLEX_H
22017 #include <complex.h>
22023 int (*ptr)() = (int (*)())lroundl;
22032 if ac_fn_c_try_link
"$LINENO"; then :
22033 gcc_cv_math_func_lroundl
=yes
22035 gcc_cv_math_func_lroundl
=no
22037 rm -f core conftest.err conftest.
$ac_objext \
22038 conftest
$ac_exeext conftest.
$ac_ext
22040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundl" >&5
22041 $as_echo "$gcc_cv_math_func_lroundl" >&6; }
22042 if test $gcc_cv_math_func_lroundl = yes; then
22044 cat >>confdefs.h
<<_ACEOF
22045 #define HAVE_LROUNDL 1
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf" >&5
22054 $as_echo_n "checking for llroundf... " >&6; }
22055 if ${gcc_cv_math_func_llroundf+:} false
; then :
22056 $as_echo_n "(cached) " >&6
22058 if test x
$gcc_no_link = xyes
; then
22059 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22062 /* end confdefs.h. */
22064 #ifdef HAVE_COMPLEX_H
22065 #include <complex.h>
22071 int (*ptr)() = (int (*)())llroundf;
22080 if ac_fn_c_try_link
"$LINENO"; then :
22081 gcc_cv_math_func_llroundf
=yes
22083 gcc_cv_math_func_llroundf
=no
22085 rm -f core conftest.err conftest.
$ac_objext \
22086 conftest
$ac_exeext conftest.
$ac_ext
22088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf" >&5
22089 $as_echo "$gcc_cv_math_func_llroundf" >&6; }
22090 if test $gcc_cv_math_func_llroundf = yes; then
22092 cat >>confdefs.h
<<_ACEOF
22093 #define HAVE_LLROUNDF 1
22101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llround" >&5
22102 $as_echo_n "checking for llround... " >&6; }
22103 if ${gcc_cv_math_func_llround+:} false
; then :
22104 $as_echo_n "(cached) " >&6
22106 if test x
$gcc_no_link = xyes
; then
22107 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22110 /* end confdefs.h. */
22112 #ifdef HAVE_COMPLEX_H
22113 #include <complex.h>
22119 int (*ptr)() = (int (*)())llround;
22128 if ac_fn_c_try_link
"$LINENO"; then :
22129 gcc_cv_math_func_llround
=yes
22131 gcc_cv_math_func_llround
=no
22133 rm -f core conftest.err conftest.
$ac_objext \
22134 conftest
$ac_exeext conftest.
$ac_ext
22136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llround" >&5
22137 $as_echo "$gcc_cv_math_func_llround" >&6; }
22138 if test $gcc_cv_math_func_llround = yes; then
22140 cat >>confdefs.h
<<_ACEOF
22141 #define HAVE_LLROUND 1
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundl" >&5
22150 $as_echo_n "checking for llroundl... " >&6; }
22151 if ${gcc_cv_math_func_llroundl+:} false
; then :
22152 $as_echo_n "(cached) " >&6
22154 if test x
$gcc_no_link = xyes
; then
22155 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22158 /* end confdefs.h. */
22160 #ifdef HAVE_COMPLEX_H
22161 #include <complex.h>
22167 int (*ptr)() = (int (*)())llroundl;
22176 if ac_fn_c_try_link
"$LINENO"; then :
22177 gcc_cv_math_func_llroundl
=yes
22179 gcc_cv_math_func_llroundl
=no
22181 rm -f core conftest.err conftest.
$ac_objext \
22182 conftest
$ac_exeext conftest.
$ac_ext
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundl" >&5
22185 $as_echo "$gcc_cv_math_func_llroundl" >&6; }
22186 if test $gcc_cv_math_func_llroundl = yes; then
22188 cat >>confdefs.h
<<_ACEOF
22189 #define HAVE_LLROUNDL 1
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf" >&5
22198 $as_echo_n "checking for scalbnf... " >&6; }
22199 if ${gcc_cv_math_func_scalbnf+:} false
; then :
22200 $as_echo_n "(cached) " >&6
22202 if test x
$gcc_no_link = xyes
; then
22203 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22206 /* end confdefs.h. */
22208 #ifdef HAVE_COMPLEX_H
22209 #include <complex.h>
22215 int (*ptr)() = (int (*)())scalbnf;
22224 if ac_fn_c_try_link
"$LINENO"; then :
22225 gcc_cv_math_func_scalbnf
=yes
22227 gcc_cv_math_func_scalbnf
=no
22229 rm -f core conftest.err conftest.
$ac_objext \
22230 conftest
$ac_exeext conftest.
$ac_ext
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf" >&5
22233 $as_echo "$gcc_cv_math_func_scalbnf" >&6; }
22234 if test $gcc_cv_math_func_scalbnf = yes; then
22236 cat >>confdefs.h
<<_ACEOF
22237 #define HAVE_SCALBNF 1
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbn" >&5
22246 $as_echo_n "checking for scalbn... " >&6; }
22247 if ${gcc_cv_math_func_scalbn+:} false
; then :
22248 $as_echo_n "(cached) " >&6
22250 if test x
$gcc_no_link = xyes
; then
22251 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22254 /* end confdefs.h. */
22256 #ifdef HAVE_COMPLEX_H
22257 #include <complex.h>
22263 int (*ptr)() = (int (*)())scalbn;
22272 if ac_fn_c_try_link
"$LINENO"; then :
22273 gcc_cv_math_func_scalbn
=yes
22275 gcc_cv_math_func_scalbn
=no
22277 rm -f core conftest.err conftest.
$ac_objext \
22278 conftest
$ac_exeext conftest.
$ac_ext
22280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbn" >&5
22281 $as_echo "$gcc_cv_math_func_scalbn" >&6; }
22282 if test $gcc_cv_math_func_scalbn = yes; then
22284 cat >>confdefs.h
<<_ACEOF
22285 #define HAVE_SCALBN 1
22293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnl" >&5
22294 $as_echo_n "checking for scalbnl... " >&6; }
22295 if ${gcc_cv_math_func_scalbnl+:} false
; then :
22296 $as_echo_n "(cached) " >&6
22298 if test x
$gcc_no_link = xyes
; then
22299 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22302 /* end confdefs.h. */
22304 #ifdef HAVE_COMPLEX_H
22305 #include <complex.h>
22311 int (*ptr)() = (int (*)())scalbnl;
22320 if ac_fn_c_try_link
"$LINENO"; then :
22321 gcc_cv_math_func_scalbnl
=yes
22323 gcc_cv_math_func_scalbnl
=no
22325 rm -f core conftest.err conftest.
$ac_objext \
22326 conftest
$ac_exeext conftest.
$ac_ext
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnl" >&5
22329 $as_echo "$gcc_cv_math_func_scalbnl" >&6; }
22330 if test $gcc_cv_math_func_scalbnl = yes; then
22332 cat >>confdefs.h
<<_ACEOF
22333 #define HAVE_SCALBNL 1
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf" >&5
22342 $as_echo_n "checking for sinf... " >&6; }
22343 if ${gcc_cv_math_func_sinf+:} false
; then :
22344 $as_echo_n "(cached) " >&6
22346 if test x
$gcc_no_link = xyes
; then
22347 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22352 #ifdef HAVE_COMPLEX_H
22353 #include <complex.h>
22359 int (*ptr)() = (int (*)())sinf;
22368 if ac_fn_c_try_link
"$LINENO"; then :
22369 gcc_cv_math_func_sinf
=yes
22371 gcc_cv_math_func_sinf
=no
22373 rm -f core conftest.err conftest.
$ac_objext \
22374 conftest
$ac_exeext conftest.
$ac_ext
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf" >&5
22377 $as_echo "$gcc_cv_math_func_sinf" >&6; }
22378 if test $gcc_cv_math_func_sinf = yes; then
22380 cat >>confdefs.h
<<_ACEOF
22381 #define HAVE_SINF 1
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin" >&5
22390 $as_echo_n "checking for sin... " >&6; }
22391 if ${gcc_cv_math_func_sin+:} false
; then :
22392 $as_echo_n "(cached) " >&6
22394 if test x
$gcc_no_link = xyes
; then
22395 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22398 /* end confdefs.h. */
22400 #ifdef HAVE_COMPLEX_H
22401 #include <complex.h>
22407 int (*ptr)() = (int (*)())sin;
22416 if ac_fn_c_try_link
"$LINENO"; then :
22417 gcc_cv_math_func_sin
=yes
22419 gcc_cv_math_func_sin
=no
22421 rm -f core conftest.err conftest.
$ac_objext \
22422 conftest
$ac_exeext conftest.
$ac_ext
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sin" >&5
22425 $as_echo "$gcc_cv_math_func_sin" >&6; }
22426 if test $gcc_cv_math_func_sin = yes; then
22428 cat >>confdefs.h
<<_ACEOF
22437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl" >&5
22438 $as_echo_n "checking for sinl... " >&6; }
22439 if ${gcc_cv_math_func_sinl+:} false
; then :
22440 $as_echo_n "(cached) " >&6
22442 if test x
$gcc_no_link = xyes
; then
22443 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22446 /* end confdefs.h. */
22448 #ifdef HAVE_COMPLEX_H
22449 #include <complex.h>
22455 int (*ptr)() = (int (*)())sinl;
22464 if ac_fn_c_try_link
"$LINENO"; then :
22465 gcc_cv_math_func_sinl
=yes
22467 gcc_cv_math_func_sinl
=no
22469 rm -f core conftest.err conftest.
$ac_objext \
22470 conftest
$ac_exeext conftest.
$ac_ext
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinl" >&5
22473 $as_echo "$gcc_cv_math_func_sinl" >&6; }
22474 if test $gcc_cv_math_func_sinl = yes; then
22476 cat >>confdefs.h
<<_ACEOF
22477 #define HAVE_SINL 1
22485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf" >&5
22486 $as_echo_n "checking for csinf... " >&6; }
22487 if ${gcc_cv_math_func_csinf+:} false
; then :
22488 $as_echo_n "(cached) " >&6
22490 if test x
$gcc_no_link = xyes
; then
22491 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22494 /* end confdefs.h. */
22496 #ifdef HAVE_COMPLEX_H
22497 #include <complex.h>
22503 int (*ptr)() = (int (*)())csinf;
22512 if ac_fn_c_try_link
"$LINENO"; then :
22513 gcc_cv_math_func_csinf
=yes
22515 gcc_cv_math_func_csinf
=no
22517 rm -f core conftest.err conftest.
$ac_objext \
22518 conftest
$ac_exeext conftest.
$ac_ext
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf" >&5
22521 $as_echo "$gcc_cv_math_func_csinf" >&6; }
22522 if test $gcc_cv_math_func_csinf = yes; then
22524 cat >>confdefs.h
<<_ACEOF
22525 #define HAVE_CSINF 1
22533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csin" >&5
22534 $as_echo_n "checking for csin... " >&6; }
22535 if ${gcc_cv_math_func_csin+:} false
; then :
22536 $as_echo_n "(cached) " >&6
22538 if test x
$gcc_no_link = xyes
; then
22539 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22542 /* end confdefs.h. */
22544 #ifdef HAVE_COMPLEX_H
22545 #include <complex.h>
22551 int (*ptr)() = (int (*)())csin;
22560 if ac_fn_c_try_link
"$LINENO"; then :
22561 gcc_cv_math_func_csin
=yes
22563 gcc_cv_math_func_csin
=no
22565 rm -f core conftest.err conftest.
$ac_objext \
22566 conftest
$ac_exeext conftest.
$ac_ext
22568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csin" >&5
22569 $as_echo "$gcc_cv_math_func_csin" >&6; }
22570 if test $gcc_cv_math_func_csin = yes; then
22572 cat >>confdefs.h
<<_ACEOF
22573 #define HAVE_CSIN 1
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinl" >&5
22582 $as_echo_n "checking for csinl... " >&6; }
22583 if ${gcc_cv_math_func_csinl+:} false
; then :
22584 $as_echo_n "(cached) " >&6
22586 if test x
$gcc_no_link = xyes
; then
22587 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22590 /* end confdefs.h. */
22592 #ifdef HAVE_COMPLEX_H
22593 #include <complex.h>
22599 int (*ptr)() = (int (*)())csinl;
22608 if ac_fn_c_try_link
"$LINENO"; then :
22609 gcc_cv_math_func_csinl
=yes
22611 gcc_cv_math_func_csinl
=no
22613 rm -f core conftest.err conftest.
$ac_objext \
22614 conftest
$ac_exeext conftest.
$ac_ext
22616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinl" >&5
22617 $as_echo "$gcc_cv_math_func_csinl" >&6; }
22618 if test $gcc_cv_math_func_csinl = yes; then
22620 cat >>confdefs.h
<<_ACEOF
22621 #define HAVE_CSINL 1
22629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf" >&5
22630 $as_echo_n "checking for sinhf... " >&6; }
22631 if ${gcc_cv_math_func_sinhf+:} false
; then :
22632 $as_echo_n "(cached) " >&6
22634 if test x
$gcc_no_link = xyes
; then
22635 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22638 /* end confdefs.h. */
22640 #ifdef HAVE_COMPLEX_H
22641 #include <complex.h>
22647 int (*ptr)() = (int (*)())sinhf;
22656 if ac_fn_c_try_link
"$LINENO"; then :
22657 gcc_cv_math_func_sinhf
=yes
22659 gcc_cv_math_func_sinhf
=no
22661 rm -f core conftest.err conftest.
$ac_objext \
22662 conftest
$ac_exeext conftest.
$ac_ext
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf" >&5
22665 $as_echo "$gcc_cv_math_func_sinhf" >&6; }
22666 if test $gcc_cv_math_func_sinhf = yes; then
22668 cat >>confdefs.h
<<_ACEOF
22669 #define HAVE_SINHF 1
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinh" >&5
22678 $as_echo_n "checking for sinh... " >&6; }
22679 if ${gcc_cv_math_func_sinh+:} false
; then :
22680 $as_echo_n "(cached) " >&6
22682 if test x
$gcc_no_link = xyes
; then
22683 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22686 /* end confdefs.h. */
22688 #ifdef HAVE_COMPLEX_H
22689 #include <complex.h>
22695 int (*ptr)() = (int (*)())sinh;
22704 if ac_fn_c_try_link
"$LINENO"; then :
22705 gcc_cv_math_func_sinh
=yes
22707 gcc_cv_math_func_sinh
=no
22709 rm -f core conftest.err conftest.
$ac_objext \
22710 conftest
$ac_exeext conftest.
$ac_ext
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinh" >&5
22713 $as_echo "$gcc_cv_math_func_sinh" >&6; }
22714 if test $gcc_cv_math_func_sinh = yes; then
22716 cat >>confdefs.h
<<_ACEOF
22717 #define HAVE_SINH 1
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl" >&5
22726 $as_echo_n "checking for sinhl... " >&6; }
22727 if ${gcc_cv_math_func_sinhl+:} false
; then :
22728 $as_echo_n "(cached) " >&6
22730 if test x
$gcc_no_link = xyes
; then
22731 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22734 /* end confdefs.h. */
22736 #ifdef HAVE_COMPLEX_H
22737 #include <complex.h>
22743 int (*ptr)() = (int (*)())sinhl;
22752 if ac_fn_c_try_link
"$LINENO"; then :
22753 gcc_cv_math_func_sinhl
=yes
22755 gcc_cv_math_func_sinhl
=no
22757 rm -f core conftest.err conftest.
$ac_objext \
22758 conftest
$ac_exeext conftest.
$ac_ext
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhl" >&5
22761 $as_echo "$gcc_cv_math_func_sinhl" >&6; }
22762 if test $gcc_cv_math_func_sinhl = yes; then
22764 cat >>confdefs.h
<<_ACEOF
22765 #define HAVE_SINHL 1
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf" >&5
22774 $as_echo_n "checking for csinhf... " >&6; }
22775 if ${gcc_cv_math_func_csinhf+:} false
; then :
22776 $as_echo_n "(cached) " >&6
22778 if test x
$gcc_no_link = xyes
; then
22779 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h. */
22784 #ifdef HAVE_COMPLEX_H
22785 #include <complex.h>
22791 int (*ptr)() = (int (*)())csinhf;
22800 if ac_fn_c_try_link
"$LINENO"; then :
22801 gcc_cv_math_func_csinhf
=yes
22803 gcc_cv_math_func_csinhf
=no
22805 rm -f core conftest.err conftest.
$ac_objext \
22806 conftest
$ac_exeext conftest.
$ac_ext
22808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf" >&5
22809 $as_echo "$gcc_cv_math_func_csinhf" >&6; }
22810 if test $gcc_cv_math_func_csinhf = yes; then
22812 cat >>confdefs.h
<<_ACEOF
22813 #define HAVE_CSINHF 1
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinh" >&5
22822 $as_echo_n "checking for csinh... " >&6; }
22823 if ${gcc_cv_math_func_csinh+:} false
; then :
22824 $as_echo_n "(cached) " >&6
22826 if test x
$gcc_no_link = xyes
; then
22827 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22830 /* end confdefs.h. */
22832 #ifdef HAVE_COMPLEX_H
22833 #include <complex.h>
22839 int (*ptr)() = (int (*)())csinh;
22848 if ac_fn_c_try_link
"$LINENO"; then :
22849 gcc_cv_math_func_csinh
=yes
22851 gcc_cv_math_func_csinh
=no
22853 rm -f core conftest.err conftest.
$ac_objext \
22854 conftest
$ac_exeext conftest.
$ac_ext
22856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinh" >&5
22857 $as_echo "$gcc_cv_math_func_csinh" >&6; }
22858 if test $gcc_cv_math_func_csinh = yes; then
22860 cat >>confdefs.h
<<_ACEOF
22861 #define HAVE_CSINH 1
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhl" >&5
22870 $as_echo_n "checking for csinhl... " >&6; }
22871 if ${gcc_cv_math_func_csinhl+:} false
; then :
22872 $as_echo_n "(cached) " >&6
22874 if test x
$gcc_no_link = xyes
; then
22875 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22878 /* end confdefs.h. */
22880 #ifdef HAVE_COMPLEX_H
22881 #include <complex.h>
22887 int (*ptr)() = (int (*)())csinhl;
22896 if ac_fn_c_try_link
"$LINENO"; then :
22897 gcc_cv_math_func_csinhl
=yes
22899 gcc_cv_math_func_csinhl
=no
22901 rm -f core conftest.err conftest.
$ac_objext \
22902 conftest
$ac_exeext conftest.
$ac_ext
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhl" >&5
22905 $as_echo "$gcc_cv_math_func_csinhl" >&6; }
22906 if test $gcc_cv_math_func_csinhl = yes; then
22908 cat >>confdefs.h
<<_ACEOF
22909 #define HAVE_CSINHL 1
22917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf" >&5
22918 $as_echo_n "checking for sqrtf... " >&6; }
22919 if ${gcc_cv_math_func_sqrtf+:} false
; then :
22920 $as_echo_n "(cached) " >&6
22922 if test x
$gcc_no_link = xyes
; then
22923 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22926 /* end confdefs.h. */
22928 #ifdef HAVE_COMPLEX_H
22929 #include <complex.h>
22935 int (*ptr)() = (int (*)())sqrtf;
22944 if ac_fn_c_try_link
"$LINENO"; then :
22945 gcc_cv_math_func_sqrtf
=yes
22947 gcc_cv_math_func_sqrtf
=no
22949 rm -f core conftest.err conftest.
$ac_objext \
22950 conftest
$ac_exeext conftest.
$ac_ext
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf" >&5
22953 $as_echo "$gcc_cv_math_func_sqrtf" >&6; }
22954 if test $gcc_cv_math_func_sqrtf = yes; then
22956 cat >>confdefs.h
<<_ACEOF
22957 #define HAVE_SQRTF 1
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt" >&5
22966 $as_echo_n "checking for sqrt... " >&6; }
22967 if ${gcc_cv_math_func_sqrt+:} false
; then :
22968 $as_echo_n "(cached) " >&6
22970 if test x
$gcc_no_link = xyes
; then
22971 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
22974 /* end confdefs.h. */
22976 #ifdef HAVE_COMPLEX_H
22977 #include <complex.h>
22983 int (*ptr)() = (int (*)())sqrt;
22992 if ac_fn_c_try_link
"$LINENO"; then :
22993 gcc_cv_math_func_sqrt
=yes
22995 gcc_cv_math_func_sqrt
=no
22997 rm -f core conftest.err conftest.
$ac_objext \
22998 conftest
$ac_exeext conftest.
$ac_ext
23000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrt" >&5
23001 $as_echo "$gcc_cv_math_func_sqrt" >&6; }
23002 if test $gcc_cv_math_func_sqrt = yes; then
23004 cat >>confdefs.h
<<_ACEOF
23005 #define HAVE_SQRT 1
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl" >&5
23014 $as_echo_n "checking for sqrtl... " >&6; }
23015 if ${gcc_cv_math_func_sqrtl+:} false
; then :
23016 $as_echo_n "(cached) " >&6
23018 if test x
$gcc_no_link = xyes
; then
23019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23022 /* end confdefs.h. */
23024 #ifdef HAVE_COMPLEX_H
23025 #include <complex.h>
23031 int (*ptr)() = (int (*)())sqrtl;
23040 if ac_fn_c_try_link
"$LINENO"; then :
23041 gcc_cv_math_func_sqrtl
=yes
23043 gcc_cv_math_func_sqrtl
=no
23045 rm -f core conftest.err conftest.
$ac_objext \
23046 conftest
$ac_exeext conftest.
$ac_ext
23048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtl" >&5
23049 $as_echo "$gcc_cv_math_func_sqrtl" >&6; }
23050 if test $gcc_cv_math_func_sqrtl = yes; then
23052 cat >>confdefs.h
<<_ACEOF
23053 #define HAVE_SQRTL 1
23061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf" >&5
23062 $as_echo_n "checking for csqrtf... " >&6; }
23063 if ${gcc_cv_math_func_csqrtf+:} false
; then :
23064 $as_echo_n "(cached) " >&6
23066 if test x
$gcc_no_link = xyes
; then
23067 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23072 #ifdef HAVE_COMPLEX_H
23073 #include <complex.h>
23079 int (*ptr)() = (int (*)())csqrtf;
23088 if ac_fn_c_try_link
"$LINENO"; then :
23089 gcc_cv_math_func_csqrtf
=yes
23091 gcc_cv_math_func_csqrtf
=no
23093 rm -f core conftest.err conftest.
$ac_objext \
23094 conftest
$ac_exeext conftest.
$ac_ext
23096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf" >&5
23097 $as_echo "$gcc_cv_math_func_csqrtf" >&6; }
23098 if test $gcc_cv_math_func_csqrtf = yes; then
23100 cat >>confdefs.h
<<_ACEOF
23101 #define HAVE_CSQRTF 1
23109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrt" >&5
23110 $as_echo_n "checking for csqrt... " >&6; }
23111 if ${gcc_cv_math_func_csqrt+:} false
; then :
23112 $as_echo_n "(cached) " >&6
23114 if test x
$gcc_no_link = xyes
; then
23115 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23118 /* end confdefs.h. */
23120 #ifdef HAVE_COMPLEX_H
23121 #include <complex.h>
23127 int (*ptr)() = (int (*)())csqrt;
23136 if ac_fn_c_try_link
"$LINENO"; then :
23137 gcc_cv_math_func_csqrt
=yes
23139 gcc_cv_math_func_csqrt
=no
23141 rm -f core conftest.err conftest.
$ac_objext \
23142 conftest
$ac_exeext conftest.
$ac_ext
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrt" >&5
23145 $as_echo "$gcc_cv_math_func_csqrt" >&6; }
23146 if test $gcc_cv_math_func_csqrt = yes; then
23148 cat >>confdefs.h
<<_ACEOF
23149 #define HAVE_CSQRT 1
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtl" >&5
23158 $as_echo_n "checking for csqrtl... " >&6; }
23159 if ${gcc_cv_math_func_csqrtl+:} false
; then :
23160 $as_echo_n "(cached) " >&6
23162 if test x
$gcc_no_link = xyes
; then
23163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23166 /* end confdefs.h. */
23168 #ifdef HAVE_COMPLEX_H
23169 #include <complex.h>
23175 int (*ptr)() = (int (*)())csqrtl;
23184 if ac_fn_c_try_link
"$LINENO"; then :
23185 gcc_cv_math_func_csqrtl
=yes
23187 gcc_cv_math_func_csqrtl
=no
23189 rm -f core conftest.err conftest.
$ac_objext \
23190 conftest
$ac_exeext conftest.
$ac_ext
23192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtl" >&5
23193 $as_echo "$gcc_cv_math_func_csqrtl" >&6; }
23194 if test $gcc_cv_math_func_csqrtl = yes; then
23196 cat >>confdefs.h
<<_ACEOF
23197 #define HAVE_CSQRTL 1
23205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf" >&5
23206 $as_echo_n "checking for tanf... " >&6; }
23207 if ${gcc_cv_math_func_tanf+:} false
; then :
23208 $as_echo_n "(cached) " >&6
23210 if test x
$gcc_no_link = xyes
; then
23211 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23216 #ifdef HAVE_COMPLEX_H
23217 #include <complex.h>
23223 int (*ptr)() = (int (*)())tanf;
23232 if ac_fn_c_try_link
"$LINENO"; then :
23233 gcc_cv_math_func_tanf
=yes
23235 gcc_cv_math_func_tanf
=no
23237 rm -f core conftest.err conftest.
$ac_objext \
23238 conftest
$ac_exeext conftest.
$ac_ext
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf" >&5
23241 $as_echo "$gcc_cv_math_func_tanf" >&6; }
23242 if test $gcc_cv_math_func_tanf = yes; then
23244 cat >>confdefs.h
<<_ACEOF
23245 #define HAVE_TANF 1
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tan" >&5
23254 $as_echo_n "checking for tan... " >&6; }
23255 if ${gcc_cv_math_func_tan+:} false
; then :
23256 $as_echo_n "(cached) " >&6
23258 if test x
$gcc_no_link = xyes
; then
23259 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23262 /* end confdefs.h. */
23264 #ifdef HAVE_COMPLEX_H
23265 #include <complex.h>
23271 int (*ptr)() = (int (*)())tan;
23280 if ac_fn_c_try_link
"$LINENO"; then :
23281 gcc_cv_math_func_tan
=yes
23283 gcc_cv_math_func_tan
=no
23285 rm -f core conftest.err conftest.
$ac_objext \
23286 conftest
$ac_exeext conftest.
$ac_ext
23288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tan" >&5
23289 $as_echo "$gcc_cv_math_func_tan" >&6; }
23290 if test $gcc_cv_math_func_tan = yes; then
23292 cat >>confdefs.h
<<_ACEOF
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl" >&5
23302 $as_echo_n "checking for tanl... " >&6; }
23303 if ${gcc_cv_math_func_tanl+:} false
; then :
23304 $as_echo_n "(cached) " >&6
23306 if test x
$gcc_no_link = xyes
; then
23307 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23310 /* end confdefs.h. */
23312 #ifdef HAVE_COMPLEX_H
23313 #include <complex.h>
23319 int (*ptr)() = (int (*)())tanl;
23328 if ac_fn_c_try_link
"$LINENO"; then :
23329 gcc_cv_math_func_tanl
=yes
23331 gcc_cv_math_func_tanl
=no
23333 rm -f core conftest.err conftest.
$ac_objext \
23334 conftest
$ac_exeext conftest.
$ac_ext
23336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanl" >&5
23337 $as_echo "$gcc_cv_math_func_tanl" >&6; }
23338 if test $gcc_cv_math_func_tanl = yes; then
23340 cat >>confdefs.h
<<_ACEOF
23341 #define HAVE_TANL 1
23349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf" >&5
23350 $as_echo_n "checking for ctanf... " >&6; }
23351 if ${gcc_cv_math_func_ctanf+:} false
; then :
23352 $as_echo_n "(cached) " >&6
23354 if test x
$gcc_no_link = xyes
; then
23355 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23358 /* end confdefs.h. */
23360 #ifdef HAVE_COMPLEX_H
23361 #include <complex.h>
23367 int (*ptr)() = (int (*)())ctanf;
23376 if ac_fn_c_try_link
"$LINENO"; then :
23377 gcc_cv_math_func_ctanf
=yes
23379 gcc_cv_math_func_ctanf
=no
23381 rm -f core conftest.err conftest.
$ac_objext \
23382 conftest
$ac_exeext conftest.
$ac_ext
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf" >&5
23385 $as_echo "$gcc_cv_math_func_ctanf" >&6; }
23386 if test $gcc_cv_math_func_ctanf = yes; then
23388 cat >>confdefs.h
<<_ACEOF
23389 #define HAVE_CTANF 1
23397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctan" >&5
23398 $as_echo_n "checking for ctan... " >&6; }
23399 if ${gcc_cv_math_func_ctan+:} false
; then :
23400 $as_echo_n "(cached) " >&6
23402 if test x
$gcc_no_link = xyes
; then
23403 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23406 /* end confdefs.h. */
23408 #ifdef HAVE_COMPLEX_H
23409 #include <complex.h>
23415 int (*ptr)() = (int (*)())ctan;
23424 if ac_fn_c_try_link
"$LINENO"; then :
23425 gcc_cv_math_func_ctan
=yes
23427 gcc_cv_math_func_ctan
=no
23429 rm -f core conftest.err conftest.
$ac_objext \
23430 conftest
$ac_exeext conftest.
$ac_ext
23432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctan" >&5
23433 $as_echo "$gcc_cv_math_func_ctan" >&6; }
23434 if test $gcc_cv_math_func_ctan = yes; then
23436 cat >>confdefs.h
<<_ACEOF
23437 #define HAVE_CTAN 1
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanl" >&5
23446 $as_echo_n "checking for ctanl... " >&6; }
23447 if ${gcc_cv_math_func_ctanl+:} false
; then :
23448 $as_echo_n "(cached) " >&6
23450 if test x
$gcc_no_link = xyes
; then
23451 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23454 /* end confdefs.h. */
23456 #ifdef HAVE_COMPLEX_H
23457 #include <complex.h>
23463 int (*ptr)() = (int (*)())ctanl;
23472 if ac_fn_c_try_link
"$LINENO"; then :
23473 gcc_cv_math_func_ctanl
=yes
23475 gcc_cv_math_func_ctanl
=no
23477 rm -f core conftest.err conftest.
$ac_objext \
23478 conftest
$ac_exeext conftest.
$ac_ext
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanl" >&5
23481 $as_echo "$gcc_cv_math_func_ctanl" >&6; }
23482 if test $gcc_cv_math_func_ctanl = yes; then
23484 cat >>confdefs.h
<<_ACEOF
23485 #define HAVE_CTANL 1
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf" >&5
23494 $as_echo_n "checking for tanhf... " >&6; }
23495 if ${gcc_cv_math_func_tanhf+:} false
; then :
23496 $as_echo_n "(cached) " >&6
23498 if test x
$gcc_no_link = xyes
; then
23499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23502 /* end confdefs.h. */
23504 #ifdef HAVE_COMPLEX_H
23505 #include <complex.h>
23511 int (*ptr)() = (int (*)())tanhf;
23520 if ac_fn_c_try_link
"$LINENO"; then :
23521 gcc_cv_math_func_tanhf
=yes
23523 gcc_cv_math_func_tanhf
=no
23525 rm -f core conftest.err conftest.
$ac_objext \
23526 conftest
$ac_exeext conftest.
$ac_ext
23528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf" >&5
23529 $as_echo "$gcc_cv_math_func_tanhf" >&6; }
23530 if test $gcc_cv_math_func_tanhf = yes; then
23532 cat >>confdefs.h
<<_ACEOF
23533 #define HAVE_TANHF 1
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanh" >&5
23542 $as_echo_n "checking for tanh... " >&6; }
23543 if ${gcc_cv_math_func_tanh+:} false
; then :
23544 $as_echo_n "(cached) " >&6
23546 if test x
$gcc_no_link = xyes
; then
23547 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23549 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23550 /* end confdefs.h. */
23552 #ifdef HAVE_COMPLEX_H
23553 #include <complex.h>
23559 int (*ptr)() = (int (*)())tanh;
23568 if ac_fn_c_try_link
"$LINENO"; then :
23569 gcc_cv_math_func_tanh
=yes
23571 gcc_cv_math_func_tanh
=no
23573 rm -f core conftest.err conftest.
$ac_objext \
23574 conftest
$ac_exeext conftest.
$ac_ext
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanh" >&5
23577 $as_echo "$gcc_cv_math_func_tanh" >&6; }
23578 if test $gcc_cv_math_func_tanh = yes; then
23580 cat >>confdefs.h
<<_ACEOF
23581 #define HAVE_TANH 1
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl" >&5
23590 $as_echo_n "checking for tanhl... " >&6; }
23591 if ${gcc_cv_math_func_tanhl+:} false
; then :
23592 $as_echo_n "(cached) " >&6
23594 if test x
$gcc_no_link = xyes
; then
23595 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23598 /* end confdefs.h. */
23600 #ifdef HAVE_COMPLEX_H
23601 #include <complex.h>
23607 int (*ptr)() = (int (*)())tanhl;
23616 if ac_fn_c_try_link
"$LINENO"; then :
23617 gcc_cv_math_func_tanhl
=yes
23619 gcc_cv_math_func_tanhl
=no
23621 rm -f core conftest.err conftest.
$ac_objext \
23622 conftest
$ac_exeext conftest.
$ac_ext
23624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhl" >&5
23625 $as_echo "$gcc_cv_math_func_tanhl" >&6; }
23626 if test $gcc_cv_math_func_tanhl = yes; then
23628 cat >>confdefs.h
<<_ACEOF
23629 #define HAVE_TANHL 1
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf" >&5
23638 $as_echo_n "checking for ctanhf... " >&6; }
23639 if ${gcc_cv_math_func_ctanhf+:} false
; then :
23640 $as_echo_n "(cached) " >&6
23642 if test x
$gcc_no_link = xyes
; then
23643 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23646 /* end confdefs.h. */
23648 #ifdef HAVE_COMPLEX_H
23649 #include <complex.h>
23655 int (*ptr)() = (int (*)())ctanhf;
23664 if ac_fn_c_try_link
"$LINENO"; then :
23665 gcc_cv_math_func_ctanhf
=yes
23667 gcc_cv_math_func_ctanhf
=no
23669 rm -f core conftest.err conftest.
$ac_objext \
23670 conftest
$ac_exeext conftest.
$ac_ext
23672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf" >&5
23673 $as_echo "$gcc_cv_math_func_ctanhf" >&6; }
23674 if test $gcc_cv_math_func_ctanhf = yes; then
23676 cat >>confdefs.h
<<_ACEOF
23677 #define HAVE_CTANHF 1
23685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanh" >&5
23686 $as_echo_n "checking for ctanh... " >&6; }
23687 if ${gcc_cv_math_func_ctanh+:} false
; then :
23688 $as_echo_n "(cached) " >&6
23690 if test x
$gcc_no_link = xyes
; then
23691 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23694 /* end confdefs.h. */
23696 #ifdef HAVE_COMPLEX_H
23697 #include <complex.h>
23703 int (*ptr)() = (int (*)())ctanh;
23712 if ac_fn_c_try_link
"$LINENO"; then :
23713 gcc_cv_math_func_ctanh
=yes
23715 gcc_cv_math_func_ctanh
=no
23717 rm -f core conftest.err conftest.
$ac_objext \
23718 conftest
$ac_exeext conftest.
$ac_ext
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanh" >&5
23721 $as_echo "$gcc_cv_math_func_ctanh" >&6; }
23722 if test $gcc_cv_math_func_ctanh = yes; then
23724 cat >>confdefs.h
<<_ACEOF
23725 #define HAVE_CTANH 1
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhl" >&5
23734 $as_echo_n "checking for ctanhl... " >&6; }
23735 if ${gcc_cv_math_func_ctanhl+:} false
; then :
23736 $as_echo_n "(cached) " >&6
23738 if test x
$gcc_no_link = xyes
; then
23739 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23742 /* end confdefs.h. */
23744 #ifdef HAVE_COMPLEX_H
23745 #include <complex.h>
23751 int (*ptr)() = (int (*)())ctanhl;
23760 if ac_fn_c_try_link
"$LINENO"; then :
23761 gcc_cv_math_func_ctanhl
=yes
23763 gcc_cv_math_func_ctanhl
=no
23765 rm -f core conftest.err conftest.
$ac_objext \
23766 conftest
$ac_exeext conftest.
$ac_ext
23768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhl" >&5
23769 $as_echo "$gcc_cv_math_func_ctanhl" >&6; }
23770 if test $gcc_cv_math_func_ctanhl = yes; then
23772 cat >>confdefs.h
<<_ACEOF
23773 #define HAVE_CTANHL 1
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf" >&5
23782 $as_echo_n "checking for truncf... " >&6; }
23783 if ${gcc_cv_math_func_truncf+:} false
; then :
23784 $as_echo_n "(cached) " >&6
23786 if test x
$gcc_no_link = xyes
; then
23787 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23790 /* end confdefs.h. */
23792 #ifdef HAVE_COMPLEX_H
23793 #include <complex.h>
23799 int (*ptr)() = (int (*)())truncf;
23808 if ac_fn_c_try_link
"$LINENO"; then :
23809 gcc_cv_math_func_truncf
=yes
23811 gcc_cv_math_func_truncf
=no
23813 rm -f core conftest.err conftest.
$ac_objext \
23814 conftest
$ac_exeext conftest.
$ac_ext
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf" >&5
23817 $as_echo "$gcc_cv_math_func_truncf" >&6; }
23818 if test $gcc_cv_math_func_truncf = yes; then
23820 cat >>confdefs.h
<<_ACEOF
23821 #define HAVE_TRUNCF 1
23829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for trunc" >&5
23830 $as_echo_n "checking for trunc... " >&6; }
23831 if ${gcc_cv_math_func_trunc+:} false
; then :
23832 $as_echo_n "(cached) " >&6
23834 if test x
$gcc_no_link = xyes
; then
23835 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h. */
23840 #ifdef HAVE_COMPLEX_H
23841 #include <complex.h>
23847 int (*ptr)() = (int (*)())trunc;
23856 if ac_fn_c_try_link
"$LINENO"; then :
23857 gcc_cv_math_func_trunc
=yes
23859 gcc_cv_math_func_trunc
=no
23861 rm -f core conftest.err conftest.
$ac_objext \
23862 conftest
$ac_exeext conftest.
$ac_ext
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_trunc" >&5
23865 $as_echo "$gcc_cv_math_func_trunc" >&6; }
23866 if test $gcc_cv_math_func_trunc = yes; then
23868 cat >>confdefs.h
<<_ACEOF
23869 #define HAVE_TRUNC 1
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncl" >&5
23878 $as_echo_n "checking for truncl... " >&6; }
23879 if ${gcc_cv_math_func_truncl+:} false
; then :
23880 $as_echo_n "(cached) " >&6
23882 if test x
$gcc_no_link = xyes
; then
23883 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23885 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23886 /* end confdefs.h. */
23888 #ifdef HAVE_COMPLEX_H
23889 #include <complex.h>
23895 int (*ptr)() = (int (*)())truncl;
23904 if ac_fn_c_try_link
"$LINENO"; then :
23905 gcc_cv_math_func_truncl
=yes
23907 gcc_cv_math_func_truncl
=no
23909 rm -f core conftest.err conftest.
$ac_objext \
23910 conftest
$ac_exeext conftest.
$ac_ext
23912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncl" >&5
23913 $as_echo "$gcc_cv_math_func_truncl" >&6; }
23914 if test $gcc_cv_math_func_truncl = yes; then
23916 cat >>confdefs.h
<<_ACEOF
23917 #define HAVE_TRUNCL 1
23925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff" >&5
23926 $as_echo_n "checking for erff... " >&6; }
23927 if ${gcc_cv_math_func_erff+:} false
; then :
23928 $as_echo_n "(cached) " >&6
23930 if test x
$gcc_no_link = xyes
; then
23931 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23934 /* end confdefs.h. */
23936 #ifdef HAVE_COMPLEX_H
23937 #include <complex.h>
23943 int (*ptr)() = (int (*)())erff;
23952 if ac_fn_c_try_link
"$LINENO"; then :
23953 gcc_cv_math_func_erff
=yes
23955 gcc_cv_math_func_erff
=no
23957 rm -f core conftest.err conftest.
$ac_objext \
23958 conftest
$ac_exeext conftest.
$ac_ext
23960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff" >&5
23961 $as_echo "$gcc_cv_math_func_erff" >&6; }
23962 if test $gcc_cv_math_func_erff = yes; then
23964 cat >>confdefs.h
<<_ACEOF
23965 #define HAVE_ERFF 1
23973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erf" >&5
23974 $as_echo_n "checking for erf... " >&6; }
23975 if ${gcc_cv_math_func_erf+:} false
; then :
23976 $as_echo_n "(cached) " >&6
23978 if test x
$gcc_no_link = xyes
; then
23979 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
23981 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
23982 /* end confdefs.h. */
23984 #ifdef HAVE_COMPLEX_H
23985 #include <complex.h>
23991 int (*ptr)() = (int (*)())erf;
24000 if ac_fn_c_try_link
"$LINENO"; then :
24001 gcc_cv_math_func_erf
=yes
24003 gcc_cv_math_func_erf
=no
24005 rm -f core conftest.err conftest.
$ac_objext \
24006 conftest
$ac_exeext conftest.
$ac_ext
24008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erf" >&5
24009 $as_echo "$gcc_cv_math_func_erf" >&6; }
24010 if test $gcc_cv_math_func_erf = yes; then
24012 cat >>confdefs.h
<<_ACEOF
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf" >&5
24022 $as_echo_n "checking for erfcf... " >&6; }
24023 if ${gcc_cv_math_func_erfcf+:} false
; then :
24024 $as_echo_n "(cached) " >&6
24026 if test x
$gcc_no_link = xyes
; then
24027 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h. */
24032 #ifdef HAVE_COMPLEX_H
24033 #include <complex.h>
24039 int (*ptr)() = (int (*)())erfcf;
24048 if ac_fn_c_try_link
"$LINENO"; then :
24049 gcc_cv_math_func_erfcf
=yes
24051 gcc_cv_math_func_erfcf
=no
24053 rm -f core conftest.err conftest.
$ac_objext \
24054 conftest
$ac_exeext conftest.
$ac_ext
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf" >&5
24057 $as_echo "$gcc_cv_math_func_erfcf" >&6; }
24058 if test $gcc_cv_math_func_erfcf = yes; then
24060 cat >>confdefs.h
<<_ACEOF
24061 #define HAVE_ERFCF 1
24069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfc" >&5
24070 $as_echo_n "checking for erfc... " >&6; }
24071 if ${gcc_cv_math_func_erfc+:} false
; then :
24072 $as_echo_n "(cached) " >&6
24074 if test x
$gcc_no_link = xyes
; then
24075 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24080 #ifdef HAVE_COMPLEX_H
24081 #include <complex.h>
24087 int (*ptr)() = (int (*)())erfc;
24096 if ac_fn_c_try_link
"$LINENO"; then :
24097 gcc_cv_math_func_erfc
=yes
24099 gcc_cv_math_func_erfc
=no
24101 rm -f core conftest.err conftest.
$ac_objext \
24102 conftest
$ac_exeext conftest.
$ac_ext
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfc" >&5
24105 $as_echo "$gcc_cv_math_func_erfc" >&6; }
24106 if test $gcc_cv_math_func_erfc = yes; then
24108 cat >>confdefs.h
<<_ACEOF
24109 #define HAVE_ERFC 1
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcl" >&5
24118 $as_echo_n "checking for erfcl... " >&6; }
24119 if ${gcc_cv_math_func_erfcl+:} false
; then :
24120 $as_echo_n "(cached) " >&6
24122 if test x
$gcc_no_link = xyes
; then
24123 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24126 /* end confdefs.h. */
24128 #ifdef HAVE_COMPLEX_H
24129 #include <complex.h>
24135 int (*ptr)() = (int (*)())erfcl;
24144 if ac_fn_c_try_link
"$LINENO"; then :
24145 gcc_cv_math_func_erfcl
=yes
24147 gcc_cv_math_func_erfcl
=no
24149 rm -f core conftest.err conftest.
$ac_objext \
24150 conftest
$ac_exeext conftest.
$ac_ext
24152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcl" >&5
24153 $as_echo "$gcc_cv_math_func_erfcl" >&6; }
24154 if test $gcc_cv_math_func_erfcl = yes; then
24156 cat >>confdefs.h
<<_ACEOF
24157 #define HAVE_ERFCL 1
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f" >&5
24166 $as_echo_n "checking for j0f... " >&6; }
24167 if ${gcc_cv_math_func_j0f+:} false
; then :
24168 $as_echo_n "(cached) " >&6
24170 if test x
$gcc_no_link = xyes
; then
24171 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24174 /* end confdefs.h. */
24176 #ifdef HAVE_COMPLEX_H
24177 #include <complex.h>
24183 int (*ptr)() = (int (*)())j0f;
24192 if ac_fn_c_try_link
"$LINENO"; then :
24193 gcc_cv_math_func_j0f
=yes
24195 gcc_cv_math_func_j0f
=no
24197 rm -f core conftest.err conftest.
$ac_objext \
24198 conftest
$ac_exeext conftest.
$ac_ext
24200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f" >&5
24201 $as_echo "$gcc_cv_math_func_j0f" >&6; }
24202 if test $gcc_cv_math_func_j0f = yes; then
24204 cat >>confdefs.h
<<_ACEOF
24213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0" >&5
24214 $as_echo_n "checking for j0... " >&6; }
24215 if ${gcc_cv_math_func_j0+:} false
; then :
24216 $as_echo_n "(cached) " >&6
24218 if test x
$gcc_no_link = xyes
; then
24219 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24222 /* end confdefs.h. */
24224 #ifdef HAVE_COMPLEX_H
24225 #include <complex.h>
24231 int (*ptr)() = (int (*)())j0;
24240 if ac_fn_c_try_link
"$LINENO"; then :
24241 gcc_cv_math_func_j0
=yes
24243 gcc_cv_math_func_j0
=no
24245 rm -f core conftest.err conftest.
$ac_objext \
24246 conftest
$ac_exeext conftest.
$ac_ext
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0" >&5
24249 $as_echo "$gcc_cv_math_func_j0" >&6; }
24250 if test $gcc_cv_math_func_j0 = yes; then
24252 cat >>confdefs.h
<<_ACEOF
24261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f" >&5
24262 $as_echo_n "checking for j1f... " >&6; }
24263 if ${gcc_cv_math_func_j1f+:} false
; then :
24264 $as_echo_n "(cached) " >&6
24266 if test x
$gcc_no_link = xyes
; then
24267 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24270 /* end confdefs.h. */
24272 #ifdef HAVE_COMPLEX_H
24273 #include <complex.h>
24279 int (*ptr)() = (int (*)())j1f;
24288 if ac_fn_c_try_link
"$LINENO"; then :
24289 gcc_cv_math_func_j1f
=yes
24291 gcc_cv_math_func_j1f
=no
24293 rm -f core conftest.err conftest.
$ac_objext \
24294 conftest
$ac_exeext conftest.
$ac_ext
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f" >&5
24297 $as_echo "$gcc_cv_math_func_j1f" >&6; }
24298 if test $gcc_cv_math_func_j1f = yes; then
24300 cat >>confdefs.h
<<_ACEOF
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1" >&5
24310 $as_echo_n "checking for j1... " >&6; }
24311 if ${gcc_cv_math_func_j1+:} false
; then :
24312 $as_echo_n "(cached) " >&6
24314 if test x
$gcc_no_link = xyes
; then
24315 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24318 /* end confdefs.h. */
24320 #ifdef HAVE_COMPLEX_H
24321 #include <complex.h>
24327 int (*ptr)() = (int (*)())j1;
24336 if ac_fn_c_try_link
"$LINENO"; then :
24337 gcc_cv_math_func_j1
=yes
24339 gcc_cv_math_func_j1
=no
24341 rm -f core conftest.err conftest.
$ac_objext \
24342 conftest
$ac_exeext conftest.
$ac_ext
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1" >&5
24345 $as_echo "$gcc_cv_math_func_j1" >&6; }
24346 if test $gcc_cv_math_func_j1 = yes; then
24348 cat >>confdefs.h
<<_ACEOF
24357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf" >&5
24358 $as_echo_n "checking for jnf... " >&6; }
24359 if ${gcc_cv_math_func_jnf+:} false
; then :
24360 $as_echo_n "(cached) " >&6
24362 if test x
$gcc_no_link = xyes
; then
24363 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24366 /* end confdefs.h. */
24368 #ifdef HAVE_COMPLEX_H
24369 #include <complex.h>
24375 int (*ptr)() = (int (*)())jnf;
24384 if ac_fn_c_try_link
"$LINENO"; then :
24385 gcc_cv_math_func_jnf
=yes
24387 gcc_cv_math_func_jnf
=no
24389 rm -f core conftest.err conftest.
$ac_objext \
24390 conftest
$ac_exeext conftest.
$ac_ext
24392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf" >&5
24393 $as_echo "$gcc_cv_math_func_jnf" >&6; }
24394 if test $gcc_cv_math_func_jnf = yes; then
24396 cat >>confdefs.h
<<_ACEOF
24405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jn" >&5
24406 $as_echo_n "checking for jn... " >&6; }
24407 if ${gcc_cv_math_func_jn+:} false
; then :
24408 $as_echo_n "(cached) " >&6
24410 if test x
$gcc_no_link = xyes
; then
24411 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24414 /* end confdefs.h. */
24416 #ifdef HAVE_COMPLEX_H
24417 #include <complex.h>
24423 int (*ptr)() = (int (*)())jn;
24432 if ac_fn_c_try_link
"$LINENO"; then :
24433 gcc_cv_math_func_jn
=yes
24435 gcc_cv_math_func_jn
=no
24437 rm -f core conftest.err conftest.
$ac_objext \
24438 conftest
$ac_exeext conftest.
$ac_ext
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jn" >&5
24441 $as_echo "$gcc_cv_math_func_jn" >&6; }
24442 if test $gcc_cv_math_func_jn = yes; then
24444 cat >>confdefs.h
<<_ACEOF
24453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnl" >&5
24454 $as_echo_n "checking for jnl... " >&6; }
24455 if ${gcc_cv_math_func_jnl+:} false
; then :
24456 $as_echo_n "(cached) " >&6
24458 if test x
$gcc_no_link = xyes
; then
24459 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24462 /* end confdefs.h. */
24464 #ifdef HAVE_COMPLEX_H
24465 #include <complex.h>
24471 int (*ptr)() = (int (*)())jnl;
24480 if ac_fn_c_try_link
"$LINENO"; then :
24481 gcc_cv_math_func_jnl
=yes
24483 gcc_cv_math_func_jnl
=no
24485 rm -f core conftest.err conftest.
$ac_objext \
24486 conftest
$ac_exeext conftest.
$ac_ext
24488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnl" >&5
24489 $as_echo "$gcc_cv_math_func_jnl" >&6; }
24490 if test $gcc_cv_math_func_jnl = yes; then
24492 cat >>confdefs.h
<<_ACEOF
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f" >&5
24502 $as_echo_n "checking for y0f... " >&6; }
24503 if ${gcc_cv_math_func_y0f+:} false
; then :
24504 $as_echo_n "(cached) " >&6
24506 if test x
$gcc_no_link = xyes
; then
24507 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24510 /* end confdefs.h. */
24512 #ifdef HAVE_COMPLEX_H
24513 #include <complex.h>
24519 int (*ptr)() = (int (*)())y0f;
24528 if ac_fn_c_try_link
"$LINENO"; then :
24529 gcc_cv_math_func_y0f
=yes
24531 gcc_cv_math_func_y0f
=no
24533 rm -f core conftest.err conftest.
$ac_objext \
24534 conftest
$ac_exeext conftest.
$ac_ext
24536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f" >&5
24537 $as_echo "$gcc_cv_math_func_y0f" >&6; }
24538 if test $gcc_cv_math_func_y0f = yes; then
24540 cat >>confdefs.h
<<_ACEOF
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0" >&5
24550 $as_echo_n "checking for y0... " >&6; }
24551 if ${gcc_cv_math_func_y0+:} false
; then :
24552 $as_echo_n "(cached) " >&6
24554 if test x
$gcc_no_link = xyes
; then
24555 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24558 /* end confdefs.h. */
24560 #ifdef HAVE_COMPLEX_H
24561 #include <complex.h>
24567 int (*ptr)() = (int (*)())y0;
24576 if ac_fn_c_try_link
"$LINENO"; then :
24577 gcc_cv_math_func_y0
=yes
24579 gcc_cv_math_func_y0
=no
24581 rm -f core conftest.err conftest.
$ac_objext \
24582 conftest
$ac_exeext conftest.
$ac_ext
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0" >&5
24585 $as_echo "$gcc_cv_math_func_y0" >&6; }
24586 if test $gcc_cv_math_func_y0 = yes; then
24588 cat >>confdefs.h
<<_ACEOF
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f" >&5
24598 $as_echo_n "checking for y1f... " >&6; }
24599 if ${gcc_cv_math_func_y1f+:} false
; then :
24600 $as_echo_n "(cached) " >&6
24602 if test x
$gcc_no_link = xyes
; then
24603 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24605 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24606 /* end confdefs.h. */
24608 #ifdef HAVE_COMPLEX_H
24609 #include <complex.h>
24615 int (*ptr)() = (int (*)())y1f;
24624 if ac_fn_c_try_link
"$LINENO"; then :
24625 gcc_cv_math_func_y1f
=yes
24627 gcc_cv_math_func_y1f
=no
24629 rm -f core conftest.err conftest.
$ac_objext \
24630 conftest
$ac_exeext conftest.
$ac_ext
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f" >&5
24633 $as_echo "$gcc_cv_math_func_y1f" >&6; }
24634 if test $gcc_cv_math_func_y1f = yes; then
24636 cat >>confdefs.h
<<_ACEOF
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1" >&5
24646 $as_echo_n "checking for y1... " >&6; }
24647 if ${gcc_cv_math_func_y1+:} false
; then :
24648 $as_echo_n "(cached) " >&6
24650 if test x
$gcc_no_link = xyes
; then
24651 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24654 /* end confdefs.h. */
24656 #ifdef HAVE_COMPLEX_H
24657 #include <complex.h>
24663 int (*ptr)() = (int (*)())y1;
24672 if ac_fn_c_try_link
"$LINENO"; then :
24673 gcc_cv_math_func_y1
=yes
24675 gcc_cv_math_func_y1
=no
24677 rm -f core conftest.err conftest.
$ac_objext \
24678 conftest
$ac_exeext conftest.
$ac_ext
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1" >&5
24681 $as_echo "$gcc_cv_math_func_y1" >&6; }
24682 if test $gcc_cv_math_func_y1 = yes; then
24684 cat >>confdefs.h
<<_ACEOF
24693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf" >&5
24694 $as_echo_n "checking for ynf... " >&6; }
24695 if ${gcc_cv_math_func_ynf+:} false
; then :
24696 $as_echo_n "(cached) " >&6
24698 if test x
$gcc_no_link = xyes
; then
24699 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24701 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24702 /* end confdefs.h. */
24704 #ifdef HAVE_COMPLEX_H
24705 #include <complex.h>
24711 int (*ptr)() = (int (*)())ynf;
24720 if ac_fn_c_try_link
"$LINENO"; then :
24721 gcc_cv_math_func_ynf
=yes
24723 gcc_cv_math_func_ynf
=no
24725 rm -f core conftest.err conftest.
$ac_objext \
24726 conftest
$ac_exeext conftest.
$ac_ext
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf" >&5
24729 $as_echo "$gcc_cv_math_func_ynf" >&6; }
24730 if test $gcc_cv_math_func_ynf = yes; then
24732 cat >>confdefs.h
<<_ACEOF
24741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for yn" >&5
24742 $as_echo_n "checking for yn... " >&6; }
24743 if ${gcc_cv_math_func_yn+:} false
; then :
24744 $as_echo_n "(cached) " >&6
24746 if test x
$gcc_no_link = xyes
; then
24747 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24750 /* end confdefs.h. */
24752 #ifdef HAVE_COMPLEX_H
24753 #include <complex.h>
24759 int (*ptr)() = (int (*)())yn;
24768 if ac_fn_c_try_link
"$LINENO"; then :
24769 gcc_cv_math_func_yn
=yes
24771 gcc_cv_math_func_yn
=no
24773 rm -f core conftest.err conftest.
$ac_objext \
24774 conftest
$ac_exeext conftest.
$ac_ext
24776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_yn" >&5
24777 $as_echo "$gcc_cv_math_func_yn" >&6; }
24778 if test $gcc_cv_math_func_yn = yes; then
24780 cat >>confdefs.h
<<_ACEOF
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynl" >&5
24790 $as_echo_n "checking for ynl... " >&6; }
24791 if ${gcc_cv_math_func_ynl+:} false
; then :
24792 $as_echo_n "(cached) " >&6
24794 if test x
$gcc_no_link = xyes
; then
24795 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24798 /* end confdefs.h. */
24800 #ifdef HAVE_COMPLEX_H
24801 #include <complex.h>
24807 int (*ptr)() = (int (*)())ynl;
24816 if ac_fn_c_try_link
"$LINENO"; then :
24817 gcc_cv_math_func_ynl
=yes
24819 gcc_cv_math_func_ynl
=no
24821 rm -f core conftest.err conftest.
$ac_objext \
24822 conftest
$ac_exeext conftest.
$ac_ext
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynl" >&5
24825 $as_echo "$gcc_cv_math_func_ynl" >&6; }
24826 if test $gcc_cv_math_func_ynl = yes; then
24828 cat >>confdefs.h
<<_ACEOF
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgamma" >&5
24838 $as_echo_n "checking for tgamma... " >&6; }
24839 if ${gcc_cv_math_func_tgamma+:} false
; then :
24840 $as_echo_n "(cached) " >&6
24842 if test x
$gcc_no_link = xyes
; then
24843 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24846 /* end confdefs.h. */
24848 #ifdef HAVE_COMPLEX_H
24849 #include <complex.h>
24855 int (*ptr)() = (int (*)())tgamma;
24864 if ac_fn_c_try_link
"$LINENO"; then :
24865 gcc_cv_math_func_tgamma
=yes
24867 gcc_cv_math_func_tgamma
=no
24869 rm -f core conftest.err conftest.
$ac_objext \
24870 conftest
$ac_exeext conftest.
$ac_ext
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgamma" >&5
24873 $as_echo "$gcc_cv_math_func_tgamma" >&6; }
24874 if test $gcc_cv_math_func_tgamma = yes; then
24876 cat >>confdefs.h
<<_ACEOF
24877 #define HAVE_TGAMMA 1
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf" >&5
24886 $as_echo_n "checking for tgammaf... " >&6; }
24887 if ${gcc_cv_math_func_tgammaf+:} false
; then :
24888 $as_echo_n "(cached) " >&6
24890 if test x
$gcc_no_link = xyes
; then
24891 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h. */
24896 #ifdef HAVE_COMPLEX_H
24897 #include <complex.h>
24903 int (*ptr)() = (int (*)())tgammaf;
24912 if ac_fn_c_try_link
"$LINENO"; then :
24913 gcc_cv_math_func_tgammaf
=yes
24915 gcc_cv_math_func_tgammaf
=no
24917 rm -f core conftest.err conftest.
$ac_objext \
24918 conftest
$ac_exeext conftest.
$ac_ext
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf" >&5
24921 $as_echo "$gcc_cv_math_func_tgammaf" >&6; }
24922 if test $gcc_cv_math_func_tgammaf = yes; then
24924 cat >>confdefs.h
<<_ACEOF
24925 #define HAVE_TGAMMAF 1
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgamma" >&5
24934 $as_echo_n "checking for lgamma... " >&6; }
24935 if ${gcc_cv_math_func_lgamma+:} false
; then :
24936 $as_echo_n "(cached) " >&6
24938 if test x
$gcc_no_link = xyes
; then
24939 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24942 /* end confdefs.h. */
24944 #ifdef HAVE_COMPLEX_H
24945 #include <complex.h>
24951 int (*ptr)() = (int (*)())lgamma;
24960 if ac_fn_c_try_link
"$LINENO"; then :
24961 gcc_cv_math_func_lgamma
=yes
24963 gcc_cv_math_func_lgamma
=no
24965 rm -f core conftest.err conftest.
$ac_objext \
24966 conftest
$ac_exeext conftest.
$ac_ext
24968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgamma" >&5
24969 $as_echo "$gcc_cv_math_func_lgamma" >&6; }
24970 if test $gcc_cv_math_func_lgamma = yes; then
24972 cat >>confdefs.h
<<_ACEOF
24973 #define HAVE_LGAMMA 1
24981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf" >&5
24982 $as_echo_n "checking for lgammaf... " >&6; }
24983 if ${gcc_cv_math_func_lgammaf+:} false
; then :
24984 $as_echo_n "(cached) " >&6
24986 if test x
$gcc_no_link = xyes
; then
24987 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
24989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
24990 /* end confdefs.h. */
24992 #ifdef HAVE_COMPLEX_H
24993 #include <complex.h>
24999 int (*ptr)() = (int (*)())lgammaf;
25008 if ac_fn_c_try_link
"$LINENO"; then :
25009 gcc_cv_math_func_lgammaf
=yes
25011 gcc_cv_math_func_lgammaf
=no
25013 rm -f core conftest.err conftest.
$ac_objext \
25014 conftest
$ac_exeext conftest.
$ac_ext
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf" >&5
25017 $as_echo "$gcc_cv_math_func_lgammaf" >&6; }
25018 if test $gcc_cv_math_func_lgammaf = yes; then
25020 cat >>confdefs.h
<<_ACEOF
25021 #define HAVE_LGAMMAF 1
25027 # Check for GFORTRAN_C99_1.1 funcs
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacos" >&5
25032 $as_echo_n "checking for cacos... " >&6; }
25033 if ${gcc_cv_math_func_cacos+:} false
; then :
25034 $as_echo_n "(cached) " >&6
25036 if test x
$gcc_no_link = xyes
; then
25037 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25040 /* end confdefs.h. */
25042 #ifdef HAVE_COMPLEX_H
25043 #include <complex.h>
25049 int (*ptr)() = (int (*)())cacos;
25058 if ac_fn_c_try_link
"$LINENO"; then :
25059 gcc_cv_math_func_cacos
=yes
25061 gcc_cv_math_func_cacos
=no
25063 rm -f core conftest.err conftest.
$ac_objext \
25064 conftest
$ac_exeext conftest.
$ac_ext
25066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacos" >&5
25067 $as_echo "$gcc_cv_math_func_cacos" >&6; }
25068 if test $gcc_cv_math_func_cacos = yes; then
25070 cat >>confdefs.h
<<_ACEOF
25071 #define HAVE_CACOS 1
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf" >&5
25080 $as_echo_n "checking for cacosf... " >&6; }
25081 if ${gcc_cv_math_func_cacosf+:} false
; then :
25082 $as_echo_n "(cached) " >&6
25084 if test x
$gcc_no_link = xyes
; then
25085 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25088 /* end confdefs.h. */
25090 #ifdef HAVE_COMPLEX_H
25091 #include <complex.h>
25097 int (*ptr)() = (int (*)())cacosf;
25106 if ac_fn_c_try_link
"$LINENO"; then :
25107 gcc_cv_math_func_cacosf
=yes
25109 gcc_cv_math_func_cacosf
=no
25111 rm -f core conftest.err conftest.
$ac_objext \
25112 conftest
$ac_exeext conftest.
$ac_ext
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf" >&5
25115 $as_echo "$gcc_cv_math_func_cacosf" >&6; }
25116 if test $gcc_cv_math_func_cacosf = yes; then
25118 cat >>confdefs.h
<<_ACEOF
25119 #define HAVE_CACOSF 1
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosh" >&5
25128 $as_echo_n "checking for cacosh... " >&6; }
25129 if ${gcc_cv_math_func_cacosh+:} false
; then :
25130 $as_echo_n "(cached) " >&6
25132 if test x
$gcc_no_link = xyes
; then
25133 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25138 #ifdef HAVE_COMPLEX_H
25139 #include <complex.h>
25145 int (*ptr)() = (int (*)())cacosh;
25154 if ac_fn_c_try_link
"$LINENO"; then :
25155 gcc_cv_math_func_cacosh
=yes
25157 gcc_cv_math_func_cacosh
=no
25159 rm -f core conftest.err conftest.
$ac_objext \
25160 conftest
$ac_exeext conftest.
$ac_ext
25162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosh" >&5
25163 $as_echo "$gcc_cv_math_func_cacosh" >&6; }
25164 if test $gcc_cv_math_func_cacosh = yes; then
25166 cat >>confdefs.h
<<_ACEOF
25167 #define HAVE_CACOSH 1
25175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf" >&5
25176 $as_echo_n "checking for cacoshf... " >&6; }
25177 if ${gcc_cv_math_func_cacoshf+:} false
; then :
25178 $as_echo_n "(cached) " >&6
25180 if test x
$gcc_no_link = xyes
; then
25181 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25184 /* end confdefs.h. */
25186 #ifdef HAVE_COMPLEX_H
25187 #include <complex.h>
25193 int (*ptr)() = (int (*)())cacoshf;
25202 if ac_fn_c_try_link
"$LINENO"; then :
25203 gcc_cv_math_func_cacoshf
=yes
25205 gcc_cv_math_func_cacoshf
=no
25207 rm -f core conftest.err conftest.
$ac_objext \
25208 conftest
$ac_exeext conftest.
$ac_ext
25210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf" >&5
25211 $as_echo "$gcc_cv_math_func_cacoshf" >&6; }
25212 if test $gcc_cv_math_func_cacoshf = yes; then
25214 cat >>confdefs.h
<<_ACEOF
25215 #define HAVE_CACOSHF 1
25223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshl" >&5
25224 $as_echo_n "checking for cacoshl... " >&6; }
25225 if ${gcc_cv_math_func_cacoshl+:} false
; then :
25226 $as_echo_n "(cached) " >&6
25228 if test x
$gcc_no_link = xyes
; then
25229 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25234 #ifdef HAVE_COMPLEX_H
25235 #include <complex.h>
25241 int (*ptr)() = (int (*)())cacoshl;
25250 if ac_fn_c_try_link
"$LINENO"; then :
25251 gcc_cv_math_func_cacoshl
=yes
25253 gcc_cv_math_func_cacoshl
=no
25255 rm -f core conftest.err conftest.
$ac_objext \
25256 conftest
$ac_exeext conftest.
$ac_ext
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshl" >&5
25259 $as_echo "$gcc_cv_math_func_cacoshl" >&6; }
25260 if test $gcc_cv_math_func_cacoshl = yes; then
25262 cat >>confdefs.h
<<_ACEOF
25263 #define HAVE_CACOSHL 1
25271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosl" >&5
25272 $as_echo_n "checking for cacosl... " >&6; }
25273 if ${gcc_cv_math_func_cacosl+:} false
; then :
25274 $as_echo_n "(cached) " >&6
25276 if test x
$gcc_no_link = xyes
; then
25277 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25280 /* end confdefs.h. */
25282 #ifdef HAVE_COMPLEX_H
25283 #include <complex.h>
25289 int (*ptr)() = (int (*)())cacosl;
25298 if ac_fn_c_try_link
"$LINENO"; then :
25299 gcc_cv_math_func_cacosl
=yes
25301 gcc_cv_math_func_cacosl
=no
25303 rm -f core conftest.err conftest.
$ac_objext \
25304 conftest
$ac_exeext conftest.
$ac_ext
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosl" >&5
25307 $as_echo "$gcc_cv_math_func_cacosl" >&6; }
25308 if test $gcc_cv_math_func_cacosl = yes; then
25310 cat >>confdefs.h
<<_ACEOF
25311 #define HAVE_CACOSL 1
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casin" >&5
25320 $as_echo_n "checking for casin... " >&6; }
25321 if ${gcc_cv_math_func_casin+:} false
; then :
25322 $as_echo_n "(cached) " >&6
25324 if test x
$gcc_no_link = xyes
; then
25325 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25328 /* end confdefs.h. */
25330 #ifdef HAVE_COMPLEX_H
25331 #include <complex.h>
25337 int (*ptr)() = (int (*)())casin;
25346 if ac_fn_c_try_link
"$LINENO"; then :
25347 gcc_cv_math_func_casin
=yes
25349 gcc_cv_math_func_casin
=no
25351 rm -f core conftest.err conftest.
$ac_objext \
25352 conftest
$ac_exeext conftest.
$ac_ext
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casin" >&5
25355 $as_echo "$gcc_cv_math_func_casin" >&6; }
25356 if test $gcc_cv_math_func_casin = yes; then
25358 cat >>confdefs.h
<<_ACEOF
25359 #define HAVE_CASIN 1
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf" >&5
25368 $as_echo_n "checking for casinf... " >&6; }
25369 if ${gcc_cv_math_func_casinf+:} false
; then :
25370 $as_echo_n "(cached) " >&6
25372 if test x
$gcc_no_link = xyes
; then
25373 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25378 #ifdef HAVE_COMPLEX_H
25379 #include <complex.h>
25385 int (*ptr)() = (int (*)())casinf;
25394 if ac_fn_c_try_link
"$LINENO"; then :
25395 gcc_cv_math_func_casinf
=yes
25397 gcc_cv_math_func_casinf
=no
25399 rm -f core conftest.err conftest.
$ac_objext \
25400 conftest
$ac_exeext conftest.
$ac_ext
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf" >&5
25403 $as_echo "$gcc_cv_math_func_casinf" >&6; }
25404 if test $gcc_cv_math_func_casinf = yes; then
25406 cat >>confdefs.h
<<_ACEOF
25407 #define HAVE_CASINF 1
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinh" >&5
25416 $as_echo_n "checking for casinh... " >&6; }
25417 if ${gcc_cv_math_func_casinh+:} false
; then :
25418 $as_echo_n "(cached) " >&6
25420 if test x
$gcc_no_link = xyes
; then
25421 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25426 #ifdef HAVE_COMPLEX_H
25427 #include <complex.h>
25433 int (*ptr)() = (int (*)())casinh;
25442 if ac_fn_c_try_link
"$LINENO"; then :
25443 gcc_cv_math_func_casinh
=yes
25445 gcc_cv_math_func_casinh
=no
25447 rm -f core conftest.err conftest.
$ac_objext \
25448 conftest
$ac_exeext conftest.
$ac_ext
25450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinh" >&5
25451 $as_echo "$gcc_cv_math_func_casinh" >&6; }
25452 if test $gcc_cv_math_func_casinh = yes; then
25454 cat >>confdefs.h
<<_ACEOF
25455 #define HAVE_CASINH 1
25463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf" >&5
25464 $as_echo_n "checking for casinhf... " >&6; }
25465 if ${gcc_cv_math_func_casinhf+:} false
; then :
25466 $as_echo_n "(cached) " >&6
25468 if test x
$gcc_no_link = xyes
; then
25469 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25472 /* end confdefs.h. */
25474 #ifdef HAVE_COMPLEX_H
25475 #include <complex.h>
25481 int (*ptr)() = (int (*)())casinhf;
25490 if ac_fn_c_try_link
"$LINENO"; then :
25491 gcc_cv_math_func_casinhf
=yes
25493 gcc_cv_math_func_casinhf
=no
25495 rm -f core conftest.err conftest.
$ac_objext \
25496 conftest
$ac_exeext conftest.
$ac_ext
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf" >&5
25499 $as_echo "$gcc_cv_math_func_casinhf" >&6; }
25500 if test $gcc_cv_math_func_casinhf = yes; then
25502 cat >>confdefs.h
<<_ACEOF
25503 #define HAVE_CASINHF 1
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhl" >&5
25512 $as_echo_n "checking for casinhl... " >&6; }
25513 if ${gcc_cv_math_func_casinhl+:} false
; then :
25514 $as_echo_n "(cached) " >&6
25516 if test x
$gcc_no_link = xyes
; then
25517 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25520 /* end confdefs.h. */
25522 #ifdef HAVE_COMPLEX_H
25523 #include <complex.h>
25529 int (*ptr)() = (int (*)())casinhl;
25538 if ac_fn_c_try_link
"$LINENO"; then :
25539 gcc_cv_math_func_casinhl
=yes
25541 gcc_cv_math_func_casinhl
=no
25543 rm -f core conftest.err conftest.
$ac_objext \
25544 conftest
$ac_exeext conftest.
$ac_ext
25546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhl" >&5
25547 $as_echo "$gcc_cv_math_func_casinhl" >&6; }
25548 if test $gcc_cv_math_func_casinhl = yes; then
25550 cat >>confdefs.h
<<_ACEOF
25551 #define HAVE_CASINHL 1
25559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinl" >&5
25560 $as_echo_n "checking for casinl... " >&6; }
25561 if ${gcc_cv_math_func_casinl+:} false
; then :
25562 $as_echo_n "(cached) " >&6
25564 if test x
$gcc_no_link = xyes
; then
25565 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25570 #ifdef HAVE_COMPLEX_H
25571 #include <complex.h>
25577 int (*ptr)() = (int (*)())casinl;
25586 if ac_fn_c_try_link
"$LINENO"; then :
25587 gcc_cv_math_func_casinl
=yes
25589 gcc_cv_math_func_casinl
=no
25591 rm -f core conftest.err conftest.
$ac_objext \
25592 conftest
$ac_exeext conftest.
$ac_ext
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinl" >&5
25595 $as_echo "$gcc_cv_math_func_casinl" >&6; }
25596 if test $gcc_cv_math_func_casinl = yes; then
25598 cat >>confdefs.h
<<_ACEOF
25599 #define HAVE_CASINL 1
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catan" >&5
25608 $as_echo_n "checking for catan... " >&6; }
25609 if ${gcc_cv_math_func_catan+:} false
; then :
25610 $as_echo_n "(cached) " >&6
25612 if test x
$gcc_no_link = xyes
; then
25613 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25616 /* end confdefs.h. */
25618 #ifdef HAVE_COMPLEX_H
25619 #include <complex.h>
25625 int (*ptr)() = (int (*)())catan;
25634 if ac_fn_c_try_link
"$LINENO"; then :
25635 gcc_cv_math_func_catan
=yes
25637 gcc_cv_math_func_catan
=no
25639 rm -f core conftest.err conftest.
$ac_objext \
25640 conftest
$ac_exeext conftest.
$ac_ext
25642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catan" >&5
25643 $as_echo "$gcc_cv_math_func_catan" >&6; }
25644 if test $gcc_cv_math_func_catan = yes; then
25646 cat >>confdefs.h
<<_ACEOF
25647 #define HAVE_CATAN 1
25655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf" >&5
25656 $as_echo_n "checking for catanf... " >&6; }
25657 if ${gcc_cv_math_func_catanf+:} false
; then :
25658 $as_echo_n "(cached) " >&6
25660 if test x
$gcc_no_link = xyes
; then
25661 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25664 /* end confdefs.h. */
25666 #ifdef HAVE_COMPLEX_H
25667 #include <complex.h>
25673 int (*ptr)() = (int (*)())catanf;
25682 if ac_fn_c_try_link
"$LINENO"; then :
25683 gcc_cv_math_func_catanf
=yes
25685 gcc_cv_math_func_catanf
=no
25687 rm -f core conftest.err conftest.
$ac_objext \
25688 conftest
$ac_exeext conftest.
$ac_ext
25690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf" >&5
25691 $as_echo "$gcc_cv_math_func_catanf" >&6; }
25692 if test $gcc_cv_math_func_catanf = yes; then
25694 cat >>confdefs.h
<<_ACEOF
25695 #define HAVE_CATANF 1
25703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanh" >&5
25704 $as_echo_n "checking for catanh... " >&6; }
25705 if ${gcc_cv_math_func_catanh+:} false
; then :
25706 $as_echo_n "(cached) " >&6
25708 if test x
$gcc_no_link = xyes
; then
25709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25712 /* end confdefs.h. */
25714 #ifdef HAVE_COMPLEX_H
25715 #include <complex.h>
25721 int (*ptr)() = (int (*)())catanh;
25730 if ac_fn_c_try_link
"$LINENO"; then :
25731 gcc_cv_math_func_catanh
=yes
25733 gcc_cv_math_func_catanh
=no
25735 rm -f core conftest.err conftest.
$ac_objext \
25736 conftest
$ac_exeext conftest.
$ac_ext
25738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanh" >&5
25739 $as_echo "$gcc_cv_math_func_catanh" >&6; }
25740 if test $gcc_cv_math_func_catanh = yes; then
25742 cat >>confdefs.h
<<_ACEOF
25743 #define HAVE_CATANH 1
25751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf" >&5
25752 $as_echo_n "checking for catanhf... " >&6; }
25753 if ${gcc_cv_math_func_catanhf+:} false
; then :
25754 $as_echo_n "(cached) " >&6
25756 if test x
$gcc_no_link = xyes
; then
25757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25760 /* end confdefs.h. */
25762 #ifdef HAVE_COMPLEX_H
25763 #include <complex.h>
25769 int (*ptr)() = (int (*)())catanhf;
25778 if ac_fn_c_try_link
"$LINENO"; then :
25779 gcc_cv_math_func_catanhf
=yes
25781 gcc_cv_math_func_catanhf
=no
25783 rm -f core conftest.err conftest.
$ac_objext \
25784 conftest
$ac_exeext conftest.
$ac_ext
25786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf" >&5
25787 $as_echo "$gcc_cv_math_func_catanhf" >&6; }
25788 if test $gcc_cv_math_func_catanhf = yes; then
25790 cat >>confdefs.h
<<_ACEOF
25791 #define HAVE_CATANHF 1
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhl" >&5
25800 $as_echo_n "checking for catanhl... " >&6; }
25801 if ${gcc_cv_math_func_catanhl+:} false
; then :
25802 $as_echo_n "(cached) " >&6
25804 if test x
$gcc_no_link = xyes
; then
25805 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25808 /* end confdefs.h. */
25810 #ifdef HAVE_COMPLEX_H
25811 #include <complex.h>
25817 int (*ptr)() = (int (*)())catanhl;
25826 if ac_fn_c_try_link
"$LINENO"; then :
25827 gcc_cv_math_func_catanhl
=yes
25829 gcc_cv_math_func_catanhl
=no
25831 rm -f core conftest.err conftest.
$ac_objext \
25832 conftest
$ac_exeext conftest.
$ac_ext
25834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhl" >&5
25835 $as_echo "$gcc_cv_math_func_catanhl" >&6; }
25836 if test $gcc_cv_math_func_catanhl = yes; then
25838 cat >>confdefs.h
<<_ACEOF
25839 #define HAVE_CATANHL 1
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanl" >&5
25848 $as_echo_n "checking for catanl... " >&6; }
25849 if ${gcc_cv_math_func_catanl+:} false
; then :
25850 $as_echo_n "(cached) " >&6
25852 if test x
$gcc_no_link = xyes
; then
25853 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25856 /* end confdefs.h. */
25858 #ifdef HAVE_COMPLEX_H
25859 #include <complex.h>
25865 int (*ptr)() = (int (*)())catanl;
25874 if ac_fn_c_try_link
"$LINENO"; then :
25875 gcc_cv_math_func_catanl
=yes
25877 gcc_cv_math_func_catanl
=no
25879 rm -f core conftest.err conftest.
$ac_objext \
25880 conftest
$ac_exeext conftest.
$ac_ext
25882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanl" >&5
25883 $as_echo "$gcc_cv_math_func_catanl" >&6; }
25884 if test $gcc_cv_math_func_catanl = yes; then
25886 cat >>confdefs.h
<<_ACEOF
25887 #define HAVE_CATANL 1
25893 # For POWER, check the ieee128 math functions
25895 if test "x$have_real_17" = "xyes"; then
25897 cat >>confdefs.h
<<_ACEOF
25898 #define HAVE_REAL_17 1
25905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acoshieee128" >&5
25906 $as_echo_n "checking for __acoshieee128... " >&6; }
25907 if ${gcc_cv_math_func___acoshieee128+:} false
; then :
25908 $as_echo_n "(cached) " >&6
25910 if test x
$gcc_no_link = xyes
; then
25911 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25914 /* end confdefs.h. */
25916 _Float128 __acoshieee128 (_Float128);
25917 _Float128 (*ptr)(_Float128) = __acoshieee128;
25926 if ac_fn_c_try_link
"$LINENO"; then :
25927 gcc_cv_math_func___acoshieee128
=yes
25929 gcc_cv_math_func___acoshieee128
=no
25931 rm -f core conftest.err conftest.
$ac_objext \
25932 conftest
$ac_exeext conftest.
$ac_ext
25934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acoshieee128" >&5
25935 $as_echo "$gcc_cv_math_func___acoshieee128" >&6; }
25936 if test $gcc_cv_math_func___acoshieee128 = yes; then
25938 cat >>confdefs.h
<<_ACEOF
25939 #define HAVE___ACOSHIEEE128 1
25947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __acosieee128" >&5
25948 $as_echo_n "checking for __acosieee128... " >&6; }
25949 if ${gcc_cv_math_func___acosieee128+:} false
; then :
25950 $as_echo_n "(cached) " >&6
25952 if test x
$gcc_no_link = xyes
; then
25953 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25956 /* end confdefs.h. */
25958 _Float128 __acosieee128 (_Float128);
25959 _Float128 (*ptr)(_Float128) = __acosieee128;
25968 if ac_fn_c_try_link
"$LINENO"; then :
25969 gcc_cv_math_func___acosieee128
=yes
25971 gcc_cv_math_func___acosieee128
=no
25973 rm -f core conftest.err conftest.
$ac_objext \
25974 conftest
$ac_exeext conftest.
$ac_ext
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___acosieee128" >&5
25977 $as_echo "$gcc_cv_math_func___acosieee128" >&6; }
25978 if test $gcc_cv_math_func___acosieee128 = yes; then
25980 cat >>confdefs.h
<<_ACEOF
25981 #define HAVE___ACOSIEEE128 1
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinhieee128" >&5
25990 $as_echo_n "checking for __asinhieee128... " >&6; }
25991 if ${gcc_cv_math_func___asinhieee128+:} false
; then :
25992 $as_echo_n "(cached) " >&6
25994 if test x
$gcc_no_link = xyes
; then
25995 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
25998 /* end confdefs.h. */
26000 _Float128 __asinhieee128 (_Float128);
26001 _Float128 (*ptr)(_Float128) = __asinhieee128;
26010 if ac_fn_c_try_link
"$LINENO"; then :
26011 gcc_cv_math_func___asinhieee128
=yes
26013 gcc_cv_math_func___asinhieee128
=no
26015 rm -f core conftest.err conftest.
$ac_objext \
26016 conftest
$ac_exeext conftest.
$ac_ext
26018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinhieee128" >&5
26019 $as_echo "$gcc_cv_math_func___asinhieee128" >&6; }
26020 if test $gcc_cv_math_func___asinhieee128 = yes; then
26022 cat >>confdefs.h
<<_ACEOF
26023 #define HAVE___ASINHIEEE128 1
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __asinieee128" >&5
26032 $as_echo_n "checking for __asinieee128... " >&6; }
26033 if ${gcc_cv_math_func___asinieee128+:} false
; then :
26034 $as_echo_n "(cached) " >&6
26036 if test x
$gcc_no_link = xyes
; then
26037 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26040 /* end confdefs.h. */
26042 _Float128 __asinieee128 (_Float128);
26043 _Float128 (*ptr)(_Float128) = __asinieee128;
26052 if ac_fn_c_try_link
"$LINENO"; then :
26053 gcc_cv_math_func___asinieee128
=yes
26055 gcc_cv_math_func___asinieee128
=no
26057 rm -f core conftest.err conftest.
$ac_objext \
26058 conftest
$ac_exeext conftest.
$ac_ext
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___asinieee128" >&5
26061 $as_echo "$gcc_cv_math_func___asinieee128" >&6; }
26062 if test $gcc_cv_math_func___asinieee128 = yes; then
26064 cat >>confdefs.h
<<_ACEOF
26065 #define HAVE___ASINIEEE128 1
26073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atan2ieee128" >&5
26074 $as_echo_n "checking for __atan2ieee128... " >&6; }
26075 if ${gcc_cv_math_func___atan2ieee128+:} false
; then :
26076 $as_echo_n "(cached) " >&6
26078 if test x
$gcc_no_link = xyes
; then
26079 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26082 /* end confdefs.h. */
26084 _Float128 __atan2ieee128 (_Float128);
26085 _Float128 (*ptr)(_Float128) = __atan2ieee128;
26094 if ac_fn_c_try_link
"$LINENO"; then :
26095 gcc_cv_math_func___atan2ieee128
=yes
26097 gcc_cv_math_func___atan2ieee128
=no
26099 rm -f core conftest.err conftest.
$ac_objext \
26100 conftest
$ac_exeext conftest.
$ac_ext
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atan2ieee128" >&5
26103 $as_echo "$gcc_cv_math_func___atan2ieee128" >&6; }
26104 if test $gcc_cv_math_func___atan2ieee128 = yes; then
26106 cat >>confdefs.h
<<_ACEOF
26107 #define HAVE___ATAN2IEEE128 1
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanhieee128" >&5
26116 $as_echo_n "checking for __atanhieee128... " >&6; }
26117 if ${gcc_cv_math_func___atanhieee128+:} false
; then :
26118 $as_echo_n "(cached) " >&6
26120 if test x
$gcc_no_link = xyes
; then
26121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26126 _Float128 __atanhieee128 (_Float128);
26127 _Float128 (*ptr)(_Float128) = __atanhieee128;
26136 if ac_fn_c_try_link
"$LINENO"; then :
26137 gcc_cv_math_func___atanhieee128
=yes
26139 gcc_cv_math_func___atanhieee128
=no
26141 rm -f core conftest.err conftest.
$ac_objext \
26142 conftest
$ac_exeext conftest.
$ac_ext
26144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanhieee128" >&5
26145 $as_echo "$gcc_cv_math_func___atanhieee128" >&6; }
26146 if test $gcc_cv_math_func___atanhieee128 = yes; then
26148 cat >>confdefs.h
<<_ACEOF
26149 #define HAVE___ATANHIEEE128 1
26157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __atanieee128" >&5
26158 $as_echo_n "checking for __atanieee128... " >&6; }
26159 if ${gcc_cv_math_func___atanieee128+:} false
; then :
26160 $as_echo_n "(cached) " >&6
26162 if test x
$gcc_no_link = xyes
; then
26163 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26166 /* end confdefs.h. */
26168 _Float128 __atanieee128 (_Float128);
26169 _Float128 (*ptr)(_Float128) = __atanieee128;
26178 if ac_fn_c_try_link
"$LINENO"; then :
26179 gcc_cv_math_func___atanieee128
=yes
26181 gcc_cv_math_func___atanieee128
=no
26183 rm -f core conftest.err conftest.
$ac_objext \
26184 conftest
$ac_exeext conftest.
$ac_ext
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___atanieee128" >&5
26187 $as_echo "$gcc_cv_math_func___atanieee128" >&6; }
26188 if test $gcc_cv_math_func___atanieee128 = yes; then
26190 cat >>confdefs.h
<<_ACEOF
26191 #define HAVE___ATANIEEE128 1
26199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __coshieee128" >&5
26200 $as_echo_n "checking for __coshieee128... " >&6; }
26201 if ${gcc_cv_math_func___coshieee128+:} false
; then :
26202 $as_echo_n "(cached) " >&6
26204 if test x
$gcc_no_link = xyes
; then
26205 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26208 /* end confdefs.h. */
26210 _Float128 __coshieee128 (_Float128);
26211 _Float128 (*ptr)(_Float128) = __coshieee128;
26220 if ac_fn_c_try_link
"$LINENO"; then :
26221 gcc_cv_math_func___coshieee128
=yes
26223 gcc_cv_math_func___coshieee128
=no
26225 rm -f core conftest.err conftest.
$ac_objext \
26226 conftest
$ac_exeext conftest.
$ac_ext
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___coshieee128" >&5
26229 $as_echo "$gcc_cv_math_func___coshieee128" >&6; }
26230 if test $gcc_cv_math_func___coshieee128 = yes; then
26232 cat >>confdefs.h
<<_ACEOF
26233 #define HAVE___COSHIEEE128 1
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cosieee128" >&5
26242 $as_echo_n "checking for __cosieee128... " >&6; }
26243 if ${gcc_cv_math_func___cosieee128+:} false
; then :
26244 $as_echo_n "(cached) " >&6
26246 if test x
$gcc_no_link = xyes
; then
26247 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26250 /* end confdefs.h. */
26252 _Float128 __cosieee128 (_Float128);
26253 _Float128 (*ptr)(_Float128) = __cosieee128;
26262 if ac_fn_c_try_link
"$LINENO"; then :
26263 gcc_cv_math_func___cosieee128
=yes
26265 gcc_cv_math_func___cosieee128
=no
26267 rm -f core conftest.err conftest.
$ac_objext \
26268 conftest
$ac_exeext conftest.
$ac_ext
26270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___cosieee128" >&5
26271 $as_echo "$gcc_cv_math_func___cosieee128" >&6; }
26272 if test $gcc_cv_math_func___cosieee128 = yes; then
26274 cat >>confdefs.h
<<_ACEOF
26275 #define HAVE___COSIEEE128 1
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __erfieee128" >&5
26284 $as_echo_n "checking for __erfieee128... " >&6; }
26285 if ${gcc_cv_math_func___erfieee128+:} false
; then :
26286 $as_echo_n "(cached) " >&6
26288 if test x
$gcc_no_link = xyes
; then
26289 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26292 /* end confdefs.h. */
26294 _Float128 __erfieee128 (_Float128);
26295 _Float128 (*ptr)(_Float128) = __erfieee128;
26304 if ac_fn_c_try_link
"$LINENO"; then :
26305 gcc_cv_math_func___erfieee128
=yes
26307 gcc_cv_math_func___erfieee128
=no
26309 rm -f core conftest.err conftest.
$ac_objext \
26310 conftest
$ac_exeext conftest.
$ac_ext
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___erfieee128" >&5
26313 $as_echo "$gcc_cv_math_func___erfieee128" >&6; }
26314 if test $gcc_cv_math_func___erfieee128 = yes; then
26316 cat >>confdefs.h
<<_ACEOF
26317 #define HAVE___ERFIEEE128 1
26325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __expieee128" >&5
26326 $as_echo_n "checking for __expieee128... " >&6; }
26327 if ${gcc_cv_math_func___expieee128+:} false
; then :
26328 $as_echo_n "(cached) " >&6
26330 if test x
$gcc_no_link = xyes
; then
26331 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26336 _Float128 __expieee128 (_Float128);
26337 _Float128 (*ptr)(_Float128) = __expieee128;
26346 if ac_fn_c_try_link
"$LINENO"; then :
26347 gcc_cv_math_func___expieee128
=yes
26349 gcc_cv_math_func___expieee128
=no
26351 rm -f core conftest.err conftest.
$ac_objext \
26352 conftest
$ac_exeext conftest.
$ac_ext
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___expieee128" >&5
26355 $as_echo "$gcc_cv_math_func___expieee128" >&6; }
26356 if test $gcc_cv_math_func___expieee128 = yes; then
26358 cat >>confdefs.h
<<_ACEOF
26359 #define HAVE___EXPIEEE128 1
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __fabsieee128" >&5
26368 $as_echo_n "checking for __fabsieee128... " >&6; }
26369 if ${gcc_cv_math_func___fabsieee128+:} false
; then :
26370 $as_echo_n "(cached) " >&6
26372 if test x
$gcc_no_link = xyes
; then
26373 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26378 _Float128 __fabsieee128 (_Float128);
26379 _Float128 (*ptr)(_Float128) = __fabsieee128;
26388 if ac_fn_c_try_link
"$LINENO"; then :
26389 gcc_cv_math_func___fabsieee128
=yes
26391 gcc_cv_math_func___fabsieee128
=no
26393 rm -f core conftest.err conftest.
$ac_objext \
26394 conftest
$ac_exeext conftest.
$ac_ext
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___fabsieee128" >&5
26397 $as_echo "$gcc_cv_math_func___fabsieee128" >&6; }
26398 if test $gcc_cv_math_func___fabsieee128 = yes; then
26400 cat >>confdefs.h
<<_ACEOF
26401 #define HAVE___FABSIEEE128 1
26409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __jnieee128" >&5
26410 $as_echo_n "checking for __jnieee128... " >&6; }
26411 if ${gcc_cv_math_func___jnieee128+:} false
; then :
26412 $as_echo_n "(cached) " >&6
26414 if test x
$gcc_no_link = xyes
; then
26415 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26418 /* end confdefs.h. */
26420 _Float128 __jnieee128 (_Float128);
26421 _Float128 (*ptr)(_Float128) = __jnieee128;
26430 if ac_fn_c_try_link
"$LINENO"; then :
26431 gcc_cv_math_func___jnieee128
=yes
26433 gcc_cv_math_func___jnieee128
=no
26435 rm -f core conftest.err conftest.
$ac_objext \
26436 conftest
$ac_exeext conftest.
$ac_ext
26438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___jnieee128" >&5
26439 $as_echo "$gcc_cv_math_func___jnieee128" >&6; }
26440 if test $gcc_cv_math_func___jnieee128 = yes; then
26442 cat >>confdefs.h
<<_ACEOF
26443 #define HAVE___JNIEEE128 1
26451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __log10ieee128" >&5
26452 $as_echo_n "checking for __log10ieee128... " >&6; }
26453 if ${gcc_cv_math_func___log10ieee128+:} false
; then :
26454 $as_echo_n "(cached) " >&6
26456 if test x
$gcc_no_link = xyes
; then
26457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26460 /* end confdefs.h. */
26462 _Float128 __log10ieee128 (_Float128);
26463 _Float128 (*ptr)(_Float128) = __log10ieee128;
26472 if ac_fn_c_try_link
"$LINENO"; then :
26473 gcc_cv_math_func___log10ieee128
=yes
26475 gcc_cv_math_func___log10ieee128
=no
26477 rm -f core conftest.err conftest.
$ac_objext \
26478 conftest
$ac_exeext conftest.
$ac_ext
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___log10ieee128" >&5
26481 $as_echo "$gcc_cv_math_func___log10ieee128" >&6; }
26482 if test $gcc_cv_math_func___log10ieee128 = yes; then
26484 cat >>confdefs.h
<<_ACEOF
26485 #define HAVE___LOG10IEEE128 1
26493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __logieee128" >&5
26494 $as_echo_n "checking for __logieee128... " >&6; }
26495 if ${gcc_cv_math_func___logieee128+:} false
; then :
26496 $as_echo_n "(cached) " >&6
26498 if test x
$gcc_no_link = xyes
; then
26499 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26504 _Float128 __logieee128 (_Float128);
26505 _Float128 (*ptr)(_Float128) = __logieee128;
26514 if ac_fn_c_try_link
"$LINENO"; then :
26515 gcc_cv_math_func___logieee128
=yes
26517 gcc_cv_math_func___logieee128
=no
26519 rm -f core conftest.err conftest.
$ac_objext \
26520 conftest
$ac_exeext conftest.
$ac_ext
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___logieee128" >&5
26523 $as_echo "$gcc_cv_math_func___logieee128" >&6; }
26524 if test $gcc_cv_math_func___logieee128 = yes; then
26526 cat >>confdefs.h
<<_ACEOF
26527 #define HAVE___LOGIEEE128 1
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __powieee128" >&5
26536 $as_echo_n "checking for __powieee128... " >&6; }
26537 if ${gcc_cv_math_func___powieee128+:} false
; then :
26538 $as_echo_n "(cached) " >&6
26540 if test x
$gcc_no_link = xyes
; then
26541 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26544 /* end confdefs.h. */
26546 _Float128 __powieee128 (_Float128);
26547 _Float128 (*ptr)(_Float128) = __powieee128;
26556 if ac_fn_c_try_link
"$LINENO"; then :
26557 gcc_cv_math_func___powieee128
=yes
26559 gcc_cv_math_func___powieee128
=no
26561 rm -f core conftest.err conftest.
$ac_objext \
26562 conftest
$ac_exeext conftest.
$ac_ext
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___powieee128" >&5
26565 $as_echo "$gcc_cv_math_func___powieee128" >&6; }
26566 if test $gcc_cv_math_func___powieee128 = yes; then
26568 cat >>confdefs.h
<<_ACEOF
26569 #define HAVE___POWIEEE128 1
26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinhieee128" >&5
26578 $as_echo_n "checking for __sinhieee128... " >&6; }
26579 if ${gcc_cv_math_func___sinhieee128+:} false
; then :
26580 $as_echo_n "(cached) " >&6
26582 if test x
$gcc_no_link = xyes
; then
26583 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26586 /* end confdefs.h. */
26588 _Float128 __sinhieee128 (_Float128);
26589 _Float128 (*ptr)(_Float128) = __sinhieee128;
26598 if ac_fn_c_try_link
"$LINENO"; then :
26599 gcc_cv_math_func___sinhieee128
=yes
26601 gcc_cv_math_func___sinhieee128
=no
26603 rm -f core conftest.err conftest.
$ac_objext \
26604 conftest
$ac_exeext conftest.
$ac_ext
26606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinhieee128" >&5
26607 $as_echo "$gcc_cv_math_func___sinhieee128" >&6; }
26608 if test $gcc_cv_math_func___sinhieee128 = yes; then
26610 cat >>confdefs.h
<<_ACEOF
26611 #define HAVE___SINHIEEE128 1
26619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sinieee128" >&5
26620 $as_echo_n "checking for __sinieee128... " >&6; }
26621 if ${gcc_cv_math_func___sinieee128+:} false
; then :
26622 $as_echo_n "(cached) " >&6
26624 if test x
$gcc_no_link = xyes
; then
26625 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26628 /* end confdefs.h. */
26630 _Float128 __sinieee128 (_Float128);
26631 _Float128 (*ptr)(_Float128) = __sinieee128;
26640 if ac_fn_c_try_link
"$LINENO"; then :
26641 gcc_cv_math_func___sinieee128
=yes
26643 gcc_cv_math_func___sinieee128
=no
26645 rm -f core conftest.err conftest.
$ac_objext \
26646 conftest
$ac_exeext conftest.
$ac_ext
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sinieee128" >&5
26649 $as_echo "$gcc_cv_math_func___sinieee128" >&6; }
26650 if test $gcc_cv_math_func___sinieee128 = yes; then
26652 cat >>confdefs.h
<<_ACEOF
26653 #define HAVE___SINIEEE128 1
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sqrtieee128" >&5
26662 $as_echo_n "checking for __sqrtieee128... " >&6; }
26663 if ${gcc_cv_math_func___sqrtieee128+:} false
; then :
26664 $as_echo_n "(cached) " >&6
26666 if test x
$gcc_no_link = xyes
; then
26667 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26669 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26670 /* end confdefs.h. */
26672 _Float128 __sqrtieee128 (_Float128);
26673 _Float128 (*ptr)(_Float128) = __sqrtieee128;
26682 if ac_fn_c_try_link
"$LINENO"; then :
26683 gcc_cv_math_func___sqrtieee128
=yes
26685 gcc_cv_math_func___sqrtieee128
=no
26687 rm -f core conftest.err conftest.
$ac_objext \
26688 conftest
$ac_exeext conftest.
$ac_ext
26690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___sqrtieee128" >&5
26691 $as_echo "$gcc_cv_math_func___sqrtieee128" >&6; }
26692 if test $gcc_cv_math_func___sqrtieee128 = yes; then
26694 cat >>confdefs.h
<<_ACEOF
26695 #define HAVE___SQRTIEEE128 1
26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanhieee128" >&5
26704 $as_echo_n "checking for __tanhieee128... " >&6; }
26705 if ${gcc_cv_math_func___tanhieee128+:} false
; then :
26706 $as_echo_n "(cached) " >&6
26708 if test x
$gcc_no_link = xyes
; then
26709 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26712 /* end confdefs.h. */
26714 _Float128 __tanhieee128 (_Float128);
26715 _Float128 (*ptr)(_Float128) = __tanhieee128;
26724 if ac_fn_c_try_link
"$LINENO"; then :
26725 gcc_cv_math_func___tanhieee128
=yes
26727 gcc_cv_math_func___tanhieee128
=no
26729 rm -f core conftest.err conftest.
$ac_objext \
26730 conftest
$ac_exeext conftest.
$ac_ext
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanhieee128" >&5
26733 $as_echo "$gcc_cv_math_func___tanhieee128" >&6; }
26734 if test $gcc_cv_math_func___tanhieee128 = yes; then
26736 cat >>confdefs.h
<<_ACEOF
26737 #define HAVE___TANHIEEE128 1
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __tanieee128" >&5
26746 $as_echo_n "checking for __tanieee128... " >&6; }
26747 if ${gcc_cv_math_func___tanieee128+:} false
; then :
26748 $as_echo_n "(cached) " >&6
26750 if test x
$gcc_no_link = xyes
; then
26751 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26754 /* end confdefs.h. */
26756 _Float128 __tanieee128 (_Float128);
26757 _Float128 (*ptr)(_Float128) = __tanieee128;
26766 if ac_fn_c_try_link
"$LINENO"; then :
26767 gcc_cv_math_func___tanieee128
=yes
26769 gcc_cv_math_func___tanieee128
=no
26771 rm -f core conftest.err conftest.
$ac_objext \
26772 conftest
$ac_exeext conftest.
$ac_ext
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___tanieee128" >&5
26775 $as_echo "$gcc_cv_math_func___tanieee128" >&6; }
26776 if test $gcc_cv_math_func___tanieee128 = yes; then
26778 cat >>confdefs.h
<<_ACEOF
26779 #define HAVE___TANIEEE128 1
26787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __ynieee128" >&5
26788 $as_echo_n "checking for __ynieee128... " >&6; }
26789 if ${gcc_cv_math_func___ynieee128+:} false
; then :
26790 $as_echo_n "(cached) " >&6
26792 if test x
$gcc_no_link = xyes
; then
26793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26796 /* end confdefs.h. */
26798 _Float128 __ynieee128 (_Float128);
26799 _Float128 (*ptr)(_Float128) = __ynieee128;
26808 if ac_fn_c_try_link
"$LINENO"; then :
26809 gcc_cv_math_func___ynieee128
=yes
26811 gcc_cv_math_func___ynieee128
=no
26813 rm -f core conftest.err conftest.
$ac_objext \
26814 conftest
$ac_exeext conftest.
$ac_ext
26816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func___ynieee128" >&5
26817 $as_echo "$gcc_cv_math_func___ynieee128" >&6; }
26818 if test $gcc_cv_math_func___ynieee128 = yes; then
26820 cat >>confdefs.h
<<_ACEOF
26821 #define HAVE___YNIEEE128 1
26828 # On AIX, clog is present in libm as __clog
26829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clog in -lm" >&5
26830 $as_echo_n "checking for __clog in -lm... " >&6; }
26831 if ${ac_cv_lib_m___clog+:} false
; then :
26832 $as_echo_n "(cached) " >&6
26834 ac_check_lib_save_LIBS
=$LIBS
26836 if test x
$gcc_no_link = xyes
; then
26837 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26840 /* end confdefs.h. */
26842 /* Override any GCC internal prototype to avoid an error.
26843 Use char because int might match the return type of a GCC
26844 builtin and then its argument prototype would still apply. */
26857 if ac_fn_c_try_link
"$LINENO"; then :
26858 ac_cv_lib_m___clog
=yes
26860 ac_cv_lib_m___clog
=no
26862 rm -f core conftest.err conftest.
$ac_objext \
26863 conftest
$ac_exeext conftest.
$ac_ext
26864 LIBS
=$ac_check_lib_save_LIBS
26866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___clog" >&5
26867 $as_echo "$ac_cv_lib_m___clog" >&6; }
26868 if test "x$ac_cv_lib_m___clog" = xyes
; then :
26870 $as_echo "#define HAVE_CLOG 1" >>confdefs.h
26877 if test $gcc_cv_math_func_copysign = no
; then
26878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysign" >&5
26879 $as_echo_n "checking for inline __builtin_copysign... " >&6; }
26880 if ${gcc_cv_math_inline_builtin_copysign+:} false
; then :
26881 $as_echo_n "(cached) " >&6
26883 if test x
$gcc_no_link = xyes
; then
26884 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26887 /* end confdefs.h. */
26890 copysign_fallback (double x, double y)
26892 return __builtin_copysign (x, y);
26902 if ac_fn_c_try_link
"$LINENO"; then :
26903 gcc_cv_math_inline_builtin_copysign
=yes
26905 gcc_cv_math_inline_builtin_copysign
=no
26907 rm -f core conftest.err conftest.
$ac_objext \
26908 conftest
$ac_exeext conftest.
$ac_ext
26910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysign" >&5
26911 $as_echo "$gcc_cv_math_inline_builtin_copysign" >&6; }
26912 if test $gcc_cv_math_inline_builtin_copysign = yes; then
26914 cat >>confdefs.h
<<_ACEOF
26915 #define HAVE_INLINE_BUILTIN_COPYSIGN 1
26922 if test $gcc_cv_math_func_copysignl = no
; then
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_copysignl" >&5
26924 $as_echo_n "checking for inline __builtin_copysignl... " >&6; }
26925 if ${gcc_cv_math_inline_builtin_copysignl+:} false
; then :
26926 $as_echo_n "(cached) " >&6
26928 if test x
$gcc_no_link = xyes
; then
26929 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26932 /* end confdefs.h. */
26935 copysignl_fallback (long double x, long double y)
26937 return __builtin_copysignl (x, y);
26947 if ac_fn_c_try_link
"$LINENO"; then :
26948 gcc_cv_math_inline_builtin_copysignl
=yes
26950 gcc_cv_math_inline_builtin_copysignl
=no
26952 rm -f core conftest.err conftest.
$ac_objext \
26953 conftest
$ac_exeext conftest.
$ac_ext
26955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_copysignl" >&5
26956 $as_echo "$gcc_cv_math_inline_builtin_copysignl" >&6; }
26957 if test $gcc_cv_math_inline_builtin_copysignl = yes; then
26959 cat >>confdefs.h
<<_ACEOF
26960 #define HAVE_INLINE_BUILTIN_COPYSIGNL 1
26967 if test $gcc_cv_math_func_fabs = no
; then
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabs" >&5
26969 $as_echo_n "checking for inline __builtin_fabs... " >&6; }
26970 if ${gcc_cv_math_inline_builtin_fabs+:} false
; then :
26971 $as_echo_n "(cached) " >&6
26973 if test x
$gcc_no_link = xyes
; then
26974 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26976 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
26977 /* end confdefs.h. */
26980 fabs_fallback (double x)
26982 return __builtin_fabs (x);
26992 if ac_fn_c_try_link
"$LINENO"; then :
26993 gcc_cv_math_inline_builtin_fabs
=yes
26995 gcc_cv_math_inline_builtin_fabs
=no
26997 rm -f core conftest.err conftest.
$ac_objext \
26998 conftest
$ac_exeext conftest.
$ac_ext
27000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabs" >&5
27001 $as_echo "$gcc_cv_math_inline_builtin_fabs" >&6; }
27002 if test $gcc_cv_math_inline_builtin_fabs = yes; then
27004 cat >>confdefs.h
<<_ACEOF
27005 #define HAVE_INLINE_BUILTIN_FABS 1
27012 if test $gcc_cv_math_func_fabsl = no
; then
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline __builtin_fabsl" >&5
27014 $as_echo_n "checking for inline __builtin_fabsl... " >&6; }
27015 if ${gcc_cv_math_inline_builtin_fabsl+:} false
; then :
27016 $as_echo_n "(cached) " >&6
27018 if test x
$gcc_no_link = xyes
; then
27019 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27022 /* end confdefs.h. */
27025 fabsl_fallback (long double x)
27027 return __builtin_fabsl (x);
27037 if ac_fn_c_try_link
"$LINENO"; then :
27038 gcc_cv_math_inline_builtin_fabsl
=yes
27040 gcc_cv_math_inline_builtin_fabsl
=no
27042 rm -f core conftest.err conftest.
$ac_objext \
27043 conftest
$ac_exeext conftest.
$ac_ext
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_inline_builtin_fabsl" >&5
27046 $as_echo "$gcc_cv_math_inline_builtin_fabsl" >&6; }
27047 if test $gcc_cv_math_inline_builtin_fabsl = yes; then
27049 cat >>confdefs.h
<<_ACEOF
27050 #define HAVE_INLINE_BUILTIN_FABSL 1
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosf128" >&5
27060 $as_echo_n "checking for acosf128... " >&6; }
27061 if ${gcc_cv_math_func_acosf128+:} false
; then :
27062 $as_echo_n "(cached) " >&6
27064 if test x
$gcc_no_link = xyes
; then
27065 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27068 /* end confdefs.h. */
27070 #ifdef HAVE_COMPLEX_H
27071 #include <complex.h>
27077 int (*ptr)() = (int (*)())acosf128;
27086 if ac_fn_c_try_link
"$LINENO"; then :
27087 gcc_cv_math_func_acosf128
=yes
27089 gcc_cv_math_func_acosf128
=no
27091 rm -f core conftest.err conftest.
$ac_objext \
27092 conftest
$ac_exeext conftest.
$ac_ext
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acosf128" >&5
27095 $as_echo "$gcc_cv_math_func_acosf128" >&6; }
27096 if test $gcc_cv_math_func_acosf128 = yes; then
27098 cat >>confdefs.h
<<_ACEOF
27099 #define HAVE_ACOSF128 1
27107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acoshf128" >&5
27108 $as_echo_n "checking for acoshf128... " >&6; }
27109 if ${gcc_cv_math_func_acoshf128+:} false
; then :
27110 $as_echo_n "(cached) " >&6
27112 if test x
$gcc_no_link = xyes
; then
27113 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27116 /* end confdefs.h. */
27118 #ifdef HAVE_COMPLEX_H
27119 #include <complex.h>
27125 int (*ptr)() = (int (*)())acoshf128;
27134 if ac_fn_c_try_link
"$LINENO"; then :
27135 gcc_cv_math_func_acoshf128
=yes
27137 gcc_cv_math_func_acoshf128
=no
27139 rm -f core conftest.err conftest.
$ac_objext \
27140 conftest
$ac_exeext conftest.
$ac_ext
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_acoshf128" >&5
27143 $as_echo "$gcc_cv_math_func_acoshf128" >&6; }
27144 if test $gcc_cv_math_func_acoshf128 = yes; then
27146 cat >>confdefs.h
<<_ACEOF
27147 #define HAVE_ACOSHF128 1
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinf128" >&5
27156 $as_echo_n "checking for asinf128... " >&6; }
27157 if ${gcc_cv_math_func_asinf128+:} false
; then :
27158 $as_echo_n "(cached) " >&6
27160 if test x
$gcc_no_link = xyes
; then
27161 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27164 /* end confdefs.h. */
27166 #ifdef HAVE_COMPLEX_H
27167 #include <complex.h>
27173 int (*ptr)() = (int (*)())asinf128;
27182 if ac_fn_c_try_link
"$LINENO"; then :
27183 gcc_cv_math_func_asinf128
=yes
27185 gcc_cv_math_func_asinf128
=no
27187 rm -f core conftest.err conftest.
$ac_objext \
27188 conftest
$ac_exeext conftest.
$ac_ext
27190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinf128" >&5
27191 $as_echo "$gcc_cv_math_func_asinf128" >&6; }
27192 if test $gcc_cv_math_func_asinf128 = yes; then
27194 cat >>confdefs.h
<<_ACEOF
27195 #define HAVE_ASINF128 1
27203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinhf128" >&5
27204 $as_echo_n "checking for asinhf128... " >&6; }
27205 if ${gcc_cv_math_func_asinhf128+:} false
; then :
27206 $as_echo_n "(cached) " >&6
27208 if test x
$gcc_no_link = xyes
; then
27209 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27212 /* end confdefs.h. */
27214 #ifdef HAVE_COMPLEX_H
27215 #include <complex.h>
27221 int (*ptr)() = (int (*)())asinhf128;
27230 if ac_fn_c_try_link
"$LINENO"; then :
27231 gcc_cv_math_func_asinhf128
=yes
27233 gcc_cv_math_func_asinhf128
=no
27235 rm -f core conftest.err conftest.
$ac_objext \
27236 conftest
$ac_exeext conftest.
$ac_ext
27238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_asinhf128" >&5
27239 $as_echo "$gcc_cv_math_func_asinhf128" >&6; }
27240 if test $gcc_cv_math_func_asinhf128 = yes; then
27242 cat >>confdefs.h
<<_ACEOF
27243 #define HAVE_ASINHF128 1
27251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f128" >&5
27252 $as_echo_n "checking for atan2f128... " >&6; }
27253 if ${gcc_cv_math_func_atan2f128+:} false
; then :
27254 $as_echo_n "(cached) " >&6
27256 if test x
$gcc_no_link = xyes
; then
27257 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27260 /* end confdefs.h. */
27262 #ifdef HAVE_COMPLEX_H
27263 #include <complex.h>
27269 int (*ptr)() = (int (*)())atan2f128;
27278 if ac_fn_c_try_link
"$LINENO"; then :
27279 gcc_cv_math_func_atan2f128
=yes
27281 gcc_cv_math_func_atan2f128
=no
27283 rm -f core conftest.err conftest.
$ac_objext \
27284 conftest
$ac_exeext conftest.
$ac_ext
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atan2f128" >&5
27287 $as_echo "$gcc_cv_math_func_atan2f128" >&6; }
27288 if test $gcc_cv_math_func_atan2f128 = yes; then
27290 cat >>confdefs.h
<<_ACEOF
27291 #define HAVE_ATAN2F128 1
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanf128" >&5
27300 $as_echo_n "checking for atanf128... " >&6; }
27301 if ${gcc_cv_math_func_atanf128+:} false
; then :
27302 $as_echo_n "(cached) " >&6
27304 if test x
$gcc_no_link = xyes
; then
27305 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27308 /* end confdefs.h. */
27310 #ifdef HAVE_COMPLEX_H
27311 #include <complex.h>
27317 int (*ptr)() = (int (*)())atanf128;
27326 if ac_fn_c_try_link
"$LINENO"; then :
27327 gcc_cv_math_func_atanf128
=yes
27329 gcc_cv_math_func_atanf128
=no
27331 rm -f core conftest.err conftest.
$ac_objext \
27332 conftest
$ac_exeext conftest.
$ac_ext
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanf128" >&5
27335 $as_echo "$gcc_cv_math_func_atanf128" >&6; }
27336 if test $gcc_cv_math_func_atanf128 = yes; then
27338 cat >>confdefs.h
<<_ACEOF
27339 #define HAVE_ATANF128 1
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanhf128" >&5
27348 $as_echo_n "checking for atanhf128... " >&6; }
27349 if ${gcc_cv_math_func_atanhf128+:} false
; then :
27350 $as_echo_n "(cached) " >&6
27352 if test x
$gcc_no_link = xyes
; then
27353 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27356 /* end confdefs.h. */
27358 #ifdef HAVE_COMPLEX_H
27359 #include <complex.h>
27365 int (*ptr)() = (int (*)())atanhf128;
27374 if ac_fn_c_try_link
"$LINENO"; then :
27375 gcc_cv_math_func_atanhf128
=yes
27377 gcc_cv_math_func_atanhf128
=no
27379 rm -f core conftest.err conftest.
$ac_objext \
27380 conftest
$ac_exeext conftest.
$ac_ext
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_atanhf128" >&5
27383 $as_echo "$gcc_cv_math_func_atanhf128" >&6; }
27384 if test $gcc_cv_math_func_atanhf128 = yes; then
27386 cat >>confdefs.h
<<_ACEOF
27387 #define HAVE_ATANHF128 1
27395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cargf128" >&5
27396 $as_echo_n "checking for cargf128... " >&6; }
27397 if ${gcc_cv_math_func_cargf128+:} false
; then :
27398 $as_echo_n "(cached) " >&6
27400 if test x
$gcc_no_link = xyes
; then
27401 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27404 /* end confdefs.h. */
27406 #ifdef HAVE_COMPLEX_H
27407 #include <complex.h>
27413 int (*ptr)() = (int (*)())cargf128;
27422 if ac_fn_c_try_link
"$LINENO"; then :
27423 gcc_cv_math_func_cargf128
=yes
27425 gcc_cv_math_func_cargf128
=no
27427 rm -f core conftest.err conftest.
$ac_objext \
27428 conftest
$ac_exeext conftest.
$ac_ext
27430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cargf128" >&5
27431 $as_echo "$gcc_cv_math_func_cargf128" >&6; }
27432 if test $gcc_cv_math_func_cargf128 = yes; then
27434 cat >>confdefs.h
<<_ACEOF
27435 #define HAVE_CARGF128 1
27443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceilf128" >&5
27444 $as_echo_n "checking for ceilf128... " >&6; }
27445 if ${gcc_cv_math_func_ceilf128+:} false
; then :
27446 $as_echo_n "(cached) " >&6
27448 if test x
$gcc_no_link = xyes
; then
27449 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27452 /* end confdefs.h. */
27454 #ifdef HAVE_COMPLEX_H
27455 #include <complex.h>
27461 int (*ptr)() = (int (*)())ceilf128;
27470 if ac_fn_c_try_link
"$LINENO"; then :
27471 gcc_cv_math_func_ceilf128
=yes
27473 gcc_cv_math_func_ceilf128
=no
27475 rm -f core conftest.err conftest.
$ac_objext \
27476 conftest
$ac_exeext conftest.
$ac_ext
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ceilf128" >&5
27479 $as_echo "$gcc_cv_math_func_ceilf128" >&6; }
27480 if test $gcc_cv_math_func_ceilf128 = yes; then
27482 cat >>confdefs.h
<<_ACEOF
27483 #define HAVE_CEILF128 1
27491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copysignf128" >&5
27492 $as_echo_n "checking for copysignf128... " >&6; }
27493 if ${gcc_cv_math_func_copysignf128+:} false
; then :
27494 $as_echo_n "(cached) " >&6
27496 if test x
$gcc_no_link = xyes
; then
27497 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27500 /* end confdefs.h. */
27502 #ifdef HAVE_COMPLEX_H
27503 #include <complex.h>
27509 int (*ptr)() = (int (*)())copysignf128;
27518 if ac_fn_c_try_link
"$LINENO"; then :
27519 gcc_cv_math_func_copysignf128
=yes
27521 gcc_cv_math_func_copysignf128
=no
27523 rm -f core conftest.err conftest.
$ac_objext \
27524 conftest
$ac_exeext conftest.
$ac_ext
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_copysignf128" >&5
27527 $as_echo "$gcc_cv_math_func_copysignf128" >&6; }
27528 if test $gcc_cv_math_func_copysignf128 = yes; then
27530 cat >>confdefs.h
<<_ACEOF
27531 #define HAVE_COPYSIGNF128 1
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosf128" >&5
27540 $as_echo_n "checking for cosf128... " >&6; }
27541 if ${gcc_cv_math_func_cosf128+:} false
; then :
27542 $as_echo_n "(cached) " >&6
27544 if test x
$gcc_no_link = xyes
; then
27545 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27547 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27548 /* end confdefs.h. */
27550 #ifdef HAVE_COMPLEX_H
27551 #include <complex.h>
27557 int (*ptr)() = (int (*)())cosf128;
27566 if ac_fn_c_try_link
"$LINENO"; then :
27567 gcc_cv_math_func_cosf128
=yes
27569 gcc_cv_math_func_cosf128
=no
27571 rm -f core conftest.err conftest.
$ac_objext \
27572 conftest
$ac_exeext conftest.
$ac_ext
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cosf128" >&5
27575 $as_echo "$gcc_cv_math_func_cosf128" >&6; }
27576 if test $gcc_cv_math_func_cosf128 = yes; then
27578 cat >>confdefs.h
<<_ACEOF
27579 #define HAVE_COSF128 1
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccosf128" >&5
27588 $as_echo_n "checking for ccosf128... " >&6; }
27589 if ${gcc_cv_math_func_ccosf128+:} false
; then :
27590 $as_echo_n "(cached) " >&6
27592 if test x
$gcc_no_link = xyes
; then
27593 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27596 /* end confdefs.h. */
27598 #ifdef HAVE_COMPLEX_H
27599 #include <complex.h>
27605 int (*ptr)() = (int (*)())ccosf128;
27614 if ac_fn_c_try_link
"$LINENO"; then :
27615 gcc_cv_math_func_ccosf128
=yes
27617 gcc_cv_math_func_ccosf128
=no
27619 rm -f core conftest.err conftest.
$ac_objext \
27620 conftest
$ac_exeext conftest.
$ac_ext
27622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccosf128" >&5
27623 $as_echo "$gcc_cv_math_func_ccosf128" >&6; }
27624 if test $gcc_cv_math_func_ccosf128 = yes; then
27626 cat >>confdefs.h
<<_ACEOF
27627 #define HAVE_CCOSF128 1
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshf128" >&5
27636 $as_echo_n "checking for coshf128... " >&6; }
27637 if ${gcc_cv_math_func_coshf128+:} false
; then :
27638 $as_echo_n "(cached) " >&6
27640 if test x
$gcc_no_link = xyes
; then
27641 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27644 /* end confdefs.h. */
27646 #ifdef HAVE_COMPLEX_H
27647 #include <complex.h>
27653 int (*ptr)() = (int (*)())coshf128;
27662 if ac_fn_c_try_link
"$LINENO"; then :
27663 gcc_cv_math_func_coshf128
=yes
27665 gcc_cv_math_func_coshf128
=no
27667 rm -f core conftest.err conftest.
$ac_objext \
27668 conftest
$ac_exeext conftest.
$ac_ext
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_coshf128" >&5
27671 $as_echo "$gcc_cv_math_func_coshf128" >&6; }
27672 if test $gcc_cv_math_func_coshf128 = yes; then
27674 cat >>confdefs.h
<<_ACEOF
27675 #define HAVE_COSHF128 1
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ccoshf128" >&5
27684 $as_echo_n "checking for ccoshf128... " >&6; }
27685 if ${gcc_cv_math_func_ccoshf128+:} false
; then :
27686 $as_echo_n "(cached) " >&6
27688 if test x
$gcc_no_link = xyes
; then
27689 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27692 /* end confdefs.h. */
27694 #ifdef HAVE_COMPLEX_H
27695 #include <complex.h>
27701 int (*ptr)() = (int (*)())ccoshf128;
27710 if ac_fn_c_try_link
"$LINENO"; then :
27711 gcc_cv_math_func_ccoshf128
=yes
27713 gcc_cv_math_func_ccoshf128
=no
27715 rm -f core conftest.err conftest.
$ac_objext \
27716 conftest
$ac_exeext conftest.
$ac_ext
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ccoshf128" >&5
27719 $as_echo "$gcc_cv_math_func_ccoshf128" >&6; }
27720 if test $gcc_cv_math_func_ccoshf128 = yes; then
27722 cat >>confdefs.h
<<_ACEOF
27723 #define HAVE_CCOSHF128 1
27731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf128" >&5
27732 $as_echo_n "checking for expf128... " >&6; }
27733 if ${gcc_cv_math_func_expf128+:} false
; then :
27734 $as_echo_n "(cached) " >&6
27736 if test x
$gcc_no_link = xyes
; then
27737 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27740 /* end confdefs.h. */
27742 #ifdef HAVE_COMPLEX_H
27743 #include <complex.h>
27749 int (*ptr)() = (int (*)())expf128;
27758 if ac_fn_c_try_link
"$LINENO"; then :
27759 gcc_cv_math_func_expf128
=yes
27761 gcc_cv_math_func_expf128
=no
27763 rm -f core conftest.err conftest.
$ac_objext \
27764 conftest
$ac_exeext conftest.
$ac_ext
27766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_expf128" >&5
27767 $as_echo "$gcc_cv_math_func_expf128" >&6; }
27768 if test $gcc_cv_math_func_expf128 = yes; then
27770 cat >>confdefs.h
<<_ACEOF
27771 #define HAVE_EXPF128 1
27779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cexpf128" >&5
27780 $as_echo_n "checking for cexpf128... " >&6; }
27781 if ${gcc_cv_math_func_cexpf128+:} false
; then :
27782 $as_echo_n "(cached) " >&6
27784 if test x
$gcc_no_link = xyes
; then
27785 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27788 /* end confdefs.h. */
27790 #ifdef HAVE_COMPLEX_H
27791 #include <complex.h>
27797 int (*ptr)() = (int (*)())cexpf128;
27806 if ac_fn_c_try_link
"$LINENO"; then :
27807 gcc_cv_math_func_cexpf128
=yes
27809 gcc_cv_math_func_cexpf128
=no
27811 rm -f core conftest.err conftest.
$ac_objext \
27812 conftest
$ac_exeext conftest.
$ac_ext
27814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cexpf128" >&5
27815 $as_echo "$gcc_cv_math_func_cexpf128" >&6; }
27816 if test $gcc_cv_math_func_cexpf128 = yes; then
27818 cat >>confdefs.h
<<_ACEOF
27819 #define HAVE_CEXPF128 1
27827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf128" >&5
27828 $as_echo_n "checking for fabsf128... " >&6; }
27829 if ${gcc_cv_math_func_fabsf128+:} false
; then :
27830 $as_echo_n "(cached) " >&6
27832 if test x
$gcc_no_link = xyes
; then
27833 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27836 /* end confdefs.h. */
27838 #ifdef HAVE_COMPLEX_H
27839 #include <complex.h>
27845 int (*ptr)() = (int (*)())fabsf128;
27854 if ac_fn_c_try_link
"$LINENO"; then :
27855 gcc_cv_math_func_fabsf128
=yes
27857 gcc_cv_math_func_fabsf128
=no
27859 rm -f core conftest.err conftest.
$ac_objext \
27860 conftest
$ac_exeext conftest.
$ac_ext
27862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fabsf128" >&5
27863 $as_echo "$gcc_cv_math_func_fabsf128" >&6; }
27864 if test $gcc_cv_math_func_fabsf128 = yes; then
27866 cat >>confdefs.h
<<_ACEOF
27867 #define HAVE_FABSF128 1
27875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cabsf128" >&5
27876 $as_echo_n "checking for cabsf128... " >&6; }
27877 if ${gcc_cv_math_func_cabsf128+:} false
; then :
27878 $as_echo_n "(cached) " >&6
27880 if test x
$gcc_no_link = xyes
; then
27881 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27884 /* end confdefs.h. */
27886 #ifdef HAVE_COMPLEX_H
27887 #include <complex.h>
27893 int (*ptr)() = (int (*)())cabsf128;
27902 if ac_fn_c_try_link
"$LINENO"; then :
27903 gcc_cv_math_func_cabsf128
=yes
27905 gcc_cv_math_func_cabsf128
=no
27907 rm -f core conftest.err conftest.
$ac_objext \
27908 conftest
$ac_exeext conftest.
$ac_ext
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cabsf128" >&5
27911 $as_echo "$gcc_cv_math_func_cabsf128" >&6; }
27912 if test $gcc_cv_math_func_cabsf128 = yes; then
27914 cat >>confdefs.h
<<_ACEOF
27915 #define HAVE_CABSF128 1
27923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorf128" >&5
27924 $as_echo_n "checking for floorf128... " >&6; }
27925 if ${gcc_cv_math_func_floorf128+:} false
; then :
27926 $as_echo_n "(cached) " >&6
27928 if test x
$gcc_no_link = xyes
; then
27929 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27932 /* end confdefs.h. */
27934 #ifdef HAVE_COMPLEX_H
27935 #include <complex.h>
27941 int (*ptr)() = (int (*)())floorf128;
27950 if ac_fn_c_try_link
"$LINENO"; then :
27951 gcc_cv_math_func_floorf128
=yes
27953 gcc_cv_math_func_floorf128
=no
27955 rm -f core conftest.err conftest.
$ac_objext \
27956 conftest
$ac_exeext conftest.
$ac_ext
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_floorf128" >&5
27959 $as_echo "$gcc_cv_math_func_floorf128" >&6; }
27960 if test $gcc_cv_math_func_floorf128 = yes; then
27962 cat >>confdefs.h
<<_ACEOF
27963 #define HAVE_FLOORF128 1
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmaf128" >&5
27972 $as_echo_n "checking for fmaf128... " >&6; }
27973 if ${gcc_cv_math_func_fmaf128+:} false
; then :
27974 $as_echo_n "(cached) " >&6
27976 if test x
$gcc_no_link = xyes
; then
27977 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
27980 /* end confdefs.h. */
27982 #ifdef HAVE_COMPLEX_H
27983 #include <complex.h>
27989 int (*ptr)() = (int (*)())fmaf128;
27998 if ac_fn_c_try_link
"$LINENO"; then :
27999 gcc_cv_math_func_fmaf128
=yes
28001 gcc_cv_math_func_fmaf128
=no
28003 rm -f core conftest.err conftest.
$ac_objext \
28004 conftest
$ac_exeext conftest.
$ac_ext
28006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmaf128" >&5
28007 $as_echo "$gcc_cv_math_func_fmaf128" >&6; }
28008 if test $gcc_cv_math_func_fmaf128 = yes; then
28010 cat >>confdefs.h
<<_ACEOF
28011 #define HAVE_FMAF128 1
28019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf128" >&5
28020 $as_echo_n "checking for fmodf128... " >&6; }
28021 if ${gcc_cv_math_func_fmodf128+:} false
; then :
28022 $as_echo_n "(cached) " >&6
28024 if test x
$gcc_no_link = xyes
; then
28025 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28028 /* end confdefs.h. */
28030 #ifdef HAVE_COMPLEX_H
28031 #include <complex.h>
28037 int (*ptr)() = (int (*)())fmodf128;
28046 if ac_fn_c_try_link
"$LINENO"; then :
28047 gcc_cv_math_func_fmodf128
=yes
28049 gcc_cv_math_func_fmodf128
=no
28051 rm -f core conftest.err conftest.
$ac_objext \
28052 conftest
$ac_exeext conftest.
$ac_ext
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_fmodf128" >&5
28055 $as_echo "$gcc_cv_math_func_fmodf128" >&6; }
28056 if test $gcc_cv_math_func_fmodf128 = yes; then
28058 cat >>confdefs.h
<<_ACEOF
28059 #define HAVE_FMODF128 1
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf128" >&5
28068 $as_echo_n "checking for frexpf128... " >&6; }
28069 if ${gcc_cv_math_func_frexpf128+:} false
; then :
28070 $as_echo_n "(cached) " >&6
28072 if test x
$gcc_no_link = xyes
; then
28073 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28076 /* end confdefs.h. */
28078 #ifdef HAVE_COMPLEX_H
28079 #include <complex.h>
28085 int (*ptr)() = (int (*)())frexpf128;
28094 if ac_fn_c_try_link
"$LINENO"; then :
28095 gcc_cv_math_func_frexpf128
=yes
28097 gcc_cv_math_func_frexpf128
=no
28099 rm -f core conftest.err conftest.
$ac_objext \
28100 conftest
$ac_exeext conftest.
$ac_ext
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_frexpf128" >&5
28103 $as_echo "$gcc_cv_math_func_frexpf128" >&6; }
28104 if test $gcc_cv_math_func_frexpf128 = yes; then
28106 cat >>confdefs.h
<<_ACEOF
28107 #define HAVE_FREXPF128 1
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf128" >&5
28116 $as_echo_n "checking for hypotf128... " >&6; }
28117 if ${gcc_cv_math_func_hypotf128+:} false
; then :
28118 $as_echo_n "(cached) " >&6
28120 if test x
$gcc_no_link = xyes
; then
28121 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28124 /* end confdefs.h. */
28126 #ifdef HAVE_COMPLEX_H
28127 #include <complex.h>
28133 int (*ptr)() = (int (*)())hypotf128;
28142 if ac_fn_c_try_link
"$LINENO"; then :
28143 gcc_cv_math_func_hypotf128
=yes
28145 gcc_cv_math_func_hypotf128
=no
28147 rm -f core conftest.err conftest.
$ac_objext \
28148 conftest
$ac_exeext conftest.
$ac_ext
28150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_hypotf128" >&5
28151 $as_echo "$gcc_cv_math_func_hypotf128" >&6; }
28152 if test $gcc_cv_math_func_hypotf128 = yes; then
28154 cat >>confdefs.h
<<_ACEOF
28155 #define HAVE_HYPOTF128 1
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf128" >&5
28164 $as_echo_n "checking for ldexpf128... " >&6; }
28165 if ${gcc_cv_math_func_ldexpf128+:} false
; then :
28166 $as_echo_n "(cached) " >&6
28168 if test x
$gcc_no_link = xyes
; then
28169 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28174 #ifdef HAVE_COMPLEX_H
28175 #include <complex.h>
28181 int (*ptr)() = (int (*)())ldexpf128;
28190 if ac_fn_c_try_link
"$LINENO"; then :
28191 gcc_cv_math_func_ldexpf128
=yes
28193 gcc_cv_math_func_ldexpf128
=no
28195 rm -f core conftest.err conftest.
$ac_objext \
28196 conftest
$ac_exeext conftest.
$ac_ext
28198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ldexpf128" >&5
28199 $as_echo "$gcc_cv_math_func_ldexpf128" >&6; }
28200 if test $gcc_cv_math_func_ldexpf128 = yes; then
28202 cat >>confdefs.h
<<_ACEOF
28203 #define HAVE_LDEXPF128 1
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf128" >&5
28212 $as_echo_n "checking for logf128... " >&6; }
28213 if ${gcc_cv_math_func_logf128+:} false
; then :
28214 $as_echo_n "(cached) " >&6
28216 if test x
$gcc_no_link = xyes
; then
28217 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28220 /* end confdefs.h. */
28222 #ifdef HAVE_COMPLEX_H
28223 #include <complex.h>
28229 int (*ptr)() = (int (*)())logf128;
28238 if ac_fn_c_try_link
"$LINENO"; then :
28239 gcc_cv_math_func_logf128
=yes
28241 gcc_cv_math_func_logf128
=no
28243 rm -f core conftest.err conftest.
$ac_objext \
28244 conftest
$ac_exeext conftest.
$ac_ext
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_logf128" >&5
28247 $as_echo "$gcc_cv_math_func_logf128" >&6; }
28248 if test $gcc_cv_math_func_logf128 = yes; then
28250 cat >>confdefs.h
<<_ACEOF
28251 #define HAVE_LOGF128 1
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clogf128" >&5
28260 $as_echo_n "checking for clogf128... " >&6; }
28261 if ${gcc_cv_math_func_clogf128+:} false
; then :
28262 $as_echo_n "(cached) " >&6
28264 if test x
$gcc_no_link = xyes
; then
28265 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28270 #ifdef HAVE_COMPLEX_H
28271 #include <complex.h>
28277 int (*ptr)() = (int (*)())clogf128;
28286 if ac_fn_c_try_link
"$LINENO"; then :
28287 gcc_cv_math_func_clogf128
=yes
28289 gcc_cv_math_func_clogf128
=no
28291 rm -f core conftest.err conftest.
$ac_objext \
28292 conftest
$ac_exeext conftest.
$ac_ext
28294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clogf128" >&5
28295 $as_echo "$gcc_cv_math_func_clogf128" >&6; }
28296 if test $gcc_cv_math_func_clogf128 = yes; then
28298 cat >>confdefs.h
<<_ACEOF
28299 #define HAVE_CLOGF128 1
28307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f128" >&5
28308 $as_echo_n "checking for log10f128... " >&6; }
28309 if ${gcc_cv_math_func_log10f128+:} false
; then :
28310 $as_echo_n "(cached) " >&6
28312 if test x
$gcc_no_link = xyes
; then
28313 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h. */
28318 #ifdef HAVE_COMPLEX_H
28319 #include <complex.h>
28325 int (*ptr)() = (int (*)())log10f128;
28334 if ac_fn_c_try_link
"$LINENO"; then :
28335 gcc_cv_math_func_log10f128
=yes
28337 gcc_cv_math_func_log10f128
=no
28339 rm -f core conftest.err conftest.
$ac_objext \
28340 conftest
$ac_exeext conftest.
$ac_ext
28342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_log10f128" >&5
28343 $as_echo "$gcc_cv_math_func_log10f128" >&6; }
28344 if test $gcc_cv_math_func_log10f128 = yes; then
28346 cat >>confdefs.h
<<_ACEOF
28347 #define HAVE_LOG10F128 1
28355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clog10f128" >&5
28356 $as_echo_n "checking for clog10f128... " >&6; }
28357 if ${gcc_cv_math_func_clog10f128+:} false
; then :
28358 $as_echo_n "(cached) " >&6
28360 if test x
$gcc_no_link = xyes
; then
28361 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28364 /* end confdefs.h. */
28366 #ifdef HAVE_COMPLEX_H
28367 #include <complex.h>
28373 int (*ptr)() = (int (*)())clog10f128;
28382 if ac_fn_c_try_link
"$LINENO"; then :
28383 gcc_cv_math_func_clog10f128
=yes
28385 gcc_cv_math_func_clog10f128
=no
28387 rm -f core conftest.err conftest.
$ac_objext \
28388 conftest
$ac_exeext conftest.
$ac_ext
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_clog10f128" >&5
28391 $as_echo "$gcc_cv_math_func_clog10f128" >&6; }
28392 if test $gcc_cv_math_func_clog10f128 = yes; then
28394 cat >>confdefs.h
<<_ACEOF
28395 #define HAVE_CLOG10F128 1
28403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nextafterf128" >&5
28404 $as_echo_n "checking for nextafterf128... " >&6; }
28405 if ${gcc_cv_math_func_nextafterf128+:} false
; then :
28406 $as_echo_n "(cached) " >&6
28408 if test x
$gcc_no_link = xyes
; then
28409 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28412 /* end confdefs.h. */
28414 #ifdef HAVE_COMPLEX_H
28415 #include <complex.h>
28421 int (*ptr)() = (int (*)())nextafterf128;
28430 if ac_fn_c_try_link
"$LINENO"; then :
28431 gcc_cv_math_func_nextafterf128
=yes
28433 gcc_cv_math_func_nextafterf128
=no
28435 rm -f core conftest.err conftest.
$ac_objext \
28436 conftest
$ac_exeext conftest.
$ac_ext
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_nextafterf128" >&5
28439 $as_echo "$gcc_cv_math_func_nextafterf128" >&6; }
28440 if test $gcc_cv_math_func_nextafterf128 = yes; then
28442 cat >>confdefs.h
<<_ACEOF
28443 #define HAVE_NEXTAFTERF128 1
28451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf128" >&5
28452 $as_echo_n "checking for powf128... " >&6; }
28453 if ${gcc_cv_math_func_powf128+:} false
; then :
28454 $as_echo_n "(cached) " >&6
28456 if test x
$gcc_no_link = xyes
; then
28457 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28459 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28460 /* end confdefs.h. */
28462 #ifdef HAVE_COMPLEX_H
28463 #include <complex.h>
28469 int (*ptr)() = (int (*)())powf128;
28478 if ac_fn_c_try_link
"$LINENO"; then :
28479 gcc_cv_math_func_powf128
=yes
28481 gcc_cv_math_func_powf128
=no
28483 rm -f core conftest.err conftest.
$ac_objext \
28484 conftest
$ac_exeext conftest.
$ac_ext
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_powf128" >&5
28487 $as_echo "$gcc_cv_math_func_powf128" >&6; }
28488 if test $gcc_cv_math_func_powf128 = yes; then
28490 cat >>confdefs.h
<<_ACEOF
28491 #define HAVE_POWF128 1
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cpowf128" >&5
28500 $as_echo_n "checking for cpowf128... " >&6; }
28501 if ${gcc_cv_math_func_cpowf128+:} false
; then :
28502 $as_echo_n "(cached) " >&6
28504 if test x
$gcc_no_link = xyes
; then
28505 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28508 /* end confdefs.h. */
28510 #ifdef HAVE_COMPLEX_H
28511 #include <complex.h>
28517 int (*ptr)() = (int (*)())cpowf128;
28526 if ac_fn_c_try_link
"$LINENO"; then :
28527 gcc_cv_math_func_cpowf128
=yes
28529 gcc_cv_math_func_cpowf128
=no
28531 rm -f core conftest.err conftest.
$ac_objext \
28532 conftest
$ac_exeext conftest.
$ac_ext
28534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cpowf128" >&5
28535 $as_echo "$gcc_cv_math_func_cpowf128" >&6; }
28536 if test $gcc_cv_math_func_cpowf128 = yes; then
28538 cat >>confdefs.h
<<_ACEOF
28539 #define HAVE_CPOWF128 1
28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for roundf128" >&5
28548 $as_echo_n "checking for roundf128... " >&6; }
28549 if ${gcc_cv_math_func_roundf128+:} false
; then :
28550 $as_echo_n "(cached) " >&6
28552 if test x
$gcc_no_link = xyes
; then
28553 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28556 /* end confdefs.h. */
28558 #ifdef HAVE_COMPLEX_H
28559 #include <complex.h>
28565 int (*ptr)() = (int (*)())roundf128;
28574 if ac_fn_c_try_link
"$LINENO"; then :
28575 gcc_cv_math_func_roundf128
=yes
28577 gcc_cv_math_func_roundf128
=no
28579 rm -f core conftest.err conftest.
$ac_objext \
28580 conftest
$ac_exeext conftest.
$ac_ext
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_roundf128" >&5
28583 $as_echo "$gcc_cv_math_func_roundf128" >&6; }
28584 if test $gcc_cv_math_func_roundf128 = yes; then
28586 cat >>confdefs.h
<<_ACEOF
28587 #define HAVE_ROUNDF128 1
28595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lroundf128" >&5
28596 $as_echo_n "checking for lroundf128... " >&6; }
28597 if ${gcc_cv_math_func_lroundf128+:} false
; then :
28598 $as_echo_n "(cached) " >&6
28600 if test x
$gcc_no_link = xyes
; then
28601 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28604 /* end confdefs.h. */
28606 #ifdef HAVE_COMPLEX_H
28607 #include <complex.h>
28613 int (*ptr)() = (int (*)())lroundf128;
28622 if ac_fn_c_try_link
"$LINENO"; then :
28623 gcc_cv_math_func_lroundf128
=yes
28625 gcc_cv_math_func_lroundf128
=no
28627 rm -f core conftest.err conftest.
$ac_objext \
28628 conftest
$ac_exeext conftest.
$ac_ext
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lroundf128" >&5
28631 $as_echo "$gcc_cv_math_func_lroundf128" >&6; }
28632 if test $gcc_cv_math_func_lroundf128 = yes; then
28634 cat >>confdefs.h
<<_ACEOF
28635 #define HAVE_LROUNDF128 1
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for llroundf128" >&5
28644 $as_echo_n "checking for llroundf128... " >&6; }
28645 if ${gcc_cv_math_func_llroundf128+:} false
; then :
28646 $as_echo_n "(cached) " >&6
28648 if test x
$gcc_no_link = xyes
; then
28649 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28652 /* end confdefs.h. */
28654 #ifdef HAVE_COMPLEX_H
28655 #include <complex.h>
28661 int (*ptr)() = (int (*)())llroundf128;
28670 if ac_fn_c_try_link
"$LINENO"; then :
28671 gcc_cv_math_func_llroundf128
=yes
28673 gcc_cv_math_func_llroundf128
=no
28675 rm -f core conftest.err conftest.
$ac_objext \
28676 conftest
$ac_exeext conftest.
$ac_ext
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_llroundf128" >&5
28679 $as_echo "$gcc_cv_math_func_llroundf128" >&6; }
28680 if test $gcc_cv_math_func_llroundf128 = yes; then
28682 cat >>confdefs.h
<<_ACEOF
28683 #define HAVE_LLROUNDF128 1
28691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for scalbnf128" >&5
28692 $as_echo_n "checking for scalbnf128... " >&6; }
28693 if ${gcc_cv_math_func_scalbnf128+:} false
; then :
28694 $as_echo_n "(cached) " >&6
28696 if test x
$gcc_no_link = xyes
; then
28697 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28702 #ifdef HAVE_COMPLEX_H
28703 #include <complex.h>
28709 int (*ptr)() = (int (*)())scalbnf128;
28718 if ac_fn_c_try_link
"$LINENO"; then :
28719 gcc_cv_math_func_scalbnf128
=yes
28721 gcc_cv_math_func_scalbnf128
=no
28723 rm -f core conftest.err conftest.
$ac_objext \
28724 conftest
$ac_exeext conftest.
$ac_ext
28726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_scalbnf128" >&5
28727 $as_echo "$gcc_cv_math_func_scalbnf128" >&6; }
28728 if test $gcc_cv_math_func_scalbnf128 = yes; then
28730 cat >>confdefs.h
<<_ACEOF
28731 #define HAVE_SCALBNF128 1
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinf128" >&5
28740 $as_echo_n "checking for sinf128... " >&6; }
28741 if ${gcc_cv_math_func_sinf128+:} false
; then :
28742 $as_echo_n "(cached) " >&6
28744 if test x
$gcc_no_link = xyes
; then
28745 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28748 /* end confdefs.h. */
28750 #ifdef HAVE_COMPLEX_H
28751 #include <complex.h>
28757 int (*ptr)() = (int (*)())sinf128;
28766 if ac_fn_c_try_link
"$LINENO"; then :
28767 gcc_cv_math_func_sinf128
=yes
28769 gcc_cv_math_func_sinf128
=no
28771 rm -f core conftest.err conftest.
$ac_objext \
28772 conftest
$ac_exeext conftest.
$ac_ext
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinf128" >&5
28775 $as_echo "$gcc_cv_math_func_sinf128" >&6; }
28776 if test $gcc_cv_math_func_sinf128 = yes; then
28778 cat >>confdefs.h
<<_ACEOF
28779 #define HAVE_SINF128 1
28787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinf128" >&5
28788 $as_echo_n "checking for csinf128... " >&6; }
28789 if ${gcc_cv_math_func_csinf128+:} false
; then :
28790 $as_echo_n "(cached) " >&6
28792 if test x
$gcc_no_link = xyes
; then
28793 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28795 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28796 /* end confdefs.h. */
28798 #ifdef HAVE_COMPLEX_H
28799 #include <complex.h>
28805 int (*ptr)() = (int (*)())csinf128;
28814 if ac_fn_c_try_link
"$LINENO"; then :
28815 gcc_cv_math_func_csinf128
=yes
28817 gcc_cv_math_func_csinf128
=no
28819 rm -f core conftest.err conftest.
$ac_objext \
28820 conftest
$ac_exeext conftest.
$ac_ext
28822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinf128" >&5
28823 $as_echo "$gcc_cv_math_func_csinf128" >&6; }
28824 if test $gcc_cv_math_func_csinf128 = yes; then
28826 cat >>confdefs.h
<<_ACEOF
28827 #define HAVE_CSINF128 1
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhf128" >&5
28836 $as_echo_n "checking for sinhf128... " >&6; }
28837 if ${gcc_cv_math_func_sinhf128+:} false
; then :
28838 $as_echo_n "(cached) " >&6
28840 if test x
$gcc_no_link = xyes
; then
28841 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28844 /* end confdefs.h. */
28846 #ifdef HAVE_COMPLEX_H
28847 #include <complex.h>
28853 int (*ptr)() = (int (*)())sinhf128;
28862 if ac_fn_c_try_link
"$LINENO"; then :
28863 gcc_cv_math_func_sinhf128
=yes
28865 gcc_cv_math_func_sinhf128
=no
28867 rm -f core conftest.err conftest.
$ac_objext \
28868 conftest
$ac_exeext conftest.
$ac_ext
28870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sinhf128" >&5
28871 $as_echo "$gcc_cv_math_func_sinhf128" >&6; }
28872 if test $gcc_cv_math_func_sinhf128 = yes; then
28874 cat >>confdefs.h
<<_ACEOF
28875 #define HAVE_SINHF128 1
28883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csinhf128" >&5
28884 $as_echo_n "checking for csinhf128... " >&6; }
28885 if ${gcc_cv_math_func_csinhf128+:} false
; then :
28886 $as_echo_n "(cached) " >&6
28888 if test x
$gcc_no_link = xyes
; then
28889 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28894 #ifdef HAVE_COMPLEX_H
28895 #include <complex.h>
28901 int (*ptr)() = (int (*)())csinhf128;
28910 if ac_fn_c_try_link
"$LINENO"; then :
28911 gcc_cv_math_func_csinhf128
=yes
28913 gcc_cv_math_func_csinhf128
=no
28915 rm -f core conftest.err conftest.
$ac_objext \
28916 conftest
$ac_exeext conftest.
$ac_ext
28918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csinhf128" >&5
28919 $as_echo "$gcc_cv_math_func_csinhf128" >&6; }
28920 if test $gcc_cv_math_func_csinhf128 = yes; then
28922 cat >>confdefs.h
<<_ACEOF
28923 #define HAVE_CSINHF128 1
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf128" >&5
28932 $as_echo_n "checking for sqrtf128... " >&6; }
28933 if ${gcc_cv_math_func_sqrtf128+:} false
; then :
28934 $as_echo_n "(cached) " >&6
28936 if test x
$gcc_no_link = xyes
; then
28937 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28940 /* end confdefs.h. */
28942 #ifdef HAVE_COMPLEX_H
28943 #include <complex.h>
28949 int (*ptr)() = (int (*)())sqrtf128;
28958 if ac_fn_c_try_link
"$LINENO"; then :
28959 gcc_cv_math_func_sqrtf128
=yes
28961 gcc_cv_math_func_sqrtf128
=no
28963 rm -f core conftest.err conftest.
$ac_objext \
28964 conftest
$ac_exeext conftest.
$ac_ext
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_sqrtf128" >&5
28967 $as_echo "$gcc_cv_math_func_sqrtf128" >&6; }
28968 if test $gcc_cv_math_func_sqrtf128 = yes; then
28970 cat >>confdefs.h
<<_ACEOF
28971 #define HAVE_SQRTF128 1
28979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for csqrtf128" >&5
28980 $as_echo_n "checking for csqrtf128... " >&6; }
28981 if ${gcc_cv_math_func_csqrtf128+:} false
; then :
28982 $as_echo_n "(cached) " >&6
28984 if test x
$gcc_no_link = xyes
; then
28985 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
28988 /* end confdefs.h. */
28990 #ifdef HAVE_COMPLEX_H
28991 #include <complex.h>
28997 int (*ptr)() = (int (*)())csqrtf128;
29006 if ac_fn_c_try_link
"$LINENO"; then :
29007 gcc_cv_math_func_csqrtf128
=yes
29009 gcc_cv_math_func_csqrtf128
=no
29011 rm -f core conftest.err conftest.
$ac_objext \
29012 conftest
$ac_exeext conftest.
$ac_ext
29014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_csqrtf128" >&5
29015 $as_echo "$gcc_cv_math_func_csqrtf128" >&6; }
29016 if test $gcc_cv_math_func_csqrtf128 = yes; then
29018 cat >>confdefs.h
<<_ACEOF
29019 #define HAVE_CSQRTF128 1
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanf128" >&5
29028 $as_echo_n "checking for tanf128... " >&6; }
29029 if ${gcc_cv_math_func_tanf128+:} false
; then :
29030 $as_echo_n "(cached) " >&6
29032 if test x
$gcc_no_link = xyes
; then
29033 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29038 #ifdef HAVE_COMPLEX_H
29039 #include <complex.h>
29045 int (*ptr)() = (int (*)())tanf128;
29054 if ac_fn_c_try_link
"$LINENO"; then :
29055 gcc_cv_math_func_tanf128
=yes
29057 gcc_cv_math_func_tanf128
=no
29059 rm -f core conftest.err conftest.
$ac_objext \
29060 conftest
$ac_exeext conftest.
$ac_ext
29062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanf128" >&5
29063 $as_echo "$gcc_cv_math_func_tanf128" >&6; }
29064 if test $gcc_cv_math_func_tanf128 = yes; then
29066 cat >>confdefs.h
<<_ACEOF
29067 #define HAVE_TANF128 1
29075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanf128" >&5
29076 $as_echo_n "checking for ctanf128... " >&6; }
29077 if ${gcc_cv_math_func_ctanf128+:} false
; then :
29078 $as_echo_n "(cached) " >&6
29080 if test x
$gcc_no_link = xyes
; then
29081 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29084 /* end confdefs.h. */
29086 #ifdef HAVE_COMPLEX_H
29087 #include <complex.h>
29093 int (*ptr)() = (int (*)())ctanf128;
29102 if ac_fn_c_try_link
"$LINENO"; then :
29103 gcc_cv_math_func_ctanf128
=yes
29105 gcc_cv_math_func_ctanf128
=no
29107 rm -f core conftest.err conftest.
$ac_objext \
29108 conftest
$ac_exeext conftest.
$ac_ext
29110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanf128" >&5
29111 $as_echo "$gcc_cv_math_func_ctanf128" >&6; }
29112 if test $gcc_cv_math_func_ctanf128 = yes; then
29114 cat >>confdefs.h
<<_ACEOF
29115 #define HAVE_CTANF128 1
29123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhf128" >&5
29124 $as_echo_n "checking for tanhf128... " >&6; }
29125 if ${gcc_cv_math_func_tanhf128+:} false
; then :
29126 $as_echo_n "(cached) " >&6
29128 if test x
$gcc_no_link = xyes
; then
29129 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29134 #ifdef HAVE_COMPLEX_H
29135 #include <complex.h>
29141 int (*ptr)() = (int (*)())tanhf128;
29150 if ac_fn_c_try_link
"$LINENO"; then :
29151 gcc_cv_math_func_tanhf128
=yes
29153 gcc_cv_math_func_tanhf128
=no
29155 rm -f core conftest.err conftest.
$ac_objext \
29156 conftest
$ac_exeext conftest.
$ac_ext
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tanhf128" >&5
29159 $as_echo "$gcc_cv_math_func_tanhf128" >&6; }
29160 if test $gcc_cv_math_func_tanhf128 = yes; then
29162 cat >>confdefs.h
<<_ACEOF
29163 #define HAVE_TANHF128 1
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctanhf128" >&5
29172 $as_echo_n "checking for ctanhf128... " >&6; }
29173 if ${gcc_cv_math_func_ctanhf128+:} false
; then :
29174 $as_echo_n "(cached) " >&6
29176 if test x
$gcc_no_link = xyes
; then
29177 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29182 #ifdef HAVE_COMPLEX_H
29183 #include <complex.h>
29189 int (*ptr)() = (int (*)())ctanhf128;
29198 if ac_fn_c_try_link
"$LINENO"; then :
29199 gcc_cv_math_func_ctanhf128
=yes
29201 gcc_cv_math_func_ctanhf128
=no
29203 rm -f core conftest.err conftest.
$ac_objext \
29204 conftest
$ac_exeext conftest.
$ac_ext
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ctanhf128" >&5
29207 $as_echo "$gcc_cv_math_func_ctanhf128" >&6; }
29208 if test $gcc_cv_math_func_ctanhf128 = yes; then
29210 cat >>confdefs.h
<<_ACEOF
29211 #define HAVE_CTANHF128 1
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncf128" >&5
29220 $as_echo_n "checking for truncf128... " >&6; }
29221 if ${gcc_cv_math_func_truncf128+:} false
; then :
29222 $as_echo_n "(cached) " >&6
29224 if test x
$gcc_no_link = xyes
; then
29225 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29228 /* end confdefs.h. */
29230 #ifdef HAVE_COMPLEX_H
29231 #include <complex.h>
29237 int (*ptr)() = (int (*)())truncf128;
29246 if ac_fn_c_try_link
"$LINENO"; then :
29247 gcc_cv_math_func_truncf128
=yes
29249 gcc_cv_math_func_truncf128
=no
29251 rm -f core conftest.err conftest.
$ac_objext \
29252 conftest
$ac_exeext conftest.
$ac_ext
29254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_truncf128" >&5
29255 $as_echo "$gcc_cv_math_func_truncf128" >&6; }
29256 if test $gcc_cv_math_func_truncf128 = yes; then
29258 cat >>confdefs.h
<<_ACEOF
29259 #define HAVE_TRUNCF128 1
29267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erff128" >&5
29268 $as_echo_n "checking for erff128... " >&6; }
29269 if ${gcc_cv_math_func_erff128+:} false
; then :
29270 $as_echo_n "(cached) " >&6
29272 if test x
$gcc_no_link = xyes
; then
29273 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29278 #ifdef HAVE_COMPLEX_H
29279 #include <complex.h>
29285 int (*ptr)() = (int (*)())erff128;
29294 if ac_fn_c_try_link
"$LINENO"; then :
29295 gcc_cv_math_func_erff128
=yes
29297 gcc_cv_math_func_erff128
=no
29299 rm -f core conftest.err conftest.
$ac_objext \
29300 conftest
$ac_exeext conftest.
$ac_ext
29302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erff128" >&5
29303 $as_echo "$gcc_cv_math_func_erff128" >&6; }
29304 if test $gcc_cv_math_func_erff128 = yes; then
29306 cat >>confdefs.h
<<_ACEOF
29307 #define HAVE_ERFF128 1
29315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for erfcf128" >&5
29316 $as_echo_n "checking for erfcf128... " >&6; }
29317 if ${gcc_cv_math_func_erfcf128+:} false
; then :
29318 $as_echo_n "(cached) " >&6
29320 if test x
$gcc_no_link = xyes
; then
29321 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29324 /* end confdefs.h. */
29326 #ifdef HAVE_COMPLEX_H
29327 #include <complex.h>
29333 int (*ptr)() = (int (*)())erfcf128;
29342 if ac_fn_c_try_link
"$LINENO"; then :
29343 gcc_cv_math_func_erfcf128
=yes
29345 gcc_cv_math_func_erfcf128
=no
29347 rm -f core conftest.err conftest.
$ac_objext \
29348 conftest
$ac_exeext conftest.
$ac_ext
29350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_erfcf128" >&5
29351 $as_echo "$gcc_cv_math_func_erfcf128" >&6; }
29352 if test $gcc_cv_math_func_erfcf128 = yes; then
29354 cat >>confdefs.h
<<_ACEOF
29355 #define HAVE_ERFCF128 1
29363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j0f128" >&5
29364 $as_echo_n "checking for j0f128... " >&6; }
29365 if ${gcc_cv_math_func_j0f128+:} false
; then :
29366 $as_echo_n "(cached) " >&6
29368 if test x
$gcc_no_link = xyes
; then
29369 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29372 /* end confdefs.h. */
29374 #ifdef HAVE_COMPLEX_H
29375 #include <complex.h>
29381 int (*ptr)() = (int (*)())j0f128;
29390 if ac_fn_c_try_link
"$LINENO"; then :
29391 gcc_cv_math_func_j0f128
=yes
29393 gcc_cv_math_func_j0f128
=no
29395 rm -f core conftest.err conftest.
$ac_objext \
29396 conftest
$ac_exeext conftest.
$ac_ext
29398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j0f128" >&5
29399 $as_echo "$gcc_cv_math_func_j0f128" >&6; }
29400 if test $gcc_cv_math_func_j0f128 = yes; then
29402 cat >>confdefs.h
<<_ACEOF
29403 #define HAVE_J0F128 1
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for j1f128" >&5
29412 $as_echo_n "checking for j1f128... " >&6; }
29413 if ${gcc_cv_math_func_j1f128+:} false
; then :
29414 $as_echo_n "(cached) " >&6
29416 if test x
$gcc_no_link = xyes
; then
29417 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29420 /* end confdefs.h. */
29422 #ifdef HAVE_COMPLEX_H
29423 #include <complex.h>
29429 int (*ptr)() = (int (*)())j1f128;
29438 if ac_fn_c_try_link
"$LINENO"; then :
29439 gcc_cv_math_func_j1f128
=yes
29441 gcc_cv_math_func_j1f128
=no
29443 rm -f core conftest.err conftest.
$ac_objext \
29444 conftest
$ac_exeext conftest.
$ac_ext
29446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_j1f128" >&5
29447 $as_echo "$gcc_cv_math_func_j1f128" >&6; }
29448 if test $gcc_cv_math_func_j1f128 = yes; then
29450 cat >>confdefs.h
<<_ACEOF
29451 #define HAVE_J1F128 1
29459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jnf128" >&5
29460 $as_echo_n "checking for jnf128... " >&6; }
29461 if ${gcc_cv_math_func_jnf128+:} false
; then :
29462 $as_echo_n "(cached) " >&6
29464 if test x
$gcc_no_link = xyes
; then
29465 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29468 /* end confdefs.h. */
29470 #ifdef HAVE_COMPLEX_H
29471 #include <complex.h>
29477 int (*ptr)() = (int (*)())jnf128;
29486 if ac_fn_c_try_link
"$LINENO"; then :
29487 gcc_cv_math_func_jnf128
=yes
29489 gcc_cv_math_func_jnf128
=no
29491 rm -f core conftest.err conftest.
$ac_objext \
29492 conftest
$ac_exeext conftest.
$ac_ext
29494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_jnf128" >&5
29495 $as_echo "$gcc_cv_math_func_jnf128" >&6; }
29496 if test $gcc_cv_math_func_jnf128 = yes; then
29498 cat >>confdefs.h
<<_ACEOF
29499 #define HAVE_JNF128 1
29507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y0f128" >&5
29508 $as_echo_n "checking for y0f128... " >&6; }
29509 if ${gcc_cv_math_func_y0f128+:} false
; then :
29510 $as_echo_n "(cached) " >&6
29512 if test x
$gcc_no_link = xyes
; then
29513 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29516 /* end confdefs.h. */
29518 #ifdef HAVE_COMPLEX_H
29519 #include <complex.h>
29525 int (*ptr)() = (int (*)())y0f128;
29534 if ac_fn_c_try_link
"$LINENO"; then :
29535 gcc_cv_math_func_y0f128
=yes
29537 gcc_cv_math_func_y0f128
=no
29539 rm -f core conftest.err conftest.
$ac_objext \
29540 conftest
$ac_exeext conftest.
$ac_ext
29542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y0f128" >&5
29543 $as_echo "$gcc_cv_math_func_y0f128" >&6; }
29544 if test $gcc_cv_math_func_y0f128 = yes; then
29546 cat >>confdefs.h
<<_ACEOF
29547 #define HAVE_Y0F128 1
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for y1f128" >&5
29556 $as_echo_n "checking for y1f128... " >&6; }
29557 if ${gcc_cv_math_func_y1f128+:} false
; then :
29558 $as_echo_n "(cached) " >&6
29560 if test x
$gcc_no_link = xyes
; then
29561 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29564 /* end confdefs.h. */
29566 #ifdef HAVE_COMPLEX_H
29567 #include <complex.h>
29573 int (*ptr)() = (int (*)())y1f128;
29582 if ac_fn_c_try_link
"$LINENO"; then :
29583 gcc_cv_math_func_y1f128
=yes
29585 gcc_cv_math_func_y1f128
=no
29587 rm -f core conftest.err conftest.
$ac_objext \
29588 conftest
$ac_exeext conftest.
$ac_ext
29590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_y1f128" >&5
29591 $as_echo "$gcc_cv_math_func_y1f128" >&6; }
29592 if test $gcc_cv_math_func_y1f128 = yes; then
29594 cat >>confdefs.h
<<_ACEOF
29595 #define HAVE_Y1F128 1
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ynf128" >&5
29604 $as_echo_n "checking for ynf128... " >&6; }
29605 if ${gcc_cv_math_func_ynf128+:} false
; then :
29606 $as_echo_n "(cached) " >&6
29608 if test x
$gcc_no_link = xyes
; then
29609 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29612 /* end confdefs.h. */
29614 #ifdef HAVE_COMPLEX_H
29615 #include <complex.h>
29621 int (*ptr)() = (int (*)())ynf128;
29630 if ac_fn_c_try_link
"$LINENO"; then :
29631 gcc_cv_math_func_ynf128
=yes
29633 gcc_cv_math_func_ynf128
=no
29635 rm -f core conftest.err conftest.
$ac_objext \
29636 conftest
$ac_exeext conftest.
$ac_ext
29638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_ynf128" >&5
29639 $as_echo "$gcc_cv_math_func_ynf128" >&6; }
29640 if test $gcc_cv_math_func_ynf128 = yes; then
29642 cat >>confdefs.h
<<_ACEOF
29643 #define HAVE_YNF128 1
29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgammaf128" >&5
29652 $as_echo_n "checking for tgammaf128... " >&6; }
29653 if ${gcc_cv_math_func_tgammaf128+:} false
; then :
29654 $as_echo_n "(cached) " >&6
29656 if test x
$gcc_no_link = xyes
; then
29657 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29660 /* end confdefs.h. */
29662 #ifdef HAVE_COMPLEX_H
29663 #include <complex.h>
29669 int (*ptr)() = (int (*)())tgammaf128;
29678 if ac_fn_c_try_link
"$LINENO"; then :
29679 gcc_cv_math_func_tgammaf128
=yes
29681 gcc_cv_math_func_tgammaf128
=no
29683 rm -f core conftest.err conftest.
$ac_objext \
29684 conftest
$ac_exeext conftest.
$ac_ext
29686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_tgammaf128" >&5
29687 $as_echo "$gcc_cv_math_func_tgammaf128" >&6; }
29688 if test $gcc_cv_math_func_tgammaf128 = yes; then
29690 cat >>confdefs.h
<<_ACEOF
29691 #define HAVE_TGAMMAF128 1
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lgammaf128" >&5
29700 $as_echo_n "checking for lgammaf128... " >&6; }
29701 if ${gcc_cv_math_func_lgammaf128+:} false
; then :
29702 $as_echo_n "(cached) " >&6
29704 if test x
$gcc_no_link = xyes
; then
29705 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29708 /* end confdefs.h. */
29710 #ifdef HAVE_COMPLEX_H
29711 #include <complex.h>
29717 int (*ptr)() = (int (*)())lgammaf128;
29726 if ac_fn_c_try_link
"$LINENO"; then :
29727 gcc_cv_math_func_lgammaf128
=yes
29729 gcc_cv_math_func_lgammaf128
=no
29731 rm -f core conftest.err conftest.
$ac_objext \
29732 conftest
$ac_exeext conftest.
$ac_ext
29734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_lgammaf128" >&5
29735 $as_echo "$gcc_cv_math_func_lgammaf128" >&6; }
29736 if test $gcc_cv_math_func_lgammaf128 = yes; then
29738 cat >>confdefs.h
<<_ACEOF
29739 #define HAVE_LGAMMAF128 1
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacosf128" >&5
29749 $as_echo_n "checking for cacosf128... " >&6; }
29750 if ${gcc_cv_math_func_cacosf128+:} false
; then :
29751 $as_echo_n "(cached) " >&6
29753 if test x
$gcc_no_link = xyes
; then
29754 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29757 /* end confdefs.h. */
29759 #ifdef HAVE_COMPLEX_H
29760 #include <complex.h>
29766 int (*ptr)() = (int (*)())cacosf128;
29775 if ac_fn_c_try_link
"$LINENO"; then :
29776 gcc_cv_math_func_cacosf128
=yes
29778 gcc_cv_math_func_cacosf128
=no
29780 rm -f core conftest.err conftest.
$ac_objext \
29781 conftest
$ac_exeext conftest.
$ac_ext
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacosf128" >&5
29784 $as_echo "$gcc_cv_math_func_cacosf128" >&6; }
29785 if test $gcc_cv_math_func_cacosf128 = yes; then
29787 cat >>confdefs.h
<<_ACEOF
29788 #define HAVE_CACOSF128 1
29796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cacoshf128" >&5
29797 $as_echo_n "checking for cacoshf128... " >&6; }
29798 if ${gcc_cv_math_func_cacoshf128+:} false
; then :
29799 $as_echo_n "(cached) " >&6
29801 if test x
$gcc_no_link = xyes
; then
29802 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29805 /* end confdefs.h. */
29807 #ifdef HAVE_COMPLEX_H
29808 #include <complex.h>
29814 int (*ptr)() = (int (*)())cacoshf128;
29823 if ac_fn_c_try_link
"$LINENO"; then :
29824 gcc_cv_math_func_cacoshf128
=yes
29826 gcc_cv_math_func_cacoshf128
=no
29828 rm -f core conftest.err conftest.
$ac_objext \
29829 conftest
$ac_exeext conftest.
$ac_ext
29831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_cacoshf128" >&5
29832 $as_echo "$gcc_cv_math_func_cacoshf128" >&6; }
29833 if test $gcc_cv_math_func_cacoshf128 = yes; then
29835 cat >>confdefs.h
<<_ACEOF
29836 #define HAVE_CACOSHF128 1
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinf128" >&5
29845 $as_echo_n "checking for casinf128... " >&6; }
29846 if ${gcc_cv_math_func_casinf128+:} false
; then :
29847 $as_echo_n "(cached) " >&6
29849 if test x
$gcc_no_link = xyes
; then
29850 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29853 /* end confdefs.h. */
29855 #ifdef HAVE_COMPLEX_H
29856 #include <complex.h>
29862 int (*ptr)() = (int (*)())casinf128;
29871 if ac_fn_c_try_link
"$LINENO"; then :
29872 gcc_cv_math_func_casinf128
=yes
29874 gcc_cv_math_func_casinf128
=no
29876 rm -f core conftest.err conftest.
$ac_objext \
29877 conftest
$ac_exeext conftest.
$ac_ext
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinf128" >&5
29880 $as_echo "$gcc_cv_math_func_casinf128" >&6; }
29881 if test $gcc_cv_math_func_casinf128 = yes; then
29883 cat >>confdefs.h
<<_ACEOF
29884 #define HAVE_CASINF128 1
29892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for casinhf128" >&5
29893 $as_echo_n "checking for casinhf128... " >&6; }
29894 if ${gcc_cv_math_func_casinhf128+:} false
; then :
29895 $as_echo_n "(cached) " >&6
29897 if test x
$gcc_no_link = xyes
; then
29898 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29901 /* end confdefs.h. */
29903 #ifdef HAVE_COMPLEX_H
29904 #include <complex.h>
29910 int (*ptr)() = (int (*)())casinhf128;
29919 if ac_fn_c_try_link
"$LINENO"; then :
29920 gcc_cv_math_func_casinhf128
=yes
29922 gcc_cv_math_func_casinhf128
=no
29924 rm -f core conftest.err conftest.
$ac_objext \
29925 conftest
$ac_exeext conftest.
$ac_ext
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_casinhf128" >&5
29928 $as_echo "$gcc_cv_math_func_casinhf128" >&6; }
29929 if test $gcc_cv_math_func_casinhf128 = yes; then
29931 cat >>confdefs.h
<<_ACEOF
29932 #define HAVE_CASINHF128 1
29940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanf128" >&5
29941 $as_echo_n "checking for catanf128... " >&6; }
29942 if ${gcc_cv_math_func_catanf128+:} false
; then :
29943 $as_echo_n "(cached) " >&6
29945 if test x
$gcc_no_link = xyes
; then
29946 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29949 /* end confdefs.h. */
29951 #ifdef HAVE_COMPLEX_H
29952 #include <complex.h>
29958 int (*ptr)() = (int (*)())catanf128;
29967 if ac_fn_c_try_link
"$LINENO"; then :
29968 gcc_cv_math_func_catanf128
=yes
29970 gcc_cv_math_func_catanf128
=no
29972 rm -f core conftest.err conftest.
$ac_objext \
29973 conftest
$ac_exeext conftest.
$ac_ext
29975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanf128" >&5
29976 $as_echo "$gcc_cv_math_func_catanf128" >&6; }
29977 if test $gcc_cv_math_func_catanf128 = yes; then
29979 cat >>confdefs.h
<<_ACEOF
29980 #define HAVE_CATANF128 1
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catanhf128" >&5
29989 $as_echo_n "checking for catanhf128... " >&6; }
29990 if ${gcc_cv_math_func_catanhf128+:} false
; then :
29991 $as_echo_n "(cached) " >&6
29993 if test x
$gcc_no_link = xyes
; then
29994 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29999 #ifdef HAVE_COMPLEX_H
30000 #include <complex.h>
30006 int (*ptr)() = (int (*)())catanhf128;
30015 if ac_fn_c_try_link
"$LINENO"; then :
30016 gcc_cv_math_func_catanhf128
=yes
30018 gcc_cv_math_func_catanhf128
=no
30020 rm -f core conftest.err conftest.
$ac_objext \
30021 conftest
$ac_exeext conftest.
$ac_ext
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_math_func_catanhf128" >&5
30024 $as_echo "$gcc_cv_math_func_catanhf128" >&6; }
30025 if test $gcc_cv_math_func_catanhf128 = yes; then
30027 cat >>confdefs.h
<<_ACEOF
30028 #define HAVE_CATANHF128 1
30034 # Check whether the system has a working stat()
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target stat is reliable" >&5
30037 $as_echo_n "checking whether the target stat is reliable... " >&6; }
30038 if ${libgfor_cv_have_working_stat+:} false
; then :
30039 $as_echo_n "(cached) " >&6
30042 if test "$cross_compiling" = yes; then :
30044 case "${target}" in
30045 *mingw
*) libgfor_cv_have_working_stat
=no
;;
30046 *) libgfor_cv_have_working_stat
=yes;;
30049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30050 /* end confdefs.h. */
30053 #include <sys/types.h>
30054 #include <sys/stat.h>
30055 #include <unistd.h>
30060 struct stat st1, st2;
30062 f = fopen ("foo", "w");
30063 g = fopen ("bar", "w");
30064 if (stat ("foo", &st1) != 0 || stat ("bar", &st2))
30066 if (st1.st_dev == st2.st_dev && st1.st_ino == st2.st_ino)
30073 if ac_fn_c_try_run
"$LINENO"; then :
30074 libgfor_cv_have_working_stat
=yes
30076 libgfor_cv_have_working_stat
=no
30078 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
30079 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_working_stat" >&5
30084 $as_echo "$libgfor_cv_have_working_stat" >&6; }
30085 if test x
"$libgfor_cv_have_working_stat" = xyes
; then
30087 $as_echo "#define HAVE_WORKING_STAT 1" >>confdefs.h
30091 # Check whether __mingw_snprintf() is present
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __mingw_snprintf is present" >&5
30094 $as_echo_n "checking whether __mingw_snprintf is present... " >&6; }
30095 if ${libgfor_cv_have_mingw_snprintf+:} false
; then :
30096 $as_echo_n "(cached) " >&6
30099 if test x
$gcc_no_link = xyes
; then
30100 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30103 /* end confdefs.h. */
30106 extern int __mingw_snprintf (char *, size_t, const char *, ...);
30112 __mingw_snprintf (NULL, 0, "%d\n", 1);
30118 if ac_fn_c_try_link
"$LINENO"; then :
30119 eval "libgfor_cv_have_mingw_snprintf=yes"
30121 eval "libgfor_cv_have_mingw_snprintf=no"
30123 rm -f core conftest.err conftest.
$ac_objext \
30124 conftest
$ac_exeext conftest.
$ac_ext
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_mingw_snprintf" >&5
30128 $as_echo "$libgfor_cv_have_mingw_snprintf" >&6; }
30129 if test x
"$libgfor_cv_have_mingw_snprintf" = xyes
; then
30131 $as_echo "#define HAVE_MINGW_SNPRINTF 1" >>confdefs.h
30136 have_iec_60559_libc_support
=no
30137 if test "x$ac_cv_func_strtof128$ac_cv_func_strfromf128" = xyesyes \
30138 && test "x$gcc_cv_math_func_sinf128$gcc_cv_math_func_cacosf128" = xyesyes
; then
30139 have_iec_60559_libc_support
=yes
30142 # Check whether libquadmath should be used
30143 # Check whether --enable-libquadmath-support was given.
30144 if test "${enable_libquadmath_support+set}" = set; then :
30145 enableval
=$enable_libquadmath_support; ENABLE_LIBQUADMATH_SUPPORT
=$enableval
30147 if test "x$have_iec_60559_libc_support" = xyes
; then
30148 ENABLE_LIBQUADMATH_SUPPORT
=default
30150 ENABLE_LIBQUADMATH_SUPPORT
=yes
30154 enable_libquadmath_support
=
30155 if test "${ENABLE_LIBQUADMATH_SUPPORT}" = "no" ; then
30156 enable_libquadmath_support
=no
30157 elif test "${ENABLE_LIBQUADMATH_SUPPORT}" = "default" ; then
30158 enable_libquadmath_support
=default
30161 # Check whether we have a _Float128 type, depends on enable_libquadmath_support
30162 # and have_iec_60559_libc_support.
30170 if test "x$enable_libquadmath_support" != xno
; then
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have a usable _Float128 type" >&5
30173 $as_echo_n "checking whether we have a usable _Float128 type... " >&6; }
30174 if ${libgfor_cv_have_float128+:} false
; then :
30175 $as_echo_n "(cached) " >&6
30178 if test x
$gcc_no_link = xyes
; then
30179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30180 /* end confdefs.h. */
30182 _Float128 foo (_Float128 x)
30184 _Complex _Float128 z1, z2;
30190 return (_Float128) z2;
30193 _Float128 bar (_Float128 x)
30195 return x * __builtin_huge_valf128 ();
30198 __float128 baz (__float128 x)
30200 return x * __builtin_huge_valf128 ();
30218 if ac_fn_c_try_compile
"$LINENO"; then :
30220 libgfor_cv_have_float128
=yes
30224 libgfor_cv_have_float128
=no
30227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30229 if test x
$gcc_no_link = xyes
; then
30230 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30233 /* end confdefs.h. */
30235 _Float128 foo (_Float128 x)
30237 _Complex _Float128 z1, z2;
30243 return (_Float128) z2;
30246 _Float128 bar (_Float128 x)
30248 return x * __builtin_huge_valf128 ();
30251 __float128 baz (__float128 x)
30253 return x * __builtin_huge_valf128 ();
30271 if ac_fn_c_try_link
"$LINENO"; then :
30273 libgfor_cv_have_float128
=yes
30277 libgfor_cv_have_float128
=no
30280 rm -f core conftest.err conftest.
$ac_objext \
30281 conftest
$ac_exeext conftest.
$ac_ext
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_float128" >&5
30285 $as_echo "$libgfor_cv_have_float128" >&6; }
30287 if test "x$have_iec_60559_libc_support$enable_libquadmath_support$libgfor_cv_have_float128" = xyesdefaultyes
; then
30292 if test "x$libgfor_cv_have_float128" = xyes
; then
30293 if test "x$USE_IEC_60559" = xyes
; then
30295 $as_echo "#define USE_IEC_60559 1" >>confdefs.h
30299 $as_echo "#define HAVE_FLOAT128 1" >>confdefs.h
30302 ac_xsave_c_werror_flag
=$ac_c_werror_flag
30303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether --as-needed/-z ignore works" >&5
30304 $as_echo_n "checking whether --as-needed/-z ignore works... " >&6; }
30305 if ${libgfor_cv_have_as_needed+:} false
; then :
30306 $as_echo_n "(cached) " >&6
30309 # Test for native Solaris options first.
30310 # No whitespace after -z to pass it through -Wl.
30311 libgfor_cv_as_needed_option
="-zignore"
30312 libgfor_cv_no_as_needed_option
="-zrecord"
30313 save_LDFLAGS
="$LDFLAGS"
30314 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30315 libgfor_cv_have_as_needed
=no
30317 ac_c_werror_flag
=yes
30318 if test x
$gcc_no_link = xyes
; then
30319 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30322 /* end confdefs.h. */
30332 if ac_fn_c_try_link
"$LINENO"; then :
30333 libgfor_cv_have_as_needed
=yes
30335 libgfor_cv_have_as_needed
=no
30337 rm -f core conftest.err conftest.
$ac_objext \
30338 conftest
$ac_exeext conftest.
$ac_ext
30339 LDFLAGS
="$save_LDFLAGS"
30340 if test "x$libgfor_cv_have_as_needed" = xno
; then
30341 libgfor_cv_as_needed_option
="--as-needed"
30342 libgfor_cv_no_as_needed_option
="--no-as-needed"
30343 save_LDFLAGS
="$LDFLAGS"
30344 LDFLAGS
="$LDFLAGS -Wl,$libgfor_cv_as_needed_option -lm -Wl,$libgfor_cv_no_as_needed_option"
30345 libgfor_cv_have_as_needed
=no
30347 ac_c_werror_flag
=yes
30348 if test x
$gcc_no_link = xyes
; then
30349 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30352 /* end confdefs.h. */
30362 if ac_fn_c_try_link
"$LINENO"; then :
30363 libgfor_cv_have_as_needed
=yes
30365 libgfor_cv_have_as_needed
=no
30367 rm -f core conftest.err conftest.
$ac_objext \
30368 conftest
$ac_exeext conftest.
$ac_ext
30369 LDFLAGS
="$save_LDFLAGS"
30371 ac_c_werror_flag
=$ac_xsave_c_werror_flag
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_as_needed" >&5
30375 $as_echo "$libgfor_cv_have_as_needed" >&6; }
30377 touch conftest1.
$ac_objext conftest2.
$ac_objext
30378 LQUADMATH
=-lquadmath
30379 $FC -static-libgfortran -### -o conftest \
30380 conftest1.
$ac_objext -lgfortran conftest2.
$ac_objext 2>&1 >/dev
/null \
30381 |
grep "conftest1.$ac_objext.*conftest2.$ac_objext" > conftest.cmd
30382 if grep "conftest1.$ac_objext.* -Bstatic -lgfortran -Bdynamic .*conftest2.$ac_objext" \
30383 conftest.cmd
>/dev
/null
2>&1; then
30384 LQUADMATH
="%{static-libquadmath:-Bstatic} -lquadmath %{static-libquadmath:-Bdynamic}"
30385 elif grep "conftest1.$ac_objext.* -bstatic -lgfortran -bdynamic .*conftest2.$ac_objext" \
30386 conftest.cmd
>/dev
/null
2>&1; then
30387 LQUADMATH
="%{static-libquadmath:-bstatic} -lquadmath %{static-libquadmath:-bdynamic}"
30388 elif grep "conftest1.$ac_objext.* -aarchive_shared -lgfortran -adefault .*conftest2.$ac_objext" \
30389 conftest.cmd
>/dev
/null
2>&1; then
30390 LQUADMATH
="%{static-libquadmath:-aarchive_shared} -lquadmath %{static-libquadmath:-adefault}"
30391 elif grep "conftest1.$ac_objext.*libgfortran.a .*conftest2.$ac_objext" \
30392 conftest.cmd
>/dev
/null
2>&1; then
30393 LQUADMATH
="%{static-libquadmath:libquadmath.a%s;:-lquadmath}"
30395 rm -f conftest1.
$ac_objext conftest2.
$ac_objext conftest conftest.cmd
30397 if test "x$libgfor_cv_have_as_needed" = xyes
; then
30398 if test "x$USE_IEC_60559" = xyes
; then
30399 LIBQUADSPEC
="$libgfor_cv_as_needed_option $LQUADMATH $libgfor_cv_no_as_needed_option"
30401 LIBQUADSPEC
="%{static-libgfortran:$libgfor_cv_as_needed_option} $LQUADMATH %{static-libgfortran:$libgfor_cv_no_as_needed_option}"
30404 LIBQUADSPEC
="$LQUADMATH"
30406 if test "x$USE_IEC_60559" != xyes
; then
30407 if test -f ..
/libquadmath
/libquadmath.la
; then
30408 LIBQUADLIB
=..
/libquadmath
/libquadmath.la
30409 LIBQUADLIB_DEP
=..
/libquadmath
/libquadmath.la
30410 LIBQUADINCLUDE
='-I$(srcdir)/../libquadmath'
30412 LIBQUADLIB
="-lquadmath"
30427 # Check for GNU libc feenableexcept
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for feenableexcept in -lm" >&5
30429 $as_echo_n "checking for feenableexcept in -lm... " >&6; }
30430 if ${ac_cv_lib_m_feenableexcept+:} false
; then :
30431 $as_echo_n "(cached) " >&6
30433 ac_check_lib_save_LIBS
=$LIBS
30435 if test x
$gcc_no_link = xyes
; then
30436 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30439 /* end confdefs.h. */
30441 /* Override any GCC internal prototype to avoid an error.
30442 Use char because int might match the return type of a GCC
30443 builtin and then its argument prototype would still apply. */
30447 char feenableexcept ();
30451 return feenableexcept ();
30456 if ac_fn_c_try_link
"$LINENO"; then :
30457 ac_cv_lib_m_feenableexcept
=yes
30459 ac_cv_lib_m_feenableexcept
=no
30461 rm -f core conftest.err conftest.
$ac_objext \
30462 conftest
$ac_exeext conftest.
$ac_ext
30463 LIBS
=$ac_check_lib_save_LIBS
30465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_feenableexcept" >&5
30466 $as_echo "$ac_cv_lib_m_feenableexcept" >&6; }
30467 if test "x$ac_cv_lib_m_feenableexcept" = xyes
; then :
30468 have_feenableexcept
=yes
30469 $as_echo "#define HAVE_FEENABLEEXCEPT 1" >>confdefs.h
30474 # At least for glibc, clock_gettime is in librt. But don't
30475 # pull that in if it still doesn't give us the function we want. This
30476 # test is copied from libgomp, and modified to not link in -lrt as
30477 # libgfortran calls clock_gettime via a weak reference if it's found
30479 if test "$ac_cv_func_clock_gettime" = no
; then
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
30481 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
30482 if ${ac_cv_lib_rt_clock_gettime+:} false
; then :
30483 $as_echo_n "(cached) " >&6
30485 ac_check_lib_save_LIBS
=$LIBS
30487 if test x
$gcc_no_link = xyes
; then
30488 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30491 /* end confdefs.h. */
30493 /* Override any GCC internal prototype to avoid an error.
30494 Use char because int might match the return type of a GCC
30495 builtin and then its argument prototype would still apply. */
30499 char clock_gettime ();
30503 return clock_gettime ();
30508 if ac_fn_c_try_link
"$LINENO"; then :
30509 ac_cv_lib_rt_clock_gettime
=yes
30511 ac_cv_lib_rt_clock_gettime
=no
30513 rm -f core conftest.err conftest.
$ac_objext \
30514 conftest
$ac_exeext conftest.
$ac_ext
30515 LIBS
=$ac_check_lib_save_LIBS
30517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
30518 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
30519 if test "x$ac_cv_lib_rt_clock_gettime" = xyes
; then :
30521 $as_echo "#define HAVE_CLOCK_GETTIME_LIBRT 1" >>confdefs.h
30527 # Check for SysV fpsetmask
30529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether fpsetmask is present" >&5
30530 $as_echo_n "checking whether fpsetmask is present... " >&6; }
30531 if ${libgfor_cv_have_fpsetmask+:} false
; then :
30532 $as_echo_n "(cached) " >&6
30535 if test x
$gcc_no_link = xyes
; then
30536 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30539 /* end confdefs.h. */
30541 #if HAVE_FLOATINGPOINT_H
30542 # include <floatingpoint.h>
30543 #endif /* HAVE_FLOATINGPOINT_H */
30545 # include <ieeefp.h>
30546 #endif /* HAVE_IEEEFP_H */
30555 if ac_fn_c_try_link
"$LINENO"; then :
30556 eval "libgfor_cv_have_fpsetmask=yes"
30558 eval "libgfor_cv_have_fpsetmask=no"
30560 rm -f core conftest.err conftest.
$ac_objext \
30561 conftest
$ac_exeext conftest.
$ac_ext
30564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_fpsetmask" >&5
30565 $as_echo "$libgfor_cv_have_fpsetmask" >&6; }
30566 if test x
"$libgfor_cv_have_fpsetmask" = xyes
; then
30569 $as_echo "#define HAVE_FPSETMASK 1" >>confdefs.h
30573 ac_fn_c_check_type
"$LINENO" "fp_except" "ac_cv_type_fp_except" "
30574 #ifdef HAVE_IEEEFP_H
30575 #include <ieeefp.h>
30580 if test "x$ac_cv_type_fp_except" = xyes
; then :
30582 cat >>confdefs.h
<<_ACEOF
30583 #define HAVE_FP_EXCEPT 1
30588 ac_fn_c_check_type
"$LINENO" "fp_except_t" "ac_cv_type_fp_except_t" "
30589 #ifdef HAVE_IEEEFP_H
30590 #include <ieeefp.h>
30595 if test "x$ac_cv_type_fp_except_t" = xyes
; then :
30597 cat >>confdefs.h
<<_ACEOF
30598 #define HAVE_FP_EXCEPT_T 1
30604 ac_fn_c_check_type
"$LINENO" "fp_rnd" "ac_cv_type_fp_rnd" "
30605 #ifdef HAVE_IEEEFP_H
30606 #include <ieeefp.h>
30611 if test "x$ac_cv_type_fp_rnd" = xyes
; then :
30613 cat >>confdefs.h
<<_ACEOF
30614 #define HAVE_FP_RND 1
30619 ac_fn_c_check_type
"$LINENO" "fp_rnd_t" "ac_cv_type_fp_rnd_t" "
30620 #ifdef HAVE_IEEEFP_H
30621 #include <ieeefp.h>
30626 if test "x$ac_cv_type_fp_rnd_t" = xyes
; then :
30628 cat >>confdefs.h
<<_ACEOF
30629 #define HAVE_FP_RND_T 1
30636 # Check whether we have fpsetsticky or fpresetsticky
30637 ac_fn_c_check_func
"$LINENO" "fpsetsticky" "ac_cv_func_fpsetsticky"
30638 if test "x$ac_cv_func_fpsetsticky" = xyes
; then :
30639 have_fpsetsticky
=yes
30640 $as_echo "#define HAVE_FPSETSTICKY 1" >>confdefs.h
30644 ac_fn_c_check_func
"$LINENO" "fpresetsticky" "ac_cv_func_fpresetsticky"
30645 if test "x$ac_cv_func_fpresetsticky" = xyes
; then :
30646 have_fpresetsticky
=yes
30647 $as_echo "#define HAVE_FPRESETSTICKY 1" >>confdefs.h
30652 # Check for AIX fp_trap and fp_enable
30653 ac_fn_c_check_func
"$LINENO" "fp_trap" "ac_cv_func_fp_trap"
30654 if test "x$ac_cv_func_fp_trap" = xyes
; then :
30656 $as_echo "#define HAVE_FP_TRAP 1" >>confdefs.h
30660 ac_fn_c_check_func
"$LINENO" "fp_enable" "ac_cv_func_fp_enable"
30661 if test "x$ac_cv_func_fp_enable" = xyes
; then :
30663 $as_echo "#define HAVE_FP_ENABLE 1" >>confdefs.h
30668 # Check if _SOFT_FLOAT is defined
30670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SOFT_FLOAT defined" >&5
30671 $as_echo_n "checking for _SOFT_FLOAT defined... " >&6; }
30672 if ${ac_cv_defined__SOFT_FLOAT+:} false
; then :
30673 $as_echo_n "(cached) " >&6
30675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30676 /* end confdefs.h. */
30692 if ac_fn_c_try_compile
"$LINENO"; then :
30693 ac_cv_defined__SOFT_FLOAT
=yes
30695 ac_cv_defined__SOFT_FLOAT
=no
30697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_defined__SOFT_FLOAT" >&5
30700 $as_echo "$ac_cv_defined__SOFT_FLOAT" >&6; }
30701 if test $ac_cv_defined__SOFT_FLOAT != "no"; then :
30702 have_soft_float
=yes
30705 # Runs configure.host to set up necessary host-dependent shell variables.
30706 # We then display a message about it, and propagate them through the
30708 .
${srcdir}/configure.
host
30709 { $as_echo "$as_me:${as_lineno-$LINENO}: FPU dependent file will be ${fpu_host}.h" >&5
30710 $as_echo "$as_me: FPU dependent file will be ${fpu_host}.h" >&6;}
30711 { $as_echo "$as_me:${as_lineno-$LINENO}: Support for IEEE modules: ${ieee_support}" >&5
30712 $as_echo "$as_me: Support for IEEE modules: ${ieee_support}" >&6;}
30713 FPU_HOST_HEADER
=config
/${fpu_host}.h
30716 # Whether we will build the IEEE modules
30717 if test x
${ieee_support} = xyes
; then
30719 IEEE_SUPPORT_FALSE
='#'
30721 IEEE_SUPPORT_TRUE
='#'
30722 IEEE_SUPPORT_FALSE
=
30727 # Some targets require additional compiler options for IEEE compatibility.
30728 IEEE_FLAGS
="${ieee_flags}"
30731 # Conditionalize the makefile for this target machine.
30733 for f
in ${tmake_file}
30735 if test -f ${srcdir}/config
/$f
30737 tmake_file_
="${tmake_file_} \$(srcdir)/config/$f"
30740 tmake_file
="${tmake_file_}"
30744 # Check for POSIX getpwuid_r
30746 # There are two versions of getpwuid_r, the POSIX one with 5
30747 # arguments, and another one with 4 arguments used by at least HP-UX
30749 if test "$ac_cv_func_getpwuid_r" = "yes"; then
30750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking POSIX version of getpwuid_r with 5 arguments" >&5
30751 $as_echo_n "checking POSIX version of getpwuid_r with 5 arguments... " >&6; }
30752 if ${libgfor_cv_posix_getpwuid_r+:} false
; then :
30753 $as_echo_n "(cached) " >&6
30756 if test x
$gcc_no_link = xyes
; then
30757 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30760 /* end confdefs.h. */
30763 #include <sys/types.h>
30769 getpwuid_r(0, NULL, NULL, 0, NULL);
30775 if ac_fn_c_try_link
"$LINENO"; then :
30776 libgfor_cv_posix_getpwuid_r
="yes"
30778 libgfor_cv_posix_getpwuid_r
="no"
30780 rm -f core conftest.err conftest.
$ac_objext \
30781 conftest
$ac_exeext conftest.
$ac_ext
30783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_posix_getpwuid_r" >&5
30784 $as_echo "$libgfor_cv_posix_getpwuid_r" >&6; }
30786 if test "$libgfor_cv_posix_getpwuid_r" = "yes"; then
30788 $as_echo "#define HAVE_POSIX_GETPWUID_R 1" >>confdefs.h
30793 # Check out attribute support.
30795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
30796 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
30797 if ${libgfor_cv_have_attribute_visibility+:} false
; then :
30798 $as_echo_n "(cached) " >&6
30801 save_CFLAGS
="$CFLAGS"
30802 CFLAGS
="$CFLAGS -Werror"
30803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30804 /* end confdefs.h. */
30805 void __attribute__((visibility("hidden"))) foo(void) { }
30814 if ac_fn_c_try_compile
"$LINENO"; then :
30815 libgfor_cv_have_attribute_visibility
=yes
30817 libgfor_cv_have_attribute_visibility
=no
30819 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30820 CFLAGS
="$save_CFLAGS"
30822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_visibility" >&5
30823 $as_echo "$libgfor_cv_have_attribute_visibility" >&6; }
30824 if test $libgfor_cv_have_attribute_visibility = yes; then
30826 $as_echo "#define HAVE_ATTRIBUTE_VISIBILITY 1" >>confdefs.h
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports symbol aliases" >&5
30831 $as_echo_n "checking whether the target supports symbol aliases... " >&6; }
30832 if ${libgfor_cv_have_attribute_alias+:} false
; then :
30833 $as_echo_n "(cached) " >&6
30836 if test x
$gcc_no_link = xyes
; then
30837 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30840 /* end confdefs.h. */
30843 extern void bar(void) __attribute__((alias("foo")));
30852 if ac_fn_c_try_link
"$LINENO"; then :
30853 libgfor_cv_have_attribute_alias
=yes
30855 libgfor_cv_have_attribute_alias
=no
30857 rm -f core conftest.err conftest.
$ac_objext \
30858 conftest
$ac_exeext conftest.
$ac_ext
30860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_attribute_alias" >&5
30861 $as_echo "$libgfor_cv_have_attribute_alias" >&6; }
30862 if test $libgfor_cv_have_attribute_alias = yes; then
30864 $as_echo "#define HAVE_ATTRIBUTE_ALIAS 1" >>confdefs.h
30868 # Check out atomic builtins support.
30870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports __atomic_fetch_add" >&5
30871 $as_echo_n "checking whether the target supports __atomic_fetch_add... " >&6; }
30872 if ${libgfor_cv_have_atomic_fetch_add+:} false
; then :
30873 $as_echo_n "(cached) " >&6
30876 if test x
$gcc_no_link = xyes
; then
30877 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30886 if (foovar <= 0) return __atomic_fetch_add (&foovar, 1, __ATOMIC_ACQ_REL);
30887 if (foovar > 10) return __atomic_add_fetch (&foovar, -1, __ATOMIC_ACQ_REL);
30892 if ac_fn_c_try_link
"$LINENO"; then :
30893 libgfor_cv_have_atomic_fetch_add
=yes
30895 libgfor_cv_have_atomic_fetch_add
=no
30897 rm -f core conftest.err conftest.
$ac_objext \
30898 conftest
$ac_exeext conftest.
$ac_ext
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_atomic_fetch_add" >&5
30901 $as_echo "$libgfor_cv_have_atomic_fetch_add" >&6; }
30902 if test $libgfor_cv_have_atomic_fetch_add = yes; then
30904 $as_echo "#define HAVE_ATOMIC_FETCH_ADD 1" >>confdefs.h
30908 # Check out #pragma weak.
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pragma weak works" >&5
30911 $as_echo_n "checking whether pragma weak works... " >&6; }
30912 if ${libgfor_cv_have_pragma_weak+:} false
; then :
30913 $as_echo_n "(cached) " >&6
30916 gfor_save_CFLAGS
="$CFLAGS"
30917 CFLAGS
="$CFLAGS -Wunknown-pragmas"
30918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30919 /* end confdefs.h. */
30932 if ac_fn_c_try_compile
"$LINENO"; then :
30933 libgfor_cv_have_pragma_weak
=yes
30935 libgfor_cv_have_pragma_weak
=no
30937 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_pragma_weak" >&5
30940 $as_echo "$libgfor_cv_have_pragma_weak" >&6; }
30941 if test $libgfor_cv_have_pragma_weak = yes; then
30943 $as_echo "#define SUPPORTS_WEAK 1" >>confdefs.h
30947 *-*-darwin* |
*-*-hpux* |
*-*-cygwin* |
*-*-mingw* |
*-*-musl* )
30949 $as_echo "#define GTHREAD_USE_WEAK 0" >>confdefs.h
30954 # Check out weakref support.
30956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports weakref" >&5
30957 $as_echo_n "checking whether the target supports weakref... " >&6; }
30958 if ${libgfor_cv_have_weakref+:} false
; then :
30959 $as_echo_n "(cached) " >&6
30962 save_CFLAGS
="$CFLAGS"
30963 CFLAGS
="$CFLAGS -Wunknown-pragmas -Werror"
30964 if test x
$gcc_no_link = xyes
; then
30965 as_fn_error $?
"Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
30968 /* end confdefs.h. */
30970 static int mytoto (int) __attribute__((__weakref__("toto")));
30975 return (mytoto != 0);
30980 if ac_fn_c_try_link
"$LINENO"; then :
30981 libgfor_cv_have_weakref
=yes
30983 libgfor_cv_have_weakref
=no
30985 rm -f core conftest.err conftest.
$ac_objext \
30986 conftest
$ac_exeext conftest.
$ac_ext
30987 CFLAGS
="$save_CFLAGS"
30989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_weakref" >&5
30990 $as_echo "$libgfor_cv_have_weakref" >&6; }
30991 if test $libgfor_cv_have_weakref = yes; then
30993 $as_echo "#define SUPPORTS_WEAKREF 1" >>confdefs.h
30997 # Various other checks on target
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target can unlink an open file" >&5
31000 $as_echo_n "checking whether the target can unlink an open file... " >&6; }
31001 if ${libgfor_cv_have_unlink_open_file+:} false
; then :
31002 $as_echo_n "(cached) " >&6
31005 if test "$cross_compiling" = yes; then :
31007 case "${target}" in
31008 *mingw
*) libgfor_cv_have_unlink_open_file
=no
;;
31009 *) libgfor_cv_have_unlink_open_file
=yes;;
31012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h. */
31017 #include <unistd.h>
31018 #include <sys/stat.h>
31024 fd = open ("testfile", O_RDWR | O_CREAT, S_IWUSR | S_IRUSR);
31027 if (unlink ("testfile") == -1)
31029 write (fd, "This is a test\n", 15);
31032 if (open ("testfile", O_RDONLY) == -1 && errno == ENOENT)
31038 if ac_fn_c_try_run
"$LINENO"; then :
31039 libgfor_cv_have_unlink_open_file
=yes
31041 libgfor_cv_have_unlink_open_file
=no
31043 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31044 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_unlink_open_file" >&5
31049 $as_echo "$libgfor_cv_have_unlink_open_file" >&6; }
31050 if test x
"$libgfor_cv_have_unlink_open_file" = xyes
; then
31052 $as_echo "#define HAVE_UNLINK_OPEN_FILE 1" >>confdefs.h
31056 # Check whether line terminator is LF or CRLF
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target has CRLF as line terminator" >&5
31059 $as_echo_n "checking whether the target has CRLF as line terminator... " >&6; }
31060 if ${libgfor_cv_have_crlf+:} false
; then :
31061 $as_echo_n "(cached) " >&6
31064 if test "$cross_compiling" = yes; then :
31066 case "${target}" in
31067 *mingw
*) libgfor_cv_have_crlf
=yes ;;
31068 *) libgfor_cv_have_crlf
=no
;;
31071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31074 /* This test program should exit with status 0 if system uses a CRLF as
31075 line terminator, and status 1 otherwise.
31076 Since it is used to check for mingw systems, and should return 0 in any
31077 other case, in case of a failure we will not use CRLF. */
31078 #include <sys/stat.h>
31079 #include <stdlib.h>
31091 fd = open ("foo", O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU);
31094 if (write (fd, "\n", 1) < 0)
31099 if ((fd = open ("foo", O_RDONLY | O_BINARY, S_IRWXU)) < 0)
31101 bytes = read (fd, buff, 5);
31102 if (bytes == 2 && buff[0] == '\r' && buff[1] == '\n')
31109 if ac_fn_c_try_run
"$LINENO"; then :
31110 libgfor_cv_have_crlf
=yes
31112 libgfor_cv_have_crlf
=no
31114 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
31115 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
31119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgfor_cv_have_crlf" >&5
31120 $as_echo "$libgfor_cv_have_crlf" >&6; }
31121 if test x
"$libgfor_cv_have_crlf" = xyes
; then
31123 $as_echo "#define HAVE_CRLF 1" >>confdefs.h
31127 # Check whether we support AVX extensions
31129 ac_save_CFLAGS
="$CFLAGS"
31131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31132 /* end confdefs.h. */
31134 void _mm256_zeroall (void)
31136 __builtin_ia32_vzeroall ();
31146 if ac_fn_c_try_compile
"$LINENO"; then :
31148 $as_echo "#define HAVE_AVX 1" >>confdefs.h
31151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31152 CFLAGS
="$ac_save_CFLAGS"
31155 # Check whether we support AVX2 extensions
31157 ac_save_CFLAGS
="$CFLAGS"
31158 CFLAGS
="-O2 -mavx2"
31159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31160 /* end confdefs.h. */
31162 typedef long long __v4di __attribute__ ((__vector_size__ (32)));
31164 mm256_is32_andnotsi256 (__v4di __X, __v4di __Y)
31166 return __builtin_ia32_andnotsi256 (__X, __Y);
31176 if ac_fn_c_try_compile
"$LINENO"; then :
31178 $as_echo "#define HAVE_AVX2 1" >>confdefs.h
31181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31182 CFLAGS
="$ac_save_CFLAGS"
31185 # Check whether we support AVX512f extensions
31187 ac_save_CFLAGS
="$CFLAGS"
31188 CFLAGS
="-O2 -mavx512f"
31189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31190 /* end confdefs.h. */
31192 typedef double __m512d __attribute__ ((__vector_size__ (64)));
31193 __m512d _mm512_add (__m512d a)
31195 __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4);
31196 /* For -m64/-mx32 also verify that code will work even if
31197 the target uses call saved zmm16+ and needs to emit
31198 unwind info for them (e.g. on mingw). See PR79127. */
31200 asm volatile ("" : : : "zmm16", "zmm17", "zmm18", "zmm19");
31212 if ac_fn_c_try_compile
"$LINENO"; then :
31214 $as_echo "#define HAVE_AVX512F 1" >>confdefs.h
31217 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31218 CFLAGS
="$ac_save_CFLAGS"
31221 # Check for FMA3 extensions
31223 ac_save_CFLAGS
="$CFLAGS"
31224 CFLAGS
="-O2 -mfma -mno-fma4"
31225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31228 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31229 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31230 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31232 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31244 if ac_fn_c_try_compile
"$LINENO"; then :
31246 $as_echo "#define HAVE_FMA3 1" >>confdefs.h
31249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31250 CFLAGS
="$ac_save_CFLAGS"
31253 # Check for FMA4 extensions
31255 ac_save_CFLAGS
="$CFLAGS"
31256 CFLAGS
="-O2 -mfma4 -mno-fma"
31257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31258 /* end confdefs.h. */
31260 typedef float __m128 __attribute__ ((__vector_size__ (16)));
31261 typedef float __v4sf __attribute__ ((__vector_size__ (16)));
31262 __m128 _mm_macc_ps(__m128 __A, __m128 __B, __m128 __C)
31264 return (__m128) __builtin_ia32_vfmaddps ((__v4sf)__A,
31276 if ac_fn_c_try_compile
"$LINENO"; then :
31278 $as_echo "#define HAVE_FMA4 1" >>confdefs.h
31281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31282 CFLAGS
="$ac_save_CFLAGS"
31285 # Check if AVX128 works
31287 ac_save_CFLAGS
="$CFLAGS"
31288 CFLAGS
="-O2 -mavx -mprefer-avx128"
31289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
31290 /* end confdefs.h. */
31303 if ac_fn_c_try_compile
"$LINENO"; then :
31305 $as_echo "#define HAVE_AVX128 1" >>confdefs.h
31309 HAVE_AVX128_FALSE
='#'
31311 HAVE_AVX128_TRUE
='#'
31318 HAVE_AVX128_FALSE
='#'
31320 HAVE_AVX128_TRUE
='#'
31325 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
31326 CFLAGS
="$ac_save_CFLAGS"
31329 # Determine what GCC version number to use in filesystem paths.
31331 get_gcc_base_ver
="cat"
31333 # Check whether --with-gcc-major-version-only was given.
31334 if test "${with_gcc_major_version_only+set}" = set; then :
31335 withval
=$with_gcc_major_version_only; if test x
$with_gcc_major_version_only = xyes
; then
31336 get_gcc_base_ver
="sed -e 's/^\([0-9]*\).*/\1/'"
31344 cat >confcache
<<\_ACEOF
31345 # This file is a shell script that caches the results of configure
31346 # tests run on this system so they can be shared between configure
31347 # scripts and configure runs, see configure's option --config-cache.
31348 # It is not useful on other systems. If it contains results you don't
31349 # want to keep, you may remove or edit it.
31351 # config.status only pays attention to the cache file if you give it
31352 # the --recheck option to rerun configure.
31354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31356 # following values.
31360 # The following way of writing the cache mishandles newlines in values,
31361 # but we know of no workaround that is simple, portable, and efficient.
31362 # So, we kill variables containing newlines.
31363 # Ultrix sh set writes to stderr and can't be redirected directly,
31364 # and sets the high bit in the cache file unless we assign to the vars.
31366 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31367 eval ac_val
=\$
$ac_var
31371 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31375 _ | IFS | as_nl
) ;; #(
31376 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31377 *) { eval $ac_var=; unset $ac_var;} ;;
31383 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31384 *${as_nl}ac_space
=\
*)
31385 # `set' does not quote correctly, so add quotes: double-quote
31386 # substitution turns \\\\ into \\, and sed turns \\ into \.
31389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31392 # `set' quotes correctly as required by POSIX, so do not add quotes.
31393 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31402 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31404 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31406 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31407 if test -w "$cache_file"; then
31408 if test "x$cache_file" != "x/dev/null"; then
31409 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31410 $as_echo "$as_me: updating cache $cache_file" >&6;}
31411 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31412 cat confcache
>"$cache_file"
31414 case $cache_file in #(
31416 mv -f confcache
"$cache_file"$$
&&
31417 mv -f "$cache_file"$$
"$cache_file" ;; #(
31419 mv -f confcache
"$cache_file" ;;
31424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31430 if test ${multilib} = yes; then
31431 multilib_arg
="--enable-multilib"
31436 # Write our Makefile and spec file.
31437 ac_config_files
="$ac_config_files Makefile libgfortran.spec"
31439 cat >confcache
<<\_ACEOF
31440 # This file is a shell script that caches the results of configure
31441 # tests run on this system so they can be shared between configure
31442 # scripts and configure runs, see configure's option --config-cache.
31443 # It is not useful on other systems. If it contains results you don't
31444 # want to keep, you may remove or edit it.
31446 # config.status only pays attention to the cache file if you give it
31447 # the --recheck option to rerun configure.
31449 # `ac_cv_env_foo' variables (set or unset) will be overridden when
31450 # loading this file, other *unset* `ac_cv_foo' will be assigned the
31451 # following values.
31455 # The following way of writing the cache mishandles newlines in values,
31456 # but we know of no workaround that is simple, portable, and efficient.
31457 # So, we kill variables containing newlines.
31458 # Ultrix sh set writes to stderr and can't be redirected directly,
31459 # and sets the high bit in the cache file unless we assign to the vars.
31461 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
31462 eval ac_val
=\$
$ac_var
31466 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
31467 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
31470 _ | IFS | as_nl
) ;; #(
31471 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
31472 *) { eval $ac_var=; unset $ac_var;} ;;
31478 case $as_nl`(ac_space=' '; set) 2>&1` in #(
31479 *${as_nl}ac_space
=\
*)
31480 # `set' does not quote correctly, so add quotes: double-quote
31481 # substitution turns \\\\ into \\, and sed turns \\ into \.
31484 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
31487 # `set' quotes correctly as required by POSIX, so do not add quotes.
31488 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
31497 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
31499 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
31501 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
31502 if test -w "$cache_file"; then
31503 if test "x$cache_file" != "x/dev/null"; then
31504 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31505 $as_echo "$as_me: updating cache $cache_file" >&6;}
31506 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
31507 cat confcache
>"$cache_file"
31509 case $cache_file in #(
31511 mv -f confcache
"$cache_file"$$
&&
31512 mv -f "$cache_file"$$
"$cache_file" ;; #(
31514 mv -f confcache
"$cache_file" ;;
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31520 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31525 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
31526 # Let make expand exec_prefix.
31527 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
31529 DEFS
=-DHAVE_CONFIG_H
31534 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
31535 # 1. Remove the extension, and $U if already installed.
31536 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
31537 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
31538 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
31539 # will be set to the directory where LIBOBJS objects are built.
31540 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
31541 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
31543 LIBOBJS
=$ac_libobjs
31545 LTLIBOBJS
=$ac_ltlibobjs
31548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
31549 $as_echo_n "checking that generated files are newer than configure... " >&6; }
31550 if test -n "$am_sleep_pid"; then
31551 # Hide warnings about reused PIDs.
31552 wait $am_sleep_pid 2>/dev
/null
31554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
31555 $as_echo "done" >&6; }
31556 if test -n "$EXEEXT"; then
31558 am__EXEEXT_FALSE
='#'
31560 am__EXEEXT_TRUE
='#'
31564 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
31565 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
31566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31568 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
31569 as_fn_error $?
"conditional \"AMDEP\" was never defined.
31570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31573 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31576 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
31577 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
31578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31580 if test -z "${HAVE_REAL_17_TRUE}" && test -z "${HAVE_REAL_17_FALSE}"; then
31581 as_fn_error $?
"conditional \"HAVE_REAL_17\" was never defined.
31582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31584 if test -z "${LIBGFOR_USE_SYMVER_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_FALSE}"; then
31585 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER\" was never defined.
31586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31588 if test -z "${LIBGFOR_USE_SYMVER_GNU_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_GNU_FALSE}"; then
31589 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_GNU\" was never defined.
31590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31592 if test -z "${LIBGFOR_USE_SYMVER_SUN_TRUE}" && test -z "${LIBGFOR_USE_SYMVER_SUN_FALSE}"; then
31593 as_fn_error $?
"conditional \"LIBGFOR_USE_SYMVER_SUN\" was never defined.
31594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31596 if test -z "${LIBGFOR_MINIMAL_TRUE}" && test -z "${LIBGFOR_MINIMAL_FALSE}"; then
31597 as_fn_error $?
"conditional \"LIBGFOR_MINIMAL\" was never defined.
31598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31600 if test -z "${HAVE_HWCAP_TRUE}" && test -z "${HAVE_HWCAP_FALSE}"; then
31601 as_fn_error $?
"conditional \"HAVE_HWCAP\" was never defined.
31602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31604 if test -z "${IEEE_SUPPORT_TRUE}" && test -z "${IEEE_SUPPORT_FALSE}"; then
31605 as_fn_error $?
"conditional \"IEEE_SUPPORT\" was never defined.
31606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31608 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31609 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31612 if test -z "${HAVE_AVX128_TRUE}" && test -z "${HAVE_AVX128_FALSE}"; then
31613 as_fn_error $?
"conditional \"HAVE_AVX128\" was never defined.
31614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
31617 : "${CONFIG_STATUS=./config.status}"
31619 ac_clean_files_save
=$ac_clean_files
31620 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
31621 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
31622 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
31624 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
31626 # Generated by $as_me.
31627 # Run this file to recreate the current configuration.
31628 # Compiler output produced by configure, useful for debugging
31629 # configure, is in config.log if it exists.
31632 ac_cs_recheck=false
31635 SHELL=\${CONFIG_SHELL-$SHELL}
31638 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
31639 ## -------------------- ##
31640 ## M4sh Initialization. ##
31641 ## -------------------- ##
31643 # Be more Bourne compatible
31644 DUALCASE
=1; export DUALCASE
# for MKS sh
31645 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
31648 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
31649 # is contrary to our usage. Disable this feature.
31650 alias -g '${1+"$@"}'='"$@"'
31651 setopt NO_GLOB_SUBST
31653 case `(set -o) 2>/dev/null` in #(
31665 # Printing a long string crashes Solaris 7 /usr/bin/printf.
31666 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
31667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
31668 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
31669 # Prefer a ksh shell builtin over an external printf program on Solaris,
31670 # but without wasting forks for bash or zsh.
31671 if test -z "$BASH_VERSION$ZSH_VERSION" \
31672 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
31673 as_echo='print
-r --'
31674 as_echo_n='print
-rn --'
31675 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
31676 as_echo='printf %s
\n'
31677 as_echo_n='printf %s
'
31679 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
31680 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
31681 as_echo_n='/usr
/ucb
/echo -n'
31683 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
31684 as_echo_n_body='eval
31688 expr "X$arg" : "X\\(.*\\)$as_nl";
31689 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
31691 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
31693 export as_echo_n_body
31694 as_echo_n='sh
-c $as_echo_n_body as_echo
'
31696 export as_echo_body
31697 as_echo='sh
-c $as_echo_body as_echo
'
31700 # The user is always right.
31701 if test "${PATH_SEPARATOR+set}" != set; then
31703 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
31704 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
31711 # We need space, tab and new line, in precisely that order. Quoting is
31712 # there to prevent editors from complaining about space-tab.
31713 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
31714 # splitting by setting IFS to empty value.)
31717 # Find who we are. Look in the path if we contain no directory separator.
31720 *[\\/]* ) as_myself=$0 ;;
31721 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31722 for as_dir in $PATH
31725 test -z "$as_dir" && as_dir=.
31726 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
31732 # We did not find ourselves, most probably we were run as `sh COMMAND'
31733 # in which case we are not to be found in the path.
31734 if test "x$as_myself" = x
; then
31737 if test ! -f "$as_myself"; then
31738 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
31742 # Unset variables that we do not need and which cause bugs (e.g. in
31743 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
31744 # suppresses any "Segmentation fault" message there. '((' could
31745 # trigger a bug in pdksh 5.2.14.
31746 for as_var
in BASH_ENV ENV MAIL MAILPATH
31747 do eval test x\
${$as_var+set} = xset \
31748 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
31761 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
31764 # as_fn_error STATUS ERROR [LINENO LOG_FD]
31765 # ----------------------------------------
31766 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
31767 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
31768 # script with STATUS, using 1 if that was 0.
31771 as_status
=$1; test $as_status -eq 0 && as_status
=1
31773 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
31774 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
31776 $as_echo "$as_me: error: $2" >&2
31777 as_fn_exit
$as_status
31781 # as_fn_set_status STATUS
31782 # -----------------------
31783 # Set $? to STATUS, without forking.
31784 as_fn_set_status
()
31787 } # as_fn_set_status
31789 # as_fn_exit STATUS
31790 # -----------------
31791 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
31795 as_fn_set_status
$1
31801 # Portably unset VAR.
31804 { eval $1=; unset $1;}
31806 as_unset
=as_fn_unset
31807 # as_fn_append VAR VALUE
31808 # ----------------------
31809 # Append the text in VALUE to the end of the definition contained in VAR. Take
31810 # advantage of any shell optimizations that allow amortized linear growth over
31811 # repeated appends, instead of the typical quadratic growth present in naive
31813 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
31814 eval 'as_fn_append ()
31825 # as_fn_arith ARG...
31826 # ------------------
31827 # Perform arithmetic evaluation on the ARGs, and store the result in the
31828 # global $as_val. Take advantage of shells that can avoid forks. The arguments
31829 # must be portable across $(()) and expr.
31830 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
31831 eval 'as_fn_arith ()
31838 as_val
=`expr "$@" || test $? -eq 1`
31843 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
31844 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
31850 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
31851 as_basename
=basename
31856 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
31862 as_me
=`$as_basename -- "$0" ||
31863 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
31864 X"$0" : 'X\(//\)$' \| \
31865 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
31867 sed '/^.*\/\([^/][^/]*\)\/*$/{
31881 # Avoid depending upon Character Ranges.
31882 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
31883 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
31884 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
31885 as_cr_digits
='0123456789'
31886 as_cr_alnum
=$as_cr_Letters$as_cr_digits
31888 ECHO_C
= ECHO_N
= ECHO_T
=
31889 case `echo -n x` in #(((((
31891 case `echo 'xy\c'` in
31892 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
31894 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
31901 rm -f conf$$ conf$$.exe conf$$.
file
31902 if test -d conf$$.dir
; then
31903 rm -f conf$$.dir
/conf$$.
file
31906 mkdir conf$$.dir
2>/dev
/null
31908 if (echo >conf$$.
file) 2>/dev
/null
; then
31909 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
31911 # ... but there are two gotchas:
31912 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
31913 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
31914 # In both cases, we have to default to `cp -pR'.
31915 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
31917 elif ln conf$$.
file conf$$
2>/dev
/null
; then
31925 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
31926 rmdir conf$$.dir
2>/dev
/null
31931 # Create "$as_dir" as a directory, including parents if necessary.
31936 -*) as_dir
=.
/$as_dir;;
31938 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
31942 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
31943 *) as_qdir
=$as_dir;;
31945 as_dirs
="'$as_qdir' $as_dirs"
31946 as_dir
=`$as_dirname -- "$as_dir" ||
31947 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
31948 X"$as_dir" : 'X\(//\)[^/]' \| \
31949 X"$as_dir" : 'X\(//\)$' \| \
31950 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
31951 $as_echo X"$as_dir" |
31952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
31956 /^X\(\/\/\)[^/].*/{
31969 test -d "$as_dir" && break
31971 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
31972 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
31976 if mkdir
-p .
2>/dev
/null
; then
31977 as_mkdir_p
='mkdir -p "$as_dir"'
31979 test -d .
/-p && rmdir .
/-p
31984 # as_fn_executable_p FILE
31985 # -----------------------
31986 # Test if FILE is an executable regular file.
31987 as_fn_executable_p
()
31989 test -f "$1" && test -x "$1"
31990 } # as_fn_executable_p
31991 as_test_x
='test -x'
31992 as_executable_p
=as_fn_executable_p
31994 # Sed expression to map a string onto a valid CPP name.
31995 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
31997 # Sed expression to map a string onto a valid variable name.
31998 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
32002 ## ----------------------------------- ##
32003 ## Main body of $CONFIG_STATUS script. ##
32004 ## ----------------------------------- ##
32006 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
32008 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32009 # Save the log message, to keep $0 and so on meaningful, and to
32010 # report actual input values of CONFIG_FILES etc. instead of their
32011 # values after options handling.
32013 This file was extended by GNU Fortran Runtime Library $as_me 0.3, which was
32014 generated by GNU Autoconf 2.69. Invocation command line was
32016 CONFIG_FILES = $CONFIG_FILES
32017 CONFIG_HEADERS = $CONFIG_HEADERS
32018 CONFIG_LINKS = $CONFIG_LINKS
32019 CONFIG_COMMANDS = $CONFIG_COMMANDS
32022 on `(hostname || uname -n) 2>/dev/null | sed 1q`
32027 case $ac_config_files in *"
32028 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
32031 case $ac_config_headers in *"
32032 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
32036 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32037 # Files that config.status was made for.
32038 config_files="$ac_config_files"
32039 config_headers="$ac_config_headers"
32040 config_commands="$ac_config_commands"
32044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32046 \`$as_me' instantiates files and other configuration actions
32047 from templates according to the current configuration. Unless the files
32048 and actions are specified as TAGs, all are instantiated by default.
32050 Usage: $0 [OPTION]... [TAG]...
32052 -h, --help print this help, then exit
32053 -V, --version print version number and configuration settings, then exit
32054 --config print configuration, then exit
32055 -q, --quiet, --silent
32056 do not print progress messages
32057 -d, --debug don't remove temporary files
32058 --recheck update $as_me by reconfiguring in the same conditions
32059 --file=FILE[:TEMPLATE]
32060 instantiate the configuration file FILE
32061 --header=FILE[:TEMPLATE]
32062 instantiate the configuration header FILE
32064 Configuration files:
32067 Configuration headers:
32070 Configuration commands:
32073 Report bugs to the package provider.
32074 GNU Fortran Runtime Library home page: <http://www.gnu.org/software/libgfortran/>.
32075 General help using GNU software: <http://www.gnu.org/gethelp/>."
32078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32079 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32081 GNU Fortran Runtime Library config.status 0.3
32082 configured by $0, generated by GNU Autoconf 2.69,
32083 with options \\"\$ac_cs_config\\"
32085 Copyright (C) 2012 Free Software Foundation, Inc.
32086 This config.status script is free software; the Free Software Foundation
32087 gives unlimited permission to copy, distribute and modify it."
32094 test -n "\$AWK" || AWK=awk
32097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32098 # The default lists apply if the user does not specify any file.
32104 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32105 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
32109 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
32121 # Handling of the options.
32122 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
32124 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
32125 $as_echo "$ac_cs_version"; exit ;;
32126 --config |
--confi |
--conf |
--con |
--co |
--c )
32127 $as_echo "$ac_cs_config"; exit ;;
32128 --debug |
--debu |
--deb |
--de |
--d |
-d )
32130 --file |
--fil |
--fi |
--f )
32133 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32134 '') as_fn_error $?
"missing file argument" ;;
32136 as_fn_append CONFIG_FILES
" '$ac_optarg'"
32137 ac_need_defaults
=false
;;
32138 --header |
--heade |
--head |
--hea )
32141 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
32143 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
32144 ac_need_defaults
=false
;;
32146 # Conflict between --help and --header
32147 as_fn_error $?
"ambiguous option: \`$1'
32148 Try \`$0 --help' for more information.";;
32149 --help |
--hel |
-h )
32150 $as_echo "$ac_cs_usage"; exit ;;
32151 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
32152 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
32155 # This is an error.
32156 -*) as_fn_error $?
"unrecognized option: \`$1'
32157 Try \`$0 --help' for more information." ;;
32159 *) as_fn_append ac_config_targets
" $1"
32160 ac_need_defaults
=false
;;
32166 ac_configure_extra_args
=
32168 if $ac_cs_silent; then
32170 ac_configure_extra_args
="$ac_configure_extra_args --silent"
32174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32175 if \$ac_cs_recheck; then
32176 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
32178 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
32179 CONFIG_SHELL='$SHELL'
32180 export CONFIG_SHELL
32185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32189 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
32190 ## Running $as_me. ##
32196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32204 with_multisubdir="$with_multisubdir"
32205 with_multisrctop="$with_multisrctop"
32206 with_target_subdir="$with_target_subdir"
32207 ac_configure_args="${multilib_arg} ${ac_configure_args}"
32208 multi_basedir="$multi_basedir"
32209 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
32212 GFORTRAN="$GFORTRAN"
32214 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
32217 # The HP-UX ksh and POSIX shell print the target directory to stdout
32218 # if CDPATH is set.
32219 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
32221 sed_quote_subst='$sed_quote_subst'
32222 double_quote_subst='$double_quote_subst'
32223 delay_variable_subst='$delay_variable_subst'
32224 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
32225 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
32226 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
32227 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
32228 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
32229 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
32230 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
32231 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
32232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
32233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
32234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
32235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
32236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
32237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
32238 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
32239 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
32240 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
32241 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
32242 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
32243 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
32244 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
32245 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
32246 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
32247 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
32248 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
32249 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32250 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32251 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
32252 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32253 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32254 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
32255 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32256 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
32257 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32258 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
32259 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32260 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32261 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32262 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32263 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
32264 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
32265 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
32266 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
32267 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
32268 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
32269 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
32270 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32271 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32272 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"`'
32273 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32274 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32275 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
32276 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32277 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32278 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32279 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32280 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
32281 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32282 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32283 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32284 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
32285 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
32286 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
32287 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
32288 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32289 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
32290 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
32291 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
32292 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
32293 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
32294 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
32295 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
32296 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
32297 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32298 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
32299 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
32300 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
32301 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
32302 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
32303 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
32304 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
32305 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
32306 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
32307 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
32308 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
32309 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
32310 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32311 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32312 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32313 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32314 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32315 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32316 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32317 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32318 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
32319 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32320 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32321 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32322 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
32323 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
32324 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
32325 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
32326 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
32327 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
32328 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
32329 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
32330 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
32331 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32332 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
32333 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
32334 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
32335 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
32336 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
32337 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
32338 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
32339 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
32340 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
32341 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
32342 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
32343 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
32344 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
32345 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
32346 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
32347 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
32348 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
32349 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
32350 LD_FC='`$ECHO "$LD_FC" | $SED "$delay_single_quote_subst"`'
32351 reload_flag_FC='`$ECHO "$reload_flag_FC" | $SED "$delay_single_quote_subst"`'
32352 reload_cmds_FC='`$ECHO "$reload_cmds_FC" | $SED "$delay_single_quote_subst"`'
32353 old_archive_cmds_FC='`$ECHO "$old_archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32354 compiler_FC='`$ECHO "$compiler_FC" | $SED "$delay_single_quote_subst"`'
32355 GCC_FC='`$ECHO "$GCC_FC" | $SED "$delay_single_quote_subst"`'
32356 lt_prog_compiler_no_builtin_flag_FC='`$ECHO "$lt_prog_compiler_no_builtin_flag_FC" | $SED "$delay_single_quote_subst"`'
32357 lt_prog_compiler_wl_FC='`$ECHO "$lt_prog_compiler_wl_FC" | $SED "$delay_single_quote_subst"`'
32358 lt_prog_compiler_pic_FC='`$ECHO "$lt_prog_compiler_pic_FC" | $SED "$delay_single_quote_subst"`'
32359 lt_prog_compiler_static_FC='`$ECHO "$lt_prog_compiler_static_FC" | $SED "$delay_single_quote_subst"`'
32360 lt_cv_prog_compiler_c_o_FC='`$ECHO "$lt_cv_prog_compiler_c_o_FC" | $SED "$delay_single_quote_subst"`'
32361 archive_cmds_need_lc_FC='`$ECHO "$archive_cmds_need_lc_FC" | $SED "$delay_single_quote_subst"`'
32362 enable_shared_with_static_runtimes_FC='`$ECHO "$enable_shared_with_static_runtimes_FC" | $SED "$delay_single_quote_subst"`'
32363 export_dynamic_flag_spec_FC='`$ECHO "$export_dynamic_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32364 whole_archive_flag_spec_FC='`$ECHO "$whole_archive_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32365 compiler_needs_object_FC='`$ECHO "$compiler_needs_object_FC" | $SED "$delay_single_quote_subst"`'
32366 old_archive_from_new_cmds_FC='`$ECHO "$old_archive_from_new_cmds_FC" | $SED "$delay_single_quote_subst"`'
32367 old_archive_from_expsyms_cmds_FC='`$ECHO "$old_archive_from_expsyms_cmds_FC" | $SED "$delay_single_quote_subst"`'
32368 archive_cmds_FC='`$ECHO "$archive_cmds_FC" | $SED "$delay_single_quote_subst"`'
32369 archive_expsym_cmds_FC='`$ECHO "$archive_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32370 module_cmds_FC='`$ECHO "$module_cmds_FC" | $SED "$delay_single_quote_subst"`'
32371 module_expsym_cmds_FC='`$ECHO "$module_expsym_cmds_FC" | $SED "$delay_single_quote_subst"`'
32372 with_gnu_ld_FC='`$ECHO "$with_gnu_ld_FC" | $SED "$delay_single_quote_subst"`'
32373 allow_undefined_flag_FC='`$ECHO "$allow_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32374 no_undefined_flag_FC='`$ECHO "$no_undefined_flag_FC" | $SED "$delay_single_quote_subst"`'
32375 hardcode_libdir_flag_spec_FC='`$ECHO "$hardcode_libdir_flag_spec_FC" | $SED "$delay_single_quote_subst"`'
32376 hardcode_libdir_flag_spec_ld_FC='`$ECHO "$hardcode_libdir_flag_spec_ld_FC" | $SED "$delay_single_quote_subst"`'
32377 hardcode_libdir_separator_FC='`$ECHO "$hardcode_libdir_separator_FC" | $SED "$delay_single_quote_subst"`'
32378 hardcode_direct_FC='`$ECHO "$hardcode_direct_FC" | $SED "$delay_single_quote_subst"`'
32379 hardcode_direct_absolute_FC='`$ECHO "$hardcode_direct_absolute_FC" | $SED "$delay_single_quote_subst"`'
32380 hardcode_minus_L_FC='`$ECHO "$hardcode_minus_L_FC" | $SED "$delay_single_quote_subst"`'
32381 hardcode_shlibpath_var_FC='`$ECHO "$hardcode_shlibpath_var_FC" | $SED "$delay_single_quote_subst"`'
32382 hardcode_automatic_FC='`$ECHO "$hardcode_automatic_FC" | $SED "$delay_single_quote_subst"`'
32383 inherit_rpath_FC='`$ECHO "$inherit_rpath_FC" | $SED "$delay_single_quote_subst"`'
32384 link_all_deplibs_FC='`$ECHO "$link_all_deplibs_FC" | $SED "$delay_single_quote_subst"`'
32385 fix_srcfile_path_FC='`$ECHO "$fix_srcfile_path_FC" | $SED "$delay_single_quote_subst"`'
32386 always_export_symbols_FC='`$ECHO "$always_export_symbols_FC" | $SED "$delay_single_quote_subst"`'
32387 export_symbols_cmds_FC='`$ECHO "$export_symbols_cmds_FC" | $SED "$delay_single_quote_subst"`'
32388 exclude_expsyms_FC='`$ECHO "$exclude_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32389 include_expsyms_FC='`$ECHO "$include_expsyms_FC" | $SED "$delay_single_quote_subst"`'
32390 prelink_cmds_FC='`$ECHO "$prelink_cmds_FC" | $SED "$delay_single_quote_subst"`'
32391 file_list_spec_FC='`$ECHO "$file_list_spec_FC" | $SED "$delay_single_quote_subst"`'
32392 hardcode_action_FC='`$ECHO "$hardcode_action_FC" | $SED "$delay_single_quote_subst"`'
32393 compiler_lib_search_dirs_FC='`$ECHO "$compiler_lib_search_dirs_FC" | $SED "$delay_single_quote_subst"`'
32394 predep_objects_FC='`$ECHO "$predep_objects_FC" | $SED "$delay_single_quote_subst"`'
32395 postdep_objects_FC='`$ECHO "$postdep_objects_FC" | $SED "$delay_single_quote_subst"`'
32396 predeps_FC='`$ECHO "$predeps_FC" | $SED "$delay_single_quote_subst"`'
32397 postdeps_FC='`$ECHO "$postdeps_FC" | $SED "$delay_single_quote_subst"`'
32398 compiler_lib_search_path_FC='`$ECHO "$compiler_lib_search_path_FC" | $SED "$delay_single_quote_subst"`'
32401 LTCFLAGS='$LTCFLAGS'
32402 compiler='$compiler_DEFAULT'
32404 # A function that is used when there is no print builtin or printf.
32405 func_fallback_echo ()
32407 eval 'cat <<_LTECHO_EOF
32412 # Quote evaled strings.
32426 deplibs_check_method \
32435 lt_cv_sys_global_symbol_pipe \
32436 lt_cv_sys_global_symbol_to_cdecl \
32437 lt_cv_sys_global_symbol_to_c_name_address \
32438 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
32439 lt_prog_compiler_no_builtin_flag \
32440 lt_prog_compiler_wl \
32441 lt_prog_compiler_pic \
32442 lt_prog_compiler_static \
32443 lt_cv_prog_compiler_c_o \
32451 export_dynamic_flag_spec \
32452 whole_archive_flag_spec \
32453 compiler_needs_object \
32455 allow_undefined_flag \
32456 no_undefined_flag \
32457 hardcode_libdir_flag_spec \
32458 hardcode_libdir_flag_spec_ld \
32459 hardcode_libdir_separator \
32464 variables_saved_for_relink \
32466 library_names_spec \
32468 install_override_mode \
32472 compiler_lib_search_dirs \
32477 compiler_lib_search_path \
32481 lt_prog_compiler_no_builtin_flag_FC \
32482 lt_prog_compiler_wl_FC \
32483 lt_prog_compiler_pic_FC \
32484 lt_prog_compiler_static_FC \
32485 lt_cv_prog_compiler_c_o_FC \
32486 export_dynamic_flag_spec_FC \
32487 whole_archive_flag_spec_FC \
32488 compiler_needs_object_FC \
32490 allow_undefined_flag_FC \
32491 no_undefined_flag_FC \
32492 hardcode_libdir_flag_spec_FC \
32493 hardcode_libdir_flag_spec_ld_FC \
32494 hardcode_libdir_separator_FC \
32495 fix_srcfile_path_FC \
32496 exclude_expsyms_FC \
32497 include_expsyms_FC \
32498 file_list_spec_FC \
32499 compiler_lib_search_dirs_FC \
32500 predep_objects_FC \
32501 postdep_objects_FC \
32504 compiler_lib_search_path_FC; do
32505 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32506 *[\\\\\\\`\\"\\\$]*)
32507 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
32510 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32515 # Double-quote double-evaled strings.
32516 for var in reload_cmds \
32517 old_postinstall_cmds \
32518 old_postuninstall_cmds \
32520 extract_expsyms_cmds \
32521 old_archive_from_new_cmds \
32522 old_archive_from_expsyms_cmds \
32524 archive_expsym_cmds \
32526 module_expsym_cmds \
32527 export_symbols_cmds \
32530 postuninstall_cmds \
32532 sys_lib_search_path_spec \
32533 sys_lib_dlsearch_path_spec \
32535 old_archive_cmds_FC \
32536 old_archive_from_new_cmds_FC \
32537 old_archive_from_expsyms_cmds_FC \
32539 archive_expsym_cmds_FC \
32541 module_expsym_cmds_FC \
32542 export_symbols_cmds_FC \
32543 prelink_cmds_FC; do
32544 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32545 *[\\\\\\\`\\"\\\$]*)
32546 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32549 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
32554 ac_aux_dir='$ac_aux_dir'
32555 xsi_shell='$xsi_shell'
32556 lt_shell_append='$lt_shell_append'
32558 # See if we are running on zsh, and set the options which allow our
32559 # commands through without removal of \ escapes INIT.
32560 if test -n "\${ZSH_VERSION+set}" ; then
32561 setopt NO_GLOB_SUBST
32567 TIMESTAMP='$TIMESTAMP'
32578 acx_cv_header_stdint="$acx_cv_header_stdint"
32579 acx_cv_type_int8_t="$acx_cv_type_int8_t"
32580 acx_cv_type_int16_t="$acx_cv_type_int16_t"
32581 acx_cv_type_int32_t="$acx_cv_type_int32_t"
32582 acx_cv_type_int64_t="$acx_cv_type_int64_t"
32583 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
32584 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
32585 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
32586 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
32587 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
32588 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
32589 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
32590 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
32591 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
32596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32598 # Handling of arguments.
32599 for ac_config_target
in $ac_config_targets
32601 case $ac_config_target in
32602 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
32603 "default-1") CONFIG_COMMANDS
="$CONFIG_COMMANDS default-1" ;;
32604 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
32605 "libtool") CONFIG_COMMANDS
="$CONFIG_COMMANDS libtool" ;;
32606 "gstdint.h") CONFIG_COMMANDS
="$CONFIG_COMMANDS gstdint.h" ;;
32607 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
32608 "libgfortran.spec") CONFIG_FILES
="$CONFIG_FILES libgfortran.spec" ;;
32610 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32615 # If the user did not use the arguments to specify the items to instantiate,
32616 # then the envvar interface is used. Set only those that are not.
32617 # We use the long form for the default assignment because of an extremely
32618 # bizarre bug on SunOS 4.1.3.
32619 if $ac_need_defaults; then
32620 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
32621 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
32622 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
32625 # Have a temporary directory for convenience. Make it in the build tree
32626 # simply because there is no reason against having it here, and in addition,
32627 # creating and moving files from /tmp can sometimes cause problems.
32628 # Hook for its removal unless debugging.
32629 # Note that there is a small window in which the directory will not be cleaned:
32630 # after its creation but before its name has been assigned to `$tmp'.
32634 trap 'exit_status=$?
32635 : "${ac_tmp:=$tmp}"
32636 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
32638 trap 'as_fn_exit 1' 1 2 13 15
32640 # Create a (secure) tmp directory for tmp files.
32643 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
32647 tmp
=.
/conf$$
-$RANDOM
32648 (umask 077 && mkdir
"$tmp")
32649 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
32652 # Set up the scripts for CONFIG_FILES section.
32653 # No need to generate them if there are no CONFIG_FILES.
32654 # This happens for instance with `./config.status config.h'.
32655 if test -n "$CONFIG_FILES"; then
32658 ac_cr
=`echo X | tr X '\015'`
32659 # On cygwin, bash can eat \r inside `` if the user requested igncr.
32660 # But we know of no other shell where ac_cr would be empty at this
32661 # point, so we can use a bashism as a fallback.
32662 if test "x$ac_cr" = x
; then
32663 eval ac_cr
=\$
\'\\r
\'
32665 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
32666 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
32669 ac_cs_awk_cr
=$ac_cr
32672 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
32677 echo "cat >conf$$subs.awk <<_ACEOF" &&
32678 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
32680 } >conf$$subs.sh ||
32681 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32682 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
32684 for ac_last_try in false false false false false :; do
32685 . ./conf$$subs.sh ||
32686 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32688 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
32689 if test $ac_delim_n = $ac_delim_num; then
32691 elif $ac_last_try; then
32692 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
32694 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32697 rm -f conf$$subs.sh
32699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32700 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
32704 s/^/S["/; s
/!.
*/"]=/
32714 s/\(.\{148\}\)..*/\1/
32716 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
32721 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32728 s/\(.\{148\}\)..*/\1/
32730 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
32734 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
32739 ' <conf$$subs.awk | sed '
32744 ' >>$CONFIG_STATUS || ac_write_fail=1
32745 rm -f conf$$subs.awk
32746 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32748 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
32749 for (key in S) S_is_set[key] = 1
32755 nfields = split(line, field, "@
")
32757 len = length(field[1])
32758 for (i = 2; i < nfields; i++) {
32760 keylen = length(key)
32761 if (S_is_set[key]) {
32763 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
32764 len += length(value) + length(field[++i])
32775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32776 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
32777 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
32780 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
32781 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
32784 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
32785 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
32786 # trailing colons and then remove the whole line if VPATH becomes empty
32787 # (actually we leave an empty line to preserve line numbers).
32788 if test "x
$srcdir" = x.; then
32789 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
32807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
32808 fi # test -n "$CONFIG_FILES"
32810 # Set up the scripts for CONFIG_HEADERS section.
32811 # No need to generate them if there are no CONFIG_HEADERS.
32812 # This happens for instance with `./config.status Makefile'.
32813 if test -n "$CONFIG_HEADERS"; then
32814 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
32818 # Transform confdefs.h into an awk script `defines.awk', embedded as
32819 # here-document in config.status, that substitutes the proper values into
32820 # config.h.in to produce config.h.
32822 # Create a delimiter string that does not exist in confdefs.h, to ease
32823 # handling of long lines.
32825 for ac_last_try in false false :; do
32826 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
32827 if test -z "$ac_tt"; then
32829 elif $ac_last_try; then
32830 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
32832 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
32836 # For the awk script, D is an array of macro values keyed by name,
32837 # likewise P contains macro parameters if any. Preserve backslash
32838 # newline sequences.
32840 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
32842 s/.\{148\}/&'"$ac_delim"'/g
32845 s/^[ ]*#[ ]*define[ ][ ]*/ /
32852 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
32854 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
32858 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
32859 D["\
1"]=" \
3\\\\\\n
"\\/p
32861 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
32866 s/.\{148\}/&'"$ac_delim"'/g
32871 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
32874 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
32876 ' <confdefs.h | sed '
32877 s/'"$ac_delim"'/"\\\
32878 "/g' >>$CONFIG_STATUS || ac_write_fail=1
32880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32881 for (key in D) D_is_set[key] = 1
32884 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
32886 split(line, arg, " ")
32887 if (arg[1] == "#") {
32891 defundef
= substr
(arg
[1], 2)
32894 split(mac1
, mac2
, "(") #)
32896 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
32897 if (D_is_set
[macro
]) {
32898 # Preserve the white space surrounding the "#".
32899 print prefix
"define", macro P
[macro
] D
[macro
]
32902 # Replace #undef with comments. This is necessary, for example,
32903 # in the case of _POSIX_SOURCE, which is predefined and required
32904 # on some systems where configure will not decide to define it.
32905 if (defundef
== "undef") {
32906 print
"/*", prefix defundef
, macro
, "*/"
32914 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
32915 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
32916 fi # test -n "$CONFIG_HEADERS"
32919 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
32924 :[FHLC
]) ac_mode
=$ac_tag; continue;;
32926 case $ac_mode$ac_tag in
32928 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
32929 :[FH
]-) ac_tag
=-:-;;
32930 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
32947 -) ac_f
="$ac_tmp/stdin";;
32948 *) # Look for the file first in the build tree, then in the source tree
32949 # (if the path is not absolute). The absolute path cannot be DOS-style,
32950 # because $ac_f cannot contain `:'.
32954 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
32956 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
32958 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
32959 as_fn_append ac_file_inputs
" '$ac_f'"
32962 # Let's still pretend it is `configure' which instantiates (i.e., don't
32963 # use $as_me), people would be surprised to read:
32964 # /* config.h. Generated by config.status. */
32965 configure_input
='Generated from '`
32966 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
32968 if test x
"$ac_file" != x-
; then
32969 configure_input
="$ac_file. $configure_input"
32970 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
32971 $as_echo "$as_me: creating $ac_file" >&6;}
32973 # Neutralize special characters interpreted by sed in replacement strings.
32974 case $configure_input in #(
32975 *\
&* |
*\|
* |
*\\* )
32976 ac_sed_conf_input
=`$as_echo "$configure_input" |
32977 sed 's/[\\\\&|]/\\\\&/g'`;; #(
32978 *) ac_sed_conf_input
=$configure_input;;
32982 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
32983 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
32988 ac_dir
=`$as_dirname -- "$ac_file" ||
32989 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
32990 X"$ac_file" : 'X\(//\)[^/]' \| \
32991 X"$ac_file" : 'X\(//\)$' \| \
32992 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
32993 $as_echo X"$ac_file" |
32994 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
32998 /^X\(\/\/\)[^/].*/{
33011 as_dir
="$ac_dir"; as_fn_mkdir_p
33015 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33017 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
33018 # A ".." for each directory in $ac_dir_suffix.
33019 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
33020 case $ac_top_builddir_sub in
33021 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
33022 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
33025 ac_abs_top_builddir
=$ac_pwd
33026 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
33027 # for backward compatibility:
33028 ac_top_builddir
=$ac_top_build_prefix
33031 .
) # We are building in place.
33033 ac_top_srcdir
=$ac_top_builddir_sub
33034 ac_abs_top_srcdir
=$ac_pwd ;;
33035 [\\/]* | ?
:[\\/]* ) # Absolute name.
33036 ac_srcdir
=$srcdir$ac_dir_suffix;
33037 ac_top_srcdir
=$srcdir
33038 ac_abs_top_srcdir
=$srcdir ;;
33039 *) # Relative name.
33040 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
33041 ac_top_srcdir
=$ac_top_build_prefix$srcdir
33042 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
33044 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
33054 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
33055 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
33057 ac_MKDIR_P
=$MKDIR_P
33059 [\\/$
]* | ?
:[\\/]* ) ;;
33060 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
33064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33065 # If the template does not know about datarootdir, expand it.
33066 # FIXME: This hack should be removed a few years after 2.60.
33067 ac_datarootdir_hack
=; ac_datarootdir_seen
=
33078 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
33079 *datarootdir
*) ac_datarootdir_seen
=yes;;
33080 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
33081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
33082 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
33084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33085 ac_datarootdir_hack='
33086 s&@datadir@&$datadir&g
33087 s&@docdir@&$docdir&g
33088 s&@infodir@&$infodir&g
33089 s&@localedir@&$localedir&g
33090 s&@mandir@&$mandir&g
33091 s&\\\${datarootdir}&$datarootdir&g' ;;
33095 # Neutralize VPATH when `$srcdir' = `.'.
33096 # Shell code in configure.ac might set extrasub.
33097 # FIXME: do we really want to maintain this feature?
33098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33099 ac_sed_extra="$ac_vpsub
33102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
33104 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
33105 s|@configure_input@|
$ac_sed_conf_input|
;t t
33106 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
33107 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
33108 s
&@srcdir@
&$ac_srcdir&;t t
33109 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
33110 s
&@top_srcdir@
&$ac_top_srcdir&;t t
33111 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
33112 s
&@builddir@
&$ac_builddir&;t t
33113 s
&@abs_builddir@
&$ac_abs_builddir&;t t
33114 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
33115 s
&@INSTALL@
&$ac_INSTALL&;t t
33116 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
33117 $ac_datarootdir_hack
33119 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
33120 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
33122 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33123 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
33124 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
33125 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
33127 which seems to be undefined. Please make sure it is defined" >&5
33128 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
33129 which seems to be undefined. Please make sure it is defined" >&2;}
33131 rm -f "$ac_tmp/stdin"
33133 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
33134 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33136 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33142 if test x"$ac_file" != x-; then
33144 $as_echo "/* $configure_input */" \
33145 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
33146 } >"$ac_tmp/config.h" \
33147 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33148 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33149 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33150 $as_echo "$as_me: $ac_file is unchanged" >&6;}
33153 mv "$ac_tmp/config.h" "$ac_file" \
33154 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33157 $as_echo "/* $configure_input */" \
33158 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33159 || as_fn_error $? "could not create -" "$LINENO" 5
33161 # Compute "$ac_file"'s index
in $config_headers.
33164 for _am_header
in $config_headers :; do
33165 case $_am_header in
33166 $_am_arg |
$_am_arg:* )
33169 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
33172 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
33173 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33174 X"$_am_arg" : 'X\(//\)[^/]' \| \
33175 X"$_am_arg" : 'X\(//\)$' \| \
33176 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
33177 $as_echo X"$_am_arg" |
33178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33182 /^X\(\/\/\)[^/].*/{
33194 s/.*/./; q'`/stamp-h
$_am_stamp_count
33197 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
33198 $as_echo "$as_me: executing $ac_file commands" >&6;}
33203 case $ac_file$ac_mode in
33205 # Only add multilib support code if we just rebuilt the top-level
33207 case " $CONFIG_FILES " in
33209 ac_file
=Makefile .
${multi_basedir}/config-ml.
in
33212 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
33213 # Older Autoconf quotes --file arguments for eval, but not when files
33214 # are listed without --file. Let's play safe and only enable the eval
33215 # if we detect the quoting.
33216 case $CONFIG_FILES in
33217 *\'*) eval set x
"$CONFIG_FILES" ;;
33218 *) set x
$CONFIG_FILES ;;
33223 # Strip MF so we end up with the name of the file.
33224 mf
=`echo "$mf" | sed -e 's/:.*$//'`
33225 # Check whether this is an Automake generated Makefile or not.
33226 # We used to match only the files named 'Makefile.in', but
33227 # some people rename them; so instead we look at the file content.
33228 # Grep'ing the first line is not enough: some people post-process
33229 # each Makefile.in and add a new line on top of each file to say so.
33230 # Grep'ing the whole file is not good either: AIX grep has a line
33231 # limit of 2048, but all sed's we know have understand at least 4000.
33232 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
33233 dirpart
=`$as_dirname -- "$mf" ||
33234 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33235 X"$mf" : 'X\(//\)[^/]' \| \
33236 X"$mf" : 'X\(//\)$' \| \
33237 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
33239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33243 /^X\(\/\/\)[^/].*/{
33259 # Extract the definition of DEPDIR, am__include, and am__quote
33260 # from the Makefile without running 'make'.
33261 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
33262 test -z "$DEPDIR" && continue
33263 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
33264 test -z "$am__include" && continue
33265 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
33266 # Find all dependency output files, they are included files with
33267 # $(DEPDIR) in their names. We invoke sed twice because it is the
33268 # simplest approach to changing $(DEPDIR) to its actual value in the
33270 for file in `sed -n "
33271 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
33272 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
33273 # Make sure the directory exists.
33274 test -f "$dirpart/$file" && continue
33275 fdir
=`$as_dirname -- "$file" ||
33276 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
33277 X"$file" : 'X\(//\)[^/]' \| \
33278 X"$file" : 'X\(//\)$' \| \
33279 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
33280 $as_echo X"$file" |
33281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
33285 /^X\(\/\/\)[^/].*/{
33298 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
33299 # echo "creating $dirpart/$file"
33300 echo '# dummy' > "$dirpart/$file"
33307 # See if we are running on zsh, and set the options which allow our
33308 # commands through without removal of \ escapes.
33309 if test -n "${ZSH_VERSION+set}" ; then
33310 setopt NO_GLOB_SUBST
33313 cfgfile
="${ofile}T"
33314 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
33317 cat <<_LT_EOF >> "$cfgfile"
33320 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
33321 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
33322 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
33323 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
33325 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
33326 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
33327 # Written by Gordon Matzigkeit, 1996
33329 # This file is part of GNU Libtool.
33331 # GNU Libtool is free software; you can redistribute it and/or
33332 # modify it under the terms of the GNU General Public License as
33333 # published by the Free Software Foundation; either version 2 of
33334 # the License, or (at your option) any later version.
33336 # As a special exception to the GNU General Public License,
33337 # if you distribute this file as part of a program or library that
33338 # is built using GNU Libtool, you may include this file under the
33339 # same distribution terms that you use for the rest of that program.
33341 # GNU Libtool is distributed in the hope that it will be useful,
33342 # but WITHOUT ANY WARRANTY; without even the implied warranty of
33343 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33344 # GNU General Public License for more details.
33346 # You should have received a copy of the GNU General Public License
33347 # along with GNU Libtool; see the file COPYING. If not, a copy
33348 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
33349 # obtained by writing to the Free Software Foundation, Inc.,
33350 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
33353 # The names of the tagged configurations supported by this script.
33354 available_tags="FC "
33356 # ### BEGIN LIBTOOL CONFIG
33358 # A sed program that does not truncate output.
33361 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
33362 Xsed="\$SED -e 1s/^X//"
33364 # A grep program that handles long lines.
33370 # A literal string matcher.
33373 # Shell to use when invoking shell scripts.
33376 # An echo program that protects backslashes.
33379 # Which release of libtool.m4 was used?
33380 macro_version=$macro_version
33381 macro_revision=$macro_revision
33383 # Whether or not to build shared libraries.
33384 build_libtool_libs=$enable_shared
33386 # Whether or not to build static libraries.
33387 build_old_libs=$enable_static
33389 # What type of objects to build.
33392 # Whether or not to optimize for fast installation.
33393 fast_install=$enable_fast_install
33396 host_alias=$host_alias
33400 # The build system.
33401 build_alias=$build_alias
33405 # A BSD- or MS-compatible name lister.
33408 # Whether we need soft or hard links.
33411 # What is the maximum length of a command?
33412 max_cmd_len=$max_cmd_len
33414 # Object file suffix (normally "o").
33417 # Executable file suffix (normally "").
33420 # whether the shell understands "unset".
33423 # turn spaces into newlines.
33426 # turn newlines into spaces.
33429 # An object symbol dumper.
33430 OBJDUMP=$lt_OBJDUMP
33432 # Method to check whether dependent libraries are shared objects.
33433 deplibs_check_method=$lt_deplibs_check_method
33435 # Command to use when deplibs_check_method == "file_magic".
33436 file_magic_cmd=$lt_file_magic_cmd
33440 AR_FLAGS=$lt_AR_FLAGS
33442 # A symbol stripping program.
33445 # Commands used to install an old-style archive.
33447 old_postinstall_cmds=$lt_old_postinstall_cmds
33448 old_postuninstall_cmds=$lt_old_postuninstall_cmds
33450 # Whether to use a lock for old archive extraction.
33451 lock_old_archive_extraction=$lock_old_archive_extraction
33456 # LTCC compiler flags.
33457 LTCFLAGS=$lt_CFLAGS
33459 # Take the output of nm and produce a listing of raw symbols and C names.
33460 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
33462 # Transform the output of nm in a proper C declaration.
33463 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
33465 # Transform the output of nm in a C name address pair.
33466 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
33468 # Transform the output of nm in a C name address pair when lib prefix is needed.
33469 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33471 # The name of the directory that contains temporary libtool files.
33474 # Used to examine libraries when file_magic_cmd begins with "file".
33475 MAGIC_CMD=$MAGIC_CMD
33477 # Must we lock files when doing compilation?
33478 need_locks=$lt_need_locks
33480 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33481 DSYMUTIL=$lt_DSYMUTIL
33483 # Tool to change global to local symbols on Mac OS X.
33486 # Tool to manipulate fat objects and archives on Mac OS X.
33489 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
33492 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
33493 OTOOL64=$lt_OTOOL64
33495 # Old archive suffix (normally "a").
33498 # Shared library suffix (normally ".so").
33499 shrext_cmds=$lt_shrext_cmds
33501 # The commands to extract the exported symbol list from a shared archive.
33502 extract_expsyms_cmds=$lt_extract_expsyms_cmds
33504 # Variables whose values should be saved in libtool wrapper scripts and
33505 # restored at link time.
33506 variables_saved_for_relink=$lt_variables_saved_for_relink
33508 # Do we need the "lib" prefix for modules?
33509 need_lib_prefix=$need_lib_prefix
33511 # Do we need a version for libraries?
33512 need_version=$need_version
33514 # Library versioning type.
33515 version_type=$version_type
33517 # Shared library runtime path variable.
33518 runpath_var=$runpath_var
33520 # Shared library path variable.
33521 shlibpath_var=$shlibpath_var
33523 # Is shlibpath searched before the hard-coded library search path?
33524 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
33526 # Format of library name prefix.
33527 libname_spec=$lt_libname_spec
33529 # List of archive names. First name is the real one, the rest are links.
33530 # The last name is the one that the linker finds with -lNAME
33531 library_names_spec=$lt_library_names_spec
33533 # The coded name of the library, if different from the real name.
33534 soname_spec=$lt_soname_spec
33536 # Permission mode override for installation of shared libraries.
33537 install_override_mode=$lt_install_override_mode
33539 # Command to use after installation of a shared archive.
33540 postinstall_cmds=$lt_postinstall_cmds
33542 # Command to use after uninstallation of a shared archive.
33543 postuninstall_cmds=$lt_postuninstall_cmds
33545 # Commands used to finish a libtool library installation in a directory.
33546 finish_cmds=$lt_finish_cmds
33548 # As "finish_cmds", except a single script fragment to be evaled but
33550 finish_eval=$lt_finish_eval
33552 # Whether we should hardcode library paths into libraries.
33553 hardcode_into_libs=$hardcode_into_libs
33555 # Compile-time system search path for libraries.
33556 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
33558 # Run-time system search path for libraries.
33559 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
33561 # Whether dlopen is supported.
33562 dlopen_support=$enable_dlopen
33564 # Whether dlopen of programs is supported.
33565 dlopen_self=$enable_dlopen_self
33567 # Whether dlopen of statically linked programs is supported.
33568 dlopen_self_static=$enable_dlopen_self_static
33570 # Commands to strip libraries.
33571 old_striplib=$lt_old_striplib
33572 striplib=$lt_striplib
33575 # The linker used to build libraries.
33578 # How to create reloadable object files.
33579 reload_flag=$lt_reload_flag
33580 reload_cmds=$lt_reload_cmds
33582 # Commands used to build an old-style archive.
33583 old_archive_cmds=$lt_old_archive_cmds
33585 # A language specific compiler.
33588 # Is the compiler the GNU compiler?
33591 # Compiler flag to turn off builtin functions.
33592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33594 # How to pass a linker flag through the compiler.
33595 wl=$lt_lt_prog_compiler_wl
33597 # Additional compiler flags for building library objects.
33598 pic_flag=$lt_lt_prog_compiler_pic
33600 # Compiler flag to prevent dynamic linking.
33601 link_static_flag=$lt_lt_prog_compiler_static
33603 # Does compiler simultaneously support -c and -o options?
33604 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
33606 # Whether or not to add -lc for building shared libraries.
33607 build_libtool_need_lc=$archive_cmds_need_lc
33609 # Whether or not to disallow shared libs when runtime libs are static.
33610 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
33612 # Compiler flag to allow reflexive dlopens.
33613 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
33615 # Compiler flag to generate shared objects directly from archives.
33616 whole_archive_flag_spec=$lt_whole_archive_flag_spec
33618 # Whether the compiler copes with passing no objects directly.
33619 compiler_needs_object=$lt_compiler_needs_object
33621 # Create an old-style archive from a shared archive.
33622 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
33624 # Create a temporary old-style archive to link instead of a shared archive.
33625 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
33627 # Commands used to build a shared archive.
33628 archive_cmds=$lt_archive_cmds
33629 archive_expsym_cmds=$lt_archive_expsym_cmds
33631 # Commands used to build a loadable module if different from building
33632 # a shared archive.
33633 module_cmds=$lt_module_cmds
33634 module_expsym_cmds=$lt_module_expsym_cmds
33636 # Whether we are building with GNU ld or not.
33637 with_gnu_ld=$lt_with_gnu_ld
33639 # Flag that allows shared libraries with undefined symbols to be built.
33640 allow_undefined_flag=$lt_allow_undefined_flag
33642 # Flag that enforces no undefined symbols.
33643 no_undefined_flag=$lt_no_undefined_flag
33645 # Flag to hardcode \$libdir into a binary during linking.
33646 # This must work even if \$libdir does not exist
33647 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
33649 # If ld is used when linking, flag to hardcode \$libdir into a binary
33650 # during linking. This must work even if \$libdir does not exist.
33651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
33653 # Whether we need a single "-rpath" flag with a separated argument.
33654 hardcode_libdir_separator=$lt_hardcode_libdir_separator
33656 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33657 # DIR into the resulting binary.
33658 hardcode_direct=$hardcode_direct
33660 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
33661 # DIR into the resulting binary and the resulting library dependency is
33662 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
33663 # library is relocated.
33664 hardcode_direct_absolute=$hardcode_direct_absolute
33666 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
33667 # into the resulting binary.
33668 hardcode_minus_L=$hardcode_minus_L
33670 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
33671 # into the resulting binary.
33672 hardcode_shlibpath_var=$hardcode_shlibpath_var
33674 # Set to "yes" if building a shared library automatically hardcodes DIR
33675 # into the library and all subsequent libraries and executables linked
33677 hardcode_automatic=$hardcode_automatic
33679 # Set to yes if linker adds runtime paths of dependent libraries
33680 # to runtime path list.
33681 inherit_rpath=$inherit_rpath
33683 # Whether libtool must link a program against all its dependency libraries.
33684 link_all_deplibs=$link_all_deplibs
33686 # Fix the shell variable \$srcfile for the compiler.
33687 fix_srcfile_path=$lt_fix_srcfile_path
33689 # Set to "yes" if exported symbols are required.
33690 always_export_symbols=$always_export_symbols
33692 # The commands to list exported symbols.
33693 export_symbols_cmds=$lt_export_symbols_cmds
33695 # Symbols that should not be listed in the preloaded symbols.
33696 exclude_expsyms=$lt_exclude_expsyms
33698 # Symbols that must always be exported.
33699 include_expsyms=$lt_include_expsyms
33701 # Commands necessary for linking programs (against libraries) with templates.
33702 prelink_cmds=$lt_prelink_cmds
33704 # Specify filename containing input files.
33705 file_list_spec=$lt_file_list_spec
33707 # How to hardcode a shared library path into an executable.
33708 hardcode_action=$hardcode_action
33710 # The directories searched by this compiler when creating a shared library.
33711 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
33713 # Dependencies to place before and after the objects being linked to
33714 # create a shared library.
33715 predep_objects=$lt_predep_objects
33716 postdep_objects=$lt_postdep_objects
33717 predeps=$lt_predeps
33718 postdeps=$lt_postdeps
33720 # The library search path used internally by the compiler when linking
33721 # a shared library.
33722 compiler_lib_search_path=$lt_compiler_lib_search_path
33724 # ### END LIBTOOL CONFIG
33730 cat <<\_LT_EOF
>> "$cfgfile"
33731 # AIX sometimes has problems with the GCC collect2 program. For some
33732 # reason, if we set the COLLECT_NAMES environment variable, the problems
33733 # vanish in a puff of smoke.
33734 if test "X${COLLECT_NAMES+set}" != Xset
; then
33736 export COLLECT_NAMES
33743 ltmain
="$ac_aux_dir/ltmain.sh"
33746 # We use sed instead of cat because bash on DJGPP gets confused if
33747 # if finds mixed CR/LF and LF-only lines. Since sed operates in
33748 # text mode, it properly converts lines to CR/LF. This bash problem
33749 # is reportedly fixed, but why not run on old versions too?
33750 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
33751 ||
(rm -f "$cfgfile"; exit 1)
33755 cat << \_LT_EOF
>> "$cfgfile"
33757 # func_dirname file append nondir_replacement
33758 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33759 # otherwise set result to NONDIR_REPLACEMENT.
33763 */*) func_dirname_result
="${1%/*}${2}" ;;
33764 * ) func_dirname_result
="${3}" ;;
33768 # func_basename file
33771 func_basename_result
="${1##*/}"
33774 # func_dirname_and_basename file append nondir_replacement
33775 # perform func_basename and func_dirname in a single function
33777 # dirname: Compute the dirname of FILE. If nonempty,
33778 # add APPEND to the result, otherwise set result
33779 # to NONDIR_REPLACEMENT.
33780 # value returned in "$func_dirname_result"
33781 # basename: Compute filename of FILE.
33782 # value retuned in "$func_basename_result"
33783 # Implementation must be kept synchronized with func_dirname
33784 # and func_basename. For efficiency, we do not delegate to
33785 # those functions but instead duplicate the functionality here.
33786 func_dirname_and_basename
()
33789 */*) func_dirname_result
="${1%/*}${2}" ;;
33790 * ) func_dirname_result
="${3}" ;;
33792 func_basename_result
="${1##*/}"
33795 # func_stripname prefix suffix name
33796 # strip PREFIX and SUFFIX off of NAME.
33797 # PREFIX and SUFFIX must not contain globbing or regex special
33798 # characters, hashes, percent signs, but SUFFIX may contain a leading
33799 # dot (in which case that matches only a dot).
33802 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
33803 # positional parameters, so assign one to ordinary parameter first.
33804 func_stripname_result
=${3}
33805 func_stripname_result
=${func_stripname_result#"${1}"}
33806 func_stripname_result
=${func_stripname_result%"${2}"}
33812 func_opt_split_opt
=${1%%=*}
33813 func_opt_split_arg
=${1#*=}
33820 *.lo
) func_lo2o_result
=${1%.lo}.
${objext} ;;
33821 *) func_lo2o_result
=${1} ;;
33825 # func_xform libobj-or-source
33828 func_xform_result
=${1%.*}.lo
33831 # func_arith arithmetic-term...
33834 func_arith_result
=$
(( $
* ))
33838 # STRING may not start with a hyphen.
33841 func_len_result
=${#1}
33846 *) # Bourne compatible functions.
33847 cat << \_LT_EOF
>> "$cfgfile"
33849 # func_dirname file append nondir_replacement
33850 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
33851 # otherwise set result to NONDIR_REPLACEMENT.
33854 # Extract subdirectory from the argument.
33855 func_dirname_result
=`$ECHO "${1}" | $SED "$dirname"`
33856 if test "X$func_dirname_result" = "X${1}"; then
33857 func_dirname_result
="${3}"
33859 func_dirname_result
="$func_dirname_result${2}"
33863 # func_basename file
33866 func_basename_result
=`$ECHO "${1}" | $SED "$basename"`
33870 # func_stripname prefix suffix name
33871 # strip PREFIX and SUFFIX off of NAME.
33872 # PREFIX and SUFFIX must not contain globbing or regex special
33873 # characters, hashes, percent signs, but SUFFIX may contain a leading
33874 # dot (in which case that matches only a dot).
33875 # func_strip_suffix prefix name
33879 .
*) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
33880 *) func_stripname_result
=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
33885 my_sed_long_opt
='1s/^\(-[^=]*\)=.*/\1/;q'
33886 my_sed_long_arg
='1s/^-[^=]*=//'
33891 func_opt_split_opt
=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
33892 func_opt_split_arg
=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
33898 func_lo2o_result
=`$ECHO "${1}" | $SED "$lo2o"`
33901 # func_xform libobj-or-source
33904 func_xform_result
=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
33907 # func_arith arithmetic-term...
33910 func_arith_result
=`expr "$@"`
33914 # STRING may not start with a hyphen.
33917 func_len_result
=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
33923 case $lt_shell_append in
33925 cat << \_LT_EOF
>> "$cfgfile"
33927 # func_append var value
33928 # Append VALUE to the end of shell variable VAR.
33936 cat << \_LT_EOF
>> "$cfgfile"
33938 # func_append var value
33939 # Append VALUE to the end of shell variable VAR.
33950 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
33951 ||
(rm -f "$cfgfile"; exit 1)
33953 mv -f "$cfgfile" "$ofile" ||
33954 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
33958 cat <<_LT_EOF >> "$ofile"
33960 # ### BEGIN LIBTOOL TAG CONFIG: FC
33962 # The linker used to build libraries.
33965 # How to create reloadable object files.
33966 reload_flag=$lt_reload_flag_FC
33967 reload_cmds=$lt_reload_cmds_FC
33969 # Commands used to build an old-style archive.
33970 old_archive_cmds=$lt_old_archive_cmds_FC
33972 # A language specific compiler.
33975 # Is the compiler the GNU compiler?
33978 # Compiler flag to turn off builtin functions.
33979 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_FC
33981 # How to pass a linker flag through the compiler.
33982 wl=$lt_lt_prog_compiler_wl_FC
33984 # Additional compiler flags for building library objects.
33985 pic_flag=$lt_lt_prog_compiler_pic_FC
33987 # Compiler flag to prevent dynamic linking.
33988 link_static_flag=$lt_lt_prog_compiler_static_FC
33990 # Does compiler simultaneously support -c and -o options?
33991 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_FC
33993 # Whether or not to add -lc for building shared libraries.
33994 build_libtool_need_lc=$archive_cmds_need_lc_FC
33996 # Whether or not to disallow shared libs when runtime libs are static.
33997 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_FC
33999 # Compiler flag to allow reflexive dlopens.
34000 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_FC
34002 # Compiler flag to generate shared objects directly from archives.
34003 whole_archive_flag_spec=$lt_whole_archive_flag_spec_FC
34005 # Whether the compiler copes with passing no objects directly.
34006 compiler_needs_object=$lt_compiler_needs_object_FC
34008 # Create an old-style archive from a shared archive.
34009 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_FC
34011 # Create a temporary old-style archive to link instead of a shared archive.
34012 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_FC
34014 # Commands used to build a shared archive.
34015 archive_cmds=$lt_archive_cmds_FC
34016 archive_expsym_cmds=$lt_archive_expsym_cmds_FC
34018 # Commands used to build a loadable module if different from building
34019 # a shared archive.
34020 module_cmds=$lt_module_cmds_FC
34021 module_expsym_cmds=$lt_module_expsym_cmds_FC
34023 # Whether we are building with GNU ld or not.
34024 with_gnu_ld=$lt_with_gnu_ld_FC
34026 # Flag that allows shared libraries with undefined symbols to be built.
34027 allow_undefined_flag=$lt_allow_undefined_flag_FC
34029 # Flag that enforces no undefined symbols.
34030 no_undefined_flag=$lt_no_undefined_flag_FC
34032 # Flag to hardcode \$libdir into a binary during linking.
34033 # This must work even if \$libdir does not exist
34034 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_FC
34036 # If ld is used when linking, flag to hardcode \$libdir into a binary
34037 # during linking. This must work even if \$libdir does not exist.
34038 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_FC
34040 # Whether we need a single "-rpath" flag with a separated argument.
34041 hardcode_libdir_separator=$lt_hardcode_libdir_separator_FC
34043 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34044 # DIR into the resulting binary.
34045 hardcode_direct=$hardcode_direct_FC
34047 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
34048 # DIR into the resulting binary and the resulting library dependency is
34049 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
34050 # library is relocated.
34051 hardcode_direct_absolute=$hardcode_direct_absolute_FC
34053 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
34054 # into the resulting binary.
34055 hardcode_minus_L=$hardcode_minus_L_FC
34057 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
34058 # into the resulting binary.
34059 hardcode_shlibpath_var=$hardcode_shlibpath_var_FC
34061 # Set to "yes" if building a shared library automatically hardcodes DIR
34062 # into the library and all subsequent libraries and executables linked
34064 hardcode_automatic=$hardcode_automatic_FC
34066 # Set to yes if linker adds runtime paths of dependent libraries
34067 # to runtime path list.
34068 inherit_rpath=$inherit_rpath_FC
34070 # Whether libtool must link a program against all its dependency libraries.
34071 link_all_deplibs=$link_all_deplibs_FC
34073 # Fix the shell variable \$srcfile for the compiler.
34074 fix_srcfile_path=$lt_fix_srcfile_path_FC
34076 # Set to "yes" if exported symbols are required.
34077 always_export_symbols=$always_export_symbols_FC
34079 # The commands to list exported symbols.
34080 export_symbols_cmds=$lt_export_symbols_cmds_FC
34082 # Symbols that should not be listed in the preloaded symbols.
34083 exclude_expsyms=$lt_exclude_expsyms_FC
34085 # Symbols that must always be exported.
34086 include_expsyms=$lt_include_expsyms_FC
34088 # Commands necessary for linking programs (against libraries) with templates.
34089 prelink_cmds=$lt_prelink_cmds_FC
34091 # Specify filename containing input files.
34092 file_list_spec=$lt_file_list_spec_FC
34094 # How to hardcode a shared library path into an executable.
34095 hardcode_action=$hardcode_action_FC
34097 # The directories searched by this compiler when creating a shared library.
34098 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_FC
34100 # Dependencies to place before and after the objects being linked to
34101 # create a shared library.
34102 predep_objects=$lt_predep_objects_FC
34103 postdep_objects=$lt_postdep_objects_FC
34104 predeps=$lt_predeps_FC
34105 postdeps=$lt_postdeps_FC
34107 # The library search path used internally by the compiler when linking
34108 # a shared library.
34109 compiler_lib_search_path=$lt_compiler_lib_search_path_FC
34111 # ### END LIBTOOL TAG CONFIG: FC
34116 if test "$GCC" = yes; then
34117 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
34119 echo "/* generated for $CC */" > tmp-stdint.h
34122 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34124 #ifndef GCC_GENERATED_STDINT_H
34125 #define GCC_GENERATED_STDINT_H 1
34127 #include <sys/types.h>
34130 if test "$acx_cv_header_stdint" != stdint.h
; then
34131 echo "#include <stddef.h>" >> tmp-stdint.h
34133 if test "$acx_cv_header_stdint" != stddef.h
; then
34134 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
34137 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34138 /* glibc uses these symbols as guards to prevent redefinitions. */
34139 #ifdef __int8_t_defined
34144 #ifdef __uint32_t_defined
34150 # ----------------- done header, emit basic int types -------------
34151 if test "$acx_cv_header_stdint" = stddef.h
; then
34152 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34156 #ifndef __uint8_t_defined
34157 #define __uint8_t_defined
34159 typedef unsigned $acx_cv_type_int8_t uint8_t;
34166 #ifndef __uint16_t_defined
34167 #define __uint16_t_defined
34169 typedef unsigned $acx_cv_type_int16_t uint16_t;
34176 #ifndef __uint32_t_defined
34177 #define __uint32_t_defined
34179 typedef unsigned $acx_cv_type_int32_t uint32_t;
34186 #ifndef __int8_t_defined
34187 #define __int8_t_defined
34189 typedef $acx_cv_type_int8_t int8_t;
34196 #ifndef __int16_t_defined
34197 #define __int16_t_defined
34199 typedef $acx_cv_type_int16_t int16_t;
34206 #ifndef __int32_t_defined
34207 #define __int32_t_defined
34209 typedef $acx_cv_type_int32_t int32_t;
34214 elif test "$ac_cv_type_u_int32_t" = yes; then
34215 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34217 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
34230 #ifndef __uint8_t_defined
34231 #define __uint8_t_defined
34233 typedef u_int8_t uint8_t;
34240 #ifndef __uint16_t_defined
34241 #define __uint16_t_defined
34243 typedef u_int16_t uint16_t;
34250 #ifndef __uint32_t_defined
34251 #define __uint32_t_defined
34253 typedef u_int32_t uint32_t;
34259 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34261 /* Some systems have guard macros to prevent redefinitions, define them. */
34283 # ------------- done basic int types, emit int64_t types ------------
34284 if test "$ac_cv_type_uint64_t" = yes; then
34285 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34287 /* system headers have good uint64_t and int64_t */
34295 elif test "$ac_cv_type_u_int64_t" = yes; then
34296 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34298 /* system headers have an u_int64_t (and int64_t) */
34304 #ifndef __uint64_t_defined
34305 #define __uint64_t_defined
34307 typedef u_int64_t uint64_t;
34312 elif test -n "$acx_cv_type_int64_t"; then
34313 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34315 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
34319 typedef $acx_cv_type_int64_t int64_t;
34324 #ifndef __uint64_t_defined
34325 #define __uint64_t_defined
34327 typedef unsigned $acx_cv_type_int64_t uint64_t;
34333 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34335 /* some common heuristics for int64_t, using compiler-specific tests */
34336 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
34339 #ifndef __int64_t_defined
34341 typedef long long int64_t;
34348 typedef unsigned long long uint64_t;
34352 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
34353 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
34354 does not implement __extension__. But that compiler doesn't define
34356 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
34357 # define __extension__
34363 __extension__ typedef long long int64_t;
34369 __extension__ typedef unsigned long long uint64_t;
34373 #elif !defined __STRICT_ANSI__
34374 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
34379 typedef __int64 int64_t;
34385 typedef unsigned __int64 uint64_t;
34388 # endif /* compiler */
34390 #endif /* ANSI version */
34394 # ------------- done int64_t types, emit intptr types ------------
34395 if test "$ac_cv_type_uintptr_t" != yes; then
34396 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34398 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
34399 #ifndef __uintptr_t_defined
34401 typedef u$acx_cv_type_intptr_t uintptr_t;
34404 #ifndef __intptr_t_defined
34406 typedef $acx_cv_type_intptr_t intptr_t;
34412 # ------------- done intptr types, emit int_least types ------------
34413 if test "$ac_cv_type_int_least32_t" != yes; then
34414 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34416 /* Define int_least types */
34417 typedef int8_t int_least8_t;
34418 typedef int16_t int_least16_t;
34419 typedef int32_t int_least32_t;
34421 typedef int64_t int_least64_t;
34424 typedef uint8_t uint_least8_t;
34425 typedef uint16_t uint_least16_t;
34426 typedef uint32_t uint_least32_t;
34428 typedef uint64_t uint_least64_t;
34433 # ------------- done intptr types, emit int_fast types ------------
34434 if test "$ac_cv_type_int_fast32_t" != yes; then
34435 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34437 /* Define int_fast types. short is often slow */
34438 typedef int8_t int_fast8_t;
34439 typedef int int_fast16_t;
34440 typedef int32_t int_fast32_t;
34442 typedef int64_t int_fast64_t;
34445 typedef uint8_t uint_fast8_t;
34446 typedef unsigned int uint_fast16_t;
34447 typedef uint32_t uint_fast32_t;
34449 typedef uint64_t uint_fast64_t;
34454 if test "$ac_cv_type_uintmax_t" != yes; then
34455 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34457 /* Define intmax based on what we found */
34460 typedef int64_t intmax_t;
34462 typedef long intmax_t;
34467 typedef uint64_t uintmax_t;
34469 typedef unsigned long uintmax_t;
34475 sed 's/^ *//' >> tmp-stdint.h
<<EOF
34477 #endif /* GCC_GENERATED_STDINT_H */
34480 if test -r gstdint.h
&& cmp -s tmp-stdint.h gstdint.h
; then
34483 mv -f tmp-stdint.h gstdint.h
34494 ac_clean_files
=$ac_clean_files_save
34496 test $ac_write_fail = 0 ||
34497 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
34500 # configure is writing to config.log, and then calls config.status.
34501 # config.status does its own redirection, appending to config.log.
34502 # Unfortunately, on DOS this fails, as config.log is still kept open
34503 # by configure, so config.status won't be able to write to it; its
34504 # output is simply discarded. So we exec the FD to /dev/null,
34505 # effectively closing config.log, so it can be properly (re)opened and
34506 # appended to by config.status. When coming back to configure, we
34507 # need to make the FD available again.
34508 if test "$no_create" != yes; then
34510 ac_config_status_args
=
34511 test "$silent" = yes &&
34512 ac_config_status_args
="$ac_config_status_args --quiet"
34514 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
34516 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
34517 # would make configure fail if this is the last instruction.
34518 $ac_cs_success || as_fn_exit
1
34520 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
34522 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}